1 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
3 * cpphash.c (macarg): Hoist all the flag diddling out of the
5 (macroexpand): ... and out of the loop that calls macarg.
6 Skip over the initial paren before macro arguments with
7 cpp_get_non_space_token; point may be some distance before
8 that paren. Abort if it's not there.
10 * cpplib.c (parse_clear_mark): Delete function.
11 (parse_set_mark, parse_goto_mark): Make static.
12 (ACTIVE_MARK_P): New macro.
13 (skip_block_comment, skip_line_comment): Do not bump the line
14 if ACTIVE_MARK_P is true.
15 (cpp_pop_buffer): The buffer to be popped may not have an
17 (cpp_get_token): When looking for the initial paren before
18 macro arguments, only set a mark in a file buffer, Always
19 return to that mark before proceeding to call macroexpand or
22 * cpplib.h: Remove prototypes of parse_set_mark,
23 parse_clear_mark, parse_goto_mark.
24 (struct cpp_options): Rename 'put_out_comments' to
25 'discard_comments' and invert its sense.
26 * cppinit.c, cpphash.c, cpplib.c: All users of
27 put_out_comments changed to use discard_comments, with
30 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
32 * function.c (thread_prologue_and_epilogue_insns): Don't delete
33 the edge from a block that both jumps and falls through to the
36 2000-02-09 Scott Bambrough <scottb@netwinder.org>
38 * config/arm/arm.md (movsi): In PIC mode, make sure that a
39 constant source address is legitimate.
41 2000-02-09 Philip Blundell <pb@futuretv.com>
43 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
46 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
48 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
50 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
52 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
53 ends with a newline and a NUL. Don't be so clever manipulating
56 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
58 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
59 not to BIGGEST_ALIGNMENT.
61 2000-02-08 Geoff Keating <geoffk@cygnus.com>
63 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
64 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
65 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
66 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
67 * frame.c (execute_cfa_insn): Handle
68 DW_CFA_GNU_negative_offset_extended.
70 2000-02-08 Richard Henderson <rth@cygnus.com>
72 * flow.c (tidy_fallthru_edges): Split out from ...
73 (delete_unreachable_blocks): ... here.
74 (find_basic_blocks): Use it.
76 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
78 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
80 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
82 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
83 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
84 (fix-header.o): Don't depend on cpphash.h.
86 * scan.c (hashstr): New function.
87 * scan.h: Prototype it.
88 * fix-header.c: Don't include cpphash.h. Use hashstr.
89 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
90 hashstr. Report hash table statistics. Add private
91 definition of xrealloc.
93 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
95 * i386.h (TARGET_SWITCHES): Fix typo in option name.
97 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
99 * function.c (thread_prologue_and_epilogue_insns): Don't replace
100 jumps with returns unless they are jumps to the fallthru block.
102 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
104 * i386.md (addqi3_cc): Fix contraints.
106 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
108 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
110 2000-02-07 Mark Mitchell <mark@codesourcery.com>
112 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
113 carriage return after a macro name.
115 2000-02-07 Fred Fish <fnf@be.com>
117 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
118 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
120 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
122 * cppfiles.c (deps_output): Count spacers in deps_column.
124 2000-02-07 Neil Booth <NeilB@earthling.net>
126 * cppinit.c (initialize_dependency_output): If there is no
127 suffix, don't try to look for known suffixes. Use strrchr.
128 (cpp_start_read): Remove duplicate initialization.
130 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
132 * calls.c (compute_argument_block_size): New argument
133 preferred_stack_boundary.
134 (expand_call): update cfun->preferred_stack_boundary, update call of
135 compute_argument_block_size
136 (emit_library_call): Increate cfun->preferred_stack_boundary
137 to PREFERRED_STACK_BOUNDARY
138 (emit_library_call_value): Likewise.
139 * explow.c (allocate_dynamic_stack_spave): Likewise.
140 * function.c (prepare_function_start): Set
141 cfun->preferred_stack_boundary
142 * function.h (struct function): Add preferred_stack_boundary field.
143 * integrate.c (expand_inline_function): Update
144 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
145 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
146 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
148 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
150 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
151 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
152 cpp_pedwarn, cpp_pedwarn_with_line,
153 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
154 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
155 v_cpp_error_with_line, v_cpp_warning_with_line,
156 cpp_message_from_errno, cpp_perror_with_name): Delete.
158 * cpperror.c (cpp_print_containing_files): Take starting
160 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
161 (v_cpp_message): Now called directly by all entry points.
163 (cpp_pfatal_with_name, cpp_message): Delete.
164 (cpp_notice_from_errno, cpp_ice): New functions.
165 (cpp_notice): Is now for reporting error conditions, just
166 without an associated file.
167 (cpp_error, cpp_error_with_line): Don't do anything if
168 opts->inhibit_errors is on.
169 (cpp_pedwarn_with_file_and_line): Take column argument also.
171 * cpplib.h: Update prototypes of exported functions.
172 (struct cpp_options): Add inhibit_errors.
174 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
175 non-error messages. Include intl.h.
177 * cppinit.c, cppmain.c: Likewise. Also, use
178 cpp_notice_from_errno instead of cpp_perror_with_name or
179 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
181 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
182 report internal errors.
184 * cpplib.c (do_define): Switch bcopy to memcpy.
185 Give cpp_pedwarn_with_file_and_line a dummy column argument.
187 * cpplib.c (copy_rest_of_line): Revert previous change: don't
188 bail out early if we hit a line comment.
190 2000-02-06 Richard Henderson <rth@cygnus.com>
192 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
193 * basic-block.h: Declare them.
194 * emit-rtl.h (active_insn_p): New.
195 (next_active_insn, prev_active_insn): Use it.
197 * function.c (emit_return_into_block): New.
198 (thread_prologue_and_epilogue_insns): Insert return insns instead
199 of epilogues when possible.
200 * jump.c (jump_optimize_1): Remove code to insert a return insn
201 on the fallthru to the exit block.
203 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
204 and for non-empty stack frames.
205 * i386.md (return): Expand to return-pop as needed.
207 2000-02-06 Richard Henderson <rth@cygnus.com>
209 * simplify-rtx.c (simplify_relational_operation): Canonicalize
210 constant to op1 for testing.
212 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
214 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
215 (fixuns_truncqfqi2): Use it.
217 2000-02-06 Richard Henderson <rth@cygnus.com>
219 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
222 * i386.md (widening and peepholes): Mask the constant instead of
225 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
227 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
228 input pointer before possibly branching off to the backslash
230 * cpphash.c (macroexpand): Correctly delete \r escapes when
231 stringifying parameters.
232 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
233 if we can; bail out early if we hit a line comment.
234 (handle_directive): Treat '# 123' in an .S file just like
235 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
236 Return 1 for '# not_a_directive'.
237 (get_directive_token): Pop macro buffers here, so that
238 cpp_get_token can't sneakily move past a newline.
240 (cpp_get_token): goto randomchar if handle_directive returns 0.
242 * cppalloc.c: Update copyright.
243 * cpplib.c: Merge all the static function prototypes into one
245 * cpplib.h: Remove #if 0 block.
247 * cpperror.c: Remove #ifdef EMACS block.
248 * cppmain.c: Likewise.
249 * cpphash.c: Remove #if 0 blocks.
250 * cppinit.c: Remove #if 0 blocks, and the -lint option.
251 * cpplib.c: Remove #if 0 blocks and code referencing
252 pcp_inside_if or for_lint. Remove duplicate error message.
253 Fix error messages for #else after #else or #elif. Reformat.
254 Remove archaic TODO list.
255 * cpplib.h: Remove pcp_inside_if and for_lint flags.
257 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
259 * i386/osf1elf.h: Add missing backslash to multiline string.
261 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
263 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
265 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
267 * Makefile.in (c-common.o): Depend on $(EXPR_H).
269 * c-common.c: Include expr.h.
271 * c-pragma.c (mark_align_stack): Add prototype.
273 * caller-save.c (add_stored_regs): Likewise.
275 * combine.c (record_promoted_value): Likewise.
277 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
280 * cppinit.c (new_pending_define): Likewise.
282 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
284 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
285 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
286 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
287 class_scope_p): Likewise.
289 * dwarf2out.h (dwarf2out_set_demangle_name_func,
290 dwarf2out_add_library_unit_info): Likewise.
292 * ggc.h (ggc_page_print_statistics): Likewise.
294 * haifa-sched.c (propagate_deps): Likewise.
296 * reg-stack.c (next_flags_user, record_label_references): Likewise.
298 * rtl.h (set_stack_check_libfunc): Likewise.
300 * toplev.h (set_fatal_function): Likewise.
302 * toplev.c (set_fatal_function): Delete prototype.
304 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
306 2000-02-05 Geoff Keating <geoffk@cygnus.com>
308 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
309 (FUNC_END): Likewise.
311 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
313 * caller-save.c: Include tm_p.h.
315 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
317 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
319 2000-02-04 Neil Booth <NeilB@earthling.net>
321 * cccp.c (main): Check 'dir' for a NULL pointer before passing
324 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
326 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
327 * genflags.c: Use the max_operand_1 logic from genemit.c to
328 calculate how many arguments gen_insn prototypes have. Remove
329 NO_MD_PROTOTYPES ifdefs from the generated file.
330 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
331 file. Cast gen_insn initializers to insn_gen_fn.
332 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
333 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
335 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
337 * fixinc/Makefile.in (HDR): Add machname.h.
340 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
342 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
343 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
344 (c4x_cpu_version): Ditto.
345 * config/c4x/c4x-protos.h: ... here.
347 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
349 * dwarf2out.c (add_abstract_origin_attribute): Don't call
350 gen_abstract_function on our context if we're a nested function.
352 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
354 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
355 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
357 2000-02-04 Bruce Korb <bkorb@gnu.org>
359 * fixinc/genfixes(machname.h):
360 Move the functionality from gen-machine.h into this file.
361 UNdef MN_NAME_PAT if there are no names to change.
362 Also, be a little kinder when AutoGen is not present.
364 * fixinc/Makefile.in(machname.h):
365 Change the generation rule to use genfixes.
367 * fixinc/fixfixes.c(machine_name):
368 machine_name_fix's functionality now dependent upon whether
369 MN_NAME_PAT is defined.
371 * fixinc/fixtests.c(machine_name):
374 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
377 * fixinc/fixlib.h(mn_get_regexps):
380 * fixinc/gen-machine.h: DELETED
382 2000-02-04 Jan Hubicka <jh@suse.cz>
383 Richard Henderson <rth@cygnus.com>
385 * i386.c (SAVE_REGS_FIRST): Remove.
386 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
387 (ix86_compute_frame_size): Likewise.
388 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
389 (ix86_emit_restore_regs): Remove.
390 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
391 when a frame pointer is in use.
392 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
393 instead of pop to restore a register when profitable; emit leave
395 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
397 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
398 * i386.md (prologue_allocate_stack): Remove.
399 (epilogue_deallocate_stack): Remove.
400 (pro_epilogue_adjust_stack): New.
402 2000-02-04 Richard Henderson <rth@cygnus.com>
404 * function.c (diddle_return_value): Rework to use a callback function.
405 Use current_function_return_rtx if it's been set up.
406 (do_clobber_return_reg, clobber_return_register): New.
407 (do_use_return_reg, use_return_register): New.
408 (expand_function_end): Use them.
409 * stmt.c (expand_null_return): Likewise.
410 * function.h: Declare them.
411 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
412 (mark_reg): Change arguments as appropriate for callback.
413 * integrate.c (expand_inline_function): Revert 19 Jan change.
415 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
417 * tm.texi (Values in Registers): Fix typo: "fo" "for".
418 (Misc): Say the scheduler, not the Haifa scheduler.
420 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
422 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
423 when in_mem is set. Update all callers.
425 2000-02-04 Richard Henderson <rth@cygnus.com>
427 * i386/openbsd.h (INT_ASM_OP): Define.
429 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
431 * tm.texi: Fix various typos.
433 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
435 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
436 (MD_STARTFILE_PREFIX_1): New macro.
438 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
440 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
441 destination when needed.
442 (strmovsi, strsetsi): New expander.
443 (strmovsi_1, strsetsi_1): New pattern.
444 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
445 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
446 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
447 * invoke.texi (align-stringops, inline-all-stringops): Document.
449 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
451 * i386/netbsd.h (INT_ASM_OP): Define.
453 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
455 * cpplib.h (cpp_reader): Add new flag, no_directives.
456 * cpphash.c (macarg): Set it.
457 * cpplib.c (handle_directive): If no_directives is on and we
458 find a directive, issue an error and discard the line.
460 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
462 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
463 FP constants. Add ! TARGET_FPU check for FP constants.
465 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
467 * flow.c (find_basic_blocks): Don't kill label_value_list
469 (cleanup_cfg): Kill it here.
471 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
473 * expr.c (store_field): Ensure ALIGN is no stricter than the
476 2000-02-02 Richard Henderson <rth@cygnus.com>
478 * jump.c (delete_insn): Partially revert 19 Jan change;
479 don't convert unused code labels to notes at -O0.
481 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
483 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
484 split_all_insns to recreate REG_LABEL notes for flow2 pass.
486 2000-02-01 Richard Henderson <rth@cygnus.com>
488 * i386.c (general_no_elim_operand): New.
489 (nonmemory_no_elim_operand): New.
490 (ix86_expand_move): Copy eliminable operands before a push.
491 * i386-protos.h: Declare new functions.
492 * i386.h (CAN_ELIMINATE): Simplify.
493 (PREDICATE_CODES): Update.
494 * i386.md (push insns): Don't allow eliminable register operands.
496 2000-02-01 Richard Henderson <rth@cygnus.com>
498 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
499 replace BLKmode with DECL_RTL's mode.
501 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
503 * frame.c (find_fde): Convert for loop to do-while so compiler
504 sees it's always executed at least once.
505 * libgcc2.c (BBINBUFSIZE): Kill.
506 (__bb_init_prg): Use fgets.
507 (__bb_exit_trace_func): Don't paste strings.
508 * unroll.c (unroll_loop): Initialize unroll_type, not
509 unroll_number, and tweak logic to match.
511 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
513 (ix86_flags_dependant): Likewise. Disentangle control flow.
514 (ix86_sched_reorder): Break guts out to
515 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
516 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
519 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
520 use string concatenation. Don't save and restore esi.
522 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
523 (machname.h): Remove script to separate file. Use two-step
524 sequence so target is not created if script fails.
525 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
526 identifiers are defined.
527 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
528 an empty string, machine_name doesn't need to do anything at
530 (is_cxx_header): Add more cases to regexp.
531 * fixinc/fixlib.h: Update prototype.
532 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
534 * fixinc/fixincl.c: Define NO_BOGOSITY.
536 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
537 (hp_sysfile): Add missing comma.
538 (math_exception): Put the wrapper ifdefs at the beginning and
540 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
542 2000-02-01 Richard Henderson <rth@cygnus.com>
544 * sparc.c (fp_zero_operand): Turn into a normal predicate.
545 Use CONST0_RTX. Update all callers.
546 * sparc.h, sparc-protos.h: Update accordingly.
547 * sparc.md (fp mov insns): Use fp_zero_operand directly
550 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
552 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
555 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
557 * Makefile.in (specs.ready): New target.
558 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
560 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
562 * fixinc.irix: Use unique filenames for writing into /tmp,
563 * fixinc.ptx: Likewise.
564 * fixinc.sco: Likewise.
565 * fixinc.svr4: Likewise.
566 * fixinc.winnt: Likewise.
568 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
570 * tsystem.h: New file.
572 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
573 s-crtS): Depend on tsystem.h.
575 * crtstuff.c: Include tsystem.h.
577 * libgcc2.c: Likewise.
579 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
581 * builtins.c (expand_builtin_memset): Expand for variable sized
584 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
586 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
589 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
591 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
593 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
595 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
597 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
598 case 3->2 combining (combining with splitting) in which 2 is CC0
599 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
600 checked at the begining of the function with the aid of calling
601 function 'can_combine_p'.
603 2000-01-31 Dave Brolley <brolley@redhat.com>
605 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
607 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
609 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
612 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
614 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
616 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
619 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
621 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
622 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
623 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
624 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
625 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
626 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
627 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
628 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
629 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
630 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
632 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
633 Add %(cpp_cpu) to CPP_SPEC.
635 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
636 Add %(cc1_cpu) to CC1_SPEC.
638 2000-01-28 Ulrich Drepper <drepper@redhat.com>
640 * c-decl.c (c_decode_option): Accept optional numeric argument to
641 -Wformat and set warn_format.
642 * c-common.c: Don't emit warning about non-constant printf format
643 string unless warn_format > 1.
645 2000-01-30 Richard Henderson <rth@cygnus.com>
647 * alpha.md (return_internal): Allow after reload only.
649 2000-01-30 Richard Henderson <rth@cygnus.com>
651 * i386.c (ix86_compute_frame_size): Omit padding1 if the
652 local frame size is zero.
654 2000-01-30 Richard Henderson <rth@cygnus.com>
656 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
657 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
658 * alpha.md (return): Turn into an expander.
659 (return_internal): Don't use $26.
660 (epilogue): Emit the return insn.
662 2000-01-30 Richard Henderson <rth@cygnus.com>
664 * alpha.md (negtf2, abstf2): Fix word order thinko.
666 (trunctfsf2): Avoid intermediate rounding errors.
668 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
670 * cppfiles.c (find_position): Drop 'colp' argument, return the
672 (read_and_prescan): Adjust to match. Don't ever manipulate
673 line or line_base except via find_position.
675 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
677 * c-parse.in: Apply Ulrich's changes from c-parse.y.
678 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
681 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
683 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
684 just print "<command line>". If 'filename' is null or an
685 empty string, print "<stdin>" for the filename.
686 * cpplib.c (do_define): Don't print the 'location of the
687 previous definition' message if we're still parsing the
689 (cpp_pedwarn_with_file_and_line): Always call
690 cpp_file_line_for_message.
692 2000-01-29 Mark Mitchell <mark@codesourcery.com>
694 * flow.c (mark_regs_live_at_end): Fix typo.
696 2000-01-28 Ulrich Drepper <drepper@redhat.com>
698 * c-common.c: Adjust variable names, comments, help strings to c99.
700 * c-parse.y: Likewise.
701 * c-tree.h: Likewise.
703 * cpplib.h: Likewise.
704 * c-decl.c: Likewise. Recognize options with names "*99" as well.
705 * cppinit.c: Likewise.
707 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
709 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
710 * c4x.c: Define the optab rtx values.
711 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
712 (c4x_emit_libcall): Use new optab rtx values.
713 (c4x_emit_libcall3): Likewise.
714 (c4x_emit_libcall_mulhi): Likewise.
715 * c4x-protos.h: Add prototypes for optab rtx values and change
716 prototypes for above c4x_emit_libcall functions.
718 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
720 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
722 (c4x_function_prologue): Use regnames intead of float_reg_names when
724 (c4x_function_epilogue): Likewise.
725 (c4x_print_operand): Likewise.
726 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
727 * c4x.md (set_high): Disable for TARGET_TI.
729 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
731 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
732 of framepointer + constant to ADDR_REGS class.
733 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
734 * c4x.c (std_or_reg_operand): New function.
735 * c4x-protos.h (std_or_reg_operand): Prototype it.
737 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
739 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
740 object names as libgcc2.c.
741 * libgcc.S: Use newly defined names.
743 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
744 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
746 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
747 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
748 (FLOW_LOOP_LAST_BLOCK): Likewise.
750 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
752 * basic-block.h (struct loop): New fields 'first' and 'last'.
753 * flow.c (flow_loops_find): Compute loop->first and loop->last.
754 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
755 and loop->last to check for NOTE_INSN_LOOP_END.
757 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
759 * predict.c (estimate_probability): Use the new FIRST and LAST fields
760 of the loop descriptor rather than HEADER and LATCH. Also added
761 missing break statements as well making some coding style modifications
762 as suggested by Michael Hayes.
764 2000-01-28 Richard Henderson <rth@cygnus.com>
766 * flow.c (find_basic_blocks): Remove do_cleanup argument.
767 Break out that code ...
768 (cleanup_cfg): ... here.
769 (commit_one_edge_insertion): Detect a return instruction being
770 emitted to an edge. Emit a barrier following; clear fallthru.
771 (commit_edge_insertions): Verify CFG consistency.
772 * function.c (expand_function_start): Kill unused variable.
773 (expand_function_end): Likewise.
774 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
775 to insert the epilogue.
777 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
778 (delete_null_pointer_checks): Likewise.
779 * output.h: Likewise.
780 * reg-stack.c (reg_to_stack): Likewise.
781 * toplev.c (rest_of_compilation): Likewise. Run
782 thread_prologue_and_epilogue_insns after rebuilding the CFG.
784 2000-01-28 Richard Henderson <rth@cygnus.com>
786 * Makefile.in (flow.o): Revert 24 Jan change.
787 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
788 FUNCTION_VALUE result to DECL_RESULT's mode.
790 * haifa-sched.c (schedule_insns): Don't recompute reg info
793 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
795 * configure.in: Make --enable-cpplib the default.
796 * configure: Regenerate.
797 * gcc.dg/990119-1.c: No longer expected to fail.
799 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
801 * jump.c (jump_optimize_1): Delete an optimization that is also done
802 by merge_blocks in flow.
804 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
806 * diagnostic.c (build_message_string, output_printf,
807 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
808 (build_location_prefix): Fix non-literal format string.
810 2000-01-27 Richard Henderson <rth@cygnus.com>
812 * alpha.md (trunctfsf2): New.
814 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
816 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
818 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
820 * cppinit.c (cpp_handle_option): Recognize C++ comments under
822 * cpplib.c (skip_block_comment, skip_line_comment): Split code
824 (skip_comment) ... here. Permit C++ comments in system
825 headers always. Warn about C++ comments in user code under
826 -std=gnu89 -pedantic.
827 (copy_comment): Use skip_comment.
828 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
830 (consider_directive_while_skipping, do_else, do_endif): Call
831 validate_else unconditionally.
832 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
833 text after the conditional in a system header.
834 * cpplib.h (struct cpp_buffer): Add flag
835 warned_cplusplus_comments.
837 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
839 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
840 Use unshare_all_rtl_1.
841 (unshare_all_rtl_again): New function.
842 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
844 * function.c (purge_addressof_1): Use unshare_all_rtl_again
845 rather than resetting the 'used' flags ourself.
847 * toplev.c (rest_of_compilation): Add current_function_decl
848 to the unshare_all_rtl call.
849 * tree.h: Prototype unshare_all_rtl.
850 * rtl.h: Prototype unshare_all_rtl_again here.
852 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
854 * genoutput.c (output_prologue): Include ggc.h in generated
856 * Makefile.in (insn-output.o): Depends on ggc.h.
858 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
859 Hans-Peter Nilsson <hp@bitrange.com>
861 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
862 Remove redundant include of xm-ns32k.h.
863 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
864 Remove redundant include of xm-ns32k.h.
865 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
866 Remove redundant include of xm-ns32k.h.
867 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
869 * ns32k/ns32k.h: Update comment on multiply-add instructions.
870 (TARGET_SWITCHES): Add documentation strings.
871 (DWARF_FRAME_REGNUM): Override default definition.
872 (REG_CLASS_CONTENTS): Add comments.
873 (SUBSET_P): Format to reduce line length.
874 (SMALL_REGISTER_CLASSES): Make a run time option.
875 (GO_IF_NONINDEXED_ADDRESS): Reformat.
876 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
877 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
878 (regclass_map): fix typo in comment.
879 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
880 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
881 (trace, reg_or_mem_operand): Delete, unused function.
882 (calc_address_cost): Small offsets are cheaper than large ones.
883 (expand_block_move): Generate more efficient code when bytes is a
884 known at compile time.
885 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
886 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
887 instead of reg_or_mem_operand.
889 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
890 not general_operand. Similarly use "=rm" or stricter, not "=g".
891 For input operands, use stricter constraints than "g" if not
892 general_operand. Similarly use stricter predicate than
893 "general_operand" when stricter constraints than "g" are present,
894 except for matching constraints.
895 (movstrsi): Use "memory_operand" for operands 0 and 1.
896 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
897 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
898 not reg_or_mem_operand.
899 (udivmoddisi4): Ditto.
900 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
901 Use nonimmediate_operand for operand 3, not register_operand.
902 (udivmoddiqi4_internal): Use register_operand for operand 1, not
905 2000-01-27 Fred Fish <fnf@be.com>
907 * gthr-posix.h: Fix typo; compatibily -> compatibility.
908 * gthr-single.h: Likewise.
909 * gthr-solaris.h: Likewise.
910 * gthr-vxworks.h: Likewise.
911 * gthr-win32.h: Likewise.
914 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
916 * cppinit.c: Add " (cpplib)" to end of string printed by
919 2000-01-27 Richard Henderson <rth@cygnus.com>
921 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
922 testing for a signed comparison.
923 (alpha_emit_floatuns): New.
924 * alpha-protos.h: Declare it.
925 * alpha.md (floatunsdisf2, floatunsdidf2): New.
928 2000-01-27 Jakub Jelinek <jakub@redhat.com>
930 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
931 no -g option specifying debugging format, default to -gstabs+.
933 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
935 * calls.c (special_function_p): New argument fork_or_exec.
936 (expand_call): When profile_arc_flag is set and the function
937 is in the fork_or_exec group, call __bb_fork_func first.
938 * libgcc2.c, _bb module (__bb_fork_func): New function.
939 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
941 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
942 * tree.h (special_function_p): Update prototype.
944 2000-01-26 Richard Henderson <rth@cygnus.com>
946 * alpha.c (alpha_split_tfmode_pair): New.
947 * alpha-protos.h: Declare it.
948 * alpha.md (abstf2, negtf2): New.
949 (movtf insn): Add input G constraint.
950 (movtf splitter): Use alpha_split_tfmode_pair.
952 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
954 * i386/cygwin.h: PROTO -> PARAMS.
956 2000-01-26 Jakub Jelinek <jakub@redhat.com>
958 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
959 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
960 using _Qp_cmp/_Q_cmp and testing the return value.
961 (print_operand): Call reverse_condition_maybe_unordered if
962 we are handling CCFPmode or CCFPEmode.
963 Handle ORDERED, UN* and LTGT comparisons.
964 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
965 if not TARGET_HARD_QUAD.
966 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
967 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
968 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
969 Adjust gen_b* calls so that they reflect return comparison of
970 sparc_emit_float_lib_cmp.
972 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
974 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
975 incoming operands array is large enough for one more operand.
976 (alpha_emit_xfloating_arith): Likewise.
978 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
980 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
981 file with one line and no trailing newline.
982 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
983 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
984 checking if the match is on the line.
985 * fixinc/gnu-regex.c: Provide regerror not __regerror.
987 2000-01-25 Richard Henderson <rth@cygnus.com>
989 * sparc.c (output_cbranch): Fix accidental squashing of the
990 fp branch pre-delay nop.
992 2000-01-25 Richard Henderson <rth@cygnus.com>
994 * tree.def (UNNE_EXPR): Remove.
995 * c-typeck.c (build_binary_op): Don't handle it.
996 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
998 * rtl.def (UNNE): Remove.
1000 * jump.c (reverse_condition): Update accordingly.
1001 (swap_condition): Likewise.
1002 (comparison_dominates_p): Handle unordered comparisons.
1003 (reverse_condition_maybe_unordered): New.
1004 * rtl.h (reverse_condition_maybe_unordered): Declare.
1006 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
1007 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
1008 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
1009 * sparc.md (bltgt): New.
1011 2000-01-25 Nick Clifton <nickc@redhat.com>
1013 * emit-rtl.c (emit_insn): Only check machine class insns for
1014 improper emission of a RETURN.
1016 2000-01-25 Richard Henderson <rth@cygnus.com>
1018 * Makefile.in (flow.o): Depend on $(EXPR_H).
1019 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
1020 duplicate the structure of diddle_return_value for keeping regs live.
1022 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1024 * loop.c (current_loop_info): Delete.
1025 (consec_sets_invariant_p): Add loop argument, update callers.
1026 (get_condition_for_loop): Likewise.
1027 (count_nonfixed_reads, update_giv_derive): Likewise.
1028 (simplify_giv_expr, general_induction_var): Likewise.
1029 (consec_sets_giv, recombine_givs): Likewise.
1030 (move_movables): Delete loop_start and loop_end arguments,
1031 add loop argument, and update callers.
1032 (find_mem_givs, check_final_value): Likewise.
1033 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
1034 (loop_invariant_p): Rename from invariant_p, add loop argument, and
1036 (basic_induction_var): Add loop argument, delete loop_level argument,
1038 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
1039 add loop argument, and update callers.
1040 (find_splittable_regs, find_splittable_givs): Likewise.
1041 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
1042 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
1043 (biv_total_increment): Delete loop_start and loop_end arguments;
1045 (precondition_loop_p): Delete loop_start and loop_info arguments;
1047 * loop.h (get_condition_for_loop): Add loop argument.
1048 (biv_total_increment): Delete loop_start and loop_end arguments.
1049 (precondition_loop_p): Delete loop_start and loop_info arguments;
1051 (final_biv_value): Delete loop_start and loop_end arguments;
1053 (final_giv_value, back_branch_in_range_p): Likewise.
1055 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
1057 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
1059 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
1061 * Makefile.in (c-gperf.h) : Change the "See" pointer to
1062 point to the new "generated_files" doc.
1064 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
1066 * config/fp-bit.c (_unord_f2): Fix typo.
1068 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1070 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
1071 c-typeck.c, objc/objc-act.c: Remove all references to obstack
1072 functions obsoleted by GC, such as push_obstacks_nochange,
1073 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
1074 and code which existed only to decide whether or not to call
1075 them. Remove now-unused NESTED argument from start_function;
1076 all callers changed. Do not change behavior based on ggc_p.
1077 The use of the ixp_obstack in c-iterate.c and the util_obstack
1078 in objc/objc-act.c remain; these are not obsoleted by garbage
1080 * c-tree.h: Update prototype for start_function.
1082 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
1084 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
1086 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
1089 2000-01-25 Richard Henderson <rth@cygnus.com>
1091 * sparc-protos.h (select_cc_mode): Declare.
1092 * sparc.c (select_cc_mode): New. Handle unordered compares.
1093 (output_cbranch): Always reverse via code change. Handle
1094 unordered compares. Factor tests and string updates.
1095 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
1096 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
1097 * sparc.md (bunordered, bordered): New.
1098 (bungt, bunlt, buneq, bunge, bunle): New.
1100 2000-01-25 Richard Henderson <rth@cygnus.com>
1102 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
1103 * ggc-common.c (ggc_add_rtx_varray_root): New.
1104 (ggc_mark_rtx_varray): New.
1105 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
1106 functions down below ggc_mark_foo.
1107 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
1109 2000-01-25 Richard Henderson <rth@cygnus.com>
1111 * alpha.c (secondary_reload_class): Don't allocate a secondary
1112 for integral mode memories into FLOAT_REGS. Rearrange the more
1113 complicated memory expression inward.
1115 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1117 * inclhack.def: Fixes to play nicer with FreeBSD, and
1118 corrections to comments.
1119 (cxx_unready): Add select expression.
1120 (irix_sockaddr): Add bypass expression.
1121 (machine_ansi_h_va_list): New fix.
1122 (stdio_va_list): No need to edit _BSD_VA_LIST_.
1123 Split out addition of "#include <stdarg.h>" to...
1124 (stdio_stdarg_h): ... here.
1125 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
1126 to stdlib.h also. Do not munge _BSD_SIZE_T_.
1127 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
1129 (ultrix_ifdef): Tighten up select expression.
1131 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
1132 re_ct and max_mach to avoid use of shell. Make printed names
1133 match names in inclhack.def. Use static copyright date.
1134 Don't count c_test and test expressions as requiring regex_t
1135 slots. Add some commentary.
1136 * inclhack.tpl: Do not include the 'This script contains N
1137 fixup scripts' line if PROGRAM is defined. Use static
1140 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
1142 * dwarf2out.c: include "varray.h", not dyn-string.h.
1143 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
1144 (addr_const_to_string, addr_to_string): Lose.
1145 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
1146 (struct dw_val_struct): val_addr is now an rtx.
1147 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
1148 (used_rtx_varray): New varray.
1149 (dwarf2out_init): Initialize it.
1151 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
1153 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
1154 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
1155 * Makefile.in (dwarf2out.o): Update dependencies.
1157 2000-01-24 Richard Henderson <rth@cygnus.com>
1159 * i386.c (i386_dwarf_output_addr_const): New.
1160 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
1162 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
1164 * dwarfout.c (output_mem_loc_descriptor): Likewise.
1165 * i386.c (i386_simplify_dwarf_addr): New.
1166 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
1168 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
1170 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
1171 TYPE_STUB_DECL is NULL.
1173 2000-01-24 Richard Henderson <rth@cygnus.com>
1175 * builtins.c (expand_tree_builtin): Move ...
1176 * c-common.c (expand_tree_builtin): ... here.
1178 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1180 * loop.h (LOOP_INFO): New accessor macro.
1181 * basic-block.h (struct loop): Rename field `info' to `aux'.
1182 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
1183 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
1184 * unroll.c (loop_iterations, unroll_loop): Likewise.
1186 2000-01-24 Christopher Faylor <cgf@cygnus.com>
1188 * config/i386/t-cygwin: Accomodate new winsup directory layout
1189 when searching for include files.
1191 2000-01-24 Richard Henderson <rth@cygnus.com>
1193 * rtl.def: Add unordered fp comparisions.
1194 * tree.def: Likewise.
1195 * tree.h: Add ISO C 9x unordered fp comparision builtins.
1197 * builtins.c (expand_tree_builtin): New function.
1198 * c-typeck.c (build_function_call): Use it.
1199 (build_binary_op): Support unordered compares.
1200 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
1202 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
1203 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
1204 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
1205 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
1206 * jump.c (reverse_condition): Don't abort for UNLE etc, but
1208 (swap_condition): Handle unordered compares.
1209 (thread_jumps): Check can_reverse before reversing.
1210 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
1213 * optabs.c (can_compare_p): New argument CODE. Verify branch or
1214 setcc is present before acking for cmp_optab. Update all callers.
1215 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
1216 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
1217 * expr.c (expand_expr): Likewise. Support unordered compares.
1218 (do_jump, do_store_flag): Likewise.
1219 * expr.h (enum libfunc_index): Add unordered compares.
1221 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
1222 (DPBIT_FUNCS): Add _unord_df.
1223 * config/fp-bit.c (_unord_f2): New.
1224 * fp-test.c (main): Try unordered compare builtins.
1226 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
1227 * alpha.c (alpha_comparison_operator): Check mode properly.
1228 (alpha_swapped_comparison_operator): Likewise.
1229 (signed_comparison_operator): Likewise.
1230 (alpha_fp_comparison_operator): New.
1231 (alpha_emit_conditional_branch): Handle unordered compares.
1232 * alpha.h (PREDICATE_CODES): Update.
1233 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
1234 (bunordered, bordered): New.
1236 2000-01-24 Richard Henderson <rth@cygnus.com>
1238 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
1239 * alpha.md (movtf): New expander, insn, and splitter.
1241 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
1243 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1246 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
1248 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
1249 (FIXED_REGISTERS, CALL_USED_REGISTERS,
1250 REG_ALLOC_ORDER): Add frame pointer
1251 (FRAME_POINTER_REGNUM): Set to 20
1252 (HARD_FRAME_POINTER_REGNUM): New macro.
1253 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
1254 to HARD_FRAME_POINTER.
1255 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
1256 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1257 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1258 (HI_REGISTER_NAMES): Add "frame".
1259 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
1260 (debug_reg): Handle FRAME_POINTER_REGNUM.
1261 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
1262 GENERAL_REGS and INDEX_REGS.
1263 * i386.c (SAVED_REGS_FIRST): new macro.
1264 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
1265 (ix86_decompose_address, memory_address_length): Likewise.
1266 (regclass_map): Add frame pointer.
1267 (call_insn_operand): Handle frame_pointer_rtx.
1268 (reg_no_sp_operand): Likewise.
1269 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
1270 (print_operand, legitimize_pic_address): Fix formating.
1271 (ix86_compute_frame_size): Make static, update prototype, new
1272 parameters padding1, padding2, use ix86_nsaved_regs, use
1273 stack_alignment_needed.
1274 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
1275 to HARD_FRAME_POINTER_REGNUM conversions.
1276 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
1277 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
1278 (print_reg): Abort on FRAME_POINTER_REGNUM
1280 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
1282 * i386.h (PREDICATE_CODES): Add aligned_operand.
1283 * i386.c (aligned_operand): New function.
1284 (ix86_aligned_p): Kill.
1285 * i386.md (movhi_1): Emit mov for aligned operands.
1286 (promoting peep2s): Use aligned_operand.
1288 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
1290 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
1291 expression to allow underscores in macro names.
1292 (fix_char_macro_defines): Increment scanning pointer.
1294 2000-01-23 Richard Henderson <rth@cygnus.com>
1296 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
1297 * alpha/osf5.h: New file.
1298 * configure.in (alpha-*-osf5): Add it to tm_file.
1300 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
1302 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
1303 (alpha_emit_xfloating_cvt, function_arg): Declare.
1304 * alpha.c (alpha_emit_conditional_branch): Call
1305 alpha_emit_xfloating_compare for TFmode compares.
1306 (alpha_lookup_xfloating_lib_func): New.
1307 (alpha_compute_xfloating_mode_arg): New.
1308 (alpha_emit_xfloating_libcall): New.
1309 (alpha_emit_xfloating_arith): New.
1310 (alpha_emit_xfloating_compare): New.
1311 (alpha_emit_xfloating_cvt): New.
1312 (print_operand): Add default abort case.
1313 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
1314 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
1315 (BIGGEST_ALIGNMENT): Increase to 128 bits.
1316 (RETURN_IN_MEMORY): True for TF/TCmode.
1317 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
1318 (FUNCTION_ARG): Move to function_arg.
1319 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
1320 (ASM_OUTPUT_LONG_DOUBLE): New.
1321 (ASM_OUTPUT_DOUBLE): Always output bits.
1322 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
1323 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
1324 (extenddftf2, trunctfdf2): New.
1326 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1328 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
1329 * config/sparc/sol2.h: ... here.
1331 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1333 * basic-block.h (struct loops): New field `levels'.
1334 * flow.c (flow_loops_level_compute): Traverse all outer loops.
1335 (flow_loop_level_compute): Initialise level to 1.
1336 (flow_loops_find): Set loops->levels.
1337 (flow_loops_dump): Print loops->levels.
1339 2000-01-23 Richard Henderson <rth@cygnus.com>
1341 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
1342 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
1344 2000-01-23 Richard Henderson <rth@cygnus.com>
1346 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
1347 * i386.h (DBX_REGISTER_NUMBER): Use them.
1348 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
1349 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
1350 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
1351 * i386/sequent.h: Kill incorrect comment.
1353 2000-01-23 Mark Mitchell <mark@codesourcery.com>
1355 * ggc-page.c (struct page_entry): Make `context_depth' an
1357 (struct globals): Likewise.
1359 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
1361 * loop.c (check_dbra_loop): When checking a loop for
1362 reversability, check the source of any stores to ensure
1363 they don't depend on an initial value.
1365 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1367 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
1369 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
1371 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
1372 'pz_scan' into scope of entire function. Only affects
1373 compiles with -DDEBUG.
1375 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
1377 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
1378 section naming to that prior to 2000-01-07 patch.
1379 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
1380 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
1381 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
1382 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
1383 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
1385 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
1387 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
1390 2000-01-21 Jim Wilson <wilson@cygnus.com>
1392 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
1393 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
1395 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
1397 * cpphash.c (change_newlines): Delete function.
1398 (struct argdata): Delete 'newlines' and 'use_count' fields.
1399 (macroexpand): Remove code referencing those fields.
1401 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1403 * loop.c (loops_info): New variable.
1404 (loop_optimize): Allocate loops->array and free it on exit.
1405 Allocate memory for loops_info and assign to each loop,
1407 (find_and_verify_loops): Do not allocate loops->array.
1409 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
1411 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
1413 2000-01-21 Jakub Jelinek <jakub@redhat.com>
1415 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
1416 pseudos if expanded after first flow.
1417 (movdi_pic_label_ref): Likewise.
1419 2000-01-20 Richard Henderson <rth@cygnus.com>
1421 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
1423 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
1425 * Makefile.in (fixinc.sh): Depend on specs.
1426 * fixinc/Makefile.in: Add rule to create machname.h.
1427 (fixlib.o): Depend on machname.h.
1428 * fixinc/fixtests.c (machine_name): New test.
1429 * fixinc/fixfixes.c (machine_name): New fix.
1430 * fixinc/fixlib.c (mn_get_regexps): New helper function for
1431 the machine_name test and fix.
1432 * fixinc/fixlib.h: Prototype it.
1433 * fixinc/inclhack.def (machine_name): Use the C test and fix.
1434 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
1436 * gcc.c (do_spec_1) [case P]: Take care not to create
1437 identifiers with three leading or trailing underscores.
1439 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
1440 (fixincl): Don't specify libraries twice on link line.
1441 (gnu-regex.o): Remove special rule.
1442 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
1443 defined by config.h. Do not define _REGEX_RE_COMP.
1444 (regcomp): Allocate and initialize a fastmap.
1445 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
1447 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
1449 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
1451 2000-01-19 Richard Henderson <rth@cygnus.com>
1453 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
1454 arguments with BB. Update all callers. Tidy line wrapping.
1456 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
1458 * emit-rtl.c (try_split): Return last_insn if we split the
1461 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
1463 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
1464 (ix86_initial_elimination_offset): Declare.
1465 * i386.c (ix86_nsaved_regs): Break out from ...
1466 (ix86_can_use_return_insn_p): ... here.
1467 (ix86_emit_save_regs): Break out from ...
1468 (ix86_expand_prologue): ... here.
1469 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
1471 (ix86_expand_epilogue): ... here.
1472 (ix86_compute_frame_size): Make static, add prototype.
1473 (ix86_initial_elimination_offset): Break out from ...
1474 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
1476 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1478 * recog.h (OUT_FCN): Delete.
1480 * vax.md: Call `get_insn_template' instead of OUT_FCN.
1482 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1484 * cppalloc.c: PROTO -> PARAMS.
1485 * cpperror.c: Likewise.
1486 * cppfiles.c: Likewise.
1487 * cpplib.c: Likewise.
1488 * cpplib.h: Likewise.
1490 * config/arm/arm-protos.h: PROTO -> PARAMS.
1491 * config/arm/arm.c: Likewise.
1492 * config/c4x/c4x.c: Likewise.
1493 * config/fr30/fr30-protos.h: Likewise.
1494 * config/nextstep.c: Likewise.
1495 * config/pa/pa.c: Likewise.
1496 * config/pj/pj.c: Likewise.
1497 * config/rs6000/rs6000.c: Likewise.
1498 * config/v850/v850-protos.h: Likewise.
1499 * config/v850/v850.c: Likewise.
1501 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1503 * i370-protos.h: New file.
1505 * i370.c: Include tm_p.h. Fix compile time warnings.
1507 * i370.h: Move prototypes to i370-protos.h. Fix compile time
1510 * i370.md: Likewise.
1512 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1514 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
1515 (target_isinf, target_isnan, eisnan): Mark parameter with
1517 (eiisinf): Wrap in INFINITY.
1518 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
1519 (ibmtoe): Remove unused variable `rndsav'.
1521 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1523 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
1524 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
1526 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
1528 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
1529 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
1530 (fix_char_macro_defines, fix_char_macro_uses): New functions.
1532 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
1533 Recognize Emacs mode markers also.
1534 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
1535 C++ comments in C++ headers. Call is_cxx_header only if
1538 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
1540 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
1541 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
1542 ... these, which use the new C fixes.
1543 (math_exception): Escape literal '+' in bypass expression.
1545 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
1548 2000-01-19 Geoff Keating <geoffk@cygnus.com>
1550 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
1553 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1555 * loop.c (loop_optimize): Allocate loop_info structure for each loop
1556 prior to calling scan_loop.
1558 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1560 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
1561 (split_branches, calc_live_regs): Likewise.
1563 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1565 * sh.md (fpu_single, fp_mode): New attributes.
1567 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1569 * loop.c (current_loop_info): Renamed from loop_info_data
1570 and changed to a pointer.
1571 (loop_optimize): Allocate loop_info structure for each loop
1572 and initialise to zero.
1573 (scan_loop): Set current_loop_info.
1575 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
1578 2000-01-19 Richard Henderson <rth@cygnus.com>
1580 * stupid.c: Die die die.
1581 * Makefile.in (OBJS): Remove stupid.o.
1582 (stupid.o): Likewise.
1584 * except.c (emit_eh_context): Don't emit USEs for stupid.
1585 * explow.c (probe_stack_range): Likewise.
1586 * flags.h (obey_regdecls): Remove.
1587 * flow.c (find_basic_blocks): Don't run try_merge_blocks
1588 when not optimizing.
1589 (life_analysis): Limit data collection when not optimizing.
1590 (mark_regs_live_at_end): Always mark the return value registers.
1591 (mark_used_regs): Remove dummy RETURN case.
1592 (print_rtl_with_bb): Don't consult obey_regdecls.
1593 * function.c (use_variable, use_variable_after): Remove.
1594 (assign_parms): Consult optimize not obey_regdecls.
1595 (expand_function_start): Don't emit USEs for stupid.
1596 (expand_function_end): Likewise.
1597 * global.c (build_insn_chain): Export.
1598 * integrate.c (expand_inline_function): Kill return-value USE
1600 * jump.c (jump_optimize_1): Do simple jump optimizations and
1601 dead code elimination.
1602 (calculate_can_reach_end): Remove check_deleted argument.
1603 (delete_insn): Patch out insns even when not optimizing.
1604 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
1605 * rtl.h (use_variable, use_variable_after): Remove declarations.
1606 (build_insn_chain): Declare.
1607 * stmt.c (expand_value_return): Don't emit USEs for stupid.
1608 (expand_end_bindings): Likewise.
1609 (expand_decl): Likewise. Consult optimize not obey_regdecls.
1610 * toplev.c (obey_regdecls): Remove.
1611 (rest_of_compilation): Don't set it. Kill stupid in favour of
1612 flow1, local-alloc, and reload.
1613 (main): Don't set obey_regdecls.
1615 * config/nextstep.c (handle_pragma): Likewise.
1617 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
1619 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
1621 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1623 * alpha-protos.h: PROTO -> PARAMS.
1624 * alpha.c: Likewise.
1626 * h8300.c: Likewise.
1627 * i386-protos.h: Likewise.
1629 * m32r-protos.h: Likewise.
1632 * mips.md: Likewise.
1633 * gmon-sol2.c: Likewise.
1634 * sparc.c: Likewise.
1636 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1638 * ns32k-protos.h: New file.
1640 * ns32k.c: Fix compile time warnings.
1642 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
1645 * ns32k.md: Likewise.
1647 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1649 * vax-protos.h: New file.
1651 * vax.c: Fix compile time warnings.
1653 * vax.h: Move prototypes to vax-protos.h. Fix compile time
1658 * vaxv.md: Likewise.
1660 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1662 * romp-protos.h: New file.
1664 * romp.c: Fix compile time warnings.
1666 * romp.h: Move prototypes to romp-protos.h. Fix compile time
1669 * romp.md: Likewise.
1671 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1673 * we32k-protos.h: New file.
1675 * we32k.c: Fix compile time warnings.
1677 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
1680 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1682 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
1684 * except.c (eh_regs): Likewise.
1686 * final.c (output_operand): Likewise.
1688 * fold-const.c (target_isinf, target_isnan): Likewise.
1690 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1692 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
1693 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
1695 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
1697 (clrstrsi): Rewrite.
1698 (strsethi, strsetqi): New expanders.
1699 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
1700 (cmpstrsi): Emit compare insn before cmpstrsi_1
1701 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
1702 (strlensi_1): Likewise.
1703 (cmpstrsi_1): Likewise; do not output compare.
1704 (strlen expander): Do not unroll when optimizing for size.
1705 (*subsi3_carry): Rename to subsi3_carry
1706 (addqi3_cc): New pattern.
1707 * i386.h (processor_costs): Add move_ratio field.
1708 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
1709 * i386.c (*_cost): Set move_ratio.
1710 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
1711 (x86_expand_strlensi_1): Rewrite the main loop.
1713 2000-01-17 Richard Henderson <rth@cygnus.com>
1715 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
1716 * cse.c (find_comparison_args, fold_rtx): Likewise.
1717 * integrate.c (subst_constants): Likewise.
1718 * loop.c (get_condition): Likewise.
1720 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
1722 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
1724 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1726 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
1727 (RESTORE_WARN_FLAGS): Unpack it.
1728 Change semantic type of extension to ttype.
1729 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
1730 * c-parse.y, c-parse.c, objc/objc-parse.y,
1731 objc/objc-parse.c: Regenerate.
1733 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
1735 * fixinc/fixlib.c: Add copyright notice.
1736 (compile_re): New function.
1737 * fixinc/fixlib.h: Prototype compile_re.
1739 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
1740 Use compile_re to compile regular expressions.
1742 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
1743 where the pattern matched.
1745 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
1747 (ultrix_ansi_compat): Likewise.
1748 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
1750 (interactv_add2, interactv_add3): Delete.
1751 (x11_sprintf): Don't use filename glob.
1752 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
1755 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1757 * print-rtl.c: PROTO -> PARAMS.
1759 * reg-stack.c: Likewise.
1760 * resource.c: Likewise.
1761 * sdbout.h: Likewise.
1762 * simplify-rtx.c: Likewise.
1763 * stor-layout.c: Likewise.
1764 * stupid.c: Likewise.
1765 * xcoffout.c: Likewise.
1766 * xcoffout.h: Likewise.
1768 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1770 * toplev.c: PROTO -> PARAMS.
1771 * toplev.h: Likewise.
1774 * unroll.c: Likewise.
1775 * varasm.c: Likewise.
1776 * varray.c: Likewise.
1777 * varray.h: Likewise.
1779 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1781 * reload.c: PROTO -> PARAMS.
1782 * reload.h: Likewise.
1783 * reload1.c: Likewise.
1784 * reorg.c: Likewise.
1785 * resource.h: Likewise.
1788 * rtlanal.c: Likewise.
1789 * sbitmap.h: Likewise.
1790 * sdbout.c: Likewise.
1791 * stack.h: Likewise.
1793 * system.h: Likewise.
1795 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1797 * machmode.h: PROTO -> PARAMS.
1798 * mbchar.h: Likewise.
1799 * mips-tdump.c: Likewise.
1800 * mips-tfile.c: Likewise.
1801 * optabs.c: Likewise.
1802 * output.h: Likewise.
1803 * prefix.c: Likewise.
1804 * profile.c: Likewise.
1805 * protoize.c: Likewise.
1807 * recog.c: Likewise.
1808 * recog.h: Likewise.
1809 * regclass.c: Likewise.
1810 * regmove.c: Likewise.
1813 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1815 * ggc-common.c: PROTO -> PARAMS.
1816 * ggc-page.c: Likewise.
1817 * ggc-simple.c: Likewise.
1819 * global.c: Likewise.
1820 * graph.c: Likewise.
1821 * gthr-win32.h: Likewise.
1822 * haifa-sched.c: Likewise.
1823 * halfpic.h: Likewise.
1824 * integrate.c: Likewise.
1825 * integrate.h: Likewise.
1828 * local-alloc.c: Likewise.
1832 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1834 * genattr.c: PROTO -> PARAMS.
1835 * genattrtab.c: Likewise.
1836 * gencheck.c: Likewise.
1837 * gencodes.c: Likewise.
1838 * genconfig.c: Likewise.
1839 * genemit.c: Likewise.
1840 * genextract.c: Likewise.
1841 * genflags.c: Likewise.
1842 * gengenrtl.c: Likewise.
1843 * genopinit.c: Likewise.
1844 * genoutput.c: Likewise.
1845 * genpeep.c: Likewise.
1846 * genrecog.c: Likewise.
1848 2000-01-16 Mark Mitchell <mark@codesourcery.com>
1850 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
1852 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1854 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
1855 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
1856 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
1857 * configure, config.in: Rebuilt.
1859 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
1861 * config/i386/i386.md: Add peephole to merge successive stack
1864 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
1866 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
1867 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
1868 when walking backwards to find all the parameter loads when
1869 the basic block ends in a call.
1871 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1873 * loop.c (this_loop_info): Delete.
1874 (uid_loop): Add in place of uid_loop_num. All uses updated.
1875 (loop_number_exit_count): Delete and replace with entry in loop
1876 structure. All uses updated.
1877 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1878 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1879 (loop_outer_loop): Likewise.
1880 (loop_invalid, loop_number_exit_labels): Likewise.
1881 (loop_used_count_register): Delete and replace with entry in
1882 loop_info structure.
1883 (find_and_verify_loops): Add loops argument.
1884 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
1885 loop_end, etc. arguments with loop structure pointer. All callers
1887 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
1888 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
1889 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
1890 (insert_bct): Likewise.
1891 (basic_induction_var): New argument level.
1892 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
1893 vtop, and cont. Add used_count_register.
1894 (uid_loop): Delete declaration.
1895 (loop_number_exit_count): Likewise.
1896 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1897 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1898 (loop_outer_loop, loop_used_count_register): Likewise.
1899 (loop_invalid, loop_number_exit_labels): Likewise.
1900 (unroll_loop): Replace loop_start and loop_end arguments
1901 with loop structure pointer.
1902 (loop_precondition_p, loop_iterations): Likewise.
1903 Include basic-block.h.
1904 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
1905 with loop structure pointer.
1906 (loop_precondition_p, loop_iterations): Likewise.
1907 * basic-block.h (struct loop): New entries vtop, cont,
1908 cont_dominator, start, end, top, scan_start, exit_labels,
1910 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
1912 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1914 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
1916 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
1918 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
1920 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1922 * pdp11-protos.h: New file.
1924 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
1927 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
1930 * pdp11.md: Likewise.
1934 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1936 * mn10300-protos.h: New file.
1938 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
1941 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
1944 * mn10300.md: Likewise.
1946 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1948 * mn10200-protos.h: New file.
1950 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
1953 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
1956 * mn10200.md: Likewise.
1958 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1960 * h8300-protos.h: New file.
1962 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
1965 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
1968 * h8300.md: Likewise.
1970 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1972 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
1973 (asm_emit_uninitialised): Likewise.
1975 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
1977 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
1978 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
1980 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1982 * config/mips/mips.c (override_options): Don't turn on extra
1983 alignment for mips16.
1985 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1987 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
1988 eabi, and make sure queued POSTINCREMENT rtl is emitted at
1991 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1993 * builtins.c (PAD_VARARGS_DOWN): Define.
1994 (std_expand_builtin_va_arg): Use the above macro.
1995 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
1996 * tm.texi (Register Arguments): Document the above macro.
1998 2000-01-14 Nick Clifton <nickc@cygnus.com>
2000 * emit-rtl.c (emit_insn): If checking is enabled, make sure
2001 that this function has not been used to emit a jump
2004 * jump.c (return_jump_1): Cope with being passed a null rtx.
2006 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2008 * eh-common.h: PROTO -> PARAMS.
2009 * emit-rtl.c: Likewise.
2010 * errors.c: Likewise.
2011 * errors.h: Likewise.
2012 * except.c: Likewise.
2013 * except.h: Likewise.
2014 * explow.c: Likewise.
2015 * expmed.c: Likewise.
2018 * final.c: Likewise.
2019 * fix-header.c: Likewise.
2021 * fold-const.c: Likewise.
2022 * function.c: Likewise.
2023 * function.h: Likewise.
2025 * gcov-io.h: Likewise.
2029 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2031 * sh-protos.h: New file.
2033 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
2034 Add static prototypes. Fix compile time warnings.
2036 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
2040 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2042 * arc-protos.h: New file.
2044 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
2047 * arc.h: Move prototypes to arc-protos.h. Fix compile time
2052 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2054 * dsp16xx-protos.h: New file.
2056 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
2059 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
2062 * dsp16xx.md: Likewise.
2064 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2066 * convex-protos.h: New file.
2068 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
2071 * convex.h: Move prototypes to convex-protos.h. Fix compile time
2074 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2076 * elxsi-protos.h: New file.
2078 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
2081 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
2084 * elxsi.md: Likewise.
2086 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2088 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
2089 case for moving from HI/LO/HI_LO_REG. This makes the behavior
2090 match the comment for MIPS16.
2092 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
2094 * flow.c (split_edge): Do not call set_block_for_insn if we
2095 do not have a basic_block_for_insn structure.
2097 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
2098 and destination functions are 32bit aligned within the trampoline.
2099 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
2100 (TRAMPOLINE_ALIGNMENT): Define.
2102 * cse.c (cse_insn): When changing (set (pc) (reg)) to
2103 (set (pc) (label_ref)), verify the change creates a valid insn.
2105 * fr30.c (call_operand): Tighten and rework to match rules for
2106 call RTL expressions.
2107 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
2108 * fr30.md (call patterns): Improve constraints.
2110 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
2112 * fr30.c (fr30_expand_epilogue): Revert last change.
2113 Use emit_jump_insn for the return insn.
2115 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
2116 Stan Cox <scox@cygnus.com>
2118 * predict.c: New file. Preliminary infrastructure work for static
2119 branch prediction and basic block reordering.
2120 * basic-block.h: Add prototype for estimate_probability.
2121 * Makefile.in: Add rules for predict.o.
2123 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
2125 * fixincludes (va_list): Use __not_va_list__ for the dummy.
2126 * fixinc/*: Likewise.
2128 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2130 * cccp.c: PROTO -> PARAMS.
2132 * collect2.c: Likewise.
2133 * combine.c: Likewise.
2134 * convert.h: Likewise.
2136 * dbxout.c: Likewise.
2137 * dbxout.h: Likewise.
2138 * diagnostic.c: Likewise.
2139 * doprint.c: Likewise.
2140 * dwarf2out.c: Likewise.
2141 * dwarf2out.h: Likewise.
2142 * dwarfout.c: Likewise.
2143 * dwarfout.h: Likewise.
2144 * dyn-string.h: Likewise.
2146 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2148 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
2149 macro conditionals guarding use.
2151 * dwarf2out.c: Include "tm_p.h".
2153 * function.c (locate_and_pad_parm): Mark parameter with
2155 (expand_function_end): Likewise for variable `context'.
2157 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
2159 2000-01-13 Nick Clifton <nickc@cygnus.com>
2161 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
2162 register to prevent compile time warnings.
2164 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
2166 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
2167 to avoid -Wtraditional warning.
2169 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2171 * 1750a-protos.h: New file.
2173 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
2176 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
2179 * 1750a.md: Likewise.
2181 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2183 * a29k-protos.h: New file.
2185 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
2188 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
2191 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2193 * clipper-protos.h: New file.
2195 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
2198 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
2201 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2203 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
2205 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
2207 * configure.in (--enable-new-gxx-abi): New option.
2208 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
2209 * Makefile.in (GXX_ABI_FLAG): New variable.
2210 * configure: Regenerate.
2212 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2214 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
2215 * tm.texi (FORCE_STRUCT_BLK): Document.
2216 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
2218 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
2220 * config/ns32k/ns32k.md: Revert Jan 9 change.
2222 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
2223 to a mode-test, if the predicate is address_operand.
2225 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
2227 * combine.c (if_then_else_cond): Be careful about what kinds
2228 of RTL expressions are passed to operand_subword.
2230 * flow.c (split_edge): If we have to insert a new jump, make
2231 sure to associate it with a basic block.
2233 * flow.c (commit_one_edge_insertion): A block with one successor
2234 can end in a JUMP_INSN that is not a simplejump.
2236 2000-01-12 Robert Lipe <robertl@sco.com>
2238 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2239 (BUILD_VA_LIST_TYPE): Define.
2240 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
2243 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
2245 * cccp.c (do_pragma): Add cast to (char *).
2247 2000-01-12 Richard Henderson <rth@cygnus.com>
2248 Fred Fish <fnf@be.com>
2249 Jason Merrill <jason@cygnus.com>
2251 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
2252 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
2253 * i386/beos-elf.h, i386/beos-pe.h: New files.
2255 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
2256 * cross-make (SYSTEM_HEADER_DIR): Define using
2257 CROSS_SYSTEM_HEADER_DIR.
2259 * gcc.c (LIBRARY_PATH_ENV): Provide default.
2260 (process_command): Use it.
2261 (main): Likewise. Kill trailing = from env vars.
2262 (build_search_list): Put it back.
2263 * collect2.c (main): Use LIBRARY_PATH_ENV.
2265 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
2266 * toplev.c: Use NEED_DECLARATION_ENVIRON.
2268 * tm.texi (Frame Layout): Document SMALL_STACK.
2269 * c-common.c (c_common_nodes_and_builtins): Check it.
2271 * system.h: Undef alloca after including glibc's <stdlib.h>,
2272 if USE_C_ALLOCA is defined.
2274 * gcc.c (set_input): New fn.
2275 (main): After all input files are compiled, reset the input file
2278 * aclocal.m4 (rindex, index): If already defined, don't attempt
2281 * ginclude/varargs.h: (__va_list__): Define ifndef.
2282 * ginclude/stdarg.h: Likewise.
2284 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
2285 instead of unsigned char.
2287 * hash.h (true, false, boolean): Undef before enum.
2289 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
2290 proper type of "HOST_WIDE_INT *", rather than their natural type of
2291 "unsigned HOST_WIDE_INT *".
2293 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2295 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
2297 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
2299 * regclass.c (choose_hard_reg_mode): Likewise.
2301 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
2303 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
2305 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2307 * c-common.c: PROTO -> PARAMS.
2308 * c-common.h: Likewise.
2309 * c-decl.c: Likewise.
2310 * c-iterate.c: Likewise.
2311 * c-lang.c: Likewise.
2312 * c-lex.c: Likewise.
2313 * c-lex.h: Likewise.
2314 * c-parse.in: Likewise.
2315 * c-pragma.c: Likewise.
2316 * c-pragma.h: Likewise.
2317 * c-tree.h: Likewise.
2318 * c-typeck.c: Likewise.
2319 * objc/objc-act.c: Likewise.
2320 * objc/objc-act.h: Likewise.
2322 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2324 * m88k-protos.h: New file.
2326 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
2329 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
2331 * m88k.md: Likewise.
2333 * tekXD88.h: Likewise.
2335 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2337 * m68k-protos.h: New file.
2339 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
2342 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
2344 * mot3300.h: Likewise.
2346 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
2348 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
2350 (extract_bitlist): Declare bitlen.
2352 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
2354 * cccp.c: Accept and ignore -lang-fortran.
2356 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
2357 qualifiers don't match at any level of pointerness.
2359 2000-01-12 Robert Lipe <robertl@sco.com>
2361 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
2363 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
2365 * reload1.c (reload_reg_unavailable): New static variable.
2366 (reload_reg_free_p): Test it.
2367 (reload_reg_free_for_value_p): Test it instead of
2369 (choose_reload_regs_init): Compute it.
2371 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
2373 * reorg.c (fill_slots_from_thread): Check modified_in_p
2376 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
2378 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
2379 these nodes even if INTERNALS is not set.
2381 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
2383 * gcse.c (delete_null_pointer_checks_1): Cope when
2384 get_condition cannot determine the condition.
2386 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
2388 * toplev.h (set_message_length): Declare.
2390 * diagnostic.c (obstack_chunk_alloc): Define macro.
2391 (obstack_chunk_free): Likewise.
2392 (struct output_buffer): New data structure.
2394 (output_maximum_width): New variable.
2395 (doing_line_wrapping, set_message_length, init_output_buffer,
2396 get_output_prefix, output_space_left, emit_output_prefix,
2397 output_newline, output_append, output_puts, dump_output,
2398 vbuild_message_string, build_message_string, build_location_prefix,
2399 voutput_notice, output_printf, line_wrapper_printf,
2400 vline_wrapper_message_with_location): New functions. Implement
2401 automatic line wrapping.
2402 (v_message_with_decl): Make it handle automatic line wrapping.
2403 (v_error_with_file_and_line): Likewise.
2404 (v_warning_with_file_and_line): Likewise.
2405 (announce_function): Likewise.
2406 (default_print_error_function): Likewise.
2408 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
2410 * cpplib.h (struct cpp_options): Change lang_asm to char.
2412 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
2413 done in cpp_handle_option now.
2414 (initialize_builtins): Take out special case code used only by
2416 (cpp_handle_option): Turn off trigraphs and trigraph warnings
2417 if -traditional. Recognize -lang-fortran and set
2418 lang_fortran, also turn off cplusplus_comments.
2419 (print_help): Document -lang-fortran.
2420 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
2421 lang_asm. Ignore all directives other than `# 123 "file"' if
2423 (cpp_get_token): If -traditional, don't recognize directives
2424 unless the # is in column 1.
2425 (parse_string): If lang_fortran or lang_asm, silently
2426 terminate strings ('' or "") at end of line.
2427 Remove unnecessary braces.
2429 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2430 Richard Henderson <rth@cygnus.com>
2432 * resource.c (mark_referenced_resources): Mark a set strict_low_part
2434 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
2435 strict_low_part when possible.
2437 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2439 * alias.c: PROTO -> PARAMS.
2440 * basic-block.h: Likewise.
2441 * bitmap.c: Likewise.
2442 * bitmap.h: Likewise.
2443 * builtins.c: Likewise.
2444 * c-aux-info.c: Likewise.
2445 * caller-save.c: Likewise.
2446 * calls.c: Likewise.
2448 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2450 * Makefile.in (toplev.o): Depend on regs.h.
2452 * output.h (tdesc_section): Prototype.
2454 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
2456 * sdbout.c: Include "tm_p.h".
2458 * toplev.c: Include "regs.h".
2460 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
2462 * unroll.c (unroll_loop): Add EH support.
2464 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2466 * pa-protos.h: New file.
2468 * pa.c: Include recog.h and tm_p.h.
2469 (compute_zdepwi_operands, compute_movstrsi_length,
2470 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
2471 find_addr_reg, import_milli): Add static prototypes.
2472 (pa_cpu_string, pa_arch_string): Constify a char*.
2473 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
2474 (read_only_operand): Add argument `mode'.
2475 (singlemove_string, output_move_double, output_fp_move_double,
2476 output_block_move, output_and, output_ior, output_ascii,
2477 remove_useless_addtr_insns, milli_names, output_mul_insn,
2478 output_div_insn, output_mod_insn, output_arg_descriptor,
2479 output_cbranch, output_bb, output_bvb, output_dbra, ,
2480 output_millicode_call, output_call, hppa_encode_label,
2481 output_parallel_movb, output_parallel_addb): Constify a char*.
2482 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
2483 (output_parallel_addb): Remove extra arg to `constrain_operands'
2485 * pa.h: Move all prototypes to pa-protos.h.
2486 (pa_cpu_string, pa_arch_string): Constify a char*.
2487 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
2489 * pa.md: Call `function_label_operand' with mode argument.
2490 Likewise for `read_only_operand'.
2491 Fix nesting of parens in call to `symbolic_operand'.
2493 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2495 * i860-protos.h: New file.
2497 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
2500 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
2502 * i860.md: Likewise.
2504 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
2506 * i386.md (movstrsi expander): Rewrite.
2507 (movstrsi_1 insn): Deleted.
2508 (strmovhi, strmovqi expander): New expanders.
2509 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
2510 * i386.c (x86_single_stringop): New global variable.
2511 * i386.h (x86_single_stringop): Declare.
2512 (TARGET_SINGLE_STRINGOP): New macro.
2514 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
2516 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
2517 integer vararg POSTINCREMENT before the destination of the jump
2518 for the hard fp case.
2519 (function_arg_pass_by_reference): Pass a copy of CUM to
2522 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
2523 for CONSTANT_ADDRESS_P above while loop for subreg.
2525 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
2527 * flow.c (propagate_block): When a prologue/epilogue insn
2528 is marked dead, unconditionally clear libcall_is_dead and
2529 insn_is_dead, and only dump rtl if warnings aren't being
2532 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
2534 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
2535 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
2536 (FIXED_REGISTERS): Set dirflag as fixed.
2537 (CALL_USED_REGISTERS): Set dirflag as used.
2538 (REG_ALLOC_ORDER): Set dirflag as last one.
2539 (DIRFLAG_REG): New macro.
2540 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
2541 (HI_REGISTER_NAMES): Add dirflag.
2542 (DEBUF_PRINT_REG): Handle dirflag.
2543 * i386.md (type attribute): New cld and str types.
2544 (length_opcode attribute): Set cld and str to 1.
2545 (memory attribute): Set str to unknown - it is not clear from the
2547 (pent_np function unit): Prefixed string operations takes 12 cycles
2548 minimally; cld takes 2 cycles.
2549 (ppro_uops attribute): Str is "many" and cld is "few".
2550 (ppro_p0 unit): Handle cld here.
2551 (k6_alux unit): Handle cld and str types.
2552 (k6_load unit): It is ocupied by str opcodes.
2553 (k6_store unit): It is ocupied by str opcodes.
2554 (athlon_decode): Str is vector decoded.
2555 (athlon_ieu): Handle str and cld.
2557 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
2558 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
2559 cmpstrsi_nz_1 insn): Do not output cld instruction
2561 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
2563 * gcc.texi (G++ and GCC): Add Java and Chill.
2564 (Bug Critera): Don't list languages.
2566 * gcc.texi (Incompatibilities): No longer claim most C compilers
2569 * gcc.texi (G++ and GCC): Update other front-ends list.
2571 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
2573 * i386.c (ix86_expand_setcc): Fix typo.
2574 (ix86_expand_movcc): Similarly.
2576 * Band-aid until haifa's bitset implementation is nuked.
2577 * haifa-sched.c (extract_bitlst): New parameter for size of the
2578 bitset in bits. All callers changed. Avoid looking at undefined
2580 (edgeset_bitsize): New variable.
2581 (schedule_region): Initialize edgeset_bitsize.
2583 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2585 * Makefile.in (optabs.o): Depend on real.h
2586 (resource.o): Depend on insn-attr.h
2588 * builtins.c (result_vector): Wrap prototype in macro conditions
2589 governing definition and use.
2591 * c-common.c: Include tm_p.h.
2593 * c-lex.c: Likewise.
2595 * elfos.h: Constify a char*.
2597 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
2598 (get_attr_length, shorten_branches, profile_after_prologue): Mark
2599 parameter with ATTRIBUTE_UNUSED.
2601 * fold-const.c (exact_real_inverse): Wrap variable `i' in
2604 * haifa-sched.c (schedule_insns): Mark parameter with
2607 * optabs.c: Include real.h.
2609 * real.h (ereal_atof): Add prototype arguments.
2611 * resource.c: Include insn-attr.h.
2613 * sdbout.c (sdbout_queue_anonymous_type,
2614 sdbout_dequeue_anonymous_types): Wrap in macro
2615 SDB_ALLOW_FORWARD_REFERENCES.
2616 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
2619 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
2621 * stupid.c: Include tm_p.h.
2623 * tree.c (real_value_from_int_cst): Mark parameter with
2626 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2628 * i960-protos.h: New file.
2630 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
2633 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
2635 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2637 * combine.c (expand_field_assignment): Do not discard SUBREGs
2638 while computing nonzero_bits.
2640 2000-01-09 Nick Clifton <nickc@cygnus.com>
2642 * config/arm/arm.c: Fix compile time warnings about signed vs
2644 * config/arm/arm.h: Fix compile time warnings about signed vs
2647 2000-01-09 Philip Blundell <philb@gnu.org>
2649 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
2650 than `ldm' with only one register.
2651 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
2654 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
2657 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
2659 * config/ns32k/ns32k.md (load or push effective address): Operand 1
2662 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2664 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
2665 assignment used as truth value.
2667 * function.c (assign_temp): Mark parameter `dont_promote' with
2668 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
2669 PROMOTE_FOR_CALL_ONLY.
2671 * genrecog.c (write_subroutine): Mark variable `operands' with
2674 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
2677 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
2678 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
2680 * toplev.c (note_deferral_of_defined_inline_function): Likewise
2683 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2685 * config/c4x.h: Tidy up comments.
2686 * config/c4x.c: Likewise.
2688 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
2690 * fold-const.c (lshift_double, rshift_double): Handle
2691 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
2693 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2695 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
2696 in prepare_function_start().
2698 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
2700 * config/v850/v850.c (expand_epilogue): Interrupt functions no
2701 longer allocate extra stack for function calls.
2703 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2705 * config/c4x/c4x.md (*subqf3_set): Fix typo.
2707 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2709 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
2711 2000-01-07 David Edelsohn <edelsohn@gnu.org>
2713 * rs6000.c (processor_target_table): Add power3 as alias for 630.
2714 * aix43.h: Revert Aug 2 change.
2715 (HAS_INIT_SECTION): Define, not visible yet.
2716 (LD_INIT_SWITCH): Define, not visible yet.
2717 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
2719 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
2721 * collect2.c (main): Expand ld2 size further.
2722 (export_object_lst): Cast assignment to avoid warning.
2723 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
2724 (scan_prog_file, COFF): Do not collect initialization or
2725 finalization functions generated for entire shared object if
2726 init/fini support present.
2728 2000-01-07 Nick Clifton <nickc@cygnus.com>
2730 * config/elfos.h: Tidy up formatting of marcos. Make sure
2731 that .section directives are always prefixed by a tab.
2733 * config/svr4.h: Add #include "elfos.h" and remove duplicate
2736 2000-01-07 Matt Austern <austern@sgi.com>
2738 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
2741 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
2743 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
2745 (crtbegin.o, s-crtS): Likewise.
2747 2000-01-06 Richard Henderson <rth@cygnus.com>
2749 * alpha.md (adddi_2+1): Limit offset such that it will be
2750 loadable with a single ldah+lda pair.
2751 (adddi_2+2): Explicitly fail split if we can't make it work.
2753 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
2755 * protoize.c: Conditionally include unistd.h.
2756 (IS_SAME_PATH_CHAR): New macro.
2757 (IS_SAME_PATH): New macro.
2758 (CPLUS_FILE_SUFFIX): New macro.
2759 (cplus_suffix): New static variable.
2760 (is_abspath): New static function.
2761 (in_system_include_dir): Handle DOS style pathnames.
2762 (file_could_be_converted): Likewise.
2763 (file_normally_convertible): Likewise.
2764 (directory_specified_p): Likewise.
2765 (file_excluded_p): Likewise.
2766 (abspath): Likewise.
2767 (shortpath): Likewise.
2768 (referenced_file_is_newer): Likewise.
2769 (save_def_or_dec): Likewise.
2770 (do_processing): Likewise.
2772 (edit_file): Likewise. Use rename instead of link.
2773 (rename_c_file): Likewise. Don't rename syscalls file.
2774 (munge_compile_params): Define null device for DOS based systems.
2775 (process_aux_info_file): Use binary mode if appliable.
2776 (edit_file): Likewise.
2777 * invoke.texi (Running Protoize): Document C++ suffixes used.
2779 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
2780 IS_DIR_SEPARATOR macros.
2781 * collect2.c: Likewise.
2782 * cppinit.c: Likewise.
2783 * dwarf2out.c: Likewise.
2786 * prefix.c: Likewise.
2788 * toplev.c: Likewise.
2789 * system.h: And move to here.
2791 * prefix.c (update_path): Fix typo in variable name.
2793 2000-01-06 Richard Henderson <rth@cygnus.com>
2795 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
2796 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
2797 (count_reg_sets_1, count_reg_references): Likewise.
2798 (flow_loops_level_compute): Start counting actual loop depth at 1.
2799 (flow_loops_find): Likewise.
2800 * local-alloc.c (update_equiv_regs): Likewise.
2801 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
2803 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2805 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
2806 FIRST_PSEUDO_REGISTER
2807 * dwarf2out.c: Don't include frame.h
2808 * dwarfout.c: Likewise
2809 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
2812 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
2814 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2817 * i386.c (movsf splitter): Fix typo in my last checkin.
2819 2000-01-05 Nick Clifton <nickc@cygnus.com>
2821 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
2822 own definition of this macro.
2823 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
2824 flag_data_sections or UNIQUE_SECTION_P are true.
2826 * tm.texi (UNIQUE_SECTION): Document that it can be called for
2827 unitialised data decls.
2829 * config/i386/winnt.c (i386_pe_unique_section): Cope with
2830 being called for uninitialised data.
2832 * config/i386/interix.c (i386_pe_unique_section): Cope with
2833 being called for uninitialised data.
2835 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
2836 for uninitialised data.
2838 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
2839 for uninitialised data.
2841 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
2842 for uninitialised data.
2844 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
2845 (UNIQUE_SECTION_P): Always generate a unique section if
2846 flag_data_sections is true.
2847 (UNIQUE_SECTION): Also generate unique sections for
2849 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
2850 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
2853 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2855 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
2858 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2860 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
2861 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
2862 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
2863 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
2864 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
2866 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
2868 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2870 * c-decl.c (finish_enum): Simplify code to determine minimum and
2871 maximum values of the enum, and calculate the type. Remove check
2872 for FUNCTION_DECLs in the values list, which cannot happen. Replace
2873 the DECL_INITIAL of each enumeration constant with a copy converted
2874 to the enumeration type. When updating variant types, don't bother
2875 updating the type itself.
2877 * c-typeck.c (build_binary_op): Simplify conditional expressions
2878 when weeding out spurious signed-unsigned warnings. Add new
2879 spurious warning category: if the unsigned quantity is an enum
2880 and its maximum value fits in signed_type(result_type). Update
2882 (build_conditional_expr): Warn here if one alternative is signed
2883 and the other is unsigned.
2885 2000-01-05 Nick Clifton <nickc@cygnus.com>
2887 * config/fr30/fr30.h: Remove extraneous comments.
2889 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
2891 * reload1.c (choose_reload_regs): When disabling a reload, also
2892 set reload_spill_index to -1.
2894 2000-01-04 Joel Sherrill (joel@OARcorp.com>
2896 * configure.in (m68*-*-rtemscoff*): New target, formal name for
2898 (m68*-*-rtemself*): New target.
2899 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
2900 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
2901 (sparc*-*-rtemself*): New target.
2902 (sparc*-*-rtems*): Now elf not a.out.
2903 * config/i386/rtems.h: Include config/rtems.h.
2904 * config/i386/rtemself.h: Include config/rtems.h.
2905 * config/i960/rtems.h: Include config/rtems.h.
2906 * config/m68k/rtems.h: Include config/rtems.h.
2907 * config/m68k/rtemself.h: Include config/rtems.h.
2908 * config/mips/rtems64.h: Include config/rtems.h.
2909 * config/pa/rtems.h: Include config/rtems.h.
2910 * config/rs6000/rtems.h: Include config/rtems.h.
2911 * config/sh/rtems.h: Include config/rtems.h.
2912 * config/sh/rtemself.h: Include config/rtems.h.
2913 * config/sparc/rtems.h: Include config/rtems.h.
2914 * config/sparc/rtemself.h: Include config/rtems.h
2916 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
2918 * final.c (shorten_branches): Correctly compute length of
2919 asms without operands.
2921 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
2923 * configure.in: Add pj target.
2924 * configure: Regenerate.
2925 * config/pj: New directory.
2926 * config/pj/lib1funcs.S: New file.
2927 * config/pj/linux.h: New file.
2928 * config/pj/pj.c: New file.
2929 * config/pj/pj.md: New file.
2930 * config/pj/pjl.h: New file.
2931 * config/pj/t-pj: New file.
2932 * config/pj/xm-pj.h: New file
2934 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
2936 * toplev.c (rest_of_compilation): Run shorten-branches before
2939 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2941 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
2942 macros so that they're consistent with their names.
2943 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2944 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2946 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2948 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
2949 modified inadvertently.
2951 2000-01-04 Joel Sherrill <joel@OARcorp.com>
2953 * configure.in (v850*-*-rtems*): New target.
2954 * configure: Regenerate.
2955 * config/v850/rtems.h: New file.
2957 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2959 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
2960 (__gthread_key_create): Likewise.
2961 (__gthread_key_dtor): Likewise.
2962 (__gthread_once): Fix logic.
2963 (__gthread_key_delete): Cast away constness.
2965 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
2966 * invoke.texi: Document.
2967 * i386/mingw32.h (CPP_SPEC): Use.
2968 (LIBGCC_SPEC): Likewise.
2969 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
2971 2000-01-04 David Edelsohn <edelsohn@gnu.org>
2973 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
2974 (HANDLE_PRAGMA_PACK): Undefine.
2975 (SLOW_UNALIGNED_ACCESS): Define.
2977 2000-01-04 David Edelsohn <edelsohn@gnu.org>
2979 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2980 to default definition.
2981 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
2982 (store_fixed_bit_field): Call macro with word_mode and alignment.
2983 (extract_bit_field): Call macro with relevant mode and alignment.
2984 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2985 to default definition.
2986 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
2988 (move_by_pieces_ninsns): Likewise.
2989 (clear_by_pieces): Likewise.
2990 (emit_push_insn): Likewise.
2991 (store_field): Call macro with relevant mode and alignment.
2992 (expand_expr): Likewise.
2993 (expand_expr_unaligned): Likewise.
2995 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
2996 (SLOW_UNALIGNED_ACCESS): Define.
2997 (CASE_VECTOR_MODE): Always use 32-bit offsets.
2998 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
2999 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3000 (toc_section): Likewise and .toc pseudo-op.
3001 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
3003 (TEXT_SECTION_ASM_OP): Likewise.
3004 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3007 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
3008 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
3009 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
3010 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
3011 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
3013 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
3015 * regclass.c: Revert my Jan 4 change to loop cost computation.
3017 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3019 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
3022 2000-01-04 Stan Cox <scox@cygnus.com>
3024 * haifa-sched.c (build_control_flow): Change unreachable simple
3025 loop test to check if current block has only one predecessor.
3026 (find_rgns): Initialize degree. Use dest as degree index, not src.
3028 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3030 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
3032 * calls.c (expand_call): Likewise for
3033 `old_stack_arg_under_construction'.
3035 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
3037 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
3040 * gcc.c (execute): Likewise for `ut' and `st'.
3042 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
3044 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
3046 * jump.c (jump_optimize_1): Likewise for `temp2'.
3048 * local-alloc.c (block_alloc): Likewise for `r1'.
3050 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
3052 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
3053 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
3055 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
3058 * reload.c (find_reloads): Likewise for `goal_alternative_number'
3059 and `goal_earlyclobber'.
3061 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
3063 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
3065 * stupid.c (stupid_life_analysis): Likewise for `chain'.
3067 * unroll.c (copy_loop_body): Likewise for `copy'.
3069 * varasm.c (output_constructor): Likewise for `byte'.
3071 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3073 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
3074 all FP constants for constant->reg moves.
3075 (ix86_split_to_parts): Try to convert memory address into immediate
3076 when available in the constant pool.
3077 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
3079 (LEGITIMATE_CONSTANT_P): Return 1.
3080 * i386.md (pushsf): New splitter to convert constant pool memory
3081 reference to immediate.
3082 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
3085 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
3087 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
3088 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
3089 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
3090 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
3091 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
3093 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
3095 * ginclude/stdbool.h: Support compilation as C++.
3097 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3099 * fold-const.c (make_range): Don't try to reverse an unbounded range.
3101 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
3103 * regclass.c (regclass): Properly compute loop_cost. Adjust
3106 * regclass.c: Fix minor whitespace problems.
3108 2000-01-03 Anthony Green <green@cygnus.com>
3110 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
3111 Restore the pic register if required.
3113 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
3115 * c-common.c (format_char_info): Update comment.
3116 (check_format_info): Recognize 'z' modifier in the same way 'Z'
3117 was recognized. Emit warning for formats new in ISO C99 only
3118 if flag_isoc9x is not set.
3120 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
3122 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
3124 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3126 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
3127 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
3128 (make_compound_operation): Choose cheaper alternative between
3129 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
3131 * regclass.c (op_costs): Remove global variable.
3132 (record_reg_classes): New parameter "op_costs" and "reg_pref".
3133 (record_operand_costs): Break out from ...
3134 (scan_one_insn): ... here.
3135 (dump_regclass): Make dumps nicer.
3136 (regclass): Dump preferrences choosed and changes done during passes.
3138 2000-01-03 Jakub Jelinek <jakub@redhat.com>
3140 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
3142 2000-01-03 Jakub Jelinek <jakub@redhat.com>
3144 * config/sparc/sparc.c (gen_df_reg): New function.
3145 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
3146 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
3147 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
3148 movtf_cc_reg_sp64+1): Use it.
3150 2000-01-02 Mark Mitchell <mark@codesourcery.com>
3152 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
3155 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
3157 * config/i386/i386.c (ix86_expand_unary_operator): Function
3158 definition made void.
3159 (ix86_expand_binary_operator): Update outdated preceding comment.
3160 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
3163 * config/i386/i386.c (override_options): Fix option-name typo.
3165 2000-01-02 Mark Mitchell <mark@codesourcery.com>
3167 * system.h (CEIL): Define.
3168 * builtins.c (CEIL): Remove.
3169 * expmed.c (CEIL): Likewise.
3170 * expr.c (CEIL): Likewise.
3171 * stor-layout.c (CEIL): Likewise.
3173 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3175 * expr.c (store_constructor_field): Fix typo introduced with last
3178 2000-01-01 Mark Mitchell <mark@codesourcery.com>
3180 * tree.h (BINFO_N_BASETYPES): New macro.
3182 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
3184 * expmed.c (emit_store_flag): Prevent losing a pending stack
3185 adjust the same way we prevent losing queued increments.
3187 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3189 * function.c (update_temp_slot_address): Handle case where sum of
3190 temporary address plus offset in register is a valid address.
3192 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3194 * genrecog.c (change_state) Corrected typo.
3196 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3198 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
3199 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
3200 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
3202 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
3204 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
3205 case, expand GT comparisons correctly. Fix a comment before this
3208 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3210 * dwarfout.c: Include "frame.h"
3211 * dwarf2out.c: Likewise.
3212 * Makefile.in (dwarfout.o): Depend on frame.h
3213 (dwarf2out.o): Likewise.
3215 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
3217 Restore i386 binary compatibility in Dwarf EH info.
3218 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
3219 value of FIRST_PSEUDO_REGISTER.
3220 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
3221 (struct frame_state): Use DWARF_FRAME_REGISTERS.
3222 * dwarfout.c (output_reg_number): Ditto.
3223 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
3224 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
3226 1999-12-29 Bruce Korb <autogen@linuxbox.com>
3228 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
3229 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
3230 (<hack>_RE_CT): not needed
3231 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
3232 rewritten to scan the file text once only
3233 "template<..." test added
3234 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
3235 (is_cxx_header): declaration added
3236 * fixinc/fixtests.c(is_cxx_header): removed
3237 (apply_fix_p_t): removed
3238 (double_slash_test): is_cxx_header is only called once now
3239 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
3240 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
3241 within the templates.
3242 The borken spelling of "broken" was fixed.
3243 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
3244 The default level depends on FIXINC_DEBUG.
3246 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3248 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
3249 Otherwise provide a declaration for atexit.
3250 (init_dummy): Make sure dummy call to atexit is nevertheless
3251 called with correct number of args.
3253 * frame.c: Update comments referring to other files.
3255 * libgcc2.c: Likewise.
3257 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3259 * cse.c (free_element, get_element): Remove unused prototypes.
3261 * fold-const.c (extract_muldiv): Initialize variables `op0' and
3264 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
3267 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
3269 * configure.in,configure: case arm for mn10200-*-* now sets
3270 float_format=i32 so that float.h will correctly claim "double"
3271 to be 32 bits. Ran autoconf to generate configure from .in file.
3273 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
3275 * pa.md (conditional zero): If op1 is a register, force it into
3276 the same register as op0.
3278 1999-12-28 Mark Mitchell <mark@codesourcery.com>
3280 * tree.h (BINFO_BASETYPES): Improve documentation.
3282 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3284 * configure.in (--enable-checking): Use a more portable `for'
3287 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3289 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
3290 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
3292 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
3295 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
3296 Delete descriptions.
3298 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
3299 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
3300 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
3301 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
3302 xm-svr4.h: Remove all instances of sys_siglist handling.
3304 1999-12-27 Jakub Jelinek <jakub@redhat.com>
3306 * config/sparc/sparc.md (cmp_zero_qi,
3307 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
3308 cmp_zero_extendqidi2_andcc_set): New patterns.
3310 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
3312 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
3313 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
3314 (fpgnulib.c, xfgnulib.c): Add rules.
3315 * m68k/t-mot3300-gas: Likewise.
3317 1999-12-27 Ian Lance Taylor <ian@zembu.com>
3319 * configure.in: Avoid [[ by using test and changequote. Add
3320 changequote required by 1999-12-14 change.
3321 * configure: Rebuild.
3323 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
3325 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
3327 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
3329 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
3330 * flow.c (find_use_as_address): Likewise.
3331 * function.c (fixup_var_refs_1): Likewise.
3332 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
3333 * jump.c (invert_exp, redirect_exp): Likewise.
3334 * loop.c (replace_call_address): Likewise.
3335 (count_nonfixed_reads): Likewise.
3336 * rtlanal.c (modified_between_p): Likewise.
3337 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
3338 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
3339 * unroll.c (remap_split_bivs): Likewise.
3341 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3343 * diagnostic.c (v_message_with_decl): Use .* format specifier
3344 instead of building the format specifier width manually.
3346 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
3347 determining whether to provide a prototype. Remove the
3348 sys_siglist clause in the conditional.
3350 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3352 * fold-const.c (operand_equal_p): Use memcmp to compare string
3354 Suggested by D. J. Bernstein
3356 1999-12-17 Jakub Jelinek <jakub@redhat.com>
3358 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
3359 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3361 * config/mips/mips.h (TARGET_64BIT): Likewise.
3362 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
3363 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
3364 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
3365 dsps. Give routines proper names if SI/DI modes are not used.
3366 * longlong.h: Use DWunion instead of DIunion.
3368 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
3370 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
3371 GC_CHECKING, GC_ALWAYS_COLLECT.
3372 * configure.in: Allow --enable-checking with an argument
3373 listing check modes to enable.
3374 * config.in, configure: Rebuilt.
3375 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
3376 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
3377 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
3378 ENABLE_GC_ALWAYS_COLLECT.
3379 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
3381 * tree.h, tree.c: Change ENABLE_CHECKING to
3382 ENABLE_TREE_CHECKING throughout.
3384 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3386 * fold-const.c (fold_truthop): Properly check for FP RHS.
3388 1999-12-24 Mark Mitchell <mark@codesourcery.com>
3390 * toplev.h (note_deferall_of_defined_inline_function): Declare.
3391 * toplev.c (note_deferral_of_defined_inline_function): New
3392 function, split out from ...
3393 (rest_of_compilation): ... here. Use it.
3395 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3397 * expr.c (store_constructor): Don't call clear_storage if size is
3400 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3402 * Makefile.in (toplev.o): Depend on loop.h.
3404 * dwarfout.c: Include tm_p.h.
3406 * emit-rtl.c (restore_emit_status): Mark parameter with
3409 * final.c (final_scan_insn): Likewise.
3411 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
3412 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
3413 flow_depth_first_order_compute, flow_loop_pre_header_find,
3414 flow_loop_tree_node_add, flow_loops_tree_build,
3415 flow_loop_level_compute, flow_loops_level_compute,
3416 flow_loop_outside_edge_p): Add prototypes.
3417 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
3419 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
3420 Mark with ATTRIBUTE_NORETURN.
3422 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
3424 * local-alloc.c (no_conflict_p): Likewise.
3426 * loop.c (insert_bct): Hide definitions of variables with hidden
3428 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
3430 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
3431 with ATTRIBUTE_UNUSED.
3432 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
3433 (reg_scan): Likewise.
3435 * reload.c (find_reloads): Remove unused variables `changed'.
3437 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
3439 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
3440 Remove unused variable `insn'.
3442 * toplev.c: Include loop.h.
3443 (report_file_and_line): Remove unnecessary prototype.
3445 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
3447 * unroll.c (biv_total_increment): Likewise.
3449 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3451 * reload1.c (emit_input_reload_insns): Restore old behaviour
3452 wrt. 'special' reloads.
3454 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
3456 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
3457 hash.h. (cse.c): Don't depend on hashtab.h.
3459 * cse.c: Don't include hashtab.h.
3460 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
3462 * ggc-simple.c: Don't include hash.h.
3464 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
3466 * dwarf2out.c (add_abstract_origin_attribute): Call
3467 gen_abstract_function on our function context.
3469 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
3471 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
3473 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3475 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
3478 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3480 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
3481 constraints to "a!r".
3483 1999-12-21 Mark Mitchell <mark@codesourcery.com>
3485 * Makefile.in (calls.o): Depend on function.h.
3486 (alias.o): Likewise.
3488 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
3490 * reload1.c (emit_reload_insns): Break out code and variables into...
3491 (input_reload_insns, other_input_address_reload_insns,
3492 other_input_reload_insns, input_address_reload_insns,
3493 inpaddr_address_reload_insns, output_reload_insns,
3494 output_address_reload_insns, outaddr_address_reload_insns,
3495 operand_reload_insns, other_operand_reload_insns,
3496 other_output_reload_insns): ... new static variables, and...
3497 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
3498 do_output_reload): ... new functions.
3500 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3502 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
3504 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3506 * md.texi: Add c4x constraints documentation.
3508 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3510 * config/i386/dgux.c (struct option): Rename to
3511 lang_independent_option.
3512 (struct m_options): Add description field.
3513 (output_options): Rename option type, add sep declaration, output
3514 ix86_cpu_string and ix86_arch_string only if set.
3515 (output_file_start): Rename option type.
3517 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
3519 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
3521 (libgcc2.a): Similarly.
3523 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
3525 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
3526 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
3527 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
3529 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
3531 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
3532 Remove redundant initialization of "frexpon" and "expon".
3534 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3536 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
3538 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
3539 (store_constructor_field, expand_expr): Pass new arg.
3541 1999-12-20 Mark Mitchell <mark@codesourcery.com>
3543 * Makefile.in (explow.o): Depend on function.h.
3545 * stor-layout.c (set_sizetype): Fix typo.
3547 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
3549 * function.c (cfun): Renamed from current_function. All users
3551 * function.h (cfun): Rename declaration as well.
3553 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
3554 to be of type regset_head, not regset. All users changed by adding
3556 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
3558 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3560 * config/c4x/rtems.h: New file.
3562 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
3564 * reload1.c (spill_failure): Take class of failed reload as argument
3565 and print it. Caller changed.
3567 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3569 * rs6000.h (SUBTARGET_DEFAULT): New macro.
3570 (TARGET_SWITCHES): Allow subtargets to default switches.
3571 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
3573 1999-12-18 Mark Mitchell <mark@codesourcery.com>
3575 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
3578 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
3580 * cccp.c (main): Define __STDC_VERSION__ as necessary.
3581 * cppinit.c (cpp_handle_option): Likewise.
3583 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
3584 determine when to define.
3586 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
3588 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
3589 cmove with mismatched test and data modes.
3591 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
3593 * c-typeck.c (c_expand_start_case): Don't warn for long switch
3596 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3598 * alias.c: Minor reformatting.
3601 * stor-layout.c: Likewise.
3602 * fold-const.c: Likewise.
3603 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
3604 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
3606 (size_int_wide): Cache nodes even if garbage collecting.
3607 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
3608 of SAVE_EXPR has no side effects.
3609 * cse.c: Move a comment.
3610 * tree.c: Minor reformatting.
3611 (int_size_in_bytes): Return -1 if constant overflows.
3613 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3615 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
3617 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
3619 * objc/objc-parse.c: Regenerate. This file must be rebuilt
3620 after any change to c-parse.in, even if objc-parse.y didn't
3623 1999-12-18 David S. Miller <davem@redhat.com>
3625 * toplev.c (rest_of_compilation): Restore BLOCK tree
3626 reconstruction and branch shortening changes lost in
3627 December 18th change.
3629 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
3631 * config/arm/linux-elf.h: Change all instances of
3632 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
3633 * config/arm/uclinux-elf.h: Likewise.
3635 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
3637 * toplev.c (notice, vmessage, v_message_with_file_and_line,
3638 v_message_with_decl, file_and_line_for_asm,
3639 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
3640 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
3641 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
3642 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
3643 pfatal_with_name, fatal_io_error, need_error_newline,
3644 last_error_function, last_error_tick, announce_function,
3645 default_print_error_function, print_error_function,
3646 report_error_function, fnotice, error_with_file_and_line,
3647 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
3648 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
3649 warning_with_decl, warning_for_asm, warning, pedwarn,
3650 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
3652 (compile_file): Use fnotice instead of notice. Adjust call.
3654 * diagnostic.c: New file.
3656 * Makefile.in (OBJS): Include diagnostic.o
3657 (diagnostic.o): Define dependence.
3659 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3661 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
3664 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3666 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
3668 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
3670 * fixtests.c (is_cxx_header): New fn, split out of
3672 (else_endif_label): Allow "#endif // comment" in C++ headers,
3673 as determined by is_cxx_header.
3674 * fixfixes.c (else_endif_label_fix): Update comment.
3675 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
3677 * genfixes: Correct double thinko in commandline parsing.
3678 * hackshell.tpl: Generate correct sh syntax for bypass
3681 * inclhack.def (all): Whenever an inserted preprocessor
3682 conditional is split over multiple lines, use double
3683 backslashes in this file so the fixed header will be readable.
3685 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
3686 and add bypass entry for correct version of this header.
3687 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
3688 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
3690 (hpux8_bogus_inlines): New fix, split from...
3691 (ultrix_atof_param) ... here.
3692 (math_expression): Add bypass entry keyed to glibc comment
3693 indicating the problem has been dealt with; disable
3694 unnecessary sed operations; update commentary.
3695 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
3696 add select and bypass entries, simplify shell operation.
3697 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
3699 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
3700 ultrix_atof_param): Add select entry.
3701 (stdio_va_list, sunos_mather_decl): Add bypass entry.
3702 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
3703 comments with the fixes they describe.
3705 * c-parse.in (string action): Do not warn about ANSI string
3706 concatenation in system headers. Affects C parser only.
3707 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
3709 1999-12-16 Jakub Jelinek <jakub@redhat.com>
3711 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
3712 compiling libgcc2 the macro depends always on arch cpp defines.
3714 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
3716 * loop.c (insert_loop_mem): Don't record MEMs from inside
3719 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
3721 * regclass.c (regclass): Do not use flowgraph when not optimizing.
3723 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
3724 notes too, create one when replacement failed, attempt to simplify
3726 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
3729 1999-12-16 Mark Mitchell <mark@codesourcery.com>
3731 * crtstuff.c (__dso_handle): Declare.
3732 (__cxa_finalize): Likewise.
3733 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
3736 * invoke.texi: Document -fuse-cxa-atexit.
3738 * tree.h (ptr_type_node): Document.
3739 (const_ptr_type_node): Likewise.
3741 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3743 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
3744 (optimize_reg_copy_2): Likewise.
3745 (optimize_reg_copy_3): Likewise.
3746 (fixup_match_2): Likewise.
3747 (regmove_optimize): Likewise.
3748 (fixup_match_1): Liekwise.
3750 * i386.md (HI to SImode promoting splitters): Rewrite.
3751 (pushsf mem peep2): New.
3752 (testhi to andhi peep2): Remove.
3753 * i386.h (x86_promote_QImode): New.
3754 (TARGET_PROMOTE_QImode): New.
3755 (PREDICATE_CODES): Add promotable_binary_operator.
3756 * i386.c (x86_promote_QImode0: New.
3757 (promotable_binary_operator): New.
3758 * i386-protos.h (promotable_binary_operator): New.
3760 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
3762 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
3764 1999-12-16 Mark Mitchell <mark@codesourcery.com>
3766 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
3767 * function.c (insert_block_after_note): Remove.
3768 (retrofit_block): Likewise.
3769 (identify_blocks): Fix indentation.
3770 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
3771 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
3772 * function.h (insert_block_after_note): Remove prototype.
3773 (retrofit_block): Likewise.
3774 * integrate.c (expand_inline_function): Don't call
3775 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
3776 just expand_start_bindings. Use the block_map to remap old
3777 NOTE_BLOCKs to new ones.
3778 (integrate_decl_tree): Keep track of remapped blocks.
3779 * integrate.h (struct inline_remap): Add block_map.
3780 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
3781 NOTE_BLOCK on the notes.
3782 (expand_start_bindings): Rename to ...
3783 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
3784 (expand_end_bindings): Set NOTE_BLOCK.
3785 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
3786 reconstruct the BLOCK tree.
3787 * tree.h (expand_start_bindings): Macroize. Call ...
3788 (expand_start_bindings_and_block): New function.
3790 1999-12-16 Jakub Jelinek <jakub@redhat.com>
3792 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
3793 to match the format.
3795 1999-12-16 David S. Miller <davem@redhat.com>
3797 * expr.c (emit_move_insn_1): Only emit clobbers if one of
3798 the outputs is a SUBREG.
3799 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
3802 * config/sparc/sparc.c (epilogue_renumber): Add default case
3805 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3807 * toplev.c (rest_of_compilation): Run branch shortening after
3810 * regclass.c (loop_depth): Remove
3811 (scan_one_insn): Do not handle LOOP_NOTE insns.
3812 (regclass): Go through basic blocks and set loop_cost
3814 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
3816 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
3818 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3820 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
3821 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
3822 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
3824 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
3826 * loop.c (insert_loop_mem): Ignore memory clobbers.
3828 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
3831 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
3833 * profile.c: Remove redundant #include "output.h".
3835 * h8300.md (HImode preinc peephole): Fix typo.
3837 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3839 * function.c (retrofit_block): Abort if we don't find a suitable insn.
3840 (insert_block_after_note): Abort if we don't have a previous block.
3841 Remove FN parameter.
3842 * function.h: Adjust.
3844 1999-12-15 Mark Mitchell <mark@codesourcery.com>
3846 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
3847 argument more than once.
3849 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3851 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
3853 1999-12-15 Jakub Jelinek <jakub@redhat.com>
3855 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
3857 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3859 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
3860 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
3861 update stack_alignment_needed.
3862 (prepare_function_start): Initialize stack_alignment_needed
3863 * function.h (struct function): Add field stack_alignment_needed.
3865 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3867 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
3868 Handle live_throughout / dead_or_set instead of live_before /
3870 (save_call_clobbered_regs): Get register livenessinformation from
3871 chain->live_throughout.
3872 (add_stored_regs): New function.
3873 (insert_restore, insert_save): Add restored / saved registers to
3875 * global.c (reg_dies): New parameter chain.
3876 (reg_becomes_live): Third parameter is regs_set now.
3877 Changed all callers.
3878 (reg_dies): New parameter chain. Changed all callers.
3879 (build_insn_chain): Set live_throughout instead of
3880 live_before / live_after.
3881 * reload.h (struct insn_chain): Replace members live_before /
3882 live_after with live_throughout / dead_or_set.
3883 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
3884 instead of live_before / live_after.
3885 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
3886 (order_regs_for_reload, find_reg, finish_spills): Likewise.
3887 (choose_reload_regs_init): Likewise.
3888 * stupid.c (current_chain, find_clobbered_regs): Delete.
3889 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
3890 instead of chain->live_before / chain->live_after.
3891 (mark_hard_ref): New function.
3892 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
3894 1999-12-15 David S. Miller <davem@redhat.com>
3896 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
3898 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3900 * flow.c (calculate_loop_depth): Make global, remove prototype,
3901 rewrite to use new loop infrastructure.
3902 (find_basic_block): Remove calculate_loop_depth call.
3903 * toplev.c (rest_of_compilation): Call find_basic_block.
3904 * output.h (calculate_loop_depth): Declare.
3906 * flow.c (dump_flow_info): Dump loop_depth.
3907 (flow_loops_nodes_find): Increase loop_depth for basic block in the
3909 (flow_loops_find): Initialize the loop_depth for each basic block.
3911 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3913 * tree.c (decl_function_context): Handle virtual functions.
3915 * tlink.c (scan_linker_output): Don't look in demangled name when
3916 looking for linker output keywords.
3918 * dwarfout.c (output_type): We can defer namespace-scope classes.
3920 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
3922 * regclass.c (record_reg_classes): Update comment for merging
3923 register class preferences in reg->reg copies. Tighten conditions
3924 for merging register class preferences in reg->reg copies.
3926 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
3928 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
3930 1999-12-14 Geoff Keating <geoffk@cygnus.com>
3932 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
3933 (INIT_SECTION_ASM_OP): Delete.
3934 (FINI_SECTION_ASM_OP): Delete.
3935 (STARTFILE_SPEC): Define to hold just crtbegin.o.
3937 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
3939 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
3940 the abstract origin wasn't emitted.
3942 * dwarf2out.c (class_scope_p): New fn.
3943 (gen_subprogram_die): Use it.
3944 (gen_variable_die): Use it. Tweak logic.
3945 (gen_struct_or_union_type_die): Check context_die to determine
3946 if we're function-local.
3947 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
3949 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3951 * loop.c (check_dbra_loop): Can't reverse a biv that has
3954 1999-12-14 Nick Clifton <nickc@cygnus.com>
3956 * config/arm/arm.c: Add support for -mcpu=arm720 command line
3959 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3961 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
3962 for givs made from biv increments.
3964 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
3966 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
3967 * alpha.c (override_options): Recognize -mcpu=ev67.
3968 * alpha.h (CPP_CPU_EV67_SPEC): New.
3969 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
3970 (EXTRA_SPECS): Update.
3972 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
3974 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
3975 appropriate for -lang-c89 and -std=*.
3976 * cppinit.c (cpp_handle_option): Likewise.
3977 (new_pending_define): New, split out from cpp_handle_option.
3978 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
3979 or enable trigraphs for -ansi/-std=*.
3981 * ginclude/stdarg.h (__va_copy): New.
3982 (va_copy): Don't define for C89.
3984 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
3986 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
3987 for long long multiply-accumulate.
3989 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3991 * regclass.c (scan_one_insn): Set loop_cost to 1 when
3992 optimizing for size.
3994 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3996 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
3997 if something changed. Back out that part of yesterday's changes.
3999 * loop.c (loop_max_reg): New static variable.
4000 (loop_optimize): Initialize it. Eliminate one unnecessary call to
4002 (scan_loop): Call reg_scan_update whenever we may have added new
4003 registers, and update loop_max_reg.
4005 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4007 * regclass.c (record_reg_classes): Do not do the copying preferrencing
4008 when source does not die.
4010 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
4012 1999-12-14 Jakub Jelinek <jakub@redhat.com>
4014 * config/sparc/linux64.h (TARGET_LIVE_G0,
4015 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
4017 * config/sparc/linux.h (TARGET_LIVE_G0,
4018 TARGET_BROKEN_SAVERESTORE): Likewise.
4019 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4020 TARGET_BROKEN_SAVERESTORE): Likewise.
4022 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
4023 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
4025 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
4026 as sparc64 block profiling register.
4027 * config/sparc/sparc.c (sparc_override_options): Allow block
4028 profiling with -m32.
4029 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
4031 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
4032 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
4033 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
4035 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
4037 * config/sparc/sparc.h: Likewise.
4038 * config/sparc/xm-sysv4-64.h: Likewise.
4039 * config/float-sparc.h: Likewise.
4040 * glimits.h: Likewise.
4041 * longlong.h: Likewise.
4043 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
4044 (ASM_IDENTIFY_GCC): Remove.
4046 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4048 * combine.c (combine_simplify_rtx): Don't make shared rtl.
4049 (simplify_logical): Likewise.
4051 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
4053 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
4054 * cppfiles.c (INO_T_EQ): Likewise.
4056 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
4058 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
4059 * i386/mingw32.h (LIB_SPEC): Likewise.
4060 (STARTFILE_SPEC): Likewise.
4061 * i386/uwin.h (LIB_SPEC): Likewise.
4062 (STARTFILE_SPEC): Likewise.
4064 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
4065 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
4067 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
4069 * combine.c (combine_simplify_rtx): Fix order of checks for
4070 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
4072 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
4074 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
4075 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
4077 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4079 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
4081 * regclass.c (inv_reg_alloc_order): New array.
4082 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
4084 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
4085 counted_for_groups, counted_for_nongroups. Add fields rld and
4087 * reload.c (push_secondary_reload): Don't set nongroup field of
4089 (push_reload): Likewise.
4090 (find_reloads): Delete code to compute nongroup fields.
4091 * reload1.c (reload_insn_firstobj): New static variable.
4092 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
4094 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
4095 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
4096 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
4098 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
4100 (struct hard_reg_n_uses): Deleted.
4101 (potential_reload_regs): Deleted.
4102 (init_reload): Initialize spilled_pseudos and pseudos_counted.
4103 (reload): Don't try to allocate reload registers if we already know
4104 we have to make another pass. Call select_reload_regs. Free memory
4105 starting with reload_firstobj when starting another pass.
4106 Don't allocate spilled_pseudos.
4107 (calculate_needs_all_insns): Call copy_reloads for an insn that
4108 needs reloads; don't call calculate_needs.
4109 (spill_cost): New static array.
4110 (used_spill_regs_local): New static variable.
4111 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
4112 to compute potential_reload_regs.
4113 (find_reload_regs): Completely rewritten to use find_reg.
4114 (allocate_reload_reg): Don't test counted_for_groups or
4115 counted_for_nongroups. Lose NOERROR arg and code to give an error;
4117 (choose_reload_regs): Add fallback code that uses the existing
4118 register allocation from find_reload_regs.
4120 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
4122 * flow.c (create_edge_list): Cast xmalloc return value.
4124 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
4126 * doprnt.c: Remove incorrect comment closure.
4128 * cse.c: Fix a few minor whitespace goofs.
4130 1999-12-13 Don Bowman <don@pixstream.com>
4132 * mips/vxworks.h: Fix problem with comment termination.
4133 (EXTRA_SECTIONS): Add in_sbss.
4134 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
4136 1999-12-12 David S. Miller <davem@redhat.com>
4138 * cse.c (struct cse_reg_info): Add hash_next member,
4139 reorder rest of struct for better packing on 64-bit
4141 (cse_reg_info_tree): Kill.
4142 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
4143 REGHASH_FN): New custom pow2 hash mechanism.
4145 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
4146 use a pow2 hash table.
4147 (get_cse_reg_info): Rework to use new REGHASH.
4148 (new_basic_block): Likewise, use HASH_SIZE, and inline
4150 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
4151 and inline free_element call.
4152 (lookup_as_function, insert, flush_hash_table, invalidate,
4153 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
4154 invalidate_for_call, use_related_value, find_comparison_args,
4155 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
4156 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
4159 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
4161 * cse.c (cse_basic_block): Free qty_table consistently.
4163 1999-12-12 David S. Miller <davem@redhat.com>
4164 Jakub Jelinek <jakub@redhat.com>
4166 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
4167 SUBREGs by hand, gen the appropriate hard reg directly.
4168 (movtf reg/mem split): Likewise and alter_subreg on destination
4170 (movtf mem/reg split): Similarly.
4171 (movdf_cc_sp64): Rename from hidden pattern.
4172 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
4173 (movtf_cc_sp64, following split): New pattern and splitter.
4174 (movdf_cc_reg_sp64): Rename from hidden pattern.
4175 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
4177 (movtf_cc_reg_sp64, following split): New pattern and splitter.
4179 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
4181 * loop.c (load_mems): Don't hoist written floating point mem
4184 1999-12-12 Mark Mitchell <mark@codesourcery.com>
4186 * except.h (struct eh_queue): Add `next' pointer.
4187 (struct eh_status): Make x_ehqueue a pointer.
4188 (push_ehqueue): Declare.
4189 (pop_ehqueue): Likewise.
4190 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
4192 (expand_fixup_region_end): Likewise.
4193 (expand_leftover_cleanups): Likewise.
4194 (push_ehqueue): Define.
4195 (pop_ehqueue): Likewise.
4196 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
4197 than doing it inline.
4198 (expand_start_all_catch): Adjust now that ehqueue is a
4200 (mark_eh_queue): Mark all level of the queue.
4201 (mark_eh_status): Adjust now that ehqueue is a
4203 (init_eh_for_function): Allocate ehqueue.
4204 (free_eh_status): Free it.
4205 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
4206 expansion for a fixup.
4208 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4210 * gthr-single.h (__gthread_active_p): Add prototype arguments.
4212 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
4213 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
4214 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
4215 function_ptr, getpagesize, __enable_execute_stack,
4216 __enable_execute_stack, __clear_insn_cache,
4217 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
4218 _cleanup, _exit, __default_terminate, __terminate_func,
4219 __terminate, __empty, __throw, new_eh_context,
4220 eh_context_initialize, eh_context_static, eh_context_specific,
4221 get_eh_context, __get_eh_context, __get_eh_info,
4222 init_reg_size_table, eh_threads_initialize,
4223 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
4224 __unwinding_cleanup, throw_helper, __throw, __rethrow,
4225 __pure_virtual): Add prototype arguments.
4226 (__bb_exit_func): Cast a sizeof to long when comparing against one.
4227 Cast a signed value to unsigned long when comparing against one.
4228 (new_eh_context): Wrap in _GTHREADS macro.
4229 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
4231 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
4232 (throw_helper): Initialize variables `handler_p' and `pc_p'.
4234 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4236 * combine.c (record_promoted_value): Remove unused variable
4239 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
4241 * global.c (record_conflicts): Likewise for `j'.
4243 * genoutput.c (output_insn_data): Don't unnecessarily cast away
4246 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4248 * i386-protos.h (output_387_binary_op, output_fix_trunc,
4249 output_fp_compare): Constify a char*.
4251 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
4253 (override_options, ix86_comp_type_attributes, print_operand,
4254 output_387_binary_op, output_fix_trunc, output_fp_compare):
4256 (ix86_sched_reorder): Mark parameter `clock_var' with
4259 * i386.h (DEBUG_PRINT_REG): Constify a char*.
4261 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
4263 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
4264 operand, for use in the Java front-end.
4266 1999-12-10 Ben Collins <bcollins@debian.org>
4268 * configure.in: Fix typo for "-64" in 64bit as check.
4269 * configure: Rebuilt.
4271 1999-12-10 Jakub Jelinek <jakub@redhat.com>
4273 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
4276 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4278 * c-parse.in (string): With -Wtraditional, warn if ANSI string
4279 concatenation is utilized.
4281 * invoke.texi (-Wtraditional): Document it.
4283 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4285 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
4286 Cast a ptrdiff_t to long and pass it to printf with %ld.
4288 1999-12-10 Geoff Keating <geoffk@cygnus.com>
4290 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
4291 68881, we have no 68881 registers at all.
4292 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
4293 value in a 68881 register if it is available.
4295 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
4297 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
4298 for long long multiply-accumulate.
4300 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4302 * loop.c (insert_loop_mem): Undo last change.
4304 1999-12-10 David S. Miller <davem@redhat.com>
4306 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
4308 * config/sparc/sparc-protos.h: Add them.
4309 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
4310 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
4311 constraints which use those helpers.
4312 (EXTRA_CONSTRAINT): Use this new macro.
4313 * md.texi: Update sparc target constraints documentation.
4314 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
4315 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
4316 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
4317 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
4318 (movsf high/lo_sum split): Rework for new patterns.
4319 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
4321 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
4323 * c-common.c (c_common_nodes_and_builtins):
4324 Create __builtin_ptrdiff_t and __builtin_size_t.
4326 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
4328 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
4330 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4332 * regclass.c (globalize_reg): Re-instate test that allows
4333 fixed registers to be declared as a variable even after functions
4336 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4338 * i386.md (cpu attribute): Add "athlon".
4339 (athlon_decode): New attribute.
4340 (Athlon scheduling units definitions): New.
4341 (fcmp and shld patterns): Set athlon_decode to "vector".
4342 * i386.c (athlon_cost): New.
4344 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
4345 x86_use_sahf): Set for Athlon.
4346 (x86_use_fiop): Unset for Athlon.
4347 (override_options): Define Athlon alignments and "athlon" name.
4348 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
4349 * i386.h (TARGET_ATHLON): New.
4350 (enum processor_type): Add PROCESSOR_ATHLON.
4351 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
4353 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
4355 1999-12-09 Andreas Jaeger <aj@suse.de>
4357 * loop.c (record_biv): Declare parameter as int.
4359 * config/i386/i386-protos.h: Declare long_memory_operand.
4361 1999-12-09 Mark Mitchell <mark@codesourcery.com>
4363 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
4364 EXPR_WITH_FILE_LOCATION.
4366 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4368 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
4371 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
4373 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
4376 1999-12-09 Jakub Jelinek <jakub@redhat.com>
4378 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
4379 default on linux64 again.
4380 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
4381 models for multilibing.
4382 * genmultilib: Accept | as alternative separator within a set in
4385 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
4387 * calls.c (precompute_arguments): Make sure initial_value contains
4388 value pseudo which CSE expects.
4389 * cse.c (struct set): New entry orig_src.
4390 (cse_insn): Set it early on entry, use it for libcall EQUIV note
4393 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
4395 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
4397 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
4399 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
4401 1999-12-08 Jakub Jelinek <jakub@redhat.com>
4403 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
4404 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
4406 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
4409 * longlong.h: Merge in changes from glibc.
4410 Also don't clobber %g2 register in 32bit SPARC assembly, so that
4411 -mno-app-regs libgcc can be compiled.
4412 * libgcc2.c: Add defines so that the updated longlong.h
4413 can be used in libgcc2.a. Also, make sure on most architectures
4414 (at least on all which have optimized code in longlong.h defined
4415 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
4417 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4419 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
4420 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
4421 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
4423 * configure: Rebuilt.
4425 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
4427 * alpha.c (secondary_reload_class): For !BWX, sub-simode
4428 outputs require a register.
4430 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
4432 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
4433 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
4434 functions like dptoul will be resolved.
4435 (libgcc2.a): Make sure that the object files from DPBIT are named
4436 differently (prefix `_dp') from those that would be coming from
4439 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
4441 * configure.in: When target is sparc* and tm_file contains 64,
4442 test for 64bit support in assembler. If not supported, remove
4443 sparc/t-sol2-64 from target-dependent Makefile fragments.
4444 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
4445 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
4446 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
4447 * acconfig.h (AS_SPARC64_FLAG): Added.
4448 * configure, config.in: Rebuilt.
4449 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
4450 support. Use AS_SPARC64_FLAG.
4452 1999-12-07 Jakub Jelinek <jakub@redhat.com>
4454 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
4455 suitable for holding OFmode values so that gcc works with complex
4457 (hard_64bit_mode_classes): Likewise.
4459 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
4460 so that it is actually matched.
4461 (sethi_di_medlow): Likewise.
4463 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
4464 as legitimate constant if -mvis.
4465 * config/sparc/sparc.md (movtf): Likewise.
4466 (clear_sf): Use const_double_operand.
4467 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
4469 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
4470 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
4471 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
4472 routines, _Qp_* cannot be handled like that now.
4473 (INIT_TARGET_OPTABS): Likewise.
4474 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
4475 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
4476 sparc_emit_float_lib_cmp if ARCH64 and soft float.
4477 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
4478 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
4479 divtf3, sqrttf3): New expanders.
4480 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
4481 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
4482 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
4485 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
4486 * configure: Rebuilt.
4487 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
4488 -mcpu is given and we're doing 64bit compiles.
4490 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
4492 * loop.h (struct induction): Add multi_insn_incr.
4493 * loop.c (basic_induction_var): New multi_insn_incr argument.
4494 Set it if we search back through previous insns for the biv.
4495 (record_biv): New multi_insn_incr argument; fill in struct induction.
4496 (strength_reduce): Discard an iv with multiple bivs, any of
4497 which require multiple insns to increment.
4499 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4501 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
4504 1999-12-06 David S. Miller <davem@redhat.com>
4506 * combine.c (check_promoted_subreg): Do not conditionalize this upon
4507 PROMOTE_FUNCTION_RETURN.
4509 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
4511 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
4512 and handle REG_UNUSED note on insn.
4514 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
4515 inner_mask instead of mask.
4517 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
4519 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
4520 zero if there was an error.
4522 1999-12-06 Jakub Jelinek <jakub@redhat.com>
4524 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
4527 * longlong.h: Fix clobbers in SPARC asm statements.
4529 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
4530 valid sethi operations when TARGET_ARCH64.
4532 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
4533 always use move_by_pieces to avoid infinite recursion.
4534 (restore_fixed_argument_area): Likewise.
4536 * combine.c (check_promoted_subreg, record_promoted_value): New
4538 (combine_instructions): Use them to retain nonzero and sign bit
4539 information after SUBREGs are eliminated by optimizations in
4540 this pass if PROMOTE_FUNCTION_RETURN.
4542 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
4543 .register declaration. Don't use variables with __ prefixes.
4545 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4547 * fold-const.c (optimize_bit_field_compare): Only use one mode
4548 for both RHS and LHS in non-constant case.
4550 1999-12-06 Nathan Sidwell <nathan@acm.org>
4552 * frame.c (start_fde_sort): Only allocate erratic array, if
4553 linear one was allocated. Return allocated flag.
4554 (fde_insert): Only insert, if there's a valid array.
4555 (fde_end_sort): Split, sort and merge if linear and erratic
4556 arrays exist, else just sort linear one.
4557 (search_fdes): New function. Linear search through original fde
4559 (frame_init): Permit multiple initializations. Cope with
4561 (find_fde): Fallback on linear search, if failed to sort array.
4562 (__deregister_frame_info): Only free sorted array, if we
4565 1999-12-06 Jakub Jelinek <jakub@redhat.com>
4567 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
4569 1999-12-05 Jakub Jelinek <jakub@redhat.com>
4571 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
4573 1999-12-05 Mark Mitchell <mark@codesourcery.com>
4575 * tree.h (special_function_p): Declare.
4576 * calls.c (special_function_p): Make it global. Don't take `name'
4577 as a parameter. Fix typo in 1999-11-28 change.
4578 (expand_cal): Adjust.
4580 1999-12-04 Mark Mitchell <mark@codesourcery.com>
4582 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
4583 * tree.h (EXPR_WFL_FILENAME): Define in terms of
4584 EXPR_WFL_FILENAME_NODE.
4585 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
4587 * print-tree.c (print_note): Print TREE_PRIVATE and
4590 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
4591 the original die cannot be found.
4593 * varray.h (varray_head_tag): Add elements_used.
4594 (VARRAY_PUSH): New macro.
4595 (VARRAY_POP): Likewise.
4596 (VARRAY_TOP): Likewise.
4597 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
4599 * varray.c (varray_init): Initialize elements_used.
4600 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
4601 (INTEGRATE_H): New variable.
4602 (integrate.o): Depend on INTEGRATE_H.
4603 (unroll.o): Likewise.
4605 * function.h (insert_block_after_note): Declare.
4606 * function.c (insert_block_after_note): Split out from ...
4607 (retrofit_block): ... here.
4609 * stmt.c (expand_fixup): Fix typo in comment.
4611 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4613 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
4614 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
4615 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
4616 (regmove_optimize, fixup_match_1): Likewise.
4618 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4620 * flow.c (flow_loops_dump): Add missing argument when calling
4623 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
4624 Greg McGary <gkm@gnu.org>
4626 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
4627 (init_attributes): Add A_NO_LIMIT_STACK.
4628 (decl_attributes): Handle A_NO_LIMIT_STACK.
4629 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
4630 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
4631 Handle stack bounds checking.
4632 * flags.h (flag_stack_check): Use the word 'probe' rather than
4633 'check', because the flag doesn't actually cause any checking to
4635 * function.c (expand_function_start): Set
4636 current_function_limit_stack.
4637 * function.h (struct function): Add limit_stack.
4638 (current_function_limit_stack): Define.
4639 * invoke.texi (Code Gen Options): Document new options.
4640 * rtl.h: Declare stack_limit_rtx.
4641 * toplev.c (stack_limit_rtx): New variable.
4642 (decode_f_option): Handle new options -fstack-limit-register=REG,
4643 -fstack-limit-symbol=IDENT, -fno-stack-limit.
4644 (main): Add stack_limit_rtx as GC root.
4645 * tree.h (DECL_NO_LIMIT_STACK): New macro.
4646 (struct tree_decl): New member no_limit_stack.
4648 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
4650 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
4651 (conditional_trap+1): Get new mnemonic correct.
4652 (conditional_trap+2): New pattern for DImode traps.
4654 * config/m68k/m68k.c (output_function_prologue): Handle
4656 * config/m68k/m68k.md (trap): New insn.
4657 (conditional_trap): New insn.
4658 * md.texi (Standard Names): Document `trap' and
4660 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
4661 so a cc0 setter doesn't get emitted at some random place in the
4664 * config/i960/i960.md (trap): New insn.
4665 (conditional_trap): New expander.
4666 (conditional_trap+1, conditional_trap+2): New insns for signed
4668 * config/i960/i960.c (i960_function_prologue): Use
4669 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
4671 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
4672 Geoffrey Keating <geoffk@cygnus.com>
4674 * flags.h (warn_padded, warn_packed): Add global var decls.
4675 * toplev.c (warn_padded, warn_packed): Add global var defns.
4676 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
4677 * stor-layout.c (layout_record): Add local variable `type'
4678 to hold often-used TREE_TYPE (field). Add local variable
4679 `unpacked_align' to hold alignment that would be in force
4680 if no `packed' attribute were present. Warn if `packed' attribute
4681 is unnecessary, or even harmful. Warn when gcc inserts padding
4682 to satisfy alignment requirements of members. Use NULL_TREE
4683 when checking whether var_size is set.
4684 * invoke.texi: Document new flags.
4686 1999-12-03 Nathan Sidwell <nathan@acm.org>
4688 * frame.c (fde_split): Reimplement to avoid variable sized array.
4690 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4692 * combine.c (try_combine): Before fixing up LOG_LINKS for the
4693 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
4695 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
4697 * invoke.texi: Document the mips option -mno-crt0
4699 1999-12-02 Mike Karr <mkarr@mathworks.com>
4701 * cccp.c (argdata): Added free_ptr member.
4702 (macroexpand): Initialize free_ptr of each argument. When an
4703 argument's buffers are freed, if the argument's free_ptr corresponds
4704 to a buffer on the input stack, then return the free_ptr to that stack
4705 frame, otherwise, free it.
4706 (macarg): If an argument begins and ends on the same input stack level,
4707 then transfer the free_ptr of that buffer to the argument in case
4708 the stack is popped during the processing of a subsequent argument.
4710 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
4712 * loop.c (note_reg_stored): New function.
4713 (struct note_reg_stored_arg): New structure.
4714 (try_copy_prop): Change to be more conservative; only replace within
4715 one extended basic block and stop replacing if a store to the
4716 replacement reg is seen.
4718 1999-12-02 Nick Clifton <nickc@cygnus.com>
4720 * config/fp-bit.c: Initialise all fields of the NAN
4723 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
4726 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
4728 * i386.md (extend?f?f2): Force the input into a register, not
4731 1999-12-01 Jakub Jelinek <jakub@redhat.com>
4733 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
4735 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
4736 alternative because setting up 64bit constant is usually costly,
4737 especially when reload is in progress or completed.
4738 (movdf_const_intreg_sp64): Likewise.
4739 (movdf_const_intreg split): Fix building up constants when
4740 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
4742 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
4744 * combine.c (if_then_else_cond): Use const_true_rtx instead of
4745 const1_rtx for return values in EQ/NE comparison against (const_int 0)
4748 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
4749 (asm_file_start): Emit .am33 into assembly file when compiling for
4751 (print_operand_address): Handle POST_INC addresses.
4752 (can_use_return_insn, initial_offset): Check AM33 registers too.
4753 (expand_prologue): Check & save AM33 registers too.
4754 (expand_epilogue): Similarly.
4755 (secondary_reload_class): Handle AM33 specific secondary reloads.
4756 (output_tst): Emit efficient code for the AM33 too.
4757 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
4758 (TARGET_SWITCHES): Add -mam33 switch.
4759 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
4760 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
4761 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
4762 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
4763 (enum reg_class, REG_CLASS_NAMES): Likewise.
4764 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
4765 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
4766 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
4767 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
4768 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
4769 (HAVE_POST_INCREMENT): Define.
4770 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
4771 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
4772 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
4773 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
4774 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
4775 (zero_extend to SI from QI/HI): Likewise.
4776 (sign_extend to SI from QI/HI): Likewise.
4777 (mulsidi3, umulsidi3): New patterns for the AM33.
4778 (tstsi with zero extension from QI/HI): Add AM33 variants.
4779 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
4780 (return_internal_regs, store_movm): Handle new AM33 registers.
4781 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
4782 (LIBGCC, INSTALL_LIBGCC): Likewise.
4783 * invoke.texi: Document new flags.
4785 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4787 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
4788 (addsi3_carry): Likewise.
4789 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
4790 (sbbsi3_carry): Likewise.
4791 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
4793 (test?i_1): Ensure that only one operand is memory.
4794 (conditional move patterns): likewise.
4795 (shift and rotate patterns): Rewrite to expander, add
4796 "binary_operator_ok" to the condition.
4798 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
4799 * i386.h (procesor_costs): Add movzbl_load field.
4800 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
4801 non-Q registers, accept DImode registers anywhere.
4803 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
4804 * i386.c (*_cost): Set value for movxbl_load field.
4806 * (addsi): New add to lea splitter.
4808 (lea to add/shift peep2): New.
4810 1999-12-01 Mark Salter <msalter@cygnus.com>
4812 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
4813 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
4814 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
4816 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4818 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
4819 * i386.md (movsi_xor): New.
4821 (movsi_1, movhi_1, movqi_1): Remove.
4822 (movsi_2): Rename to movsi_1.
4823 (movhi_2): Rename to movhi_1.
4824 (movqi_2): Rename to movqi_1.
4825 (movdi_1): Remove; remove splitter.
4826 (movdi_2): Rename to movdi_1.
4827 (divmodsi4 splitter): Do not emit clobbers for move patterns.
4828 (long move peep2): Do not create QI or HI mode mov0s
4829 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
4831 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
4834 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4835 (abs?f2_if): Likewise.
4837 1999-11-30 Alex Samuel <samuel@codesourcery.com>
4839 * ggc.h (ggc_test_and_set_mark): New macro.
4840 (ggc_mark_rtx): Use ggc_test_and_set_mark.
4841 (ggc_mark_tree): Likewise.
4842 (ggc_mark_rtvec): Likewise.
4843 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
4845 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
4847 * dwarf2out.c (scope_die_for): Only handle types. Only search for
4849 (decl_scope_table): Just an array of trees now.
4850 (push_decl_scope): Simplify.
4851 (dwarf2out_init): Adjust.
4852 (local_scope_p): New fn.
4853 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
4854 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
4855 (gen_typedef_die): Likewise.
4856 (gen_lexical_block_die): Don't call push/pop_decl_scope.
4857 (gen_inlined_subroutine_die): Likewise.
4858 (gen_abstract_function): Set current_function_decl temporarily.
4859 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
4860 Handle block extern declarations. Don't call push/pop_decl_scope.
4861 (gen_decl_die): Fix logic for block externs.
4863 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4865 * calls.c (special_function_p): Remove `realloc' and add `strdup'
4866 to the list of functions which have attribute malloc by default.
4868 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4870 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
4871 integer constant does not match the traditional type, limit the
4872 warnings to cases where the base of the type is ten.
4874 * invoke.texi (-Wtraditional): Document it.
4876 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4878 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
4879 * rs6000.md: Only access a CONST_INT with INTVAL
4881 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
4883 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
4884 (compute_nearerout): Likewise.
4885 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
4886 size_t to unsigned long for formatting.
4888 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4890 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
4891 Allow the user to override call-used/fixed state of %g2-5
4892 registers from the command line (with the exception of %g4 for
4894 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
4895 there is a higher chance of having a leaf function.
4896 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
4897 for ARCH64 which has %ccr register.
4898 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
4900 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
4901 insn accept into delay slot any insn which does not use %[ol]
4902 registers. Accept some LO_SUM and shift left by 1 for the normal
4904 (output_function_epilogue): Likewise.
4905 (epilogue_renumber): Added argument which inhibits any renumbering
4906 and just tests if the rtx does not use any %[ol] registers.
4907 (output_return): Reflect above change.
4909 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4911 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
4912 aggregate passing for sizes <= 16 bytes.
4914 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
4916 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
4917 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
4918 * reload.c (find_dummy_reload): Likewise.
4919 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
4920 * reload1.c (reload_as_needed): Likewise.
4921 * stupid.c (stupid_find_reg): Likewise.
4922 * tm.texi (Obsolete Register Macros): Delete section.
4923 * gmicro.h: Remove all traces of the two macros.
4928 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
4930 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
4931 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
4932 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
4933 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
4934 units for the sparclite86x chip.
4935 (flush): Revert October 14th change; add SImode specifically.
4936 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
4937 * invoke.texi: Document it.
4939 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
4941 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
4942 psimode_truncation_operand.
4944 * config/mn10200/mn10200.c (psimode_truncation_operand): New
4945 function. Return true if the operand is either a MEM valid
4946 for a PSImode address or not a MEM at all.
4948 * config/mn10200/mn10200.md (truncsipsi2): Use
4949 psimode_truncation_operand.
4951 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4953 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
4954 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
4955 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
4956 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
4957 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
4958 (flow_loop_level_compute, low_loops_level_compute): Likewise.
4959 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
4960 * basic-block.h: Protect from multiple inclusion.
4961 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
4962 (struct loops, struct loop): Define structures.
4963 * sbitmap.c (sbitmap_a_subset_b_p): New function.
4964 * sbitmap.h: Protect from multiple inclusion.
4965 (sbitmap_a_subset_b_p): Add prototype.
4966 * Makefile.in (LOOP_H): New macro.
4967 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
4969 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
4971 * cppinit.c (CAT): The argument list of this macro may not contain
4974 1999-11-29 David S. Miller <davem@redhat.com>
4976 Move quantity tables and register equivalence chains into
4977 per-qty and per-register structure arrays respectively.
4978 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
4979 qty_const_insn, qty_comparison_code, qty_comparison_const,
4980 qty_comparison_qty): Delete, replace with...
4981 (qty_table): this structure table.
4982 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
4983 (reg_eqv_table): this structure table.
4984 (make_new_qty): Add argument MODE. Caller updated.
4985 Update to use qty_table and reg_eqv_table.
4986 (make_regs_eqv, delete_reg_equiv, insert_regs,
4987 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
4988 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
4989 cse_process_notes, cse_main, cse_basic_block): Likewise.
4991 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4993 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
4994 operation if C is negative.
4995 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
4996 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
4997 law for some divisions if constant is negative and change other
4998 divisions to the opposite rounding.
5000 * expr.c (store_constructor_field): If bit position is not multiple
5001 of alignment of TARGET's mode, use BLKmode.
5003 * expr.c (expand_expr_unaligned): Add more code from full case
5004 that is needed when OP0 is in a register.
5006 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5008 * dwarfout.c (field_byte_offset): Size can be zero if there was
5011 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
5013 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
5014 (associate_trees): Delete unused var TEM.
5015 (extract_muldiv): Delete unused var CANCEL_P.
5017 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
5018 (target_isinf, target_isnan, target_negative): Add return types to
5019 function definitions.
5021 1999-11-29 Bruce Korb <autogen@linuxbox.com>
5023 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
5024 * fixinc/hackshell.tpl: ditto
5025 * fixinc/fixtests.c(double_slash_test): more C++ header testing
5026 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
5028 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
5030 * reload.c (push_reload): When looking for a register to put into
5031 reg_rtx, make sure all hard regs in a multi-reg register are in the
5032 right class and nonfixed.
5034 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
5035 pending_read_insns, pending_write_insns, pending_read_mems,
5036 pending_write_mems, pending_list_length, last_pending_memory_flush,
5037 last_function_call, sched_before_next_call): Move static variables
5039 (bb_ prefixed versions): Replace with single array bb_deps.
5040 (struct deps): New structure.
5041 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
5042 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
5043 argument of type "struct deps *"; use that instead of global
5044 variables. All callers changed.
5045 (init_rgn_data_dependencies): Delete function.
5046 (init_rtx_vector): Delete function.
5047 (init_deps): New function.
5049 (free_pending_lists): Simplify, we always use the bb_deps array even
5050 if only one basic block.
5051 (compute_block_backward_dependences): Likewise.
5052 (schedule_region): Likewise.
5054 (propagate_deps): New function, broken out of
5055 compute_block_backward_dependences.
5056 (compute_block_backward_dependences): Use it.
5058 * alpha.md: Delete useless patterns that tried to work around
5059 register elimination problems.
5061 * unroll.c (loop_iterations): Don't abort if iteration variable
5064 From Joern Rennecke:
5065 * reload1.c (reloads_conflict): Reverse test comparing operand
5066 numbers when testing for conflict between output/outaddr reloads.
5068 1999-11-29 David S. Miller <davem@redhat.com>
5070 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
5072 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
5074 1999-11-28 Robert Lipe <robertl@cygnus.com>
5076 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
5077 table from .fini into .dtor.
5079 1999-11-28 Anthony Green <green@cygnus.com>
5081 * tree.h (struct tree_decl): Add malloc_flag.
5082 (DECL_IS_MALLOC): Define.
5083 * c-common.c (attrs): Add A_MALLOC attribute.
5084 (init_attributes): Add this attribute to the table.
5085 (decl_attributes): Handle malloc attribute.
5086 * calls.c (special_function_p): Check for the malloc attribute.
5087 * extend.texi (Function Attributes): Document malloc attribute.
5089 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
5091 * pa.md (reload shift-add patterns): Remove.
5093 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5095 * reorg.c (dbr_schedule) Print more statistics. Corrected
5096 problem when printing info when 3 delay slots are filled.
5098 1999-11-28 Jakub Jelinek <jakub@redhat.com>
5100 * combine.c (setup_incoming_promotions): Pass an outgoing
5101 regno to FUNCTION_ARG_REGNO_P which it expects.
5103 1999-11-28 Andreas Jaeger <aj@suse.de>
5105 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
5107 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
5109 * cccp.c (do_include): Avoid initialization of automatic variable.
5111 * integrate.c (mark_stores): Function definition made void, to match
5112 previous declaration.
5113 * regclass.c (dump_regclass): Ditto.
5114 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
5116 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5118 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
5119 known to be multiple of divisor.
5121 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
5123 * combine.c (try_combine): Add code to try to merge a set of a
5124 two-word pseudo to a constant with a setting of one of those words
5127 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
5128 (split_tree): Completely rework to make more general.
5129 (make_range, fold): Call negate_expr.
5130 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
5131 (fold, associate): Call new split_tree and associate_trees.
5132 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
5134 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
5136 * loop.c (try_copy_prop): Avoid GNU C extension.
5138 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5140 * except.c (init_eh_for_function): Still zero eh_return_context,
5141 eh_return_stack_adjust, and eh_return_handler.
5143 * except.h (eh_status): Adjust documentation for x_protect_list.
5144 (begin_protect_partials): New function.
5145 * except.c (enqueue_eh_entry): Fix formatting.
5146 (get_first_handler): Add consistency check.
5147 (add_partial_entry): Adjust usage of protect_list.
5148 (emit_cleanup_handler): Save and restore ehqueue.
5149 (expand_start_all_catch): Add comment.
5150 (begin_protect_partials): New function.
5151 (end_protect_partials): Adjust usage of protect_list.
5152 (init_eh_for_function): Use xcalloc.
5154 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5156 * c-common.c (check_format_info): Don't call a variadic function
5157 with a non-literal format string.
5159 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
5161 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
5162 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
5165 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
5168 * collect2.c (collect_wait): Likewise.
5170 * dbxout.c (dbxout_type): Likewise.
5172 * gcc.c (do_spec_1): Likewise.
5174 * genemit.c (gen_insn, gen_expand): Likewise.
5176 * genrecog.c (write_switch, write_subroutine): Likewise.
5178 * mips-tfile.c (catch_signal, botch): Likewise.
5180 * print-rtl.c (print_rtx): Likewise.
5182 * toplev.c (default_print_error_function, report_error_function,
5183 _fatal_insn): Likewise.
5185 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5187 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
5189 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5191 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
5192 operations when needed.
5193 * i386.md (fop_?f_comm): New.
5194 (fop_?f_1): Do not accept commutative operands.
5196 1999-11-25 Andreas Jaeger <aj@suse.de>
5198 * config/mips/mips.md (casesi_internal): Add missing brace.
5200 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
5202 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
5203 (splice_child_die): Handle moving a child DIE from the declaration
5204 DIE of a class to its specification.
5205 (gen_struct_or_union_type_die): Use 'complete' consistently.
5206 (gen_decl_die): Generate the virtual context DIE first.
5207 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
5209 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
5211 * config/mips/mips.md (call_value_multiple_interanal1): New.
5213 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
5215 * dwarf2out.c (free_AT, free_die): New fns.
5216 (remove_children): Call them.
5217 (output_line_info): Disable removal of duplicate notes.
5219 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
5220 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
5221 means pretend the type isn't defined.
5222 Don't defer emitting types.
5223 (gen_type_die_for_member): New fn.
5224 (gen_decl_die): Call it.
5225 (splice_child_die): New fn.
5226 (gen_member_die): Call it rather than generate duplicate dies.
5228 Defer emitting information for the abstract instance of an inline
5229 until we either inline it or emit an out-of-line copy.
5230 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
5231 from output_inline_function if DECL_ABSTRACT is also set.
5232 (block_ultimate_origin): Likewise.
5233 (gen_abstract_function): New fn.
5234 (gen_decl_die, gen_inlined_subroutine_die): Call it.
5235 (gen_subprogram_die): An abstract instance is not a declaration
5236 just because it doesn't match current_function_decl. Don't abort
5237 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
5238 has an abstract origin.
5239 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
5240 abstract instance here.
5242 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
5244 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
5245 where we need to reload fpul from a system register.
5247 1999-11-24 Andreas Jaeger <aj@suse.de>
5249 * config/mips/linux.h (CPP_PREDEFINES): Added.
5250 (LINK_SPEC): Remove -Y since this is only needed on sparc.
5252 1999-11-24 Andreas Jaeger <aj@suse.de>
5254 * config/mips/linux.h (TARGET_VERSION): Added.
5255 (HANDLE_SYSV_PRAGMA): Added.
5256 (DEFAULT_VTABLE_THUNKS): Added.
5258 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5260 * local-alloc.c (qty): New structure and static variable.
5261 (qty_phys_reg): Remove, all references changed to qty.
5262 (qty_n_refs): Likewise.
5263 (qty_min_class): Likewise.
5264 (qty_birth): Likewise.
5265 (qty_death): Likewise.
5266 (qty_size): Likewise.
5267 (qty_mode): Likewise.
5268 (qty_n_calls_crossed): Likewise.
5269 (qty_alternate_class): Likewise.
5270 (qty_changes_size): Likewise.
5271 (qty_first_reg): Likewise.
5272 (alloc_qty): Rename variable QTY to QTYNO.
5273 (finf_free_reg): Likewise.
5274 (local_alloc): Allocate qty, do not allocate the removed variables.
5276 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
5278 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
5279 when -membedded-pic is passed.
5281 * config/mips/mips.md (casesi): Handle 64-bit case too.
5282 (casesi_internal_di): New insn.
5284 * config/mips/mips.c (embedded_pic_offset): Always make the
5285 embedded-pic subtractions relative to the name of the current
5286 function by use of the magic string "..CURRENT_FUNCTION".
5287 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
5289 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
5291 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
5292 of (const_int 0), when what we really care about is
5293 whether it's a zero constant anyway.
5294 (div_trap_mips16): Likewise.
5296 1999-11-23 Mark Mitchell <mark@codesourcery.com>
5298 * loop.c (loop_optimize): Always find_loop_tree_blocks and
5299 unroll_block_trees when generating debuggable code.
5301 * tree.h (unsave_expr_1): New function.
5302 (lang_unsave): New variable.
5303 (get_callee_fndecl): New function.
5304 * tree.c (unsave_expr_now_r): New function.
5305 (lang_unsave): Define.
5306 (unsave_expr_1): Likewise.
5307 (unsave_expr_now_r): Split out from unsave_expr_now.
5308 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
5309 call unsave_expr_now_r.
5310 (get_callee_fndecl): Define.
5312 * Makefile.in (gencheck): Don't depend on lang_tree_files.
5313 (gencheck.o): Do depend on lang_tree_files.
5315 * integrate.h (copy_decl_for_inlining): New declaration.
5316 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
5317 (copy_decl_for_inlining): New function.
5318 (integrate_parm_decls): Use it.
5319 (integrate_decl_tree): Likewise.
5321 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
5323 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
5324 the second two from the first.
5325 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
5326 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
5327 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5329 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
5330 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5333 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
5335 * pa.md (call_internal_symref, call_value_internal_symref): No mode
5336 needed on the address operand.
5337 * pa.c (call_operand_address): Check for the correct mode.
5339 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
5341 * loop.c: Include "basic-block.h".
5342 (try_copy_prop, replace_loop_reg): New functions.
5343 (load_mems): Detect registers that just hold copies of the hoisted
5344 mem, and call try_copy_prop to eliminate them.
5345 * Makefile.in (loop.o): Update dependencies.
5347 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
5349 * Makefile.in (gencheck.o): Depend on gencheck.h.
5350 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
5351 (insn-peep.o): Depend on except.h and function.h.
5352 (insn-attrtab.o): Depend on RECOG_H.
5353 (insn-output.o): Depend on toplev.h and flags.h.
5354 (gengenrtl.o): Depend on real.h.
5355 (gen-protos.o): Depend on cpplib.h and cpphash.h.
5356 Unify all dependencies to be on RECOG_H rather than recog.h.
5358 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5360 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
5361 * configure.in: Try building a bi-arch 32/64-bit compiler on
5362 sparc-*-solaris2.7 and higher.
5363 * configure: Rebuild.
5365 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
5367 * config/freebsd.h: New, FreeBSD architecture independent file.
5368 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
5370 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
5371 directly by i386/freebsd.h.
5372 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
5373 independent configuration file.
5374 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
5375 directly by i386/freebsd.h.
5376 * configure: Rebuilt.
5378 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
5379 which is in the user's namespace.
5380 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
5381 `i386' which is not in our namespace.
5383 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
5385 * invoke.texi (ARM Options): Add in -mno-alignment-traps
5387 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
5389 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
5390 (add_dwarf_attr, add_child_die): Just push onto the front.
5391 (reverse_die_lists): New fn.
5392 (add_sibling_attributes): Use it.
5393 (push_decl_scope): Reorganize.
5394 (add_name_and_src_coords_attributes): Don't set file and line for
5396 (gen_subprogram_die): An artificial function doesn't need to match
5398 (gen_compile_unit_die): Return the generated die. Only add
5399 AT_comp_dir if the filename is relative.
5400 (remove_AT): Simplify loop. Also free string values.
5401 (output_die): A DIE ref can't be null.
5402 (output_value_format, value_format): Take a dw_attr_ref.
5403 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
5404 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5405 AT_addr, AT_lbl): New fns.
5406 (various): Use them.
5407 (various): Constify.
5409 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5411 * combine.c (combine_simplify_rtx): When handling a SUBREG,
5412 take SUBREG_WORD into account.
5413 (if_then_else_cond): Likewise.
5415 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
5417 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
5418 clause from BSD license, pursuant with
5420 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5422 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
5424 * loop.c (load_mems): Reformat slightly.
5425 * basic-block.h (regset_head): New typedef.
5426 (INIT_REG_SET): New macro.
5428 1999-11-22 Bruce Korb <autogen@linuxbox.com
5430 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
5431 (mips-dec-bsd*): non-functional code
5432 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
5434 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
5435 added three replacement fixes
5436 (no_double_slash): removed comments that are not (any longer) pertinent
5437 (bad_lval): this fix currently runs against many files.
5438 The comment seems to indicate that we should select for files
5439 containing 'pragma extern_prefix'.
5441 * fixinc/fixinc.x86-linux-gnu: deleted
5442 * fixinc/inclhack.sh: regen
5443 * fixinc/fixincl.x: regen
5444 * fixinc/fixincl.sh: regen
5446 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
5448 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
5449 its code is INSN and it has no notes.
5451 1999-11-22 Andrew Haley <aph@cygnus.com>
5453 * varasm.c (function_defined): Remove.
5454 (make_function_rtl): Don't set function_defined.
5455 (make_decl_rtl): Remove global register warning.
5456 * regclass.c (no_global_reg_vars): New variable.
5457 (globalize_reg): Warn if function has already been defined.
5458 (regclass_init): Set no_global_reg_vars.
5460 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5462 * regclass.c (reg_pref): New structure and static variable
5463 (prefclass): Delete.
5465 (all uses of prefclass and altclass): Use reg_pref instead.
5467 1999-11-21 Nick Clifton <nickc@cygnus.com>
5469 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
5471 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
5472 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5473 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5475 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
5477 * varasm.c (output_constructor): Solve problem with long long
5478 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
5480 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5482 * global.c (allocno): New structure and static variable.
5483 (allocno_reg): Remove, all references replaced by allocno.
5484 (allocno_size): Likewise.
5485 (hard_reg_conflicts): Likewise.
5486 (hard_reg_preferences): Likewise.
5487 (hard_reg_copy_preferences): Likewise.
5488 (hard_reg_full_preferences): Likewise.
5489 (regs_someone_prefers): Likewise.
5490 (allocno_calls_crossed): Likewise.
5491 (allocno_n_refs): Likewise.
5492 (allocno_live_length): Likewise.
5493 (find_reg): Rename ALLOCNO to NUM.
5495 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
5497 (may_move_out_cost): New variable.
5498 (init_reg_sets_1): Initialize may_move_out_cost.
5499 (record_reg_classes): Use may_move_out_cost.
5501 * regclass.c (dump_regclass): New function.
5502 (regclass): New parameter DUMP, call DUMP_REGCLASS.
5503 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
5504 pass rtl_dump_file to regclass.
5505 * rtl.h (regclass): Update prototype.
5507 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5509 * i386.md (neg, not and abs patterns): Revmap to use
5510 ix86_expand_unary_operator and ix86_unary_operator_ok.
5511 (add?f and sub?f expanders): Force operand 1 to register.
5512 * i386.c (ix86_expand_unary_operator): Rewrite.
5513 (ix86_unary_operator_ok): Ensure that memory operands
5515 (ix86_binary_operator_ok): Do not allow operand 1 to
5516 come into memory and operand 0 not.
5517 (ix86_expand_binary_operator): Ensure that
5518 src1 is not non-matching memory.
5520 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
5521 to support integer registers and memory.
5522 (abss?2_integer): Likewise.
5524 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
5525 (REG_CLASS_NAMES): Likewise.
5526 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
5528 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
5529 (movsf): Likewise; unify 4th and 5th alternative.
5531 (movdf_1): Likewise; rename to movdf_integer.
5532 (pushxf): Likewise; rename to pushxf_integer; fix output template;
5533 remove redundant splitter.
5534 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
5535 (movdf_nointeger): New.
5536 (movxf_nointeger): New.
5537 (pushxf_nointeger): New.
5539 * i386.md (extend?f?f): Split to expander and pattern, refuse two
5540 memory operands in patterns.
5541 (fop*): Refuse two memory operands.
5543 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
5544 on !TARGET_USE_CLTD CPUs.
5546 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
5548 * extend.texi: Document C++ restricted pointers and references.
5550 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
5552 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
5553 (invalidate_skipped_set): Call it unconditionally.
5554 (cse_set_around_loop): Likewise.
5556 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5558 * rtl.texi (mem): Add documentation for alias-set argument
5561 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5563 * i386.h (struct_processor_costs): New fields int_load, int_store,
5564 fp_move, fp_load and fp_store
5565 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
5567 (MEMORY_MOVE_COST): New macro.
5568 * i386.c (386_cost): Define new fields.
5569 (i486_cost): Likewise.
5570 (pentium_cost): Likewise.
5571 (pentiumpro_cost): Likewise.
5572 (k6_cost): Likewise.
5574 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
5575 Geoffrey Keating <geoffk@cygnus.com>
5577 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
5579 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
5582 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
5583 (TARGET_STRICT_ALIGNMENT): New macro.
5584 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
5585 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
5586 * invoke.texi (M680x0 Options): Document -mstrict-align.
5588 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
5589 Richard Henderson <rth@cygnus.com>
5591 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
5592 (ix86_split_long_move): Declare.
5593 * i386.c (split_xf, ix86_split_movdi): Remove.
5594 (ix86_split_to_parts, ix86_split_long_move): New.
5595 * i386.md (dimode move splitters): Use ix86_split_long_move.
5596 (dfmode move splitters): Likewise.
5597 (xfmode move splitters): Likewise.
5598 (movsf_1): Allow F->r.
5599 (movdf_1, movxf_1): Allow F->ro.
5601 1999-11-17 Mark Mitchell <mark@codesourcery.com>
5603 * except.h (struct eh_entry): Add goto_entry_p.
5604 (eh_region_from_symbol): Remove prototype.
5605 * except.c (find_func_region_from_symbol): New function.
5606 (emit_cleanup_handler): Likewise.
5607 (eh_region_from_symbol): Make it static.
5608 (add_new_handler): Verify the argument.
5609 (find_func_region): Update comment.
5610 (expand_eh_region_end): Expand handlers here, rater than waiting
5611 until expand_leftover_cleanups or start_all_catch.
5612 (expand_leftover_cleanups): Don't expand here.
5613 (expand_start_all_catch): Or here.
5614 (expand_rethrow): Check the return value from find_func_region.
5615 * function.c (expand_function_end): Emit the catch_clauses.
5617 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
5619 * integrate.c (expand_inline_function): Add necessary check for NULL.
5621 1999-11-18 Nick Clifton <nickc@cygnus.com>
5623 * toplev.c (main): Correctly detect an unrecognised option.
5625 * cppinit.c (cpp_handle_option): Do not claim to have consumed
5626 a -f option if it has not been recognised.
5628 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
5630 * basic-block.h (update_life_extent): Remove trailing comma on
5631 enumeration type list.
5633 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5635 * varasm.c (output_constructor) Solved problem with long long
5636 bitfields. Corrected calculating this_time and shift. Also
5637 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
5639 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
5641 * flow.c (split_edge): Take looping structure into account when
5642 determining where to put the new block note.
5644 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
5646 * Makefile.in (ggc-none.o): Provide host specific version if
5649 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
5651 * cse.c (delete_trivially_dead_insns): Identify no-op insns
5652 containing subregs too.
5654 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5656 * invoke.texi: Add documentation for -muninit-const-in-rodata.
5657 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
5658 (TARGET_UNINIT_CONST_IN_RODATA): Define.
5659 (text_section): Add switches -munint-const-in-rodata and
5660 -mno-uninit-const-in-rodata.
5661 (ASM_OUTPUT_COMMON): Remove.
5662 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
5663 const objects should be placed in read-only data. Otherwise declare
5666 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
5668 * jump.c (jump_optimize_1): Revert last change.
5670 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
5672 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
5673 test if optimizing for size.
5675 1999-11-17 Mark Mitchell <mark@codesourcery.com>
5677 * Makefile.in (toplev.o): Depend on except.h.
5678 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
5680 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5682 * i386.md (divmodsi4): Rewrite to expander.
5683 (*divmodsi4_nocltd): New.
5684 (*divmodsi4_cltd): New.
5685 (divmodsi4 splitter): Handle the case when input comes in edx.
5686 (udivmodhi4): Do not use constraints in exander.
5687 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
5689 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
5691 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
5692 for the common case.
5694 1999-11-16 Jakub Jelinek <jakub@redhat.com>
5696 * explow.c (hard_function_value): Add outgoing argument.
5697 * expr.h (hard_function_value): Declare it.
5698 * calls.c (expand_call, emit_library_call_value): Update callers.
5699 * function.c (aggregate_value_p): Ditto.
5700 (diddle_return_value): Must look at the outgoing registers
5701 on archs with register windows.
5703 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
5705 * alpha.c (alpha_build_va_list): Use make_lang_type and
5706 initialize TYPE_NAME for the va_list record.
5708 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
5710 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
5712 * ggc.h (struct ggc_statistics): Rearrange elements for better
5713 packing on 64-bit hosts.
5714 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
5715 (compute_nearerout): Likewise.
5717 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
5719 * config/rs6000/rs6000.c (first_reg_to_save): Save
5720 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
5722 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
5724 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
5725 notion of nesting to find the DIE for a type or function.
5726 DIEs can go in limbo even if we got a context_die.
5727 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
5728 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
5730 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
5731 (gen_type_die): Writing out the context doesn't cause member class
5732 template instantiations to be written out as well.
5734 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
5736 * rs6000.h (ASM_OUTPUT_DEF): New.
5737 Based on proposed addition from David Edelsohn.
5739 1999-11-15 Robert Lipe <RobertLipe@usa.net>
5740 Bruce Korb <autogen@linuxbox.com>
5742 * fixinc/inclhack.def
5743 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
5744 (unixware7_byteorder_fix): added. Removes conflicts for new defs
5746 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
5747 (svr4_endian): enabled with SVR5
5748 (svr4_mkdev): simplified syntax and enabled with SVR5
5750 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
5752 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
5753 * configure: Rebuilt.
5754 * config/t-freebsd-thread: New file.
5756 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
5758 * i386.c (ix86_decompose_address): Verify the base is a REG
5759 before trying to examine its register number.
5761 * basic-block.h: Remove all #defines and prototypes related to
5763 (free_bb_mem, compute_preds_succs): Remove prototype.
5764 * rtl.h (free_bb_mem): Remove prototype.
5765 * flow.c (alloc_int_list_node); Remove function.
5766 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
5767 (compute_preds_succs, free_bb_mem): Likewise.
5768 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
5769 * toplev.c (rest_of_compilation): Likewise.
5770 * haifa-sched.c (build_control_flow): Use flow generated edge
5771 list to build the haifa specific edge list.
5772 (find_rgns): Use new CFG data structures instead of pred/succ lists.
5773 (schedule_insns): Do not build pred/succ lists anymore. Instead
5774 build the edge table.
5776 * basic-block.h (dump_bb_data): Remove declaration.
5777 * flow.c (dump_bb_data): Remove function.
5778 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
5779 (sbitmap_union_of_predsucc): Likewise.
5781 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
5782 argument. All callers changed.
5783 (delete_null_pointer_checks_1): No longer need to compute the
5786 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
5787 All callers changed.
5788 (pre_expr_reaches_here_p_work): Likewise.
5789 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
5790 * lcm.c (compute_laterin): Fix initialization of LATER.
5791 (compute_nearerout): Similarly for NEARER.
5793 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5795 * cse.c (set_nonvarying_address_components): Delete unused function.
5796 (refers_to_p): Likewise.
5798 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
5800 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
5803 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5805 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
5806 definition in do while (0).
5808 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
5810 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
5812 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
5814 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
5816 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
5818 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
5819 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
5820 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5821 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
5823 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
5824 saved on the stack. Output more accurate stack frame statistics
5825 into assembler file.
5827 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
5829 * genextract.c (record_insn_name): New function.
5830 (get_insn_name): No longer a stub.
5831 (main): Call record_insn_name for each insn. After each label
5832 written, print the insn name in a comment.
5834 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5836 * output.h (const_section, init_section, fini_section): Add
5839 * alpha/elf.h (const_section): Delete declaration.
5841 * svr4.h (const_section): Likewise.
5843 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
5845 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
5846 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
5847 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
5849 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
5850 variable-sized array bounds.
5852 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
5854 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
5857 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5859 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
5860 addresses the same way GO_IF_LEGITIMATE_INDEX does.
5862 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5864 * cse.c (hash_arg_in_struct): Delete.
5865 (struct table_elt): Delete elt in_struct.
5866 (struct set): Delete elt src_in_struct.
5867 (merge_equiv_classes): Don't set either hash_arg_in_struct or
5868 the corresponding in_struct elts.
5869 (canon_hash): Likewise.
5870 (safe_hash): Likewise.
5871 (find_best_addr): Likewise.
5872 (record_jump_cond): Likewise.
5873 (cse_insn): Likewise.
5875 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
5877 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
5879 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
5882 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
5884 * function.c (diddle_return_value): Put back check that the DECL_RTL
5885 for the function is a register.
5887 * function.c (diddle_return_value): Use hard_function_value to
5888 get an rtx suitable for use in the USE/CLOBBER insn.
5890 * global.c (global_conflicts): Update comments.
5891 (record_conflicts): No need to record conflicts between pseudos here.
5893 1999-11-11 Bruce Korb <autogen@linuxbox.com>
5895 * fixinc/fixincl.c: Added verbose levels for status messages
5897 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5899 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
5900 operand as argument to expand_and or expand_binop.
5902 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
5904 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
5905 gcc_add_string_root.
5907 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
5909 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
5911 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
5913 * flow.c (compute_flow_dominators): Initially put all blocks on
5915 * lcm.c (compute_antinout_edge, compute_available): Similarly.
5916 * gcse.c (compute_cprop_avinout): Remove.
5917 (compute_cprop_data): Use compute_available.
5918 (delete_null_pointer_checks_1): Use compute_available.
5920 * basic-block.h (compute_available): Returns a void now.
5921 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
5922 to return a value anymore.
5923 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
5924 worklists. Fix boundary cases. Compute maximal solutions.
5925 (compute_laterin, compute_nearerout): Similarly.
5927 * dwarf2out.c (add_AT_location_description): Allow
5928 (mem (plus (pseudo) (...)) too.
5930 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
5932 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
5934 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
5935 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5937 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
5939 * gansidecl.h: Likewise.
5945 * toplev.h: Likewise.
5951 * varray.c: Likewise.
5953 * varray.h: Likewise.
5955 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
5957 * gcov.c (struct arcdata): Add hits and total, remove prob.
5958 (output_branch_counts): New.
5959 (process_args): Set output_branch_counts if -c.
5960 (calculate_branch_probs): Store hits and total instead of
5962 (output_data): Emit counts if output_branch_counts is true.
5963 * gcov.texi (Invoking Gcov): Document -c switch..
5965 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
5967 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
5968 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
5970 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
5972 * invoke.texi (C Dialect Options): Add missing builtins from
5974 * extend.texi (Other Builtins): Copy to this list.
5976 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5978 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
5979 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
5982 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
5984 * flow.c (compute_flow_dominators): No longer treat basic block 0
5985 or (n_basic_blocks - 1) specially. Clear the AUX field before
5986 starting computation of doms/pdoms. Fix initial state for pdoms.
5988 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5990 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
5991 match rtl.o's: added ggc.h and toplev.h
5992 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
5993 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
5994 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
5996 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
5998 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
5999 from HAVE_DOS_BASED_FILESYSTEM.
6000 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
6001 HAVE_DOS_BASED_FILESYSTEM.
6003 (split_directories): Only special-case DOS file names if
6004 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
6005 instead of explicit tests. Conditionalize on !VMS.
6006 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
6007 tests. Conditionalize on !VMS.
6008 (process_command): Only use make_relative_prefix if !VMS.
6009 (free_split_directories): Conditionalize on !VMS.
6010 (DIR_UP): Conditionalize on !VMS.
6012 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
6014 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
6016 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
6018 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
6021 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
6023 * invoke.texi (Environment Variables): Document relative path
6025 * gcc.c (DIR_UP): If not defined, define as "..".
6026 (standard_bindir_prefix): New static, holds target location to
6028 (split_directories): New function to split a filename into
6029 component directories.
6030 (free_split_directories): New function, release memory allocated
6031 by split_directories.
6032 (make_relative_prefix): New function, make a relative pathname if
6033 the compiler is not in the expected location.
6034 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
6035 can figure out an appropriate prefix from argv[0].
6036 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
6037 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
6038 STANDARD_BINDIR_PREFIX.
6040 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6042 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
6044 * config/c4x/c4x.h: Moved prototypes to c4x.h.
6045 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
6046 c4x_secondary_memory_needed) Delete.
6047 (fp_zero_operand): Add mode argument.
6049 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
6051 * reload1.c (reload_reg_free_for_value_p): Don't use a register
6052 that is in reload_reg_used.
6054 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
6056 * config/arm/arm-protos.h: New file: Prototypes for functions
6057 defined in arm.c and pe.c.
6058 * config/arm/arm.h: Fix compile time warnings.
6059 * config/arm/arm.c: Fix compile time warnings.
6060 * config/arm/pe.h: Fix compile time warnings.
6061 * config/arm/aout.h: Fix compile time warnings.
6063 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
6065 * config/m32r/m32r-protos.h: New file: Prototypes for functions
6068 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
6069 Add support for subtargets.
6070 Add prototypes for new predicates.
6071 Add scheduling macros.
6073 * config/m32r/m32r.c: Fix compile time warnings.
6074 (int8_operand): New predicate function.
6075 (reg_or_cmp_int16_operand): New predicate function.
6076 (extend_operand): New predicate function.
6077 (m32r_adjust_code): New scheduling function.
6078 (m32r_adjust_priorty): New scheduling function.
6079 (m32r_sched_init): New scheduling function.
6080 (m32r_sched_reorder): New scheduling function.
6081 (m32r_sched_variable_issue): New scheduling function.
6082 (direct_return): New codegen function.
6083 (m32r_not_same_reg): New rtl testsing function.
6085 * config/m32r/m32r.md: Fix compile time warnings.
6086 Add support for pre decrement and post increment memory
6091 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6093 * global.c (EXECUTE_IF_CONFLICT): Don't define.
6094 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
6095 (find_reg): Likewise.
6097 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
6099 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
6100 to avoid assembler errors.
6102 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
6104 * config/v850/v850-protos.h: New file: Prototypes for functions
6106 * config/v850/v850.h: Move prototypes to v850-protos.h
6107 * config/v850/v850.c: Move prototypes to v850-protos.h
6108 * config/v850/v850.md: Fix compile time warnings.
6110 * config/fr30/fr30-protos.h: New file: Prototypes for functions
6112 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
6113 * config/fr30/fr30.c: Fix compile time warnings.
6114 * config/fr30/fr30.md: Fix compile time warnings.
6116 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
6118 * tree.h (get_containing_scope): Declare it.
6119 * tree.c (get_containing_scope): New fucntion.
6120 (decl_function_context): Use it.
6121 * toplev.c (rest_of_compilation): Use get_containing_scope.
6123 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6125 * Makefile.in (rtl.o): Depend on toplev.h.
6127 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
6129 * cse.c (delete_trivially_dead_insns): Replace alloca with
6131 * except.c (update_rethrow_references): Likewise.
6132 (init_eh_nesting_info): Likewise.
6133 * function.c (identify_blocks): Likewise.
6134 * gcse.c (dump_hash_table): Likewise.
6135 * graph.c (print_rtl_graph_with_bb): Likewise.
6136 * loop.c (combine_movables): Likewise.
6137 (move_movables): Likewise.
6138 (count_loop_regs_set): Likewise.
6139 (strength_reduce): Likewise.
6140 * profile.c (compute_branch_probabilities): New function, split
6142 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
6143 * regclass.c (regclass): Likewise.
6144 * regmove.c (regmove_optimize): Likewise.
6145 * toplev.c (compile_file): Likewise.
6146 (main): Don't mess with the stack rlimit.
6148 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
6150 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
6151 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
6153 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
6155 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
6157 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
6159 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
6160 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
6163 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
6165 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
6167 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
6169 * gcse.c (post_dominators): Kill.
6170 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
6171 (compute_code_hoist_data): Use compute_flow_dominators. Do not
6172 pass in a pdom array since we do not need pdoms.
6173 * haifa-sched.c (schedule_insns): Similarly.
6174 * flow.c (compute_dominators): Remove dead function.
6175 (compute_flow_dominators): Do not compute doms or pdoms if the
6176 caller does not request them. Split up loop to build doms and
6177 pdoms. Use a worklist to compute doms and pdoms.
6178 * basic-block.h (compute_dominators): Remove prototype.
6180 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
6182 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
6183 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
6184 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
6185 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
6186 (cant_move, fed_by_spec_load, is_load_insn): Remove.
6187 (schedule_region): Remove unused variable.
6188 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
6190 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
6192 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
6193 (update_equiv_regs): Likewise.
6194 (block_alloc): Likewise.
6195 * reg-stack.c (reg_to_stack): Likewise.
6196 (convert_regs_2): Likewise.
6197 * reload1.c (reload_as_needed): Likewise.
6199 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
6201 * Makefile.in (dbxout.o): Depend on ggc.h.
6202 (dwarf2out.o): Likewise.
6203 (xcoffout.o): Likewise.
6204 * dbxout.c: Include ggc.h.
6205 (dbxout_init): Register lastfile as a root.
6206 * dwarf2out.c: Include ggc.h.
6207 (dwarf2out_line): Register lastfile as a root.
6208 * xcoffout.c: Include ggc.h.
6209 (xcoffout_source_line): Register xcoff_lastfile as a root.
6211 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
6213 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
6215 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
6217 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
6219 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
6221 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6223 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
6224 (EXECUTE_IF_CONFLICT): Likewise.
6225 (ALLOCNO_LIVE_P): Avoid signed division.
6226 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
6227 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
6228 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
6230 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
6232 * haifa-sched.c (schedule_block): Don't crash if there's no
6233 next insn for an interblock movement.
6234 (add_branch_dependences): Don't allow clobber insns to move either.
6236 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
6238 * i386.c (split_xf): New.
6239 * i386-protos.h: Declare it.
6240 * i386.md (movxf_1): Add general regs alternatives.
6241 (movxf_1+1): New splitter for same.
6243 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
6245 * function.c (purge_addressof_1): Add missing return values.
6247 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
6249 * function.c (is_addressof): New function. Returns true if
6250 the given piece of RTL is an ADDRESSOF.
6251 (purge_addressof_1): Make boolean. Return false if the
6252 ADDRESSOFs could not be purged.
6253 (purge_addressof): If ADDRESSOFs could not be purged from the
6254 notes attached to an insn, remove the offending note(s),
6255 unless they are attached to a libcall.
6257 1999-11-05 Andreas Jaeger <aj@suse.de>
6259 * genoutput.c (null_operand =): Initialize all fields.
6261 * errors.h: Add extern to prototypes.
6263 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
6265 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
6266 * configure: Rebuilt.
6268 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6270 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
6271 (mirror_conflicts): New function.
6272 (global_alloc): Call it.
6273 (expand_preferences): Remove redundant CONFLICTP test.
6274 (find_reg, dump_conflicts): Likewise.
6275 (prune_preferences): Process conflicts one word at a time.
6277 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
6279 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
6280 instead of an explicit loop.
6282 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
6284 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
6285 if REG_RETVAL check succeeds, then put classp in src_elt.
6287 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
6289 * function.c (pad_to_arg_alignment): Only update argument_pad
6290 if the argument's alignment is greater than STACK_BOUNDARY.
6292 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
6294 * bitmap.h (BITMAP_XFREE): New.
6295 * flow.c (life_analysis): Use it.
6296 (life_analysis_1): Free blocks.
6298 * combine.c (undo_commit): New.
6299 (try_combine): Use it. Don't zap undobuf.undos.
6300 (combine_instructions): Don't zap undobuf.undos; free the
6303 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
6305 * stmt.c (cost_table_): New.
6306 (estimate_case_costs): Use it instead of xmalloc.
6308 * toplev.c (compile_file): Reuse dumpname memory instead
6311 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
6313 * reg-stack.c (convert_regs_1): Initialize target_stack->top
6314 after verifying an EH edge.
6316 * haifa-sched.c (init_rgn_data_dependences): Correctly
6317 size bb_pending_lists_length when zeroing.
6319 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
6321 * function.c (diddle_return_value): New.
6322 (expand_function_end): Use it.
6323 * stmt.c (expand_null_return): Likewise.
6324 (expand_value_return): Likewise.
6326 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
6328 * reload1.c (reload): Don't remove return value clobbers.
6330 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
6332 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
6334 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
6336 * cse.c (cse_main): Use xmalloc, not alloca.
6337 (cse_basic_block): Likewise.
6338 * local-alloc.c (local_alloc): Likewise.
6340 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
6341 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6343 * rtl.c: Include toplev.h.
6344 (fatal): Remove declaration.
6346 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
6348 * haifa-sched.c (schedule_block): Fix thinko.
6350 1999-11-03 James McKelvey <mckelvey@fafnir.com>
6352 * fixinc/fixincl.c(create_file): Allow for systems that do not have
6353 S_IR* defined values
6355 1999-11-03 Philippe De Muyter <phdm@macqel.be>
6357 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
6358 call `malloc' instead.
6360 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
6362 * flags.h (flag_renumber_insns): Declare.
6363 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
6365 * rtl.h (renumber_insns): Change prototype.
6366 * toplev.c (flag_renumber_insns): Define.
6367 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
6369 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
6371 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
6372 and fpsqrtd. Use them and create fdiv function unit to more
6373 accurately represent fpu sqrt pipeline semantics on UltraSparc.
6374 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
6376 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
6378 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
6380 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
6381 insn into ready list, do not use just a raw swap.
6383 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
6385 * rtl.h (renumber_insns): New function.
6386 (remove_unnecessary_notes): Likewise.
6387 * emit-rtl.c (renumber_insns): Define.
6388 (remove_unncessary_notes): Likewise.
6389 * toplev.c (rest_of_compilation): Remove dead code.
6390 Use renumber_insns and remove_unncessary_notes.
6392 * gcse.c (struct null_pointer_info): New type.
6393 (get_bitmap_width): New function.
6394 (current_block): Remove.
6395 (nonnull_local): Likewise.
6396 (nonnull_killed): Likewise.
6397 (invalidate_nonnull_info): Take a null_pointer_info as input.
6398 (delete_null_pointer_checks_1): New function.
6399 (delete_null_pointer_checks): Use it.
6401 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
6402 (split_edges): Likewise.
6403 (schedule_block): Likewise.
6404 (compute_block_backward_dependencies): Likewise.
6405 (schedule_region): Likewise.
6406 (schedule_insns): Likewise.
6408 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
6410 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
6411 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
6412 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
6413 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
6414 * jump.c (delete_unreferenced_labels): Don't delete if
6415 LABEL_ALTERNATE_NAME is set.
6416 * print-rtl.c (print_rtx): Dump alternate name.
6417 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
6418 * rtl.h (LABEL_ALTERNATE_NAME): Define.
6419 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
6420 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
6422 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6424 * fix-header.c (recognized_extern, recognized_function): Constify
6427 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
6428 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6429 (compute_available): Remove unused variable `last'.
6430 (compute_nearerout): Remove unused variable `temp_bitmap'.
6431 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6432 Remove unused variable `x'.
6434 * scan.h (recognized_function, recognized_extern): Constify a
6437 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
6439 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6441 * varasm.c (decode_rtx_const): Use XSTR to access the string
6444 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
6446 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
6448 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6450 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
6452 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
6454 * pa.c (ireg_operand): New function.
6455 * pa.h (PREDICATE_CODES): Handle ireg_operand.
6456 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
6457 Fix out of date comment.
6459 * pa.md (negdi2): Turn into expander + anonymous pattern.
6461 * reload.c (find_reloads): Fix typos in recent change.
6463 * dwarf2out.c: Do not include ctype.h.
6465 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6467 * regclass.c (record_reg_classes): Always use may_move_cost when
6468 seeing how operand fits with various register classes.
6470 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
6472 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
6473 * toplev.c: Revert Nov 1 13:22 change.
6475 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
6477 * config/pa/pa.md (height reduction patterns): Add checks for
6478 overlapping operands to avoid semantic-destroying splits for
6479 height reduction patterns.
6481 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6483 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
6484 have been an hyphen, fixed.
6485 * configure: Rebuilt.
6487 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
6489 * config/arm/tpe.h: Add prototypes for exported functions.
6490 * config/arm/pe.c: Fix compile time warnings.
6491 * config/arm/semi.h: Fix compile time warnings.
6492 * config/arm/arm.c: Fix compile time warnings.
6493 * config/arm/arm.h: Fix compile time warnings.
6494 * config/arm/arm.md: Fix compile time warnings.
6495 * config/arm/thumb.c: Fix compile time warnings.
6496 * config/arm/thumb.h: Fix compile time warnings.
6497 * config/arm/thumb.md: Fix compile time warnings.
6499 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
6501 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
6504 * unroll.c (unroll_loop): Remove LOOP notes when loop is
6505 completely unrolled.
6507 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6509 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
6511 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
6513 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
6514 * rtl.h (rtx_equal_p): Move prototype.
6515 * rtl.c (rtx_equal_function_value_matters): Move from
6517 (rtx_equal_p): Likewise.
6518 * rtlanal.c (rtx_equal_function_value_matters): Delete.
6519 (rtx_equal_p): Likewise.
6521 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
6523 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
6526 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
6528 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
6530 * pa.h (ADDR_VEC_ALIGN): Define.
6532 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
6533 notes when presented with "if (foo) break; end_of_loop" and
6534 the break sequence gets moved out of the loop.
6536 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
6537 Remove explicit zero initializations of entries within MAP.
6539 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
6541 * reg-stack.c (convert_regs_1): Handle EH edges specially.
6543 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
6545 * bitmap.h (BITMAP_XMALLOC): New macro.
6546 * flow.c (CLEAN_ALLOCA): Remove.
6547 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
6548 (life_analysis): Likewise.
6549 (update_life_info): Don't use CLEAN_ALLOCA.
6550 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
6551 (calculate_global_regs_live): Likewise.
6552 (print_rtl_with_bb): Likewise.
6553 (verify_flow_info): Likewise.
6554 * global.c (global_alloc): Likewise.
6555 (global_conflicts): Likewise.
6556 * integrate.c (save_for_inline_nocopy): Likewise.
6557 (expand_inline_function): Likewise.
6558 * jump.c (jump_optimize_1): Likewise.
6559 (duplicate_loop_exit_test): Likewise.
6560 (thread_jumps): Likewise.
6561 * loop.c (loop_optimize): Likewise.
6562 (combine_givs): Likewise.
6563 (recombine_givs): Likewise.
6564 * reorg.c (dbr_schedule): Likewise.
6565 * unroll.c (unroll_loop): Likewise.
6567 * combine.c (combine_instructions): Use xmalloc instead of alloca.
6569 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
6571 * toplev.c (rest_of_compilation): Don't optimize the CFG
6572 when rebuilding, just before dbr.
6574 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6576 * output.h (assemble_end_function, assemble_destructor,
6577 assemble_constructor, assemble_gc_entry, assemble_global,
6578 assemble_label, output_constant_pool) Constify a char*.
6580 * varasm.c (assemble_destructor, assemble_constructor,
6581 assemble_gc_entry, assemble_end_function, assemble_global,
6582 assemble_label, output_constant_pool): Likewise.
6584 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
6586 * config/arm/thumb.c (thumb_expand_prologue): Add comments
6587 explaining what is goin on in this function.
6589 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6591 * regclass.c (record_reg_classes): In matching case, recompute
6592 costs since the direction of movement is different.
6594 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
6596 * resource.c (mark_target_live_regs): For unconditional branches,
6597 the resources found at the branch target should be added to the
6598 resources found so far, not intersected.
6600 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
6602 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
6604 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
6605 (sys/mman.h): Include this file only if #HAVE_MMAP.
6606 (run_compiles): Initialize `esac_fmt' with one old KR string, not
6607 with automatically concatenated ANSI strings.
6609 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
6611 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
6612 (DIV_ROUND_UP): Robustify.
6613 (ggc_recalculate_in_use_p): New function.
6614 (release_pages): Don't inline it.
6615 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
6617 (ggc_pop_context): Use ggc_recalculate_in_use_p.
6618 (clear_marks): Always save in_use_p.
6619 (sweep_pages): Use ggc_recalculate_in_use_p.
6620 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
6621 Release pages before counting statistics.
6623 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
6625 * toplev.c (rest_of_compilation): Fix thinko in this change:
6627 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6629 (rest_of_compilation): If inside an inlined external function,
6630 pretend we are just being declared.
6632 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
6634 * flow.c (calculate_global_regs_live): Fix thinko.
6636 * integrate.c (expand_inline_function): Fix bugs in previous
6637 change from Oct 28, 1999.
6639 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
6641 * stmt.c (expand_value_return): Fix typo in this change:
6643 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6644 (expand_value_return): Correctly convert VAL when promoting function
6645 return; support RETURN_REG being a PARALLEL.
6647 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
6649 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
6651 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6653 * hard-reg-set.h (reg_names): Constify a char*.
6655 * regclass.c (reg_names): Likewise.
6657 * regs.h (reg_names): Likewise
6659 * a29k/a29k.c (reg_names): Delete declaration.
6661 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
6663 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
6664 arc_output_function_epilogue): Likewise.
6666 * elxsi/elxsi.c (reg_names): Likewise.
6668 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
6670 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
6673 * m88k/m88k.c (output_function_profiler): Likewise.
6675 * sparc/sparc.c (sparc_flat_output_function_prologue,
6676 sparc_flat_output_function_epilogue): Likewise.
6678 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
6680 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
6681 warning from -Wuninitialized and put it under -W.
6682 * function.c (uninitialized_vars_warning): Warn only when the
6683 corresponding flag is set.
6685 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
6687 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
6688 is nonzero and the single set does not have an elt, then assign
6691 * simplify-rtx.c: New file.
6692 * Makefile.in (OBJS): Add simplify-rtx.o
6693 (simplify-rtx.o): Add dependencies.
6694 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
6695 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
6696 (cse_gen_binary, simplify_unary_operation): Delete.
6697 (simplify_binary_operation, simplify_plus_minus): Likewise.
6698 (check_fold_consts, simplify_relation_operation): Likewise.
6699 (simplify_ternary_operation): Likewise.
6700 (delete_trivially_dead_insns): Simplify the contents of the
6701 REG_EQUAL note before trying to substitute it into the source
6702 of the reg-reg copy at the end of a libcall sequence.
6704 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
6705 references/callers changed.
6707 * mn10200.c (mn10200_va_arg): Force the return value into a
6710 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
6712 * cccp.c (macroexpand): Avoid out of range accesses for omitted
6715 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
6717 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
6719 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
6721 * fold-const.c (fold): Fix thinko when optimizing comparisons
6724 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
6726 * gcc.texi (Passes): Update front-end files to their current
6729 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
6731 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
6732 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6733 (PREDICATE_CODES): Add addition_operation.
6734 * alpha-protos.h (addition_operation): Declare.
6735 (secondary_reload_class): Likewise.
6736 * alpha.c (addition_operation): New.
6737 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
6738 * alpha.md (adddi3): Turn into expander.
6739 (*lda, *adddi_2): New.
6740 (movsf, movdf patterns): Don't preference integer regs.
6741 (movsi, movdi patterns): Don't preference fp regs.
6743 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
6745 * genrecog.c (write_switch): Check for duplicate CODE cases.
6747 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
6749 * ggc-common.c: Update pre-function commentary.
6750 * ggc-page.c: Likewise.
6752 (poison_pages): Use memset directly.
6753 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
6754 (ggc_collect): Poison before sweeping.
6755 * ggc-simple.c: Update pre-function commentary.
6756 (ggc_alloc_obj): Poison non-zeroed memory.
6758 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
6760 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
6761 match format string, even on 64-bit hosts.
6762 * gcc-page.c (ggc_page_print_statistics): Likewise.
6764 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
6766 * config/i386/i386.c (ix86_cpu): Revert last patch.
6767 * config/i386/i386.h (ix86_cpu): Ditto.
6769 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
6771 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
6772 TYPE_SIZE, convert type of result to sizetype.
6774 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
6776 * flow.c (count_or_remove_death_notes): Equate NULL with the
6779 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
6780 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
6783 * i386.c (pic_label_no): Delete.
6784 (ix86_attr_length_default): Don't use single_set to peek
6787 * recog.c (peephole2_optimize): Allow recog_next_insn to index
6788 the first insn after bb->end.
6789 * i386.md (push mem peeps): Scratch is live after evaluation
6791 (cmp mem peep): Similarly.
6793 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
6795 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
6796 * function.c (pad_to_arg_alignment): Add missing braces.
6798 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6800 * alpha/alpha-protos.h (literal_section): Add prototype.
6801 (alpha_need_linkage, alpha_start_function,alpha_end_function):
6804 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
6806 (alpha_start_function, alpha_end_function, float_strings,
6807 alpha_need_linkage): Constify a char*
6809 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
6811 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
6813 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6815 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6817 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6819 * flow.c (debug_flow_info): Add prototype.
6821 * gcc.c (main): Likewise.
6823 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
6826 * reload1.c (failed_reload, set_reload_reg): Likewise.
6828 * mips-tfile.c (main): Likewise.
6829 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
6830 with ATTRIBUTE_NORETURN.
6832 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
6834 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
6835 DECL is not a memory ref.
6837 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
6839 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
6840 * config/i386/i386.c (ix86_cpu): Add extern attribute.
6842 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
6844 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
6845 * config/mips/elf64.h: ditto.
6847 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
6849 * expr.c (emit_push_insn): New argument alignment_pad.
6850 Update all callers. Adjust stack pointer based on alignment pad.
6851 * function.c (pad_to_arg_alignment): New argument alignment_pad.
6852 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
6853 (locate_and_pad_parm): New argument alignment_pad. Update all
6855 * expr.h (emit_push_insn): Update prototype.
6856 (locate_and_pad_parm): Update prototype.
6857 * calls.c (arg_data): Add new field alignment_pad.
6858 (initialize_argument_information): Initialize alignment_pad.
6860 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
6862 * except.c (free_eh_nesting_info): Free the info itself.
6863 * function.c (free_after_compilation): Don't free NULL.
6864 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
6865 (pre_edge_insert): Free inserted.
6866 * stmt.c (free_stmt_status): Don't free NULL.
6868 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6870 * gcov.c (DIR_SEPARATOR): Provide default.
6871 (output_data): Add test for MS-DOS format absolute filename.
6872 (fancy_abort): Correct program name.
6873 (open_files): Open all files in binary mode.
6874 * libgcc2.c (__bb_exit_func): Likewise.
6876 * profile.c (init_branch_prob): Specify binary when opening files.
6878 * flags.h (flag_unwind_tables): New decl.
6879 * toplev.c (flag_unwind_table): New definition.
6880 (f_options): Add -funwind-tables.
6881 (decode_g_option): Clarify warning when unknown -g option is given.
6882 (rest_of_compilation): If inside an inlined external function,
6883 pretend we are just being declared.
6885 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
6886 (dwarf2out_frame_finish): Likewise.
6888 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
6890 * fold-const.c (merge_ranges): If not in0, but in1, handle
6891 upper bounds equal like subset case.
6893 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
6895 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
6896 passed in a register but moved to the stack.
6898 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
6900 * gcc.c (pass_exit_codes, greatest_status): New variables.
6901 (struct option_map): Add entry for "--pass-exit-codes".
6902 (execute): Update greatest_status if error.
6903 (display_help): Add documentation for -pass-exit-codes.
6904 (process_command): Handle -pass-exit-codes.
6905 (main): Look at pass_exit_codes and greatest_status on call to exit.
6907 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6909 * reload.c (find_reloads): Refine test for no input reload
6910 case to not includes reloads emitted after insn.
6912 * function.c (find_temp_slots_from_address): Handle sum involving
6913 a register that points to a temp slot.
6914 (update_temp_slot_address): Make recursive call if both old and
6915 new are PLUS with a common operand.
6916 * calls.c (expand_call): Mark temp slot for result as having
6919 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
6921 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
6922 component as well as "BINUTILS".
6924 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
6925 * integrate.c (copy_rtx_and_substitute): Likewise.
6926 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
6927 All callers changed.
6928 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
6930 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
6931 gdb extensions, write size of type; also be more consistent
6932 in using references when this is a subtype.
6934 * pa.md (extv, extzv, insv): Use define_expand to reject constant
6935 that is out of range.
6937 * loop.c (unknown_constant_address_altered): New variable.
6938 (prescan_loop): Initialize it.
6939 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
6940 (invariant_p, case MEM): Remove handling for volatile and readonly;
6941 check new variable if readonly.
6942 (check_dbra_loop): Chdeck unknown_constant_address_altered.
6944 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
6945 (addr_affects_sp_p): Removed from note_mem_written and only
6946 define #ifdef AUTO_INC_DEC.
6948 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
6950 * regclass.c (record_reg_classes): Properly handle register move
6953 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
6954 Don't think valid if both operands are invalid.
6955 (struct constant_descriptor): New field RTL.
6956 (mark_const_hash_entry): Mark it.
6957 (record_constant{,_rtx}): Initialize it.
6958 (output_constant_def): Allocate RTL in permanent obstack and
6960 ({record,compare}_constant_1): Modes must match for
6961 CONSTRUCTOR of ARRAY_TYPE.
6963 * c-common.h (initializer_constant_valid_p): Delete decl from here.
6964 * output.h (initializer_constant_valid_p): Move decl to here.
6965 * c-common.c (initializer_constant_valid_p): Delete function from here.
6966 * varasm.c (initializer_constant_valid_p): Move function to here.
6968 * tree.h (STRIP_SIGN_NOPS): New macro.
6969 * fold-const.c (optimize_minmax_comparison): New function.
6970 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
6971 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
6972 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
6973 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
6974 widening conversions.
6975 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
6976 to look at size of mode, not precision of type; also add missing cases.
6977 (optimize_bit_field_compare, decode_field_reference): Don't try to
6978 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
6980 * dwarf2out.c (ctype.h): Include.
6981 (dwarf2out_set_demangle_name_func): New function.
6982 (size_of_line_info): Deleted.
6983 (output_line_info): Compute size of line info table from difference
6985 (base_type_die, add_name_attribute): Call demangle function, if any.
6986 (field_byte_offset): Use bits per word for variable length fields.
6987 (gen_array_type_die): Add array name.
6988 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
6989 (dwarf2out_add_library_unit_info): New function.
6991 * explow.c (set_stack_check_libfunc): New function.
6992 (stack_check_libfunc): New static variable.
6993 (probe_stack_range): Allow front-end to set up a libfunc to call.
6995 * combine.c (simplify_comparison): When making comparison in wider
6996 mode, check for having commuted an AND and a SUBREG.
6997 (contains_muldiv): New function.
6998 (try_combine): Call it when dividing a PARALLEL.
6999 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
7000 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
7002 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
7003 use one of the CLOBBERs instead.
7004 (if_then_else_cond): If comparing against zero, just return thing
7007 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
7008 Don't generate shifts and subtract if have conditional arithmetic.
7010 * rtl.h (delete_barrier): New declaration.
7011 * jump.c (jump_optimize): Set up to handle conditional call.
7012 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
7013 (delete_barrier): New function.
7015 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
7017 * recog.c (nonmemory_operand): Accept ADDRESSOF.
7019 * tree.c (build_type_attribute_variant): Push to obstack of
7020 ttype around type_hash_canon call.
7022 * expr.c (placeholder_list): Move decl to file scope.
7023 (expand_expr): Don't force access to volatile just because its
7025 If ignoring reference operations, just expand the operands.
7026 (expand_expr, case COMPONENT_REF): Propagate
7027 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
7028 Refine test for using bitfield operations vs pointer punning.
7029 (expand_expr, case CONVERT_EXPR): If converting to
7030 BLKmode UNION_TYPE from BLKmode, just return inner object.
7031 Use proper mode in store_field call.
7032 Properly set sizes of object to store and total size in store_field
7033 call for convert to union.
7034 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
7035 memory (like for ADDR_EXPR). Also, don't put constant in register if
7036 we'll want it in memory.
7037 (readonly_fields_p): New function.
7038 (expand_expr, case INDIRECT_REF): Call it if LHS.
7039 (expand_assignment): Handle a RESULT_DECL where
7040 DECL_RTL is a PARALLEL.
7041 (do_jump, case WITH_RECORD_EXPR): New case.
7042 (get_inner_reference): Always go inside a CONVERT_EXPR
7043 and NOP_EXPR if both modes are the same.
7044 (store_field): Use bitfield operations if size of bitsize is not same
7045 as size of RHS's type.
7046 Check for bitpos not a multiple of alignment in BLKmode case.
7047 Do block move in largest possible alignment.
7048 (store_constructor): Set BITSIZE to -1 for variable size and properly
7049 in case of array of BLKmode.
7050 (expand_expr_unaligned): New function.
7051 (do_compare_and_jump): Call it.
7053 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
7054 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
7055 does not include 'o'.
7057 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
7058 both SET_DEST and SET_SRC reference a virtual register.
7059 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
7061 * integrate.c (expand_inline_function): Handle case of setting
7062 virtual stack vars register (from built in setjmp); when parameter
7063 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
7064 (subst_constant): Add new parm, MEMONLY.
7065 (expand_inline_function, integrate_parm_decls): Pass new parm.
7066 (integrate_decl_tree): Likewise.
7067 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
7068 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
7069 (copy_rtx_and_substitute, case SET): Add explicit calls to
7070 copy_rtx_and_substitute for both sides.
7072 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
7074 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
7075 within INDEX_TYPE, instead of before.
7076 (fixup_gotos): Use f->target_rtl, not the next insn,
7077 since latter may be from a later fixup.
7078 (expand_value_return): Correctly convert VAL when promoting function
7079 return; support RETURN_REG being a PARALLEL.
7080 (expand_return): When checking for result in regs and having
7081 cleanup, consider PARALLEL in DECL_RTL as being in regs.
7083 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
7085 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
7086 last_nominal_fname): Mark const.
7087 (struct include_hash: name, nshort, control_macro): Mark
7089 (struct macrodef: symnam): Mark const.
7090 (struct if_stack: fname): Mark const.
7091 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
7092 (IStable): New character-syntax array which encompasses all
7093 the old is_foo arrays.
7094 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
7095 is_space): New macros for interrogating IStable.
7096 (check_macro_name): Kill last argument. All callers changed.
7098 * cppinit.c (initialize_char_syntax): Delete.
7099 (is_idchar, is_idstart, is_hor_space, is_space,
7100 trigraph_table): Delete.
7101 (IStable): New. Initialize with clever macros to avoid
7102 information duplication.
7103 (builtin_array): Table of builtins to get rid of explicit list
7104 in initialize_builtins.
7105 (initialize_builtins): Use builtins_array.
7106 (cpp_start_read): Call init_IStable, and set IStable['$'] if
7107 opts->dollars_in_ident.
7109 * cppexp.c: Change all refs to is_xyz[] arrays to use new
7111 (cpp_parse_expr): Avoid 'format string is not constant'
7112 warning. Use ISGRAPH to identify printable chars.
7113 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
7115 (read_and_prescan): Map trigraphs to chars with open-coded
7116 if-else-if-... sequence, not a lookup table.
7117 * cpphash.c: Change all refs to is_xyz[] arrays to use new
7119 * cpplib.c: Change all refs to is_xyz[] arrays to use new
7120 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
7121 (check_macro_name): Remove ability to report an invalid
7122 assertion name, which is never used.
7123 (do_line): Constify a couple of char *'s.
7124 * cppmain.c (main): Call cpp_cleanup before returning.
7126 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
7128 * ggc.h (struct ggc_statistics): New type.
7129 (ggc_get_size): New function.
7130 (ggc_print_statistics): Likewise.
7131 * ggc-common.c (ggc_stats): New variable.
7132 (ggc_mark_rtx_children): Keep statistics.
7133 (ggc_mark_tree_children): Likewise.
7134 (ggc_print_statistics): New function.
7135 * ggc-page.c (struct globals): Add bytes_mapped field.
7136 (alloc_anon): Update it.
7137 (release_pages): Likewise.
7138 (ggc_get_size): New function.
7139 (ggc_page_print_statistics): New function.
7140 * ggc-simple.c (ggc_get_size): New function.
7142 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
7144 * flow.c (propagate_block): When the last reference to a label
7145 before an ADDR_VEC is deleted because the reference is a dead
7146 store, delete the ADDR_VEC.
7148 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
7150 * resource.c (find_free_register): Don't use the frame pointer
7151 if frame_pointer_needed.
7153 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
7155 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
7156 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
7158 * config/i960/i960.c (i960_va_start): New locals base, num.
7159 Use INDIRECT_REF instead of ARRAY_REF on valist.
7160 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
7162 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
7164 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
7166 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
7168 * tree.def (PLACEHOLDER_EXPR): Update comments.
7170 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7172 * c-common.c (check_format_info): Avoid non-literal format string
7173 warnings when `first_arg_num' is zero.
7175 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7177 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
7179 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
7181 * arm.md (casesi_insn): Add a clobber of the condition code
7184 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
7186 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
7187 used by both cc1 and cc1plus.
7189 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
7191 * config/arm/arm.c: Initialise arm_structure_size_boundary to
7192 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
7193 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
7194 to the value 32 if it has not already been defined.
7195 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
7196 Override definition in arm.h with a value of 8.
7198 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
7200 * c-pragma.c (push_alignment): Don't check the return value
7203 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
7205 * sparc.h (ADJUST_COST): Fix thinko.
7207 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
7209 * cccp.c (rescan): Fixed obp pointer handling around call to
7210 check_expand subroutine.
7212 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
7214 * gcse.c (delete_null_pointer_checks): Only record non-null info
7215 for pseudos when examining stores.
7217 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
7218 splitters for these patterns. Use "#" for output templates.
7219 (addsi3_carryin_shift): New pattern.
7221 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
7223 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
7224 of the function return register into a plain REG until
7225 after function inlining is done.
7227 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
7229 * jump.c (jump_optimize_1): If we did cross-jumping, and
7230 the data will matter, rebuild the CFG.
7231 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
7232 not optimizing. Don't run shorten_branches.
7233 * toplev.c (rest_of_compilation): Run shorten_branches after
7236 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
7238 * rtl.h (note_stores): Add additional paramter.
7239 * rtlanal.c (reg_set_p_1): Take additional paramter.
7240 (reg_set_last_1): Likewise.
7241 (reg_set_p): Adjust call to note_stores.
7242 (reg_set_last): Likewise.
7243 (note_stores): Pass data parameter to worker function.
7244 * alias.c (record_set): Take additional parameter.
7245 (init_alias_analysis): Pass it.
7246 * caller-save.c (mark_set_regs): Take additional parameter.
7247 (save_call_clobbered_regs): Pass NULL to note_stores.
7248 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
7250 (record_dead_and_set_regs_1): Likewise.
7251 (reg_dead_at_p_1): Likewise.
7252 (combine_instructions): Adjust calls to note_stores.
7253 (try_combine): Likewise.
7254 (record_dead_insn): Remove.
7255 (record_dead_and_set_regs): Adjust calls to note_stores.
7256 (reg_dead_at_p): Likewise.
7257 * cse.c (invalidate_skipped_set): Take additional parameter.
7258 (cse_check_loop_start): Likewise.
7259 (cse_check_loop_start_value): Remove.
7260 (cse_set_around_loop): Adjust calls to note_stores.
7261 * flow.c (notice_stack_pointer_modification): Take additional
7262 parameter. Remove duplicate declaration.
7263 (record_volatile_insns): Adjust calls to note_stores.
7264 * gcse.c (record_set_info): Take additional parameter.
7265 (record_last_set_info): Likewise.
7266 (invalidate_nonnull_info): Likewise.
7267 (record_set_insn): Remove.
7268 (compute_sets): Adjust calls to note_stores.
7269 (last_set_insn): Remove.
7270 (compute_hash_table): Adjust calls to note_stores.
7271 (insert_insn_end_bb): Likewise.
7272 (delete_null_pointer_checks): Likewise.
7273 * global.c (mark_reg_store): Take additional parameter.
7274 (mark_reg_clobber): Likewise.
7275 (reg_becomes_live): Likewise.
7276 (global_conflicts): Adjust calls to note_stores.
7277 (build_insn_chain): Likewise.
7278 * integrate.c (note_modified_parmregs): Take additional parameter.
7279 (mark_stores): Likewise. Make it static.
7280 (save_for_inline_nocopy): Adjust calls to note_stores.
7281 (try_constants): Likewise.
7282 * integrate.h (mark_stores): Remove declaration.
7283 * jump.c (mark_modified_reg): Take additional parameter.
7284 (thread_jumps): Adjust calls to note_stores.
7285 * local-alloc.c (validate_equiv_mem_from_store): Take additional
7287 (no_equiv): Likewise.
7288 (reg_is_set): Likewise.
7289 (validate_equiv_mem): Adjust calls to note_stores.
7290 (update_equiv_regs): Likewise.
7291 (block_alloc): Likewise.
7292 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
7293 (note_addr_stored): Take additional parameter.
7294 (note_set_pseudo_multiple_uses): Likewise.
7295 (record_initial): Likewise.
7296 (prescan_loop): Adjust calls to note_stores.
7297 (strength_reduce): Likewise.
7298 (check_dbra_loop): Likewise.
7299 * regmove.c (flags_set_1): Take additional paramter.
7300 (mark_flags_life_zones): Adjust calls to note_stores.
7301 * reload1.c (mark_not_eliminable): Take additional parameter.
7302 (forget_old_reloads_1): Likewise.
7303 (reload_cse_invalidate_rtx): Likewise.
7304 (reload_cse_check_clobber): Likewise.
7305 (reload_combine_note_store): Likewise.
7306 (move2add_note_store): Likewise.
7307 (reload): Adjust calls to note_stores.
7308 (reload_as_needed): Likewise.
7309 (emit_reload_insns): Likewise.
7310 (reload_cse_regs_1): Likewise.
7311 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
7312 (reload_combine): Adjust calls to note_stores.
7313 * resource.c (update_live_status): Take additional paramter.
7314 (mark_target_live_regs): Adjust calls to note_stores.
7315 * stupid.c (find_clobbered_regs): Take additional parameter.
7316 (stupid_life_analysis): Adjust calls to note_stores.
7318 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
7320 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
7323 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
7326 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
7327 of the variable arm_structure_size_boundary.
7329 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
7331 * alias.c (init_alias_analysis): Allocate reg_known_value and
7332 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
7334 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
7335 * cse.c (cse_main): Call end_alias_analysis.
7336 * haifa-sched.c (schedule_insns): Likewise.
7337 * local-alloc. (update_equiv_regs): Likewise.
7338 * reload1.c (reload_cse_regs): Likewise.
7340 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7342 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
7343 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
7344 mapping from MASK_FPU.
7346 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
7348 * sparc.md (call): Don't bound structure return size to 0xfff.
7350 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
7352 * resource.c (mark_target_live_regs): Check that the target
7353 insn wasn't created after compute_bb_for_insn.
7355 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
7357 * ggc-page.c (poison_pages): Don't be overzealous.
7359 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
7361 * alias.c: Update comments for ADDRESS.
7362 (nonlocal_reference_p): Look inside the ADDRESS to determine if
7363 it is a local memory reference.
7365 * c-typeck.c (build_function_call): Check that the built-in
7366 function is of class BUILT_IN_NORMAL before trying to recongize
7368 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
7369 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
7371 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
7373 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
7375 (pre_gcse): Likewise.
7376 (hoist_expr_reaches_here_p): Likewise.
7377 (hoist_code): Likewise.
7378 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
7380 (pre_expr_reaches_here_p_work): ... here.
7381 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
7383 (expr_reaches_here_p_work): ... here.
7385 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
7387 * resource.c (find_basic_block): Delete.
7388 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
7389 (init_resource_info): Call compute_bb_for_insn.
7391 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
7393 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
7394 with already adjacent blocks, but no fallthru.
7395 (merge_blocks_move_successor_nojumps): Simplify.
7396 (debug_flow_info): New.
7398 * toplev.c (rest_of_compilation): Open jump1 dump file before
7399 jump and close after, as opposed to just using dump_rtl.
7401 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7403 * reload.h (earlyclobber_operand_p): Declare.
7404 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
7405 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
7406 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
7407 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
7409 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
7410 Richard Henderson <rth@cygnus.com>
7412 * emit-rtl.c (emit_block_insn_before): New.
7413 (emit_block_insn_after): New.
7414 * basic-block.h: Declare them.
7416 * bitmap.h: Protect from multiple inclusion.
7418 * recog.c (scratch_operand): Handle VOIDmode correctly.
7420 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
7422 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
7423 * function.c (assign_parms): Likewise.
7424 * global.c (global_conflicts): Clarify STACK_REGS commentary.
7426 * reg-stack.c (max_uid): Remove.
7427 (blocks, block_begin, block_end, block_drops_in): Remove.
7428 (block_stack_in, block_out_reg_set, block_number): Remove.
7429 (struct block_info_def, BLOCK_INFO): New.
7430 (enum emit_where): New.
7431 (current_block): New.
7432 (BLOCK_NUM): Remove.
7433 (mark_regs_pat, record_label_references): Remove.
7434 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
7436 (goto_block_pat, print_blocks, dump_stack_info): Remove.
7437 (reg_to_stack): Simplified test for existance of fp code. Use
7438 flow.c code. Call shorten_branches after cross-jump opt.
7439 (check_asm_stack_operands): Renamed from record_asm_reg_life.
7440 Return false if the asm doesn't use stack regs. Don't do life
7441 analysis on the asm.
7442 (emit_pop_insn): Replace function pointer arg `when' with
7443 enum `where'. Update all callers.
7444 (change_stack): Likewise. Update basic block end.
7445 (emit_swap_insn): Use current_block->head to limit reverse search
7446 for start of block. Use emit_block_insn_after.
7447 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
7448 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
7449 structure assignment instead of bcopy.
7451 (convert_regs_entry, convert_regs_exit): New.
7452 (convert_regs_1, convert_regs_2): Split out from convert_regs.
7453 Work on basic blocks and the CFG.
7454 (convert_regs): Use them.
7456 * i386.c (output_fix_trunc): Remove code for DImode input operand
7457 not at top-of-stack.
7458 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
7460 (fix_truncdi_1): Allow any mode scratch.
7462 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
7464 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
7465 * linux.h, netbsd.h, vms.h: Not here.
7467 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
7469 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
7470 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
7471 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
7472 CONDITIONAL_REGISTER_USEAGE): Use them.
7473 * config/mips/mips.c (mips_move_1word,mips_move_2words,
7474 gen_conditional_branch,override_options) : Use them.
7475 * config/mips/mips.md : Use them.
7477 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
7479 * i386.md (zero_extendqihi2): Use SImode register name with andl.
7481 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
7483 * integrate.c (function_cannot_inline_p): Don't allow inlining
7486 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7488 * c-parse.in (cast_expr): Constify.
7490 * cccp.c (special_symbol): Likewise.
7492 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
7494 * dwarf2out.c (base_type_die): Likewise.
7496 * global.c (allocno_compare): Likewise.
7498 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
7500 * regclass.c (fix_register): Likewise.
7502 * rtl.h (fix_register): Likewise.
7504 * stupid.c (stupid_reg_compare): Likewise.
7506 * toplev.c (decode_f_option): Likewise.
7508 * tree.c (build_complex_type): Likewise.
7510 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
7512 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
7514 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7516 * reload.c (find_reloads): Compute mode and nregs fields of all
7518 * reload1.c (calculate_needs_all_insns): Simplify a bit.
7519 (calculate_needs): Use precomputed mode/nregs values.
7520 (allocate_reload_reg): Likewise.
7522 (failed_reload, set_reload_reg): ... new functions.
7523 (choose_reload_regs_init): New function, mostly broken out from...
7524 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
7525 Also lose one #if 0 block.
7527 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
7529 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
7532 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
7534 * tree.h (BLOCK_TYPE_TAGS): Remove.
7535 (BLOCK_END_NOTE): Likewise.
7536 (BLOCK_LIVE_RANGE_FLAG): Likewise.
7537 (BLOCK_LIVE_RANGE_START): Likewise.
7538 (BLOCK_LIVE_RANGE_END): Likewise.
7539 (tree_block): Remove live_range_flag, live_range_var_flag, and
7540 type_tags. Remove end_note, live_range_start, and live_range_end.
7541 (remember_end_note): Remove prototype.
7542 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
7543 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
7545 * ggc-common.c (ggc_mark_tree_children): Don't mark
7546 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
7547 * integrate.c (adjust_copied_decl_tree): Remove.
7548 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
7549 * stmt.c (last_block_end_note): Remove.
7550 (init_stmt): Don't add a GC root for it.
7551 (expand_fixup): Don't set it.
7552 (remember_end_note): Remove.
7553 (expand_end_bindings): Don't set last_block_end_note.
7555 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7557 * reload1.c (reload_reg_free_for_value_p): Show
7558 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
7561 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
7563 * expmed.c (extract_bit_field): Allow for the case of non-integer
7564 objects that are smaller than a word (like SFmode on a 64-bit
7567 * loop.c (basic_induction_var): A non-integer variable which is
7568 being set by a paradoxical subreg is probably not a biv.
7570 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7572 * prefix.c (translate_name) Check for empty prefix string.
7574 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
7576 * Makefile.in (CPP_CROSS_NAME): New variable.
7577 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
7579 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
7580 names of the files to be uninstalled.
7582 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
7584 * collect2.c (IS_DIR_SEPARATOR): Define.
7585 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
7587 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
7590 * haifa-sched.c (add_dependence): Update the true dependency
7591 cache the first time we add a true dependence to the LOG_LINKS chain.
7593 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
7595 * fold-const.c (fold): Fix comment.
7597 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7599 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
7600 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
7601 dbxout_start_new_source_file, dbxout_source_file,
7602 dbxout_source_line, dbxout_finish, dbxout_type_fields,
7603 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
7605 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
7606 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
7607 (dbxout_block): Initialize variable `blocknum'.
7609 * dbxout.h (dbxout_init, dbxout_finish,
7610 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
7611 dbxout_args, dbxout_source_line): Constify a char*.
7613 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
7614 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
7615 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
7616 low_pc_attribute, high_pc_attribute, body_begin_attribute,
7617 body_end_attribute, comp_dir_attribute, sf_names_attribute,
7618 src_info_attribute, mac_info_attribute, producer_attribute,
7619 lookup_filename, generate_macinfo_entry, fundamental_type_code,
7620 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
7621 dwarfout_undef): Constify a char*.
7622 (add_incomplete_type, retry_incomplete_types): Add prototypes.
7624 * dwarfout.h (dwarfout_define, dwarfout_undef,
7625 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
7627 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
7629 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
7630 (MULTILIB_ISA_DEFAULT): New.
7631 (MULTILIB_DEFAULTS): Use it.
7632 * config/mips/mips.c (): Remove the now unnecessary definition
7633 of MIPS_ISA_DEFAULT.
7634 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
7635 unnecessary definition.
7637 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
7639 * arm.md (pic_load_addr): Add constraints to operand 1.
7641 1999-10-25 Bruce Korb <autogen@linuxbox.com>
7643 * fixinc/genfixes: Provide a means for specifying -D options to
7646 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
7648 * arm.c (arm_override_options): Correct initialization of
7649 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
7650 arm_is_strong, and arm_is_6_or_7.
7652 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
7653 (note_set_pseudo_multiple_uses): New function.
7654 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
7655 if a pseudo set in the loop exit is used elsewhere.
7657 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
7659 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
7661 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
7663 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
7664 a single load-address pattern.
7666 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
7668 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
7669 depending on whether or not line-number notes are present.
7671 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7673 * cccp.c (progname, file_buf, default_include, include_file,
7674 macrodef, definition, hashval, wchar_type, user_label_prefix,
7675 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
7676 expand_to_temp_buffer, is_system_include, base_name,
7677 absolute_filename, read_name_map, open_include_file,
7678 record_control_macro, check_precompiled, check_preconditions,
7679 pcfinclude, pass_thru_directive, create_definition,
7680 check_macro_name, comp_def_part, collect_expansion,
7681 check_assertion, read_token_list, assertion_install,
7682 assertion_lookup, eval_if_expression, conditional_skip,
7683 validate_else, skip_quoted_string, quote_string, macarg1,
7684 error_from_errno, install, lookup, hashf, dump_defn_1,
7685 perror_with_name, pfatal_with_name, main, trigraph_pcp,
7686 check_white_space, rescan, handle_directive, monthnames,
7687 special_symbol, do_include, remap_include_file, write_output,
7688 arglist, do_assert, do_unassert, do_line, do_error, do_once,
7689 do_ident, do_sccs, do_xifdef, skip_if_group,
7690 output_line_directive, macroexpand, macarg, change_newlines,
7691 initialize_builtins, make_definition): Constify a char*.
7693 * pcp.h (stringdef): Likewise.
7695 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
7697 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
7700 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
7701 Richard Henderson <rth@cygnus.com>
7703 * alias.c: Include ggc.h.
7704 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
7705 (record_set): Verify enough room in reg_base_value.
7706 (init_alias_analysis): Allocate reg_base_value with xcalloc.
7707 Register it as a GC root.
7708 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
7709 * Makefile.in (alias.o): Depend on ggc.h.
7711 * unroll.c (unroll_loop): Verify the insn before a barrier
7712 is a JUMP_INSN before checking JUMP_LABEL.
7714 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7716 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
7717 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
7718 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
7719 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
7720 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
7721 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
7723 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7725 * output.h (ctors_section, dtors_section, bss_section): Prototype.
7727 * alpha/alpha-interix.h (text_section): Delete prototype.
7728 * alpha/elf.h (text_section): Likewise.
7729 * arm/linux-elf.h (text_section): Likewise.
7730 * arm/linux-telf.h (text_section): Likewise.
7731 * c4x/c4x.h (text_section): Likewise.
7732 * dsp16xx/dsp16xx.h (bss_section): Likewise.
7733 * elfos.h (text_section): Likewise.
7734 * i386/aix386ng.h (text_section): Likewise.
7735 * i386/i386-interix.h (text_section): Likewise.
7736 * i386/sco5.h (text_section): Likewise.
7737 * i386/svr3gas.h (text_section): Likewise.
7738 * nextstep.h (text_section): Likewise.
7739 * psos.h (text_section): Likewise.
7740 * ptx4.h (text_section): Likewise.
7741 * svr3.h (text_section): Likewise.
7742 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
7744 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7746 * final.c (peephole): Delete prototype.
7748 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
7749 (pre_insert_copies): Remove unused variable `bb'.
7751 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
7754 * output.h (peephole): Add prototype.
7756 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
7758 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
7761 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
7763 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
7764 for inlined declarations.
7766 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
7768 * arm.c (logical_binary_operator): New fucntion.
7769 * arm.h (logical_binary_operator): Declare it.
7770 (PREDICATE_CODES): Handle logical_binary_operator.
7771 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
7772 output constraints. Add appropriate splitters.
7773 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
7774 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
7775 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
7777 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7779 * genoutput.c (struct operand_data): New elt eliminable.
7780 (output_operand_data): Write it.
7781 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
7782 (compare_operands): Take it into account.
7783 * recog.h (struct insn_operand_data): New elt eliminable.
7784 * reload1.c (check_eliminable_occurrences, elimination_effects): New
7786 (old_asm_operands_vec, new_asm_operands_vec): Delete.
7787 (eliminate_regs): Move code that detects changes to elimination
7788 target regs into new function elimination_effects.
7789 Delete one #if 0 block.
7790 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
7791 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
7792 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
7793 Only call eliminate_regs for real operands of the insn, not for parts
7794 of its structure or parts matched by things like match_operator.
7795 Use elimination_effects and check_eliminable_occurrences. Use
7796 copy_insn to duplicate the pattern when not in the final pass.
7798 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
7800 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
7803 1999-10-22 Bruce Korb <autogen@linuxbox.com>
7805 * fixinc/README: document the "mach" machine matching test
7806 * fixinc/fixfixes.c: Implement the #else/#endif label fix
7807 * fixinc/fixtests.c: Implement the #else/#endif label test
7808 * fixinc/inclhack.def: utilize these tests and fixes
7809 * fixinc/inclhack.sh: regen
7810 * fixinc/fixincl.x: regen
7811 * fixinc/fixincl.sh: regen
7813 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
7815 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
7818 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
7820 * gcc.1: Document exit codes.
7822 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7824 * calls.c: Include tm_p.h later, so everything we need is defined.
7826 * function.c: Likewise.
7828 * except.c: Include tm_p.h.
7830 * sparc.c: Likewise.
7831 (dwarf2out_cfi_label): Don't prototype.
7832 (check_return_regs, epilogue_renumber,
7833 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
7834 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
7835 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
7836 ultra_schedule_insn): Add static prototype.
7837 (data_segment_operand, text_segment_operand): Call itself with the
7838 proper number of arguments.
7839 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
7841 * sparc.h: Move all declarations to sparc-protos.h.
7842 (SELECT_RTX_SECTION): Pass a missing MODE argument to
7845 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
7847 * config/svr4.h (text_section, ctors_section, dtors_section): Add
7849 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
7850 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7851 ASM_OUTPUT_ASCII): Constify a char*.
7853 * sparc-protos.h: New file for sparc prototypes.
7855 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7857 * function.c (record_insns, contains): Always declare and define.
7858 (record_insns): Mark with ATTRIBUTE_UNUSED.
7860 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7862 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
7863 to .section when outputting a .bss section to deal with multiple
7864 .bss input sections (as happens with -fdata-sections)
7865 Also output %progbits, not @progbits so the assembler doesn't treat as
7867 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
7869 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
7870 thumb parts even when building with non-thumb CPUs, by forcing
7873 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
7875 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
7876 (movdf_const_intreg_sp64): Similarly.
7878 * local-alloc.c (update_equiv_regs): Check the correct insn
7879 for pre-existing REG_EQUIV notes.
7881 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
7883 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
7884 block reached by a branch if we're not going to actually process
7887 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
7889 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
7890 a local extern function declaration.
7892 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
7894 * i386.c (ix86_expand_prologue): Properly wrap USE around
7895 reg for CALL_INSN_FUNCTION_USAGE.
7897 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
7899 * config/mips/mips.md (movdf_internal1a): Allow floating-point
7900 move between GP_REGs.
7902 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
7904 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
7905 the mode size when finding out if an offset is legal.
7907 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
7909 * basic-block.h (PROP_*): Move constants from ...
7911 (compute_bb_for_insn): Free the array before reallocating.
7912 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
7913 (allocate_reg_life_data): Reset all reg variables collected by
7915 (get_block_head_tail): Don't convert from bb to block.
7916 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
7917 (find_insn_reg_weight): Take block not bb.
7918 (schedule_block): Don't set block num for moved insns.
7919 (schedule_region): Don't update_life_info or find_insn_reg_weight.
7920 (schedule_insns): Do it here instead.
7921 * combine.c (combine_instructions): Invoke compute_bb_for_insn
7922 before update_life_info.
7923 * recog.c (split_all_insns, peephole2_optimize): Update for
7924 new arg to update_life_info.
7925 * rtlanal.c (remove_note): Cope with NULL note.
7926 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
7929 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
7931 * jump.c (jump_optimize_1): More accurately detect casesi insns.
7933 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
7934 block records so that merge_blocks_nomove will clean up correctly.
7935 (split_edge): Handle casesi insns.
7937 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
7939 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
7941 * pa.md (call, call_value): Do not emit a blockage after restoring
7944 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
7946 * c-typeck.c (c_expand_asm_operands): Fix typo.
7948 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7950 * arm.c (fpu_rhs_operand): Verify modes.
7951 (fpu_add_operand): Likewise.
7952 (di_operand): Likewise.
7953 (soft_df_operand): Likewise.
7955 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
7957 * arm.c (arm_return_in_memory): APCS rules state that the elements
7958 of a structure returned in a register must be 'integer-like'.
7960 1999-10-19 Bruce Korb <autogen@linuxbox.com>
7962 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
7963 in the source tree when the generated targets are out of date
7964 * fixinc/genfixes: Alter it to run individual fixes for make.
7965 * fixinc/README: rewrite
7966 * fixinc/inclhack.def: moved initial comments to README
7968 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
7970 * toplev.c (main): Do not generate an error message if an
7971 unrecognised command line switch is recognisable by another
7972 language. If extra_warnings are enabled, then generate a
7973 warning message instead.
7975 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
7977 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
7978 (insert_pack_attributes): Delete prototype.
7980 * c-pragma.c (default_alignment): New static variable.
7981 (push_alignment): Initialize to current effective alignment.
7982 (pop_alignment): Use to set new alignment.
7983 (insert_pack_attributes): Delete function.
7984 (handle_pragma_token): Set default_alignment as well each time
7985 a #pragma pack(<n>) is encountered.
7987 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
7989 * reg-stack.c (stack_result): Aggregates are not returned in
7992 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7994 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
7996 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
7998 * basic-block.h (set_block_num): Declare.
7999 * flow.c (update_life_info): Don't call compute_bb_for_insn
8000 or free_basic_block_vars.
8001 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
8002 (insn_orig_block): Remove.
8003 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
8004 (schedule_block): Keep BLOCK_NUM up-to-date.
8005 (schedule_insns): Use compute_bb_for_insn.
8006 * recog.c (split_all_insns): Likewise.
8007 (peephole2_optimize): Likewise.
8009 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
8011 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
8012 if the pic register is used.
8014 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8016 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
8017 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
8018 if that tests TREE_PERMANENT.
8020 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
8022 * cse.c (invalidate_for_call): Do not remove memory references from
8023 the table here. It's handled elsewhere.
8025 * haifa-sched.c (add_dependence): Protect references to the
8026 true dependency cache with #ifdef INSN_SCHEDULING.
8027 (remove_dependence): Similarly.
8029 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
8030 to the cfg code that this is a return instruction.
8031 * mn10300.md (return_internal): Similarly.
8033 * combine.c (get_last_value): If the last set of a register
8034 is after subst_low_cuid, then we can not use it to determine
8035 the register's last value.
8037 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
8039 * Makefile.in: Back out previous change.
8041 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
8043 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
8045 * haifa-sched.c (add_dependence): Only check/update the cache
8047 (remove_dependence): Likewise.
8048 (schedule_insns): Only create the true_dependency_cache if the
8049 average number of instructions in a basic block is very large.
8051 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
8053 * Makefile.in (ggc-common.o): Depend on genrtl.h.
8054 (ggc-simple.o): Likewise.
8055 (ggc-page.o): Likewise.
8057 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
8059 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
8060 Prototype for exported functions.
8061 (pre_lcm, pre_rev_lcm): Remove prototypes.
8062 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
8063 (compute_available): Move to lcm.c, and change parameter order.
8064 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
8065 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
8066 (gcse_main): No longer call compute_preds_succs. Rebuild the
8067 set table after reach pre pass.
8068 (pre_insert_map, pre_delete_map, edge_list): New.
8069 (alloc_pre_mem): Allocate edge vectors.
8070 (free_pre_mem): Delete edge vectors.
8071 (compute_pre_data): Call new edge based lcm routines.
8072 (process_insert_insn): New function.
8073 (insert_insn_end_bb): Use it.
8074 (pre_edge_insert): New function.
8075 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
8077 (pre_insert_copies): Revamp using new edge based lcm outputs.
8078 (pre_delete): Likewise.
8079 (one_pre_gcse_pass): Insert & remove fake edges to the exit
8081 (compute_code_hoist_vbeinout): New new edge based routines.
8082 * lcm.c: Remove all the old LCM functions. Replace with new ones
8083 that work with the new cfg datastructures and work with edges
8086 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8088 * reload.h (struct reload): Add new fields "mode" and "nregs".
8089 * reload1.c: Change all occurrences of reload_mode and reload_nregs
8090 to reference the "mode" and "nregs" field within struct reload.
8092 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
8094 * haifa-sched.c (true_dependency_cache): New.
8095 (add_dependence): Use the true dependency cache to avoid expensive
8096 walks down the LOG_LINKS dependency list. Add entries to the
8098 (remove_dependence): Remove entries from the true dependency cache
8100 (schedule_insns): Allocate and initialize and free the true
8103 * haifa-sched.c (schedule_insns): Do not remove inter-block
8104 dependencies anymore.
8106 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
8108 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
8109 * i386/t-winnt: Likewise.
8111 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
8113 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
8115 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
8117 * Makefile.in (LANGUAGES): Omit "proto".
8118 (clean): Remove stale comment about removing unprotoize.c.
8120 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8122 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
8123 using arithmetic on void pointers.
8125 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
8127 * haifa-sched.c (compute_block_forward_dependencies): Only check
8128 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
8130 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
8132 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
8133 (expr_equiv_p): Reject memories with different alias sets.
8135 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
8137 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
8138 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
8139 (f_options): Add "bounded-pointers" and "bounds-check" entries.
8140 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
8141 (lang_init): Set default for flag_bounds_check if still "unspecified".
8143 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8145 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
8147 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8149 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
8152 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8154 * config/c4x/c4x.md (*db_noclobber,
8155 *decrement_and_branch_until_zero_noclobber): New patterns and
8156 associated splitters.
8158 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8160 * config/c4x/c4x.md (parallel instruction patterns): Rework
8161 constraints to keep reload happy.
8163 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8165 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
8166 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
8167 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
8168 Add new patterns and associated post-reload splitters.
8170 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8172 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
8174 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8176 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
8178 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
8180 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8182 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
8185 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
8187 * pa.c (move_operand): Rely on memory_address_p to determine the
8188 validity of non-indexed memory addresses.
8189 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
8190 operand in DFmode and SFmode when generating PA2.0 code.
8192 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
8194 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
8196 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
8198 * mips.c (function_prologue): Fix argument types.
8199 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
8200 (casesi_internal): Write to the scratch register.
8202 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
8204 * cppexp.c (cpp_parse_escape): Make static. Change second arg
8206 (parse_charconst): Delete unnecessary cast when calling
8208 (cpplib.h): Kill prototype of cpp_parse_escape.
8210 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
8212 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
8213 * unroll.c (unroll_loop): Cast return value of alloca.
8214 * i370/i370.c: Include function.h and toplev.h.
8215 (i370_label_scan): Remove c++ commented abort.
8216 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
8217 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
8218 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
8219 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
8221 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
8223 * config/t-freebsd: Do not override USER_H.
8224 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
8226 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
8227 Mumit Khan <khan@xraylith.wisc.edu>
8229 * c-parse.in (component_decl): Support anonymous struct/union.
8231 * c-parse.y: Regenerate.
8232 * c-parse.c: Likewise.
8233 * objc/objc-parse.y: Likewise.
8234 * objc/objc-parse.c: Likewise.
8235 * c-decl.c (finish_struct): Don't sort the fields.
8236 (field_decl_cmp): Delete unused function.
8238 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
8240 * sparc.md (movsf_const_intreg): Revert last constraint change.
8241 (movdf_const_intreg_sp32): Likewise.
8243 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
8245 * cse.c: Include hashtab.h instead of splay-tree.h
8246 (struct cse_reg_info): No longer use variant union. Add new
8247 field "regno". All references changed to avoid union.
8248 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
8249 (free_cse_reg_info): Remove.
8250 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
8251 (get_cse_reg_info): Revamp to use expandable hash tables instead
8252 of splay trees. Initialize new fields in cse_reg_info structure.
8253 (new_basic_block): Similarly.
8255 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
8257 * genrecog.c (message_with_line): Prototype.
8258 (validate_pattern): Pass along the set for the dest, not a flag.
8259 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
8260 Check for PC/CC0 as sources.
8261 (nodes_identical): Check for children position match before
8262 allowing the combination.
8264 * rtl.c (read_rtx): Track line number across \\\n.
8266 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
8268 * mips.h (SPECIAL_MODE_PREDICATES): New.
8269 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
8270 (movdi+1, movsi+1): Add output reload constraint.
8271 (casesi_internal): Likewise. Fix commentary.
8272 (return_internal): Use pmode_register_operand.
8274 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
8276 * 1750a.md (movstrqi): Add missing output reload constraint.
8277 (call_value): Likewise.
8278 * a29k.md (cpxxx patterns): Add missing match_operator mode.
8279 (jmpfdec): Add missing inout reload constraint.
8280 * elxsi.md (addsi patterns): Add missing output reload constraint.
8281 (move from sp): Use @ alternates.
8282 (call_value): No constraint on output.
8283 * fr30.md (movsi_pop): Add missing output reload constraint.
8284 (movsf_constant_store): Likewise.
8285 (splits): Remove constraints.
8286 (subsi3): Add missing mode.
8287 * i370.md (cmpstrsi+1): Add missing output reload constraint.
8288 (call_value): Likewise.
8289 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
8290 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
8291 * m32r.md (movsicc_internal): Add output reload constraint.
8292 (movstrsi_internal): Add inout reload constraints.
8293 * m88k.h (reg_names): Don't declare.
8294 (SPECIAL_MODE_PREDICATES): New.
8295 * m88k.md (*): Use register_operand not reg_or_0_operand
8297 * mn10200.h (PREDICATE_CODES): New.
8298 * ns32k.md (ffs pattern): Add output reload constraint.
8299 * pdp11.md (sob pattern): Add inout reload constraint.
8300 * sh.md (splits): Remove constraints.
8301 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
8302 * v850.md (pattern_is_ok_for_epilogue): Likewise.
8303 * vax.md (jgequ pattern): Add inout reload constraint.
8305 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
8307 * configure.in (djgpp): Revert previous patch.
8308 * configure: Rebuit.
8309 * config/i386/djgpp.h: Revert previous patch.
8311 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
8313 * fixinc/inclhack.def: Restore patch lost during last merge of
8314 "no_bogosity" branch.
8315 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
8317 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
8319 * fixincludes: Add a HPUX 11 fix for inttypes.h.
8320 * fixinc/inclhack.def: Same.
8321 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
8323 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
8325 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
8326 as the base of a PLUS.
8328 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8330 * config/c4x/c4x.md: Define mode for remaining unspec operators.
8331 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
8333 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
8335 * pa.md (post_stw+1): Use pmode_register_operand.
8336 (dcacheflush, icacheflush): Likewise.
8338 * i386.md (movstricthi_1): Allow r/r.
8340 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
8342 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
8343 to (not (and (arg0) (arg1))). Similary for and.
8345 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
8346 fallthrough to associate code.
8347 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
8350 * combine.c (simplify_logical): Convert XOR to IOR if operands have
8351 no bits in common; remove XOR to ROTATE conversion.
8353 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8355 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
8357 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8359 * config/c4x/c4x.c (dst_operand): New.
8360 (PREDICATE_CODES): Update.
8361 * config/c4x/c4x.h (dst_operand): Declare it.
8362 * config/c4x/c4x.md: Define mode for each unspec usage.
8363 (move patterns): Use dst_operand predicate instead of src_operand.
8364 (movqi_update, movqf_update): Delete.
8366 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
8368 * recog.c (pmode_register_operand): New.
8369 * recog.h: Declare it.
8370 * genrecog.c (pred_codes): Likewise.
8371 (special_mode_pred_table): Likewise.
8372 (validate_pattern): Don't warn no mode for address_operand.
8374 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
8375 if the operand is not insn-like.
8377 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
8378 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
8380 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
8382 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
8384 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
8385 instead of general_operand in a SET_DEST. Use const_double_operand
8386 instead of an explicit test against CONST_DOUBLE.
8387 (movsf_const_lo): Add missing register mode.
8388 (goto_handler_and_restore): Add auxiliary test for Pmode.
8389 (flush): Adjust to use address_operand.
8390 (return_sf_no_fpu): Add missing output constraint.
8392 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
8394 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
8395 for call return value.
8396 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
8398 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
8400 * toplev.c (main): Only warn about options for other languages.
8401 * collect2.c (main): Pass -w to sub-gcc.
8403 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
8405 * flow.c (propagate_block): Add call-clobbered registers to
8408 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
8409 zapping mem_set_list.
8410 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
8411 (mark_set_1, mark_used_regs): Likewise.
8413 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
8415 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
8417 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8419 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
8420 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
8421 options. Also add a new item "C-only Warning Options" to the
8424 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
8426 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
8427 from multiple calls.
8429 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
8431 * i386.md (call value patterns): Move to the end of the file.
8432 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
8434 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
8436 * configure.in (djgpp configuration): Define extra_objects..
8437 * configure: Rebuilt.
8438 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
8439 (DTORS_SECTION_ASM_OP): Define.
8440 (INIT_SECTION_ASM_OP): Define.
8441 (FINI_SECTION_ASM_OP): Define.
8442 (DATA_SECTION_ASM_OP): Define.
8443 (TEXT_SECTION_ASM_OP): Define.
8444 (EH_FRAME_SECTION_ASM_OP): Define.
8445 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
8446 (STARTFILE_SPEC): Add crtbegin.o.
8447 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
8448 to here from LINK_COMMAND_SPEC.
8449 (DO_GLOBAL_CTORS_BODY): Define.
8450 (CRTSTUFF_USE_FINI_SECTION): Define
8451 (HAS_INIT_SECTION): Delete.
8453 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
8455 * Makefile.in (all.cross): Depend on xcpp$(exeext).
8457 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
8459 * pa.h (PREDICATE_CODES): New.
8461 * genrecog.c (validate_pattern): Condense the destination
8464 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
8466 * alpha.md (call-1): Supply missing mode for operator.
8467 (*): Add missing output reload constraints. Remove constraints
8470 * i386.h (SPECIAL_MODE_PREDICATES): New.
8471 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
8472 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
8473 (addsi_lea_3): Add missing mode for op 3.
8474 (prologue_set_got, prologue_get_pc): Add missing modes.
8475 (*) Add missing output reload constraints.
8477 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
8479 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
8480 check for member bit-size overflow and use var_size if it occurs.
8481 (layout_record): Use bitsize_int() to define the type size in bits.
8482 Likewise for computation and assignment to DECL_FIELD_BITPOS.
8483 (layout_decl): Likewise when assigning to DECL_SIZE.
8485 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
8487 * genrecog.c (validate_pattern): Typo last change. Verify
8488 that output operands have output reloads.
8490 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
8492 * genrecog.c (special_mode_pred_table): New.
8493 (NUM_SPECIAL_MODE_PREDS): New.
8494 (find_operand): New.
8495 (validate_pattern): New argument `insn'. Warn for assignment to
8496 any predicate accepting non-lvalues. Conditionaly warn for
8497 match_operand without a mode. Try much harder to match source
8498 and destination modes on a set.
8499 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
8501 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
8503 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
8505 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
8507 * combine.c (simplify_logical): Recognize xor pattern that encodes
8510 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8512 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
8515 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
8517 * ggc-page.c (MAP_FAILED): Provide default.
8519 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
8521 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
8522 * sparc.h (PREDICATE_CODES): Update.
8524 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
8526 * alpha.c (some_ni_operand): New.
8527 * alpha-protos.h: Declare it.
8528 * alpha.h (PREDICATE_CODES): Update.
8529 * alpha.md (sXaddq reload insns): Use some_ni_operand
8530 for SET_DEST instead of some_operand.
8532 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
8533 Jim Wilson <wilson@cygnus.com>
8535 * genrecog.c (maybe_both_true_2): Don't compare modes of
8537 (process_tree): Elide peephole2_insns. Invoke simplify_tests
8538 after find_afterward.
8539 (debug_decision_1): Dump next and afterward codes.
8541 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
8543 * rtl.c (dump_and_abort): Remove.
8544 (fatal_with_file_and_line): New.
8545 (fatal_expected_char): New.
8546 (read_rtx_lineno, read_rtx_filename): New.
8547 (read_skip_spaces): Track line number.
8548 (read_name): Use fatal_with_file_and_line.
8549 (read_rtx): Use fatal_expected_char. Track line number.
8550 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
8552 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
8553 if it isn't a CODE_LABEL.
8555 * genattr.c (main): Set read_rtx_filename.
8556 * genattrtab.c (main): Likewise.
8557 * gencodes.c (main): Likewise.
8558 * genconfig.c (main): Likewise.
8559 * genemit.c (main): Likewise.
8560 * genextract.c (main): Likewise.
8561 * genflags.c (main): Likewise.
8562 * genopinit.c (main): Likewise.
8563 * genoutput.c (main): Likewise.
8564 * genpeep.c (main): Likewise.
8566 * genrecog.c (decision_test.u.insn): Add `lineno'.
8567 (pattern_lineno, error_count): New variables.
8568 (message_with_line): New.
8569 (add_to_sequence): Break out checking code to ...
8570 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
8571 (merge_insn): Use message_with_line.
8572 (make_insn_sequence): Use validate_pattern. Record insn lineno.
8573 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
8575 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8577 * expr.c (store_constructor): Clear union if constructor is empty.
8579 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
8581 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
8582 Add !endian checks. Change %{...} to %(...).
8584 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
8586 * i386.md (*addsi3_cc): Renamed from addcsi3.
8587 (*addsi3_carry): Renamed from addxsi3.
8588 (*subsi3_cc): Renamed from subcsi3.
8589 (*subsi3_carry): Renamed from subxsi3.
8590 (*xorqi_cc_1): Renamed from xorcqi_1.
8591 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
8592 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
8594 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
8596 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
8597 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
8599 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
8601 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
8602 climb up the chain of insns.
8604 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
8606 * genrecog.c (write_subroutine): Careful for null trees.
8607 (process_tree): Don't elide empty functions.
8609 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
8611 * Makefile.in (genrtl.o): Depend on ggc.h.
8612 * configure.in (valloc): Probe for it.
8613 (with-gc): Use ggc-page if valloc present.
8614 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
8615 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
8616 (ggc_alloc_string): Moved from ggc-page.c.
8617 * ggc-none.c (ggc_alloc_obj): New.
8618 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
8619 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
8620 (struct globals): Likewise for dev_zero_fd.
8621 (init_ggc): Likewise for it's initialization.
8622 (ggc_allocated_p): Move careful dereference from ...
8623 (ggc_lookup_page_table): ... here. Delete.
8624 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
8625 (alloc_anon): Use valloc if no mmap.
8626 (release_pages): Use free if using valloc.
8627 (ggc_alloc_obj): Renamed from alloc_obj.
8628 (ggc_set_mark): Renamed from mark_obj.
8629 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
8630 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
8631 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
8632 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
8633 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
8634 (ggc_collect): Use fp printing instead of our own rounding.
8635 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
8636 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
8637 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
8638 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
8639 (struct ggc_string, struct ggc_any): Delete.
8640 (offsetof): Provide default definition.
8641 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
8643 (struct ggc_mem): New, from corpse of ggc_any.
8644 (struct ggc_status): Delete.
8645 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
8646 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
8647 (n_strings_collected, n_anys_collected): Delete.
8648 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
8649 (ggc_alloc_string, ggc_alloc): Delete.
8650 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
8651 (ggc_free_string, ggc_free_any): Delete.
8652 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
8653 (ggc_compare_addresses, ggc_mark_string): Delete.
8654 (ggc_mark_string_if_gcable, ggc_mark): Delete.
8655 (search_data): Delete.
8656 (struct globals): New.
8657 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
8658 (tree_insert, tree_lookup): New.
8659 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
8660 (clear_marks, sweep_objs): New.
8661 (ggc_collect): Gut. Use clear_marks, sweep_objs.
8662 (init_ggc): Set allocated_last_gc.
8663 (ggc_push_context): Gut. Use G.context.
8664 (ggc_pop_context): Likewise.
8665 (ggc_pop_context_1): New.
8666 (debug_ggc_tree): New.
8667 (debug_ggc_balance, tally_leaves): New.
8668 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
8669 (ggc_mark_string_if_gcable): Remove decl.
8670 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
8671 (ggc_mark_rtvec_children): New.
8672 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
8673 (ggc_mark_if_gcable): New decl.
8674 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
8675 (ggc_alloc_tree, ggc_alloc): Likewise.
8676 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
8677 (ggc_alloc_obj): New decl.
8678 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
8679 (ggc_alloc_tree, ggc_alloc): Likewise.
8680 (ggc_set_mark): New decl.
8681 * rtl.h (struct rtx_def): Remove gc_mark.
8682 (struct rtvec_def): Likewise.
8683 * tree.h (struct tree_common): Likewise.
8685 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
8687 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
8688 float_format and thread_file definitions.
8689 * configure: Rebuilt.
8691 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
8693 * extend.texi (Function Names): Document types of function names.
8695 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8697 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
8698 an earlyclobbered output conflict with RELOAD_INPUT reloads.
8700 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8702 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
8704 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8706 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
8708 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
8710 * collect2.c (main): Do prelimnary link on AIX if rflag.
8712 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8714 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
8715 __CTOR_LIST__ in opposite order, which is the correct order for sorted
8717 (__do_global_dtors): similarly for __DTOR_LIST__.
8719 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8720 Diego Novillo <dnovillo@cygnus.com>
8722 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
8725 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
8727 * fixincl/*: Merged "no_bogosity" branch
8728 * fixincl/fixlib.h: protect against doubly defining t_bool
8729 * fixincl/server.h: protect against doubly defining t_bool
8731 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
8733 * genoutput.c: Include toplev.h.
8735 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
8737 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8739 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
8740 * configure: Regenerate.
8742 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
8744 * gcse.c (delete_null_pointer_checks): Returns void.
8746 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8748 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
8749 * emit-rtl.c (copy_insn_1): Likewise.
8751 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
8753 * config/mips/mips.c (mips_build_va_list): Correct
8754 TREE_CHAIN setting when hard-float.
8755 (mips_va_start): Use corrected setting.
8756 (mips_va_arg): Likewise. Also pass a tree to build of
8757 POSTINCREMENT_EXPR rather than a naked 'int'.
8759 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
8761 * ggc.h (ggc_push_context): Fix comment.
8762 (ggc_pop_context): Likewise.
8763 (mark_string_if_gcable): Likewise.
8764 * ggc-common.c (ggc_mark_rtx_children): Use
8765 ggc_mark_string_if_gcable.
8766 * ggc-page.c (ggc_lookup_page_table): New function.
8767 (ggc_allocated_p): Likewise.
8768 (mark_obj): Fix formatting.
8769 (ggc_mark_string_if_gcable): New function.
8770 * ggc-simple.c (ggc_allocated_strings): New variable.
8771 (ggc_strings_used): Likewise.
8772 (ggc_compare_addresses): New function.
8773 (ggc_pop_context): Pop the `any' memory too.
8774 (ggc_mark_string_if_gcable): New function.
8775 (ggc_collect): Initialize and tear down ggc_allocated_strings.
8777 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
8779 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
8780 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
8781 * rs6000.c (expand_block_move): Match movstrsi_?reg register
8784 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
8786 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
8787 (sched_reg_live_length, sched_reg_basic_block): Delete.
8788 (current_block_num, bb_live_regs, old_live_regs): Delete.
8789 (dead_notes, struct sometimes): Delete.
8790 (sched_note_set, birthing_insn_p): Delete.
8791 (adjust_priority): Gut useless reg lifetime code.
8792 (create_reg_dead_note, attach_deaths): Delete.
8793 (attach_deaths_insn, new_sometimes_live): Delete.
8794 (finish_sometimes_live): Delete.
8795 (find_pre_sched_live, find_post_sched_live): Delete.
8796 (update_reg_usage): Delete.
8797 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
8798 (schedule_insns): Delete reg lifetime code.
8799 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
8800 (unlink_other_notes): Adjust REG_NOTE commentary.
8801 (reemit_notes): Use REG_SAVE_NOTE.
8802 (schedule_block): Likewise.
8803 (schedule_region): Allocate bitmap of blocks in region. Use
8804 count_or_remove_death_notes. Use update_life_info.
8806 * rtl.h (REG_SAVE_NOTE): New.
8807 * rtl.c (reg_note_name): Update.
8809 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
8811 * combine.c (refresh_blocks, need_refresh): New.
8812 (combine_instructions): Allocate refresh_blocks. Invoke
8813 update_life_info if needed.
8814 (distribute_notes): Mark refresh_blocks instead of installing
8816 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
8817 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
8819 * Makefile.in (recog.o): Depend on basic-block.h.
8821 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
8823 * genrecog.c (add_to_sequence): Thinko last change: delete
8824 shadowing allow_const_int variable.
8826 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8828 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
8829 __GNUC__ and __GNUC_MINOR__.
8831 * gansidecl.h: Likewise.
8837 * toplev.h: Likewise.
8843 * varray.c: Likewise.
8845 * varray.h: Likewise.
8847 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8849 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
8850 use one before a jump table.
8852 * rtl.def (ADDRESS): Change documentation to match reality.
8853 * md.texi: Don't document it.
8854 * gmicro.md (load address pattern): Use 'p' constraint, delete use
8857 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
8859 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
8861 * genrecog.c (add_to_sequence): Move allow_const_int test outside
8862 known predicate block; default allow_const_int true.
8863 (debug_decision_list): New.
8865 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
8867 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
8869 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
8871 * gcse.c (gcse_main): Avoid global optimizations if we have a
8872 large number of basic blocks and the ratio of edges to blocks
8874 (delete_null_pointer_checks): Likewise.
8876 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
8878 * c-common.c (check_format_info): Warn if format string isn't a
8881 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8883 * configure.in (arm*-*-*): Don't let autoconf remove brackets
8884 * configure: regenerate
8886 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
8888 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
8889 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
8890 (peepholes): Re-enable.
8892 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
8894 * Makefile.in (flow.o): Depend on TREE_H.
8895 * basic-block.h (REG_SET_EQUAL_P): New.
8898 (free_regset_vector): Remove declaration.
8899 (flow_delete_insn_chain): Declare.
8900 (enum update_life_extent): New.
8901 (update_life_info, count_or_remove_death_notes): Declare.
8902 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
8903 Verify register live at bb->global_live_at_start before adding USE.
8904 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
8905 (CLEAN_ALLOCA): New.
8907 (PROP_*): New flags.
8908 (find_basic_blocks_1): Use alloc_EXPR_LIST.
8909 (clear_edges): Zero n_edges.
8910 (make_edge): Increment n_edges.
8911 (split_edge): Don't allocate bb->local_set. Increment n_edges.
8912 (flow_delete_insn_chain): Export.
8913 (delete_block): Decrement n_edges.
8914 (merge_blocks_nomove): Likewise.
8915 (life_analysis): Give life_analysis_1 PROP flags.
8916 (verify_wide_reg_1, verify_wide_reg): New.
8917 (verify_local_live_at_start): New.
8918 (update_life_info): Rewrite to call into propogate_block.
8920 (mark_regs_live_at_end): After reload, if epilogue as rtl,
8921 always mark stack pointer. Conditionally mark PIC register.
8922 After reload, mark call-saved registers, return regsiters.
8923 (life_analysis_1): Accept PROP flags not remove_dead_code.
8924 Call mark_regs_live_at_end before zeroing regs_ever_live.
8925 Use calculate_global_regs_live. Copy global_live_at_end before
8926 calling final propagate_block. Zero reg_next_use on exit.
8927 (calculate_global_regs_live): New.
8928 (allocate_bb_life_data): Don't allocate bb->local_set.
8929 (init_regset_vector, free_regset_vector): Remove.
8930 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
8931 Test flags before every operation. Warn if prologue/epilogue insn
8932 would have been deleted.
8933 (mark_set_regs, mark_set_1): Accept and use FLAGS.
8934 Use alloc_EXPR_LIST.
8935 (mark_used_regs): Accept and use FLAGS, not FINAL.
8936 Remove special handling for RETURN.
8937 (try_pre_increment): Use alloc_EXPR_LIST.
8938 (dump_flow_info): Dump n_edges.
8939 (unlink_insn_chain, split_hard_reg_notes): Remove.
8940 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
8941 (find_insn_with_note, new_insn_dead_notes): Remove.
8942 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
8943 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
8944 (replace_insns): Remove.
8945 (count_or_remove_death_notes): New.
8946 (verify_flow_info): Abort on error after all checks.
8947 (remove_edge): Decrement n_edges.
8948 (remove_fake_edges): Tweek format.
8949 * haifa-sched.c (schedule_insns): Use split_all_insns.
8950 * output.h (update_life_info): Remove declaration.
8951 * recog.c (split_all_insns): From the corpse of split_block_insns,
8952 do the whole function block by block. Use update_life_info.
8953 (recog_last_allowed_insn): New.
8954 (recog_next_insn): Mind it.
8955 (peephole2_optimize): Set it. Walk backwards through blocks.
8956 Use update_life_info.
8957 * rtl.h (update_flow_info, replace_insns): Remove declarations.
8958 (split_all_insns): Declare.
8959 * toplev.c (rest_of_compilation): Thread prologue before flow2.
8960 Use split_all_insns.
8962 * i386.md (or -1 peep2s): Disable.
8964 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
8966 * config/mips/mips.md (movstrsi+[123]) : Combine these into
8967 a single pattern. Scrap the 'd' versions as unnecessary.
8969 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
8970 tablejump_mips162,tablejump_internal4): The operands to a
8971 label_ref must be VOIDmode.
8973 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8975 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
8977 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
8979 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
8981 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
8983 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
8984 cache every function if ggc_p.
8986 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8988 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
8989 instead of copy_rtx. Accept sequences that contain asm statements.
8990 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
8991 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
8992 orig_asm_operands_vector, copy_asm_operands_vector,
8993 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
8995 * rtl.h (copy_insn, copy_insn_1): Declare.
8997 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8999 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
9001 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
9002 arguments to `current_file_function_operand'.
9004 * genrecog.c: Include hard-reg-set.h and resource.h in the
9005 generated output file.
9007 * real.c: Include tm_p.h.
9009 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9011 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
9014 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
9016 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
9017 before the fctiwz insn.
9019 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9020 Mark Mitchell <mark@codesourcery.com>
9022 * tree.c (make_lang_type_fn): New funtion pointer.
9023 (make_lang_type): Call it.
9024 * tree.h (make_lang_type): Declare.
9025 (make_lang_type_fn): Likewise.
9026 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
9028 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
9030 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
9031 make sure that HIGH instructions are copied into BASE_REGS.
9033 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
9035 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
9037 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
9039 * c-decl.c (finish_struct): Use simpler method of
9040 removing elements of a singly-linked list.
9042 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
9044 * alpha.md (peephole2's): Comment out peephole2's that generate
9047 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
9049 * genrecog.c (add_to_sequence): Disable mode check for
9052 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9054 * ggc-simple.c (init_ggc): Set empty_string.
9056 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
9058 * configure.in: Detect mmap. Add --with-gc=foo to select
9059 garbage collector; default to page if mmap available.
9060 * Makefile.in (GGC): Substitute.
9062 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
9064 * c-decl.c (ggc_p): Enable.
9066 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9068 * flow.c (verify_flow_info): Make it extern & unconditionally define.
9070 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
9072 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
9073 string for little-endian-data.
9075 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
9077 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
9078 case somebody tries to compile --enable-checking code with gcc
9081 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
9083 * genrecog.c (add_to_sequence): Verify operand to label_ref is
9086 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
9088 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
9089 * jump.c (jump_optimize_1): Document why.
9091 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9093 * collect2.c (scan_prog_file, scan_libraries): Prototype function
9094 pointers and casts for `int_handler' and `quit_handler'.
9096 * flow.c (verify_flow_info, split_hard_reg_notes,
9097 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
9098 remove_edge, remove_fake_successors): Add static prototypes.
9099 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
9100 (mark_set_1): Initialize variable `regno'.
9101 (unlink_insn_chain): Likewise for variable `curr'.
9102 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
9104 * loop.c (strength_reduce): Initialize variable
9105 `unrolled_insn_copies'.
9106 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
9107 prototypes. Change these functions to take const PTR parameters
9108 to avoid prototype conflict when used as the comparson argument
9110 (check_dbra_loop): Initialize variable `comparison_val'.
9112 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
9113 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
9114 (find_valid_class): Initialize variable `best_class'.
9115 (find_reloads): Call memcpy, not bcopy.
9117 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
9118 (hard_reg_use_compare): Don't needlessly cast away const.
9119 (reload_reg_class_lower): Likewise.
9120 (choose_reload_regs): Initialize variable `regno'.
9122 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
9124 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
9126 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
9128 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
9129 ({,d}discard): Add forward declarations. Declare parameter as
9131 (main_without_main): Explicitly declare return type to be int.
9132 (memcpy): Properly declare.
9134 * libgcc2.c (toplevel): If inhibit_libc is defined and not
9135 building the trampoline support, declare malloc, free, and
9137 (__clear_cache): Mark arguments as potentially unused.
9139 * frame.c (toplevel): If inhibit_libc is defined, declare
9142 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
9144 * flow.c (make_edge): Accept an optional 2D bitmap in which
9145 to cache edge existence. Update all callers.
9146 (make_label_edge, make_eh_edge): Pass through the edge cache.
9147 (make_edges): Provide the cache.
9149 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9151 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
9153 (local_mbtowc): Change the type of variable `i' from int to size_t.
9155 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
9156 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
9158 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
9160 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
9161 after other includes that define the appropriate types. Include
9162 tm_p.h for getting user prototypes.
9163 * ggc-callbacks.c (toplevel): Ditto.
9164 * ggc-none.c (toplevel): Ditto.
9165 * gcc-page.c (toplevel): Ditto.
9166 * ggc-simple.c (toplevel): Ditto.
9168 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
9169 Jonathan Larmour <jlarmour@cygnus.co.uk>
9171 * config/mips/mips.c (mips_move_2words): Split doubles if
9172 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
9174 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
9176 * genrecog.c (struct decision_test): New.
9177 (struct decision): Remove test-related members, sort the rest by size.
9178 (IS_SPLIT): Simplify.
9179 (new_decision, new_decision_test): New.
9180 (add_to_sequence): Use them. No special handling for args of
9182 (maybe_both_true): Renamed from not_both_true; return sense changed.
9183 (maybe_both_true_1, maybe_both_true_2): New. Broken out
9184 of maybe_both_true and adjusted for decision_test.
9185 (position_merit): Remove.
9186 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
9187 (merge_accept_insn): New, broken out of merge_trees.
9188 (merge_trees): Use them. No special case for c_test; no node
9189 splitting; use test type instead of position_merit.
9190 (factor_tests): New.
9191 (simplify_tests): New.
9192 (break_out_subroutines): Don't write code now.
9193 (find_afterward): New.
9194 (write_afterward, write_switch, write_cond): New.
9195 (write_action, is_unconditional): New.
9196 (write_node): New. Use them.
9197 (write_tree_1): Rewrite. Use the new functions above.
9198 (write_tree): Remove afterward processing.
9199 (write_subroutine): Simplify function variant emission.
9200 (write_subroutines): New.
9201 (same_codes, clear_codes): Remove.
9202 (same_modes, clear_modes): Remove.
9203 (write_header): New, broken out of main.
9204 (make_insn_sequence): Use new_decision and new_decision_test.
9205 (process_tree): New, broken out of main.
9206 (main): Adjust for merge_trees interface change.
9207 Don't #define operands in the output file.
9208 (record_insn_name): New, broken out of make_insn_sequence.
9209 (debug_decision_2, debug_decision_1, debug_decision_0): New.
9210 (debug_decision): New.
9212 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
9214 * resource.c (find_free_register): Mark class_str argument const.
9215 * resource.h: Update prototype to match.
9217 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
9218 * i386.md: Give all anonymous insns names.
9220 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
9222 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
9225 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
9227 * toplev.c (dbr_sched_time): Unconditional.
9228 (peephole2_time): New.
9229 (compile_file): Add pass numbers to all of the dump file suffixes.
9230 Dump peephole2_time. Don't dump times for non-applicable passes.
9231 (rest_of_compilation): Add pass numbers to dump file suffixes.
9232 Conditionalize calls to the scheduler.
9233 * invoke.texi: Update.
9235 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
9237 * flow.c (make_edges): Fix insn iteration.
9238 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
9239 (find_basic_blocks_1): Fix spelling mistake.
9241 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
9243 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
9244 always have side-effects. Use memset not bzero.
9245 (make_node): Likewise.
9247 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
9249 * stmt.c (expand_anon_union_decl): When any of the elements of the
9250 union is addressable, so is the entire union.
9252 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
9254 * sbitmap.c (sbitmap_ones): Don't set too many bits.
9256 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
9257 * bitmap.c (bitmap_operation): Return true iff TO changed.
9258 (bitmap_equal_p): New.
9259 (bitmap_bit_p): Tidy arithmetic.
9260 (debug_bitmap_file): Likewise.
9262 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
9264 * toplev.c (rest_of_compilation): Turn on cse_not_expected
9265 before cse2 instead of after.
9267 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
9269 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
9272 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9274 * cppinit.c (is_idchar initializer): Loosen tests to accept
9277 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
9279 * mips.md: Define conditional move patterns for floating point
9280 operands and DI mode conditions.
9282 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
9284 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
9285 always have side-effects.
9287 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
9289 * mn10200.c (asm_file_start): Fix typo.
9291 * cppinit.c (is_idchar initializer): Tighten tests for when
9292 to put the table into initialized memory.
9294 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
9295 not an array of rtunion.
9296 * gcc-page.c (ggc_alloc_rtvec): Similarly.
9297 * gcc-simple (ggc_free_rtvec): Similarly.
9299 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
9302 * mbchar.h: Add missing #endif.
9304 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
9305 (FPBIT, DPBIT): Define.
9307 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9309 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
9311 * profile.c (instrument_arcs, output_gcov_string,
9312 tablejump_entry_p): Add static prototypes.
9313 (output_gcov_string): Constify a char*.
9315 * regmove.c (replacement_quality, fixup_match_2): Add static
9318 * resource.h (reg_dead_p): Add extern prototype.
9320 * rtl.c (trim_filename): Add static prototype.
9322 * scan-decls.c (skip_to_closing_brace): Likewise.
9324 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
9325 (expand_end_case): Initialize variable `range'.
9326 (emit_case_nodes): Remove unused prototype `rtx_fn'.
9328 * varasm.c (asm_emit_uninitialised): Add static prototype.
9329 (asm_emit_uninitialised, assemble_variable): Mark parameter with
9332 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9334 * cpplib.c (if_directive_nameo): Add static prototype.
9336 * cse.c (cse_insn): Remove unused variable `p'.
9338 * except.c (create_rethrow_ref, push_entry,
9339 receive_exception_label, new_eh_region_entry, find_func_region,
9340 clear_function_eh_region, process_nestinfo): Add static prototypes.
9341 (get_reg_for_handler): Hide definition.
9342 (process_nestinfo): Initialize variable `extra_handlers'.
9344 * expr.h (expand_builtin_longjmp): Add extern prototype.
9346 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
9348 * function.c (prepare_function_start): Likewise.
9349 (pop_function_context_from): Mark parameter `context' with
9351 (push_temp_slots_for_block, flush_addressof): Hide definition.
9353 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
9354 solve_program_flow_graph, calculate_branch_probs,
9355 function_summary, main, fancy_abort): Add prototypes.
9357 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
9358 (add_hash): Constify a char*.
9360 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
9361 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
9362 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
9364 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
9366 * lists.c (free_list, zap_lists): Likewise.
9368 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9370 * alias.c (nonlocal_reference_p): Add static prototype.
9372 * bitmap.c (bitmap_element_allocate): Prototype args in function
9375 * builtins.c (stabilize_va_list): Add static prototype.
9376 (expand_builtin_va_arg): Constify a char*.
9378 * c-lex.c (getch, put_back, extend_token_buffer_to,
9379 read_line_number, token_getch, token_put_back): Add static
9382 * c-parse.gperf (hash, is_reserved_word): Likewise.
9384 * cccp.c (is_dir_separator): Likewise.
9386 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9388 * graph.h: New file to prototype functions exported by graph.c.
9390 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
9392 * graph.c: Include graph.h.
9394 * toplev.c: Likewise. Remove redundant prototypes.
9396 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
9398 * invoke.texi: Removed duplicated description for -Q.
9400 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
9402 * extend.texi: Grammar fix in __extension__ text.
9404 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
9406 * md.texi (define_peephole2): New section.
9408 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
9410 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
9411 (mov $-1 to or peepholer): Enable for pentium when optimizing for
9414 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
9416 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
9418 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
9420 * i386.md (ffs expander): Emit Pentium friendly code for
9423 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
9425 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
9429 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9431 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
9433 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
9435 * config/m68k/m68k.c (use_return_insn): Return false if the pic
9438 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9440 * md.texi (No Constraints): Delete section.
9441 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
9442 * final.c (final_scan_insn): We always have register constraints.
9443 * genattrtab.c: Don't include "insn-config.h".
9444 (write_attr_case): We always have register constraints.
9445 * genconfig.c (register_constraint_flag): Delete.
9446 (walk_insn_part): Don't check whether we have register constraints.
9447 (main): Don't write out "#define REGISTER_CONSTRAINTS".
9448 * genoutput.c (have_constraints): Delete.
9449 (main): Don't set it.
9450 (output_operand_data): We always have constraints.
9451 (scan_operands): Likewise.
9452 (compare_operands): Likewise.
9453 * local-alloc.c (block_alloc): We always have constraints.
9454 (requires_inout): Always compile this function.
9455 * recog.c (extract_insn): We always have constraints.
9456 (constrain_operands, reg_fits_class_p): Always compile these
9458 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
9460 (struct insn_operand_data): Likewise.
9461 * regclass.c (regclass): We always have constraints.
9462 (record_reg_classes, copy_cost, record_address_regs,
9463 auto_inc_dec_reg_p): Always compile these functions.
9464 * regmove.c (regmove_optimize): We always have constraints.
9465 * reload.c (find_reloads): Likewise.
9466 * reload1.c (reload): Likewise.
9467 (reload_cse_simplify_operands): Likewise.
9468 * i860.c (output_delay_insn): Likewise.
9470 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
9472 * iris6.h (BUILD_VA_LIST_TYPE): Define.
9474 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9476 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
9477 for the va_list record.
9479 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
9481 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
9484 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
9486 * alias.c: Include insn-flags.h.
9487 * Makefile.in (alias.o): Update.
9489 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
9491 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
9492 to LTU and GEU. Handle more cases using sbb.
9494 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
9496 * i386.md (truncatexfdf splitters): Do not use subreg.
9497 (fop XFmode patterns): Fix mode in operand testing.
9499 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
9501 * jump.c (jump_optimize_1): Amend last change to test only the
9502 form of the operand, not the insn.
9504 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
9505 not register_operand to determine when B may need preloading.
9507 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
9509 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
9510 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
9511 (call-value patterns): Move to end of file.
9512 (*): Remove mode from label_ref in (pc) context.
9513 (movstrqi): Use memory not general_operand for BLKmode operands.
9514 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
9515 to register_operand operands.
9516 (peep2 patterns): Convert from commented-out peephole patterns.
9518 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9520 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
9521 to BUILT_IN_INIT_DWARF_REG_SIZES.
9522 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
9523 Renamed from BUILT_IN_DWARF_REG_SIZE; call
9524 expand_builtin_init_dwarf_reg_sizes.
9525 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
9526 with __builtin_init_dwarf_reg_size_table.
9527 * dwarf2out.c (struct reg_size_range): Delete.
9528 (expand_builtin_init_dwarf_reg_sizes): New function.
9529 (expand_builtin_dwarf_reg_size): Delete.
9530 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
9531 (expand_builtin_dwarf_reg_size): Don't declare.
9532 * libgcc2.c (dwarf_reg_size_table_initialized): New.
9533 (dwarf_reg_size_table): New.
9534 (init_reg_size_table): New function.
9535 (copy_reg): Use dwarf_reg_size_table.
9536 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
9539 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
9541 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
9542 Correctly build argument list to constructor and destructor functions.
9544 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
9546 * c-tree.h (warn_float_equal): Declare.
9547 * c-decl.c (warn_float_equal): Define.
9548 (c_decode_option): Recognize -W[no-]float-equal.
9549 * c-typeck.c (build_binary_op): Conditionally warn
9550 about equality tests of floating point types.
9551 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
9552 * invoke.texi: Add docs for -Wfloat-equal warning.
9554 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
9556 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
9557 generating RTL directly.
9558 * mips.h (INIT_TARGET_OPTABS): Likewise.
9559 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
9561 * expr.h (init_mov_optab): Delete declaration
9563 * h8300.c (WORD_REG_USED): Update to avoid useless register
9564 saves in interrupt functions and functions which never return.
9566 * cse.c (struct set): Delete inner_dest_loc field.
9567 (cse_insn): Remove assignments to inner_dest_loc field.
9569 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
9571 * ggc-page.c: Don't include <unistd.h> etc taken care of
9572 by "system.h". Include <sys/mman.h> afterward.
9574 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
9576 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
9579 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
9581 * xcoffout.c (xcoffout_declare_function): Add documentation.
9582 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
9583 TARGET_64BIT. Compare constant to -1, not bit pattern.
9584 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
9585 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
9588 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
9590 * dwarf2out.c (add_abstract_origin_attribute): Abort if
9592 (gen_inlined_enumeration_type_die): Do not abort if the type has
9593 not been writeen out.
9594 (gen_inlined_structure_type_die): Do not abort if the type has
9595 not been writeen out.
9596 (gen_inlined_union_type_die): Do not abort if the type has
9597 not been writeen out.
9598 (gen_tagged_type_instantiation_die): Do not abort if the type
9599 has not been written out.
9601 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9603 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
9605 * reg-stack.c (straighten_stack): Copy hard reg set with
9608 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
9610 * builtins.c (stabilize_va_list): Stabilize array type va_list
9611 to a pointer type, not the base record type.
9612 (expand_builtin_va_copy): Dereference the pointers explicitly;
9613 use the correct size for the copy.
9615 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
9616 (rs6000_va_arg): Likewise.
9618 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
9620 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
9622 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
9624 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
9626 (DECL_BUILT_IN_CLASS): Adjust accordingly.
9628 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
9630 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
9631 (init_ggc): Use it instead of a constant.
9632 (ggc_collect): Bound allocated_last_gc by it.
9634 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
9636 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
9639 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
9641 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
9642 (mips*-*-openbsd*): Let big endian configuration be a fragment.
9644 * config/mips/openbsd.h: New, OpenBSD little endian target.
9645 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
9646 * config/mips/xm-openbsd.h: New, OpenBSD host.
9648 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
9650 * config/m68k/m68k.c (output_function_prologue,
9651 output_function_epilogue): Use
9652 current_function_uses_pic_offset_table instead of regs_ever_live
9653 to decide whether to save/restore pic register.
9654 (legitimize_pic_address): Don't modify regs_ever_live any more.
9656 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
9658 * function.h (struct function): Add x_dont_save_pending_sizes_p.
9659 * stor-layout.c (variable_size): Don't add sizes to the pending
9660 sizes list if x_dont_save_pending_sizes_p is set.
9662 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
9664 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
9665 for symbolic_operand().
9666 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
9668 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9670 * combine.c (gen_rtx_combine): Add missing call to va_end().
9672 * final.c (asm_fprintf): Likewise.
9674 * genattrtab.c (attr_rtx): Likewise.
9676 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
9678 * cse.c: Update comments.
9679 (cse_insn): When converting a conditional/computed jump into
9680 an unconditional jump, always make sure a BARRIER immediately
9681 follows the converted jump. Do not delete unreachable code.
9682 (cse_basic_block): Do not delete unreachable code.
9683 * toplev.c (rest_of_compilation): Move call to
9684 delete_trivially_dead_insns after the conditional call to
9687 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9689 * collect2.c (make_temp_file): Don't prototype.
9691 * gcc.c (make_temp_file): Likewise.
9693 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
9695 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
9697 * varasm.c (asm_emit_uninitialised): New function: Generate
9698 the assembler statements necessary to declare an uninitialised
9700 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
9702 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
9703 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
9705 (assemble_variable): Use asm_emit_uninitialised to emit an
9706 uninitialised variable.
9708 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
9710 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
9711 constant on a 64 bit host. Patch supplied by Geoffrey Keating
9712 <geoffk@cygnus.com>.
9714 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9716 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
9717 * c-common.h (builtin_function): Don't declare.
9719 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
9721 (pushdecl): Likewise.
9722 (finish_decl): Likewise.
9723 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
9724 int. All callers changed.
9725 Set the builtin's DECL_BUILT_IN_CLASS.
9726 * tree.h (enum built_in_class): New.
9727 (enum built_in_function): Delete NOT_BUILT_IN.
9728 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
9730 (DECL_SET_FUNCTION_CODE): Likewise.
9731 (DECL_BUILT_IN_CLASS): New macro.
9732 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
9733 (struct tree_decl): Split builtin function code field into a
9735 (builtin_function): Declare.
9737 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
9739 * optabs.c (init_traps): Fix typo in last change.
9741 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
9743 * toplev.c (rest_of_decl_compilation): Update comment.
9745 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
9747 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
9748 in .sbss if appropriate.
9749 (EXTRA_SECTION_FUNCTIONS): Add sbss.
9750 (SBSS_SECTION_ASM_OP): New macro.
9751 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
9752 (EXTRA_SECTIONS): Add in_sbss.
9753 * config/mips/mips.h: Prototype sbss_section.
9755 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
9757 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
9760 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
9762 * optabs.c (init_traps): Register trap_rtx as a GC root.
9764 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9766 * config/mips/mips.c (function_arg_pass_by_reference): Define
9767 unconditionally, since it's called unconditionally.
9769 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
9771 * toplev.c (documented_lang_options): Add -fshort-wchar.
9772 * c-decl.c (c_decode_option): Likewise.
9773 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
9775 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
9776 * gcc.c (default_compilers): If -fshort-wchar,
9777 override __WCHAR_TYPE__.
9778 * tm.texi (C Dialect Options): Add -fshort-wchar.
9780 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
9781 symbol for a variable.
9783 * cpplib.h (CPP_PREPROCESSED): New macro.
9784 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
9785 we're seeing this input for a second time.
9787 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
9789 * emit-rtl.c (init_emit_once): Initialize modes first.
9791 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
9793 * config/i386/i386.c (pic_label_name): Change to char pointer.
9794 (global_offset_table): New variable.
9795 (load_pic_register): Fill global_offset_table if it hasn't
9796 already been done. Allocate pic_label_name dynamically.
9797 * ggc.h (empty_string): New variable.
9798 * ggc-simple.c (empty_string): Likewise.
9799 (init_ggc): Allocate empty_string and add as root.
9800 * stmt.c (digit_strings): New variable.
9801 (init_stmt): Add last_block_end_note as root. Allocate and
9802 initialize digit_strings.
9803 (expand_asm_operands): Use empty_string instead of string
9804 constant. Use digit_strings instead of string constants.
9805 * profile.c (init_arc_profiler): Allocate string with
9806 ggc_alloc_string instead of xmalloc.
9807 (output_func_start_profiler): Likewise.
9808 * c-typeck.c (digest_init): Check if init is error_mark_node.
9810 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
9811 Richard Henderson <rth@cygnus.com>
9813 * ggc-page.c: New file.
9814 * Makefile.in (ggc-page.o): New.
9816 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
9818 * invoke.texi: Document -fdelete-null-pointer-checks
9819 * toplev.c (flag_delete_null_pointer_checks): New.
9820 (f_options): Add entry for -fdelete-null-pointer-checks.
9821 (rest_of_compilation): Conditionalize null pointer check
9822 elimination on flag_delete_null_pointer_checks.
9823 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
9825 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
9827 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
9828 copyright notice and special exception to GPL.
9830 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9832 * abi64.h (mips_function_value): Add prototype arguments.
9834 * mips-protos.h: New file with mips prototypes.
9836 * mips.c: Include "tm_p.h".
9837 (mktemp, lookup_name): Add prototype arguments.
9838 (extern_list, string_constant, mips_fill_delay_slot,
9839 mips_output_external, mips_output_external_libcall,
9840 mips_output_filename, mips_declare_object, function_prologue,
9841 mips_expand_prologue, function_epilogue, mips16_constant,
9842 build_mips16_function_stub, mips_output_conditional_branch):
9844 (mips_va_start): Remove unused variable `u'.
9845 (mips_va_arg): Cast value to unsigned when comparing against one.
9847 (save_restore_insns, mips_expand_prologue): Add missing arg in
9848 call to `large_int'.
9850 * mips.h: Move prototypes to mips-protos.h.
9851 (data_section, memory_address_p, rdata_section,
9852 readonly_data_section, simple_epilogue_p, text_section): Delete
9853 prototypes delcared elsewhere.
9854 (mips_epilogue_delay_slots, print_options): Delete unused decls.
9856 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
9858 * mips.md: Delete extra args in call to `mips_move_2words'.
9860 * xm-iris6.h (alloca): Add prototype argument.
9862 * genpeep.c: Include "tm_p.h" in generated output file.
9864 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9866 * basic-block.h (find_edge_index): Change parameters.
9867 * flow.c (verify_edge_list): Pass basic_block parameters to
9868 find_edge_index instead of integers.
9870 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
9872 * combine.c (simplify_comparison): Use an unsigned shift to adjust
9875 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
9877 * gcc.1: Fix a formatting error.
9879 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9881 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
9882 i786, mn10200, mn10300, pdp11, v850.
9884 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
9886 * libgcc2.c (num_digits): Add prototype with
9887 __attribute__((const)).
9888 (__terminate): Add prototype.
9890 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
9892 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
9894 * alpha/alpha.c (print_operand): Fix type of `code'.
9895 (alpha_output_filename): Constify.
9896 * alpha/alpha.h: Move all function declarations ...
9897 * alpha/alpha-protos.h: ... here. New file.
9898 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
9899 (SECTION_FUNCTION_TEMPLATE): Likewise.
9901 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9903 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
9904 * expr.c (expand_expr): Likewise.
9905 (do_jump): Likewise.
9906 (do_store_flag): Pass ccp_store_flag to can_compare_p.
9907 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
9909 (enum can_compare_purpose): New.
9910 (can_compare_p): Adjust prototype.
9911 (prepare_cmp_insn, prepare_operand): Declare.
9912 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
9913 * optabs.c (cmp_available_p): Deleted.
9914 (expand_abs): Pass ccp_jump to can_compare_p.
9915 (can_compare_p): New arg PURPOSE. Check for combined optabs.
9916 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
9917 Call can_compare_p rather than cmp_available_p.
9918 (prepare_operand): No longer static.
9919 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
9920 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
9921 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
9922 sequence to use emit_cmp_and_jump_insns.
9923 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
9925 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
9927 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
9928 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
9929 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
9930 (plus (reg) (const_int 0))
9931 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
9933 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
9935 * rs6000.c (expand_block_move): DImode loads and stores require
9936 word-aligned displacements. Increment address registers with
9937 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
9939 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
9941 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
9942 is no name for the base type, rather than segfault. If we are
9943 writing out a complex integer type, use DW_ATE_lo_user.
9945 * expr.c (emit_move_insn_1): If we are copying a complex that fits
9946 in one word or less (complex char, complex short, or on 64 bit
9947 systems complex float) to/from a hard register, copy it through
9948 memory instead of dying in gen_{real,imag}part. If we have a
9949 short complex type, prevent inlining since it allocates stack
9952 * tree.c (build_complex_type): If we are writing dwarf2 output,
9953 generate a name for complex integer types.
9955 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9957 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
9958 * flow.c (remove_edge): Remove extra whitespace.
9959 (remove_fake_edges): Fix comment.
9960 (add_noreturn_fake_exit_edges): Use the correct name.
9962 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
9964 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
9965 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
9966 (clean): Depend on INTL_CLEAN.
9967 (maintainer-clean): Adjust.
9969 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9971 * configure.in (AC_PREREQ): Bump to 2.13.
9972 (AC_C_STRINGIZE): Call this instead of using a custom macro.
9974 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
9976 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
9978 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
9980 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
9981 (HAVE_STRINGIZE): Define.
9983 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
9985 * c-parse.in: save and restore warn_pointer_arith on __extension__
9986 along with pedantic.
9987 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
9988 Set the type of extension to itype rather than $<itype>1 kludge.
9989 * extend.texi (Alternate Keywords): Adjust documentation.
9990 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
9992 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
9994 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
9995 most assembler templates.
9997 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
9998 FP loads and stores.
9999 (following_call): Always return zero for the PA8000.
10000 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
10001 FP loads and stores.
10002 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
10004 * pa.h (BRANCH_COST): Define.
10006 * pa.md (return, return_internal): Use bve for PA2.0.
10008 * pa.md (fused multiply): Add variants which reduce height for the
10009 fused multiply, but which still generate 2 insns.
10010 (fnegabs): Similarly.
10012 * pa.md (subsi3): Turn into an expander. Create two anonymous
10013 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
10014 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
10016 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
10018 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
10020 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
10021 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
10023 * regclass.c (init_regs): Add "top_of_stack" as a garbage
10026 * flow.c (record_active_eh_regions): Terminate loop after finding
10027 the last insn in the last basic block.
10029 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10031 * config/c4x/c4x.md: Delete parallel instruction peepholes.
10033 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10035 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
10037 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10039 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
10040 splitting to not use output template.
10042 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10044 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
10045 * config/c4x/c4x.c (c4x_va_start): New function.
10047 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
10049 * genrecog.c (not_both_true): Handle correctly cases when called for
10050 tests with different positions in the insn.
10052 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10054 * machmode.h (HOST_PTR_PRINTF): Move from here ...
10056 * system.h (HOST_PTR_PRINTF): ... to here.
10058 * mips-tfile.c: Don't include machmode.h.
10060 * Makefile.in (MACHMODE_H): New variable. Update to use it.
10061 (mips-tfile.o): Don't depend on machmode.h.
10063 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10065 * haifa-sched.c (sched_analyze): Rename local variable `region' to
10066 avoid conflicts with typedef struct `region' at the top level scope.
10068 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
10070 * basic-block.h (basic_block): Add eh_beg, eh_end.
10071 * flow.c (entry_exit_blocks): Update.
10072 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
10073 Call new functions.
10074 (find_basic_blocks_1): Don't record eh_list at each bb. Use
10075 lists.c functions to allocate insn lists.
10076 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
10078 (make_eh_edge): ... here. New.
10079 (move_stray_eh_region_notes): New.
10080 (record_active_eh_regions): New.
10081 (delete_unreachable_blocks): Split out block merging ...
10082 (try_merge_blocks): ... here. New.
10083 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
10084 Dump debugging data.
10085 (merge_blocks_move_successor_nojumps): Likewise.
10086 (merge_blocks): Use eh_beg+eh_end to validate block movement.
10088 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10090 * extend.texi (Bound member functions): Document unbound pmf
10093 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10095 * flow.c (split_edge): Handle insertion on a fallthrough edge which
10096 has the EXIT_BLOCK as a dest.
10098 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10100 * flow.c (remove_edge): New function to remove an edge from the
10102 (remove_fake_successors): New function to remove fake successor edges.
10103 (remove_fake_edges): New function to remove all fake edges from the
10105 (add_fake_exit_edges): New function to add fake edges from all blocks
10106 with no successors to the exit block.
10107 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
10108 prototypes for new functions.
10110 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10112 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
10113 Use Pmode to determine whether to output .dword or .word.
10115 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
10117 * tree.c (built_in_filename): New variable.
10118 (BUILT_IN_FILENAME): New macro.
10119 (init_tree_codes): Allocate built_in_filename.
10120 (make_node): Use built_in_filename instead of string constant.
10122 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
10124 * configure.in: Add fr30 target.
10125 * configure: Regenerate.
10126 * config/fr30: New directory.
10127 * config/fr30/crti.asm: New file.
10128 * config/fr30/fr30.c: New file.
10129 * config/fr30/crtn.asm: New file.
10130 * config/fr30/fr30.h: New file.
10131 * config/fr30/fr30.md: New file.
10132 * config/fr30/lib1funcs.asm: New file.
10133 * config/fr30/t-fr30: New file.
10134 * config/fr30/xm-fr30.h: New file.
10136 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
10138 * flow.c (merge_blocks_move_successor_nojumps): Delete the
10139 BARRIER at the end of the successor, not the BARRIER before
10142 * pa.c (pa_add_gc_roots): Fix thinko in last change.
10144 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
10146 * stmt.c (any_pending_cleanups): Don't crash when
10147 current_function->stmt is unset.
10149 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10151 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
10152 other initializations that may use it for relative offsets.
10154 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10156 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
10157 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
10158 * config/i386/sol2dbg.h: Removed.
10159 * config/i386/sol2gas.h: New file, to enable gas work-around.
10160 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
10161 Don't use sol2dbg.h.
10162 * configure: Rebuilt.
10164 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
10166 * invoke.texi (-fthis-is-variable): Remove documentation.
10168 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
10170 * basic-block.h (compute_bb_for_insn): Declare.
10171 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
10172 to use; set size of basic_block_for_insn directly.
10173 (find_basic_blocks): Update.
10175 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10177 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
10179 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10181 * crtstuff.c (ON_EXIT): Delete empty macro definition.
10182 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
10184 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
10186 * c-decl.c (c_decode_option): Extend comment.
10188 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
10190 * toplev.c (progname): Make 'const char *'
10191 (flag_print_mem): Move out of main.
10192 (version_flag): Move out of main.
10193 (filename): Move out of main.
10194 (debug_args): Remove g prefix from options.
10195 (documented_lang_options): Remove cpplib specific options.
10196 (display_help): Add g prefix to debug options.
10197 (check_lang_option): Delete this function.
10198 (decode_d_option): New function: Decode -d... option.
10199 (decode_f_option): New function: Decode -f... option.
10200 (decode_W_option): New function: Decode -W... option.
10201 (decode_g_option): New function: Decode -g... option.
10202 (independent_decode_option): New function: Decode a language
10203 independent command line option.
10204 (main): Invoke lang_decode_option and then
10205 independent_decode_option on each command line option in
10208 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
10210 Revert this change. Gavin's patch to operand_equal_p is a better fix.
10211 * fold-const.c (fold_range_test): Do not try to fold the range
10212 test if the rhs or lhs has side effects.
10214 * basic-block.h (compute_flow_dominators): Declare.
10216 * gcse.c (alloc_code_hoist_mem): New function.
10217 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
10218 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
10219 (hoist_code, one_code_hoisting_pass): Likewise.
10220 (gcse_main): If optimizing for size, then hoist expressions
10221 computed in multiple dominated basic blocks.
10223 * gcse.c (invalid_nonnull_info): New function.
10224 (delete_null_pointer_checks): Likewise.
10225 * rtl.h (delete_null_pointer_checks): Declare.
10226 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
10228 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
10229 (merge-blocks_move_successor_nojumps): Likewise.
10230 (merge_blocks): Allow merging of some blocks, even if it requires
10231 physical movement of the blocks, but not if it requires new jumps.
10233 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
10234 Callers and prototype changed.
10235 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
10237 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10239 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
10240 -YP when both -p and -pg are present. From i386/sol2.h.
10242 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10244 * Makefile.in (distclean): Delete tm_p.h.
10245 * configure.in: Create a new file, "tm_p.h", from a list in
10246 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
10247 "i386/i386-protos.h".
10249 * alias.c: Include "tm_p.h".
10250 * c-typeck.c: Likewise.
10251 * calls.c: Likewise.
10253 * emit-rtl.c: Likewise.
10254 * explow.c: Likewise.
10255 * expmed.c: Likewise.
10256 * expr.c: Likewise.
10257 * final.c: Likewise.
10258 * flow.c: Likewise.
10259 * fold-const.c: Likewise.
10260 * function.c: Likewise.
10261 * gcse.c: Likewise.
10262 * global.c: Likewise.
10263 * haifa-sched.c: Likewise.
10264 * integrate.c: Likewise.
10265 * jump.c: Likewise.
10266 * local-alloc.c: Likewise.
10267 * loop.c: Likewise.
10268 * optabs.c: Likewise.
10269 * recog.c: Likewise.
10270 * reg-stack.c: Likewise.
10271 * regclass.c: Likewise.
10272 * regmove.c: Likewise.
10273 * reload.c: Likewise.
10274 * reload1.c: Likewise.
10275 * reorg.c: Likewise.
10276 * resource.c: Likewise.
10277 * stmt.c: Likewise.
10278 * stor-layout.c: Likewise.
10279 * toplev.c: Likewise.
10280 * tree.c: Likewise.
10281 * unroll.c: Likewise.
10282 * genattrtab.c (main): Make generated file include "tm_p.h".
10283 * genemit.c (main): Likewise.
10284 * genoutput.c (main): Likewise.
10285 * genrecog.c (main): Likewise.
10287 * i386.h: Delete all prototypes.
10288 * i386.c: Include "tm_p.h".
10289 (ix86_attr_length_default): Call constant_call_address_operand
10290 with correct number of arguments.
10291 * i386-protos.h: New file.
10292 * i386.md (unnamed patterns): Call constant_call_address_operand
10293 with correct number of arguments.
10294 (exception_receiver): Call load_pic_register with correct number
10297 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
10299 * c-pragma.c (mark_align_stack): Dereference the void* properly.
10301 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
10303 * rtl.h (insns_safe_to_move_p): New function.
10304 * loop.c (find_and_verify_loops): Use it.
10305 * rtlanal.c (insns_safe_to_move_p): Define it.
10307 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
10309 * c-pragma.c: Include ggc.h.
10310 * Makefile.in (c-pragma.o): Update.
10312 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10314 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
10315 (LIB_SPEC): Likewise.
10316 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
10317 Reindent -YP/-p/-pg.
10318 Copied from config/sparc/sol2.h.
10320 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
10322 * c-pragma.c (mark_align_stack): New.
10323 (init_pragma): New.
10324 * c-pragma.h (init_pragma): Declare it.
10325 * c-lex.c (init_parse): Call it.
10327 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10329 * configure.in: Pick up thread library on Solaris/x86 just
10330 like on Solaris/sparc.
10331 * configure: Rebuilt.
10333 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
10335 * rtl.h (global_rtx_index): New enum.
10336 (global_rtl): Change to array of rtx.
10337 (pc_rtx, cc0_rtx): Redefine accordingly.
10338 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
10339 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
10340 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
10341 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
10342 (const_int_rtx): Change to array of rtx.
10343 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
10345 * emit-rtl.c (global_rtl): Change to array of rtx.
10346 (const_int_rtx): Change to aray of rtx.
10347 (gen_rtx_CONST_INT): Redefine accordingly.
10348 (init_emit_once): Allocate and initialize global_rtl. Likewise
10349 for const_int_rtx. Add both as GC roots.
10350 * genattrtab.c (global_rtl): Update declaration.
10352 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
10354 * Makefile (USER_H): Add iso646.h back.
10356 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
10358 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
10359 zapping the LOG_LINKS of sched_before_next_call.
10361 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
10362 * pa.c (insn_refs_are_delayed): Renamed from
10363 insn_sets_and_refs_are_delayed.
10365 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
10367 * functiion.h (struct function): Add x_whole_function_mode_p.
10368 (retrofit_block): Declare.
10369 * function.c (retrofit_block): New function.
10370 (identify_blocks): Add assertions. Allow an incomplete set of
10371 block notes if we're still generating code for the function.
10372 * integrate.c: Include loop.h.
10373 (expand_inline_function): Call find_loop_tree_blocks to map block
10374 notes to blocks when in whole-function mode. Use retrofit_block
10375 to insert new BLOCKs for the inlined function, rather than
10377 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
10378 * Makefile.in (integrate.o): Depend on loop.h.
10380 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
10382 * tree.h (warn_about_unused_variables): Declare.
10383 * stmt.c (warn_about_unused_variables): New function, split out
10385 (expand_end_bindings): Here.
10387 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
10389 * stmt.c (preserve_subexpressions_p): Don't crash when
10390 current_function->stmt is unset.
10392 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
10394 * stmt.c (expand_start_bindings): Allow callers to pass a flag
10395 indicating that no NOTE_INSN_BLOCK_BEG note is required.
10396 (expand_start_target_temps): Use it.
10397 * except.c (expand_eh_region_start_for_decl): Likewise.
10398 * expr.c (expand_expr): Likewise.
10400 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
10402 * fold-const.c (operand_equal_p): Pay attention to side effects.
10404 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
10406 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
10407 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
10409 * tlink.c (scan_linker_output): Look for keywords before accepting
10410 a mangled name in quotes.
10412 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
10414 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
10415 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
10417 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
10419 * alpha.md: Revert Thu Nov 26 change that came in through the
10420 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
10421 Avoid earlyclobber when possible.
10423 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10425 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
10427 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
10428 Define HAVE_ON_EXIT.
10430 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10432 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
10433 CTYPE_CONV in all ctype macros.
10435 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
10438 * cexp.y (initialize_random_junk): Likewise.
10440 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
10442 * i370.c (handle_pragma): Likewise.
10444 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
10446 * v850.c (override_options): Likewise.
10448 * doprint.c (_doprnt): Likewise.
10450 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
10453 * fixinc/server.c (load_data): Likewise.
10455 * fold-const.c (real_hex_to_f): Likewise.
10457 * genattr.c (write_upcase, gen_attr): Likewise.
10459 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
10460 write_upcase): Likewise.
10462 * genemit.c (print_code): Likewise.
10464 * genopinit.c (gen_insn): Likewise.
10466 * genpeep.c (print_code): Likewise.
10468 * genrecog.c (print_code): Likewise.
10470 * optabs.c (init_libfuncs): Likewise.
10472 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
10474 * haifa-sched.c (sched_analyze): Keep the list of notes organized
10476 (reemit_notes): Likewise.
10478 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
10480 * ggc.h (ggc_root): Move to ggc-common.c.
10482 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
10483 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
10484 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
10485 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
10486 * ggc-common.c (ggc_root): Move from ggc.h.
10487 (roots): Declare, static.
10488 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
10489 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
10490 null or check/set mark bit.
10491 (ggc_mark_roots): New.
10492 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
10494 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
10496 * m32r.c: Include toplev.h.
10497 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
10498 (gen_compare): Rename swap_p to must_swap to match uses.
10499 Add default abort case.
10500 (m32r_output_function_epilogue): Remove unused variables.
10501 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
10502 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
10503 define to empty parameter list. Update all uses.
10504 (predicate decls): Use enum machine_mode not int.
10505 * m32r.md (movsi): Call abort, not fatal_insn.
10506 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
10508 1999-09-14 Andrew Haley <aph@cygnus.com>
10510 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
10511 use $0 instead of 0.
10513 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10515 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
10516 computation out of loop over hard regs.
10518 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
10520 * function.c (identify_blocks): Don't shadow a variable in an
10522 * integrate.c (integrate_decl_tree): Don't use pushlevel,
10523 pushdecl, or poplevel to build up the new BLOCK tree.
10524 (expand_inline_function): Likewise.
10525 (integrate_parm_decls): Likewise.
10527 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
10529 * c-typeck.c (qualify_type): Merge qualifiers from both types.
10531 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
10533 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
10534 * invoke.texi: Document this change.
10536 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
10538 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
10540 (mark_emit_status): Renamed from mark_emit_state.
10541 * except.c (mark_eh_status): Renamed from mark_eh_state.
10542 Check not null before marking.
10543 (free_eh_status): New.
10544 * expr.c (mark_expr_status, free_expr_status): New.
10545 * function.c (free_machine_status): New.
10546 (free_after_parsing): New.
10547 (free_after_compilation): Move bits to free_after_parsing; call
10548 free_eh_status, free_expr_status; zero the marked members of the
10550 (prepare_function_start): No can_garbage_collect.
10551 Call init_eh_for_function.
10552 (expand_dummy_function_end): Free up current_function state.
10553 (mark_function_status): Renamed from mark_function_state.
10554 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
10555 * function.h (struct function): No can_garbage_collect.
10556 (free_machine_status, free_after_parsing): Declare.
10557 (free_eh_status, free_expr_status): Declare.
10558 * ggc.h (mark_expr_status): Declare.
10559 * stmt.c (free_stmt_status): Free the struct.
10560 (mark_stmt_status): Renamed from mark_stmt_state.
10561 (init_stmt): Don't call init_eh.
10562 (init_stmt_for_function): Don't call init_eh_for_function.
10563 * toplev.c (compile_file): Call init_eh.
10564 (rest_of_compilation): Free basic block info before ggc_collect.
10565 Call free_after_parsing; conditionally call free_after_compilation.
10566 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
10567 Check not null before marking.
10568 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
10570 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
10572 * c-lex.c (yylex): Initialize warn.
10574 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
10576 * pa.c (emit_move_sequence): Properly set the mode of the scratch
10577 register when performing secondary reloads for the SAR register.
10579 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
10581 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
10582 (NOTE_BLOCK): New macro.
10583 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
10584 * function.h (identify_blocks): Change prototype.
10585 * function.c (identify_blocks): Simplify.
10586 (reorder_blocks): Likewise.
10587 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
10588 NOTE_INSN_BLOCK_{BEG,END}.
10589 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
10590 the list of saved notes if the note isn't a
10591 NOTE_INSN_BLOCK_{BEG,END}.
10592 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
10594 (reemit_notes): Adjust recreation of notes to reflect new saved
10596 * print-rtl.c (print_rtx): Print the address of the BLOCK when
10597 printing a block note.
10598 * stmt.c (block_vector): Remove.
10599 (find_loop_tree_blocks): Simplify.
10600 (unroll_block_trees): Likewise.
10601 * tree.h (reorder_block): Change prototype.
10603 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
10605 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
10606 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
10607 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
10608 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
10609 (atexit, exit): Simplify.
10610 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
10611 * config/lots: Remove defns of HAVE_ATEXIT.
10613 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
10615 * calls.c (precompute_arguments): Fix typo in comment.
10616 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
10619 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
10621 * dsp16xx.c (override_options): Fix typos in GC root registration.
10623 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
10625 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
10626 from config/svr4.h.
10627 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
10628 (FUNCTION_PROFILER): Redefine appropriately for Linux.
10629 (CC1_SPEC): Likewise.
10631 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10633 * genattr.c (main): Add extern prototype. Call return, not exit.
10634 * genattrtab.c (main): Likewise.
10635 * gencheck.c (main): Likewise.
10636 * gencodes.c (main): Likewise.
10637 * genconfig.c (main): Likewise.
10638 * genemit.c (main): Likewise.
10639 * genextract.c (main): Likewise.
10640 * genflags.c (main): Likewise.
10641 * gengenrtl.c (main): Likewise.
10642 * genopinit.c (main): Likewise.
10643 * genoutput.c (main): Likewise.
10644 * genpeep.c (main): Likewise.
10645 * genrecog.c (main): Likewise.
10647 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
10648 * genattrtab.c (get_insn_name): Likewise.
10649 * gencodes.c (get_insn_name): Likewise.
10650 * genconfig.c (get_insn_name): Likewise.
10651 * genemit.c (get_insn_name): Likewise.
10652 * genextract.c (get_insn_name): Likewise.
10653 * genflags.c (get_insn_name): Likewise.
10654 * genopinit.c (get_insn_name): Likewise.
10655 * genpeep.c (get_insn_name): Likewise.
10657 * gencheck.c (usage): Add static prototype.
10658 * genextract.c (print_path): Constify a char*.
10659 * genopinit.c (optabs): Likewise.
10660 * genoutput.c (operand_data, data, output_predicate_decls,
10661 compare_operands): Likewise.
10662 * genrecog.c (write_tree): Add default case in switch.
10664 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10666 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
10668 * print-rtl.c (get_insn_name): Remove prototype.
10670 * toplev.h (progname): Declare const.
10672 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
10673 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
10674 dump_sched_info, dump_local_alloc, regset_release_memory,
10675 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
10676 error_with_file_and_line, error_with_decl, error_for_asm, error,
10677 fatal, warning_with_file_and_line, warning_with_decl, warning,
10678 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
10679 Remove redundant prototypes.
10681 (notice, check_lang_option, report_file_and_line, vnotice,
10682 mark_file_stack): Add static prototype.
10683 (set_fatal_function): Add prototype.
10684 (vnotice, report_file_and_line, set_fatal_function,
10685 check_lang_option): Constify a char*.
10686 (main): Prototype. Call return, not exit.
10688 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10690 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
10692 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
10694 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
10696 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
10698 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10700 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
10701 behave as if it's zero in all cases.
10702 (expand_function_start): Adjust call to assign_parms.
10703 * tree.h (assign_parms): Adjust prototype.
10704 * objc/objc-act.c (hack_method_prototype): Adjust call to
10707 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
10709 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
10710 arg_pointer_rtx fixed if the argument pointer register is
10712 (NONZERO_BASE_PLUS_P): Likewise.
10714 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
10716 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
10717 match_insn2 to match_insn.
10718 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
10720 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
10722 * Makefile.in (USER_H): Remove va-foo.h.
10724 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
10725 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
10726 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
10727 va-spur.h,va-v850.h}: Remove.
10729 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
10731 * sparc/sparc.md (eligible_for_return_delay): New attribute.
10732 (in_return_delay): Use it instead of match_insn.
10734 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10736 * config/alpha/va_list.h (va-alpha.h): Do not include.
10737 (__gnuc_va_list): Typedef as in varargs.h.
10739 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
10741 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
10742 DECL_LIVE_RANGE_RTL.
10744 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
10746 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
10747 not NOTE_BLOCK_NUMBER.
10748 (expand_eh_region_end): Likewise.
10749 (find_exception_handler_labels): Likewise.
10750 (scan_region): Likewise.
10751 (exception_optimize): Likewise.
10752 (update_rethrow_references): Likewise.
10753 (set_insn_eh_region): Likewise.
10754 * final.c (final_scan_insn): Likewise.
10755 * flow.c (make_edges): Likewise.
10756 * integrate.c (expand_inline_function): Likewise.
10757 * print-rtl.c (print_rtx): Likewise.
10759 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
10761 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
10762 terms of builtin functions and types.
10764 * mips.c (mips_build_va_list): New.
10765 (mips_va_start, mips_va_arg): New.
10766 * mips.h (BUILD_VA_LIST_TYPE): New.
10767 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10769 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
10770 (sh_build_va_list, sh_va_start, sh_va_arg): New.
10771 * sh.h (BUILD_VA_LIST_TYPE): New.
10772 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10774 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
10776 * recog.h (struct recog_data): Make dup_num, operand_address_p,
10777 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
10778 (struct insn_data): Likewise with n_operands, n_dups,
10779 n_alternatives, output_format.
10780 * regclass.c (scan_one_insn): Cast n_operands to int before
10781 arithmetic inside comparison.
10783 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
10785 * toplev.c (compile_function): Unconditionally emit nop.
10787 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10789 * haifa-sched.c (actual_hazard): Move declaration of variable
10790 `this_cost' into the scope where it is used.
10792 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10794 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
10795 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
10796 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
10798 * genrecog.c (make_insn_sequence): Call memset, not bzero.
10800 * jump.c (find_insert_position): Don't declare or define unless
10801 !HAVE_conditional_arithmetic.
10802 (returnjump_p_1, delete_prior_computation): Add static prototypes.
10804 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
10806 * recog.c (offsettable_address_p): Prototype function pointer.
10807 (preprocess_constraints): Call memset, not bzero.
10809 * tree.c (tree_node_kind_names): Constify a char*. Make static.
10810 (gcc_obstack_init): Don't declare.
10811 (fix_sizetype): Add static prototype.
10812 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
10813 (tree_cons): Call memset, not bzero.
10815 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
10816 definition in macro ASM_WEAKEN_LABEL.
10817 (mark_const_hash_entry): Add static prototype.
10819 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10821 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
10823 * unroll.c (find_common_reg_term, subtract_reg_term,
10824 loop_find_equiv_value): Add static prototypes.
10825 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
10826 (copy_loop_body): Remove unreachable break statement.
10828 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
10830 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
10832 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10834 Undo some changes from the gcc2 merge:
10835 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
10836 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
10840 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
10841 * emit-rtl.c (gen_lowpart_common): Disable optimization of
10842 initialized float-int union if the value is a NaN.
10844 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
10846 * gthr-win32.h: New file.
10848 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
10849 shared as a valid attribute.
10850 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
10851 * extend.texi: Document `shared' variable attribute.
10853 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
10855 * configure.in: Handle --enable-threads on FreeBSD.
10856 * configure: Rebuit.
10858 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10860 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
10862 * configure: Rebuilt.
10864 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
10865 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
10866 Rosimildo DaSilva <rdasilva@connecttel.com>
10868 * configure.in (m68k-*-rtemscoff*): Added.
10869 * configure.in (mips64orion-*-rtems*): Converted to ELF.
10870 * configure.in (sparc-*-rtemsaout*): Added as alias for old
10871 sparc-rtems configuration.
10872 * configure.in (sparc-*-rtemself*): Added.
10873 * configure.in (sparc-*-rtems*): Now ELF not a.out.
10874 * config/i386/rtems.h: Added comment.
10875 * config/sparc/rtemself.h: New file.
10877 * configure.in (m68k-rtemself): Added.
10878 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
10879 and DWARF_DEBUGGING_INFO.
10880 * config/m68k/crti.s: New file.
10881 * config/m68k/crtn.s: New file.
10882 * config/m68k/t-crtstuff: New file.
10883 * config/m68k/rtemself.h: New file.
10885 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
10886 global ctor/dtor and C++ exception handling.
10887 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
10888 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
10890 * config/i386/t-rtems-i386: New File.
10892 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
10894 * stmt.c (expand_end_case): Return right away if the case stack is
10897 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
10899 * Makefile.in (version.c): Remove rule incorrectly brought in from
10902 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
10904 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
10905 * msdos/top.sed: Take into account a prepended $(SHELL) to
10907 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
10909 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
10911 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10913 * regmove.c (fixup_match_1): Don't change an unchanging register.
10914 (stable_but_for_p): Renamed to:
10915 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
10916 Changed all callers.
10918 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
10920 * loop.c (strength_reduce): Don't call reg_used_between_p if the
10921 insn from BL2 is after the insn from BL.
10923 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
10925 * recog.h (INSN_OUTPUT_FORMAT_*): New.
10926 (struct insn_data): Merge `template' and `outfun' into `output'.
10927 Add `output_format'.
10928 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
10929 (struct data): Remove `outfun'; add `output_format'.
10930 (name_for_index): Remove declaration.
10931 (output_insn_data): Handle output formats.
10932 (process_template): Emit the bare array for @.
10933 (gen_expand, gen_split): Set output_format to NONE.
10934 * output.h (get_insn_template): Declare.
10935 * final.c (get_insn_template): New.
10936 (final_scan_insn): Use it.
10937 * toplev.c (compile_file): Likewise.
10939 * c4x/c4x.c (c4x_process_after_reload): Likewise.
10940 * i860/i860.c (output_delayed_branch): Likewise.
10941 (output_delay_insn): Likewise.
10943 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10945 * rtl.c (obstack_alloc_rtx): Removed.
10947 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
10949 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
10951 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
10953 * i386.c (call_insn_operand): Reject const_int.
10954 (expander_call_insn_operand): Use call_insn_operand.
10956 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10958 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
10960 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
10962 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
10963 Use DImode operation.
10965 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
10967 * gcc.c: Include sys/resource.h.
10968 (report_times): New flag.
10969 (execute): If report_times is set, calculate and report the
10970 CPU time consumed by each subprocess.
10972 (rus, prus): New globals.
10973 (option_map): Add --time.
10974 (display_help): Document -time.
10975 (process_command): Set report_times if -time is given.
10976 Turn off -pipe if -time is given.
10978 * invoke.texi: Document new option -time.
10980 * configure.in: Check for getrusage. Check if we have to
10981 prototype getrusage.
10982 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
10983 * configure: Regenerate.
10984 * config.in: Regenerate.
10986 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
10988 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
10991 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
10993 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
10994 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
10995 (nan): Return _thenan_sf or _thenan_df as appropriate.
10996 (L_thenan_sf): Define _thenan_sf.
10997 (L_thenan_df): Define _thenan_df.
10999 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
11000 (DPBIT_FUNCS): Add _thenan_df.
11002 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
11004 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
11007 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11009 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
11012 (lang_specific_driver): Don't take a function pointer parameter.
11013 All callers changed.
11015 * gcc.c: Include gcc.h.
11016 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
11017 lang_specific_extra_outfiles, fatal): Don't declare.
11018 (multilib_defaults_raw): Constify.
11019 (read_specs): Call memset, rather than bzero.
11020 (main): Call return, not exit.
11021 (lookup_compiler): Call memcpy, not bcopy.
11022 (fatal): Make extern.
11024 * cppspec.c: Include gcc.h.
11025 (lang_specific_driver): Initialize variable `quote'. Constify a
11026 char*. All calls to the function pointer parameter now
11027 explicitly call `fatal'.
11029 * gccspec.c (lang_specific_driver): Include gcc.h.
11031 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
11033 * arm.c (note_invalid_constants): Use recog_data.operand_type
11036 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11038 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
11041 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
11042 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11043 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11044 reload_secondary_in_reload, reload_secondary_out_reload,
11045 reload_secondary_in_icode, reload_secondary_out_icode,
11046 reload_reg_rtx, reload_when_needed): Delete declarations.
11047 (struct reload): New structure.
11048 (rld): Declare new array.
11049 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
11050 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11051 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11052 reload_secondary_in_reload, reload_secondary_out_reload,
11053 reload_secondary_in_icode, reload_secondary_out_icode,
11054 reload_reg_rtx, reload_when_needed): Delete definitions.
11056 (whole file): Replace uses of the deleted arrays with uses of rld.
11057 * reload1.c (whole file): Replace uses of the deleted arrays with
11059 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
11060 explicit loops, not with bcopy.
11062 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
11064 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
11065 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
11066 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
11067 insn_name): Delete and consolidate into new structures.
11068 (insn_operand_predicate_fn): New.
11069 (insn_output_fn): New.
11070 (insn_gen_fn): New.
11071 (struct insn_operand_data): New.
11072 (struct insn_data): New.
11074 (OUT_FCN): Update for insn_data change.
11075 * builtins.c (expand_builtin_strlen): Likewise.
11076 (expand_builtin_memcmp): Likewise.
11077 * combine.c (make_extraction, simplify_comparison): Likewise.
11078 * cse.c (canon_reg, cse_insn): Likewise.
11079 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
11080 * expmed.c (store_bit_field, extract_bit_field): Likewise.
11081 (emit_store_flag): Likewise.
11082 * expr.c (convert_move, emit_block_move): Likewise.
11083 (clear_storage, emit_push_insn, expand_increment): Likewise.
11084 (do_store_flag): Likewise.
11085 * expr.h (GEN_FCN): Likewise.
11086 (insn_gen_function): Die.
11087 * final.c (final_scan_insn): Update for insn_data change.
11088 (output_asm_name): Likewise.
11089 * function.c (fixup_var_refs_1): Likewise.
11090 * loop.c (check_dbra_loop): Likewise.
11091 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
11092 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
11093 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
11094 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
11095 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
11096 * regmove.c (gen_add3_insn): Likewise.
11097 * reload.c (push_secondary_reload, combine_reloads): Likewise.
11098 (find_reloads, find_reloads_address_1): Likewise.
11099 (debug_reload_to_stream): Likewise.
11100 * reload1.c (emit_reload_insns, gen_reload): Likewise.
11101 * stmt.c (expand_end_case): Likewise.
11102 * toplev.c (compile_file): Likewise.
11104 * c4x/c4x.c (c4x_process_after_reload): Likewise.
11105 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11107 * print-rtl.c (insn_name_ptr): Remove declaration.
11108 (get_insn_name): Declare.
11109 (print_rtx): Use it.
11110 * genoutput.c (insn_name_ptr): Remove.
11111 (next_operand_number): New.
11112 (struct operand_data): New.
11113 (null_operand, odata, odata_end): New.
11114 (struct data): Use struct operand_data.
11115 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
11116 (get_insn_name): Renamed from name_for_index.
11117 (output_prologue): Define NO_MD_PROTOTYPES.
11118 (output_predicate_decls): Break out from output_epilogue.
11119 Iterate over the operands list.
11120 (output_operand_data): Break out from output_epilogue. Emit
11121 just the operands list.
11122 (output_insn_data): Break out from output_epilogue. Emit just
11124 (output_epilogue): Remove.
11125 (output_get_insn_name): New.
11126 (constraints, op_n_alternatives, predicates, address_p): Die.
11127 (modes, strict_low, seen): Die.
11128 (scan_operands): Take new param `d' instead of writing to
11129 seven global variables.
11130 (compare_operands): New.
11131 (place_operands): New.
11132 (validate_insn_alternatives): Update for struct data change.
11133 (gen_insn): Don't zero or copy 7 global arrays. Update for
11134 scan_operands; call place_operands.
11135 (gen_peephole, gen_expand, gen_split): Likewise.
11136 (main): Update for new output routines.
11138 * genattr.c (insn_name_ptr): Remove.
11139 (get_insn_name): New function.
11140 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
11141 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
11142 * genrecog.c: Likewise.
11144 * alpha.md (adddi3): Make `pattern' array static.
11146 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11148 * config/c4x/c4x.h (c4x_rpts_cycles_string,
11149 c4x_cpu_version_string): Constify char *.
11150 * config/c4x/c4x.c (c4x_rpts_cycles_string,
11151 c4x_cpu_version_string): Likewise.
11153 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
11155 * tree.c (save_tree_status): Revert 10 Sep change.
11156 (restore_tree_status): Likewise. Call obstack_free with NULL
11157 before freeing the obstack proper.
11159 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
11161 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
11163 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
11164 surrounding context.
11166 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
11168 * tree.c (type_hash_canon): Put all types in the hash-table, when
11171 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
11173 * recog.h (struct recog_data, recog_data): New.
11174 (recog_foo variables): Kill.
11175 * recog.c (recog_operand, recog_operand_loc): Kill.
11176 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
11177 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
11178 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
11179 (recog_data): Define.
11180 (extract_insn): Update all recog_foo references to use recog_data.
11181 (preprocess_constraints, constrain_operands): Likewise.
11182 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
11183 * genattrtab.c (main): Likewise.
11184 * genextract.c (main): Likewise.
11185 * genoutput.c: Likewise.
11186 * genrecog.c (write_subroutine, main): Likewise.
11187 * local-alloc.c (block_alloc): Likewise.
11188 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
11189 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
11190 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
11191 * reload.c (find_reloads, find_reloads_toplev): Likewise.
11192 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
11193 (reload_cse_simplify_operands): Likewise.
11195 * arc/arc.c (arc_final_prescan_insn): Likewise.
11196 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
11197 * h8300/h8300.c (notice_update_cc): Likewise.
11198 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
11199 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11200 * mn10200/mn10200.c (notice_update_cc): Likewise.
11201 * mn10300/mn10300.c (notice_update_cc): Likewise.
11202 * romp/romp.c (update_cc): Likewise.
11203 * sparc/sparc.c (check_pic): Likewise.
11204 * v850/v850.c (notice_update_cc): Likewise.
11206 * genemit.c (main): Don't declare recog_operand.
11208 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
11210 * ggc.h (rtvec_def): Forward declare.
11211 (tree_node): Likewise.
11212 (ggc_root): Define.
11214 (ggc_set_mark_rtx): Add prototype.
11215 (ggc_set_mark_rtvec): Likewise.
11216 (ggc_set_mark_tree): Likewise.
11217 * ggc-simple.c (ggc_root): Don't define.
11218 (roots): Don't declare.
11219 (ggc_mark_rtx): Remove.
11220 (ggc_mark_rtvec): Likewise.
11221 (ggc_mark_tree): Likewise.
11222 (ggc_mark_varray): Likewise.
11223 (ggc_mark_tree_hash_table_entry): Likewise.
11224 (ggc_mark_tree_hash_table): Likewise.
11225 (ggc_set_mart_rtx): New function.
11226 (ggc_set_mark_rtvec): Likewise.
11227 (ggc_set_mark_tree): Likewise.
11228 (ggc_add_root): Remove.
11229 (ggc_add_rtx_root): Likewise.
11230 (ggc_remove_tree_root): Likewise.
11231 (ggc_add_string_root): Likewise.
11232 (ggc_add_tree_varray_root): Likewise.
11233 (ggc_add_tree_hash_table_root): Likewise.
11234 (ggc_del_root): Likewise.
11235 (ggc_mark_rtx_ptr): Likewise.
11236 (ggc_mark_tree_ptr): Likewise.
11237 (ggc_mark_string_ptr): Likewise.
11238 (ggc_mark_tree_varray_ptr): Likewise.
11239 (ggc_mark_tree_hash_table_ptr): Likewise.
11240 * ggc-common.c: New file.
11241 * Makefile.in (OBJS): Add ggc-common.o.
11242 (ggc-common.o): List dependencies.
11244 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
11246 * cppalloc.c (xstrdup): Use memcpy.
11247 * cpperror.c (cpp_print_containing_files): Don't use
11249 * cpplib.c (conditional_skip): Set temp->lineno.
11250 (do_endif): Make error message less obscure.
11251 (if_directive_name): New function.
11252 (cpp_get_token [case EOF]): Unwind the if stack and generate
11253 error messages for each unterminated conditional in this file.
11254 (parse_string): Do not behave differently if -traditional.
11256 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
11258 * builtins.c (expand_builtin_va_arg): Cope with an array-type
11259 va_list decomposing to pointer-type.
11260 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
11261 (rs6000_va_arg): Likewise.
11263 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
11265 * except.c (start_dynamic_handler): Compute size using
11266 STACK_SAVEAREA_MODE.
11268 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11270 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
11271 include directory headers. Don't define strrchr. Don't provide
11272 my_* replacement functions. Prefer PTR over `pointer_type'.
11273 Don't prototype system functions. Don't redefine getopt.
11275 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
11276 safe_read, safe_write, save_pointers, restore_pointers,
11277 is_id_char, in_system_include_dir, directory_specified_p,
11278 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
11279 find_corresponding_lparen, referenced_file_is_newer,
11280 save_def_or_dec, munge_compile_params, gen_aux_info_file,
11281 process_aux_info_file, identify_lineno, check_source,
11282 seek_to_line, forward_to_next_token_char, output_bytes,
11283 output_string, output_up_to, other_variable_style_function,
11284 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
11285 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
11286 find_static_definition, connect_defs_and_decs, add_local_decl,
11287 add_global_decls, needs_to_be_converted, visit_each_hash_node,
11288 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
11289 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
11290 scan_for_missed_items, edit_file, string_list_cons): Add static
11292 (standard_exec_prefix, target_machine, target_version,
11293 default_syscalls_dir, string_list, string_list_cons, find_file,
11294 do_cleaning): Constify a char*.
11295 (safe_read, safe_write): Use PTR, not a char*.
11296 (is_id_char): Take an int, not a char.
11297 (main): Add prototype. Call return, not exit.
11299 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
11301 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
11302 when comparing types.
11304 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
11306 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
11307 (strength_reduce): Release the varrays from the no-bivs early exit.
11309 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
11310 the loop over the registers.
11312 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
11314 (restore_tree_status): Check that instead when freeing the obstack.
11316 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
11318 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
11321 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11323 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
11324 operand size modifiers.
11326 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11328 * c-common.c (c_common_nodes_and_builtins): Don't build
11330 * c-common.h (enum c_tree_index and related accesor macros): Remove
11331 everything now declared in tree.h.
11332 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11333 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
11334 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
11335 (error_mark_node, void_type_node, char_type_node, integer_type_node,
11336 unsigned_type_node, ptr_type_node, va_list_type_node,
11337 integer_zero_node, null_pointer_node, integer_one_node): Delete.
11338 (init_decl_processing): Call build_common_tree_nodes and
11339 build_common_tree_nodes_2 instead of building their nodes here.
11340 Don't add roots for these nodes.
11341 * stor-layout.c (size_zero_node, size_one_node): Delete.
11342 (set_sizetype): Make a new node for bitsizetype each time.
11343 * tree.c (global_trees): New variable.
11344 (init_obstacks): Add a gc root for it.
11345 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11346 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
11347 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
11348 (build_common_tree_nodes): New function.
11349 (fix_sizetype): New function.
11350 (build_common_tree_nodes_2): New function.
11351 * tree.h (enum tree_index): New.
11352 (global_trees): Declare.
11353 Add accessor macros for all nodes now moved to global_trees.
11354 Delete their declarations.
11356 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
11358 * c-decl.c (finish_function): When processing a nested function,
11359 push and pop GC context around rest_of_compilation.
11361 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
11363 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
11364 Default ix86_arch to PROCESSOR_I386.
11365 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
11366 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
11367 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
11368 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
11369 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
11370 (EXTRA_SPECS): Remove deleted specs.
11372 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
11374 * function.c (assign_stack_local_1): Allocate from
11375 function->x_frame_offset, not frame_offset.
11377 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
11379 * ggc.h (lang_cleanup_tree): Remove.
11380 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
11381 * ggc-callbacks.c (lang_cleanup_tree): Remove.
11383 * c-decl.c (finish_struct): Use ggc_alloc to allocate
11384 TYPE_LANG_SPECIFIC when garbage collecting.
11385 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
11386 (lang_cleanup_tree): Remove.
11388 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
11390 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
11391 * crtstuff.c: Not here.
11392 * dwarf2out.c: Or here.
11393 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
11396 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
11398 * function.h (free_after_compilation): Remove decl parameter.
11399 (free_varasm_status0: Likewise.
11400 (free_emit_status): Likewise.
11401 (free_stmt_status): Likewise.
11402 (free_after_compilation): Likewise.
11403 (init_lang_status): New variable.
11404 (free_lang_status): Likewise.
11405 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
11406 * function.c (init_lang_status): New variable.
11407 (free_lang_status): Likewise.
11408 (push_function_context_to): Don't set function::decl here.
11409 (free_after_copmilation): Make decl parameter implicit. Call
11410 free_lang_status if defined.
11411 (prepare_function_start): Call init_lang_status if defined.
11412 (init_function_start): Set function::decl here.
11413 * profile.c (output_func_start_profiler): Don't call pushdecl
11414 until we've actually started the function.
11415 * stmt.c (free_stmt_status): Make decl parameter implicit.
11416 * toplev.c (rest_of_compilation): Don't pass decl to
11417 free_after_compilation.
11418 * varasm.c (free_varasm_status): Likewise.
11420 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11422 * except.c (call_get_eh_context): Add root when allocating static
11425 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
11427 * arm.c: Include "ggc.h".
11428 (arm_add_gc_roots): New function.
11429 (arm_override_options): Call it.
11430 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
11432 * arm.md (define_asm_attributes): Add a pool_range attribute.
11434 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
11436 * extend.texi (Volatiles): New node.
11438 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
11440 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
11441 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
11442 (struct ggc_any): Replace `mark' with `magic_mark'.
11443 (ggc_alloc_string): Use memcpy, not bcopy.
11444 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
11445 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
11446 (ggc_free_any): New.
11447 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
11448 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
11449 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
11450 Use IS_MARKED. Use ggc_free_any.
11452 1999-09-09 Scott Bambrough <scottb@netwinder.org>
11454 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
11456 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
11458 * toplev.c (main): Always init_ggc.
11460 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
11462 * except.c (find_all_handler_type_matches): Free the list if
11463 we found no matches.
11465 * combine.c (SUBST): Break out to a real function do_SUBST.
11466 (SUBST_INT): Likewise.
11467 * gcse.c (free_pre_mem): Free `temp_bitmap'.
11468 (pre_insert): Free `inserted'.
11469 * loop.c (basic_induction_var): Always set `location'.
11471 * function.c (expand_function_end): Add initial_trampoline as a root.
11472 * rtl.h (init_varasm_once): Declare.
11473 * toplev.c (compile_file): Call it.
11474 * ggc-simple.c (ggc_mark_string_ptr): New.
11475 (ggc_add_string_root): New.
11476 (ggc_collect): Disable collection avoidance temporarily.
11477 * ggc.h (ggc_add_string_root): Declare.
11478 * except.c (create_rethrow_ref): Use ggc_alloc_string.
11479 * optabs.c (init_libfuncs): Likewise.
11480 * varasm.c (named_section): Use ggc_alloc_string.
11481 (make_function_rtl): Likewise.
11482 (make_decl_rtl): Likewise.
11483 (assemble_static_space): Likewise.
11484 (assemble_trampoline_template): Likewise.
11485 (output_constant_def): Likewise.
11486 (force_const_mem): Likewise.
11487 (mark_const_hash_entry): New.
11488 (mark_pool_sym_hash_table): New.
11489 (mark_varasm_state): Use it.
11490 (init_varasm_once): New.
11492 * expr.h (init_one_libfunc): Declare.
11493 * optabs.c (init_one_libfunc): New.
11494 (init_optabs): Use it.
11495 * config/gofast.h: Likewise.
11496 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
11497 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
11499 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
11501 * Makefile.in (cppexp.o): Depend on cpphash.h.
11502 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
11504 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
11505 * cpplib.c (do_define): Generalise to handle poisoned definitions,
11506 redefining poisoned identifiers, etc.
11507 (do_undef): Don't allow poisoned identifiers to be undefined.
11508 (do_pragma): Add #pragma poison.
11509 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11511 * cccp.c: Add T_POISON node type.
11512 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
11514 (do_define): Generalise to handle poisoned definitions,
11515 redefining poisoned identifiers, etc.
11516 (do_undef): Don't allow poisoned identifiers to be undefined.
11517 (do_pragma): Add #pragma poison.
11518 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11520 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
11521 * c-pragma.h: Add ps_poison state. We now always have generic
11524 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
11526 * ggc.h (ggc_alloc): New function.
11527 (ggc_mark): Likewise.
11528 * ggc-simple.c (ggc_any): New structure.
11529 (ggc_status): Add anys.
11530 (n_anys_collected): New variable.
11531 (ggc_alloc): Define.
11532 (ggc_mark): Likewise.
11533 (ggc_collect): Collect the anys.
11535 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11537 * c-decl.c (mark_binding_level): Make static to match prototype.
11539 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
11541 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
11543 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
11545 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
11546 will use into account. Expand the max width to 5.
11549 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
11551 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
11552 for the rtx length.
11554 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
11556 * alpha.md (call value patterns): Remove the result predicates.
11558 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
11560 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
11563 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11565 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
11566 changed from extern char *, to extern PTR. Also fix typo in
11567 NEED_DECLARATION_REALLOC test.
11569 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
11571 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11573 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
11574 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
11575 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
11576 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
11578 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
11580 * cccp.c (pcfinclude): Likewise.
11582 * global.c (allocno_compare): Likewise.
11584 * haifa-sched.c (rank_for_schedule): Likewise.
11586 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
11588 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
11590 * stupid.c (stupid_reg_compare): Likewise.
11592 * tree.c (_obstack_allocated_p): Likewise.
11594 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
11596 1999-09-08 Bruce Korb autogen@linuxbox.com
11598 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
11599 why "gperf -F" fails.
11600 * gcc/cp/Makefile.in: ditto
11601 * gcc/Makefile.in: ditto
11602 * gcc/java/Makefile.in: ditto
11604 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
11606 * lists.c: Include ggc.h.
11608 (init_EXPR_INSN_LIST_cache): Install it.
11610 * ggc-simple.c (init_ggc): Absorb the old init.
11611 (ggc_push_context): Use xcalloc.
11612 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
11613 (ggc_collect): Add [rvts] tags to the collection stats.
11615 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
11617 * cccp.c (main): Fix handling of -include and -imacros options.
11619 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
11621 * cpplib.c (cpp_push_buffer): Fix order of arguments.
11623 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
11625 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
11628 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11630 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
11631 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
11632 and SET_DEST. Update comment.
11634 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11636 * config/c4x/c4x.c: Include ggc.h.
11637 (c4x_add_gc_roots): New function.
11638 (c4x_override_options): Call c4x_add_gc_roots.
11640 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
11642 * defaults.h (TARGET_ESC): Move ...
11643 * system.h: ... here, where Linas had it in the first place. Silly me.
11645 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
11647 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
11648 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
11649 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
11650 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
11651 * defaults.h (TARGET_ESC): Add default.
11653 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
11655 * configure.in: add i370-*-openedition, i370-*-mvs and
11656 i370-*-linux targets
11658 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
11660 * dsp16xxx.c: Include ggc.h
11661 (override_options): Mark GC roots.
11662 * mn10200.c: Include ggc.h.
11663 (asm_file_start): Mark GC roots.
11664 * tahoe.c: Include ggc.h.
11665 (extensible_operand): Mark GC roots.
11667 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
11669 * README: Add section discussing status of ELF ABI.
11670 * i370.c: Fix misc spelling mistakes.
11671 (i370_label_scan): Updated notes, exception handling.
11672 (i370_function_prolog): Simplify ELF stack handling.
11673 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
11674 (STACK_GROWS_DOWNWARD): ELF stack grows down.
11675 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
11676 * i370.md: (movdi): Add notes.
11677 (floatsidf2): Use stack not rtca for scratch float area.
11678 (iorsi3): Correct operand constraints.
11679 * x-oe: Restore TAROUTOPTS which are used by pax.
11681 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
11683 * rs6000.c: Include ggc.h.
11684 (rs6000_add_gc_roots): New function.
11685 (override_options): Call it.
11687 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
11689 * alpha.h (alpha_compare): New.
11690 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
11691 * alpha.c: Likewise for the definitions.
11692 (alpha_emit_conditional_branch): Update for alpha_compare.
11693 (alpha_emit_conditional_move): Likewise.
11694 * alpha.md (cmpdf, cmpdi): Likewise.
11695 (setcc patterns): Likewise. Zero alpha_compare after use.
11696 (sne): Optimize (x != 0) into (0U < x).
11698 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
11700 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
11701 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
11702 (INIT_EXPANDERS): Remove.
11703 * alpha.c: Include ggc.h.
11704 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
11705 (alpha_init_machine_status, alpha_mark_machine_status): New.
11706 (override_options): Install them.
11707 (struct machine_function): Moved to alpha.h.
11708 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
11709 (alpha_init_expanders): Remove.
11710 (alpha_return_addr): Adjust to use current_function->machine.
11711 (alpha_ra_ever_killed): Likewise.
11712 (alpha_expand_epilogue): Likewise.
11713 * alpha.md (eh_epilogue): Likewise.
11715 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
11716 Melissa O'Neill <oneill@cs.sfu.ca>
11717 Geoffrey Keating <geoffk@cygnus.com>
11719 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
11720 call-used registers (call-saved registers must still be contiguous
11721 and end with r31, of course).
11723 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
11725 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
11726 (self_promoting_type_p): Delete.
11727 (self_promoting_args_p): Move ...
11728 * c-common.c: ... here.
11729 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
11730 (simple_type_promotes_to): New.
11731 * builtins.c (lang_type_promotes_to): New.
11732 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
11733 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
11734 * c-common.h: ... here.
11735 (self_promoting_args_p, simple_type_promotes_to): Declare.
11736 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
11737 (grokdeclarator): Likewise.
11738 * tree.h (lang_type_promotes_to): Declare.
11740 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
11742 Add some machine-dependent GC roots.
11743 * sparc.c: Include ggc.h.
11744 (sparc_add_gc_roots): New function.
11745 (mark_ultrasparc_pipeline_state): Likewise.
11746 (override_options): Call sparc_add_gc_roots.
11747 * pa.c: Include ggc.h.
11748 (pa_add_gc_roots): New function.
11749 (mark_deferred_plabels): Likewise.
11750 (override_options): Call pa_add_gc_roots.
11751 * mips.c: Include ggc.h.
11752 (mips_add_gc_roots): New function.
11753 (override_options): Use it.
11755 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11757 * cpperror.c (cpp_file_line_for_message): Constify a char*.
11759 * cppexp.c (parse_number, parse_charconst, cpp_lex,
11760 cpp_parse_expr): Add static prototypes.
11761 (parse_charconst): Don't cast away const-ness.
11762 (token): Constify a char*.
11764 * cppfiles.c (file_name_list, include_hash, find_include_file,
11765 finclude, initialize_input_buffer): Constify a char*.
11766 (file_cleanup, find_position): Add static prototypes.
11768 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
11769 collect_expansion): Add static prototypes.
11770 (cpp_install, create_definition, monthnames): Constify a char*.
11772 * cpphash.h (cpp_install): Likewise.
11774 * cppinit.c (known_suffixes, default_include,
11775 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
11776 (base_name, dump_special_to_buffer, initialize_dependency_output):
11777 Add static prototypes.
11779 * cpplib.c (my_strerror): Constify a char*.
11780 (null_underflow, null_cleanup, skip_comment, copy_comment,
11781 copy_rest_of_line, handle_directive, pass_thru_directive,
11782 get_directive_token, read_line_number, cpp_print_file_and_line,
11783 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
11784 v_cpp_warning_with_line, detect_if_not_defined,
11785 consider_directive_while_skipping): Add static prototypes.
11786 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
11787 cpp_pedwarn_with_file_and_line): Constify a char*.
11789 * cpplib.h (cpp_options, include_hash, progname, definition,
11790 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
11791 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
11792 find_include_file, deps_output, include_hash): Constify a char*.
11794 * cppmain.c (progname): Constify.
11795 (main): Add prototype. Use return, not exit.
11797 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
11798 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
11799 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
11800 check_protection): Add static prototype.
11802 (progname, recognized_macrom, recognized_extern): Constify a char*.
11803 (main): Add prototype.
11805 * gen-protos.c (progname): Constify a char*.
11807 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
11809 * emit-rtl.c (free_emit_status): Take decl as a parameter.
11810 (init_emit_once): Add more GC roots.
11811 * except.c (mark_func_eh_entry): New function.
11812 (mark_eh_node): Mark false_label and rethrow_label.
11813 (init_eh): Add more GC roots.
11814 * function.c (free_after_compilation): Take decl as a paramter.
11815 Call free_stmt_status.
11816 (mark_function_state): Don't assume x_parm_reg_stack_loc is
11818 * function.h (free_after_compilation): Change prototype.
11819 (free_varasm_status): Likewise.
11820 (free_emit_status): Likewise.
11821 (free_stmt_status): New function.
11822 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
11823 Remove, replacing with ...
11824 (ggc_status): New structure.
11825 (ggc_chain): New variable.
11826 (init_gcc): Define.
11827 (ggc_push_context): New function.
11828 (ggc_pop_context): Likewise.
11829 (ggc_alloc_rtx): Adjust for use of ggc_chain.
11830 (ggc_alloc_rtvec): Likewise.
11831 (ggc_alloc_tree): Likewise.
11832 (ggc_alloc_string): Likewise.
11833 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
11834 (ggc_mark_tree): Give language-dependent code a chance to mark
11836 (ggc_mark_tree_varray): Handle empty arrays.
11837 (ggc_collect): Adjust for use of ggc_chain. Clear
11838 bytes_alloced_since_last_gc.
11839 * ggc.h (ggc_pop_context): New function.
11840 (ggc_push_context): Likewise.
11841 * print-tree.c (print_node): Don't print obstacks when GC'ing.
11842 * stmt.c (free_stmt_status): New function.
11843 (init_stmt_for_function): Clear last_expr_value.
11844 * toplev.c (rest_of_compilation): Always call free_after_compilation.
11845 Conditionalize call to ggc_collect.
11846 (main): Call init_ggc.
11847 * tree.c (push_obstacks): Do the push, even when GC'ing.
11848 (push_obstacks_nochange): Likewise.
11849 (pop_obstacks): Liekwise.
11850 * varasm.c (free_varasm_status): Take decl as a parameter.
11852 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
11854 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
11855 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
11856 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
11857 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
11859 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
11861 * pa/x-pa-mpeix: New file for the MPE port.
11863 * pa/quadlib.asm: New file for long double support.
11865 * configure.in: Add hppa1.0-*-mpeix for MPE port.
11866 * configure: Rebuilt.
11868 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
11870 * final.c (shorten_branches): Fix last change.
11872 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
11874 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
11876 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
11878 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
11881 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11883 * c-aux-info.c (concat): Don't define.
11885 * cccp.c (my_strerror): Likewise. All callers changed to use
11887 (do_include): Call xstrdup, not xmalloc/strcpy.
11888 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
11889 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
11891 * collect2.c (my_strsignal): Likewise. All callers changed to use
11893 (locatelib): Call xstrdup, not xmalloc/strcpy.
11895 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
11897 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
11899 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
11901 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
11903 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
11905 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
11907 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
11909 (find_all_handler_type_matches): Likewise. Don't check return
11911 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
11912 xmalloc, not malloc.
11913 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
11915 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
11916 (init_spec): Call xcalloc, not xmalloc/bzero.
11917 (set_spec): Call xstrdup, not save_string.
11918 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
11919 (find_a_file): Call xstrdup, not xmalloc/strcpy.
11920 (process_command): Call xstrdup, not save_string.
11921 (main): Call xcalloc, not xmalloc/bzero.
11923 * gcov.c (xmalloc): Don't define.
11924 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
11925 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
11926 (output_data): Call xcalloc, not xmalloc/bzero.
11928 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
11930 * mips-tdump.c (xmalloc): Don't define.
11931 (print_symbol): Call xmalloc, not malloc.
11932 (read_tfile): Call xcalloc, not calloc.
11934 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
11935 Don't define. All callers of xfree/my_strsignal changed to use
11936 free/strsignal instead.
11937 (allocate_cluster): Call xcalloc, not calloc.
11939 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
11940 Fix memory leak, free allocated memory.
11942 * prefix.c (translate_name): Call xstrdup, not save_string.
11943 (update_path): Likewise.
11945 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
11947 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
11948 Don't define. Callers of xfree/savestring2 changed to use
11949 free/concat instead.
11951 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
11952 (init_elim_table): Likewise.
11954 * resource.c (init_resource_info): Likewise.
11956 * stupid.c (stupid_life_analysis): Likewise.
11958 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
11959 (open_dump_file): Call concat, not xmalloc/strcpy/...
11960 (clean_dump_file): Likewise.
11961 (compile_file): Call xstrdup, not xmalloc/strcpy.
11963 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
11965 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
11966 * v850.c (v850_va_arg): New.
11968 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11970 * haifa-sched.c: Tidy comments.
11972 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11974 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
11975 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
11976 $(out_object_file)): Depend on ggc.h.
11977 * c-common.c: Include "ggc.h".
11978 (combine_strings): If doing GC, use ggc_alloc_string.
11979 * c-decl.c: Include "ggc.h".
11980 (ggc_p): Define with value 0.
11981 (mark_binding_level): New function.
11982 (init_decl_processing): Add GC roots.
11983 (mark_c_function_context): New function.
11984 (lang_mark_false_label_stack): New function.
11985 (lang_mark_tree): New function.
11986 (lang_cleanup_tree): New function.
11987 * c-lang.c: Include "ggc.h".
11988 (lang_init): Call c_parse_init.
11989 * c-lex.c: Include "ggc.h".
11990 (check_linenum): If doing GC, don't copy filenames to permanent
11992 * c-parse.in: Include "ggc.h".
11993 (c_parse_init): New function.
11994 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
11995 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
11997 * except.c (mark_eh_state): Mark more state.
11998 * function.c (mark_function_state): Likewise.
11999 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
12000 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
12001 * toplev.c (mark_file_stack): New function.
12002 (compile_file): If doing GC, use ggc_alloc_string on input filename.
12003 (main): Add root for input_file_stack.
12005 * i386.c: Include "ggc.h".
12006 (ix86_mark_machine_status): New function.
12007 (override_options): Set mark_machine_status.
12009 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12011 * tree.c (copy_node): Copy node contents also if doing GC.
12013 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12015 * collect2.c (scan_libraries): Fix double-thinko :-).
12017 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
12019 * collect2.c (scan_libraries): Fix thinko.
12021 * cse.c (delete_trivially_dead_insns): Do not skip the last
12022 insn if it is a real insn.
12024 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
12026 * Makefile.in (ggc-simple.o): Depend on hash.h.
12027 * ggc.h (ggc_add_tree_hash_table_root): Declare.
12028 (ggc_mark_tree_varray): Likewise.
12029 (ggc_mark_tree_hash_table): Likewise.
12030 * ggc-simple.c: Include hash.h.
12031 (ggc_mark_tree_hash_table_ptr): New function.
12032 (ggc_mark_tree_hash_table_entry): Likewise.
12033 (ggc_mark_tree_hash_table): Likewise.
12034 (ggc_add_tree_hash_table_root): Likewise.
12035 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
12036 rtx, when defining fields.
12038 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12040 * profile.c (output_func_start_profiler): Remove apparently
12041 nonsensical call to start_sequence.
12043 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
12045 * clipper/clipper.c (clipper_va_start): Fix typos.
12047 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
12048 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
12049 (spur_va_arg): New stub.
12051 * configure.in: Comment out pyramid.
12053 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
12055 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
12056 don't conflict with the bits that win32, cygwin, and dgux
12059 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
12060 Bernd Schmidt <bernds@cygnus.co.uk>
12062 * integrate.c (function_cannot_inline_p): Do not inline
12063 functions with forced labels.
12065 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
12066 Bernd Schmidt <bernds@cygnus.co.uk>
12067 Mark Mitchell <mark@codesourcery.com>
12069 * Makefile.in (ggc-simple.o): Depend on varray.h.
12070 (rtl.o): Depend on ggc.h.
12071 (genattrtab.o): Depend on ggc.h.
12072 (print-tree.o): Likewise.
12073 (fold-const.o): Likewise.
12074 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
12075 (make_insn_raw): Don't cache insns when GC'ing.
12076 (emit_insn_before): Likewise.
12077 (emit_insn_after): Likewise.
12078 (emit_insn): Likewise.
12079 (start_sequence): Use xmalloc to allocate the sequence_stack.
12080 (end_sequence): Add free to free it.
12081 (gen_sequence): Don't cache insns when GC'ing.
12082 (clear_emit_caches): Don't use sequence_element_free_list.
12083 (init_emit): Use xcalloc, not xmalloc+bzero.
12084 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
12085 * function.c (pop_function_context_from): Use free to free the
12086 fixup_var_refs_queue.
12087 (put_reg_into_stack): Allocate it with xmalloc.
12088 * genattrtab.c: Include ggc.h.
12089 (operate_exp): Don't use obstack_free when GC'ing.
12090 (simplify_cond): Likewise.
12091 (simplify_text_exp): Likewise.
12092 (optimize_attrs): Likewise.
12093 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
12095 (gencode): Generate a #include for ggc.h.
12096 * ggc-callbacks.c (ggc_p): Define it to zero.
12097 * ggc-none.c (ggc_p): Likewise.
12098 * ggc-simple.c: Include varray.h.
12099 (ggc_mark_tree_varray): New function.
12100 (ggc_add_tree_varray_root): Likewise.
12101 (ggc_mark_tree_varray_ptr): Likewise.
12102 * ggc.h (ggc_p): Declare.
12103 (varray_head_tag): Likewise.
12104 (ggc_add_tree_varray_root): Declare.
12105 * print-tree.c (print_node): Don't check for TREE_PERMANENT
12106 inconsistencies when GC'ing.
12107 * rtl.c: Include ggc.h.
12108 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
12109 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
12110 (rtx_free): Don't call obstack_free when GC'ing.
12111 * toplev.c (rest_of_compilation): Call ggc_collect after every
12113 * tree.c (push_obstacks): Do nothing, if GC'ing.
12114 (pop_obstacks_nochange): Likewise.
12115 (pop_obstacks): Likewise.
12116 (make_node): Use ggc_alloc_tree when GC'ing.
12117 (copy_node): Likewise.
12118 (get_identifier): Use ggc_alloc_string when GC'ing.
12119 (build_string): Likewise.
12120 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
12121 (tree_cons): Likewise.
12122 (build1): Likewise.
12123 (type_hash_canon): Don't call obstack_free when GC'ing.
12125 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
12127 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
12128 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
12130 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
12131 Bernd Schmidt <bernds@cygnus.co.uk>
12132 Mark Mitchell <mark@codesourcery.com>
12134 * Makefile.in (stor-layout.o): Depend on ggc.h.
12135 (expr.o): Depend on ggc.h.
12136 (profile.o): Depend on ggc.h.
12137 (stor-layout.o): Depend on ggc.h.
12138 * emit-rtl.c (init_emit_once): Add gc roots.
12139 * expr.c: Include ggc.h.
12140 (emit_block_move): Add gc roots.
12141 (clear_storage): Likewise.
12142 * expr.h (init_stor_layout_once): New function.
12143 * profile.c: Include ggc.h.
12144 (init_arc_profiler): profiler_label is a root.
12145 * scan.c (make_sstring_space): Trust xrealloc to function
12146 correctly with first parameter NULL.
12147 * stor-layout.c: Include ggc.h.
12148 (set_sizetype): Add gc root.
12149 (init_stor_layout_once): New function.
12150 * toplev.c (compile_file): Call it.
12152 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
12153 Bernd Schmidt <bernds@cygnus.co.uk>
12154 Mark Mitchell <mark@codesourcery.com>
12156 * Makefile.in (tree.o): Depend on ggc.h.
12157 (varasm.o): Likewise.
12158 (function.o): Likewise.
12159 (stmt.o): Likewise.
12160 (except.o): Likewise.
12161 (optabs.o): Likewise.
12162 (emit-rtl.o): Likewise.
12163 * emit-rtl.c: Include ggc.h.
12164 (sequence_element_free_list): Remove, and all references.
12165 (mark_sequence): New functions.
12166 (mark_emit_state): New function.
12167 * except.c: Include ggc.h.
12168 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
12169 (mark_tree_label_node): New functions.
12170 (mark_eh_state): New function.
12171 * function.c: Include ggc.h.
12172 (mark_temp_slot, mark_function_chain): New functions.
12173 (mark_function_state): New function.
12174 (init_function_once): New function.
12175 * function.h (init_function_once): New function.
12176 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
12177 * ggc.h (label_node): Declare.
12178 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
12179 (lang_mark_false_label_stack): New function.
12180 (mark_temp_slot): Remove declaration.
12181 (mark_function_chain): Likewise.
12182 (mark_eh_state): Adjust prototype.
12183 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
12185 * optabs.c: Include ggc.h.
12186 (mark_optab): New function.
12187 (init_optabs): Add gc roots.
12188 * stmt.c: Include ggc.h.
12189 (mark_cond_nesting, mark_loop_nesting): New functions.
12190 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
12191 (mark_stmt_state): New function.
12192 * toplev.c (compile_file): Call init_function_once.
12193 * tree.c: Include ggc.h.
12194 (type_hash): Move declaration earlier in file.
12195 (TYPE_HASH_SIZE, type_hash_table): Likewise.
12196 (init_obstacks): Add gc roots.
12197 (mark_type_hash): New function.
12198 * varasm.c: Include ggc.h.
12199 (mark_pool_constant): New function.
12200 (mark_varasm_state): New function.
12202 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12204 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
12206 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12208 * c-decl.c (struct language_function): Renamed from struct c_function.
12210 (c_function_chain): Delete.
12211 (push_c_function_context): New arg F. Don't warn about nested
12212 functions here. Fill LANGUAGE elt of F. Delete code to update
12213 c_function_chain. Don't call push_function_context.
12214 (pop_c_function_context): New arg F. Restore from there instead of
12215 from c_function_chain. Don't call pop_function_context. Clear out
12216 LANGUAGE field of F when done.
12217 * c-lang.c: Include "function.h"
12218 (lang_init): Initialize save_lang_status and restore_lang_status.
12219 * c-parse.in (nested_function, nested_function_notype): Warn about
12220 nested functions. Call push_function_context/pop_function_context
12221 instead of the _c_ variants.
12222 * c-tree.h (push_c_function_context, pop_c_function_context): Update
12224 * Makefile.in (c-lang.o): Update dependencies.
12226 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
12227 regno_pointer_flag, regno_pointer_align.
12228 (gen_reg_rtx): Use xrealloc to enlarge them.
12229 (free_emit_status): New function.
12230 * function.c (mark_machine_status, mark_lang_status): New variables.
12231 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
12232 in some bits from assign_stack_local. All callers changed to use new
12234 (assign_stack_local): Just call assign_stack_local_1.
12235 (free_after_compilation): New function.
12236 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
12237 (trampoline_address): Likewise.
12238 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
12239 (prepare_function_start): Explicitly clear some more variables.
12240 * function.h (struct function): New elt can_garbage_collect.
12241 (mark_machine_status, mark_lang_status): Declare variables.
12242 (free_after_compilation, free_emit_status, free_varasm_status,
12243 init_varasm_status): Declare functions.
12244 * toplev.c (rest_of_compilation): Call free_after_compilation when
12245 done with the current function.
12246 * varasm.c (free_varasm_status): New function.
12248 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
12250 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
12251 (EXPAND_BUILTIN_VA_ARG): Define.
12252 * sparc.c (sparc_va_start): New.
12253 (sparc_va_arg): New.
12255 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12257 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
12259 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12261 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
12263 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
12265 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
12266 (OBJS): Add $(GGC).
12267 (ggc-callbacks.o): New target.
12268 * ggc-callbacks.c: New file.
12270 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12272 * expr.h: Collapse individual optab and libfunc vars to arrays.
12273 (optab_index, libfunc_index): New enumerations.
12274 (optab_table, libfunc_table): New arrays.
12275 Add accessor macros for both.
12277 * optabs.c (optab_table, libfunc_table): New.
12278 Delete declarations for individual optab and libfunc vars.
12280 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
12282 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
12284 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
12286 * Makefile.in (GGC, GGC_LIB): New.
12287 (HOST_RTL): Include ggc-none.o.
12288 (ggc-simple.o): New target.
12289 (ggc-none.o): Likewise.
12290 * tree.h (tree_common): Add gc_mark.
12291 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
12292 (struct rtvec_def): Add gc_mark.
12293 * emit-rtl.c (global_rtl): Update static initializers to contain
12294 enough initializers.
12295 * ggc.h, ggc-none.c, ggc-simple.c: New files.
12296 * toplev.c (gc_time): New variable.
12297 (all_time): New variable.
12298 (compile_file): Print gc time.
12299 (print_time): Calculate percentage of the whole.
12301 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12303 Change obstack memory management and varasm constant pool handling so
12304 that nested functions are treated like any other functions.
12305 * function.c (init_machine_status): New variable.
12306 (push_function_context_to): Set contains_functions for the outer
12307 function. Don't call save_varasm_status.
12308 (pop_function_context_from): Don't call restore_varasm_status. Don't
12309 set current_function_contains_functions.
12310 (prepare_function_start): Call init_varasm_status rather than
12311 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
12313 * function.h (struct function) Add field varasm. Delete fields
12314 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
12315 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
12316 (init_machine_status): Declare.
12317 (save_varasm_status, restore_varasm_status): Delete declarations.
12318 (save_tree_status, restore_tree_status): Delete last argument.
12319 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
12320 code. All callers changed.
12321 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
12322 save_constants_in_decl_trees, restore_constants, save_constants,
12323 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
12325 (inlining): New variable.
12326 (reg_map, label_map, insn_map, orig_asm_operands_vector,
12327 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
12329 (save_for_inline_nocopy): Don't save constants.
12330 Don't set inl_emit field in current_function.
12331 (expand_inline_function): Use emit field, not inl_emit, of the inlined
12332 function. Set new variable inlining before
12333 calling copy_rtx_and_substitute.
12334 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
12335 constant pool references if inlining is nonzero.
12336 Delete ADDRESS and (most of the) CONST cases.
12337 (output_inline_function): Save and restore current_function/
12338 current_function_decl. Delete restore_constants code. Don't call
12339 init_const_rtx_hash_table.
12340 * output.h (init_const_rtx_hash_table): Don't declare.
12341 * rtl.h (struct function): Declare.
12342 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
12343 * toplev.c (rest_of_compilation): Don't treat nested functions or
12344 functions containing them specially. Delete all code to deal with
12345 save_for_inline_copying.
12346 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
12347 inline_obstacks): Delete variables.
12348 (save_tree_status): Lose arg CONTEXT. All callers changed.
12349 Simply allocate a new function_maybepermanent_obstack for the new
12350 function, delete all the special cases.
12351 Don't save inline_obstacks.
12352 (restore_tree_status): Lose arg CONTEXT. All callers changed.
12353 Delete special handling for function_maybepermanent_obstack; simply
12355 Don't restore inline_obstacks.
12356 (permanent_allocation): Delete code that frees inline_obstacks.
12357 (print_inline_obstack_statistics): Delete function.
12358 (dump_tree_statistics): Don't call it.
12359 * varasm.c (struct varasm_status): New.
12360 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
12361 last_pool, pool_offset, const_double_chain): Delete global
12362 variables, replace with accessor macros.
12363 (immed_double_const): Don't walk const_double_chain outside a
12364 function, but don't treat nested functions specially anymore.
12365 (immed_real_const_1): Likewise.
12366 (clear_const_double_mem): Don't treat nested functions specially.
12367 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
12368 (save_varasm_status, restore_varasm_status): Delete functions.
12369 (init_varasm_status): New function.
12370 (force_const_mem): Don't treat nested functions specially.
12371 (find_pool_constant): Accept new arg F, search for constants in
12372 that function's pool rather than the current one. All callers
12374 (get_pool_constant_for_function, get_pool_mode_for_function): New
12377 * i386.c (init_386_machine_status): New function, mostly from
12378 clear_386_stack_locals.
12379 (struct machine_functions): Rename element names to avoid name
12381 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
12382 macros, replacing global variables.
12383 (clear_386_stack_locals, save_386_machine_status,
12384 restore_386_machine_status): Delete functions.
12385 (override_options): Initialize init_machine_status.
12386 * i386.h (INIT_EXPANDERS): Delete macro.
12387 (save_386_machine_status, restore_386_machine_status,
12388 clear_386_stack_locals): Delete declarations.
12390 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12392 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
12393 (doloop_begin): Simplify pattern and use emit_jump_insn.
12394 (doloop_end): Simplify pattern, switch operand order,
12395 and use emit_jump_insn.
12397 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12399 * function.h (struct function): Add new element LANGUAGE.
12400 (save_lang_status): Declare new variable.
12401 (restore_lang_status): Likewise.
12402 * function.c (save_lang_status): Define.
12403 (restore_lang_status): Likewise.
12404 (push_function_context_to): Call language-specific save function.
12405 (pop_function_context_from): Call language-specific restore function.
12407 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
12409 * i386.md (movsf_1): Check REG_P before use of REGNO.
12410 (movdf_1): Likewise.
12411 (movxf_1): Likewise.
12412 (extendsfdf2): Likewise.
12413 (extendsfxf2): Likewise.
12414 (extenddfxf2): Likewise.
12416 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12418 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
12419 constants into memory.
12420 (c4x_shiftable_constant): New function.
12421 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
12422 (c4x_shiftable_constant): Declare.
12423 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
12424 ashlqi3_noclobber): Add new patterns and associated splitters.
12426 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
12428 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
12429 * dwarf2out.c (dwarf2out_frame_init): Likewise.
12430 * final.c (shorten_branches): Likewise.
12431 * global.c (global_alloc): Likewise.
12432 * haifa-sched.c (build_control_flow): Likewise.
12433 * stmt.c (check_for_full_enumeration_handling): Likewise.
12434 (estimate_case_costs): Likewise.
12436 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
12438 * rtl.h (RTL_CHECKC2): Fix typo in last change.
12440 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
12442 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
12443 (recompute_reg_usage): Likewise.
12444 * rtlanal.c (find_regno_fusage): Likewise.
12446 * rtl.c (rtl_check_failed_code1): New function.
12447 (rtl_check_failed_code2): New.
12448 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
12449 (RTL_CHECKC1, RTL_CHECKC2): New.
12450 (XC*): New accessor macros.
12451 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
12452 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
12453 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
12454 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
12455 (TRAP_*, RANGE_INFO_*): Likewise.
12457 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12459 * Makefile.in (tlink.o): Don't depend on toplev.h.
12461 * collect2.c (c_file, o_file, export_file, import_file, ldout,
12462 output_file, nm_file_name, ldd_file_name, strip_file_name,
12463 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
12464 add_prefix, prefix_from_env, prefix_from_string, do_wait,
12465 fork_execute, maybe_unlink, add_to_list,
12466 extract_init_priority, write_list, dump_list,
12467 dump_prefix_list, write_list_with_asm, write_c_file,
12468 write_c_file_stat, write_c_file_glob, scan_prog_file,
12469 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
12470 ignore_library, extract_string, notice, dump_file, target_machine,
12471 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
12472 read_file, print_load_command): Constify a char*.
12473 (fdopen, error, fatal, fatal_perror): Don't prototype.
12474 (my_strerror): Remove. All callers use xstrerror instead.
12475 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
12476 (main): Add prototype. Constify lots of char* ptrs. Change calls
12477 to xcalloc/strcpy/strcat/... to one call to concat.
12478 (main, scan_prog_file, scan_libraries): Use an intermediate
12479 `const char **' to build an argv array.
12480 (mapfile, libselect, libcompare, locatelib): Add prototypes.
12482 * collect2.h (collect_execute, collect_wait, dump_file,
12483 file_exists): Constify a char*.
12484 (ldout, c_file_name, temporary_obstack, permanent_obstack,
12485 temporary_firstobj, vflag, debug): Add extern declarations.
12486 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
12488 * tlink.c: Don't include toplev.h.
12489 (vflag, debug, ldout, c_file_name, temporary_obstack,
12490 permanent_obstack, temporary_firstobj): Don't declare.
12491 (tlink_execute, frob_extension, symbol_hash_lookup,
12492 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
12493 recompile_files, read_repo_files, demangle_new_symbols,
12494 scan_linker_output): Constify a char*.
12495 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
12496 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
12498 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
12500 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
12501 (relative) rather than jsr (absolute) subroutine call insns.
12502 * config/m68k/m68k-coff.h: Ditto.
12504 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
12506 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
12507 now rework these too.
12508 (arm_reorg): If an insn can't reach the end of the current pool,
12509 ensure that we emit that pool before the insn.
12511 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
12513 * tlink.c (scan_linker_output): Skip the initial underscore in
12514 a mangled name if appropriate.
12516 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12518 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
12519 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
12520 error_with_ivar, gen_declarator, create_builtin_decl,
12521 my_build_string, generate_descriptor_table, generate_ivars_list,
12522 generate_dispatch_table, check_protocols, TAG_GETCLASS,
12523 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
12524 dump_base_name, lang_decode_option, build_encode_expr,
12525 start_class, finish_class, encode_pointer, really_start_method,
12526 gen_declaration, dump_interface, handle_class_ref, handle_impent):
12528 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
12529 Add static prototypes.
12530 (build_objc_string_decl, build_selector_reference_decl,
12531 encode_bitfield, build_class_reference_decl): Remove unused
12532 parameter, all callers changed.
12533 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
12534 (objc_printable_name): Likewise. Change second parameter to type int.
12535 (init_objc): Use memcpy, not bcopy, to avoid casts.
12537 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
12539 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
12540 reg notes on a deleted insn.
12541 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
12543 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
12545 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
12547 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12549 * stmt.c (expand_asm_operands): Fix index into inout_mode when
12552 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
12554 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
12555 * tm.texi (MD_ASM_CLOBBERS): Document it.
12557 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
12559 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
12560 * except.c (expand_rethrow): Remove unused variable.
12561 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
12562 * flow.c (replace_insns): Likewise.
12563 (create_edge_list, verify_edge_list): Likewise.
12564 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
12566 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
12567 is special code to run.
12568 (main): Don't define operands to emit_operand.
12569 * genrecog.c (main): Don't emit an empty peephole2_insn function.
12571 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
12573 * alpha/alpha.h (normal_memory_operand): Declare.
12574 (reg_no_subreg_operand): Declare.
12575 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
12577 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
12579 * c-parse.in (compstmt_primary_start): New, broken out of first
12580 part of compstmt handling in primary.
12581 (primary): Use it. Add an error clause.
12582 (compstmt_nostart): Renamed from compstmt; remove all
12583 initial invocations of compstmt_start.
12586 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
12588 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
12591 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
12593 * combine.c (simplify_shift_const): Remove extra semicolon.
12594 * dwarf2out.c (remove_AT): Likewise.
12595 * expmed.c (expand_mult): Likewise.
12596 * gcov.c (create_program_flow_graph): Likewise.
12597 * reorg.c (mostly_true_jump): Likewise.
12599 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
12601 * fold-const.c (fold_range_test): Do not try to fold the range
12602 test if the rhs or lhs has side effects.
12604 * combine.c (simplify_rtx): Recognize another case of a synthesized
12607 * varasm.c (mark_constant_pool): When marking indirect references,
12608 only look at SYMBOL_REFs.
12610 * except.c (expand_fixup_region_end): Do not peek at
12611 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
12613 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
12615 * flags.h: New variables align_loops, align_loops_log,
12616 align_jumps, align_jumps_log, align_labels, align_labels_log,
12617 align_functions, align_functions_log.
12618 * toplev.c: Define them.
12619 (f_options): Handle -falign-* when they have no argument.
12620 (main): Add logic to set variables for -falign-functions,
12621 -falign-jumps, -falign-labels, -falign-loops.
12622 Make it -fsched-verbose=<n> and -finline-limit=<n>.
12623 (display_help): Change help to match options.
12624 * final.c (LABEL_ALIGN): Default to align_labels_log.
12625 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
12626 (LOOP_ALIGN): Default to align_loops_log.
12627 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
12628 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
12629 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
12630 * varasm.c (assemble_start_function): Handle align_functions.
12632 * config/sparc/sparc.h: Don't declare sparc_align_*.
12633 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
12634 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
12636 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
12638 * config/sparc/sparc.c: Delete sparc_align_loops,
12639 sparc_align_jumps, sparc_align_funcs and the corresponding string
12641 (sparc_override_options): Default align_functions on ultrasparc.
12642 Delete -malign-* handling.
12644 * config/mips/mips.c (override_options): On 64-bit targets,
12645 try to align code to 64-bit boundaries.
12646 (print_operand): New substitution, %~,
12647 which aligns labels to align_labels_log.
12648 * config/mips/mips.md (div_trap_normal): Use %~.
12649 (div_trap_mips16): Likewise.
12651 (absdi2): Likewise.
12652 (ffssi2): Likewise.
12653 (ffsdi2): Likewise.
12654 (ashldi3_internal): Likewise.
12655 (ashrdi3_internal): Likewise.
12656 (lshrdi3_internal): Likewise.
12657 (casesi_internal): Likewise.
12659 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
12661 Merge new ia32 backend from the branch!
12663 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
12664 See ChangeLog.P2 on new_ia32_branch for details.
12666 * rtl.h (stack_regs_mentioned_p): Delete prototype.
12667 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
12668 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
12669 * i386/gas.h (ASM_FILE_START): Define.
12670 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
12671 for name change of ix86_valid_decl_attribute_p.
12672 (i386_pe_valid_type_attribute_p): Similarly.
12674 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
12676 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
12677 to step through CC modes.
12679 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12681 * regmove.c (fixup_match_1): Don't move INSN in front of P if
12682 it would end up in the shadow of a live flags regsiter.
12684 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12686 * reload1.c: Fix many indentation problems.
12687 * reload.c: Likewise.
12689 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
12691 * alias.c (non_local_reference_p): Constify fmt.
12693 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
12695 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
12697 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
12699 * cse.c (delete_trivially_dead_insns): Do not delete stores to
12700 the internal_arg_pointer.
12702 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
12704 Merge peephole2 from new_ia32_branch:
12705 * Makefile.in (STAGESTUFF): Add *.peephole2.
12706 (mostlyclean): Likewise.
12707 (recog.o): Depend on resource.h.
12709 * final.c (peephole): Conditionalize decl on HAVE_peephole.
12710 (final_scan_insn): Likewise for the invocation of peephole.
12711 * genconfig.c (main): Look for peephole and peephole2 patterns.
12712 Emit HAVE_peephole* accordingly.
12713 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
12714 * flags.h (flag_peephole2): Declare.
12715 * toplev.c: New pass peephole2. New flag -fpeephole2.
12717 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
12718 * gencodes.c (main): Likewise.
12719 * genextract.c (main): Likewise.
12720 * genoutput.c (main): Likewise.
12721 * genemit.c (max_operand_1): Look for the max scratch operand.
12722 (gen_rtx_scratch): New.
12723 (gen_exp): Use it, and pass on new arg subroutine_type.
12724 (gen_expand): Take max scratch into account.
12725 (gen_split): Emit peephole2 functions.
12726 (output_peephole2_scratch): New.
12727 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
12728 * genrecog.c (routine_type): Add PEEPHOLE2.
12730 (make_insn_sequence): Match outer parallel for peep2. Discard
12731 top level scratches and dups.
12732 (add_to_sequence): New args insn_type and top. Update all callers.
12733 Handle toplevel peep2 matching insns.
12734 (write_subroutine): Handle peep2.
12735 (write_tree_1): Likewise.
12736 (write_tree): Likewise.
12738 (change_state): New arg afterward. Update all callers.
12739 Handle matching separate insns.
12740 * recog.c (recog_next_insn): New.
12741 (peephole2_optimize): New.
12742 * rtl.def (DEFINE_PEEPHOLE2): New.
12743 * resource.c (find_free_register): New argument last_insn. Use it
12744 to find a register available through the entire span.
12745 * resource.h (find_free_register): Update prototype.
12747 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
12749 * i386.c (output_strlen_unroll): Don't write xops[7]
12750 label if it wasn't set.
12752 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
12754 * cpplib.c (struct directive): Const-ify name pointer and
12755 function pointer prototype.
12756 (validate_else, do_define, do_line, do_include, do_undef,
12757 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
12758 do_elif, do_endif, do_sccs, do_assert, do_unassert,
12759 do_warning): Const-ify second arg.
12760 (directive_table): Mark const. Reorder entries by frequency
12761 of usage, record statistics.
12763 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
12765 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
12766 bounds- check RTL accesses if --enable-checking.
12767 (RTVEC_ELT): Bounds check if --enable-checking.
12768 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
12769 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
12770 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
12772 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
12773 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
12775 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
12776 (NOTE_SOURCE_FILE): Use X0STR.
12777 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
12778 MEM_ALIAS_SET): Use X0INT.
12779 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
12780 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
12782 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
12783 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
12784 (rtl_check_failed_bounds, rtl_check_failed_type1,
12785 rtl_check_failed_type2, rtvec_check_failed_bounds): New
12787 (fancy_abort): Fix comment.
12789 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
12790 (cse_insn): Decrement LABEL_NUSES for jump target before
12791 deleting jump insn.
12792 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
12793 * final.c (alter_subreg): Compute regno before changing x to
12794 REG; set REGNO(x) after changing it.
12795 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
12796 notes containing CONST_INTs.
12797 (delete_eh_regions): Use NOTE_EH_HANDLER.
12798 * function.c (put_reg_into_stack): Make reg a MEM before
12800 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
12802 (gen_mem_addressof): Make reg a MEM before initializing it.
12803 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
12805 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
12806 deleting an insn, not after.
12807 (block_alloc): Only look at PATTERN(insn) if we have to, and
12808 only if it's format class 'i'.
12809 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
12810 CONST_INT before using its INTVAL.
12811 * print-rtl.c (print_rtx): Use X0STR.
12812 * regmove.c (fixup_match_1): Don't look at PATTERN of
12813 non-class-'i' insn chain elements.
12814 * reload.c (loc_mentioned_in_p): Take address of
12815 in->fld[1].rtx directly.
12816 * reload1.c (reload): Change reg to a MEM before initializing
12818 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
12820 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
12822 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
12824 * config/mips/mips.c (machine_dependent_reorg): Force a
12825 barrier to output the local constant pool if a barrier hasn't
12826 been found at a natural point in the instruction stream.
12828 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12830 * c-parse.in (language_string): Constify.
12832 * dwarf2out.c (language_string): Remove declaration.
12834 * dwarfout.c (language_string): Likewise.
12836 * toplev.c (language_string, init_parse, finish_parse): Likewise.
12838 * tree.h (language_string, init_parse, finish_parse): Declare.
12840 * i386/sun386.h (language_string): Remove declaration.
12842 * mips.h (language_string): Likewise.
12844 * nextstep.h (language_string): Likewise.
12846 * nextstep21.h (language_string): Likewise.
12848 * rs6000.c (language_string): Likewise.
12850 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12852 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
12853 (getpwd.o): Remove target.
12855 * getpwd.c: Delete file. Its in libiberty now.
12857 * dbxout.c (getpwd): Don't prototype.
12858 * dwarf2out.c (getpwd): Likewise
12859 * dwarfout.c (getpwd): Likewise
12860 * final.c (getpwd): Likewise.
12861 * protoize.c (getpwd): Likewise.
12863 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12865 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
12867 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
12869 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
12870 mark_set_resources.
12872 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
12874 * fixinc/Makefile.in (subdir): New.
12875 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
12878 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
12880 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
12881 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
12884 * invoke.texi: Fix typo.
12886 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
12887 changed. Handle autoincrement addressing modes.
12889 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
12890 just like we would the virtual incoming args register when
12893 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
12895 * rs6000.h (ASM_FILE_START): Specify complete filename, including
12896 path, in .file directive.
12898 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
12900 * gcc.texi (External Bugs): Remove obsolete note about Perl on
12903 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
12905 * stdbool.h: Make the typedef name _Bool, with bool a #defined
12908 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12910 * tree.c (tree_code_name): Constify a char*.
12912 * tree.h (tree_code_name, decl_printable_name): Likewise.
12914 * function.h (struct function): Likewise.
12916 * toplev.c (decl_name, decl_printable_name): Likewise.
12918 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
12920 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
12921 (init_objc): Remove function pointer cast.
12923 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
12925 * pa.md (interspace_jump): New pattern.
12926 (builtin_longjmp): New expander.
12928 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
12930 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
12931 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
12932 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
12934 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
12936 * jump.c (delete_prior_computation): Also check calls
12937 to constant functions. Don't bother checking for a
12938 REG_UNUSED note before adding it.
12939 (delete_computation): Handle multi-word hard registers
12940 when synthesizing missing REG_DEAD notes for a register
12941 which is both set and used by an insn.
12943 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12945 * loop.c (this_loop_info): New variable.
12946 (loop_has_call, loop_has_volatile, loop_has_tablejump,
12947 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
12949 (prescan_loop, strength_reduce): New argument loop_info. All callers
12951 (scan_loop): New variable loop_info, initialise to address of
12953 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
12954 Delete variable loop_has_multiple_exit targets and replace with
12955 field in this_loop_info.
12956 (find_and_verify_loops): Rename this_loop to this_loop_num.
12957 (strength_reduce): Delete loop_iteration_info. Replace variable
12958 loop_info with function argument of same name.
12959 (insert_bct): Rework test for loop being completely unrolled.
12961 * loop.h (struct loop_info): New fields num, loops_enclosed,
12962 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
12963 has_indirect_jump, and cont. Redefine use of unroll_number.
12964 (loop_unroll_number): Delete.
12966 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
12967 field of loop_info.
12968 (loop_iterations): Delete variable vtop and instead use
12969 loop_info->vtop computed in prescan_loop.
12971 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
12973 * fix-header.c (main): Do not pass a null pointer to strcmp.
12975 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
12977 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
12979 * configure: Rebuilt.
12981 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
12983 * jump.c (jump_optimize_1): Do not delete assignments to
12984 internal_arg_pointer.
12985 * cse.c (delete_trivially_dead_insns): Always consider a set of
12986 the internal_arg_pointer live.
12988 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
12990 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
12991 (update_life_info) [REG_WAS_0]: Search the original insns rather
12992 than the new insns for the note. Fix typos finding note_dest.
12993 If no dest found, discard the note rather than abort.
12994 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
12995 (replace_insns): Remove the old insn list after update_life_info
12998 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
13000 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
13001 sched_analyze_insn.
13002 (sched_analyze_1): Let add_dependence care for not adding dups.
13003 (sched_analyze_2): Likewise.
13004 (add_branch_dependences): Likewise.
13006 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
13008 * i386/winnt.c (export_list): New type.
13009 (exports_head): Rename to
13010 (export_head): this.
13011 (i386_pe_record_exported_symbol): Add is_data flag.
13012 (i386_pe_asm_file_end): Emit directive for exported variables.
13013 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
13015 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
13016 (ASM_DECLARE_OBJECT_NAME): Likewise.
13017 (ASM_DECLARE_FUNCTION_NAME): Likewise.
13018 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
13020 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
13022 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
13024 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
13027 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
13029 * config/openbsd.h: Define SET_ASM_OP.
13030 * tm.texi: cross-reference SET_ASM_OP in the index.
13032 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
13034 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
13035 for a CONST_DOUBLE, at compile time. Initialize rtx_length
13036 and class_narrowest_mode at compile time. Kill init_rtl.
13037 Mark rtx_length, mode_class, mode_size, mode_unit_size,
13038 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
13039 rtx_format as const. Kill all references to EXTRA_CC_MODES or
13041 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
13043 * rtl.h: Declare rtx_length and rtx_format as const.
13044 * machmode.def: Define CC(). Use CC() to define CCmode. If
13045 EXTRA_CC_MODES is defined, expand it here.
13046 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
13047 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
13048 const. Kill all references to EXTRA_CC_MODES.
13050 * toplev.c: Don't prototype or call init_rtl.
13051 * optabs.c: Don't call init_mov_optab.
13052 * genemit.c: Don't generate init_mov_optab. Don't call
13054 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
13056 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
13057 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
13058 genrecog.c: Don't call init_rtl.
13060 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
13061 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
13062 definition of EXTRA_CC_MODES.
13064 * md.texi: Kill ref to EXTRA_CC_NAMES.
13065 * tm.texi: Document new way to define EXTRA_CC_MODES.
13067 * genrecog.c: Do not look up the name of a define_split.
13068 (Unrelated bugfix.)
13070 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
13072 * config/v850/v850.md: Fix typo introduced by previous delta.
13074 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13076 * gcc.c (fatal): Make definition static to match prototype.
13078 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13080 * combine.c (get_last_value): Don't look for earlier sets if the last
13081 known set is somewhere in between the insns being combined.
13083 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
13085 * configure.in: Don't use shell ! to negate exit codes
13086 * configure: Regenerate
13088 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
13090 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
13091 the fact that ALIGN is measured in bits, not bytes.
13093 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
13095 * errors.c: New file; defines functions error, warning, and
13096 fatal, variables have_error and progname.
13097 * errors.h: New file; prototypes and decls for stuff in errors.c.
13099 * Makefile: Add rules to build errors.o and
13100 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
13101 genopinit, genrecog, genextract, genpeep, genattr, and
13102 genoutput with errors.o. Add errors.h to deps of genconfig.o,
13103 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
13104 genpeep.o, genattr.o, and genoutput.o.
13106 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
13107 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
13108 define or prototype fatal. Set progname at beginning of main.
13109 * genoutput.c: Likewise, and don't define or prototype error
13112 * c-typeck.c (c_expand_start_case): Return immediately if exp
13114 * fold-const.c (operand_equal_p): Return immediately if arg1
13115 or arg0 are ERROR_MARKs.
13116 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
13117 fields of type ERROR_MARK when calculating if the record can
13120 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
13121 with much help from Jeffrey A Law and Richard Henderson
13123 * i386.md: In the 6 insns which call output_fix_trunc,
13124 earlyclobber operands[0].
13126 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
13128 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
13129 creating new registers.
13131 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
13133 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
13134 i386_reg_alloc_order, i386_regparm_string,
13135 i386_align_loops_string, i386_align_jumps_string,
13136 i386_align_funcs_string, i386_preferred_stack_boundary_string,
13137 and i386_branch_cost_string as type "const char *".
13138 * i386.c: Define all above strings as type "const char *".
13140 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
13142 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
13143 when emitting alignment padding. Emit padding byte of 0 instead of 4.
13145 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
13147 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
13148 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
13150 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
13152 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
13153 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
13154 (dwarf2out_line, dwarf2out_finish): Likewise.
13155 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
13157 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
13159 * tree.c (lang_unsave_expr_now) : Correct return type.
13160 * tree.h (lang_unsave_expr_now) : Same.
13162 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
13164 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
13165 instead of duplicating code.
13167 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13169 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
13171 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
13173 * tree.h: fancy_abort always takes three args.
13174 * resource.c: Move include of system.h before toplev.h.
13176 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
13178 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
13181 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
13183 * system.h: Don't redefine abort or trim_filename.
13184 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
13185 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
13186 whether or not __FUNCTION__ is available.
13187 * tree.h: Duplicate rtl.h's definition of abort, for files
13188 that don't include rtl.h. Delete all code to perform type
13189 checking with a compiler other than GCC.
13190 * varray.h: Delete all code to perform type checking with a
13191 compiler other than GCC. Make VARRAY_CHECK() always evaluate
13192 its arguments exactly once, using a statement expression.
13193 Adjust the VARRAY_<type> accessor macros to match.
13194 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
13195 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
13196 caller's location. Define fatal_insn and fatal_insn_not_found
13197 as macros that use _fatal_insn and _fatal_insn_not_found.
13198 (fancy_abort, trim_filename): Kill prototypes.
13200 * rtl.c (trim_filename): Move here from toplev.c.
13201 (fancy_abort): New function.
13202 (DIR_SEPARATOR): Provide default definition.
13203 * tree.c (tree_check_failed, tree_class_check_failed): Go
13204 through fancy_abort.
13205 (tree_check, tree_class_check, cst_or_constructor_check,
13206 expr_check): Delete.
13207 * varray.c (varray_check_failed): New function.
13208 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
13209 _fatal_insn and _fatal_insn_not_found. Go through
13211 (trim_filename, fancy_abort): Delete.
13213 * builtins.c (expand_builtin_args_info): Report ICE with abort.
13214 * except.c (start_catch_handler): Report ICE with error/abort
13216 * final.c (output_operand_lossage): Likewise.
13217 * flow.c (verify_flow_info): Likewise.
13219 * gcc.c: Prototype fatal.
13220 * gengenrtl.c: Undef abort after including rtl.h not system.h.
13221 * genattr.c, genattrtab.c, genemit.c, genextract.c,
13222 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
13223 Don't define fancy_abort.
13225 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
13227 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
13230 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
13232 * m88k.h (VERSION_INFO2): Kill.
13233 (VERSION_STRING): Kill.
13235 (VERSION_INFO1): Tidy.
13236 (TARGET_VERSION): Update.
13237 * m88k/dgux.h (VERSION_INFO2): Kill.
13238 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
13239 * m88k/luna.h (VERSION_INFO1): Tidy.
13240 * m88k/sysv4.h (VERSION_INFO1): Likewise.
13241 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
13242 (output_file_start): Adjust for death of VERSION_STRING.
13244 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
13246 * cpplib.c (detect_if_not_defined): New function.
13247 (do_if): Use it to detect potential once-only headers.
13249 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
13251 * c-common.c (combine_strings): Always set TREE_CONSTANT.
13253 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
13255 * combine.c (nonzero_bits) : Allow single-ly set registers to be
13256 anywere in the function only if they are pseudos and set before
13257 being used (not live at the start of the function).
13258 (num_sign_bit_copies) : Same.
13259 (get_last_value_validate) : Same.
13260 (get_last_value) : Same.
13262 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
13264 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
13265 where N and M are constant and N is an integer multiple of M.
13267 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13269 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
13270 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
13271 sbitmap_union_of_preds): Add prototypes.
13272 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
13273 the intersection of successors with the new flow graph structures.
13274 (sbitmap_intersection_of_preds): New function to compute the
13275 intersection of predecessors with the new flow graph structures.
13276 (sbitmap_union_of_succs): New function to compute the union of
13277 successors with the new flow graph structures.
13278 (sbitmap_union_of_preds): New function to compute the union of
13279 predecessors with the new flow graph structures.
13280 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
13281 (expr_reaches_here_p): Use edge and basic_block structures instead
13282 of s_preds and s_succs.
13283 (compute_cprop_avinout): Use new sbitmap routines.
13284 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
13285 of s_preds and s_succs.
13286 * flow.c (compute_flow_dominators): Compute dominators using
13287 edges and basic blocks instead of s_preds and s_succs.
13289 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13291 * lists.c (unused_insn_list, unused_expr_list): New file for
13292 maintaining various types of lists. New statics for maintaining a
13293 cache of available INSN_LIST and EXPR_LIST nodes.
13294 (free_list): Static function for freeing a list of INSN/EXPR nodes.
13295 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
13296 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
13297 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
13298 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
13299 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
13300 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
13301 (free_INSN_LIST_node): Free an individual INSN_LIST node.
13302 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
13303 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
13304 (remove_dependence, free_pending_lists): Use new global routines.
13305 (flush_pending_lists, sched_analyze_insn): Use new global routines.
13306 (sched_analyze, compute_block_backward_dependences): Use new routines.
13307 (sched_analyze_1, sched_analyze_2): Use new routines.
13308 (schedule_insns): Use new global routines.
13309 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
13311 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
13312 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
13314 * toplev.c (rest_of_compilation): Initialize node cache.
13315 * Makefile.in (OBJS): Add lists.o to list of object files.
13316 (lists.o): Add dependancies.
13318 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
13320 * config/v850/v850.md: Fix compile time warning messages.
13321 * config/v850/v850.c: Fix compile time warning messages.
13322 * config/v850/v850.h: Fix compile time warning messages.
13324 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13326 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
13327 Remove unused prototype for `init_lengths'.
13329 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13331 * calls.c (emit_call_1): Mark parameter `stack_size' with
13333 (expand_call): Initialize variable `insn'.
13334 (emit_library_call): Likewise for variable `high_to_save'.
13335 (emit_library_call_value): Likewise.
13336 (store_one_arg): Likewise for variables `lower_bound' and
13339 * combine.c (try_combine): Likewise for variables `i2_code_number'
13340 and `other_code_number'.
13341 (find_split_point): Likewise for variables `pos', `unsignedp' and
13343 (simplify_if_then_else): Likewise for variables `op' and `c1'.
13344 (simplify_and_const_int): Remove unused variable `width'.
13345 (merge_outer_ops): Likewise.
13347 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
13348 HOST_WIDE_INT' when comparing against one.
13349 (simplify_relational_operation): Likewise.
13350 (cse_insn): Initialize variables `src_eqv_volatile',
13351 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
13353 * final.c (init_final): Constify parameter `filename'.
13354 (final_start_function): Mark parameter `optimize' with
13356 (profile_function): Likewise for parameters `first' and `optimize'.
13357 (output_source_line): Likewise for parameter `file'.
13359 * integrate.c (subst_constants): Cast a value to `size_t' when
13360 comparing against one.
13361 (mark_stores): Initialize variable `mode'. Cast a value to
13362 `size_t' when comparing against one.
13364 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
13366 * loop.c (move_movables): Initialize variable `first'.
13367 (strength_reduce): Likewise for variable `increment'.
13368 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
13369 value to `size_t' when comparing against one.
13370 (load_mems): Initialize variable `end_label'.
13372 * output.h (init_final): Constify parameter.
13374 * reload.c (decompose): Initialize variable `base'.
13376 * reload1.c (reload): Likewise for variable `is_scalar'.
13377 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
13378 (choose_reload_regs): Initialize variable `mode'.
13379 (emit_reload_insns): Likewise for variable `store_insn'.
13380 (reload_cse_noop_set_p): Mark parameter `insn' with
13382 (reload_combine): Initialize variable `set'.
13384 * unroll.c (unroll_loop): Likewise for variable `local_label'.
13385 (copy_loop_body): Cast a value to `size_t' when comparing against
13388 * varasm.c (assemble_variable): Initialize variable `size_tree'.
13389 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
13390 (remove_from_pending_weak_list): Mark parameter `name' with
13393 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13395 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
13398 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
13400 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
13401 (ASM_DECLARE_FUNCTION_NAME): Define.
13402 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
13403 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
13404 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
13405 not already defined.
13407 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
13409 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
13410 of n_popped when call/call_value are not defined.
13412 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
13414 * tm.texi: GNU CC -> GCC conversion.
13415 (CC1_SPEC): Indicate it is used for all language front ends.
13417 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
13419 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
13420 NOTE_INSN_EH_REGION_END correctly.
13422 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
13423 Jeff Law <law@cygnus.com>
13425 * loop.c (strength_reduce): Automatically unroll loops if the
13426 unrolled loop size is smaller than the rolled loop size.
13428 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
13429 and delete comment that code should be rewritten.
13431 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
13433 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
13436 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
13438 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
13440 * fixinc/mkfixinc.sh: Don't fix uwin headers.
13441 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
13442 (LINK_SPEC): Add -u _main when building executables.
13443 (ASM_DECLARE_FUNCTION): Update from Cygwin.
13444 (ASM_FILE_END): Use the default for ix86-pe.
13445 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
13447 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
13449 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
13450 and ASM_CLOSE_PAREN are empty strings.
13452 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
13453 Geoffrey Keating <geoffk@cygnus.com>
13455 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
13456 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
13457 (unprotoize.o): Ditto.
13458 (test-protoize-simple): Don't define STD_PROTO_DIR.
13459 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
13460 changes to make 'test-protoize-simple' pass.
13461 (STD_PROTO_DIR): Remove define.
13462 (STANDARD_EXEC_PREFIX): Supply default define.
13463 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
13464 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
13465 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
13466 (GET_ENV_PATH_LIST): New macro.
13467 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
13468 (do_processing): Initialize default_syscalls_dir using new
13469 macros. Use it to initialize syscalls_absolute_filename.
13471 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
13473 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
13474 B into a register before emit_conditional_move.
13476 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
13478 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
13479 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
13480 multiplicand out of (+ (* a b) (* c d)).
13482 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
13483 Richard Henderson <rth@cygnus.com>
13485 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
13486 (new_insn_dead_notes): Likewise.
13487 (update_n_sets): Likewise.
13488 (update_flow_info): Move to flow.c, renamed to update_life_info;
13489 extend to handle multiple source insns.
13490 * flow.c: Include resource.h
13491 (unlink_insn_chain): New.
13492 (split_hard_reg_notes): New.
13493 (maybe_add_dead_note): New.
13494 (maybe_add_dead_note_use): New.
13495 (find_insn_with_note): New.
13496 (new_insn_dead_notes): New.
13497 (update_n_sets): New.
13498 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
13499 (maybe_remove_dead_notes): New.
13500 (update_life_info): New.
13501 (prepend_reg_notes): New.
13502 (replace_insns): New.
13503 * output.h (update_life_info): Declare.
13504 * recog.c (split_block_insns): Use update_life_info.
13505 * resource.c (find_free_register): Use reg_alloc_order, don't use
13506 fixed regs, make sure the mode is supported, don't use new regs.
13508 * rtl.h (replace_insns): Declare.
13510 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
13512 * expr.c (expand_expr): Cope with COND_EXPRs with one
13513 non-returning branch.
13515 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
13517 * expr.c (store_expr): Always pass down the target, even when not
13520 1999-08-24 Nick Clifton <nickc@cygnus.com>
13522 * configure.in: Define target_cpu_default for v850 targets.
13523 * configure: Regenerate
13525 * config/v850/v850.h (TARGET_CPU_generic): Define.
13526 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
13527 addresses are 4 byte aligned.
13529 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
13532 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13534 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
13535 (main): Add prototypes.
13537 * genattrtab.c (substitute_address, write_const_num_delay_slots,
13538 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
13539 (write_attr_get): Emit prototypes along with function definition.
13540 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
13541 (write_complex_function): Emit static prototype along with
13542 function definition.
13544 * genemit.c (gen_split): Emit prototypes along with function
13547 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
13548 Likewise for predicates and `insn_operand_predicate'.
13549 (process_template): Emit static prototype along with function
13552 * genrecog.c (make_insn_sequence): Constify a char*. Add
13553 prototypes for get_split_*().
13554 (write_subroutine): Emit prototypes along with function
13557 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13559 * gcse.c (find_avail_set): Follow chains of register-register copies.
13560 Use oprs_not_set_p to guarantee that the returned value can be
13562 (cprop_insn): Don't verify the return value of find_avail_set with
13565 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
13566 (cprop_cc0_jump): New function.
13567 (cprop_insn): Break out new function cprop_jump and use it.
13568 Also use cprop_cc0_jump for machines with CC0.
13569 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
13571 * tree.h (current_function_calls_setjmp,
13572 current_function_calls_longjmp): Delete declarations.
13573 * dsp16xx.c: Include "function.h".
13574 * elxsi.c: Likewise.
13575 * gmicro.c: Likewise.
13576 * h8300.c: Likewise.
13577 * i370.c: Likewise.
13578 * m32r.c: Likewise.
13579 * mn10200.c: Likewise.
13580 * mn10300.c: Likewise.
13581 * ns32k.c: Likewise.
13582 * spur.c: Likewise.
13583 * v850.c: Likewise.
13585 * rtl.h (rtx_equal_function_value_matters): Declare.
13586 * toplev.c (rtx_equal_function_value_matters): Don't declare.
13588 * function.c: Likewise.
13589 * emit-rtl.c: Likewise.
13591 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
13593 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
13596 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13598 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
13601 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
13603 * cpp.texi: Add a node documenting macro varargs (copied
13606 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
13608 * cppspec.c: Put a null pointer at the end of the new argv.
13610 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
13612 * configure.in: Remove code to select/de-select the haifa
13613 scheduler. Every scheduled port gets haifa now.
13614 * configure: Rebuilt.
13615 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
13617 * Makefile.in: Corresponding changes.
13619 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13621 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
13622 All callers changed.
13623 (prepare_float_lib_cmp): Likewise.
13624 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
13625 * expr.h (emit_float_lib_cmp): Delete declaration.
13626 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
13627 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
13628 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
13630 (cmptf): Now conditional on TARGET_HARD_QUAD.
13632 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
13634 * resource.c (mark_target_live_regs): Use
13635 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
13637 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13639 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
13641 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
13643 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
13645 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13647 * rtl.h (rtx_format): Constify a char*.
13649 * rtl.c (rtx_format): Likewise.
13650 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
13651 (init_rtl): Use accessor macro, not `rtx_format'.
13653 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
13656 * caller-save.c (mark_referenced_regs): Likewise.
13658 * combine.c (subst, make_compound_operation, known_cond,
13659 gen_rtx_combine, update_table_tick, get_last_value_validate,
13660 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
13662 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
13663 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
13664 count_reg_usage): Likewise.
13666 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
13669 * final.c (leaf_renumber_regs_insn): Likewise.
13671 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
13672 dump_edge_info, count_reg_references): Likewise.
13674 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
13675 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
13678 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
13679 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
13680 add_label_notes): Likewise.
13682 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
13683 clear_struct_flag, count_sub_rtxs, count_alternatives,
13684 compares_alternatives_p, contained_in_p, walk_attr_value,
13685 write_expr_attr_cache): Likewise.
13687 * genconfig.c (walk_insn_part): Likewise.
13689 * genemit.c (max_operand_1, gen_exp): Likewise.
13691 * genextract.c (walk_rtx): Likewise.
13693 * genflags.c (num_operands): Likewise.
13695 * genoutput.c (scan_operands): Likewise.
13697 * genpeep.c (match_rtx): Likewise.
13699 * genrecog.c (add_to_sequence): Likewise.
13701 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
13704 * integrate.c (save_constants, copy_for_inline,
13705 copy_rtx_and_substitute, subst_constants, restore_constants):
13708 * jump.c (mark_jump_label, invert_exp, redirect_exp,
13709 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
13711 * local-alloc.c (contains_replace_regs, memref_referenced_p):
13714 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
13715 add_label_notes, replace_call_address, count_nonfixed_reads,
13716 invariant_p, find_single_use_in_loop, find_mem_givs,
13717 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
13720 * print-rtl.c (reg_names, print_rtx): Likewise.
13722 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
13724 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
13725 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
13726 print_blocks): Likewise.
13728 * regclass.c (fix_register, record_address_regs,
13729 reg_scan_mark_refs): Likewise.
13731 * regmove.c (stable_but_for_p): Likewise.
13733 * reload.c (loc_mentioned_in_p, operands_match_p,
13734 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
13735 copy_replacements, refers_to_regno_for_reload_p,
13736 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
13737 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
13740 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
13741 delete_address_reloads_1, count_occurrences,
13742 reload_cse_mem_conflict_p, reload_combine_note_use,
13743 add_auto_inc_notes): Likewise.
13745 * resource.c (mark_referenced_resources, mark_set_resources):
13748 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
13749 reg_mentioned_p, regs_set_between_p, modified_between_p,
13750 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
13751 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
13752 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
13753 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
13755 * sched.c (sched_analyze_2, attach_deaths): Likewise.
13757 * stupid.c (stupid_mark_refs): Likewise.
13759 * unroll.c (remap_split_bivs): Likewise.
13761 * varasm.c (mark_constants): Likewise.
13763 * a29k/a29k.c (uses_local_reg_p): Likewise.
13765 * alpha/alpha.c (summarize_insn): Likewise.
13767 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
13768 eliminate_lr2ip): Likewise.
13770 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
13772 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
13773 reg_mentioned_in_mem): Likewise.
13775 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
13776 symbolic_reference_mentioned_p): Likewise.
13778 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
13780 * sh/sh.c (regs_used, mark_use): Likewise.
13782 * vax/vax.c (vax_rtx_cost): Likewise.
13784 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13786 * machmode.h (mode_name): Constify a char*.
13788 * rtl.c (mode_name): Likewise.
13790 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
13792 * optabs.c (init_libfuncs): Constify a char*.
13794 * print-tree.c (mode_name): Remove redundant declaration.
13795 (print_node): Use accessor macro, not `mode_name'.
13797 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
13799 (new_spill_reg): Constify a char*.
13801 * tree.c (mode_name): Remove redundant declaration.
13803 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13805 * rtl.c (rtx_name): Constify a char*.
13807 * rtl.h (rtx_name, fix_sched_param): Likewise.
13809 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
13810 (mypr): Use accessor macro, not `rtx_name'.
13812 * genemit.c (print_code): Constify a char*.
13814 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
13816 * genpeep.c (print_code): Constify a char*.
13818 * genrecog.c (print_code): Likewise.
13820 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
13821 end_bb): Add static prototype.
13822 (draw_edge): Constify a char*.
13823 (end_bb): Remove unused parameter.
13825 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
13826 print_block_visualization): Constify a char*.
13828 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
13830 * c-common.c (c_get_alias_set): Update comment.
13832 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13834 * linux.h (LIB_SPEC): Added.
13836 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13838 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
13840 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
13842 * tree.c (expr_check): Fix typo in last change.
13844 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
13846 * rtl.def (NOTE): Change format to "iuu0n".
13847 (ADDR_DIFF_VEC): Change format to "eEee0".
13848 (ADDRESSOF): Change format to "eit".
13850 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
13851 (RTVEC_ELT): Change to match.
13852 (XVECEXP): Use XVEC and RTVEC_ELT.
13853 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
13854 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
13855 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
13856 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
13857 TRAP_CONDITION, TRAP_CODE): Use XEXP.
13858 (INTVAL): Use XWINT.
13859 (ADDRESSOF_DECL): Use XTREE.
13860 (SET_ADDRESSOF_DECL): Delete.
13861 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
13862 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
13863 ifdefed out since 2.6 at least.
13864 (gen_rtvec_vv): Delete prototype.
13866 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
13868 (copy_most_rtx): Handle 't' format letter.
13869 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
13870 (gen_rtvec_vv): Delete function. All callers changed to use
13871 gen_rtvec_v instead.
13872 * print-rtl.c (print_rtx): Move special casing of NOTEs to
13873 the '0' format letter.
13875 * function.c (gen_mem_addressof): Don't use
13876 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
13878 * integrate.c (copy_rtx_and_substitute): Likewise.
13879 Copy 't' slots with XTREE.
13880 (subst_constants): Treat 't' slots like '[swi]' slots.
13881 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
13882 * jump.c (rtx_equal_for_thread_p): Likewise.
13883 * rtlanal.c (rtx_equal_p): Likewise.
13884 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
13885 only four arguments.
13886 * gengenrtl.c (type_from_format): Provide correct types for
13890 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
13891 If a recent gcc is in use (always in stage2 and beyond), use
13892 statement expressions, so we don't make a function call unless
13893 the check fails. Evaluate arguments exactly once.
13894 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
13895 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
13897 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
13898 they evaluate their arguments exactly once, irrespective of
13899 the compiler in use.
13901 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
13902 is used by the currently-enabled check macros. This is:
13903 (tree_check_failed, tree_class_check_failed): For gcc.
13904 (tree_check, tree_class_check, cst_or_constructor_check,
13905 expr_check): For other compilers.
13907 * gencheck.c: Do not define any *_CHECK1 macros.
13909 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
13910 Mark Mitchell <mark@codesourcery.com>
13912 * c-common.c (c_get_alias_set): Fix support for poitners and
13915 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
13917 * alias.c: Include tree.h.
13918 (nonlocal_reference_p, mark_constant_function): New functions.
13919 * flow.c (life_analysis): Call mark_constant_function.
13920 * rtl.h (mark_constant_function): Declare it.
13922 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
13924 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
13925 unrecognisable switches.
13927 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13929 * loop.c (recombine_givs): Set ix field after sorting.
13930 (recombine_givs): Remove bogus index / giv lockstep looping.
13932 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13934 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
13936 (emit_store_flag_force): Use do_compare_rtx_and_jump.
13937 (do_cmp_and_jump): Formatting fixes.
13938 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
13939 do_compare_rtx_and_jump instead of compare_from_rtx.
13940 (do_compare_rtx_and_jump): New function; mostly copied from
13942 (do_jump_for_compare): Delete.
13943 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
13945 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
13946 of compare/do_jump_for_compare pairs.
13947 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
13948 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
13949 compare_from_rtx/do_jump_for_compare pairs.
13950 (do_jump_by_parts_equality): Likewise.
13951 (do_jump_by_parts_equality_rtx): Likewise.
13952 * expr.h (do_compare_rtx_and_jump): Declare.
13953 * optabs.c (prepare_cmp_insn): New function, contains most of the code
13954 that used to be in emit_cmp_insn.
13955 (cmp_available_p): New function.
13956 (prepare_operand): New function.
13957 (emit_cmp_and_jump_insn_1): New function, contains some code that used
13958 to be in emit_cmp_insn.
13959 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
13960 parameters to be pointers; don't emit final compare but modify some of
13961 the values pointed to by the args so the caller can perform the
13962 correct comparison.
13963 (expand_binop): Call emit_store_flag_force with signed forms of
13965 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
13966 emit_jump_insn pair.
13967 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
13968 emit_cmp_and_jump_insn_1. Call emit_queue.
13969 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
13971 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
13972 jump sets cc0 before deleting it.
13973 * integrate.c (expand_inline_function): Likewise.
13974 * unroll.c (unroll_loop): Similar changes in several places.
13975 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
13976 before deleting it.
13978 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13980 * Makefile.in (insn-recog.o): Update dependencies.
13981 * genrecog.c (main): Make generated file include "function.h".
13983 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
13985 * cse.c (cse_insn): Call never_reached_warning when a jump is
13986 changed to be unconditional.
13987 * flags.h: Declare warn_notreached.
13988 * flow.c (delete_block): Call never_reached_warning when
13989 a block is deleted.
13990 * jump.c (delete_barrier_successors): Call never_reached_warning
13991 when we delete everything after a BARRIER.
13992 (never_reached_warning): New function.
13993 * rtl.h: Declare never_reached_warning.
13994 * toplev.c (warn_notreached): New variable.
13995 (lang_independent_options): Set warn_notreached
13996 when -Wunreachable-code.
13997 (compile_file): We need line numbers for -Wunreachable-code.
13999 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
14001 * haifa-sched.c (insn_unit): Fix typo on out of range test.
14002 * sched.c (insn_unit): Likewise.
14004 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
14006 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
14008 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14010 * flow.c (create_edge_list): Use xmalloc, not malloc.
14012 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
14014 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
14015 C-style comments. Do not lose the character before double slash.
14017 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14019 * basic-block.h (struct edge_list): Stucture to maintain a vector
14021 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
14022 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
14023 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
14024 New function prototypes.
14025 * flow.c (create_edge_list): Function to create an edge list.
14026 (free_edge_list): Discards memory used by an edge list.
14027 (print_edge_list): Debug output showing an edge list.
14028 (verify_edge_list): Internal consistency check for an edge list.
14029 (find_edge_index): Function to find an edge index for a pred and succ.
14031 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
14033 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
14036 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
14038 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
14040 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14042 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14044 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
14046 * toplev.c (rest_of_compilation): Allow machine dependent
14047 reorganisation pass to place information into the RTL dump
14048 file if it so wishes.
14050 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
14052 * explow.c (hard_function_value): Use VOIDmode instead of
14054 * stmt.c (expand_return): Likewise.
14055 * stor-layout.c (get_best_mode): Likewise.
14057 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
14058 emit call instead of emit_insn call.
14060 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
14062 * configure.in: Handle --disable/enable-win32-registry.
14063 * install.texi: Document --disable/enable-win32-registry.
14064 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
14065 (WIN32_REGISTRY_KEY): New macro.
14066 * prefix.c: Use to enable/disable win32-specific code.
14067 (lookup_key): Use versioned key.
14068 * configure: Regenerate.
14069 * config.in: Likewise.
14071 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
14073 * cpplib.c (read_line_number): New fn, split out of...
14076 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
14078 tree.c (lang_unsave_expr_now) : New.
14079 (unsave_expr_now): Call lang_unsave_expr_now.
14080 tree.h (lang_unsave_expr_now) : New.
14082 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
14084 * toplev.c (flag_new_exceptions): On by default.
14086 1999-08-13 Michael Meissner <meissner@cygnus.com>
14088 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
14090 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
14092 * dwarfout.c (fundamental_type_code): Return FT_boolean for
14093 INTEGER_TYPE with precision==1, it's __java_boolean.
14095 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14097 * global.c (prune_preferences): Move some invariants out of the
14100 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
14102 * configure.in (alpha*-dec-osf*): Add osf5.
14104 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
14106 * configure.in: Rework handling of ARM GNU/Linux slightly.
14107 (arm*-*-linux-gnuoldld): New target.
14108 * configure: Regenerate.
14109 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
14110 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
14111 * config/arm/linux-oldld.h: New file.
14112 * config/arm/linux-elf26.h: Don't include linux-elf.h.
14113 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
14115 * config/arm/linux-elf.h (ASM_SPEC): Define.
14116 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
14117 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
14118 for 26-bit APCS and old linker.
14119 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
14121 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
14122 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
14123 don't define `arm' or `arm_elf'.
14124 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
14125 MULTILIB_DIRNAMES): Define. Fix typo in comment.
14127 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
14129 * rtl.texi: Fix typo.
14131 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
14133 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
14135 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
14137 * extend.texi (C++ Signatures): Remove node.
14138 * invoke.texi: Remove discussion of -fhandle-signatures,
14139 signature, sigof, __signature__, and __sigof__.
14141 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
14143 * Makefile.in (JAVAGC): Removed.
14145 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
14147 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14149 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
14151 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14153 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
14155 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
14156 a register that is already known to be a pointer.
14158 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
14160 * fixinc/inclhack.tpl: Only install assert.h conditionally.
14161 * fixinc/inclhack.sh: Regenerated.
14162 * fixinc/fixincl.sh: Regenerated.
14164 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
14166 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
14167 Fix documentation of -ansi flag to describe its C++ behavior.
14168 Remove bogus reference to GCC 2.9.
14170 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
14172 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
14173 note if it is non-NULL.
14175 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14177 * except.h (eh_nesting_info): Add new structure defintion.
14178 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
14179 (reachable_handlers, update_rethrow_references): Add function
14181 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
14182 a rethrow symbol instead of an integer exception region number.
14183 * flow.c (Make_edges): Use new exception nesting routines to determine
14184 which handlers are reachable from a CALL or asynchronous insn.
14185 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
14187 (delete_eh_regions): Update rethrow labels, and don't delete
14188 regions which are the target of a rethrow.
14189 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
14190 avoid overloading the SYMBOL_REF_USED flag.
14191 (rethrow_symbol_map): Use new rethrow_ref field.
14192 (rethrow_used): Use new rethrow_ref field.
14193 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
14194 of an integer. Fix formatting.
14195 (output_exception_table_entry): Use new rethrow_ref field.
14196 (can_throw): Check for EH_REGION_NOTE before deciding
14197 whether a CALL can throw or not.
14198 (scan_region): Call rethrow_used() instead of accessing data structure.
14199 (update_rethrow_references): New function to make sure only regions
14200 which are still targets of a rethrow are flagged as such.
14201 (process_nestinfo): New static function to initialize a handler
14202 list for a specific region.
14203 (init_eh_nesting_info): New function to allocate and initialize
14204 the list of all EH handlers reachable from all regions.
14205 (reachable_handlers): New function to retrieve the list of handlers
14206 reachable from a specific region and insn.
14207 (free_eh_nesting_info): New function to dispose of a list of
14208 reachable handlers.
14210 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14212 * flow.c (split_edge): Set JUMP_LABEL field.
14213 (commit_one_edge_insertion): Set head correctly for insert_before.
14214 When inserting insns, update insn block numbers if allocated.
14216 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14218 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
14219 retry_incomplete_types): Add static prototype.
14220 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
14221 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
14222 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
14223 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
14224 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
14227 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
14228 dwarf2out_start_source_file, dwarf2out_line): Likewise.
14230 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14232 * output.h (assemble_name): Constify a char*.
14234 * varasm.c (UNIQUE_SECTION, assemble_start_function,
14235 assemble_variable, assemble_name): Likewise.
14237 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
14239 * arm/pe.c (arm_pe_unique_section): Likewise.
14241 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
14243 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
14245 * i386/interix.c (i386_pe_unique_section): Likewise.
14247 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
14249 * i386/winnt.c (i386_pe_unique_section): Likewise.
14251 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
14253 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
14255 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
14257 * pa/pa.c (output_call): Likewise.
14259 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
14261 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
14263 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
14266 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
14269 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
14271 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
14272 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
14274 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
14276 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14278 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
14280 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14282 * tree.h (lang_identify): Constify a char*.
14283 (print_error_function): Add extern prototype. Constify a char*.
14285 * c-lang.c (lang_identify): Constify a char*.
14287 * objc/objc-act.c (lang_identify): Constify a char*.
14289 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14291 * genpeep.c (main): Make generated file include "function.h".
14292 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
14294 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14296 * Makefile.in: Update dependencies.
14297 * alias.c: Include "function.h"
14298 * c-decl.c: Likewise.
14299 * caller-save.c: Likewise.
14300 * calls.c: Likewise.
14301 * combine.c: Likewise.
14303 * explow.c: Likewise.
14304 * final.c: Likewise.
14305 * global.c: Likewise.
14306 * graph.c: Likewise.
14307 * local-alloc.c: Likewise.
14308 * loop.c: Likewise.
14309 * optabs.c: Likewise.
14310 * profile.c: Likewise.
14311 * recog.c: Likewise.
14312 * regclass.c: Likewise.
14313 * regmove.c: Likewise.
14314 * reload.c: Likewise.
14315 * reorg.c: Likewise.
14316 * resource.c: Likewise.
14317 * sched.c: Likewise.
14318 * stupid.c: Likewise.
14319 * config/1750a/1750a.c: Likewise.
14320 * config/a29k/a29k.c: Likewise.
14321 * config/arc/arc.c: Likewise.
14322 * config/arm/arm.c: Likewise.
14323 * config/arm/thumb.c: Likewise.
14324 * config/c4x/c4x.c: Likewise.
14325 * config/clipper/clipper.c: Likewise.
14326 * config/convex/convex.c: Likewise.
14327 * config/fx80/fx80.c: Likewise.
14328 * config/i860/i860.c: Likewise.
14329 * config/m68k/m68k.c: Likewise.
14330 * config/m88k/m88k.c: Likewise.
14331 * config/mips/mips.c: Likewise.
14332 * config/pdp11/pdp11.c: Likewise.
14333 * config/pyr/pyr.c: Likewise.
14334 * config/romp/romp.c: Likewise.
14335 * config/sh/sh.c: Likewise.
14336 * config/tahoe/tahoe.c: Likewise.
14337 * config/vax/vax.c: Likewise.
14338 * config/we32k/we32k.c: Likewise.
14339 * config/sparc/sparc.c: Include "function.h".
14340 (mem_min_alignment): Test current_function rather than
14341 regno_pointer_align.
14342 * config/pa/pa.c: Likewise.
14343 (compute_frame_size): Delete declaration of
14344 current_function_outgoing_args_size.
14345 * config/arc/arc.h (current_function_varargs): Delete declaration.
14346 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
14348 * config/i370/i370.h (current_function_outgoing_args_size): Delete
14350 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
14351 current_function_uses_pic_offset_table.
14352 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
14353 of current_function_returns_pointer.
14354 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14355 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14356 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14357 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14358 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14359 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14360 * config/m88k/m88k.c: Include "function.h"
14361 (call_used_regs, current_function_pretend_args_size,
14362 current_function_outgoing_args_size, frame_pointer_needed): Delete
14364 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
14366 * config/mips/mips.h (current_function_calls_alloca): Delete
14368 * config/mn10200/mn10200.h (current_function_needs_context,
14369 rtx_equal_function_value_matters): Delete declarations.
14370 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
14371 flag_pic): Delete declarations.
14372 * config/pa/pa.h (current_function_pretend_args_size,
14373 current_function_decl): Delete declarations.
14374 * config/pa/som.h (current_function_varargs): Delete declaration.
14375 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
14377 * config/pyr/pyr.h (current_function_pretend_args_size,
14378 current_function_args_size, current_function_calls_alloca): Delete
14380 * config/sh/sh.h (current_function_varargs): Delete declaration.
14381 * config/sparc/sparc.h (current_function_outgoing_args_size,
14382 current_function_calls_alloca, current_function_decl): Delete
14384 * config/spur/spur.h (current_function_pretend_args_size,
14385 current_function_calls_alloca): Delete declarations.
14386 * config/v850/v850.c (current_function_outgoing_args_size): Delete
14388 * config/vax/vms.h (current_function_name): Delete declaration.
14389 * gcse.c: Include "function.h".
14390 (current_function_name, current_function_calls_setjmp): Delete
14392 * haifa-sched.c: Include "function.h".
14393 (forced_labels): Delete declaration.
14394 * jump.c: Likewise.
14395 * reg-stack.c: Likewise.
14396 * reload1.c: Likewise.
14397 * genemit.c (main): Make generated file include function.h.
14398 * genoutput.c (output_prologue): Likewise.
14400 * builtins.c (saveregs_value, apply_args_value): Delete variables.
14401 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
14402 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
14403 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
14404 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
14405 macros for some of them.
14406 (emit_filename, emit_lineno): Delete declarations.
14407 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
14408 regno_pointer_* variables through current_function.
14409 (gen_inline_header_rtx): Delete function.
14410 (save_emit_status): Delete function.
14411 (set_new_last_label_num): New function.
14412 (clear_emit_caches): New function.
14413 (restore_emit_status): Just clear last_labelnum and call
14415 (get_last_insn_anywhere): Variable sequence_stack is now accessed
14416 through macro seq_stack.
14417 (add_insn_after): Likewise.
14418 (add_insn_before): Likewise.
14419 (remove_insn): Likewise.
14420 (pop_topmost_sequence): Likewise.
14421 (in_sequence_p): Likewise.
14422 (start_sequence_for_rtl_expr): Likewise.
14423 (start_sequence): Likewise, and likewise for
14424 sequence_rtl_expr/seq_rtl_expr.
14425 (push_topmost_sequence): Likewise.
14426 (end_sequence): Likewise.
14427 (init_virtual_regs): Now takes a "struct emit_status *" argument.
14428 All callers changed. Store into that pointer instead of globals.
14429 (init_emit): Allocate emit elt of current_function.
14430 Changes for sequence_rtl_expr/sequence_stack renaming.
14431 Call clear_emit_caches instead of doing it in-line.
14432 Access regno_pointer_* variables through current_function.
14433 (init_emit_once) Don't clear sequence_stack.
14435 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
14437 (arg_pointer_save_area): Delete declaration.
14438 (finish_expr_for_function): Renamed from init_queue; no longer static.
14439 (init_expr): Don't call init_queue.
14440 (save_expr_status, restore_expr_status): Delete functions.
14441 (expand_expr): Changes to reflect new layout of struct function.
14442 Don't access current_function_check_memory_usage when current_function
14444 * expr.h (forced_labels, save_expr_regs, saveregs_value,
14445 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
14446 current_function_outgoing_args_size, current_function_arg_offset_rtx,
14447 current_function_uses_const_pool, function_call_count,
14448 current_function_uses_pic_offset_table, nonlocal_labels,
14449 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
14450 current_function_check_memory_usage, nonlocal_goto_handler_slots,
14451 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
14453 (finish_expr_for_function): Declare.
14454 * flags.h (current_function_has_nonlocal_label,
14455 current_function_has_nonlocal_goto, current_function_is_thunk,
14456 current_function_has_computed_jump): Delete declarations.
14457 * flow.c (forced_labels): Delete declaration.
14458 * function.c (current_function_pops_args,
14459 current_function_returns_struct, current_function_returns_pcc_struct,
14460 current_function_needs_context, current_function_calls_setjmp,
14461 current_function_calls_longjmp, current_function_has_nonlocal_label,
14462 current_function_has_nonlocal_goto, current_function_is_thunk,
14463 current_function_has_computed_jump, current_function_calls_alloca,
14464 current_function_contains_functions, current_function_returns_pointer,
14465 current_function_epilogue_delay_list, current_function_args_size,
14466 current_function_pretend_args_size, current_function_arg_offset_rtx,
14467 current_function_outgoing_args_size, current_function_varargs,
14468 current_function_stdarg, current_function_args_info, cleanup_label,
14469 current_function_name, current_function_uses_const_pool,
14470 current_function_instrument_entry_exit, current_function_return_rtx,
14471 current_function_uses_pic_offset_table, nonlocal_labels,
14472 current_function_internal_arg_pointer, current_function_cannot_inline,
14473 current_function_check_memory_usage, function_call_count,
14474 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
14475 nonlocal_goto_stack_level, return_label, save_expr_regs,
14476 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
14477 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
14478 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
14479 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
14480 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
14482 (push_function_context_to): Don't save them. Don't call
14483 save_storage_status, save_emit_status or save_expr_status.
14484 (pop_function_context_from): Don't restore them. Don't call
14485 restore_storage_status or restore_expr_status.
14486 (get_func_frame_size): New function.
14487 (get_frame_size): Use it.
14488 (assign_outer_stack_local): Reflect some member name changes in struct
14490 (put_reg_into_stack): Likewise.
14491 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
14493 (fixup_var_refs): Likewise.
14494 (fix_lexical_addr): Likewise.
14495 (trampoline_address): Likewise.
14496 (prepare_function_start): Clear field inlinable of current_function.
14497 (init_function_for_compilation): New function.
14498 (expand_dummy_function_end): New function.
14499 (expand_function_end): Call finish_expr_for_function.
14500 * function.h (struct emit_status): New; fields moved here from struct
14501 function and from global variables. Add accessor macros for some of
14503 (struct expr_status): Likewise.
14504 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
14505 (struct function): Add fields expr and emit, inlinable, inl_emit,
14506 original_arg_vector, original_decl_initial, inl_last_parm_insn,
14507 inl_max_label_num. Add many comments.
14508 Add accessor macros for all elts of struct function that no longer
14509 have a global variable.
14510 (cleanup_label, return_label, frame_offset, tail_recursion_label,
14511 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
14512 stack_slot_list): Delete declarations.
14513 (get_func_frame_size): Declare.
14514 (save_expr_status, restore_expr_status, save_emit_status,
14515 save_storage_status, restore_storage_status): Delete declarations.
14516 (init_virtual_regs): Declare.
14517 * output.h (current_function_pops_args,
14518 current_function_returns_struct, current_function_returns_pcc_struct,
14519 current_function_needs_context, current_function_calls_setjmp,
14520 current_function_calls_longjmp, current_function_calls_alloca,
14521 current_function_has_nonlocal_label, current_function_varargs,
14522 current_function_has_computed_jump, current_function_returns_pointer,
14523 current_function_contains_functions, current_function_args_size,
14524 current_function_pretend_args_size, current_function_stdarg,
14525 current_function_outgoing_args_size, current_function_args_info,
14526 current_function_name, current_function_return_rtx,
14527 current_function_epilogue_delay_list,
14528 current_function_uses_const_pool, current_function_cannot_inline):
14529 Delete declarations.
14530 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
14531 regno_reg_rtx): Delete declaration.
14532 (REGNO_POINTER_FLAG): Delete macro.
14533 * stmt.c (expand_goto): Changes to reflect that some fields in struct
14534 function were renamed.
14535 * stor-layout.c (save_storage_status, restore_storage_status): Delete
14537 * toplev.c: Include "function.h".
14538 (current_function_decl): Delete declaration.
14539 (compile_file): Call init_dummy_function_start and
14540 expand_dummy_function_end around some initializations that need to
14542 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
14543 Call init_function_for_compilation.
14544 * unroll.c: Include "function.h"
14545 (unroll_loop): Access regno_pointer_* variables through
14548 * tree.h (struct tree_decl): Add elt f to saved_insns member.
14549 (DECL_SAVED_INSNS): use it.
14550 (expand_dummy_function_end): Declare.
14551 (init_function_for_compilation): Declare.
14552 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
14553 that it's no longer an INLINE_HEADER.
14554 (expand_call): Likewise.
14555 * integrate.c (finish_inline): Delete function.
14556 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
14557 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
14558 args. Don't generate an INLINE_HEADER rtx, just return the arg
14559 vector. All callers changed.
14560 (save_for_inline_copying): Create a duplicate struct emit_status to
14561 hold the emit state for compiling the current function. Use this and
14562 the other new fields in struct function that are for integration
14563 instead of an INLINE_HEADER.
14564 Use memcpy instead of bcopy.
14565 Store the current struct function in DECL_SAVED_INSNS of fndecl.
14566 (save_for_inline_nocopy): Similar changes, except no new emit_status
14568 (expand_inline_function): Get information from function structure,
14569 not from an inline header rtx.
14570 (output_inline_function): Lose code to extract the necessary
14571 information from an inline header; simply put back the function
14572 structure into current_function. Clear its inlinable elt.
14573 * rtl.def (INLINE_HEADER): Delete.
14574 * rtl.h: Delete all accessors for an INLINE_HEADER.
14575 (gen_inline_header_rtx): Delete declaration.
14576 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
14577 Delete declarations.
14578 (REGNO_POINTER_ALIGN): Delete.
14579 (clear_emit_caches): Declare.
14580 (set_new_last_label_num): Declare.
14582 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
14584 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
14586 * except.c (expand_eh_region_start_for_decl): Always start a new block.
14587 * stmt.c (is_eh_region): Make sure current_function is present, too.
14589 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
14591 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
14592 for 64bit PA targets.
14594 * pa.h (SELECT_SECTION): Define.
14595 * som.h (SELECT_SECTION): Delete.
14597 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14599 * alias.c (init_alias_analysis): Wrap call to
14600 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
14602 1999-08-07 Bruce Korb <autogen@linuxbox.com>
14604 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
14605 <sys/asm.h> contains an asm comment with an apostrophe
14606 * fixinc/inclhack.sh: regen
14607 * fixinc/fixincl.x: regen
14609 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
14611 * function.c (init_function_start): Clear prologue & epilogue.
14612 (prologue_epilogue_contains): New function.
14613 * alias.c (init_alias_analysis): Use it.
14614 * rtl.h (prologue_epilogue_contains): Declare it.
14616 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
14618 * jump.c (onlyjump_p): New function.
14619 * rtl.h: Declare it.
14620 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
14621 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
14623 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
14625 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
14626 to invert loops. Simplify block scanning.
14628 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14630 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
14631 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
14633 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
14635 * config/sparc/liteelf.h: New file to support sparclite-elf target
14636 * config/sparc/t-sp86x: New file to support sparc86x targets
14637 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
14638 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
14639 * configure.in: Support above target triplets
14640 * configure: Regenerated
14642 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
14644 * fixinc/server.c (server_setup): Do not prefix function used as
14645 parameter with `&'.
14647 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
14649 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
14650 Remove fp reg alternatives.
14652 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
14654 * Makefile.in (TAROUTOPTS): Kill.
14655 (install-headers-tar): Use "xpf" for tar headerfile extraction
14656 * i370/x-oe (TAROUTOPTS): Delete.
14657 * m68k/x-apollo68 (TAROUTOPTS): Delete.
14658 * m68k/x-hp320 (TAROUTOPTS): Delete.
14659 * m68k/x-hp320g (TAROUTOPTS): Delete.
14660 * gcc.texi: Update bug reporting text.
14662 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14664 * reg-stack.c (change_stack) Fixed problem with negative array index.
14666 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
14668 * extend.texi, install.texi: Fix spelling mistakes.
14670 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
14671 (s-attrtab); No longer try to use pre-made insn-attrtab file.
14672 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
14673 PREMADE_ATTRTAB_MD.
14674 * mips/t-ecoff: Likewise.
14675 * mips/t-elf: Likewise.
14676 * mips/t-mips: Likewise.
14677 * mips/t-osfrose: Likewise.
14678 * mips/t-r3900: Likewise.
14679 * mips/t-svr3: Likewise.
14680 * mips/t-svr4: Likewise.
14681 * mips/t-ultrix: Likewise.
14683 * gcc.texi: Document recommend means to provide software floating
14684 point libraries in libgcc.a
14686 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
14688 * c-lex.c (yylex): We can have a number with no digits.
14690 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
14692 * jump.c (delete_prior_computation): New function, broken
14693 out of delete_computation. Check for side effects with
14694 side_effects_p instead of FIND_REG_INC_NOTE. Handle
14695 multi-word hard registers.
14696 (delete_computation): Use it. Check for side effects with
14697 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
14698 missing REG_DEAD note for a register which is both set and
14701 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
14703 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
14704 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
14705 (ASM_FILE_START): Import _mcount with the right type.
14706 (ASM_DECLARE_FUNCTION_NAME): Define.
14707 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
14708 * pa.c (output_function_prologue): Always emit the function's label
14710 * pa.h (TEXT_SPACE_P): Define.
14711 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14712 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
14713 * som.h (TEXT_SPACE_P): Delete.
14714 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14715 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
14717 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
14719 * expr.c (emit_group_load): Allow src to be a CONCAT.
14721 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14723 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
14724 (___mulsi3): Use '!' comment character.
14726 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14728 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
14730 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
14732 * gcc.c: Update URLs and mail addresses.
14733 * gcc.texi: Likewise.
14735 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
14737 * rs6000.c (current_file_function_operand): Return zero for
14739 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
14741 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
14744 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
14746 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
14747 allocate space in the stack frame for the PIC register.
14749 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
14751 * m68k.md (xordi3, anddi3): These patterns are not available on
14754 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
14756 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
14757 (PUT_REAL): Likewise.
14759 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14761 * final.c (shorten_branches): Don't add an alignment for loops
14762 that have no label inside.
14764 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14766 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
14767 prototypes in macro HAVE_cmpstrsi.
14769 * cpplib.c (cpp_get_token): Remove unused label `op3'.
14771 * emit-rtl.c (operand_subword): Remove unused variable
14774 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
14776 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
14778 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
14780 * cpphash.c (macroexpand): Delete leading whitespace when arg
14781 is concatenated before.
14782 (unsafe_chars): Correct test for whether + and - can extend a
14785 * cppinit.c (cpp_start_read): Do dependencies for
14786 -include/-imacros files also.
14788 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
14789 tokenizing non-directive lines.
14790 (cpp_expand_to_buffer): Temporarily disable no-output mode.
14791 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
14794 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14796 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
14798 * c-lex.c: Sync with C++ frontend.
14799 (linemode): New variable.
14800 (parse_float): imag, conversion_errno, and type are output only.
14801 (yylex): Adjust. Move initial '.' case into main switch.
14803 (handle_generic_pragma): Just deal with tokens.
14804 (readescape): Use ISXDIGIT and ISGRAPH.
14805 * c-parse.in: Add END_OF_LINE token.
14807 * c-lex.c (lang_init): Generalize.
14808 (nextchar): Remove. Replace uses with UNGETC.
14809 (skip_white_space): Handle linemode here. Optimize for cpplib.
14810 (skip_white_space_on_line): Remove.
14811 (extend_token_buffer_to): New fn.
14812 (extend_token_buffer): Use it.
14813 (read_line_number, check_newline): Just deal with tokens.
14814 (token_getch, token_put_back): New fns.
14815 (yylex): Use them. More cpplib optimizations. Simplify.
14817 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14818 Jason Merrill <jason@yorick.cygnus.com>
14820 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
14821 (consume_string): Make this smart about USE_CPPLIB.
14822 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
14823 (yylex): Rewrite to be intelligent about USE_CPPLIB.
14824 Also, clean up cases where we redundantly set token_buffer[0].
14825 (read_line_number): New fn.
14826 (ignore_escape_flag): New variable.
14828 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
14830 * a29k/t-a29kbare: Fix some comments.
14831 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
14832 (FPBIT, DPBIT): Define.
14833 * a29k/t-vx29k: Likewise.
14834 * arc/t-arc: Likewise.
14835 * arm/t-arm-elf: Likewise.
14836 * arm/t-bare: Likewise.
14837 * arm/t-pe: Likewise.
14838 * arm/t-pe-thumb: Likewise.
14839 * arm/t-semi: Likewise.
14840 * arm/t-thumb: Likewise.
14841 * arm/t-thumb-elf: Likewise.
14842 * arm/t-thumb-linux: Likewise.
14843 * h8300/t-h8300: Likewise.
14844 * i960/t-i960: Likewise.
14845 * i960/t-vxworks960: Likewise.
14846 * m32r/t-m32r: Likewise.
14847 * mips/t-ecoff: Likewise.
14848 * mips/t-elf: Likewise.
14849 * mips/t-r3900: Likewise.
14850 * pa/t-pro: Likewise.
14851 * rs6000/t-aix43: Likewise.
14852 * rs6000/t-beos: Likewise.
14853 * rs6000/t-newas: Likewise.
14854 * rs6000/t-ppccomm: Likewise.
14855 * rs6000/t-rs6000: Likewise.
14856 * rs6000/t-winnt: Likewise.
14857 * rs6000/t-xnewas: Likewise.
14858 * rs6000/t-xrs6000: Likewise.
14859 * sh/t-sh: Likewise.
14860 * sparc/t-elf: Likewise.
14861 * sparc/t-sparcbare: Likewise.
14862 * sparc/t-sparclite: Likewise.
14863 * sparc/t-splet: Likewise.
14864 * v850/t-v850: Likewise.
14865 * mn10200/t-mn10200: Fix comments.
14866 * mn10300/t-mn10300: Likewise.
14868 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
14869 dummy operand. Allocate a new pseudo for the dummy operand.
14870 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
14872 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
14874 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
14876 * configure: Rebuilt.
14877 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
14879 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
14881 * recog.c (preproces_constraints): Zero recog_op_alt before
14882 processing the constraints.
14884 * arm.c (typedef minipool_node): Renamed from pool_node.
14885 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
14886 (add_minipool_constant): New function.
14887 (dump_minipool): New function.
14888 (find_barrier): Remove special case for getting the insn size of
14889 an insn that references the constant pool.
14890 (minipool_fixup): New structure.
14891 (push_minipool_barrier): New function.
14892 (push_minipool_fix): New function.
14893 (note_invalid_constants): New function.
14894 (add_pool_constant, dump_table, fixit, broken_move): Delete.
14895 (arm_reorg): Rewrite code to fix up the constant pool into a
14896 series of mini-pools embedded in the insn stream.
14897 (arm_output_epilogue): New function, made mainly from the body
14898 of output_func_epilogue.
14899 (output_func_epilogue): Move insn generation part of epilogue code
14900 to arm_output_epilogue.
14901 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
14902 * arm.md (pool_range): New attribute.
14903 (zero_extendqidi2): Add attribute pool_range.
14904 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
14905 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
14906 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
14907 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
14908 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
14909 (epilogue): New expand.
14910 (epilogue_insn): New insn. Call arm_output_epilogue.
14912 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
14913 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
14915 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14917 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14919 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
14921 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
14923 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
14925 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
14927 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
14929 * global.c: Fix comment.
14931 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
14933 * gcc.c (access_check): New static function.
14934 (find_a_file): Use it when searching a directory list.
14935 * collect2.c (find_a_file): Don't accept directories found when
14936 searching a directory list.
14938 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
14940 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
14941 function parameters with `&'.
14942 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
14944 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
14946 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
14947 or tidy_fallthru_edge if the last insn in the block is not
14948 an unconditional jump or a simple conditional jump.
14950 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14952 * Makefile.in (c-decl.o): Depends on defaults.h.
14954 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
14956 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
14958 (CLASS_MAX_NREGS): Likewise.
14960 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
14962 * cse.c (cse_insn): Fix dumb thinko in last change.
14964 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14966 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
14969 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
14971 * dwarf2out.c (add_location_or_const_value_attribute): Correct
14972 test for sizes of passed and declared parameter types.
14974 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14976 * fixincludes: Fix the return type of bsearch, char* -> void*.
14978 * fixinc/inclhack.def: Likewise.
14980 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
14982 * invoke.texi (-fdump-translation-unit): New option.
14984 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
14986 * expr.h (PROMOTE_PROTOTYPES): Move ...
14987 * defaults.h: ... to here.
14988 * c-decl.c: Include defaults.h instead of expr.h.
14989 * c-typeck.c: Include defaults.h.
14991 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
14993 * toplev.h (errorcount): Declare.
14994 (warningcount): Likewise.
14995 (sorrycount): Likewise.
14996 * c-lex.c (errorcount): Don't declare.
14997 * dwarf2out.c (errorcount): Don't declare.
14999 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
15001 * config/libgloss.h: Add a note discouraging use with ELF.
15002 * configure.in: Don't use libgloss.h for ELF targets.
15003 Always use_collect2 on a.out targets.
15005 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
15007 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
15008 (force_to_mode, case ASHIFTRT): Add shiftrt label.
15010 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15012 * loop.c (strength_reduce): When doing biv->giv conversion, update
15013 reg note of NEXT->insn.
15015 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15017 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
15019 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15021 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
15022 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
15023 Ensure expr.h is included.
15024 * c-typecheck.c (convert_arguments): Ditto.
15026 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
15028 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
15029 * config/convex/convex.h: Ditto.
15030 * config/dsp16xx/dsp16xx.h: Ditto.
15031 * config/fx80/fx80.h: Ditto.
15032 * config/gmicro/gmicro.h: Ditto.
15033 * config/i370/i370.h: Ditto.
15034 * config/i386/i386.h: Ditto.
15035 * config/m32r/m32r.h: Ditto.
15036 * config/m68k/m68k.h: Ditto.
15037 * config/m88k/m88k.h: Ditto.
15038 * config/mips/mips.h: Ditto.
15039 * config/pa/pa.h: Ditto.
15040 * config/pyr/pyr.h: Ditto.
15041 * config/tahoe/tahoe.h: Ditto.
15042 * config/we32k/we32k.h: Ditto.
15044 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
15045 based on arch size.
15047 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
15049 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
15052 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
15054 1999-08-02 Richard Henderson <rth@cygnus.com>
15056 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
15057 for the register spill block.
15058 (m32r_va_arg): New.
15059 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
15060 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
15062 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
15063 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
15064 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
15066 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15068 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
15069 MAX_WCHAR_TYPE defined in sparc.h.
15070 * config/sparc/linuxaout.h: Likewise.
15071 * config/sparc/linux64.h: Likewise.
15072 Also default to -mvis if CPU is UltraSPARC.
15074 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15076 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
15077 (RTX_OK_FOR_OLO10): Likewise.
15078 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
15079 %lo(), allow it in addresses...
15080 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
15081 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
15082 does not make sense.
15083 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
15084 (sparc_output_scratch_registers): New function.
15085 (output_function_prologue, sparc_flat_output_function_prologue): Use
15087 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
15089 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
15090 * configure.in: Add check for .register pseudo-op support in as and
15091 check for offsetable %lo().
15092 * acconfig.h: Add templates for the above checks.
15093 * configure: Regenerate.
15095 1999-08-02 Richard Henderson <rth@cygnus.com>
15097 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
15098 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
15099 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
15101 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15103 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15106 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15108 * config/float-sparc.h: New file.
15109 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
15110 sparc-*-linux-gnu and sparc64-*-linux*.
15112 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15114 * rs6000.c (rs6000_va_list): Type is an array.
15115 (rs6000_va_start): Don't doubly adjust for varargs.
15116 (rs6000_va_arg): Evaluate long long GPR adjustment.
15118 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
15120 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
15121 -maix64 and -maix32.
15122 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
15123 LINK_SPEC): Change appropriately.
15124 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
15125 (u_short_cint_operand): Likewise.
15126 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
15128 * rs6000/t-aix43 (MULTILIB): Change to -m64.
15130 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
15132 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
15134 * rs6000/rs6000.c (num_insns_constant_wide): Correct
15135 for type promotion.
15136 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
15137 (non_add_cint_operand): Likewise.
15138 (logical_operand): Likewise.
15139 (non_logical_cint_operand): Likewise.
15140 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
15141 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
15142 (rs6000_select_rtx_section): Suppress warning.
15143 (small_data_operand): Suppress warning.
15144 (rs6000_got_register): Suppress warning.
15145 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
15146 type, so `J' is generally the wrong constraint for a SImode value;
15148 (andsi3_internal2): Likewise.
15149 (andsi3_internal3): Likewise.
15150 (iorsi3_internal1): Likewise.
15151 (xorsi3_internal1): Likewise.
15153 (movsf_softfloat): Likewise.
15154 (scc insns): Likewise.
15155 (movsi+2): Preserve sign bits of SImode constant.
15156 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
15157 (movdf+1): Sign-extend properly.
15158 (movdi_32+1): Sign-extend properly.
15159 (scc insns): Sign-extend properly.
15161 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
15164 1999-08-02 Richard Henderson <rth@cygnus.com>
15166 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
15167 -mcpu parsing code.
15168 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
15169 * alpha.md (all fp insns): Likewise.
15171 1999-08-02 Nick Clifton <nickc@cygnus.com>
15173 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
15176 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
15178 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
15179 pic_load_label generator directly.
15180 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
15181 No longer a named pattern.
15183 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
15185 * explow.c (force_reg): Call force_operand if X does not
15186 satisfy general_operand.
15188 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
15190 * fix-header.c (main): When testing for CONTINUED, use string
15191 equality, not pointer equality.
15193 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
15195 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
15197 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
15199 * cse.c (cse_insn): Fix loop which deletes insns after a jump
15200 that has become an unconditional jump.
15202 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
15203 (output_function_epilogue): Similarly.
15205 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15207 * tree.h (init_dummy_function_start): Declare.
15209 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15211 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
15212 last_expr_type, last_expr_value, block_start_count, block_stack,
15213 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
15214 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
15215 dynamically in stmt elt of struct function for each function.
15216 (struct nesting): Rename function_call_count elt to n_function_calls,
15217 target_temp_slot_level to block_target_temp_slot_level. All users
15219 (struct stmt_status): New structure definition.
15220 Add many accessor macros for stmt_status elements which previously
15221 were global variables.
15222 (init_stmt_for_function): Allocate stmt elt for current_function.
15223 Reflect that block_start_count was renamed to
15224 current_block_start_count.
15225 (save_stmt_status, restore_stmt_status): Delete functions.
15226 (preserve_subexpressions_p): Don't access loop_stack when outside
15228 (expand_start_bindings): Reflect that block_start_count was renamed to
15229 current_block_start_count.
15230 (expand_fixup): Likewise.
15231 (expand_decl): Don't access block_stack when outside a function.
15232 (expand_decl_cleanup): Likewise.
15233 (expand_dcc_cleanup): Likewise.
15234 (expand_dhc_cleanup): Likewise.
15235 (expand_anon_union_decl): Likewise.
15236 (set_file_and_line_for_stmt): New function.
15237 (in_control_zone_p): New function.
15239 * function.h (struct function): Add new elt stmt.
15240 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
15241 case_stack, nesting_stack, nesting_depth, block_start_count,
15242 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
15243 emit_lineno, goto_fixup_chain.
15244 (save_eh_status, restore_eh_status, save_stmt_status,
15245 restore_stmt_status): Delete declarations.
15246 * function.c (push_function_context_to): Don't call save_stmt_status.
15247 (pop_function_context_to): Don't call restore_stmt_status.
15248 * tree.h (in_control_zone_p): Declare.
15249 * rtl.h (set_file_and_line_for_stmt): Declare.
15251 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
15252 call set_file_and_line_for_stmt.
15254 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
15256 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
15257 Also update copyright.
15259 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15261 * c-pragma.c: Don't include "except.h".
15262 * emit-rtl.c: Likewise.
15263 * stor-layout.c: Likewise.
15264 * tree.c: Likewise.
15265 * varasm.c: Likewise.
15267 * flow.c: Include "function.h".
15268 * tree.h (init_dummy_function_start): Declare new function.
15270 * except.h (struct eh_status): New structure.
15271 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
15273 (eh_return_stub_label, ehstack, catchstack, ehqueue,
15274 catch_clauses, false_label_stack, caught_return_label_stack,
15275 protect_list, current_function_ehc): Add accessor macros for the
15276 corresponding fields in current_function->eh; delete declarations
15277 for all items that used to be declared here.
15278 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
15279 catch_clauses, false_label_stack, caught_return_label_stack,
15280 protect_list, current_function_ehc): Delete variables.
15281 (init_eh_for_function): Allocate current_function->eh.
15282 (save_eh_status, restore_eh_status): Delete functions.
15284 * function.h (struct function): Add fields next_global and eh.
15285 Delete all exception handling related fields.
15286 * function.c (current_function): New variable.
15287 (all_functions): New variable.
15288 (push_function_context_to): Don't allocate a struct function,
15289 use current_function instead. Call init_dummy_function_start when
15290 outside a function. Clear current_function before returning.
15291 (pop_function_context_from): Restore current_function.
15292 Don't free the restored struct function.
15293 (prepare_function_start): New function.
15294 (init_dummy_function_start): New function.
15295 (init_function_start): Break out some code into prepare_function_start
15298 * stmt.c (save_stmt_status): Don't call save_eh_status.
15299 (restore_stmt_status): Don't call restore_eh_status.
15301 * Makefile.in: Update dependencies.
15303 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
15305 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
15306 of depending on a magic constant value. Update comments.
15307 (hppa_expand_prologue): Similarly.
15309 * pa.md (reload_indi, reload_outdi): Allow any register for the
15310 original reload register.
15312 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
15314 * cccp.c (print_help): Change marcos to macros.
15316 1999-07-30 Richard Henderson <rth@cygnus.com>
15318 * c-typeck.c (initializer_constant_valid_p): Move ...
15319 * c-common.c (initializer_constant_valid_p): ... here. Use
15320 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
15321 of label addresses.
15322 * c-common.h (initializer_constant_valid_p): Declare.
15323 * c-tree.h (initializer_constant_valid_p): Remove.
15325 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
15327 * config/i386/sol2-c1.asm: Align the stack.
15328 * config/i386/sol2-gc1.asm: Likewise.
15330 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
15332 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
15333 -Asparclite for sparc86x.
15334 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
15336 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
15338 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
15340 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
15341 the user if using the non-default arch size in BI_ARCH configuration.
15342 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
15344 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
15345 Fix patterns so that they actually match.
15346 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
15347 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
15348 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
15350 (mulsidi3): Reflect this in the expand.
15351 (smulsi3_highpart): Only on TARGET_ARCH32.
15352 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
15353 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
15354 (umulsidi3): Reflect this in the expand.
15355 (umulsi3_highpart): Only on TARGET_ARCH32.
15356 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
15357 don't require g0 to be zero.
15358 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
15359 ({,u}divsi3): New expands.
15360 ({,u}divsi3_sp64): New patterns.
15361 (after lshrdi3_v8plus): Four new patterns to help combiner
15362 optimizing nested mixed mode shifts.
15364 * config/sparc/sparc.c (sparc_override_options): Use deprecated
15365 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
15366 speed things up. Don't use them by default on plain v9 in 64bit
15367 mode, according to what SPAMv9 sais.
15369 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
15370 top 32 bits of %[og][0-7] in signal handlers.
15371 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
15373 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
15375 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
15376 (ashlsi3): Corresponding changes.
15378 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
15380 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
15382 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
15384 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15386 * arm.h (Hint): Delete macro.
15387 Substitute HOST_WIDE_INT for Hint in some prototypes.
15388 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
15390 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
15392 * builtins.c (expand_builtin_setjmp): Use force_operand to
15393 make sure that the buffer address is in a suitable form to be
15394 passed to force_reg.
15396 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
15398 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
15401 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
15403 * pa.md (indirect_jump): Remove mode from match_operand. Verify
15404 proper mode in the condition string.
15405 (icacheflush, dcacheflush): Remove modes from match_operands.
15407 * pa.c (emit_move_sequence): Always convert scratch_reg to the
15408 proper mode before using it.
15410 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
15413 * pa.c (store_reg): Do not call add_high_const generator directly.
15414 (load_reg, set_reg_plus_d): Likewise.
15415 * pa.md (add_high_const): No longer a named pattern.
15417 * pa.c (legitimize_address): Consistently use Pmode rather than
15418 SImode. Do not call gen_pic2_highpart directly anymore.
15419 * pa.md (pic2_highpart): No longer a named pattern.
15420 (pic2_lo_sum): Similarly. Reformat to make more readable.
15422 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
15427 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15429 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
15431 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
15433 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
15434 and tag the spill mems.
15435 (hppa_va_start): New.
15436 (hppa_va_arg): New.
15437 * pa.h (EXPAND_BUILTIN_VA_START): New.
15438 (EXPAND_BUILTIN_VA_ARG): New.
15440 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
15442 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
15443 and tag the spill mems.
15444 (mn10300_va_start): New.
15445 (mn10300_va_arg): New.
15446 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
15447 (EXPAND_BUILTIN_VA_ARG): New.
15449 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
15451 * mn10200.c (mn10200_va_arg): New.
15452 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
15454 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
15456 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
15457 rather than play with TREE_INT_CST_LOW.
15459 1999-07-27 Philip Blundell <pb@nexus.co.uk>
15461 * config/arm/telf.h: Include dbxelf.h.
15462 (CPP_PREDEFINES): Only define if not already defined.
15463 (ASM_IDENTIFY_GCC): Likewise.
15464 (SUBTARGET_EXTRA_SECTIONS): Likewise.
15465 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
15466 * config/arm/thumb.h (LINK_SPEC): Only define if not already
15468 (DBX_DEBUGGING_INFO): Don't define.
15469 * config/arm/linux-telf.h: New file.
15470 * config/arm/linux-tgas.h: New file.
15471 * config/arm/t-thumb-linux: New file.
15472 * config/arm/uclinux-elf.h: New file.
15473 * config/arm/uclinux-telf.h: New file.
15474 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
15475 thumb-*-uclinux): New targets.
15476 * configure: Regenerate.
15478 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
15480 * pa.md (post_store, pre_load): New expanders.
15481 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
15482 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
15483 need to directly generate RTL for them.
15484 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
15487 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
15489 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
15490 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
15491 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
15492 (secndary_reload_class): Make TARGET_ELF conditional compile.
15493 (print_operand_address): Similar.
15494 (output_toc): Print all values as hex.
15495 (get_issue_rate): Rearrange and add RS64A and PPC630.
15496 * rs6000.h (processor_type): Add RS64A and PPC630.
15497 (PROCESSOR_POWERPC64): New.
15498 (PROMOTE_MODE): Use word_mode.
15499 (RTX_COSTS): Add RS64A and PPC630.
15500 * rs6000.md (scheduling information): Add lmul and ldiv
15501 representing 64-bit integer multiply and divide. Add rs64a and
15502 PPC630 information.
15503 (ashldi3): Add support for "rldic" instruction.
15504 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
15506 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
15508 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
15509 instead of V8 for sparclite86x in cpu_table.
15511 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15513 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
15514 output_file_directive.
15516 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
15518 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
15519 tree for op1, not the rtl.
15521 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
15523 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
15524 to m88k_va_start, leaving only the register spill.
15525 (m88k_build_va_list): New.
15526 (m88k_va_start): New.
15527 (m88k_va_arg): New.
15528 * m88k.h (BUILD_VA_LIST_TYPE): New.
15529 (EXPAND_BUILTIN_VA_START): New.
15530 (EXPAND_BUILTIN_VA_ARG): New.
15532 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
15534 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
15535 Rename from expand_builtin_saveregs.
15536 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
15538 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
15540 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
15541 for the register spill block.
15542 (i960_build_va_list): New.
15543 (i960_va_start): New.
15544 (i960_va_arg): New.
15545 * i960.h (BUILD_VA_LIST_TYPE): New.
15546 (EXPAND_BUILTIN_VA_START): New.
15547 (EXPAND_BUILTIN_VA_ARG): New.
15548 * i960.md (store_multiple): Use change_address on individul mems.
15550 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
15552 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
15554 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
15555 (expand_builtin_va_end): Evaluate arg for side effects.
15556 * c-common.c (c_common_nodes_and_builtins): Construct a
15557 va_list_arg_type_node to handle array decomposition to pointer.
15559 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
15561 * except.c (start_dynamic_cleanup): Use force_operand on the
15564 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
15566 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
15567 * c4x.c (c4x_va_arg): New.
15569 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
15571 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
15572 has manual_pop set.
15574 1999-07-26 Nathan Sidwell <nathan@acm.org>
15576 * eh-common.h (__eh_matcher): Prototype correctly.
15578 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
15580 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
15581 (TARGET_SINGLE_PIC_BASE): Likewise.
15582 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
15584 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
15585 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
15586 (TARGET_OPTIONS): Add -mpic-register=N.
15587 (OUTPUT_INT_ADDR_CONST): New macro.
15588 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
15589 LEGITIMATE_PIC_OPERAND_P): Likewise.
15590 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
15591 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
15592 output_addr_const directly.
15593 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
15595 (thumb_pic_register, thumb_pic_register_string): Declare.
15597 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
15599 (label_mentioned_p): New function: Imported from arm.c.
15600 (legitimize_pic_address): New function: Imported from arm.c.
15601 (is_pic):New function: Imported from arm.c.
15602 (thumb_finalize_pic):New function: Imported from arm.c.
15603 (add_constant): Cope with PIC constants.
15604 (fixit): Cope with PIC constants.
15605 (output_return): Do not treat the PIC register as live if
15606 TARGET_SINGLE_PIC_BASE is true.
15607 (thumb_function_prologue): Do not treat the PIC register as live if
15608 TARGET_SINGLE_PIC_BASE is true.
15609 (thumb_expand_prologue): Do not treat the PIC register as live if
15610 TARGET_SINGLE_PIC_BASE is true.
15611 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
15612 TARGET_SINGLE_PIC_BASE is true.
15613 (thumb_print_operand): Accept '|'.
15614 (thumb_override_options): Process PIC options.
15616 * config/arm/thumb.md (movsi): Support PIC.
15617 (call_insn): Change "i" constraint to "X".
15618 (call_value_insn): Likewise.
15619 (consttable_4, consttable_8, consttable_end): Set and clear
15620 "making_const_table" as appropriate.
15621 (pic_load_addr, pic_add_dot_plus_four): New insns.
15623 * invoke.texi (Thumb Options): Fix spelling. Document new
15624 options -msingle-pic-base and -mpic-register=.
15626 1999-07-26 Andrew Haley <aph@cygnus.com>
15628 * config/m32r/initfini.c (__init): Use a full word immediate for
15629 __fini: this allows it to be placed in any memory region.
15631 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
15632 -mmodel=medium. This is OK for all memory models.
15634 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
15636 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
15637 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
15639 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
15641 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
15644 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
15646 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
15648 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
15649 (BUILD_VA_LIST_TYPE): New.
15650 (EXPAND_BUILTIN_VA_START): New.
15651 (EXPAND_BUILTIN_VA_ARG): New.
15652 * i860.c (output_delayed_branch): Disable.
15653 (output_delay_insn): Likewise.
15654 (i860_saveregs): New.
15655 (i860_build_va_list): New.
15656 (i860_va_start): New.
15657 (i860_va_arg): New.
15658 * i860.md: Disable all peepholes using output_delayed_branch.
15659 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
15661 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
15663 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
15664 (BUILD_VA_LIST_TYPE): New.
15665 (EXPAND_BUILTIN_VA_START): New.
15666 (EXPAND_BUILTIN_VA_ARG): New.
15667 * clipper.c (clipper_builtin_saveregs): Only dump registers.
15668 Return the address of the save area.
15669 (clipper_build_va_list): New.
15670 (clipper_va_start): New.
15671 (clipper_va_arg): New.
15673 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
15675 * arc.h (EXPAND_BUILTIN_VA_START): New.
15676 (EXPAND_BUILTIN_VA_ARG): New.
15677 * arc.c (arc_setup_incoming_varargs): Set alias set of
15679 (arc_va_start): New.
15682 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
15684 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
15685 (BUILD_VA_LIST_TYPE): New.
15686 (EXPAND_BUILTIN_VA_START): New.
15687 (EXPAND_BUILTIN_VA_ARG): New.
15688 * alpha.c (alpha_builtin_saveregs): Delete.
15689 (alpha_build_va_list): New.
15690 (alpha_va_start): New.
15691 (alpha_va_arg): New.
15693 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
15695 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
15697 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
15698 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
15700 * gcc.texi: More changes related to list conversion.
15701 * invoke.texi: Likewise.
15703 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
15705 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
15706 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
15707 (expand_builtin_next_arg): Accept ARGLIST not EXP.
15708 (stabilize_va_list): New function.
15709 (std_expand_builtin_va_start): New function.
15710 (expand_builtin_va_start): New function.
15711 (get_varargs_alias_set): New function.
15712 (std_expand_builtin_va_arg): New function.
15713 (expand_builtin_va_arg): New function.
15714 (expand_builtin_va_end): New function.
15715 (expand_builtin_va_copy): New function.
15716 (expand_builtin): Call them.
15717 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
15718 __builtin_{varargs_start,stdarg_start,end,copy}.
15719 (build_va_arg): New function.
15720 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
15721 (build_va_arg): Declare.
15722 * c-decl.c (ptr_type_node, va_list_type_node): New.
15723 * c-parse.gperf (__builtin_va_arg): New.
15724 * c-parse.in (VA_ARG): New token.
15725 (unary_expr): Recognize it.
15726 * expr.c (expand_expr): Expand VA_ARG_EXPR.
15727 * expr.h (std_expand_builtin_va_start): Declare.
15728 (std_expand_builtin_va_arg): Declare.
15729 (expand_builtin_va_arg): Declare.
15730 (get_varargs_alias_set): Declare.
15731 * tree.def (VA_ARG_EXPR): New.
15732 * tree.h (BUILT_IN_VARARGS_START): New.
15733 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
15734 (ptr_type_node, va_list_type_node): Declare.
15735 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
15736 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
15737 * m88k.h, m88k.c: Likewise.
15738 * mn10300.h, mn10300.c: Likewise.
15739 * pa.h, pa.c: Likewise.
15740 * rs6000.h, rs6000.c: Likewise.
15741 * sh.h, sh.c: Likewise.
15742 * sparc.h, sparc.c: Likewise.
15744 * emit-rtl.c (operand_subword): Copy alias set.
15745 (change_address): Likewise.
15747 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
15749 * pa.c (compute_frame_size): Scan all the used callee saved registers,
15750 not just the first one.
15752 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
15754 * config/arm/arm.h (TARGET_SWITCHES): Add
15755 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
15756 (TARGET_OPTIONS): Add -mpic-register=.
15757 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
15758 (arm_pic_register_string): Declare.
15759 (NEED_PLT_GOT): Delete, replace with ...
15760 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
15761 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
15762 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
15763 * config/arm/arm.c (arm_override_options): Add new option
15765 (arm_pic_register_string): New variable.
15766 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
15767 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
15768 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
15769 (output_return_instruction): Likewise.
15770 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
15771 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
15772 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
15774 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
15775 mention of -msched-prolog. Document new options -msingle-pic-base
15776 and -mpic-register=.
15778 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
15780 * haifa-sched.c (reemit_notes): Tidy.
15781 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
15784 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
15786 * explow.c (trunc_int_for_mode): New function.
15787 (plus_constant_wide): Use it.
15788 * combine.c (simplify_and_const_int): Likewise.
15789 (merge_outer_ops): Likewise.
15790 (simplify_shift_const): Likewise.
15791 * cse.c (simplify_unary_operation): Likewise.
15792 (simplify_binary_operation): Likewise.
15793 * emit-rtl.c (operand_subword): Likewise.
15794 * rtl.h: Declare it.
15796 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15798 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
15799 (use NUM_REGS instead of NUM_INTS).
15801 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15803 * builtins.c: New file.
15804 * expr.c (saveregs_value, apply_args_value): Delete definition,
15805 moved into builtins.c.
15806 (string_constant): No longer static.
15807 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
15808 apply_args_size, apply_result_size, result_vector,
15809 expand_builtin_apply_args, expand_builtin_apply,
15810 expand_builtin_return): Delete functions, moved into builtins.c.
15811 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
15812 * expr.h (saveregs_value, apply_args_value): Declare variables.
15813 (expand_builtin, string_constant): Declare functions.
15814 * Makefile.in: Update to build builtin.o.
15816 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
15818 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
15819 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
15820 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
15821 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
15823 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
15826 1999-07-21 Michael Meissner <meissner@cygnus.com>
15828 * print-rtl.c (print_rtx): Print the names of the virtual
15831 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
15833 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
15834 introduced in previous delta.
15836 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15838 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
15839 to avoid name clash.
15841 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
15843 * c-lex.c (yylex) : Correct the test for overflow when lexing
15846 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
15848 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
15849 (adjust_priority): Always call ADJUST_PRIORITY.
15850 (schedule_insn): Only put insns into the ready at cost 0.
15851 (schedule_block): Remove redundant initial sort. Give clock_var
15852 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
15854 * tm.texi (MD_SCHED_REORDER): Update docs.
15856 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
15857 * sparc.c (ultra_reorder_called_this_block): Delete.
15858 (ultrasparc_sched_init): Don't set it.
15859 (ultrasparc_sched_reorder): Don't check it.
15861 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
15863 * rs6000.h (struct rs6000_args): Add sysv_gregno.
15864 * rs6000.c (init_cumulative_args): Init sysv_gregno.
15865 (function_arg_boundary): Align DFmode.
15866 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
15867 to get fp reg and stack overflow correct.
15868 (function_arg): Likewise.
15869 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
15870 (setup_incoming_varargs): Restructure for ABI_V4; use
15871 function_arg_advance to skip final named argument.
15872 (expand_builtin_saveregs): Properly unskip the last integer arg
15873 when doing varargs. Adjust overflow location calculation.
15875 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
15876 explicitly unsigned.
15877 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
15878 (__VA_GP_REGSAVE): Similarly.
15879 (__va_longlong_p): Delete.
15880 (__va_arg_type_violation): New declaration.
15881 (va_arg): Restructure. Flag promotion errors. Align double.
15882 TFmode passed by reference.
15884 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
15885 in the HOST_BITS_PER_WIDE_INT > 32 case.
15887 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
15889 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
15891 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
15893 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
15894 * toplev.c (documented_lang_options): Add -fpreprocessed.
15895 * cpplib.h (struct cpp_buffer): Add preprocessed.
15896 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
15897 (cpp_start_read): Don't expand macros or emit an initial #line
15898 directive if -fpreprocessed.
15900 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
15902 * cpplib.h (struct cpp_buffer): Added manual_pop for
15903 better C++ tokenization.
15904 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
15905 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
15906 * c-common.c (cpp_token): Make non-static.
15908 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15910 * c-common.h: New file.
15911 * c-common.c (permanent_obstack): Delete unused declaration.
15912 (c_global_trees): New array.
15913 (c_common_nodes_and_builtins): New function; split off common code
15914 from init_decl_processing in both c-decl.c and cp/decl.c.
15915 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
15916 c_global_trees and accessor macros defined in c-common.h.
15917 Include c-common.h.
15918 * c-decl.c: Delete definitions for tree nodes that were replaced by
15920 (init_decl_processing): Build void_list_node.
15921 Call c_common_nodes_and_builtins; delete code to generate the common
15923 * objc/objc-act.c (build_module_descriptor): Rename variable
15924 void_list_node to avoid clash with c-common.h.
15926 * Makefile.in: Update dependencies.
15927 * objc/Make-lang.in: Likewise.
15929 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
15931 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
15932 (UNIQUE_SECTION_P): Likewise.
15933 (UNIQUE_SECTION): Likewise.
15935 1999-07-19 Linas Vepstas <linas@linas.org>
15937 * config/i370/README: New file.
15938 * config/i370/linux.h: New file.
15939 * config/i370/mvs.h: New file.
15940 * config/i370/oe.h: New file.
15941 * config/i370/t-linux: New file.
15942 * config/i370/t-mvs: New file.
15943 * config/i370/t-oe: New file.
15944 * config/i370/x-oe: New file.
15945 * config/i370/xm-linux.h: New file.
15946 * config/i370/xm-mvs.h: New file.
15947 * config/i370/xm-oe.h: New file.
15949 * i370.c (label_node_t): Add first_ref_page, label_addr,
15950 label_first_ref, label_last_ref members.
15951 (mvs_need_base_reload): Renamed from mvs_label_emitted.
15952 (MAX_MVS_LABEL_SIZE): Define.
15953 (MAX_LONG_LABEL_SIZE): Define.
15954 (alias_node_t, alias_anchor, alias_number): New.
15955 (mvs_function_table): Reorder for EBCDIC.
15956 (ascebc, ebcasc): Unconditionally define.
15957 (i370_branch_dest, i370_branch_length): New functions.
15958 (i370_short_branch, i370_label_scan): New functions.
15959 (mvs_get_label): Renamed from mvs_add_label. Search for
15960 an existing label before creating a new one.
15961 (mvs_add_label): New function.
15962 (mvs_get_label_page): New function.
15963 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
15964 over the entire list.
15965 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
15966 (mvs_check_page) [TARGET_ELF_ABI]: New function.
15967 (mvs_add_alias, mvs_need_alias): New functions.
15968 (mvs_get_alias, mvs_check_alias): New functions.
15969 (handle_pragma): New function.
15970 (mvs_function_check): New function.
15971 (unsigned_jump_follows_p): Search harder.
15972 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
15973 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
15974 * i370.h (TARGET_VERSION): Delete.
15975 (CPP_SPEC, CPP_PREDEFINES): Delete.
15976 (mvs_label_emitted): Delete.
15977 (TARGET_EBCDIC): Delete.
15978 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
15979 (HANDLE_PRAGMA): Define.
15980 (HARD_REGNO_NREGS): Handle complex modes.
15981 (HARD_REGNO_MODE_OK): Likewise.
15982 (CLASS_MAX_NREGS): Likewise.
15983 (RET_REG): Likewise.
15984 (EXTRA_CONSTRAINT): Define.
15985 (RETURN_IN_MEMORY): True for DImode.
15986 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
15987 (FUNCTION_PROFILER): Delete.
15988 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
15989 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
15990 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
15991 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
15992 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
15993 (ASM_FILE_START): Add "RMODE ANY".
15994 (ASM_OUTPUT_EXTERNAL): Check for aliases.
15995 (ASM_GLOBALIZE_LABEL): Likewise.
15996 (ASM_OUTPUT_LABELREF): Likewise.
15997 (ASM_OUTPUT_COMMON): Likewise.
15998 (PRINT_OPERAND): Handle 'K', 'W', default.
15999 (PRINT_OPERAND_ADDRESS): New.
16000 (Lots of defines): Add support for TARGET_ELF_ABI.
16001 * i370.md (attr length): New. Define for all patterns.
16002 (*): Lots of tweeks to assembly output and constraints.
16004 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
16006 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
16007 Disable patterns performing SImode comparisons with SImode values
16008 if TARGET_POWERPC64 and instruction does not sign-extend or does
16009 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
16010 differ for signed quantities.
16011 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
16012 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
16013 (decrement_and_branch_on_count): Add 64-bit variant.
16015 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16017 * final.c (output_asm_insn): When searching for the matching string
16018 for a given dialect, don't run past the end of the list of
16019 alternatives if there are fewer alternatives in the template than
16022 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
16024 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
16025 Removed paragraph about compression of files and size limitation,
16026 duplicated in the FAQ. Use gcc-patches for posting patches.
16027 * gcc.c (main): Updated URL with bug reporting instructions to
16028 gcc.gnu.org. Removed e-mail address.
16029 * system.h (abort): Likewise.
16031 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16033 * Makefile.in (stmp-multilib-sub): Make the files extracted
16034 from $(LIBGCC1) writable.
16036 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
16038 * config/arm/aout.h: Reformat for improved readability.
16040 * config/arm/arm.h: Reformat for improved readability.
16041 Replace uses of fprintf with asm_fprintf where appropriate.
16042 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
16043 function declaration assembler actions.
16044 (NUM_INTS): New macro: Convert from bytes to words.
16045 (NUM_REGS): New macro: Compute number of registers required to
16046 hold a quanitity of tyep MODE.
16047 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
16049 (NUM_ARG_REGS): New macro: The number of argument registers
16051 (ARG_REGISTER): New macro: Compute the register number of the Nth
16053 (LAST_ARG_REGNUM): New macro: The number of the last argument
16055 (SP_REGNUM): New macro: Register number of the stack pointer.
16056 (FP_REGNUM): New macro: Register number of the frame pointer.
16057 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
16058 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
16059 CUMULATIVE_ARGS so that it counts registers not bytes.
16061 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
16063 Replace uses of fprintf with asm_fprintf where appropriate.
16064 (output_ascii_pseudo_op): Replace with version from thumb.c
16066 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
16068 * config/arm/elf.h (CPP_PREDEFINES): Replace with
16069 SUBTARGET_CPP_SPEC.
16070 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
16071 (ASM_FILE_START): Emit ASM_APP_OFF.
16073 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
16075 * pa.c (compute_frame_size): Round frame according to
16076 STACK_BOUNDARY rather than a hardwired value.
16078 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
16080 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
16082 * configure: Rebuilt.
16084 * configure.in (hppa*-*-linux*): New configuration.
16085 * configure: Rebuilt.
16086 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
16087 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
16088 * pa/pa-linux.h: New file.
16089 * pa/t-linux: New file.
16090 * pa/xm-linux.h: New file.
16092 * pa.c (hppa_legitimize_address): Change references from SImode to
16093 either Pmode or word_mode as appropriate.
16094 (emit_move_sequence, store_reg, load_reg): Likewise.
16095 (set_reg_plus_d, hppa_expand_prologue): Likewise.
16096 (output_mul_insn): Likewise.
16097 * pa.h (PROMOTE_MODE): Likewise.
16098 (INITIALZE_TRAMPOLINE): Likewise.
16099 (Pmode): Define to word_mode.
16101 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
16102 value of 4. Allocate 8 bytes for each FP register save.
16103 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
16105 (hppa_expand_prologue): Likewise.
16106 * pa.h (PROMOTE_MODE): Likewise.
16107 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
16108 (FUNCTION_ARG_BOUNDARY): Likewise.
16110 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
16112 * pa.c (out_of_line_prologue_epilogue): Delete.
16113 (override_options): Remove -mspace related code.
16114 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
16115 (compute_frame_size): Only allocate space for register that
16116 actually need to be saved.
16117 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
16118 (TARGET_SWITCHES): Remove -mspace, -mno-space
16119 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
16120 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
16121 * pa/ee.asm, pa/ee_fp.asm: Delete.
16123 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
16125 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
16126 directive in column zero.
16128 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
16130 * m68k.c (output_function_prologue): Fix computation of save mask
16131 when generating PIC code.
16133 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
16135 * tree.c (build_type_attribute_variant): Move current_obstack restore
16136 after build_qualified_type call.
16138 1999-07-15 Mark Mitchell <mark@codesourcery.com>
16140 * configure.in: Use t-iris6, even with GNU LD.
16141 * config/mips/iris6gld.h: Fix typo in linker spec.
16142 * config/mips/t-iris6gld: Remove.
16144 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
16146 * rs6000.md (insv, extzv): Remove SImode dependence in named
16147 patterns. Explicitly generate DImode RTL if PowerPC64 and
16149 (insvdi): Reverse start and size in instruction template.
16151 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
16153 * invoke.texi: Typo fixes.
16155 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
16157 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
16158 handle at this time instead of silently generating incorrect code.
16159 (gen_imagpart): Likewise.
16161 * reload.c (find_reloads): Emit a USE for a pseudo register without
16162 a hard register if we could not create an optional reload for the
16165 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16167 * c-typeck.c (output_init_element, process_init_element):
16168 When advancing constructor_unfilled_fields for a RECORD_TYPE,
16169 check for nameless bit fields.
16171 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
16173 * regclass.c (scan_one_insn): Notice subregs that change the
16174 size of their operand.
16175 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
16177 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
16179 * configure.in (alpha*-*-*): Include alpha/t-ieee.
16180 * configure: Rebuilt.
16181 * alpha/t-ieee: New file.
16183 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
16185 * rs6000.c (find_addr_reg): Do not select r0 as an address
16188 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
16190 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
16192 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
16194 * rs6000.md (movsf): Do not force easy FP constants into memory.
16196 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
16197 immed_double_const to ensure they are properly truncated then
16200 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16202 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
16203 always unless NO_DEBUG is used. Compile this code
16205 (replace_symbols_in_block): Compile it unconditionally.
16207 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
16209 * configure.in (i?86-*-elf*): New target.
16210 * configure: Rebuilt.
16211 * i386/i386elf.h, i386/t-i386elf: New files.
16213 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
16215 * toplev.c (main): Don't complain about saying -gdwarf.
16216 (rest_of_compilation): Remove redundant code.
16218 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
16220 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
16222 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
16224 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
16225 "Li960R:", to avoid name clash.
16227 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16229 * loop.c (check_dbra_loop): When reversing a loop, delete all
16230 REG_EQUAL notes referencing the reversed biv except those which are
16231 for a giv based on it.
16233 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
16235 * version.c: Drop "gcc-" prefix from version #.
16237 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
16239 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
16240 the label if we're being verbose.
16242 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
16244 * m68k.c (output_function_prologue): Add pic register to mask
16245 if live and flag_pic.
16246 (output_function_epilogue): Likewise.
16248 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
16250 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
16251 directives in column zero.
16253 * pa/elf.h (ASM_FILE_START): Define.
16254 * pa/som.h (ASM_FILE_START): Include .level directives.
16255 * pa/hpux10.h (ASM_FILE_START): Delete.
16256 * pa/hpux11.h (ASM_FILE_START): Delete.
16258 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
16260 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16262 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
16263 when reload_out equals reload_in.
16265 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
16267 * invoke.texi (Spec Files): New node: Describe the contents of
16270 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
16272 * invoke.texi (DEC Alpha Options): Put @end table at
16273 beginning of line, to avoid confusing texi2html.
16275 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
16277 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
16278 introduced in previous delta.
16280 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16282 * reload1.c (gen_reload): When synthesizing a 3 operand add
16283 sequence, improve test for when to reload OP1 into the reload
16284 register instead of OP0.
16286 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
16288 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
16290 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
16292 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
16295 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
16297 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
16298 (va_dcl): Use __builtin_va_alist_t.
16300 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
16302 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
16303 on the permanent_obstack.
16304 * dwarfout.c (output_type): Likewise.
16306 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
16308 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16309 Merged from c-typeck.c and cp/typeck.c.
16310 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16311 Merged into c-common.
16313 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
16315 * c-lex.c (errorcount): Declare it.
16316 (finish_parse): Update errorcount when using CPPLIB.
16318 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
16320 * fixinc/inclhack.def(end_else_label): Double the backslash so
16321 sed gets a chance to see it.
16322 * fixinc/inclhack.sh: regen
16323 * fixinc/fixincl.x: regen
16325 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
16327 Add framework to support armv5 architecture when it becomes
16330 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
16331 (arm_arch5): New variable.
16332 (all_architectures): Add armv5 line.
16333 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
16334 -march=armv5 is specified on the command line.
16335 (arm_arch5): Export this variable.
16336 * invoke.texi: Document new string accepted by -march= switch for
16339 * config/arm/arm.h: Replace use of constant 12 as a register
16340 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
16341 * config/arm/arm.c: Replace use of constant 12 as a register
16342 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
16344 * config/arm/elf.h: Tidy up.
16345 * config/arm/coff.h: Tidy up.
16347 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
16349 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
16350 * gcc/config/mips/t-iris6gld: New file.
16351 * gcc/config/mips/iris6gld.h: Likewise.
16353 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
16355 * c-decl.c (widest_integer_literal_type_node,
16356 widest_unsigned_literal_type) : New.
16357 (init_decl_processing): Handle/use the two new types.
16358 * c-common.c (type_for_size,type_for_mode) : Same.
16359 * c-lex.c (yylex) : Same.
16360 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16362 * c-tree.h (widest_integer_literal_type_node,
16363 widest_unsigned_literal_type) : New.
16365 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
16367 * dwarfout.c (field_byte_offset): Correctly compute the object's
16368 byte offset for the first bit of a field which crosses an alignment
16369 boundary on a !BYTES_BIG_ENDIAN target.
16371 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
16373 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
16376 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
16377 Jeff Law <law@cygnus.com>
16379 * ginclude/varargs.h (va_dcl): Use word_mode for type of
16382 * except.c: Include intl.h.
16383 (expand_eh_return): Set current_function_cannot_inline.
16384 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
16385 * function.h (struct function): Add eh_return_stub_label.
16386 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
16387 * Makefile.in (except.o): Depend on intl.h.
16389 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
16391 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
16392 same as offsettable in cases 1 and 2.
16394 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
16396 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
16397 (extlh, extwh): Likewise.
16399 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
16401 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
16403 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
16405 * configure.in: Add arm-pe and thumb-pe targets.
16406 * configure: Regenerate.
16408 * thumb.c (arm_naked_function_p): New function: Determines if
16409 a function is naked (has no gcc generated prologue/epilogue).
16410 (is_called_in_ARM_mode): Return true if the func has the
16411 interfacearm attribute.
16412 (output_return): Do not generate a return for naked functions.
16413 (thumb_function_prologue): Do not generate a prologue for
16415 (thumb_expand_prologue): Do not generate a prologue for naked
16417 (thumb_expand_epilogue): Do not generate an epilogue for naked
16419 (arm_valid_machine_decl_attribute): New function, copied from
16420 arm.c: Permit naked and interfacearm attributes.
16422 * config/arm/pe.c: New file: Support code for arm-pe target.
16423 * config/arm/pe.h: New file: Header file for arm-pe target.
16424 * config/arm/tpe.h: New file: Header file for thumb-pe target.
16425 * config/arm/t-thumb-pe: New file: Makefile fragment for
16428 1999-07-01 Mark Kettenis <kettenis@gnu.org>
16430 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
16431 -fPIC or -fpic is specified.
16433 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
16435 * expr.c (emit_block_move): Use copy_to_mode_reg for
16436 !TARGET_MEM_FUNCTIONS case too.
16438 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
16440 * configure: Rebuilt.
16441 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
16442 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
16443 definitions made redundant by dbxelf.h inclusion. Delete
16444 lots of definitions related to assembly output that are
16445 specific to the SOM object format.
16446 * pa.c (output_function_prologue): Do not emit the function's
16448 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
16449 * pa-pro.h: Deleted.
16450 * som.h: New file with SOM specific definitions.
16451 * elf.h: New file with ELF specific definitions.
16453 * elfos.h (const_section): Output a tab before assembler directives.
16454 (ctors_section, dtors_section): Likewise.
16455 (ASM_OUTPUT_SECTION_NAME): Likewise.
16457 * pa/pa1.h: Delete unused file.
16459 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
16461 * configure.in (hppa*-hp-hpux11*): New configuration.
16462 * configure: Rebuilt.
16463 * pa/pa-hpux11.h: New file.
16464 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
16467 * mips.md (leasi, leadi): New patterns.
16469 * expr.c (emit_block_move): Properly handle case where one of the
16470 block move arguments has a queued increment or decrement.
16471 (clear_storage): Similarly. Fix formatting goof.
16473 1999-06-28 "David O'Brien" <obrien@NUXI.com>
16475 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
16476 semicolon from the BSD VA_LIST replacement expression.
16478 * fixinc/inclhack.sh: regen
16479 * fixinc/fixincl.x: regen
16481 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
16482 now use the fixincl program.
16484 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
16486 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
16487 case. Also make the PIC register call_used.
16489 * m68k.h (FINALIZE_PIC): Delete.
16490 * m68k.c (finalize_pic): Delete.
16492 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
16494 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
16497 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
16499 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
16501 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
16503 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
16505 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
16507 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
16509 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
16511 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
16513 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
16515 * rs6000.c (output_toc): Always use hex values for floating-point
16516 constants. Store single-precision values in upper-half of TOC
16517 entry in 64-bit mode.
16518 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
16519 to final constraints.
16520 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
16521 (fctiwz): Improve accuracy of RTL for pattern.
16523 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
16525 * expr.c (expand_expr): Allow RTL_EXPR's through the
16526 MAX_INTEGER_COMPUTATION_MODE checks.
16528 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
16530 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
16531 such that MASK_SUPPORT_ARCH is not negative.
16533 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
16535 * loop.c (verify_dominator): Properly handle ADDR_VEC and
16536 ADDR_DIFF_VEC insns that appear inside loops.
16538 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
16539 Jeff Law <law@cygnus.com>
16541 * rs6000.md (movdf_hardfloat32): Revert previous patch.
16542 Handle LO_SUM the same as offsettable in cases 1 and 2.
16543 * rs6000.c (find_addr_reg): Revert previous patch.
16545 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
16547 * system.h (strstr): New external function declaration.
16548 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
16549 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
16550 * config.in, configure: Rebuilt.
16552 1999-06-24 Tom Tromey <tromey@cygnus.com>
16554 * gcc.c (main): Read user-specified specs files after computing
16555 additional startfile_prefixes.
16557 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
16559 Revert these two patches:
16561 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16562 * loop.c (strength_reduce): When doing biv->giv conversion, update
16563 reg note of NEXT->insn.
16565 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16566 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16568 (recombine_givs): Set ix field after sorting.
16570 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16572 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
16573 for the parts of an UNSPEC / UNSPEC_VOLATILE.
16575 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
16577 *fixinc/inclhack.def: Add fix development commentary
16578 (read_ret_type): reactivate and add selection clause
16579 (zzz_*): tweak output file name to match what is used in hackshell.tpl
16580 *fixinc/{fixincl.x|inclhack.sh}: regen
16582 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
16584 * expr.c (expand_expr): STRIP_NOPS before checking against
16585 MAX_INTEGER_COMPUTATION_MODE
16586 (check_max_integer_computation_mode): Likewise.
16588 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
16590 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
16592 1999-06-22 Jim Wilson <wilson@cygnus.com>
16594 * expr.c (store_expr): When target is a promoted subreg, return a
16595 promoted subreg as a result.
16597 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
16599 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
16601 (dwarf2out_define): Mark unused parameters appropriately.
16602 (gen_unspecified_parameters_die): Ditto.
16603 (gen_subprogram_die): Fix signed/unsigned warnings.
16604 (gen_variable_die): Ditto.
16606 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
16608 * fixinc/inclhack.def(end_else_label): combined else_label
16609 and endif_label and fixed the sed expression.
16610 *fixinc/{fixincl.x|inclhack.sh}: regen
16612 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
16614 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
16615 'x' when handling non-offsettable addresses
16617 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
16619 * final.c (shorten_branches): Don't try to split an insn that has
16622 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
16624 * config/mips/mips.c (symbolic_expression_p): New function.
16625 (mips_select_rtx_section): Put symbolic expressions in the
16626 data section, not the read-only data section.
16628 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
16630 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
16632 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
16634 * collect2.c (main): Log frame table count.
16635 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
16636 (scan_prog_file) [COFF]: Handle frame tables.
16638 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
16639 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
16640 * alpha/elf.h: Undef them again.
16641 * alpha/vms.h: Remove their definitions.
16643 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16645 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
16646 remove the clobber of r0 and change the REG_UNUSED note to
16649 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
16651 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
16652 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
16653 fits in HOST_WIDE_INT and one uses union to access a long constant
16656 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
16658 * sparc.c (sparc_override_options): Don't allow profiling for
16659 code models other than medlow.
16660 (sparc_function_profiler): New function from old FUNCTION_PROFILER
16661 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
16662 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
16663 (sparc_block_profiler): Likewise.
16664 (sparc_function_block_profiler_exit): Likewise.
16665 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
16666 (FUNCTION_BLOCK_PROFILER): Likewise.
16667 (BLOCK_PROFILER): Likewise.
16668 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
16669 (MCOUNT_FUNCTION): New.
16670 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
16671 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
16672 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
16673 (MCOUNT_FUNCTION): New.
16674 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
16675 (BLOCK_PROFILER): Delete.
16676 (MCOUNT_FUNCTION): New.
16678 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
16680 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
16682 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16684 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16687 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16690 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16693 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16696 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
16698 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
16701 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
16703 * i386/djgpp.h (LIB_SPEC): New.
16704 (STARTFILE_SPEC): New.
16706 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
16708 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
16710 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
16713 * system.h (WSTOPSIG): New macro.
16715 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
16717 * c-pragma.c (push_alignment): Don't ignore alignments greater than
16719 (insert_pack_attributes): Take into account member natural
16722 * i386/winnt.c (exports_head): New static variable.
16723 (i386_pe_record_exported_symbol): New function.
16724 (i386_pe_asm_file_end): Use.
16725 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
16726 symbols to be emitted at end of assembly.
16727 (ASM_DECLARE_OBJECT_NAME): Likewise.
16728 (ASM_DECLARE_FUNCTION_NAME): Likewise.
16730 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
16733 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
16735 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
16738 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
16740 * haifa-sched.c (sched_analyze_1): Use free_list instead of
16741 zapping reg_last_uses directly.
16742 (sched_analyze_2, sched_analyze_insn): Likewise.
16743 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
16745 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
16747 * rs6000.md (movdf_hardfloat32): Use worst case insn length
16748 attributes for cases 1 and 2.
16750 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
16752 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
16755 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
16757 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
16759 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
16761 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
16762 PIC_OFFSET_TABLE_REGNUM for general alloaction.
16763 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
16764 must be stacked if it is used for PIC accesses.
16765 * arm.c (use_return_insn): Handle PIC register specially.
16766 (output_return_instruction): Likewise.
16767 (output_func_{prologue,epilogue}): Likewise.
16768 (output_expand_prologue): Likewise.
16770 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
16771 (*strsi_predec): Renamed from *strqi_predec.
16772 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
16773 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
16775 * arm.c (arm_override_options): Remove warning about PIC code
16776 not being supported.
16778 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
16780 * rs6000.c (find_addr_reg): New function.
16781 * rs6000.h (find_addr_reg): Declare.
16782 (offsettable_addr_operand): Delete.
16783 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
16784 from and stores to GPRs.
16786 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
16788 * alpha.c (alpha_expand_block_move): Use get_insns rather than
16789 gen_sequence as argument to emit_no_conflict_block.
16791 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16793 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
16794 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
16795 *fixinc/fixincl.x: regen
16796 *fixinc/inclhack.sh: regen
16798 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
16800 * added support for -mpcrel (PC relative addressing for m68k)
16801 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
16802 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
16803 * m68k.c (print_operand_address): Handle 32-bit PIC case.
16804 (comments for general_src_operand): Add some explanation
16805 about EXTRA_CONSTRAINTS.
16806 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
16807 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
16808 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
16809 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
16810 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
16811 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
16812 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
16813 if not already set.
16814 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
16815 * m68k.h (TARGET_PCREL): New target flag.
16816 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
16817 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
16818 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
16819 contains a SYMBOL_REF. Relax this constraint during reload, since
16820 we want to use the predicates, not reload's built-in concept of a
16821 valid memory address, to control what insns need reloading.
16822 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
16823 operands (essentially 'g', 'm', and 's' under normal circumstances).
16824 * m68k.c (print_operand): Cause printing of pc-relative addresses
16825 to include pc register.
16826 (print_operand_address): Ditto.
16827 (general_src_operand): Accept operands that are not only
16828 general_operands, but are also valid when used as a pc-relative
16830 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
16831 (memory_src_operand): Similar, for memory_operands.
16832 (pcrel_address): New predicate to accept the special case of a
16833 pc-relative address.
16834 * m68k.md (many patterns): Rewrite common SImode, HImode, and
16835 QImode insns to accept *_src_operand instead of *_operand where
16836 pc-relative operands can fit. For example, a pc-relative operand
16837 can be used as a memory source operand for addsi3, but not as a
16838 memory destination.
16839 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
16841 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
16843 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
16844 .thumb_set pseudo op to mark aliases of thumb functions.
16846 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
16848 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
16849 preference to ASM_OUTPUT_DEF, if it is defined.
16851 * tm.texi: Document new, optional target macro
16852 ASM_OUTPUT_DEF_FROM_DECLS.
16854 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16856 * fixincludes: ISCNTL patch
16857 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
16858 (dgux_int_varargs): new for DG/UX
16859 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
16861 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
16863 * invoke.texi (ia32 options): Fix typo.
16865 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16867 * loop.c (strength_reduce): When doing biv->giv conversion, update
16868 reg note of NEXT->insn.
16870 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
16872 * loop.c (move_movables): Note issues with replacing REGs with
16874 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
16876 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
16878 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
16880 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
16881 the reference to `mcount' was not correct for the ELF on FreeBSD.
16883 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16885 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16888 (recombine_givs): Set ix field after sorting.
16890 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
16892 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
16893 to safe to extract a subword out of a REG.
16895 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16897 * sh.md (mulsi3): Don't add a no-op move at the end.
16899 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16901 * cse.c (cse_insn): Don't put hard register source into tables for
16902 the last insn of a libcall.
16904 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16906 * loop.c (strength_reduce): Insert sets of derived givs at every
16907 biv increment, even if it's the only one.
16909 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16911 * dwarfout.c (add_incomplete_type): New fn.
16912 (output_type): Call it.
16913 (retry_incomplete_types): New fn.
16914 (dwarfout_finish): Call it.
16916 From Eric Raskin <ehr@listworks.com>:
16917 (output_type): Output types for bases.
16919 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
16921 * mips.c (mips_output_conditional_branch): Add `break'
16922 between `default' label and `close braces'.
16924 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
16926 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
16927 specifications and make it realistic.
16928 (LIB_SPEC): Likewise.
16930 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
16932 * config/mips/mips.c (mips_secondary_reload_class): Check for
16933 (PLUS (SP) (REG)) and return appropriate register class.
16934 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
16935 Handle (PLUS (SP) (REG)).
16936 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
16937 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
16938 of emit_insn for tablejump.
16940 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
16942 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
16943 asm_fprintf format string by itself.
16944 (output_function_profiler): Likewise.
16946 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
16948 * combine.c (simplify_logical, case AND): Only call
16949 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
16950 or the constant is positive.
16952 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
16954 * configure.in: Fix typo in rs6000-ibm-aix4 case.
16955 * configure: Regenerate.
16957 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
16959 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
16960 require a sub-version #.
16961 * configure: Rebuilt.
16963 1999-06-14 Robert Lipe (robertlipe@usa.net)
16965 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
16967 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
16969 * c-typeck.c (process_init_element): Detect excess elements in
16970 char array initializer.
16972 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
16974 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
16976 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16978 * invoke.texi (Option Summary): Add -fpermissive flag.
16980 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
16982 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
16983 that require PIC code sequences.
16985 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
16987 * configure.in: Add new target: thumb-elf.
16988 * configure: Regenerate.
16989 * config/arm/t-thumb-elf: New file: Makefile fragment for
16991 * config/arm/telf.h: New file: Header file for thumb-elf
16994 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
16996 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
16997 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
16998 initializers is some circumstances.
17000 * fixinc/inclhack.def (endif_label): Add additional selector for
17001 more bogus stuff after #endif statements.
17002 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17004 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
17006 * i386/cygwin.h (SET_ASM_OP): Define.
17008 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
17010 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
17012 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17014 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
17017 * sh.md (ic_invalidate_line_i): Remove second alternative.
17019 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17021 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
17022 test for the presence of valid prototypes. Delete bypass expr.
17023 (ioctl_fix_ctrl): Correct the selection expression.
17024 (no_double_slash): Correct quoting rules
17025 *fixinc/fixincl.x: regen
17026 *fixinc/inclhack.sh: regen
17028 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
17030 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
17032 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17034 * rs6000.md (movsi_got_internal_mem): Delete.
17035 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
17036 (GOT_TOC_REGNUM): Delete.
17037 (PIC_OFFSET_TABLE_REGNUM): Define.
17038 (FINALIZE_PIC): Disable.
17039 * rs6000.c (rs6000_got_register): New code for fixed pic register.
17040 (rs6000_replace_regno): Delete.
17041 (rs6000_finalize_pic): Likewise.
17042 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
17044 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17046 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
17047 is a note; use <= for the compare; advance P while it is
17050 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
17052 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
17053 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
17055 * varasm.c (remove_from_pending_weak_list): Verify t->name
17056 is non-NULL before passing it to strcmp.
17058 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17060 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
17061 the typed arguments are not part of a comment
17062 (ioctl_fix_ctrl): Added a purpose comment
17063 *fixinc/fixincl.x: regenerate
17064 *fixinc/inclhack.sh: regenerate
17066 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17068 * invoke.texi: Add C4x invocation docs.
17070 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17072 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
17074 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
17076 (c4x_legitimize_reload_address): New function.
17077 * config/c4x/c4x.md: Update docs.
17079 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
17081 * fixincludes: Avoid removing '.'.
17082 * fixinc/fixinc.svr4: Likewise.
17083 * fixinc/fixinc.winnt: Likewise.
17084 * fixinc/inclhack.tpl: Likewise.
17085 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
17087 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17089 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
17091 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
17093 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
17095 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
17098 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
17100 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
17101 * configure: Regenerate.
17103 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
17105 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
17108 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
17110 * fixinc/inclhack.def (avoid_bool): Also catch
17111 "typedef [unsigned] int bool".
17112 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17114 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
17115 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
17116 * configure: Rebuilt.
17118 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
17120 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
17121 such that we can override its definitions if necessary.
17122 (CPP_SPEC): New define. Support processor specific predefines via
17124 (CC1_SPEC): New define. Support processor specific compiler
17125 options via %(cc1_cpu).
17126 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
17129 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17131 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
17132 between sed's -e flag, and the open-quote following it.
17133 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17135 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
17136 Jeffrey A Law (law@cygnus.com)
17138 * varasm.c (assemble_start_function): Remove the function
17139 from the pending weak decls list when we define a function.
17140 (assemble_variable): Similarly for variables.
17141 (weak_finish): Ignore items on the list with a NULL name.
17142 (remove_from_ending_weak_list); New function to "remove" an item
17143 from the pending weak declarations list.
17145 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17147 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
17149 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
17151 * c-lex.c (GETC): Redefine to call getch.
17152 (UNGETC): Redefine to call put_back.
17153 (putback_buffer): New structure type.
17154 (putback): New static structure.
17155 (getch): New function.
17156 (put_back): New function.
17157 (yylex): Replace unused bytes from bad multibyte character.
17159 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
17161 * cpplib.c (do_define): Cast `alloca' return value.
17162 (do_include, do_undef, do_pragma): Likewise.
17163 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
17165 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
17166 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
17168 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
17170 * sparc.md (abstf2): This should be an expand.
17171 (split after abstf2_notv9): Fix mode.
17172 (abstf2_hq_v9): New pattern.
17173 (abstf2_v9): Only use when no hard quad.
17174 (absdf2_v9): Fix if target is not the same as source.
17175 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
17176 Add correct output constraints.
17178 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
17180 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
17181 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
17183 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
17185 * mips.h (mips_output_conditional_branch): New function.
17186 (mips_adjust_insn_length): Likewise.
17187 (ASSEMBLER_SCRATCH_REGNUM): New macro.
17188 (ADJUST_INSN_LENGTH): Likewise.
17189 * mips.c (print_operand): Add `F' and `W' for floating-point
17190 comparison opcodes.
17191 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
17193 (mips_adjust_insn_length): New function.
17194 (mips_output_conditional_branch): New function.
17195 * mips.md (length): Adjust attribute definition to handle
17196 conditional branches. Change lengths to bytes, rather than
17197 instructions throughout. Remove length attribute from
17198 instructions whose length is four bytes, and rely on the default
17200 (dslot): Fix typo in comment.
17201 Reword conditional branch patterns to use
17202 mips_output_conditional_branch.
17204 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17206 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
17207 (LIB_SPEC): Likewise.
17208 Link with -lprof1_r for -g/-pg.
17210 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17212 * loop.c (check_dbra_loop): Fix change of Jan 19.
17214 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
17216 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
17217 (STARTFILE_SPEC): Define, override the svr4.h version.
17218 (ENDFILE_SPEC): Likewise.
17220 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
17222 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
17223 * fixinc/fixincl.x: Regenerated.
17224 * fixinc/inclhack.sh: Regenerated.
17226 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17228 * sh.c (barrier_align): Don't return early for normal branch/barrier
17229 when optimizing for SH2.
17231 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
17233 * i386/udk.h (LINK_SPEC): Correct linker search path for
17236 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17238 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
17239 (braf_label_ref_operand): Delete.
17240 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
17241 * sh.md (casesi_jump_2): Operand1 is now the inside of a
17242 label_ref, and has no predicate.
17243 The patten has a predicate to guard against invalid substitutions.
17244 (dummy_jump): Delete.
17245 (casesi): Update use of casesi_jump_2.
17247 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17249 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
17250 *fixinc/fixincl.x: regenerate
17251 *fixinc/inclhack.sh: regenerate
17253 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
17255 * dwarf2out.c (add_incomplete_type): New fn.
17256 (gen_struct_or_union_type_die): Call it.
17257 (retry_incomplete_types): New fn.
17258 (dwarf2out_finish): Call it.
17260 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
17262 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
17263 current block starts with a CODE_LABEL and ends with a CALL and
17264 we can not find all the argument setup instructions for the CALL.
17266 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
17268 Revert this change:
17269 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17270 something is a candidate for optimize_bit_field_compare.
17272 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17274 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
17276 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
17278 * alpha.c (override_options): Thinko in last patch.
17280 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
17281 (LIB_SPEC): Recognize -pthread.
17283 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
17285 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
17286 definition in config/arm/coff.h
17287 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
17289 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17291 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
17292 fixes that need "file=xxx\n" prepended before invocation
17293 (start_fixer - new): starting the fixer process is complex enough
17294 to warrent its own routine. It prepends the "file=xxx\n" stuff.
17295 (process): uses the new routine; omit usage of putenv()
17296 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
17297 * fixinc/fixincl.x: regenerate
17299 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
17301 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
17302 and version #s (1.1 -> 2.96) as needed.
17303 * README.g77: Kill way out of date file in the toplevel directory.
17305 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
17307 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
17308 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
17309 * configure: Rebuilt.
17310 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
17311 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
17312 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
17313 (SWITCH_TAKES_ARG): Likewise.
17314 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
17315 * config/t-freebsd: Moved from config/i386/ so it can used for all
17318 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
17320 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
17322 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
17324 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
17325 * configure: Rebuilt.
17327 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
17329 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
17330 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
17331 * rs6000/rs6000.c (rs6000_file_start): Use putc.
17332 (rs6000_output_load_toc_table): Same.
17333 (output_prolog, output_mi_thunk): Same.
17334 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
17335 (ASM_GLOBALIZE_LABEL): Use putc.
17337 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
17339 * alpha.md (reload_*_help): New patterns and splitters.
17340 (reload_*): Use them.
17341 (mov[qh]i): Likewise.
17343 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
17345 * cccp.c (handle_directive): Handle backslash-newlines in quoted
17348 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
17350 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
17352 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
17354 * flow.c (mark_regs_live_at_end, insn_dead_p,
17355 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
17356 and HARD_FRAME_POINTER_REGNUM special treatment if reload
17357 hasn't run or the frame pointer is needed.
17358 * haifa-sched.c (attach_deaths): Likewise.
17359 * sched.c (attach_deaths): Likewise.
17361 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
17363 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
17364 calculate_can_reach_end returns nonzero.
17366 * configure.in (native gas tests): Search for an assembler in the
17367 same manner that the installed compiler will.
17368 * configure: Rebuilt.
17369 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
17371 * alias.c (find_base_term): Improve handling of addresses
17372 constructed from binary operations.
17374 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
17376 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
17378 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
17380 * function.h (cleanup_label, frame_offset): Declare.
17381 (tail_recursion_label, tail_recursion_reentry): Likewise.
17382 (arg_pointer_save_area, rtl_expr_chain): Likewise.
17383 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
17384 (tail_recursion_label, tail_recursion_reentry): Likewise.
17385 (arg_pointer_save_area, rtl_expr_chain): Likewise.
17387 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
17389 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
17391 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
17392 (MAX_OFILE_ALIGNMENT): Define.
17394 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
17396 * fixincl.c: Replace local include scheme with #includes of
17397 gansidecl.h and system.h.
17398 * procopen.c: Likewise.
17399 * server.c: Likewise.
17401 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
17403 * i386/t-dgux (EXTRA_PARTS): Add crti.o
17404 (crti.o): Add build rule and dependencies.
17405 * fixinc/fixinc.dgux: Use modified _int_varargs.h
17407 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17409 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
17410 (LIB_LINUX_SPEC): Likewise.
17411 (LIB_LINUX_SPEC): Add support for -pthread
17412 (CPP_OS_LINUX_SPEC): Likewise.
17413 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
17416 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
17418 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
17420 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
17421 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
17422 for IEEE math and CC_FCOMI.
17423 (put_jump_code): No IEEE if CC_FCOMI is set.
17425 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17427 * fold-const.c (fold_truthop): Make the field reference unsigned
17428 when converting a single bit compare.
17430 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17432 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
17434 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
17436 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
17437 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
17440 * reload.c (push_reload): Do not call remove_address_replacements
17441 when presented with identical optional reloads.
17443 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
17445 * alpha.h (MASK_FIX, TARGET_FIX): New.
17446 (MASK_*): Reorganize constants.
17447 (CPP_AM_FIX_SPEC): New.
17448 (TARGET_SWITCHES): Add FIX.
17449 (EXTRA_SPECS): Likewise.
17450 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
17451 (SECONDARY_MEMORY_NEEDED): Likewise.
17452 (REGISTER_MOVE_COST): Likewise.
17453 * alpha.c (override_options): Add FIX support. Always use
17454 ALPHA_TP_PROG for ev6.
17455 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
17456 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
17457 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
17459 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
17461 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17462 something is a candidate for optimize_bit_field_compare.
17464 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
17466 * gcc.texi (Passes): Document branch-shortening.
17467 * invoke.texi (Debugging Options): Document the fact that `-dp'
17468 outputs length information for instructions.
17470 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
17472 * flow.c: Revert previous delta.
17474 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
17476 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
17477 FRAME_POINTER_REGNUM.
17478 (mark_set_1): Ditto.
17479 (mark_used_regs): Ditto.
17481 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
17483 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
17484 (GOT_PCREL): New macro. Define to 1 if not already defined.
17485 * arm/elf.h (GOT_PCREL): Define to 0.
17486 * arm.c (arm_finalize_pic): Take into account the setting of
17489 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
17491 * output.h (STRIP_NAME_ENCODING): Provide default definition.
17492 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
17494 * flow.c (mark_set_1): Do not record BLKmode stores as dead
17495 store elimination candidates.
17497 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
17499 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
17502 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
17504 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
17505 Add use of x-aix41-gld.
17507 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
17509 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
17510 (ASM_OUTPUT_DESTRUCTOR): Define.
17512 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
17514 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
17515 last CODE_LABEL in a loop if we have previously passed a jump
17516 to the top of the loop.
17518 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
17520 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
17521 applying Philip's patch.
17523 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
17525 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
17528 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
17530 * loop.c (strength_reduce): Grow reg_single_usage as needed.
17532 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
17534 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
17535 Also remove a useless comment.
17537 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17539 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
17541 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
17543 * collect2.c (main): Only generate import or export file and add
17544 to link arguments if non-empty. Use xmalloc not alloca.
17545 (write_{export,import}_file): Delete.
17546 (write_aix_file): New function.
17547 (locatelib): Use xmalloc not malloc.
17548 (GCC_OK_SYMBOL): Do not check type if aix64.
17550 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
17552 Based on patch by Scott Bambrough and Pat Beirne:
17553 * config/arm/arm.c (making_const_table): New variable.
17554 * config/arm/arm.h (making_const_table): Declare.
17555 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
17557 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
17558 Keep track of when we are building the constant table.
17560 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
17562 * config/arm/arm.c (arm_override_options): Fix erroneous warning
17565 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
17567 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
17570 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
17572 * tm.texi (FUNCTION_ARG): Correct description of a stack element
17575 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
17577 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
17579 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17581 * rs6000.c (output_mi_thunk): Enable full support again.
17583 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17585 * sh.h (BRANCH_COST): Define.
17587 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
17589 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
17591 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
17593 * function.c (assign_stack_local): Align stack slot propertly.
17594 (assign_outer_stack_local): Likewise.
17596 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
17598 * expr.h (lang_expand_constant): Declare.
17599 * toplev.c (lang_expand_constant): Define it.
17600 * varasm.c (output_constant): Use it.
17602 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17604 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
17605 Change function definitions to K&R style.
17607 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17609 * fixinc/fixincl.c: We must not ignore SIGCLD now.
17611 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
17613 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
17614 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
17615 (several places): omit static initialization
17616 (process): use single fd, since only the read fd is used
17617 * fixinc/gnu-regex.c: define 'const' away, if not supported
17618 * fixinc/procopen.c(several places): omit static initialization
17619 * fixinc/server.c: define 'volitile' away, if not supported
17621 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17623 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
17624 asm_fprintf and %L to generate the label name.
17625 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
17626 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
17628 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
17630 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
17631 insn for a conditional jump can not be found.
17633 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
17635 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
17636 on variables in specific sections other than .sbss and .sdata.
17638 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
17640 * stmt.c (expand_return): Call start_cleanup_deferral and
17641 end_cleanup_deferral around conditional code.
17643 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17645 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
17646 filename lists. Utilizes new "krstr" AutoGen function.
17647 * fixinc/fixincl.x: Rebuilt.
17649 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
17651 * i386.c (output_float_compare): Avoid GNU-C extensions.
17653 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
17655 * version.c: Bump to distinguish mainline tree from the
17658 See ChangeLog.1 for earlier changes.