1 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
3 * flow.c (find_basic_blocks): Don't kill label_value_list
5 (cleanup_cfg): Kill it here.
7 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9 * expr.c (store_field): Ensure ALIGN is no stricter than the
12 2000-02-02 Richard Henderson <rth@cygnus.com>
14 * jump.c (delete_insn): Partially revert 19 Jan change;
15 don't convert unused code labels to notes at -O0.
17 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
20 split_all_insns to recreate REG_LABEL notes for flow2 pass.
22 2000-02-01 Richard Henderson <rth@cygnus.com>
24 * i386.c (general_no_elim_operand): New.
25 (nonmemory_no_elim_operand): New.
26 (ix86_expand_move): Copy eliminable operands before a push.
27 * i386-protos.h: Declare new functions.
28 * i386.h (CAN_ELIMINATE): Simplify.
29 (PREDICATE_CODES): Update.
30 * i386.md (push insns): Don't allow eliminable register operands.
32 2000-02-01 Richard Henderson <rth@cygnus.com>
34 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
35 replace BLKmode with DECL_RTL's mode.
37 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
39 * frame.c (find_fde): Convert for loop to do-while so compiler
40 sees it's always executed at least once.
41 * libgcc2.c (BBINBUFSIZE): Kill.
42 (__bb_init_prg): Use fgets.
43 (__bb_exit_trace_func): Don't paste strings.
44 * unroll.c (unroll_loop): Initialize unroll_type, not
45 unroll_number, and tweak logic to match.
47 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
49 (ix86_flags_dependant): Likewise. Disentangle control flow.
50 (ix86_sched_reorder): Break guts out to
51 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
52 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
55 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
56 use string concatenation. Don't save and restore esi.
58 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
59 (machname.h): Remove script to separate file. Use two-step
60 sequence so target is not created if script fails.
61 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
62 identifiers are defined.
63 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
64 an empty string, machine_name doesn't need to do anything at
66 (is_cxx_header): Add more cases to regexp.
67 * fixinc/fixlib.h: Update prototype.
68 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
70 * fixinc/fixincl.c: Define NO_BOGOSITY.
72 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
73 (hp_sysfile): Add missing comma.
74 (math_exception): Put the wrapper ifdefs at the beginning and
76 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
78 2000-02-01 Richard Henderson <rth@cygnus.com>
80 * sparc.c (fp_zero_operand): Turn into a normal predicate.
81 Use CONST0_RTX. Update all callers.
82 * sparc.h, sparc-protos.h: Update accordingly.
83 * sparc.md (fp mov insns): Use fp_zero_operand directly
86 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
88 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
91 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
93 * Makefile.in (specs.ready): New target.
94 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
96 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
98 * fixinc.irix: Use unique filenames for writing into /tmp,
99 * fixinc.ptx: Likewise.
100 * fixinc.sco: Likewise.
101 * fixinc.svr4: Likewise.
102 * fixinc.winnt: Likewise.
104 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
106 * tsystem.h: New file.
108 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
109 s-crtS): Depend on tsystem.h.
111 * crtstuff.c: Include tsystem.h.
113 * libgcc2.c: Likewise.
115 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
117 * builtins.c (expand_builtin_memset): Expand for variable sized
120 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
122 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
125 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
127 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
129 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
131 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
133 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
134 case 3->2 combining (combining with splitting) in which 2 is CC0
135 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
136 checked at the begining of the function with the aid of calling
137 function 'can_combine_p'.
139 2000-01-31 Dave Brolley <brolley@redhat.com>
141 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
143 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
145 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
148 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
150 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
152 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
155 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
157 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
158 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
159 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
160 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
161 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
162 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
163 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
164 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
165 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
166 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
168 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
169 Add %(cpp_cpu) to CPP_SPEC.
171 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
172 Add %(cc1_cpu) to CC1_SPEC.
174 2000-01-28 Ulrich Drepper <drepper@redhat.com>
176 * c-decl.c (c_decode_option): Accept optional numeric argument to
177 -Wformat and set warn_format.
178 * c-common.c: Don't emit warning about non-constant printf format
179 string unless warn_format > 1.
181 2000-01-30 Richard Henderson <rth@cygnus.com>
183 * alpha.md (return_internal): Allow after reload only.
185 2000-01-30 Richard Henderson <rth@cygnus.com>
187 * i386.c (ix86_compute_frame_size): Omit padding1 if the
188 local frame size is zero.
190 2000-01-30 Richard Henderson <rth@cygnus.com>
192 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
193 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
194 * alpha.md (return): Turn into an expander.
195 (return_internal): Don't use $26.
196 (epilogue): Emit the return insn.
198 2000-01-30 Richard Henderson <rth@cygnus.com>
200 * alpha.md (negtf2, abstf2): Fix word order thinko.
202 (trunctfsf2): Avoid intermediate rounding errors.
204 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
206 * cppfiles.c (find_position): Drop 'colp' argument, return the
208 (read_and_prescan): Adjust to match. Don't ever manipulate
209 line or line_base except via find_position.
211 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
213 * c-parse.in: Apply Ulrich's changes from c-parse.y.
214 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
217 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
219 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
220 just print "<command line>". If 'filename' is null or an
221 empty string, print "<stdin>" for the filename.
222 * cpplib.c (do_define): Don't print the 'location of the
223 previous definition' message if we're still parsing the
225 (cpp_pedwarn_with_file_and_line): Always call
226 cpp_file_line_for_message.
228 2000-01-29 Mark Mitchell <mark@codesourcery.com>
230 * flow.c (mark_regs_live_at_end): Fix typo.
232 2000-01-28 Ulrich Drepper <drepper@redhat.com>
234 * c-common.c: Adjust variable names, comments, help strings to c99.
236 * c-parse.y: Likewise.
237 * c-tree.h: Likewise.
239 * cpplib.h: Likewise.
240 * c-decl.c: Likewise. Recognize options with names "*99" as well.
241 * cppinit.c: Likewise.
243 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
245 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
246 * c4x.c: Define the optab rtx values.
247 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
248 (c4x_emit_libcall): Use new optab rtx values.
249 (c4x_emit_libcall3): Likewise.
250 (c4x_emit_libcall_mulhi): Likewise.
251 * c4x-protos.h: Add prototypes for optab rtx values and change
252 prototypes for above c4x_emit_libcall functions.
254 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
256 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
258 (c4x_function_prologue): Use regnames intead of float_reg_names when
260 (c4x_function_epilogue): Likewise.
261 (c4x_print_operand): Likewise.
262 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
263 * c4x.md (set_high): Disable for TARGET_TI.
265 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
267 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
268 of framepointer + constant to ADDR_REGS class.
269 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
270 * c4x.c (std_or_reg_operand): New function.
271 * c4x-protos.h (std_or_reg_operand): Prototype it.
273 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
275 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
276 object names as libgcc2.c.
277 * libgcc.S: Use newly defined names.
279 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
280 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
282 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
283 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
284 (FLOW_LOOP_LAST_BLOCK): Likewise.
286 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
288 * basic-block.h (struct loop): New fields 'first' and 'last'.
289 * flow.c (flow_loops_find): Compute loop->first and loop->last.
290 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
291 and loop->last to check for NOTE_INSN_LOOP_END.
293 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
295 * predict.c (estimate_probability): Use the new FIRST and LAST fields
296 of the loop descriptor rather than HEADER and LATCH. Also added
297 missing break statements as well making some coding style modifications
298 as suggested by Michael Hayes.
300 2000-01-28 Richard Henderson <rth@cygnus.com>
302 * flow.c (find_basic_blocks): Remove do_cleanup argument.
303 Break out that code ...
304 (cleanup_cfg): ... here.
305 (commit_one_edge_insertion): Detect a return instruction being
306 emitted to an edge. Emit a barrier following; clear fallthru.
307 (commit_edge_insertions): Verify CFG consistency.
308 * function.c (expand_function_start): Kill unused variable.
309 (expand_function_end): Likewise.
310 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
311 to insert the epilogue.
313 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
314 (delete_null_pointer_checks): Likewise.
315 * output.h: Likewise.
316 * reg-stack.c (reg_to_stack): Likewise.
317 * toplev.c (rest_of_compilation): Likewise. Run
318 thread_prologue_and_epilogue_insns after rebuilding the CFG.
320 2000-01-28 Richard Henderson <rth@cygnus.com>
322 * Makefile.in (flow.o): Revert 24 Jan change.
323 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
324 FUNCTION_VALUE result to DECL_RESULT's mode.
326 * haifa-sched.c (schedule_insns): Don't recompute reg info
329 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
331 * configure.in: Make --enable-cpplib the default.
332 * configure: Regenerate.
333 * gcc.dg/990119-1.c: No longer expected to fail.
335 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
337 * jump.c (jump_optimize_1): Delete an optimization that is also done
338 by merge_blocks in flow.
340 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
342 * diagnostic.c (build_message_string, output_printf,
343 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
344 (build_location_prefix): Fix non-literal format string.
346 2000-01-27 Richard Henderson <rth@cygnus.com>
348 * alpha.md (trunctfsf2): New.
350 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
352 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
354 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
356 * cppinit.c (cpp_handle_option): Recognize C++ comments under
358 * cpplib.c (skip_block_comment, skip_line_comment): Split code
360 (skip_comment) ... here. Permit C++ comments in system
361 headers always. Warn about C++ comments in user code under
362 -std=gnu89 -pedantic.
363 (copy_comment): Use skip_comment.
364 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
366 (consider_directive_while_skipping, do_else, do_endif): Call
367 validate_else unconditionally.
368 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
369 text after the conditional in a system header.
370 * cpplib.h (struct cpp_buffer): Add flag
371 warned_cplusplus_comments.
373 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
375 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
376 Use unshare_all_rtl_1.
377 (unshare_all_rtl_again): New function.
378 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
380 * function.c (purge_addressof_1): Use unshare_all_rtl_again
381 rather than resetting the 'used' flags ourself.
383 * toplev.c (rest_of_compilation): Add current_function_decl
384 to the unshare_all_rtl call.
385 * tree.h: Prototype unshare_all_rtl.
386 * rtl.h: Prototype unshare_all_rtl_again here.
388 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
390 * genoutput.c (output_prologue): Include ggc.h in generated
392 * Makefile.in (insn-output.o): Depends on ggc.h.
394 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
395 Hans-Peter Nilsson <hp@bitrange.com>
397 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
398 Remove redundant include of xm-ns32k.h.
399 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
400 Remove redundant include of xm-ns32k.h.
401 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
402 Remove redundant include of xm-ns32k.h.
403 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
405 * ns32k/ns32k.h: Update comment on multiply-add instructions.
406 (TARGET_SWITCHES): Add documentation strings.
407 (DWARF_FRAME_REGNUM): Override default definition.
408 (REG_CLASS_CONTENTS): Add comments.
409 (SUBSET_P): Format to reduce line length.
410 (SMALL_REGISTER_CLASSES): Make a run time option.
411 (GO_IF_NONINDEXED_ADDRESS): Reformat.
412 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
413 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
414 (regclass_map): fix typo in comment.
415 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
416 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
417 (trace, reg_or_mem_operand): Delete, unused function.
418 (calc_address_cost): Small offsets are cheaper than large ones.
419 (expand_block_move): Generate more efficient code when bytes is a
420 known at compile time.
421 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
422 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
423 instead of reg_or_mem_operand.
425 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
426 not general_operand. Similarly use "=rm" or stricter, not "=g".
427 For input operands, use stricter constraints than "g" if not
428 general_operand. Similarly use stricter predicate than
429 "general_operand" when stricter constraints than "g" are present,
430 except for matching constraints.
431 (movstrsi): Use "memory_operand" for operands 0 and 1.
432 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
433 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
434 not reg_or_mem_operand.
435 (udivmoddisi4): Ditto.
436 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
437 Use nonimmediate_operand for operand 3, not register_operand.
438 (udivmoddiqi4_internal): Use register_operand for operand 1, not
441 2000-01-27 Fred Fish <fnf@be.com>
443 * gthr-posix.h: Fix typo; compatibily -> compatibility.
444 * gthr-single.h: Likewise.
445 * gthr-solaris.h: Likewise.
446 * gthr-vxworks.h: Likewise.
447 * gthr-win32.h: Likewise.
450 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
452 * cppinit.c: Add " (cpplib)" to end of string printed by
455 2000-01-27 Richard Henderson <rth@cygnus.com>
457 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
458 testing for a signed comparison.
459 (alpha_emit_floatuns): New.
460 * alpha-protos.h: Declare it.
461 * alpha.md (floatunsdisf2, floatunsdidf2): New.
464 2000-01-27 Jakub Jelinek <jakub@redhat.com>
466 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
467 no -g option specifying debugging format, default to -gstabs+.
469 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
471 * calls.c (special_function_p): New argument fork_or_exec.
472 (expand_call): When profile_arc_flag is set and the function
473 is in the fork_or_exec group, call __bb_fork_func first.
474 * libgcc2.c, _bb module (__bb_fork_func): New function.
475 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
477 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
478 * tree.h (special_function_p): Update prototype.
480 2000-01-26 Richard Henderson <rth@cygnus.com>
482 * alpha.c (alpha_split_tfmode_pair): New.
483 * alpha-protos.h: Declare it.
484 * alpha.md (abstf2, negtf2): New.
485 (movtf insn): Add input G constraint.
486 (movtf splitter): Use alpha_split_tfmode_pair.
488 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
490 * i386/cygwin.h: PROTO -> PARAMS.
492 2000-01-26 Jakub Jelinek <jakub@redhat.com>
494 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
495 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
496 using _Qp_cmp/_Q_cmp and testing the return value.
497 (print_operand): Call reverse_condition_maybe_unordered if
498 we are handling CCFPmode or CCFPEmode.
499 Handle ORDERED, UN* and LTGT comparisons.
500 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
501 if not TARGET_HARD_QUAD.
502 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
503 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
504 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
505 Adjust gen_b* calls so that they reflect return comparison of
506 sparc_emit_float_lib_cmp.
508 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
510 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
511 incoming operands array is large enough for one more operand.
512 (alpha_emit_xfloating_arith): Likewise.
514 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
516 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
517 file with one line and no trailing newline.
518 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
519 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
520 checking if the match is on the line.
521 * fixinc/gnu-regex.c: Provide regerror not __regerror.
523 2000-01-25 Richard Henderson <rth@cygnus.com>
525 * sparc.c (output_cbranch): Fix accidental squashing of the
526 fp branch pre-delay nop.
528 2000-01-25 Richard Henderson <rth@cygnus.com>
530 * tree.def (UNNE_EXPR): Remove.
531 * c-typeck.c (build_binary_op): Don't handle it.
532 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
534 * rtl.def (UNNE): Remove.
536 * jump.c (reverse_condition): Update accordingly.
537 (swap_condition): Likewise.
538 (comparison_dominates_p): Handle unordered comparisons.
539 (reverse_condition_maybe_unordered): New.
540 * rtl.h (reverse_condition_maybe_unordered): Declare.
542 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
543 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
544 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
545 * sparc.md (bltgt): New.
547 2000-01-25 Nick Clifton <nickc@redhat.com>
549 * emit-rtl.c (emit_insn): Only check machine class insns for
550 improper emission of a RETURN.
552 2000-01-25 Richard Henderson <rth@cygnus.com>
554 * Makefile.in (flow.o): Depend on $(EXPR_H).
555 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
556 duplicate the structure of diddle_return_value for keeping regs live.
558 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
560 * loop.c (current_loop_info): Delete.
561 (consec_sets_invariant_p): Add loop argument, update callers.
562 (get_condition_for_loop): Likewise.
563 (count_nonfixed_reads, update_giv_derive): Likewise.
564 (simplify_giv_expr, general_induction_var): Likewise.
565 (consec_sets_giv, recombine_givs): Likewise.
566 (move_movables): Delete loop_start and loop_end arguments,
567 add loop argument, and update callers.
568 (find_mem_givs, check_final_value): Likewise.
569 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
570 (loop_invariant_p): Rename from invariant_p, add loop argument, and
572 (basic_induction_var): Add loop argument, delete loop_level argument,
574 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
575 add loop argument, and update callers.
576 (find_splittable_regs, find_splittable_givs): Likewise.
577 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
578 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
579 (biv_total_increment): Delete loop_start and loop_end arguments;
581 (precondition_loop_p): Delete loop_start and loop_info arguments;
583 * loop.h (get_condition_for_loop): Add loop argument.
584 (biv_total_increment): Delete loop_start and loop_end arguments.
585 (precondition_loop_p): Delete loop_start and loop_info arguments;
587 (final_biv_value): Delete loop_start and loop_end arguments;
589 (final_giv_value, back_branch_in_range_p): Likewise.
591 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
593 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
595 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
597 * Makefile.in (c-gperf.h) : Change the "See" pointer to
598 point to the new "generated_files" doc.
600 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
602 * config/fp-bit.c (_unord_f2): Fix typo.
604 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
606 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
607 c-typeck.c, objc/objc-act.c: Remove all references to obstack
608 functions obsoleted by GC, such as push_obstacks_nochange,
609 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
610 and code which existed only to decide whether or not to call
611 them. Remove now-unused NESTED argument from start_function;
612 all callers changed. Do not change behavior based on ggc_p.
613 The use of the ixp_obstack in c-iterate.c and the util_obstack
614 in objc/objc-act.c remain; these are not obsoleted by garbage
616 * c-tree.h: Update prototype for start_function.
618 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
620 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
622 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
625 2000-01-25 Richard Henderson <rth@cygnus.com>
627 * sparc-protos.h (select_cc_mode): Declare.
628 * sparc.c (select_cc_mode): New. Handle unordered compares.
629 (output_cbranch): Always reverse via code change. Handle
630 unordered compares. Factor tests and string updates.
631 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
632 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
633 * sparc.md (bunordered, bordered): New.
634 (bungt, bunlt, buneq, bunge, bunle): New.
636 2000-01-25 Richard Henderson <rth@cygnus.com>
638 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
639 * ggc-common.c (ggc_add_rtx_varray_root): New.
640 (ggc_mark_rtx_varray): New.
641 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
642 functions down below ggc_mark_foo.
643 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
645 2000-01-25 Richard Henderson <rth@cygnus.com>
647 * alpha.c (secondary_reload_class): Don't allocate a secondary
648 for integral mode memories into FLOAT_REGS. Rearrange the more
649 complicated memory expression inward.
651 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
653 * inclhack.def: Fixes to play nicer with FreeBSD, and
654 corrections to comments.
655 (cxx_unready): Add select expression.
656 (irix_sockaddr): Add bypass expression.
657 (machine_ansi_h_va_list): New fix.
658 (stdio_va_list): No need to edit _BSD_VA_LIST_.
659 Split out addition of "#include <stdarg.h>" to...
660 (stdio_stdarg_h): ... here.
661 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
662 to stdlib.h also. Do not munge _BSD_SIZE_T_.
663 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
665 (ultrix_ifdef): Tighten up select expression.
667 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
668 re_ct and max_mach to avoid use of shell. Make printed names
669 match names in inclhack.def. Use static copyright date.
670 Don't count c_test and test expressions as requiring regex_t
671 slots. Add some commentary.
672 * inclhack.tpl: Do not include the 'This script contains N
673 fixup scripts' line if PROGRAM is defined. Use static
676 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
678 * dwarf2out.c: include "varray.h", not dyn-string.h.
679 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
680 (addr_const_to_string, addr_to_string): Lose.
681 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
682 (struct dw_val_struct): val_addr is now an rtx.
683 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
684 (used_rtx_varray): New varray.
685 (dwarf2out_init): Initialize it.
687 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
689 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
690 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
691 * Makefile.in (dwarf2out.o): Update dependencies.
693 2000-01-24 Richard Henderson <rth@cygnus.com>
695 * i386.c (i386_dwarf_output_addr_const): New.
696 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
698 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
700 * dwarfout.c (output_mem_loc_descriptor): Likewise.
701 * i386.c (i386_simplify_dwarf_addr): New.
702 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
704 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
706 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
707 TYPE_STUB_DECL is NULL.
709 2000-01-24 Richard Henderson <rth@cygnus.com>
711 * builtins.c (expand_tree_builtin): Move ...
712 * c-common.c (expand_tree_builtin): ... here.
714 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
716 * loop.h (LOOP_INFO): New accessor macro.
717 * basic-block.h (struct loop): Rename field `info' to `aux'.
718 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
719 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
720 * unroll.c (loop_iterations, unroll_loop): Likewise.
722 2000-01-24 Christopher Faylor <cgf@cygnus.com>
724 * config/i386/t-cygwin: Accomodate new winsup directory layout
725 when searching for include files.
727 2000-01-24 Richard Henderson <rth@cygnus.com>
729 * rtl.def: Add unordered fp comparisions.
730 * tree.def: Likewise.
731 * tree.h: Add ISO C 9x unordered fp comparision builtins.
733 * builtins.c (expand_tree_builtin): New function.
734 * c-typeck.c (build_function_call): Use it.
735 (build_binary_op): Support unordered compares.
736 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
738 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
739 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
740 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
741 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
742 * jump.c (reverse_condition): Don't abort for UNLE etc, but
744 (swap_condition): Handle unordered compares.
745 (thread_jumps): Check can_reverse before reversing.
746 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
749 * optabs.c (can_compare_p): New argument CODE. Verify branch or
750 setcc is present before acking for cmp_optab. Update all callers.
751 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
752 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
753 * expr.c (expand_expr): Likewise. Support unordered compares.
754 (do_jump, do_store_flag): Likewise.
755 * expr.h (enum libfunc_index): Add unordered compares.
757 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
758 (DPBIT_FUNCS): Add _unord_df.
759 * config/fp-bit.c (_unord_f2): New.
760 * fp-test.c (main): Try unordered compare builtins.
762 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
763 * alpha.c (alpha_comparison_operator): Check mode properly.
764 (alpha_swapped_comparison_operator): Likewise.
765 (signed_comparison_operator): Likewise.
766 (alpha_fp_comparison_operator): New.
767 (alpha_emit_conditional_branch): Handle unordered compares.
768 * alpha.h (PREDICATE_CODES): Update.
769 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
770 (bunordered, bordered): New.
772 2000-01-24 Richard Henderson <rth@cygnus.com>
774 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
775 * alpha.md (movtf): New expander, insn, and splitter.
777 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
779 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
782 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
784 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
785 (FIXED_REGISTERS, CALL_USED_REGISTERS,
786 REG_ALLOC_ORDER): Add frame pointer
787 (FRAME_POINTER_REGNUM): Set to 20
788 (HARD_FRAME_POINTER_REGNUM): New macro.
789 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
790 to HARD_FRAME_POINTER.
791 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
792 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
793 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
794 (HI_REGISTER_NAMES): Add "frame".
795 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
796 (debug_reg): Handle FRAME_POINTER_REGNUM.
797 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
798 GENERAL_REGS and INDEX_REGS.
799 * i386.c (SAVED_REGS_FIRST): new macro.
800 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
801 (ix86_decompose_address, memory_address_length): Likewise.
802 (regclass_map): Add frame pointer.
803 (call_insn_operand): Handle frame_pointer_rtx.
804 (reg_no_sp_operand): Likewise.
805 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
806 (print_operand, legitimize_pic_address): Fix formating.
807 (ix86_compute_frame_size): Make static, update prototype, new
808 parameters padding1, padding2, use ix86_nsaved_regs, use
809 stack_alignment_needed.
810 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
811 to HARD_FRAME_POINTER_REGNUM conversions.
812 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
813 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
814 (print_reg): Abort on FRAME_POINTER_REGNUM
816 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
818 * i386.h (PREDICATE_CODES): Add aligned_operand.
819 * i386.c (aligned_operand): New function.
820 (ix86_aligned_p): Kill.
821 * i386.md (movhi_1): Emit mov for aligned operands.
822 (promoting peep2s): Use aligned_operand.
824 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
826 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
827 expression to allow underscores in macro names.
828 (fix_char_macro_defines): Increment scanning pointer.
830 2000-01-23 Richard Henderson <rth@cygnus.com>
832 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
833 * alpha/osf5.h: New file.
834 * configure.in (alpha-*-osf5): Add it to tm_file.
836 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
838 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
839 (alpha_emit_xfloating_cvt, function_arg): Declare.
840 * alpha.c (alpha_emit_conditional_branch): Call
841 alpha_emit_xfloating_compare for TFmode compares.
842 (alpha_lookup_xfloating_lib_func): New.
843 (alpha_compute_xfloating_mode_arg): New.
844 (alpha_emit_xfloating_libcall): New.
845 (alpha_emit_xfloating_arith): New.
846 (alpha_emit_xfloating_compare): New.
847 (alpha_emit_xfloating_cvt): New.
848 (print_operand): Add default abort case.
849 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
850 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
851 (BIGGEST_ALIGNMENT): Increase to 128 bits.
852 (RETURN_IN_MEMORY): True for TF/TCmode.
853 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
854 (FUNCTION_ARG): Move to function_arg.
855 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
856 (ASM_OUTPUT_LONG_DOUBLE): New.
857 (ASM_OUTPUT_DOUBLE): Always output bits.
858 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
859 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
860 (extenddftf2, trunctfdf2): New.
862 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
864 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
865 * config/sparc/sol2.h: ... here.
867 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
869 * basic-block.h (struct loops): New field `levels'.
870 * flow.c (flow_loops_level_compute): Traverse all outer loops.
871 (flow_loop_level_compute): Initialise level to 1.
872 (flow_loops_find): Set loops->levels.
873 (flow_loops_dump): Print loops->levels.
875 2000-01-23 Richard Henderson <rth@cygnus.com>
877 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
878 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
880 2000-01-23 Richard Henderson <rth@cygnus.com>
882 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
883 * i386.h (DBX_REGISTER_NUMBER): Use them.
884 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
885 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
886 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
887 * i386/sequent.h: Kill incorrect comment.
889 2000-01-23 Mark Mitchell <mark@codesourcery.com>
891 * ggc-page.c (struct page_entry): Make `context_depth' an
893 (struct globals): Likewise.
895 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
897 * loop.c (check_dbra_loop): When checking a loop for
898 reversability, check the source of any stores to ensure
899 they don't depend on an initial value.
901 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
903 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
905 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
907 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
908 'pz_scan' into scope of entire function. Only affects
909 compiles with -DDEBUG.
911 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
913 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
914 section naming to that prior to 2000-01-07 patch.
915 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
916 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
917 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
918 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
919 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
921 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
923 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
926 2000-01-21 Jim Wilson <wilson@cygnus.com>
928 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
929 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
931 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
933 * cpphash.c (change_newlines): Delete function.
934 (struct argdata): Delete 'newlines' and 'use_count' fields.
935 (macroexpand): Remove code referencing those fields.
937 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
939 * loop.c (loops_info): New variable.
940 (loop_optimize): Allocate loops->array and free it on exit.
941 Allocate memory for loops_info and assign to each loop,
943 (find_and_verify_loops): Do not allocate loops->array.
945 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
947 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
949 2000-01-21 Jakub Jelinek <jakub@redhat.com>
951 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
952 pseudos if expanded after first flow.
953 (movdi_pic_label_ref): Likewise.
955 2000-01-20 Richard Henderson <rth@cygnus.com>
957 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
959 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
961 * Makefile.in (fixinc.sh): Depend on specs.
962 * fixinc/Makefile.in: Add rule to create machname.h.
963 (fixlib.o): Depend on machname.h.
964 * fixinc/fixtests.c (machine_name): New test.
965 * fixinc/fixfixes.c (machine_name): New fix.
966 * fixinc/fixlib.c (mn_get_regexps): New helper function for
967 the machine_name test and fix.
968 * fixinc/fixlib.h: Prototype it.
969 * fixinc/inclhack.def (machine_name): Use the C test and fix.
970 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
972 * gcc.c (do_spec_1) [case P]: Take care not to create
973 identifiers with three leading or trailing underscores.
975 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
976 (fixincl): Don't specify libraries twice on link line.
977 (gnu-regex.o): Remove special rule.
978 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
979 defined by config.h. Do not define _REGEX_RE_COMP.
980 (regcomp): Allocate and initialize a fastmap.
981 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
983 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
985 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
987 2000-01-19 Richard Henderson <rth@cygnus.com>
989 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
990 arguments with BB. Update all callers. Tidy line wrapping.
992 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
994 * emit-rtl.c (try_split): Return last_insn if we split the
997 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
999 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
1000 (ix86_initial_elimination_offset): Declare.
1001 * i386.c (ix86_nsaved_regs): Break out from ...
1002 (ix86_can_use_return_insn_p): ... here.
1003 (ix86_emit_save_regs): Break out from ...
1004 (ix86_expand_prologue): ... here.
1005 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
1007 (ix86_expand_epilogue): ... here.
1008 (ix86_compute_frame_size): Make static, add prototype.
1009 (ix86_initial_elimination_offset): Break out from ...
1010 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
1012 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1014 * recog.h (OUT_FCN): Delete.
1016 * vax.md: Call `get_insn_template' instead of OUT_FCN.
1018 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1020 * cppalloc.c: PROTO -> PARAMS.
1021 * cpperror.c: Likewise.
1022 * cppfiles.c: Likewise.
1023 * cpplib.c: Likewise.
1024 * cpplib.h: Likewise.
1026 * config/arm/arm-protos.h: PROTO -> PARAMS.
1027 * config/arm/arm.c: Likewise.
1028 * config/c4x/c4x.c: Likewise.
1029 * config/fr30/fr30-protos.h: Likewise.
1030 * config/nextstep.c: Likewise.
1031 * config/pa/pa.c: Likewise.
1032 * config/pj/pj.c: Likewise.
1033 * config/rs6000/rs6000.c: Likewise.
1034 * config/v850/v850-protos.h: Likewise.
1035 * config/v850/v850.c: Likewise.
1037 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1039 * i370-protos.h: New file.
1041 * i370.c: Include tm_p.h. Fix compile time warnings.
1043 * i370.h: Move prototypes to i370-protos.h. Fix compile time
1046 * i370.md: Likewise.
1048 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1050 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
1051 (target_isinf, target_isnan, eisnan): Mark parameter with
1053 (eiisinf): Wrap in INFINITY.
1054 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
1055 (ibmtoe): Remove unused variable `rndsav'.
1057 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1059 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
1060 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
1062 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
1064 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
1065 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
1066 (fix_char_macro_defines, fix_char_macro_uses): New functions.
1068 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
1069 Recognize Emacs mode markers also.
1070 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
1071 C++ comments in C++ headers. Call is_cxx_header only if
1074 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
1076 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
1077 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
1078 ... these, which use the new C fixes.
1079 (math_exception): Escape literal '+' in bypass expression.
1081 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
1084 2000-01-19 Geoff Keating <geoffk@cygnus.com>
1086 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
1089 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1091 * loop.c (loop_optimize): Allocate loop_info structure for each loop
1092 prior to calling scan_loop.
1094 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1096 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
1097 (split_branches, calc_live_regs): Likewise.
1099 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1101 * sh.md (fpu_single, fp_mode): New attributes.
1103 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1105 * loop.c (current_loop_info): Renamed from loop_info_data
1106 and changed to a pointer.
1107 (loop_optimize): Allocate loop_info structure for each loop
1108 and initialise to zero.
1109 (scan_loop): Set current_loop_info.
1111 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
1114 2000-01-19 Richard Henderson <rth@cygnus.com>
1116 * stupid.c: Die die die.
1117 * Makefile.in (OBJS): Remove stupid.o.
1118 (stupid.o): Likewise.
1120 * except.c (emit_eh_context): Don't emit USEs for stupid.
1121 * explow.c (probe_stack_range): Likewise.
1122 * flags.h (obey_regdecls): Remove.
1123 * flow.c (find_basic_blocks): Don't run try_merge_blocks
1124 when not optimizing.
1125 (life_analysis): Limit data collection when not optimizing.
1126 (mark_regs_live_at_end): Always mark the return value registers.
1127 (mark_used_regs): Remove dummy RETURN case.
1128 (print_rtl_with_bb): Don't consult obey_regdecls.
1129 * function.c (use_variable, use_variable_after): Remove.
1130 (assign_parms): Consult optimize not obey_regdecls.
1131 (expand_function_start): Don't emit USEs for stupid.
1132 (expand_function_end): Likewise.
1133 * global.c (build_insn_chain): Export.
1134 * integrate.c (expand_inline_function): Kill return-value USE
1136 * jump.c (jump_optimize_1): Do simple jump optimizations and
1137 dead code elimination.
1138 (calculate_can_reach_end): Remove check_deleted argument.
1139 (delete_insn): Patch out insns even when not optimizing.
1140 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
1141 * rtl.h (use_variable, use_variable_after): Remove declarations.
1142 (build_insn_chain): Declare.
1143 * stmt.c (expand_value_return): Don't emit USEs for stupid.
1144 (expand_end_bindings): Likewise.
1145 (expand_decl): Likewise. Consult optimize not obey_regdecls.
1146 * toplev.c (obey_regdecls): Remove.
1147 (rest_of_compilation): Don't set it. Kill stupid in favour of
1148 flow1, local-alloc, and reload.
1149 (main): Don't set obey_regdecls.
1151 * config/nextstep.c (handle_pragma): Likewise.
1153 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
1155 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
1157 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1159 * alpha-protos.h: PROTO -> PARAMS.
1160 * alpha.c: Likewise.
1162 * h8300.c: Likewise.
1163 * i386-protos.h: Likewise.
1165 * m32r-protos.h: Likewise.
1168 * mips.md: Likewise.
1169 * gmon-sol2.c: Likewise.
1170 * sparc.c: Likewise.
1172 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1174 * ns32k-protos.h: New file.
1176 * ns32k.c: Fix compile time warnings.
1178 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
1181 * ns32k.md: Likewise.
1183 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1185 * vax-protos.h: New file.
1187 * vax.c: Fix compile time warnings.
1189 * vax.h: Move prototypes to vax-protos.h. Fix compile time
1194 * vaxv.md: Likewise.
1196 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1198 * romp-protos.h: New file.
1200 * romp.c: Fix compile time warnings.
1202 * romp.h: Move prototypes to romp-protos.h. Fix compile time
1205 * romp.md: Likewise.
1207 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1209 * we32k-protos.h: New file.
1211 * we32k.c: Fix compile time warnings.
1213 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
1216 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1218 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
1220 * except.c (eh_regs): Likewise.
1222 * final.c (output_operand): Likewise.
1224 * fold-const.c (target_isinf, target_isnan): Likewise.
1226 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1228 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
1229 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
1231 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
1233 (clrstrsi): Rewrite.
1234 (strsethi, strsetqi): New expanders.
1235 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
1236 (cmpstrsi): Emit compare insn before cmpstrsi_1
1237 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
1238 (strlensi_1): Likewise.
1239 (cmpstrsi_1): Likewise; do not output compare.
1240 (strlen expander): Do not unroll when optimizing for size.
1241 (*subsi3_carry): Rename to subsi3_carry
1242 (addqi3_cc): New pattern.
1243 * i386.h (processor_costs): Add move_ratio field.
1244 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
1245 * i386.c (*_cost): Set move_ratio.
1246 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
1247 (x86_expand_strlensi_1): Rewrite the main loop.
1249 2000-01-17 Richard Henderson <rth@cygnus.com>
1251 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
1252 * cse.c (find_comparison_args, fold_rtx): Likewise.
1253 * integrate.c (subst_constants): Likewise.
1254 * loop.c (get_condition): Likewise.
1256 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
1258 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
1260 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1262 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
1263 (RESTORE_WARN_FLAGS): Unpack it.
1264 Change semantic type of extension to ttype.
1265 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
1266 * c-parse.y, c-parse.c, objc/objc-parse.y,
1267 objc/objc-parse.c: Regenerate.
1269 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
1271 * fixinc/fixlib.c: Add copyright notice.
1272 (compile_re): New function.
1273 * fixinc/fixlib.h: Prototype compile_re.
1275 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
1276 Use compile_re to compile regular expressions.
1278 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
1279 where the pattern matched.
1281 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
1283 (ultrix_ansi_compat): Likewise.
1284 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
1286 (interactv_add2, interactv_add3): Delete.
1287 (x11_sprintf): Don't use filename glob.
1288 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
1291 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1293 * print-rtl.c: PROTO -> PARAMS.
1295 * reg-stack.c: Likewise.
1296 * resource.c: Likewise.
1297 * sdbout.h: Likewise.
1298 * simplify-rtx.c: Likewise.
1299 * stor-layout.c: Likewise.
1300 * stupid.c: Likewise.
1301 * xcoffout.c: Likewise.
1302 * xcoffout.h: Likewise.
1304 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1306 * toplev.c: PROTO -> PARAMS.
1307 * toplev.h: Likewise.
1310 * unroll.c: Likewise.
1311 * varasm.c: Likewise.
1312 * varray.c: Likewise.
1313 * varray.h: Likewise.
1315 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1317 * reload.c: PROTO -> PARAMS.
1318 * reload.h: Likewise.
1319 * reload1.c: Likewise.
1320 * reorg.c: Likewise.
1321 * resource.h: Likewise.
1324 * rtlanal.c: Likewise.
1325 * sbitmap.h: Likewise.
1326 * sdbout.c: Likewise.
1327 * stack.h: Likewise.
1329 * system.h: Likewise.
1331 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1333 * machmode.h: PROTO -> PARAMS.
1334 * mbchar.h: Likewise.
1335 * mips-tdump.c: Likewise.
1336 * mips-tfile.c: Likewise.
1337 * optabs.c: Likewise.
1338 * output.h: Likewise.
1339 * prefix.c: Likewise.
1340 * profile.c: Likewise.
1341 * protoize.c: Likewise.
1343 * recog.c: Likewise.
1344 * recog.h: Likewise.
1345 * regclass.c: Likewise.
1346 * regmove.c: Likewise.
1349 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1351 * ggc-common.c: PROTO -> PARAMS.
1352 * ggc-page.c: Likewise.
1353 * ggc-simple.c: Likewise.
1355 * global.c: Likewise.
1356 * graph.c: Likewise.
1357 * gthr-win32.h: Likewise.
1358 * haifa-sched.c: Likewise.
1359 * halfpic.h: Likewise.
1360 * integrate.c: Likewise.
1361 * integrate.h: Likewise.
1364 * local-alloc.c: Likewise.
1368 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1370 * genattr.c: PROTO -> PARAMS.
1371 * genattrtab.c: Likewise.
1372 * gencheck.c: Likewise.
1373 * gencodes.c: Likewise.
1374 * genconfig.c: Likewise.
1375 * genemit.c: Likewise.
1376 * genextract.c: Likewise.
1377 * genflags.c: Likewise.
1378 * gengenrtl.c: Likewise.
1379 * genopinit.c: Likewise.
1380 * genoutput.c: Likewise.
1381 * genpeep.c: Likewise.
1382 * genrecog.c: Likewise.
1384 2000-01-16 Mark Mitchell <mark@codesourcery.com>
1386 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
1388 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1390 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
1391 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
1392 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
1393 * configure, config.in: Rebuilt.
1395 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
1397 * config/i386/i386.md: Add peephole to merge successive stack
1400 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
1402 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
1403 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
1404 when walking backwards to find all the parameter loads when
1405 the basic block ends in a call.
1407 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1409 * loop.c (this_loop_info): Delete.
1410 (uid_loop): Add in place of uid_loop_num. All uses updated.
1411 (loop_number_exit_count): Delete and replace with entry in loop
1412 structure. All uses updated.
1413 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1414 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1415 (loop_outer_loop): Likewise.
1416 (loop_invalid, loop_number_exit_labels): Likewise.
1417 (loop_used_count_register): Delete and replace with entry in
1418 loop_info structure.
1419 (find_and_verify_loops): Add loops argument.
1420 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
1421 loop_end, etc. arguments with loop structure pointer. All callers
1423 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
1424 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
1425 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
1426 (insert_bct): Likewise.
1427 (basic_induction_var): New argument level.
1428 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
1429 vtop, and cont. Add used_count_register.
1430 (uid_loop): Delete declaration.
1431 (loop_number_exit_count): Likewise.
1432 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1433 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1434 (loop_outer_loop, loop_used_count_register): Likewise.
1435 (loop_invalid, loop_number_exit_labels): Likewise.
1436 (unroll_loop): Replace loop_start and loop_end arguments
1437 with loop structure pointer.
1438 (loop_precondition_p, loop_iterations): Likewise.
1439 Include basic-block.h.
1440 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
1441 with loop structure pointer.
1442 (loop_precondition_p, loop_iterations): Likewise.
1443 * basic-block.h (struct loop): New entries vtop, cont,
1444 cont_dominator, start, end, top, scan_start, exit_labels,
1446 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
1448 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1450 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
1452 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
1454 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
1456 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1458 * pdp11-protos.h: New file.
1460 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
1463 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
1466 * pdp11.md: Likewise.
1470 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1472 * mn10300-protos.h: New file.
1474 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
1477 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
1480 * mn10300.md: Likewise.
1482 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1484 * mn10200-protos.h: New file.
1486 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
1489 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
1492 * mn10200.md: Likewise.
1494 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1496 * h8300-protos.h: New file.
1498 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
1501 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
1504 * h8300.md: Likewise.
1506 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1508 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
1509 (asm_emit_uninitialised): Likewise.
1511 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
1513 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
1514 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
1516 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1518 * config/mips/mips.c (override_options): Don't turn on extra
1519 alignment for mips16.
1521 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1523 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
1524 eabi, and make sure queued POSTINCREMENT rtl is emitted at
1527 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1529 * builtins.c (PAD_VARARGS_DOWN): Define.
1530 (std_expand_builtin_va_arg): Use the above macro.
1531 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
1532 * tm.texi (Register Arguments): Document the above macro.
1534 2000-01-14 Nick Clifton <nickc@cygnus.com>
1536 * emit-rtl.c (emit_insn): If checking is enabled, make sure
1537 that this function has not been used to emit a jump
1540 * jump.c (return_jump_1): Cope with being passed a null rtx.
1542 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1544 * eh-common.h: PROTO -> PARAMS.
1545 * emit-rtl.c: Likewise.
1546 * errors.c: Likewise.
1547 * errors.h: Likewise.
1548 * except.c: Likewise.
1549 * except.h: Likewise.
1550 * explow.c: Likewise.
1551 * expmed.c: Likewise.
1554 * final.c: Likewise.
1555 * fix-header.c: Likewise.
1557 * fold-const.c: Likewise.
1558 * function.c: Likewise.
1559 * function.h: Likewise.
1561 * gcov-io.h: Likewise.
1565 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1567 * sh-protos.h: New file.
1569 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
1570 Add static prototypes. Fix compile time warnings.
1572 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
1576 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1578 * arc-protos.h: New file.
1580 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
1583 * arc.h: Move prototypes to arc-protos.h. Fix compile time
1588 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1590 * dsp16xx-protos.h: New file.
1592 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
1595 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
1598 * dsp16xx.md: Likewise.
1600 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1602 * convex-protos.h: New file.
1604 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
1607 * convex.h: Move prototypes to convex-protos.h. Fix compile time
1610 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1612 * elxsi-protos.h: New file.
1614 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
1617 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
1620 * elxsi.md: Likewise.
1622 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1624 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
1625 case for moving from HI/LO/HI_LO_REG. This makes the behavior
1626 match the comment for MIPS16.
1628 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
1630 * flow.c (split_edge): Do not call set_block_for_insn if we
1631 do not have a basic_block_for_insn structure.
1633 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
1634 and destination functions are 32bit aligned within the trampoline.
1635 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
1636 (TRAMPOLINE_ALIGNMENT): Define.
1638 * cse.c (cse_insn): When changing (set (pc) (reg)) to
1639 (set (pc) (label_ref)), verify the change creates a valid insn.
1641 * fr30.c (call_operand): Tighten and rework to match rules for
1642 call RTL expressions.
1643 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
1644 * fr30.md (call patterns): Improve constraints.
1646 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
1648 * fr30.c (fr30_expand_epilogue): Revert last change.
1649 Use emit_jump_insn for the return insn.
1651 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
1652 Stan Cox <scox@cygnus.com>
1654 * predict.c: New file. Preliminary infrastructure work for static
1655 branch prediction and basic block reordering.
1656 * basic-block.h: Add prototype for estimate_probability.
1657 * Makefile.in: Add rules for predict.o.
1659 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
1661 * fixincludes (va_list): Use __not_va_list__ for the dummy.
1662 * fixinc/*: Likewise.
1664 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1666 * cccp.c: PROTO -> PARAMS.
1668 * collect2.c: Likewise.
1669 * combine.c: Likewise.
1670 * convert.h: Likewise.
1672 * dbxout.c: Likewise.
1673 * dbxout.h: Likewise.
1674 * diagnostic.c: Likewise.
1675 * doprint.c: Likewise.
1676 * dwarf2out.c: Likewise.
1677 * dwarf2out.h: Likewise.
1678 * dwarfout.c: Likewise.
1679 * dwarfout.h: Likewise.
1680 * dyn-string.h: Likewise.
1682 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1684 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
1685 macro conditionals guarding use.
1687 * dwarf2out.c: Include "tm_p.h".
1689 * function.c (locate_and_pad_parm): Mark parameter with
1691 (expand_function_end): Likewise for variable `context'.
1693 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
1695 2000-01-13 Nick Clifton <nickc@cygnus.com>
1697 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
1698 register to prevent compile time warnings.
1700 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
1702 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
1703 to avoid -Wtraditional warning.
1705 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1707 * 1750a-protos.h: New file.
1709 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
1712 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
1715 * 1750a.md: Likewise.
1717 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1719 * a29k-protos.h: New file.
1721 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
1724 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
1727 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1729 * clipper-protos.h: New file.
1731 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
1734 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
1737 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1739 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
1741 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
1743 * configure.in (--enable-new-gxx-abi): New option.
1744 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
1745 * Makefile.in (GXX_ABI_FLAG): New variable.
1746 * configure: Regenerate.
1748 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1750 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
1751 * tm.texi (FORCE_STRUCT_BLK): Document.
1752 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
1754 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
1756 * config/ns32k/ns32k.md: Revert Jan 9 change.
1758 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
1759 to a mode-test, if the predicate is address_operand.
1761 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
1763 * combine.c (if_then_else_cond): Be careful about what kinds
1764 of RTL expressions are passed to operand_subword.
1766 * flow.c (split_edge): If we have to insert a new jump, make
1767 sure to associate it with a basic block.
1769 * flow.c (commit_one_edge_insertion): A block with one successor
1770 can end in a JUMP_INSN that is not a simplejump.
1772 2000-01-12 Robert Lipe <robertl@sco.com>
1774 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
1775 (BUILD_VA_LIST_TYPE): Define.
1776 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
1779 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
1781 * cccp.c (do_pragma): Add cast to (char *).
1783 2000-01-12 Richard Henderson <rth@cygnus.com>
1784 Fred Fish <fnf@be.com>
1785 Jason Merrill <jason@cygnus.com>
1787 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
1788 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
1789 * i386/beos-elf.h, i386/beos-pe.h: New files.
1791 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
1792 * cross-make (SYSTEM_HEADER_DIR): Define using
1793 CROSS_SYSTEM_HEADER_DIR.
1795 * gcc.c (LIBRARY_PATH_ENV): Provide default.
1796 (process_command): Use it.
1797 (main): Likewise. Kill trailing = from env vars.
1798 (build_search_list): Put it back.
1799 * collect2.c (main): Use LIBRARY_PATH_ENV.
1801 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
1802 * toplev.c: Use NEED_DECLARATION_ENVIRON.
1804 * tm.texi (Frame Layout): Document SMALL_STACK.
1805 * c-common.c (c_common_nodes_and_builtins): Check it.
1807 * system.h: Undef alloca after including glibc's <stdlib.h>,
1808 if USE_C_ALLOCA is defined.
1810 * gcc.c (set_input): New fn.
1811 (main): After all input files are compiled, reset the input file
1814 * aclocal.m4 (rindex, index): If already defined, don't attempt
1817 * ginclude/varargs.h: (__va_list__): Define ifndef.
1818 * ginclude/stdarg.h: Likewise.
1820 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
1821 instead of unsigned char.
1823 * hash.h (true, false, boolean): Undef before enum.
1825 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
1826 proper type of "HOST_WIDE_INT *", rather than their natural type of
1827 "unsigned HOST_WIDE_INT *".
1829 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1831 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
1833 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
1835 * regclass.c (choose_hard_reg_mode): Likewise.
1837 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
1839 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
1841 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1843 * c-common.c: PROTO -> PARAMS.
1844 * c-common.h: Likewise.
1845 * c-decl.c: Likewise.
1846 * c-iterate.c: Likewise.
1847 * c-lang.c: Likewise.
1848 * c-lex.c: Likewise.
1849 * c-lex.h: Likewise.
1850 * c-parse.in: Likewise.
1851 * c-pragma.c: Likewise.
1852 * c-pragma.h: Likewise.
1853 * c-tree.h: Likewise.
1854 * c-typeck.c: Likewise.
1855 * objc/objc-act.c: Likewise.
1856 * objc/objc-act.h: Likewise.
1858 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1860 * m88k-protos.h: New file.
1862 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
1865 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
1867 * m88k.md: Likewise.
1869 * tekXD88.h: Likewise.
1871 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1873 * m68k-protos.h: New file.
1875 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
1878 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
1880 * mot3300.h: Likewise.
1882 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
1884 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
1886 (extract_bitlist): Declare bitlen.
1888 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
1890 * cccp.c: Accept and ignore -lang-fortran.
1892 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
1893 qualifiers don't match at any level of pointerness.
1895 2000-01-12 Robert Lipe <robertl@sco.com>
1897 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
1899 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
1901 * reload1.c (reload_reg_unavailable): New static variable.
1902 (reload_reg_free_p): Test it.
1903 (reload_reg_free_for_value_p): Test it instead of
1905 (choose_reload_regs_init): Compute it.
1907 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
1909 * reorg.c (fill_slots_from_thread): Check modified_in_p
1912 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
1914 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
1915 these nodes even if INTERNALS is not set.
1917 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
1919 * gcse.c (delete_null_pointer_checks_1): Cope when
1920 get_condition cannot determine the condition.
1922 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
1924 * toplev.h (set_message_length): Declare.
1926 * diagnostic.c (obstack_chunk_alloc): Define macro.
1927 (obstack_chunk_free): Likewise.
1928 (struct output_buffer): New data structure.
1930 (output_maximum_width): New variable.
1931 (doing_line_wrapping, set_message_length, init_output_buffer,
1932 get_output_prefix, output_space_left, emit_output_prefix,
1933 output_newline, output_append, output_puts, dump_output,
1934 vbuild_message_string, build_message_string, build_location_prefix,
1935 voutput_notice, output_printf, line_wrapper_printf,
1936 vline_wrapper_message_with_location): New functions. Implement
1937 automatic line wrapping.
1938 (v_message_with_decl): Make it handle automatic line wrapping.
1939 (v_error_with_file_and_line): Likewise.
1940 (v_warning_with_file_and_line): Likewise.
1941 (announce_function): Likewise.
1942 (default_print_error_function): Likewise.
1944 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
1946 * cpplib.h (struct cpp_options): Change lang_asm to char.
1948 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
1949 done in cpp_handle_option now.
1950 (initialize_builtins): Take out special case code used only by
1952 (cpp_handle_option): Turn off trigraphs and trigraph warnings
1953 if -traditional. Recognize -lang-fortran and set
1954 lang_fortran, also turn off cplusplus_comments.
1955 (print_help): Document -lang-fortran.
1956 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
1957 lang_asm. Ignore all directives other than `# 123 "file"' if
1959 (cpp_get_token): If -traditional, don't recognize directives
1960 unless the # is in column 1.
1961 (parse_string): If lang_fortran or lang_asm, silently
1962 terminate strings ('' or "") at end of line.
1963 Remove unnecessary braces.
1965 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1966 Richard Henderson <rth@cygnus.com>
1968 * resource.c (mark_referenced_resources): Mark a set strict_low_part
1970 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
1971 strict_low_part when possible.
1973 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1975 * alias.c: PROTO -> PARAMS.
1976 * basic-block.h: Likewise.
1977 * bitmap.c: Likewise.
1978 * bitmap.h: Likewise.
1979 * builtins.c: Likewise.
1980 * c-aux-info.c: Likewise.
1981 * caller-save.c: Likewise.
1982 * calls.c: Likewise.
1984 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1986 * Makefile.in (toplev.o): Depend on regs.h.
1988 * output.h (tdesc_section): Prototype.
1990 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
1992 * sdbout.c: Include "tm_p.h".
1994 * toplev.c: Include "regs.h".
1996 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
1998 * unroll.c (unroll_loop): Add EH support.
2000 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2002 * pa-protos.h: New file.
2004 * pa.c: Include recog.h and tm_p.h.
2005 (compute_zdepwi_operands, compute_movstrsi_length,
2006 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
2007 find_addr_reg, import_milli): Add static prototypes.
2008 (pa_cpu_string, pa_arch_string): Constify a char*.
2009 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
2010 (read_only_operand): Add argument `mode'.
2011 (singlemove_string, output_move_double, output_fp_move_double,
2012 output_block_move, output_and, output_ior, output_ascii,
2013 remove_useless_addtr_insns, milli_names, output_mul_insn,
2014 output_div_insn, output_mod_insn, output_arg_descriptor,
2015 output_cbranch, output_bb, output_bvb, output_dbra, ,
2016 output_millicode_call, output_call, hppa_encode_label,
2017 output_parallel_movb, output_parallel_addb): Constify a char*.
2018 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
2019 (output_parallel_addb): Remove extra arg to `constrain_operands'
2021 * pa.h: Move all prototypes to pa-protos.h.
2022 (pa_cpu_string, pa_arch_string): Constify a char*.
2023 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
2025 * pa.md: Call `function_label_operand' with mode argument.
2026 Likewise for `read_only_operand'.
2027 Fix nesting of parens in call to `symbolic_operand'.
2029 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2031 * i860-protos.h: New file.
2033 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
2036 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
2038 * i860.md: Likewise.
2040 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
2042 * i386.md (movstrsi expander): Rewrite.
2043 (movstrsi_1 insn): Deleted.
2044 (strmovhi, strmovqi expander): New expanders.
2045 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
2046 * i386.c (x86_single_stringop): New global variable.
2047 * i386.h (x86_single_stringop): Declare.
2048 (TARGET_SINGLE_STRINGOP): New macro.
2050 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
2052 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
2053 integer vararg POSTINCREMENT before the destination of the jump
2054 for the hard fp case.
2055 (function_arg_pass_by_reference): Pass a copy of CUM to
2058 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
2059 for CONSTANT_ADDRESS_P above while loop for subreg.
2061 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
2063 * flow.c (propagate_block): When a prologue/epilogue insn
2064 is marked dead, unconditionally clear libcall_is_dead and
2065 insn_is_dead, and only dump rtl if warnings aren't being
2068 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
2070 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
2071 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
2072 (FIXED_REGISTERS): Set dirflag as fixed.
2073 (CALL_USED_REGISTERS): Set dirflag as used.
2074 (REG_ALLOC_ORDER): Set dirflag as last one.
2075 (DIRFLAG_REG): New macro.
2076 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
2077 (HI_REGISTER_NAMES): Add dirflag.
2078 (DEBUF_PRINT_REG): Handle dirflag.
2079 * i386.md (type attribute): New cld and str types.
2080 (length_opcode attribute): Set cld and str to 1.
2081 (memory attribute): Set str to unknown - it is not clear from the
2083 (pent_np function unit): Prefixed string operations takes 12 cycles
2084 minimally; cld takes 2 cycles.
2085 (ppro_uops attribute): Str is "many" and cld is "few".
2086 (ppro_p0 unit): Handle cld here.
2087 (k6_alux unit): Handle cld and str types.
2088 (k6_load unit): It is ocupied by str opcodes.
2089 (k6_store unit): It is ocupied by str opcodes.
2090 (athlon_decode): Str is vector decoded.
2091 (athlon_ieu): Handle str and cld.
2093 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
2094 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
2095 cmpstrsi_nz_1 insn): Do not output cld instruction
2097 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
2099 * gcc.texi (G++ and GCC): Add Java and Chill.
2100 (Bug Critera): Don't list languages.
2102 * gcc.texi (Incompatibilities): No longer claim most C compilers
2105 * gcc.texi (G++ and GCC): Update other front-ends list.
2107 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
2109 * i386.c (ix86_expand_setcc): Fix typo.
2110 (ix86_expand_movcc): Similarly.
2112 * Band-aid until haifa's bitset implementation is nuked.
2113 * haifa-sched.c (extract_bitlst): New parameter for size of the
2114 bitset in bits. All callers changed. Avoid looking at undefined
2116 (edgeset_bitsize): New variable.
2117 (schedule_region): Initialize edgeset_bitsize.
2119 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2121 * Makefile.in (optabs.o): Depend on real.h
2122 (resource.o): Depend on insn-attr.h
2124 * builtins.c (result_vector): Wrap prototype in macro conditions
2125 governing definition and use.
2127 * c-common.c: Include tm_p.h.
2129 * c-lex.c: Likewise.
2131 * elfos.h: Constify a char*.
2133 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
2134 (get_attr_length, shorten_branches, profile_after_prologue): Mark
2135 parameter with ATTRIBUTE_UNUSED.
2137 * fold-const.c (exact_real_inverse): Wrap variable `i' in
2140 * haifa-sched.c (schedule_insns): Mark parameter with
2143 * optabs.c: Include real.h.
2145 * real.h (ereal_atof): Add prototype arguments.
2147 * resource.c: Include insn-attr.h.
2149 * sdbout.c (sdbout_queue_anonymous_type,
2150 sdbout_dequeue_anonymous_types): Wrap in macro
2151 SDB_ALLOW_FORWARD_REFERENCES.
2152 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
2155 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
2157 * stupid.c: Include tm_p.h.
2159 * tree.c (real_value_from_int_cst): Mark parameter with
2162 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2164 * i960-protos.h: New file.
2166 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
2169 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
2171 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2173 * combine.c (expand_field_assignment): Do not discard SUBREGs
2174 while computing nonzero_bits.
2176 2000-01-09 Nick Clifton <nickc@cygnus.com>
2178 * config/arm/arm.c: Fix compile time warnings about signed vs
2180 * config/arm/arm.h: Fix compile time warnings about signed vs
2183 2000-01-09 Philip Blundell <philb@gnu.org>
2185 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
2186 than `ldm' with only one register.
2187 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
2190 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
2193 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
2195 * config/ns32k/ns32k.md (load or push effective address): Operand 1
2198 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2200 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
2201 assignment used as truth value.
2203 * function.c (assign_temp): Mark parameter `dont_promote' with
2204 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
2205 PROMOTE_FOR_CALL_ONLY.
2207 * genrecog.c (write_subroutine): Mark variable `operands' with
2210 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
2213 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
2214 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
2216 * toplev.c (note_deferral_of_defined_inline_function): Likewise
2219 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2221 * config/c4x.h: Tidy up comments.
2222 * config/c4x.c: Likewise.
2224 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
2226 * fold-const.c (lshift_double, rshift_double): Handle
2227 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
2229 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2231 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
2232 in prepare_function_start().
2234 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
2236 * config/v850/v850.c (expand_epilogue): Interrupt functions no
2237 longer allocate extra stack for function calls.
2239 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2241 * config/c4x/c4x.md (*subqf3_set): Fix typo.
2243 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2245 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
2247 2000-01-07 David Edelsohn <edelsohn@gnu.org>
2249 * rs6000.c (processor_target_table): Add power3 as alias for 630.
2250 * aix43.h: Revert Aug 2 change.
2251 (HAS_INIT_SECTION): Define, not visible yet.
2252 (LD_INIT_SWITCH): Define, not visible yet.
2253 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
2255 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
2257 * collect2.c (main): Expand ld2 size further.
2258 (export_object_lst): Cast assignment to avoid warning.
2259 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
2260 (scan_prog_file, COFF): Do not collect initialization or
2261 finalization functions generated for entire shared object if
2262 init/fini support present.
2264 2000-01-07 Nick Clifton <nickc@cygnus.com>
2266 * config/elfos.h: Tidy up formatting of marcos. Make sure
2267 that .section directives are always prefixed by a tab.
2269 * config/svr4.h: Add #include "elfos.h" and remove duplicate
2272 2000-01-07 Matt Austern <austern@sgi.com>
2274 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
2277 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
2279 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
2281 (crtbegin.o, s-crtS): Likewise.
2283 2000-01-06 Richard Henderson <rth@cygnus.com>
2285 * alpha.md (adddi_2+1): Limit offset such that it will be
2286 loadable with a single ldah+lda pair.
2287 (adddi_2+2): Explicitly fail split if we can't make it work.
2289 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
2291 * protoize.c: Conditionally include unistd.h.
2292 (IS_SAME_PATH_CHAR): New macro.
2293 (IS_SAME_PATH): New macro.
2294 (CPLUS_FILE_SUFFIX): New macro.
2295 (cplus_suffix): New static variable.
2296 (is_abspath): New static function.
2297 (in_system_include_dir): Handle DOS style pathnames.
2298 (file_could_be_converted): Likewise.
2299 (file_normally_convertible): Likewise.
2300 (directory_specified_p): Likewise.
2301 (file_excluded_p): Likewise.
2302 (abspath): Likewise.
2303 (shortpath): Likewise.
2304 (referenced_file_is_newer): Likewise.
2305 (save_def_or_dec): Likewise.
2306 (do_processing): Likewise.
2308 (edit_file): Likewise. Use rename instead of link.
2309 (rename_c_file): Likewise. Don't rename syscalls file.
2310 (munge_compile_params): Define null device for DOS based systems.
2311 (process_aux_info_file): Use binary mode if appliable.
2312 (edit_file): Likewise.
2313 * invoke.texi (Running Protoize): Document C++ suffixes used.
2315 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
2316 IS_DIR_SEPARATOR macros.
2317 * collect2.c: Likewise.
2318 * cppinit.c: Likewise.
2319 * dwarf2out.c: Likewise.
2322 * prefix.c: Likewise.
2324 * toplev.c: Likewise.
2325 * system.h: And move to here.
2327 * prefix.c (update_path): Fix typo in variable name.
2329 2000-01-06 Richard Henderson <rth@cygnus.com>
2331 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
2332 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
2333 (count_reg_sets_1, count_reg_references): Likewise.
2334 (flow_loops_level_compute): Start counting actual loop depth at 1.
2335 (flow_loops_find): Likewise.
2336 * local-alloc.c (update_equiv_regs): Likewise.
2337 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
2339 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2341 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
2342 FIRST_PSEUDO_REGISTER
2343 * dwarf2out.c: Don't include frame.h
2344 * dwarfout.c: Likewise
2345 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
2348 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
2350 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2353 * i386.c (movsf splitter): Fix typo in my last checkin.
2355 2000-01-05 Nick Clifton <nickc@cygnus.com>
2357 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
2358 own definition of this macro.
2359 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
2360 flag_data_sections or UNIQUE_SECTION_P are true.
2362 * tm.texi (UNIQUE_SECTION): Document that it can be called for
2363 unitialised data decls.
2365 * config/i386/winnt.c (i386_pe_unique_section): Cope with
2366 being called for uninitialised data.
2368 * config/i386/interix.c (i386_pe_unique_section): Cope with
2369 being called for uninitialised data.
2371 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
2372 for uninitialised data.
2374 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
2375 for uninitialised data.
2377 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
2378 for uninitialised data.
2380 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
2381 (UNIQUE_SECTION_P): Always generate a unique section if
2382 flag_data_sections is true.
2383 (UNIQUE_SECTION): Also generate unique sections for
2385 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
2386 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
2389 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2391 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
2394 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2396 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
2397 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
2398 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
2399 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
2400 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
2402 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
2404 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2406 * c-decl.c (finish_enum): Simplify code to determine minimum and
2407 maximum values of the enum, and calculate the type. Remove check
2408 for FUNCTION_DECLs in the values list, which cannot happen. Replace
2409 the DECL_INITIAL of each enumeration constant with a copy converted
2410 to the enumeration type. When updating variant types, don't bother
2411 updating the type itself.
2413 * c-typeck.c (build_binary_op): Simplify conditional expressions
2414 when weeding out spurious signed-unsigned warnings. Add new
2415 spurious warning category: if the unsigned quantity is an enum
2416 and its maximum value fits in signed_type(result_type). Update
2418 (build_conditional_expr): Warn here if one alternative is signed
2419 and the other is unsigned.
2421 2000-01-05 Nick Clifton <nickc@cygnus.com>
2423 * config/fr30/fr30.h: Remove extraneous comments.
2425 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
2427 * reload1.c (choose_reload_regs): When disabling a reload, also
2428 set reload_spill_index to -1.
2430 2000-01-04 Joel Sherrill (joel@OARcorp.com>
2432 * configure.in (m68*-*-rtemscoff*): New target, formal name for
2434 (m68*-*-rtemself*): New target.
2435 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
2436 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
2437 (sparc*-*-rtemself*): New target.
2438 (sparc*-*-rtems*): Now elf not a.out.
2439 * config/i386/rtems.h: Include config/rtems.h.
2440 * config/i386/rtemself.h: Include config/rtems.h.
2441 * config/i960/rtems.h: Include config/rtems.h.
2442 * config/m68k/rtems.h: Include config/rtems.h.
2443 * config/m68k/rtemself.h: Include config/rtems.h.
2444 * config/mips/rtems64.h: Include config/rtems.h.
2445 * config/pa/rtems.h: Include config/rtems.h.
2446 * config/rs6000/rtems.h: Include config/rtems.h.
2447 * config/sh/rtems.h: Include config/rtems.h.
2448 * config/sh/rtemself.h: Include config/rtems.h.
2449 * config/sparc/rtems.h: Include config/rtems.h.
2450 * config/sparc/rtemself.h: Include config/rtems.h
2452 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
2454 * final.c (shorten_branches): Correctly compute length of
2455 asms without operands.
2457 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
2459 * configure.in: Add pj target.
2460 * configure: Regenerate.
2461 * config/pj: New directory.
2462 * config/pj/lib1funcs.S: New file.
2463 * config/pj/linux.h: New file.
2464 * config/pj/pj.c: New file.
2465 * config/pj/pj.md: New file.
2466 * config/pj/pjl.h: New file.
2467 * config/pj/t-pj: New file.
2468 * config/pj/xm-pj.h: New file
2470 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
2472 * toplev.c (rest_of_compilation): Run shorten-branches before
2475 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2477 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
2478 macros so that they're consistent with their names.
2479 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2480 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2482 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2484 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
2485 modified inadvertently.
2487 2000-01-04 Joel Sherrill <joel@OARcorp.com>
2489 * configure.in (v850*-*-rtems*): New target.
2490 * configure: Regenerate.
2491 * config/v850/rtems.h: New file.
2493 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2495 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
2496 (__gthread_key_create): Likewise.
2497 (__gthread_key_dtor): Likewise.
2498 (__gthread_once): Fix logic.
2499 (__gthread_key_delete): Cast away constness.
2501 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
2502 * invoke.texi: Document.
2503 * i386/mingw32.h (CPP_SPEC): Use.
2504 (LIBGCC_SPEC): Likewise.
2505 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
2507 2000-01-04 David Edelsohn <edelsohn@gnu.org>
2509 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
2510 (HANDLE_PRAGMA_PACK): Undefine.
2511 (SLOW_UNALIGNED_ACCESS): Define.
2513 2000-01-04 David Edelsohn <edelsohn@gnu.org>
2515 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2516 to default definition.
2517 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
2518 (store_fixed_bit_field): Call macro with word_mode and alignment.
2519 (extract_bit_field): Call macro with relevant mode and alignment.
2520 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2521 to default definition.
2522 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
2524 (move_by_pieces_ninsns): Likewise.
2525 (clear_by_pieces): Likewise.
2526 (emit_push_insn): Likewise.
2527 (store_field): Call macro with relevant mode and alignment.
2528 (expand_expr): Likewise.
2529 (expand_expr_unaligned): Likewise.
2531 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
2532 (SLOW_UNALIGNED_ACCESS): Define.
2533 (CASE_VECTOR_MODE): Always use 32-bit offsets.
2534 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
2535 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
2536 (toc_section): Likewise and .toc pseudo-op.
2537 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
2539 (TEXT_SECTION_ASM_OP): Likewise.
2540 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
2543 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
2544 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
2545 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
2546 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
2547 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
2549 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
2551 * regclass.c: Revert my Jan 4 change to loop cost computation.
2553 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2555 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
2558 2000-01-04 Stan Cox <scox@cygnus.com>
2560 * haifa-sched.c (build_control_flow): Change unreachable simple
2561 loop test to check if current block has only one predecessor.
2562 (find_rgns): Initialize degree. Use dest as degree index, not src.
2564 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2566 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
2568 * calls.c (expand_call): Likewise for
2569 `old_stack_arg_under_construction'.
2571 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
2573 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
2576 * gcc.c (execute): Likewise for `ut' and `st'.
2578 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
2580 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
2582 * jump.c (jump_optimize_1): Likewise for `temp2'.
2584 * local-alloc.c (block_alloc): Likewise for `r1'.
2586 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
2588 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
2589 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
2591 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
2594 * reload.c (find_reloads): Likewise for `goal_alternative_number'
2595 and `goal_earlyclobber'.
2597 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
2599 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
2601 * stupid.c (stupid_life_analysis): Likewise for `chain'.
2603 * unroll.c (copy_loop_body): Likewise for `copy'.
2605 * varasm.c (output_constructor): Likewise for `byte'.
2607 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2609 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
2610 all FP constants for constant->reg moves.
2611 (ix86_split_to_parts): Try to convert memory address into immediate
2612 when available in the constant pool.
2613 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
2615 (LEGITIMATE_CONSTANT_P): Return 1.
2616 * i386.md (pushsf): New splitter to convert constant pool memory
2617 reference to immediate.
2618 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
2621 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
2623 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
2624 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
2625 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
2626 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
2627 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
2629 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
2631 * ginclude/stdbool.h: Support compilation as C++.
2633 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2635 * fold-const.c (make_range): Don't try to reverse an unbounded range.
2637 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
2639 * regclass.c (regclass): Properly compute loop_cost. Adjust
2642 * regclass.c: Fix minor whitespace problems.
2644 2000-01-03 Anthony Green <green@cygnus.com>
2646 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
2647 Restore the pic register if required.
2649 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
2651 * c-common.c (format_char_info): Update comment.
2652 (check_format_info): Recognize 'z' modifier in the same way 'Z'
2653 was recognized. Emit warning for formats new in ISO C99 only
2654 if flag_isoc9x is not set.
2656 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
2658 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
2660 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2662 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
2663 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
2664 (make_compound_operation): Choose cheaper alternative between
2665 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
2667 * regclass.c (op_costs): Remove global variable.
2668 (record_reg_classes): New parameter "op_costs" and "reg_pref".
2669 (record_operand_costs): Break out from ...
2670 (scan_one_insn): ... here.
2671 (dump_regclass): Make dumps nicer.
2672 (regclass): Dump preferrences choosed and changes done during passes.
2674 2000-01-03 Jakub Jelinek <jakub@redhat.com>
2676 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
2678 2000-01-03 Jakub Jelinek <jakub@redhat.com>
2680 * config/sparc/sparc.c (gen_df_reg): New function.
2681 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
2682 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
2683 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
2684 movtf_cc_reg_sp64+1): Use it.
2686 2000-01-02 Mark Mitchell <mark@codesourcery.com>
2688 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
2691 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
2693 * config/i386/i386.c (ix86_expand_unary_operator): Function
2694 definition made void.
2695 (ix86_expand_binary_operator): Update outdated preceding comment.
2696 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
2699 * config/i386/i386.c (override_options): Fix option-name typo.
2701 2000-01-02 Mark Mitchell <mark@codesourcery.com>
2703 * system.h (CEIL): Define.
2704 * builtins.c (CEIL): Remove.
2705 * expmed.c (CEIL): Likewise.
2706 * expr.c (CEIL): Likewise.
2707 * stor-layout.c (CEIL): Likewise.
2709 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2711 * expr.c (store_constructor_field): Fix typo introduced with last
2714 2000-01-01 Mark Mitchell <mark@codesourcery.com>
2716 * tree.h (BINFO_N_BASETYPES): New macro.
2718 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
2720 * expmed.c (emit_store_flag): Prevent losing a pending stack
2721 adjust the same way we prevent losing queued increments.
2723 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2725 * function.c (update_temp_slot_address): Handle case where sum of
2726 temporary address plus offset in register is a valid address.
2728 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2730 * genrecog.c (change_state) Corrected typo.
2732 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2734 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
2735 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
2736 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
2738 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
2740 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
2741 case, expand GT comparisons correctly. Fix a comment before this
2744 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2746 * dwarfout.c: Include "frame.h"
2747 * dwarf2out.c: Likewise.
2748 * Makefile.in (dwarfout.o): Depend on frame.h
2749 (dwarf2out.o): Likewise.
2751 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
2753 Restore i386 binary compatibility in Dwarf EH info.
2754 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
2755 value of FIRST_PSEUDO_REGISTER.
2756 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
2757 (struct frame_state): Use DWARF_FRAME_REGISTERS.
2758 * dwarfout.c (output_reg_number): Ditto.
2759 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
2760 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
2762 1999-12-29 Bruce Korb <autogen@linuxbox.com>
2764 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
2765 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
2766 (<hack>_RE_CT): not needed
2767 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
2768 rewritten to scan the file text once only
2769 "template<..." test added
2770 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
2771 (is_cxx_header): declaration added
2772 * fixinc/fixtests.c(is_cxx_header): removed
2773 (apply_fix_p_t): removed
2774 (double_slash_test): is_cxx_header is only called once now
2775 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
2776 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
2777 within the templates.
2778 The borken spelling of "broken" was fixed.
2779 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
2780 The default level depends on FIXINC_DEBUG.
2782 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2784 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
2785 Otherwise provide a declaration for atexit.
2786 (init_dummy): Make sure dummy call to atexit is nevertheless
2787 called with correct number of args.
2789 * frame.c: Update comments referring to other files.
2791 * libgcc2.c: Likewise.
2793 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2795 * cse.c (free_element, get_element): Remove unused prototypes.
2797 * fold-const.c (extract_muldiv): Initialize variables `op0' and
2800 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
2803 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
2805 * configure.in,configure: case arm for mn10200-*-* now sets
2806 float_format=i32 so that float.h will correctly claim "double"
2807 to be 32 bits. Ran autoconf to generate configure from .in file.
2809 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
2811 * pa.md (conditional zero): If op1 is a register, force it into
2812 the same register as op0.
2814 1999-12-28 Mark Mitchell <mark@codesourcery.com>
2816 * tree.h (BINFO_BASETYPES): Improve documentation.
2818 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2820 * configure.in (--enable-checking): Use a more portable `for'
2823 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2825 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
2826 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
2828 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
2831 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
2832 Delete descriptions.
2834 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
2835 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
2836 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
2837 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
2838 xm-svr4.h: Remove all instances of sys_siglist handling.
2840 1999-12-27 Jakub Jelinek <jakub@redhat.com>
2842 * config/sparc/sparc.md (cmp_zero_qi,
2843 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
2844 cmp_zero_extendqidi2_andcc_set): New patterns.
2846 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
2848 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
2849 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
2850 (fpgnulib.c, xfgnulib.c): Add rules.
2851 * m68k/t-mot3300-gas: Likewise.
2853 1999-12-27 Ian Lance Taylor <ian@zembu.com>
2855 * configure.in: Avoid [[ by using test and changequote. Add
2856 changequote required by 1999-12-14 change.
2857 * configure: Rebuild.
2859 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
2861 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
2863 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
2865 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
2866 * flow.c (find_use_as_address): Likewise.
2867 * function.c (fixup_var_refs_1): Likewise.
2868 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
2869 * jump.c (invert_exp, redirect_exp): Likewise.
2870 * loop.c (replace_call_address): Likewise.
2871 (count_nonfixed_reads): Likewise.
2872 * rtlanal.c (modified_between_p): Likewise.
2873 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
2874 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
2875 * unroll.c (remap_split_bivs): Likewise.
2877 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2879 * diagnostic.c (v_message_with_decl): Use .* format specifier
2880 instead of building the format specifier width manually.
2882 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
2883 determining whether to provide a prototype. Remove the
2884 sys_siglist clause in the conditional.
2886 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2888 * fold-const.c (operand_equal_p): Use memcmp to compare string
2890 Suggested by D. J. Bernstein
2892 1999-12-17 Jakub Jelinek <jakub@redhat.com>
2894 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
2895 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
2897 * config/mips/mips.h (TARGET_64BIT): Likewise.
2898 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
2899 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
2900 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
2901 dsps. Give routines proper names if SI/DI modes are not used.
2902 * longlong.h: Use DWunion instead of DIunion.
2904 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
2906 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
2907 GC_CHECKING, GC_ALWAYS_COLLECT.
2908 * configure.in: Allow --enable-checking with an argument
2909 listing check modes to enable.
2910 * config.in, configure: Rebuilt.
2911 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
2912 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
2913 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
2914 ENABLE_GC_ALWAYS_COLLECT.
2915 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
2917 * tree.h, tree.c: Change ENABLE_CHECKING to
2918 ENABLE_TREE_CHECKING throughout.
2920 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2922 * fold-const.c (fold_truthop): Properly check for FP RHS.
2924 1999-12-24 Mark Mitchell <mark@codesourcery.com>
2926 * toplev.h (note_deferall_of_defined_inline_function): Declare.
2927 * toplev.c (note_deferral_of_defined_inline_function): New
2928 function, split out from ...
2929 (rest_of_compilation): ... here. Use it.
2931 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2933 * expr.c (store_constructor): Don't call clear_storage if size is
2936 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2938 * Makefile.in (toplev.o): Depend on loop.h.
2940 * dwarfout.c: Include tm_p.h.
2942 * emit-rtl.c (restore_emit_status): Mark parameter with
2945 * final.c (final_scan_insn): Likewise.
2947 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
2948 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
2949 flow_depth_first_order_compute, flow_loop_pre_header_find,
2950 flow_loop_tree_node_add, flow_loops_tree_build,
2951 flow_loop_level_compute, flow_loops_level_compute,
2952 flow_loop_outside_edge_p): Add prototypes.
2953 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
2955 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
2956 Mark with ATTRIBUTE_NORETURN.
2958 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
2960 * local-alloc.c (no_conflict_p): Likewise.
2962 * loop.c (insert_bct): Hide definitions of variables with hidden
2964 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
2966 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
2967 with ATTRIBUTE_UNUSED.
2968 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
2969 (reg_scan): Likewise.
2971 * reload.c (find_reloads): Remove unused variables `changed'.
2973 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
2975 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
2976 Remove unused variable `insn'.
2978 * toplev.c: Include loop.h.
2979 (report_file_and_line): Remove unnecessary prototype.
2981 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
2983 * unroll.c (biv_total_increment): Likewise.
2985 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2987 * reload1.c (emit_input_reload_insns): Restore old behaviour
2988 wrt. 'special' reloads.
2990 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
2992 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
2993 hash.h. (cse.c): Don't depend on hashtab.h.
2995 * cse.c: Don't include hashtab.h.
2996 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
2998 * ggc-simple.c: Don't include hash.h.
3000 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
3002 * dwarf2out.c (add_abstract_origin_attribute): Call
3003 gen_abstract_function on our function context.
3005 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
3007 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
3009 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3011 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
3014 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3016 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
3017 constraints to "a!r".
3019 1999-12-21 Mark Mitchell <mark@codesourcery.com>
3021 * Makefile.in (calls.o): Depend on function.h.
3022 (alias.o): Likewise.
3024 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
3026 * reload1.c (emit_reload_insns): Break out code and variables into...
3027 (input_reload_insns, other_input_address_reload_insns,
3028 other_input_reload_insns, input_address_reload_insns,
3029 inpaddr_address_reload_insns, output_reload_insns,
3030 output_address_reload_insns, outaddr_address_reload_insns,
3031 operand_reload_insns, other_operand_reload_insns,
3032 other_output_reload_insns): ... new static variables, and...
3033 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
3034 do_output_reload): ... new functions.
3036 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3038 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
3040 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3042 * md.texi: Add c4x constraints documentation.
3044 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3046 * config/i386/dgux.c (struct option): Rename to
3047 lang_independent_option.
3048 (struct m_options): Add description field.
3049 (output_options): Rename option type, add sep declaration, output
3050 ix86_cpu_string and ix86_arch_string only if set.
3051 (output_file_start): Rename option type.
3053 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
3055 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
3057 (libgcc2.a): Similarly.
3059 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
3061 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
3062 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
3063 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
3065 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
3067 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
3068 Remove redundant initialization of "frexpon" and "expon".
3070 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3072 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
3074 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
3075 (store_constructor_field, expand_expr): Pass new arg.
3077 1999-12-20 Mark Mitchell <mark@codesourcery.com>
3079 * Makefile.in (explow.o): Depend on function.h.
3081 * stor-layout.c (set_sizetype): Fix typo.
3083 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
3085 * function.c (cfun): Renamed from current_function. All users
3087 * function.h (cfun): Rename declaration as well.
3089 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
3090 to be of type regset_head, not regset. All users changed by adding
3092 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
3094 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3096 * config/c4x/rtems.h: New file.
3098 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
3100 * reload1.c (spill_failure): Take class of failed reload as argument
3101 and print it. Caller changed.
3103 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3105 * rs6000.h (SUBTARGET_DEFAULT): New macro.
3106 (TARGET_SWITCHES): Allow subtargets to default switches.
3107 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
3109 1999-12-18 Mark Mitchell <mark@codesourcery.com>
3111 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
3114 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
3116 * cccp.c (main): Define __STDC_VERSION__ as necessary.
3117 * cppinit.c (cpp_handle_option): Likewise.
3119 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
3120 determine when to define.
3122 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
3124 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
3125 cmove with mismatched test and data modes.
3127 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
3129 * c-typeck.c (c_expand_start_case): Don't warn for long switch
3132 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3134 * alias.c: Minor reformatting.
3137 * stor-layout.c: Likewise.
3138 * fold-const.c: Likewise.
3139 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
3140 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
3142 (size_int_wide): Cache nodes even if garbage collecting.
3143 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
3144 of SAVE_EXPR has no side effects.
3145 * cse.c: Move a comment.
3146 * tree.c: Minor reformatting.
3147 (int_size_in_bytes): Return -1 if constant overflows.
3149 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3151 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
3153 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
3155 * objc/objc-parse.c: Regenerate. This file must be rebuilt
3156 after any change to c-parse.in, even if objc-parse.y didn't
3159 1999-12-18 David S. Miller <davem@redhat.com>
3161 * toplev.c (rest_of_compilation): Restore BLOCK tree
3162 reconstruction and branch shortening changes lost in
3163 December 18th change.
3165 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
3167 * config/arm/linux-elf.h: Change all instances of
3168 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
3169 * config/arm/uclinux-elf.h: Likewise.
3171 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
3173 * toplev.c (notice, vmessage, v_message_with_file_and_line,
3174 v_message_with_decl, file_and_line_for_asm,
3175 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
3176 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
3177 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
3178 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
3179 pfatal_with_name, fatal_io_error, need_error_newline,
3180 last_error_function, last_error_tick, announce_function,
3181 default_print_error_function, print_error_function,
3182 report_error_function, fnotice, error_with_file_and_line,
3183 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
3184 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
3185 warning_with_decl, warning_for_asm, warning, pedwarn,
3186 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
3188 (compile_file): Use fnotice instead of notice. Adjust call.
3190 * diagnostic.c: New file.
3192 * Makefile.in (OBJS): Include diagnostic.o
3193 (diagnostic.o): Define dependence.
3195 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3197 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
3200 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3202 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
3204 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
3206 * fixtests.c (is_cxx_header): New fn, split out of
3208 (else_endif_label): Allow "#endif // comment" in C++ headers,
3209 as determined by is_cxx_header.
3210 * fixfixes.c (else_endif_label_fix): Update comment.
3211 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
3213 * genfixes: Correct double thinko in commandline parsing.
3214 * hackshell.tpl: Generate correct sh syntax for bypass
3217 * inclhack.def (all): Whenever an inserted preprocessor
3218 conditional is split over multiple lines, use double
3219 backslashes in this file so the fixed header will be readable.
3221 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
3222 and add bypass entry for correct version of this header.
3223 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
3224 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
3226 (hpux8_bogus_inlines): New fix, split from...
3227 (ultrix_atof_param) ... here.
3228 (math_expression): Add bypass entry keyed to glibc comment
3229 indicating the problem has been dealt with; disable
3230 unnecessary sed operations; update commentary.
3231 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
3232 add select and bypass entries, simplify shell operation.
3233 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
3235 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
3236 ultrix_atof_param): Add select entry.
3237 (stdio_va_list, sunos_mather_decl): Add bypass entry.
3238 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
3239 comments with the fixes they describe.
3241 * c-parse.in (string action): Do not warn about ANSI string
3242 concatenation in system headers. Affects C parser only.
3243 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
3245 1999-12-16 Jakub Jelinek <jakub@redhat.com>
3247 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
3248 compiling libgcc2 the macro depends always on arch cpp defines.
3250 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
3252 * loop.c (insert_loop_mem): Don't record MEMs from inside
3255 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
3257 * regclass.c (regclass): Do not use flowgraph when not optimizing.
3259 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
3260 notes too, create one when replacement failed, attempt to simplify
3262 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
3265 1999-12-16 Mark Mitchell <mark@codesourcery.com>
3267 * crtstuff.c (__dso_handle): Declare.
3268 (__cxa_finalize): Likewise.
3269 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
3272 * invoke.texi: Document -fuse-cxa-atexit.
3274 * tree.h (ptr_type_node): Document.
3275 (const_ptr_type_node): Likewise.
3277 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3279 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
3280 (optimize_reg_copy_2): Likewise.
3281 (optimize_reg_copy_3): Likewise.
3282 (fixup_match_2): Likewise.
3283 (regmove_optimize): Likewise.
3284 (fixup_match_1): Liekwise.
3286 * i386.md (HI to SImode promoting splitters): Rewrite.
3287 (pushsf mem peep2): New.
3288 (testhi to andhi peep2): Remove.
3289 * i386.h (x86_promote_QImode): New.
3290 (TARGET_PROMOTE_QImode): New.
3291 (PREDICATE_CODES): Add promotable_binary_operator.
3292 * i386.c (x86_promote_QImode0: New.
3293 (promotable_binary_operator): New.
3294 * i386-protos.h (promotable_binary_operator): New.
3296 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
3298 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
3300 1999-12-16 Mark Mitchell <mark@codesourcery.com>
3302 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
3303 * function.c (insert_block_after_note): Remove.
3304 (retrofit_block): Likewise.
3305 (identify_blocks): Fix indentation.
3306 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
3307 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
3308 * function.h (insert_block_after_note): Remove prototype.
3309 (retrofit_block): Likewise.
3310 * integrate.c (expand_inline_function): Don't call
3311 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
3312 just expand_start_bindings. Use the block_map to remap old
3313 NOTE_BLOCKs to new ones.
3314 (integrate_decl_tree): Keep track of remapped blocks.
3315 * integrate.h (struct inline_remap): Add block_map.
3316 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
3317 NOTE_BLOCK on the notes.
3318 (expand_start_bindings): Rename to ...
3319 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
3320 (expand_end_bindings): Set NOTE_BLOCK.
3321 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
3322 reconstruct the BLOCK tree.
3323 * tree.h (expand_start_bindings): Macroize. Call ...
3324 (expand_start_bindings_and_block): New function.
3326 1999-12-16 Jakub Jelinek <jakub@redhat.com>
3328 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
3329 to match the format.
3331 1999-12-16 David S. Miller <davem@redhat.com>
3333 * expr.c (emit_move_insn_1): Only emit clobbers if one of
3334 the outputs is a SUBREG.
3335 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
3338 * config/sparc/sparc.c (epilogue_renumber): Add default case
3341 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3343 * toplev.c (rest_of_compilation): Run branch shortening after
3346 * regclass.c (loop_depth): Remove
3347 (scan_one_insn): Do not handle LOOP_NOTE insns.
3348 (regclass): Go through basic blocks and set loop_cost
3350 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
3352 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
3354 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3356 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
3357 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
3358 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
3360 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
3362 * loop.c (insert_loop_mem): Ignore memory clobbers.
3364 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
3367 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
3369 * profile.c: Remove redundant #include "output.h".
3371 * h8300.md (HImode preinc peephole): Fix typo.
3373 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3375 * function.c (retrofit_block): Abort if we don't find a suitable insn.
3376 (insert_block_after_note): Abort if we don't have a previous block.
3377 Remove FN parameter.
3378 * function.h: Adjust.
3380 1999-12-15 Mark Mitchell <mark@codesourcery.com>
3382 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
3383 argument more than once.
3385 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3387 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
3389 1999-12-15 Jakub Jelinek <jakub@redhat.com>
3391 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
3393 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3395 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
3396 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
3397 update stack_alignment_needed.
3398 (prepare_function_start): Initialize stack_alignment_needed
3399 * function.h (struct function): Add field stack_alignment_needed.
3401 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3403 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
3404 Handle live_throughout / dead_or_set instead of live_before /
3406 (save_call_clobbered_regs): Get register livenessinformation from
3407 chain->live_throughout.
3408 (add_stored_regs): New function.
3409 (insert_restore, insert_save): Add restored / saved registers to
3411 * global.c (reg_dies): New parameter chain.
3412 (reg_becomes_live): Third parameter is regs_set now.
3413 Changed all callers.
3414 (reg_dies): New parameter chain. Changed all callers.
3415 (build_insn_chain): Set live_throughout instead of
3416 live_before / live_after.
3417 * reload.h (struct insn_chain): Replace members live_before /
3418 live_after with live_throughout / dead_or_set.
3419 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
3420 instead of live_before / live_after.
3421 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
3422 (order_regs_for_reload, find_reg, finish_spills): Likewise.
3423 (choose_reload_regs_init): Likewise.
3424 * stupid.c (current_chain, find_clobbered_regs): Delete.
3425 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
3426 instead of chain->live_before / chain->live_after.
3427 (mark_hard_ref): New function.
3428 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
3430 1999-12-15 David S. Miller <davem@redhat.com>
3432 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
3434 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3436 * flow.c (calculate_loop_depth): Make global, remove prototype,
3437 rewrite to use new loop infrastructure.
3438 (find_basic_block): Remove calculate_loop_depth call.
3439 * toplev.c (rest_of_compilation): Call find_basic_block.
3440 * output.h (calculate_loop_depth): Declare.
3442 * flow.c (dump_flow_info): Dump loop_depth.
3443 (flow_loops_nodes_find): Increase loop_depth for basic block in the
3445 (flow_loops_find): Initialize the loop_depth for each basic block.
3447 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3449 * tree.c (decl_function_context): Handle virtual functions.
3451 * tlink.c (scan_linker_output): Don't look in demangled name when
3452 looking for linker output keywords.
3454 * dwarfout.c (output_type): We can defer namespace-scope classes.
3456 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
3458 * regclass.c (record_reg_classes): Update comment for merging
3459 register class preferences in reg->reg copies. Tighten conditions
3460 for merging register class preferences in reg->reg copies.
3462 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
3464 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
3466 1999-12-14 Geoff Keating <geoffk@cygnus.com>
3468 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
3469 (INIT_SECTION_ASM_OP): Delete.
3470 (FINI_SECTION_ASM_OP): Delete.
3471 (STARTFILE_SPEC): Define to hold just crtbegin.o.
3473 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
3475 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
3476 the abstract origin wasn't emitted.
3478 * dwarf2out.c (class_scope_p): New fn.
3479 (gen_subprogram_die): Use it.
3480 (gen_variable_die): Use it. Tweak logic.
3481 (gen_struct_or_union_type_die): Check context_die to determine
3482 if we're function-local.
3483 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
3485 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3487 * loop.c (check_dbra_loop): Can't reverse a biv that has
3490 1999-12-14 Nick Clifton <nickc@cygnus.com>
3492 * config/arm/arm.c: Add support for -mcpu=arm720 command line
3495 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3497 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
3498 for givs made from biv increments.
3500 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
3502 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
3503 * alpha.c (override_options): Recognize -mcpu=ev67.
3504 * alpha.h (CPP_CPU_EV67_SPEC): New.
3505 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
3506 (EXTRA_SPECS): Update.
3508 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
3510 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
3511 appropriate for -lang-c89 and -std=*.
3512 * cppinit.c (cpp_handle_option): Likewise.
3513 (new_pending_define): New, split out from cpp_handle_option.
3514 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
3515 or enable trigraphs for -ansi/-std=*.
3517 * ginclude/stdarg.h (__va_copy): New.
3518 (va_copy): Don't define for C89.
3520 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
3522 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
3523 for long long multiply-accumulate.
3525 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3527 * regclass.c (scan_one_insn): Set loop_cost to 1 when
3528 optimizing for size.
3530 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3532 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
3533 if something changed. Back out that part of yesterday's changes.
3535 * loop.c (loop_max_reg): New static variable.
3536 (loop_optimize): Initialize it. Eliminate one unnecessary call to
3538 (scan_loop): Call reg_scan_update whenever we may have added new
3539 registers, and update loop_max_reg.
3541 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3543 * regclass.c (record_reg_classes): Do not do the copying preferrencing
3544 when source does not die.
3546 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
3548 1999-12-14 Jakub Jelinek <jakub@redhat.com>
3550 * config/sparc/linux64.h (TARGET_LIVE_G0,
3551 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
3553 * config/sparc/linux.h (TARGET_LIVE_G0,
3554 TARGET_BROKEN_SAVERESTORE): Likewise.
3555 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3556 TARGET_BROKEN_SAVERESTORE): Likewise.
3558 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
3559 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
3561 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
3562 as sparc64 block profiling register.
3563 * config/sparc/sparc.c (sparc_override_options): Allow block
3564 profiling with -m32.
3565 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
3567 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
3568 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
3569 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
3571 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
3573 * config/sparc/sparc.h: Likewise.
3574 * config/sparc/xm-sysv4-64.h: Likewise.
3575 * config/float-sparc.h: Likewise.
3576 * glimits.h: Likewise.
3577 * longlong.h: Likewise.
3579 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
3580 (ASM_IDENTIFY_GCC): Remove.
3582 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3584 * combine.c (combine_simplify_rtx): Don't make shared rtl.
3585 (simplify_logical): Likewise.
3587 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
3589 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
3590 * cppfiles.c (INO_T_EQ): Likewise.
3592 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
3594 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
3595 * i386/mingw32.h (LIB_SPEC): Likewise.
3596 (STARTFILE_SPEC): Likewise.
3597 * i386/uwin.h (LIB_SPEC): Likewise.
3598 (STARTFILE_SPEC): Likewise.
3600 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
3601 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
3603 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
3605 * combine.c (combine_simplify_rtx): Fix order of checks for
3606 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
3608 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
3610 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
3611 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
3613 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
3615 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
3617 * regclass.c (inv_reg_alloc_order): New array.
3618 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
3620 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
3621 counted_for_groups, counted_for_nongroups. Add fields rld and
3623 * reload.c (push_secondary_reload): Don't set nongroup field of
3625 (push_reload): Likewise.
3626 (find_reloads): Delete code to compute nongroup fields.
3627 * reload1.c (reload_insn_firstobj): New static variable.
3628 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
3630 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
3631 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
3632 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
3634 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
3636 (struct hard_reg_n_uses): Deleted.
3637 (potential_reload_regs): Deleted.
3638 (init_reload): Initialize spilled_pseudos and pseudos_counted.
3639 (reload): Don't try to allocate reload registers if we already know
3640 we have to make another pass. Call select_reload_regs. Free memory
3641 starting with reload_firstobj when starting another pass.
3642 Don't allocate spilled_pseudos.
3643 (calculate_needs_all_insns): Call copy_reloads for an insn that
3644 needs reloads; don't call calculate_needs.
3645 (spill_cost): New static array.
3646 (used_spill_regs_local): New static variable.
3647 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
3648 to compute potential_reload_regs.
3649 (find_reload_regs): Completely rewritten to use find_reg.
3650 (allocate_reload_reg): Don't test counted_for_groups or
3651 counted_for_nongroups. Lose NOERROR arg and code to give an error;
3653 (choose_reload_regs): Add fallback code that uses the existing
3654 register allocation from find_reload_regs.
3656 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
3658 * flow.c (create_edge_list): Cast xmalloc return value.
3660 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
3662 * doprnt.c: Remove incorrect comment closure.
3664 * cse.c: Fix a few minor whitespace goofs.
3666 1999-12-13 Don Bowman <don@pixstream.com>
3668 * mips/vxworks.h: Fix problem with comment termination.
3669 (EXTRA_SECTIONS): Add in_sbss.
3670 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
3672 1999-12-12 David S. Miller <davem@redhat.com>
3674 * cse.c (struct cse_reg_info): Add hash_next member,
3675 reorder rest of struct for better packing on 64-bit
3677 (cse_reg_info_tree): Kill.
3678 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
3679 REGHASH_FN): New custom pow2 hash mechanism.
3681 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
3682 use a pow2 hash table.
3683 (get_cse_reg_info): Rework to use new REGHASH.
3684 (new_basic_block): Likewise, use HASH_SIZE, and inline
3686 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
3687 and inline free_element call.
3688 (lookup_as_function, insert, flush_hash_table, invalidate,
3689 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
3690 invalidate_for_call, use_related_value, find_comparison_args,
3691 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
3692 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
3695 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
3697 * cse.c (cse_basic_block): Free qty_table consistently.
3699 1999-12-12 David S. Miller <davem@redhat.com>
3700 Jakub Jelinek <jakub@redhat.com>
3702 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
3703 SUBREGs by hand, gen the appropriate hard reg directly.
3704 (movtf reg/mem split): Likewise and alter_subreg on destination
3706 (movtf mem/reg split): Similarly.
3707 (movdf_cc_sp64): Rename from hidden pattern.
3708 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
3709 (movtf_cc_sp64, following split): New pattern and splitter.
3710 (movdf_cc_reg_sp64): Rename from hidden pattern.
3711 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
3713 (movtf_cc_reg_sp64, following split): New pattern and splitter.
3715 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
3717 * loop.c (load_mems): Don't hoist written floating point mem
3720 1999-12-12 Mark Mitchell <mark@codesourcery.com>
3722 * except.h (struct eh_queue): Add `next' pointer.
3723 (struct eh_status): Make x_ehqueue a pointer.
3724 (push_ehqueue): Declare.
3725 (pop_ehqueue): Likewise.
3726 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
3728 (expand_fixup_region_end): Likewise.
3729 (expand_leftover_cleanups): Likewise.
3730 (push_ehqueue): Define.
3731 (pop_ehqueue): Likewise.
3732 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
3733 than doing it inline.
3734 (expand_start_all_catch): Adjust now that ehqueue is a
3736 (mark_eh_queue): Mark all level of the queue.
3737 (mark_eh_status): Adjust now that ehqueue is a
3739 (init_eh_for_function): Allocate ehqueue.
3740 (free_eh_status): Free it.
3741 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
3742 expansion for a fixup.
3744 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3746 * gthr-single.h (__gthread_active_p): Add prototype arguments.
3748 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
3749 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
3750 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
3751 function_ptr, getpagesize, __enable_execute_stack,
3752 __enable_execute_stack, __clear_insn_cache,
3753 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
3754 _cleanup, _exit, __default_terminate, __terminate_func,
3755 __terminate, __empty, __throw, new_eh_context,
3756 eh_context_initialize, eh_context_static, eh_context_specific,
3757 get_eh_context, __get_eh_context, __get_eh_info,
3758 init_reg_size_table, eh_threads_initialize,
3759 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
3760 __unwinding_cleanup, throw_helper, __throw, __rethrow,
3761 __pure_virtual): Add prototype arguments.
3762 (__bb_exit_func): Cast a sizeof to long when comparing against one.
3763 Cast a signed value to unsigned long when comparing against one.
3764 (new_eh_context): Wrap in _GTHREADS macro.
3765 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
3767 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
3768 (throw_helper): Initialize variables `handler_p' and `pc_p'.
3770 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3772 * combine.c (record_promoted_value): Remove unused variable
3775 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
3777 * global.c (record_conflicts): Likewise for `j'.
3779 * genoutput.c (output_insn_data): Don't unnecessarily cast away
3782 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3784 * i386-protos.h (output_387_binary_op, output_fix_trunc,
3785 output_fp_compare): Constify a char*.
3787 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
3789 (override_options, ix86_comp_type_attributes, print_operand,
3790 output_387_binary_op, output_fix_trunc, output_fp_compare):
3792 (ix86_sched_reorder): Mark parameter `clock_var' with
3795 * i386.h (DEBUG_PRINT_REG): Constify a char*.
3797 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
3799 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
3800 operand, for use in the Java front-end.
3802 1999-12-10 Ben Collins <bcollins@debian.org>
3804 * configure.in: Fix typo for "-64" in 64bit as check.
3805 * configure: Rebuilt.
3807 1999-12-10 Jakub Jelinek <jakub@redhat.com>
3809 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
3812 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3814 * c-parse.in (string): With -Wtraditional, warn if ANSI string
3815 concatenation is utilized.
3817 * invoke.texi (-Wtraditional): Document it.
3819 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3821 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
3822 Cast a ptrdiff_t to long and pass it to printf with %ld.
3824 1999-12-10 Geoff Keating <geoffk@cygnus.com>
3826 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
3827 68881, we have no 68881 registers at all.
3828 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
3829 value in a 68881 register if it is available.
3831 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
3833 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
3834 for long long multiply-accumulate.
3836 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
3838 * loop.c (insert_loop_mem): Undo last change.
3840 1999-12-10 David S. Miller <davem@redhat.com>
3842 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
3844 * config/sparc/sparc-protos.h: Add them.
3845 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
3846 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
3847 constraints which use those helpers.
3848 (EXTRA_CONSTRAINT): Use this new macro.
3849 * md.texi: Update sparc target constraints documentation.
3850 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
3851 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
3852 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
3853 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
3854 (movsf high/lo_sum split): Rework for new patterns.
3855 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
3857 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
3859 * c-common.c (c_common_nodes_and_builtins):
3860 Create __builtin_ptrdiff_t and __builtin_size_t.
3862 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
3864 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
3866 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3868 * regclass.c (globalize_reg): Re-instate test that allows
3869 fixed registers to be declared as a variable even after functions
3872 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3874 * i386.md (cpu attribute): Add "athlon".
3875 (athlon_decode): New attribute.
3876 (Athlon scheduling units definitions): New.
3877 (fcmp and shld patterns): Set athlon_decode to "vector".
3878 * i386.c (athlon_cost): New.
3880 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
3881 x86_use_sahf): Set for Athlon.
3882 (x86_use_fiop): Unset for Athlon.
3883 (override_options): Define Athlon alignments and "athlon" name.
3884 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
3885 * i386.h (TARGET_ATHLON): New.
3886 (enum processor_type): Add PROCESSOR_ATHLON.
3887 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
3889 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
3891 1999-12-09 Andreas Jaeger <aj@suse.de>
3893 * loop.c (record_biv): Declare parameter as int.
3895 * config/i386/i386-protos.h: Declare long_memory_operand.
3897 1999-12-09 Mark Mitchell <mark@codesourcery.com>
3899 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
3900 EXPR_WITH_FILE_LOCATION.
3902 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3904 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
3907 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
3909 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
3912 1999-12-09 Jakub Jelinek <jakub@redhat.com>
3914 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
3915 default on linux64 again.
3916 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
3917 models for multilibing.
3918 * genmultilib: Accept | as alternative separator within a set in
3921 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
3923 * calls.c (precompute_arguments): Make sure initial_value contains
3924 value pseudo which CSE expects.
3925 * cse.c (struct set): New entry orig_src.
3926 (cse_insn): Set it early on entry, use it for libcall EQUIV note
3929 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
3931 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
3933 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
3935 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
3937 1999-12-08 Jakub Jelinek <jakub@redhat.com>
3939 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
3940 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
3942 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
3945 * longlong.h: Merge in changes from glibc.
3946 Also don't clobber %g2 register in 32bit SPARC assembly, so that
3947 -mno-app-regs libgcc can be compiled.
3948 * libgcc2.c: Add defines so that the updated longlong.h
3949 can be used in libgcc2.a. Also, make sure on most architectures
3950 (at least on all which have optimized code in longlong.h defined
3951 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
3953 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3955 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
3956 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
3957 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
3959 * configure: Rebuilt.
3961 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
3963 * alpha.c (secondary_reload_class): For !BWX, sub-simode
3964 outputs require a register.
3966 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
3968 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
3969 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
3970 functions like dptoul will be resolved.
3971 (libgcc2.a): Make sure that the object files from DPBIT are named
3972 differently (prefix `_dp') from those that would be coming from
3975 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
3977 * configure.in: When target is sparc* and tm_file contains 64,
3978 test for 64bit support in assembler. If not supported, remove
3979 sparc/t-sol2-64 from target-dependent Makefile fragments.
3980 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
3981 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
3982 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
3983 * acconfig.h (AS_SPARC64_FLAG): Added.
3984 * configure, config.in: Rebuilt.
3985 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
3986 support. Use AS_SPARC64_FLAG.
3988 1999-12-07 Jakub Jelinek <jakub@redhat.com>
3990 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
3991 suitable for holding OFmode values so that gcc works with complex
3993 (hard_64bit_mode_classes): Likewise.
3995 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
3996 so that it is actually matched.
3997 (sethi_di_medlow): Likewise.
3999 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
4000 as legitimate constant if -mvis.
4001 * config/sparc/sparc.md (movtf): Likewise.
4002 (clear_sf): Use const_double_operand.
4003 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
4005 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
4006 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
4007 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
4008 routines, _Qp_* cannot be handled like that now.
4009 (INIT_TARGET_OPTABS): Likewise.
4010 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
4011 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
4012 sparc_emit_float_lib_cmp if ARCH64 and soft float.
4013 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
4014 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
4015 divtf3, sqrttf3): New expanders.
4016 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
4017 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
4018 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
4021 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
4022 * configure: Rebuilt.
4023 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
4024 -mcpu is given and we're doing 64bit compiles.
4026 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
4028 * loop.h (struct induction): Add multi_insn_incr.
4029 * loop.c (basic_induction_var): New multi_insn_incr argument.
4030 Set it if we search back through previous insns for the biv.
4031 (record_biv): New multi_insn_incr argument; fill in struct induction.
4032 (strength_reduce): Discard an iv with multiple bivs, any of
4033 which require multiple insns to increment.
4035 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4037 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
4040 1999-12-06 David S. Miller <davem@redhat.com>
4042 * combine.c (check_promoted_subreg): Do not conditionalize this upon
4043 PROMOTE_FUNCTION_RETURN.
4045 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
4047 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
4048 and handle REG_UNUSED note on insn.
4050 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
4051 inner_mask instead of mask.
4053 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
4055 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
4056 zero if there was an error.
4058 1999-12-06 Jakub Jelinek <jakub@redhat.com>
4060 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
4063 * longlong.h: Fix clobbers in SPARC asm statements.
4065 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
4066 valid sethi operations when TARGET_ARCH64.
4068 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
4069 always use move_by_pieces to avoid infinite recursion.
4070 (restore_fixed_argument_area): Likewise.
4072 * combine.c (check_promoted_subreg, record_promoted_value): New
4074 (combine_instructions): Use them to retain nonzero and sign bit
4075 information after SUBREGs are eliminated by optimizations in
4076 this pass if PROMOTE_FUNCTION_RETURN.
4078 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
4079 .register declaration. Don't use variables with __ prefixes.
4081 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4083 * fold-const.c (optimize_bit_field_compare): Only use one mode
4084 for both RHS and LHS in non-constant case.
4086 1999-12-06 Nathan Sidwell <nathan@acm.org>
4088 * frame.c (start_fde_sort): Only allocate erratic array, if
4089 linear one was allocated. Return allocated flag.
4090 (fde_insert): Only insert, if there's a valid array.
4091 (fde_end_sort): Split, sort and merge if linear and erratic
4092 arrays exist, else just sort linear one.
4093 (search_fdes): New function. Linear search through original fde
4095 (frame_init): Permit multiple initializations. Cope with
4097 (find_fde): Fallback on linear search, if failed to sort array.
4098 (__deregister_frame_info): Only free sorted array, if we
4101 1999-12-06 Jakub Jelinek <jakub@redhat.com>
4103 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
4105 1999-12-05 Jakub Jelinek <jakub@redhat.com>
4107 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
4109 1999-12-05 Mark Mitchell <mark@codesourcery.com>
4111 * tree.h (special_function_p): Declare.
4112 * calls.c (special_function_p): Make it global. Don't take `name'
4113 as a parameter. Fix typo in 1999-11-28 change.
4114 (expand_cal): Adjust.
4116 1999-12-04 Mark Mitchell <mark@codesourcery.com>
4118 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
4119 * tree.h (EXPR_WFL_FILENAME): Define in terms of
4120 EXPR_WFL_FILENAME_NODE.
4121 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
4123 * print-tree.c (print_note): Print TREE_PRIVATE and
4126 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
4127 the original die cannot be found.
4129 * varray.h (varray_head_tag): Add elements_used.
4130 (VARRAY_PUSH): New macro.
4131 (VARRAY_POP): Likewise.
4132 (VARRAY_TOP): Likewise.
4133 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
4135 * varray.c (varray_init): Initialize elements_used.
4136 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
4137 (INTEGRATE_H): New variable.
4138 (integrate.o): Depend on INTEGRATE_H.
4139 (unroll.o): Likewise.
4141 * function.h (insert_block_after_note): Declare.
4142 * function.c (insert_block_after_note): Split out from ...
4143 (retrofit_block): ... here.
4145 * stmt.c (expand_fixup): Fix typo in comment.
4147 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4149 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
4150 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
4151 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
4152 (regmove_optimize, fixup_match_1): Likewise.
4154 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4156 * flow.c (flow_loops_dump): Add missing argument when calling
4159 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
4160 Greg McGary <gkm@gnu.org>
4162 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
4163 (init_attributes): Add A_NO_LIMIT_STACK.
4164 (decl_attributes): Handle A_NO_LIMIT_STACK.
4165 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
4166 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
4167 Handle stack bounds checking.
4168 * flags.h (flag_stack_check): Use the word 'probe' rather than
4169 'check', because the flag doesn't actually cause any checking to
4171 * function.c (expand_function_start): Set
4172 current_function_limit_stack.
4173 * function.h (struct function): Add limit_stack.
4174 (current_function_limit_stack): Define.
4175 * invoke.texi (Code Gen Options): Document new options.
4176 * rtl.h: Declare stack_limit_rtx.
4177 * toplev.c (stack_limit_rtx): New variable.
4178 (decode_f_option): Handle new options -fstack-limit-register=REG,
4179 -fstack-limit-symbol=IDENT, -fno-stack-limit.
4180 (main): Add stack_limit_rtx as GC root.
4181 * tree.h (DECL_NO_LIMIT_STACK): New macro.
4182 (struct tree_decl): New member no_limit_stack.
4184 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
4186 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
4187 (conditional_trap+1): Get new mnemonic correct.
4188 (conditional_trap+2): New pattern for DImode traps.
4190 * config/m68k/m68k.c (output_function_prologue): Handle
4192 * config/m68k/m68k.md (trap): New insn.
4193 (conditional_trap): New insn.
4194 * md.texi (Standard Names): Document `trap' and
4196 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
4197 so a cc0 setter doesn't get emitted at some random place in the
4200 * config/i960/i960.md (trap): New insn.
4201 (conditional_trap): New expander.
4202 (conditional_trap+1, conditional_trap+2): New insns for signed
4204 * config/i960/i960.c (i960_function_prologue): Use
4205 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
4207 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
4208 Geoffrey Keating <geoffk@cygnus.com>
4210 * flags.h (warn_padded, warn_packed): Add global var decls.
4211 * toplev.c (warn_padded, warn_packed): Add global var defns.
4212 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
4213 * stor-layout.c (layout_record): Add local variable `type'
4214 to hold often-used TREE_TYPE (field). Add local variable
4215 `unpacked_align' to hold alignment that would be in force
4216 if no `packed' attribute were present. Warn if `packed' attribute
4217 is unnecessary, or even harmful. Warn when gcc inserts padding
4218 to satisfy alignment requirements of members. Use NULL_TREE
4219 when checking whether var_size is set.
4220 * invoke.texi: Document new flags.
4222 1999-12-03 Nathan Sidwell <nathan@acm.org>
4224 * frame.c (fde_split): Reimplement to avoid variable sized array.
4226 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4228 * combine.c (try_combine): Before fixing up LOG_LINKS for the
4229 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
4231 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
4233 * invoke.texi: Document the mips option -mno-crt0
4235 1999-12-02 Mike Karr <mkarr@mathworks.com>
4237 * cccp.c (argdata): Added free_ptr member.
4238 (macroexpand): Initialize free_ptr of each argument. When an
4239 argument's buffers are freed, if the argument's free_ptr corresponds
4240 to a buffer on the input stack, then return the free_ptr to that stack
4241 frame, otherwise, free it.
4242 (macarg): If an argument begins and ends on the same input stack level,
4243 then transfer the free_ptr of that buffer to the argument in case
4244 the stack is popped during the processing of a subsequent argument.
4246 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
4248 * loop.c (note_reg_stored): New function.
4249 (struct note_reg_stored_arg): New structure.
4250 (try_copy_prop): Change to be more conservative; only replace within
4251 one extended basic block and stop replacing if a store to the
4252 replacement reg is seen.
4254 1999-12-02 Nick Clifton <nickc@cygnus.com>
4256 * config/fp-bit.c: Initialise all fields of the NAN
4259 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
4262 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
4264 * i386.md (extend?f?f2): Force the input into a register, not
4267 1999-12-01 Jakub Jelinek <jakub@redhat.com>
4269 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
4271 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
4272 alternative because setting up 64bit constant is usually costly,
4273 especially when reload is in progress or completed.
4274 (movdf_const_intreg_sp64): Likewise.
4275 (movdf_const_intreg split): Fix building up constants when
4276 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
4278 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
4280 * combine.c (if_then_else_cond): Use const_true_rtx instead of
4281 const1_rtx for return values in EQ/NE comparison against (const_int 0)
4284 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
4285 (asm_file_start): Emit .am33 into assembly file when compiling for
4287 (print_operand_address): Handle POST_INC addresses.
4288 (can_use_return_insn, initial_offset): Check AM33 registers too.
4289 (expand_prologue): Check & save AM33 registers too.
4290 (expand_epilogue): Similarly.
4291 (secondary_reload_class): Handle AM33 specific secondary reloads.
4292 (output_tst): Emit efficient code for the AM33 too.
4293 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
4294 (TARGET_SWITCHES): Add -mam33 switch.
4295 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
4296 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
4297 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
4298 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
4299 (enum reg_class, REG_CLASS_NAMES): Likewise.
4300 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
4301 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
4302 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
4303 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
4304 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
4305 (HAVE_POST_INCREMENT): Define.
4306 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
4307 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
4308 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
4309 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
4310 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
4311 (zero_extend to SI from QI/HI): Likewise.
4312 (sign_extend to SI from QI/HI): Likewise.
4313 (mulsidi3, umulsidi3): New patterns for the AM33.
4314 (tstsi with zero extension from QI/HI): Add AM33 variants.
4315 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
4316 (return_internal_regs, store_movm): Handle new AM33 registers.
4317 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
4318 (LIBGCC, INSTALL_LIBGCC): Likewise.
4319 * invoke.texi: Document new flags.
4321 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4323 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
4324 (addsi3_carry): Likewise.
4325 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
4326 (sbbsi3_carry): Likewise.
4327 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
4329 (test?i_1): Ensure that only one operand is memory.
4330 (conditional move patterns): likewise.
4331 (shift and rotate patterns): Rewrite to expander, add
4332 "binary_operator_ok" to the condition.
4334 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
4335 * i386.h (procesor_costs): Add movzbl_load field.
4336 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
4337 non-Q registers, accept DImode registers anywhere.
4339 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
4340 * i386.c (*_cost): Set value for movxbl_load field.
4342 * (addsi): New add to lea splitter.
4344 (lea to add/shift peep2): New.
4346 1999-12-01 Mark Salter <msalter@cygnus.com>
4348 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
4349 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
4350 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
4352 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4354 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
4355 * i386.md (movsi_xor): New.
4357 (movsi_1, movhi_1, movqi_1): Remove.
4358 (movsi_2): Rename to movsi_1.
4359 (movhi_2): Rename to movhi_1.
4360 (movqi_2): Rename to movqi_1.
4361 (movdi_1): Remove; remove splitter.
4362 (movdi_2): Rename to movdi_1.
4363 (divmodsi4 splitter): Do not emit clobbers for move patterns.
4364 (long move peep2): Do not create QI or HI mode mov0s
4365 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
4367 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
4370 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4371 (abs?f2_if): Likewise.
4373 1999-11-30 Alex Samuel <samuel@codesourcery.com>
4375 * ggc.h (ggc_test_and_set_mark): New macro.
4376 (ggc_mark_rtx): Use ggc_test_and_set_mark.
4377 (ggc_mark_tree): Likewise.
4378 (ggc_mark_rtvec): Likewise.
4379 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
4381 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
4383 * dwarf2out.c (scope_die_for): Only handle types. Only search for
4385 (decl_scope_table): Just an array of trees now.
4386 (push_decl_scope): Simplify.
4387 (dwarf2out_init): Adjust.
4388 (local_scope_p): New fn.
4389 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
4390 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
4391 (gen_typedef_die): Likewise.
4392 (gen_lexical_block_die): Don't call push/pop_decl_scope.
4393 (gen_inlined_subroutine_die): Likewise.
4394 (gen_abstract_function): Set current_function_decl temporarily.
4395 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
4396 Handle block extern declarations. Don't call push/pop_decl_scope.
4397 (gen_decl_die): Fix logic for block externs.
4399 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4401 * calls.c (special_function_p): Remove `realloc' and add `strdup'
4402 to the list of functions which have attribute malloc by default.
4404 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4406 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
4407 integer constant does not match the traditional type, limit the
4408 warnings to cases where the base of the type is ten.
4410 * invoke.texi (-Wtraditional): Document it.
4412 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4414 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
4415 * rs6000.md: Only access a CONST_INT with INTVAL
4417 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
4419 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
4420 (compute_nearerout): Likewise.
4421 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
4422 size_t to unsigned long for formatting.
4424 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4426 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
4427 Allow the user to override call-used/fixed state of %g2-5
4428 registers from the command line (with the exception of %g4 for
4430 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
4431 there is a higher chance of having a leaf function.
4432 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
4433 for ARCH64 which has %ccr register.
4434 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
4436 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
4437 insn accept into delay slot any insn which does not use %[ol]
4438 registers. Accept some LO_SUM and shift left by 1 for the normal
4440 (output_function_epilogue): Likewise.
4441 (epilogue_renumber): Added argument which inhibits any renumbering
4442 and just tests if the rtx does not use any %[ol] registers.
4443 (output_return): Reflect above change.
4445 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4447 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
4448 aggregate passing for sizes <= 16 bytes.
4450 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
4452 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
4453 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
4454 * reload.c (find_dummy_reload): Likewise.
4455 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
4456 * reload1.c (reload_as_needed): Likewise.
4457 * stupid.c (stupid_find_reg): Likewise.
4458 * tm.texi (Obsolete Register Macros): Delete section.
4459 * gmicro.h: Remove all traces of the two macros.
4464 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
4466 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
4467 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
4468 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
4469 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
4470 units for the sparclite86x chip.
4471 (flush): Revert October 14th change; add SImode specifically.
4472 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
4473 * invoke.texi: Document it.
4475 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
4477 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
4478 psimode_truncation_operand.
4480 * config/mn10200/mn10200.c (psimode_truncation_operand): New
4481 function. Return true if the operand is either a MEM valid
4482 for a PSImode address or not a MEM at all.
4484 * config/mn10200/mn10200.md (truncsipsi2): Use
4485 psimode_truncation_operand.
4487 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4489 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
4490 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
4491 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
4492 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
4493 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
4494 (flow_loop_level_compute, low_loops_level_compute): Likewise.
4495 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
4496 * basic-block.h: Protect from multiple inclusion.
4497 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
4498 (struct loops, struct loop): Define structures.
4499 * sbitmap.c (sbitmap_a_subset_b_p): New function.
4500 * sbitmap.h: Protect from multiple inclusion.
4501 (sbitmap_a_subset_b_p): Add prototype.
4502 * Makefile.in (LOOP_H): New macro.
4503 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
4505 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
4507 * cppinit.c (CAT): The argument list of this macro may not contain
4510 1999-11-29 David S. Miller <davem@redhat.com>
4512 Move quantity tables and register equivalence chains into
4513 per-qty and per-register structure arrays respectively.
4514 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
4515 qty_const_insn, qty_comparison_code, qty_comparison_const,
4516 qty_comparison_qty): Delete, replace with...
4517 (qty_table): this structure table.
4518 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
4519 (reg_eqv_table): this structure table.
4520 (make_new_qty): Add argument MODE. Caller updated.
4521 Update to use qty_table and reg_eqv_table.
4522 (make_regs_eqv, delete_reg_equiv, insert_regs,
4523 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
4524 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
4525 cse_process_notes, cse_main, cse_basic_block): Likewise.
4527 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4529 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
4530 operation if C is negative.
4531 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
4532 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
4533 law for some divisions if constant is negative and change other
4534 divisions to the opposite rounding.
4536 * expr.c (store_constructor_field): If bit position is not multiple
4537 of alignment of TARGET's mode, use BLKmode.
4539 * expr.c (expand_expr_unaligned): Add more code from full case
4540 that is needed when OP0 is in a register.
4542 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4544 * dwarfout.c (field_byte_offset): Size can be zero if there was
4547 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
4549 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
4550 (associate_trees): Delete unused var TEM.
4551 (extract_muldiv): Delete unused var CANCEL_P.
4553 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
4554 (target_isinf, target_isnan, target_negative): Add return types to
4555 function definitions.
4557 1999-11-29 Bruce Korb <autogen@linuxbox.com>
4559 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
4560 * fixinc/hackshell.tpl: ditto
4561 * fixinc/fixtests.c(double_slash_test): more C++ header testing
4562 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
4564 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
4566 * reload.c (push_reload): When looking for a register to put into
4567 reg_rtx, make sure all hard regs in a multi-reg register are in the
4568 right class and nonfixed.
4570 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
4571 pending_read_insns, pending_write_insns, pending_read_mems,
4572 pending_write_mems, pending_list_length, last_pending_memory_flush,
4573 last_function_call, sched_before_next_call): Move static variables
4575 (bb_ prefixed versions): Replace with single array bb_deps.
4576 (struct deps): New structure.
4577 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
4578 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
4579 argument of type "struct deps *"; use that instead of global
4580 variables. All callers changed.
4581 (init_rgn_data_dependencies): Delete function.
4582 (init_rtx_vector): Delete function.
4583 (init_deps): New function.
4585 (free_pending_lists): Simplify, we always use the bb_deps array even
4586 if only one basic block.
4587 (compute_block_backward_dependences): Likewise.
4588 (schedule_region): Likewise.
4590 (propagate_deps): New function, broken out of
4591 compute_block_backward_dependences.
4592 (compute_block_backward_dependences): Use it.
4594 * alpha.md: Delete useless patterns that tried to work around
4595 register elimination problems.
4597 * unroll.c (loop_iterations): Don't abort if iteration variable
4600 From Joern Rennecke:
4601 * reload1.c (reloads_conflict): Reverse test comparing operand
4602 numbers when testing for conflict between output/outaddr reloads.
4604 1999-11-29 David S. Miller <davem@redhat.com>
4606 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
4608 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
4610 1999-11-28 Robert Lipe <robertl@cygnus.com>
4612 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
4613 table from .fini into .dtor.
4615 1999-11-28 Anthony Green <green@cygnus.com>
4617 * tree.h (struct tree_decl): Add malloc_flag.
4618 (DECL_IS_MALLOC): Define.
4619 * c-common.c (attrs): Add A_MALLOC attribute.
4620 (init_attributes): Add this attribute to the table.
4621 (decl_attributes): Handle malloc attribute.
4622 * calls.c (special_function_p): Check for the malloc attribute.
4623 * extend.texi (Function Attributes): Document malloc attribute.
4625 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
4627 * pa.md (reload shift-add patterns): Remove.
4629 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4631 * reorg.c (dbr_schedule) Print more statistics. Corrected
4632 problem when printing info when 3 delay slots are filled.
4634 1999-11-28 Jakub Jelinek <jakub@redhat.com>
4636 * combine.c (setup_incoming_promotions): Pass an outgoing
4637 regno to FUNCTION_ARG_REGNO_P which it expects.
4639 1999-11-28 Andreas Jaeger <aj@suse.de>
4641 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
4643 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
4645 * cccp.c (do_include): Avoid initialization of automatic variable.
4647 * integrate.c (mark_stores): Function definition made void, to match
4648 previous declaration.
4649 * regclass.c (dump_regclass): Ditto.
4650 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
4652 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4654 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
4655 known to be multiple of divisor.
4657 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
4659 * combine.c (try_combine): Add code to try to merge a set of a
4660 two-word pseudo to a constant with a setting of one of those words
4663 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
4664 (split_tree): Completely rework to make more general.
4665 (make_range, fold): Call negate_expr.
4666 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
4667 (fold, associate): Call new split_tree and associate_trees.
4668 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
4670 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
4672 * loop.c (try_copy_prop): Avoid GNU C extension.
4674 1999-11-25 Mark Mitchell <mark@codesourcery.com>
4676 * except.c (init_eh_for_function): Still zero eh_return_context,
4677 eh_return_stack_adjust, and eh_return_handler.
4679 * except.h (eh_status): Adjust documentation for x_protect_list.
4680 (begin_protect_partials): New function.
4681 * except.c (enqueue_eh_entry): Fix formatting.
4682 (get_first_handler): Add consistency check.
4683 (add_partial_entry): Adjust usage of protect_list.
4684 (emit_cleanup_handler): Save and restore ehqueue.
4685 (expand_start_all_catch): Add comment.
4686 (begin_protect_partials): New function.
4687 (end_protect_partials): Adjust usage of protect_list.
4688 (init_eh_for_function): Use xcalloc.
4690 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4692 * c-common.c (check_format_info): Don't call a variadic function
4693 with a non-literal format string.
4695 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
4697 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
4698 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
4701 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
4704 * collect2.c (collect_wait): Likewise.
4706 * dbxout.c (dbxout_type): Likewise.
4708 * gcc.c (do_spec_1): Likewise.
4710 * genemit.c (gen_insn, gen_expand): Likewise.
4712 * genrecog.c (write_switch, write_subroutine): Likewise.
4714 * mips-tfile.c (catch_signal, botch): Likewise.
4716 * print-rtl.c (print_rtx): Likewise.
4718 * toplev.c (default_print_error_function, report_error_function,
4719 _fatal_insn): Likewise.
4721 1999-11-25 Mark Mitchell <mark@codesourcery.com>
4723 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
4725 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4727 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
4728 operations when needed.
4729 * i386.md (fop_?f_comm): New.
4730 (fop_?f_1): Do not accept commutative operands.
4732 1999-11-25 Andreas Jaeger <aj@suse.de>
4734 * config/mips/mips.md (casesi_internal): Add missing brace.
4736 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
4738 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
4739 (splice_child_die): Handle moving a child DIE from the declaration
4740 DIE of a class to its specification.
4741 (gen_struct_or_union_type_die): Use 'complete' consistently.
4742 (gen_decl_die): Generate the virtual context DIE first.
4743 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
4745 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
4747 * config/mips/mips.md (call_value_multiple_interanal1): New.
4749 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
4751 * dwarf2out.c (free_AT, free_die): New fns.
4752 (remove_children): Call them.
4753 (output_line_info): Disable removal of duplicate notes.
4755 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
4756 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
4757 means pretend the type isn't defined.
4758 Don't defer emitting types.
4759 (gen_type_die_for_member): New fn.
4760 (gen_decl_die): Call it.
4761 (splice_child_die): New fn.
4762 (gen_member_die): Call it rather than generate duplicate dies.
4764 Defer emitting information for the abstract instance of an inline
4765 until we either inline it or emit an out-of-line copy.
4766 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
4767 from output_inline_function if DECL_ABSTRACT is also set.
4768 (block_ultimate_origin): Likewise.
4769 (gen_abstract_function): New fn.
4770 (gen_decl_die, gen_inlined_subroutine_die): Call it.
4771 (gen_subprogram_die): An abstract instance is not a declaration
4772 just because it doesn't match current_function_decl. Don't abort
4773 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
4774 has an abstract origin.
4775 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
4776 abstract instance here.
4778 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
4780 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
4781 where we need to reload fpul from a system register.
4783 1999-11-24 Andreas Jaeger <aj@suse.de>
4785 * config/mips/linux.h (CPP_PREDEFINES): Added.
4786 (LINK_SPEC): Remove -Y since this is only needed on sparc.
4788 1999-11-24 Andreas Jaeger <aj@suse.de>
4790 * config/mips/linux.h (TARGET_VERSION): Added.
4791 (HANDLE_SYSV_PRAGMA): Added.
4792 (DEFAULT_VTABLE_THUNKS): Added.
4794 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4796 * local-alloc.c (qty): New structure and static variable.
4797 (qty_phys_reg): Remove, all references changed to qty.
4798 (qty_n_refs): Likewise.
4799 (qty_min_class): Likewise.
4800 (qty_birth): Likewise.
4801 (qty_death): Likewise.
4802 (qty_size): Likewise.
4803 (qty_mode): Likewise.
4804 (qty_n_calls_crossed): Likewise.
4805 (qty_alternate_class): Likewise.
4806 (qty_changes_size): Likewise.
4807 (qty_first_reg): Likewise.
4808 (alloc_qty): Rename variable QTY to QTYNO.
4809 (finf_free_reg): Likewise.
4810 (local_alloc): Allocate qty, do not allocate the removed variables.
4812 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
4814 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
4815 when -membedded-pic is passed.
4817 * config/mips/mips.md (casesi): Handle 64-bit case too.
4818 (casesi_internal_di): New insn.
4820 * config/mips/mips.c (embedded_pic_offset): Always make the
4821 embedded-pic subtractions relative to the name of the current
4822 function by use of the magic string "..CURRENT_FUNCTION".
4823 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
4825 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
4827 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
4828 of (const_int 0), when what we really care about is
4829 whether it's a zero constant anyway.
4830 (div_trap_mips16): Likewise.
4832 1999-11-23 Mark Mitchell <mark@codesourcery.com>
4834 * loop.c (loop_optimize): Always find_loop_tree_blocks and
4835 unroll_block_trees when generating debuggable code.
4837 * tree.h (unsave_expr_1): New function.
4838 (lang_unsave): New variable.
4839 (get_callee_fndecl): New function.
4840 * tree.c (unsave_expr_now_r): New function.
4841 (lang_unsave): Define.
4842 (unsave_expr_1): Likewise.
4843 (unsave_expr_now_r): Split out from unsave_expr_now.
4844 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
4845 call unsave_expr_now_r.
4846 (get_callee_fndecl): Define.
4848 * Makefile.in (gencheck): Don't depend on lang_tree_files.
4849 (gencheck.o): Do depend on lang_tree_files.
4851 * integrate.h (copy_decl_for_inlining): New declaration.
4852 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
4853 (copy_decl_for_inlining): New function.
4854 (integrate_parm_decls): Use it.
4855 (integrate_decl_tree): Likewise.
4857 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
4859 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
4860 the second two from the first.
4861 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
4862 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
4863 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
4865 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
4866 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
4869 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
4871 * pa.md (call_internal_symref, call_value_internal_symref): No mode
4872 needed on the address operand.
4873 * pa.c (call_operand_address): Check for the correct mode.
4875 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
4877 * loop.c: Include "basic-block.h".
4878 (try_copy_prop, replace_loop_reg): New functions.
4879 (load_mems): Detect registers that just hold copies of the hoisted
4880 mem, and call try_copy_prop to eliminate them.
4881 * Makefile.in (loop.o): Update dependencies.
4883 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
4885 * Makefile.in (gencheck.o): Depend on gencheck.h.
4886 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
4887 (insn-peep.o): Depend on except.h and function.h.
4888 (insn-attrtab.o): Depend on RECOG_H.
4889 (insn-output.o): Depend on toplev.h and flags.h.
4890 (gengenrtl.o): Depend on real.h.
4891 (gen-protos.o): Depend on cpplib.h and cpphash.h.
4892 Unify all dependencies to be on RECOG_H rather than recog.h.
4894 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4896 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
4897 * configure.in: Try building a bi-arch 32/64-bit compiler on
4898 sparc-*-solaris2.7 and higher.
4899 * configure: Rebuild.
4901 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
4903 * config/freebsd.h: New, FreeBSD architecture independent file.
4904 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
4906 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
4907 directly by i386/freebsd.h.
4908 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
4909 independent configuration file.
4910 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
4911 directly by i386/freebsd.h.
4912 * configure: Rebuilt.
4914 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
4915 which is in the user's namespace.
4916 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
4917 `i386' which is not in our namespace.
4919 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
4921 * invoke.texi (ARM Options): Add in -mno-alignment-traps
4923 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
4925 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
4926 (add_dwarf_attr, add_child_die): Just push onto the front.
4927 (reverse_die_lists): New fn.
4928 (add_sibling_attributes): Use it.
4929 (push_decl_scope): Reorganize.
4930 (add_name_and_src_coords_attributes): Don't set file and line for
4932 (gen_subprogram_die): An artificial function doesn't need to match
4934 (gen_compile_unit_die): Return the generated die. Only add
4935 AT_comp_dir if the filename is relative.
4936 (remove_AT): Simplify loop. Also free string values.
4937 (output_die): A DIE ref can't be null.
4938 (output_value_format, value_format): Take a dw_attr_ref.
4939 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
4940 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
4941 AT_addr, AT_lbl): New fns.
4942 (various): Use them.
4943 (various): Constify.
4945 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4947 * combine.c (combine_simplify_rtx): When handling a SUBREG,
4948 take SUBREG_WORD into account.
4949 (if_then_else_cond): Likewise.
4951 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
4953 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
4954 clause from BSD license, pursuant with
4956 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
4958 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
4960 * loop.c (load_mems): Reformat slightly.
4961 * basic-block.h (regset_head): New typedef.
4962 (INIT_REG_SET): New macro.
4964 1999-11-22 Bruce Korb <autogen@linuxbox.com
4966 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
4967 (mips-dec-bsd*): non-functional code
4968 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
4970 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
4971 added three replacement fixes
4972 (no_double_slash): removed comments that are not (any longer) pertinent
4973 (bad_lval): this fix currently runs against many files.
4974 The comment seems to indicate that we should select for files
4975 containing 'pragma extern_prefix'.
4977 * fixinc/fixinc.x86-linux-gnu: deleted
4978 * fixinc/inclhack.sh: regen
4979 * fixinc/fixincl.x: regen
4980 * fixinc/fixincl.sh: regen
4982 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
4984 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
4985 its code is INSN and it has no notes.
4987 1999-11-22 Andrew Haley <aph@cygnus.com>
4989 * varasm.c (function_defined): Remove.
4990 (make_function_rtl): Don't set function_defined.
4991 (make_decl_rtl): Remove global register warning.
4992 * regclass.c (no_global_reg_vars): New variable.
4993 (globalize_reg): Warn if function has already been defined.
4994 (regclass_init): Set no_global_reg_vars.
4996 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4998 * regclass.c (reg_pref): New structure and static variable
4999 (prefclass): Delete.
5001 (all uses of prefclass and altclass): Use reg_pref instead.
5003 1999-11-21 Nick Clifton <nickc@cygnus.com>
5005 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
5007 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
5008 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5009 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5011 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
5013 * varasm.c (output_constructor): Solve problem with long long
5014 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
5016 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5018 * global.c (allocno): New structure and static variable.
5019 (allocno_reg): Remove, all references replaced by allocno.
5020 (allocno_size): Likewise.
5021 (hard_reg_conflicts): Likewise.
5022 (hard_reg_preferences): Likewise.
5023 (hard_reg_copy_preferences): Likewise.
5024 (hard_reg_full_preferences): Likewise.
5025 (regs_someone_prefers): Likewise.
5026 (allocno_calls_crossed): Likewise.
5027 (allocno_n_refs): Likewise.
5028 (allocno_live_length): Likewise.
5029 (find_reg): Rename ALLOCNO to NUM.
5031 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
5033 (may_move_out_cost): New variable.
5034 (init_reg_sets_1): Initialize may_move_out_cost.
5035 (record_reg_classes): Use may_move_out_cost.
5037 * regclass.c (dump_regclass): New function.
5038 (regclass): New parameter DUMP, call DUMP_REGCLASS.
5039 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
5040 pass rtl_dump_file to regclass.
5041 * rtl.h (regclass): Update prototype.
5043 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5045 * i386.md (neg, not and abs patterns): Revmap to use
5046 ix86_expand_unary_operator and ix86_unary_operator_ok.
5047 (add?f and sub?f expanders): Force operand 1 to register.
5048 * i386.c (ix86_expand_unary_operator): Rewrite.
5049 (ix86_unary_operator_ok): Ensure that memory operands
5051 (ix86_binary_operator_ok): Do not allow operand 1 to
5052 come into memory and operand 0 not.
5053 (ix86_expand_binary_operator): Ensure that
5054 src1 is not non-matching memory.
5056 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
5057 to support integer registers and memory.
5058 (abss?2_integer): Likewise.
5060 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
5061 (REG_CLASS_NAMES): Likewise.
5062 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
5064 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
5065 (movsf): Likewise; unify 4th and 5th alternative.
5067 (movdf_1): Likewise; rename to movdf_integer.
5068 (pushxf): Likewise; rename to pushxf_integer; fix output template;
5069 remove redundant splitter.
5070 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
5071 (movdf_nointeger): New.
5072 (movxf_nointeger): New.
5073 (pushxf_nointeger): New.
5075 * i386.md (extend?f?f): Split to expander and pattern, refuse two
5076 memory operands in patterns.
5077 (fop*): Refuse two memory operands.
5079 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
5080 on !TARGET_USE_CLTD CPUs.
5082 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
5084 * extend.texi: Document C++ restricted pointers and references.
5086 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
5088 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
5089 (invalidate_skipped_set): Call it unconditionally.
5090 (cse_set_around_loop): Likewise.
5092 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5094 * rtl.texi (mem): Add documentation for alias-set argument
5097 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5099 * i386.h (struct_processor_costs): New fields int_load, int_store,
5100 fp_move, fp_load and fp_store
5101 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
5103 (MEMORY_MOVE_COST): New macro.
5104 * i386.c (386_cost): Define new fields.
5105 (i486_cost): Likewise.
5106 (pentium_cost): Likewise.
5107 (pentiumpro_cost): Likewise.
5108 (k6_cost): Likewise.
5110 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
5111 Geoffrey Keating <geoffk@cygnus.com>
5113 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
5115 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
5118 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
5119 (TARGET_STRICT_ALIGNMENT): New macro.
5120 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
5121 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
5122 * invoke.texi (M680x0 Options): Document -mstrict-align.
5124 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
5125 Richard Henderson <rth@cygnus.com>
5127 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
5128 (ix86_split_long_move): Declare.
5129 * i386.c (split_xf, ix86_split_movdi): Remove.
5130 (ix86_split_to_parts, ix86_split_long_move): New.
5131 * i386.md (dimode move splitters): Use ix86_split_long_move.
5132 (dfmode move splitters): Likewise.
5133 (xfmode move splitters): Likewise.
5134 (movsf_1): Allow F->r.
5135 (movdf_1, movxf_1): Allow F->ro.
5137 1999-11-17 Mark Mitchell <mark@codesourcery.com>
5139 * except.h (struct eh_entry): Add goto_entry_p.
5140 (eh_region_from_symbol): Remove prototype.
5141 * except.c (find_func_region_from_symbol): New function.
5142 (emit_cleanup_handler): Likewise.
5143 (eh_region_from_symbol): Make it static.
5144 (add_new_handler): Verify the argument.
5145 (find_func_region): Update comment.
5146 (expand_eh_region_end): Expand handlers here, rater than waiting
5147 until expand_leftover_cleanups or start_all_catch.
5148 (expand_leftover_cleanups): Don't expand here.
5149 (expand_start_all_catch): Or here.
5150 (expand_rethrow): Check the return value from find_func_region.
5151 * function.c (expand_function_end): Emit the catch_clauses.
5153 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
5155 * integrate.c (expand_inline_function): Add necessary check for NULL.
5157 1999-11-18 Nick Clifton <nickc@cygnus.com>
5159 * toplev.c (main): Correctly detect an unrecognised option.
5161 * cppinit.c (cpp_handle_option): Do not claim to have consumed
5162 a -f option if it has not been recognised.
5164 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
5166 * basic-block.h (update_life_extent): Remove trailing comma on
5167 enumeration type list.
5169 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5171 * varasm.c (output_constructor) Solved problem with long long
5172 bitfields. Corrected calculating this_time and shift. Also
5173 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
5175 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
5177 * flow.c (split_edge): Take looping structure into account when
5178 determining where to put the new block note.
5180 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
5182 * Makefile.in (ggc-none.o): Provide host specific version if
5185 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
5187 * cse.c (delete_trivially_dead_insns): Identify no-op insns
5188 containing subregs too.
5190 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5192 * invoke.texi: Add documentation for -muninit-const-in-rodata.
5193 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
5194 (TARGET_UNINIT_CONST_IN_RODATA): Define.
5195 (text_section): Add switches -munint-const-in-rodata and
5196 -mno-uninit-const-in-rodata.
5197 (ASM_OUTPUT_COMMON): Remove.
5198 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
5199 const objects should be placed in read-only data. Otherwise declare
5202 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
5204 * jump.c (jump_optimize_1): Revert last change.
5206 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
5208 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
5209 test if optimizing for size.
5211 1999-11-17 Mark Mitchell <mark@codesourcery.com>
5213 * Makefile.in (toplev.o): Depend on except.h.
5214 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
5216 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5218 * i386.md (divmodsi4): Rewrite to expander.
5219 (*divmodsi4_nocltd): New.
5220 (*divmodsi4_cltd): New.
5221 (divmodsi4 splitter): Handle the case when input comes in edx.
5222 (udivmodhi4): Do not use constraints in exander.
5223 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
5225 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
5227 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
5228 for the common case.
5230 1999-11-16 Jakub Jelinek <jakub@redhat.com>
5232 * explow.c (hard_function_value): Add outgoing argument.
5233 * expr.h (hard_function_value): Declare it.
5234 * calls.c (expand_call, emit_library_call_value): Update callers.
5235 * function.c (aggregate_value_p): Ditto.
5236 (diddle_return_value): Must look at the outgoing registers
5237 on archs with register windows.
5239 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
5241 * alpha.c (alpha_build_va_list): Use make_lang_type and
5242 initialize TYPE_NAME for the va_list record.
5244 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
5246 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
5248 * ggc.h (struct ggc_statistics): Rearrange elements for better
5249 packing on 64-bit hosts.
5250 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
5251 (compute_nearerout): Likewise.
5253 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
5255 * config/rs6000/rs6000.c (first_reg_to_save): Save
5256 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
5258 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
5260 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
5261 notion of nesting to find the DIE for a type or function.
5262 DIEs can go in limbo even if we got a context_die.
5263 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
5264 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
5266 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
5267 (gen_type_die): Writing out the context doesn't cause member class
5268 template instantiations to be written out as well.
5270 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
5272 * rs6000.h (ASM_OUTPUT_DEF): New.
5273 Based on proposed addition from David Edelsohn.
5275 1999-11-15 Robert Lipe <RobertLipe@usa.net>
5276 Bruce Korb <autogen@linuxbox.com>
5278 * fixinc/inclhack.def
5279 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
5280 (unixware7_byteorder_fix): added. Removes conflicts for new defs
5282 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
5283 (svr4_endian): enabled with SVR5
5284 (svr4_mkdev): simplified syntax and enabled with SVR5
5286 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
5288 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
5289 * configure: Rebuilt.
5290 * config/t-freebsd-thread: New file.
5292 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
5294 * i386.c (ix86_decompose_address): Verify the base is a REG
5295 before trying to examine its register number.
5297 * basic-block.h: Remove all #defines and prototypes related to
5299 (free_bb_mem, compute_preds_succs): Remove prototype.
5300 * rtl.h (free_bb_mem): Remove prototype.
5301 * flow.c (alloc_int_list_node); Remove function.
5302 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
5303 (compute_preds_succs, free_bb_mem): Likewise.
5304 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
5305 * toplev.c (rest_of_compilation): Likewise.
5306 * haifa-sched.c (build_control_flow): Use flow generated edge
5307 list to build the haifa specific edge list.
5308 (find_rgns): Use new CFG data structures instead of pred/succ lists.
5309 (schedule_insns): Do not build pred/succ lists anymore. Instead
5310 build the edge table.
5312 * basic-block.h (dump_bb_data): Remove declaration.
5313 * flow.c (dump_bb_data): Remove function.
5314 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
5315 (sbitmap_union_of_predsucc): Likewise.
5317 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
5318 argument. All callers changed.
5319 (delete_null_pointer_checks_1): No longer need to compute the
5322 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
5323 All callers changed.
5324 (pre_expr_reaches_here_p_work): Likewise.
5325 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
5326 * lcm.c (compute_laterin): Fix initialization of LATER.
5327 (compute_nearerout): Similarly for NEARER.
5329 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5331 * cse.c (set_nonvarying_address_components): Delete unused function.
5332 (refers_to_p): Likewise.
5334 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
5336 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
5339 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5341 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
5342 definition in do while (0).
5344 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
5346 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
5348 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
5350 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
5352 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
5354 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
5355 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
5356 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5357 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
5359 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
5360 saved on the stack. Output more accurate stack frame statistics
5361 into assembler file.
5363 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
5365 * genextract.c (record_insn_name): New function.
5366 (get_insn_name): No longer a stub.
5367 (main): Call record_insn_name for each insn. After each label
5368 written, print the insn name in a comment.
5370 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5372 * output.h (const_section, init_section, fini_section): Add
5375 * alpha/elf.h (const_section): Delete declaration.
5377 * svr4.h (const_section): Likewise.
5379 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
5381 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
5382 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
5383 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
5385 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
5386 variable-sized array bounds.
5388 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
5390 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
5393 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5395 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
5396 addresses the same way GO_IF_LEGITIMATE_INDEX does.
5398 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5400 * cse.c (hash_arg_in_struct): Delete.
5401 (struct table_elt): Delete elt in_struct.
5402 (struct set): Delete elt src_in_struct.
5403 (merge_equiv_classes): Don't set either hash_arg_in_struct or
5404 the corresponding in_struct elts.
5405 (canon_hash): Likewise.
5406 (safe_hash): Likewise.
5407 (find_best_addr): Likewise.
5408 (record_jump_cond): Likewise.
5409 (cse_insn): Likewise.
5411 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
5413 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
5415 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
5418 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
5420 * function.c (diddle_return_value): Put back check that the DECL_RTL
5421 for the function is a register.
5423 * function.c (diddle_return_value): Use hard_function_value to
5424 get an rtx suitable for use in the USE/CLOBBER insn.
5426 * global.c (global_conflicts): Update comments.
5427 (record_conflicts): No need to record conflicts between pseudos here.
5429 1999-11-11 Bruce Korb <autogen@linuxbox.com>
5431 * fixinc/fixincl.c: Added verbose levels for status messages
5433 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5435 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
5436 operand as argument to expand_and or expand_binop.
5438 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
5440 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
5441 gcc_add_string_root.
5443 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
5445 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
5447 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
5449 * flow.c (compute_flow_dominators): Initially put all blocks on
5451 * lcm.c (compute_antinout_edge, compute_available): Similarly.
5452 * gcse.c (compute_cprop_avinout): Remove.
5453 (compute_cprop_data): Use compute_available.
5454 (delete_null_pointer_checks_1): Use compute_available.
5456 * basic-block.h (compute_available): Returns a void now.
5457 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
5458 to return a value anymore.
5459 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
5460 worklists. Fix boundary cases. Compute maximal solutions.
5461 (compute_laterin, compute_nearerout): Similarly.
5463 * dwarf2out.c (add_AT_location_description): Allow
5464 (mem (plus (pseudo) (...)) too.
5466 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
5468 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
5470 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
5471 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5473 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
5475 * gansidecl.h: Likewise.
5481 * toplev.h: Likewise.
5487 * varray.c: Likewise.
5489 * varray.h: Likewise.
5491 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
5493 * gcov.c (struct arcdata): Add hits and total, remove prob.
5494 (output_branch_counts): New.
5495 (process_args): Set output_branch_counts if -c.
5496 (calculate_branch_probs): Store hits and total instead of
5498 (output_data): Emit counts if output_branch_counts is true.
5499 * gcov.texi (Invoking Gcov): Document -c switch..
5501 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
5503 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
5504 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
5506 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
5508 * invoke.texi (C Dialect Options): Add missing builtins from
5510 * extend.texi (Other Builtins): Copy to this list.
5512 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5514 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
5515 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
5518 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
5520 * flow.c (compute_flow_dominators): No longer treat basic block 0
5521 or (n_basic_blocks - 1) specially. Clear the AUX field before
5522 starting computation of doms/pdoms. Fix initial state for pdoms.
5524 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5526 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
5527 match rtl.o's: added ggc.h and toplev.h
5528 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
5529 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
5530 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
5532 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
5534 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
5535 from HAVE_DOS_BASED_FILESYSTEM.
5536 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
5537 HAVE_DOS_BASED_FILESYSTEM.
5539 (split_directories): Only special-case DOS file names if
5540 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
5541 instead of explicit tests. Conditionalize on !VMS.
5542 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
5543 tests. Conditionalize on !VMS.
5544 (process_command): Only use make_relative_prefix if !VMS.
5545 (free_split_directories): Conditionalize on !VMS.
5546 (DIR_UP): Conditionalize on !VMS.
5548 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
5550 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
5552 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
5554 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
5557 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
5559 * invoke.texi (Environment Variables): Document relative path
5561 * gcc.c (DIR_UP): If not defined, define as "..".
5562 (standard_bindir_prefix): New static, holds target location to
5564 (split_directories): New function to split a filename into
5565 component directories.
5566 (free_split_directories): New function, release memory allocated
5567 by split_directories.
5568 (make_relative_prefix): New function, make a relative pathname if
5569 the compiler is not in the expected location.
5570 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
5571 can figure out an appropriate prefix from argv[0].
5572 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
5573 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
5574 STANDARD_BINDIR_PREFIX.
5576 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5578 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
5580 * config/c4x/c4x.h: Moved prototypes to c4x.h.
5581 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
5582 c4x_secondary_memory_needed) Delete.
5583 (fp_zero_operand): Add mode argument.
5585 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
5587 * reload1.c (reload_reg_free_for_value_p): Don't use a register
5588 that is in reload_reg_used.
5590 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
5592 * config/arm/arm-protos.h: New file: Prototypes for functions
5593 defined in arm.c and pe.c.
5594 * config/arm/arm.h: Fix compile time warnings.
5595 * config/arm/arm.c: Fix compile time warnings.
5596 * config/arm/pe.h: Fix compile time warnings.
5597 * config/arm/aout.h: Fix compile time warnings.
5599 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
5601 * config/m32r/m32r-protos.h: New file: Prototypes for functions
5604 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
5605 Add support for subtargets.
5606 Add prototypes for new predicates.
5607 Add scheduling macros.
5609 * config/m32r/m32r.c: Fix compile time warnings.
5610 (int8_operand): New predicate function.
5611 (reg_or_cmp_int16_operand): New predicate function.
5612 (extend_operand): New predicate function.
5613 (m32r_adjust_code): New scheduling function.
5614 (m32r_adjust_priorty): New scheduling function.
5615 (m32r_sched_init): New scheduling function.
5616 (m32r_sched_reorder): New scheduling function.
5617 (m32r_sched_variable_issue): New scheduling function.
5618 (direct_return): New codegen function.
5619 (m32r_not_same_reg): New rtl testsing function.
5621 * config/m32r/m32r.md: Fix compile time warnings.
5622 Add support for pre decrement and post increment memory
5627 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5629 * global.c (EXECUTE_IF_CONFLICT): Don't define.
5630 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
5631 (find_reg): Likewise.
5633 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
5635 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
5636 to avoid assembler errors.
5638 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
5640 * config/v850/v850-protos.h: New file: Prototypes for functions
5642 * config/v850/v850.h: Move prototypes to v850-protos.h
5643 * config/v850/v850.c: Move prototypes to v850-protos.h
5644 * config/v850/v850.md: Fix compile time warnings.
5646 * config/fr30/fr30-protos.h: New file: Prototypes for functions
5648 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
5649 * config/fr30/fr30.c: Fix compile time warnings.
5650 * config/fr30/fr30.md: Fix compile time warnings.
5652 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
5654 * tree.h (get_containing_scope): Declare it.
5655 * tree.c (get_containing_scope): New fucntion.
5656 (decl_function_context): Use it.
5657 * toplev.c (rest_of_compilation): Use get_containing_scope.
5659 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5661 * Makefile.in (rtl.o): Depend on toplev.h.
5663 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
5665 * cse.c (delete_trivially_dead_insns): Replace alloca with
5667 * except.c (update_rethrow_references): Likewise.
5668 (init_eh_nesting_info): Likewise.
5669 * function.c (identify_blocks): Likewise.
5670 * gcse.c (dump_hash_table): Likewise.
5671 * graph.c (print_rtl_graph_with_bb): Likewise.
5672 * loop.c (combine_movables): Likewise.
5673 (move_movables): Likewise.
5674 (count_loop_regs_set): Likewise.
5675 (strength_reduce): Likewise.
5676 * profile.c (compute_branch_probabilities): New function, split
5678 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
5679 * regclass.c (regclass): Likewise.
5680 * regmove.c (regmove_optimize): Likewise.
5681 * toplev.c (compile_file): Likewise.
5682 (main): Don't mess with the stack rlimit.
5684 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
5686 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
5687 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
5689 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
5691 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
5693 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
5695 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
5696 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
5699 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
5701 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
5703 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
5705 * gcse.c (post_dominators): Kill.
5706 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
5707 (compute_code_hoist_data): Use compute_flow_dominators. Do not
5708 pass in a pdom array since we do not need pdoms.
5709 * haifa-sched.c (schedule_insns): Similarly.
5710 * flow.c (compute_dominators): Remove dead function.
5711 (compute_flow_dominators): Do not compute doms or pdoms if the
5712 caller does not request them. Split up loop to build doms and
5713 pdoms. Use a worklist to compute doms and pdoms.
5714 * basic-block.h (compute_dominators): Remove prototype.
5716 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
5718 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
5719 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
5720 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
5721 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
5722 (cant_move, fed_by_spec_load, is_load_insn): Remove.
5723 (schedule_region): Remove unused variable.
5724 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
5726 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
5728 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
5729 (update_equiv_regs): Likewise.
5730 (block_alloc): Likewise.
5731 * reg-stack.c (reg_to_stack): Likewise.
5732 (convert_regs_2): Likewise.
5733 * reload1.c (reload_as_needed): Likewise.
5735 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
5737 * Makefile.in (dbxout.o): Depend on ggc.h.
5738 (dwarf2out.o): Likewise.
5739 (xcoffout.o): Likewise.
5740 * dbxout.c: Include ggc.h.
5741 (dbxout_init): Register lastfile as a root.
5742 * dwarf2out.c: Include ggc.h.
5743 (dwarf2out_line): Register lastfile as a root.
5744 * xcoffout.c: Include ggc.h.
5745 (xcoffout_source_line): Register xcoff_lastfile as a root.
5747 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
5749 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
5751 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
5753 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
5755 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
5757 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5759 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
5760 (EXECUTE_IF_CONFLICT): Likewise.
5761 (ALLOCNO_LIVE_P): Avoid signed division.
5762 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
5763 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
5764 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
5766 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
5768 * haifa-sched.c (schedule_block): Don't crash if there's no
5769 next insn for an interblock movement.
5770 (add_branch_dependences): Don't allow clobber insns to move either.
5772 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
5774 * i386.c (split_xf): New.
5775 * i386-protos.h: Declare it.
5776 * i386.md (movxf_1): Add general regs alternatives.
5777 (movxf_1+1): New splitter for same.
5779 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
5781 * function.c (purge_addressof_1): Add missing return values.
5783 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
5785 * function.c (is_addressof): New function. Returns true if
5786 the given piece of RTL is an ADDRESSOF.
5787 (purge_addressof_1): Make boolean. Return false if the
5788 ADDRESSOFs could not be purged.
5789 (purge_addressof): If ADDRESSOFs could not be purged from the
5790 notes attached to an insn, remove the offending note(s),
5791 unless they are attached to a libcall.
5793 1999-11-05 Andreas Jaeger <aj@suse.de>
5795 * genoutput.c (null_operand =): Initialize all fields.
5797 * errors.h: Add extern to prototypes.
5799 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
5801 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
5802 * configure: Rebuilt.
5804 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5806 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
5807 (mirror_conflicts): New function.
5808 (global_alloc): Call it.
5809 (expand_preferences): Remove redundant CONFLICTP test.
5810 (find_reg, dump_conflicts): Likewise.
5811 (prune_preferences): Process conflicts one word at a time.
5813 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
5815 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
5816 instead of an explicit loop.
5818 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
5820 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
5821 if REG_RETVAL check succeeds, then put classp in src_elt.
5823 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
5825 * function.c (pad_to_arg_alignment): Only update argument_pad
5826 if the argument's alignment is greater than STACK_BOUNDARY.
5828 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
5830 * bitmap.h (BITMAP_XFREE): New.
5831 * flow.c (life_analysis): Use it.
5832 (life_analysis_1): Free blocks.
5834 * combine.c (undo_commit): New.
5835 (try_combine): Use it. Don't zap undobuf.undos.
5836 (combine_instructions): Don't zap undobuf.undos; free the
5839 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
5841 * stmt.c (cost_table_): New.
5842 (estimate_case_costs): Use it instead of xmalloc.
5844 * toplev.c (compile_file): Reuse dumpname memory instead
5847 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
5849 * reg-stack.c (convert_regs_1): Initialize target_stack->top
5850 after verifying an EH edge.
5852 * haifa-sched.c (init_rgn_data_dependences): Correctly
5853 size bb_pending_lists_length when zeroing.
5855 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
5857 * function.c (diddle_return_value): New.
5858 (expand_function_end): Use it.
5859 * stmt.c (expand_null_return): Likewise.
5860 (expand_value_return): Likewise.
5862 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
5864 * reload1.c (reload): Don't remove return value clobbers.
5866 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
5868 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
5870 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
5872 * cse.c (cse_main): Use xmalloc, not alloca.
5873 (cse_basic_block): Likewise.
5874 * local-alloc.c (local_alloc): Likewise.
5876 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
5877 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5879 * rtl.c: Include toplev.h.
5880 (fatal): Remove declaration.
5882 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
5884 * haifa-sched.c (schedule_block): Fix thinko.
5886 1999-11-03 James McKelvey <mckelvey@fafnir.com>
5888 * fixinc/fixincl.c(create_file): Allow for systems that do not have
5889 S_IR* defined values
5891 1999-11-03 Philippe De Muyter <phdm@macqel.be>
5893 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
5894 call `malloc' instead.
5896 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
5898 * flags.h (flag_renumber_insns): Declare.
5899 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
5901 * rtl.h (renumber_insns): Change prototype.
5902 * toplev.c (flag_renumber_insns): Define.
5903 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
5905 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
5907 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
5908 and fpsqrtd. Use them and create fdiv function unit to more
5909 accurately represent fpu sqrt pipeline semantics on UltraSparc.
5910 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
5912 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
5914 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
5916 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
5917 insn into ready list, do not use just a raw swap.
5919 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
5921 * rtl.h (renumber_insns): New function.
5922 (remove_unnecessary_notes): Likewise.
5923 * emit-rtl.c (renumber_insns): Define.
5924 (remove_unncessary_notes): Likewise.
5925 * toplev.c (rest_of_compilation): Remove dead code.
5926 Use renumber_insns and remove_unncessary_notes.
5928 * gcse.c (struct null_pointer_info): New type.
5929 (get_bitmap_width): New function.
5930 (current_block): Remove.
5931 (nonnull_local): Likewise.
5932 (nonnull_killed): Likewise.
5933 (invalidate_nonnull_info): Take a null_pointer_info as input.
5934 (delete_null_pointer_checks_1): New function.
5935 (delete_null_pointer_checks): Use it.
5937 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
5938 (split_edges): Likewise.
5939 (schedule_block): Likewise.
5940 (compute_block_backward_dependencies): Likewise.
5941 (schedule_region): Likewise.
5942 (schedule_insns): Likewise.
5944 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
5946 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
5947 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
5948 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
5949 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
5950 * jump.c (delete_unreferenced_labels): Don't delete if
5951 LABEL_ALTERNATE_NAME is set.
5952 * print-rtl.c (print_rtx): Dump alternate name.
5953 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
5954 * rtl.h (LABEL_ALTERNATE_NAME): Define.
5955 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
5956 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
5958 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5960 * fix-header.c (recognized_extern, recognized_function): Constify
5963 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
5964 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
5965 (compute_available): Remove unused variable `last'.
5966 (compute_nearerout): Remove unused variable `temp_bitmap'.
5967 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
5968 Remove unused variable `x'.
5970 * scan.h (recognized_function, recognized_extern): Constify a
5973 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
5975 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5977 * varasm.c (decode_rtx_const): Use XSTR to access the string
5980 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
5982 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
5984 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5986 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
5988 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
5990 * pa.c (ireg_operand): New function.
5991 * pa.h (PREDICATE_CODES): Handle ireg_operand.
5992 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
5993 Fix out of date comment.
5995 * pa.md (negdi2): Turn into expander + anonymous pattern.
5997 * reload.c (find_reloads): Fix typos in recent change.
5999 * dwarf2out.c: Do not include ctype.h.
6001 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6003 * regclass.c (record_reg_classes): Always use may_move_cost when
6004 seeing how operand fits with various register classes.
6006 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
6008 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
6009 * toplev.c: Revert Nov 1 13:22 change.
6011 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
6013 * config/pa/pa.md (height reduction patterns): Add checks for
6014 overlapping operands to avoid semantic-destroying splits for
6015 height reduction patterns.
6017 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6019 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
6020 have been an hyphen, fixed.
6021 * configure: Rebuilt.
6023 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
6025 * config/arm/tpe.h: Add prototypes for exported functions.
6026 * config/arm/pe.c: Fix compile time warnings.
6027 * config/arm/semi.h: Fix compile time warnings.
6028 * config/arm/arm.c: Fix compile time warnings.
6029 * config/arm/arm.h: Fix compile time warnings.
6030 * config/arm/arm.md: Fix compile time warnings.
6031 * config/arm/thumb.c: Fix compile time warnings.
6032 * config/arm/thumb.h: Fix compile time warnings.
6033 * config/arm/thumb.md: Fix compile time warnings.
6035 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
6037 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
6040 * unroll.c (unroll_loop): Remove LOOP notes when loop is
6041 completely unrolled.
6043 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6045 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
6047 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
6049 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
6050 * rtl.h (rtx_equal_p): Move prototype.
6051 * rtl.c (rtx_equal_function_value_matters): Move from
6053 (rtx_equal_p): Likewise.
6054 * rtlanal.c (rtx_equal_function_value_matters): Delete.
6055 (rtx_equal_p): Likewise.
6057 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
6059 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
6062 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
6064 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
6066 * pa.h (ADDR_VEC_ALIGN): Define.
6068 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
6069 notes when presented with "if (foo) break; end_of_loop" and
6070 the break sequence gets moved out of the loop.
6072 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
6073 Remove explicit zero initializations of entries within MAP.
6075 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
6077 * reg-stack.c (convert_regs_1): Handle EH edges specially.
6079 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
6081 * bitmap.h (BITMAP_XMALLOC): New macro.
6082 * flow.c (CLEAN_ALLOCA): Remove.
6083 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
6084 (life_analysis): Likewise.
6085 (update_life_info): Don't use CLEAN_ALLOCA.
6086 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
6087 (calculate_global_regs_live): Likewise.
6088 (print_rtl_with_bb): Likewise.
6089 (verify_flow_info): Likewise.
6090 * global.c (global_alloc): Likewise.
6091 (global_conflicts): Likewise.
6092 * integrate.c (save_for_inline_nocopy): Likewise.
6093 (expand_inline_function): Likewise.
6094 * jump.c (jump_optimize_1): Likewise.
6095 (duplicate_loop_exit_test): Likewise.
6096 (thread_jumps): Likewise.
6097 * loop.c (loop_optimize): Likewise.
6098 (combine_givs): Likewise.
6099 (recombine_givs): Likewise.
6100 * reorg.c (dbr_schedule): Likewise.
6101 * unroll.c (unroll_loop): Likewise.
6103 * combine.c (combine_instructions): Use xmalloc instead of alloca.
6105 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
6107 * toplev.c (rest_of_compilation): Don't optimize the CFG
6108 when rebuilding, just before dbr.
6110 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6112 * output.h (assemble_end_function, assemble_destructor,
6113 assemble_constructor, assemble_gc_entry, assemble_global,
6114 assemble_label, output_constant_pool) Constify a char*.
6116 * varasm.c (assemble_destructor, assemble_constructor,
6117 assemble_gc_entry, assemble_end_function, assemble_global,
6118 assemble_label, output_constant_pool): Likewise.
6120 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
6122 * config/arm/thumb.c (thumb_expand_prologue): Add comments
6123 explaining what is goin on in this function.
6125 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6127 * regclass.c (record_reg_classes): In matching case, recompute
6128 costs since the direction of movement is different.
6130 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
6132 * resource.c (mark_target_live_regs): For unconditional branches,
6133 the resources found at the branch target should be added to the
6134 resources found so far, not intersected.
6136 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
6138 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
6140 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
6141 (sys/mman.h): Include this file only if #HAVE_MMAP.
6142 (run_compiles): Initialize `esac_fmt' with one old KR string, not
6143 with automatically concatenated ANSI strings.
6145 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
6147 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
6148 (DIV_ROUND_UP): Robustify.
6149 (ggc_recalculate_in_use_p): New function.
6150 (release_pages): Don't inline it.
6151 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
6153 (ggc_pop_context): Use ggc_recalculate_in_use_p.
6154 (clear_marks): Always save in_use_p.
6155 (sweep_pages): Use ggc_recalculate_in_use_p.
6156 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
6157 Release pages before counting statistics.
6159 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
6161 * toplev.c (rest_of_compilation): Fix thinko in this change:
6163 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6165 (rest_of_compilation): If inside an inlined external function,
6166 pretend we are just being declared.
6168 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
6170 * flow.c (calculate_global_regs_live): Fix thinko.
6172 * integrate.c (expand_inline_function): Fix bugs in previous
6173 change from Oct 28, 1999.
6175 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
6177 * stmt.c (expand_value_return): Fix typo in this change:
6179 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6180 (expand_value_return): Correctly convert VAL when promoting function
6181 return; support RETURN_REG being a PARALLEL.
6183 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
6185 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
6187 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6189 * hard-reg-set.h (reg_names): Constify a char*.
6191 * regclass.c (reg_names): Likewise.
6193 * regs.h (reg_names): Likewise
6195 * a29k/a29k.c (reg_names): Delete declaration.
6197 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
6199 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
6200 arc_output_function_epilogue): Likewise.
6202 * elxsi/elxsi.c (reg_names): Likewise.
6204 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
6206 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
6209 * m88k/m88k.c (output_function_profiler): Likewise.
6211 * sparc/sparc.c (sparc_flat_output_function_prologue,
6212 sparc_flat_output_function_epilogue): Likewise.
6214 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
6216 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
6217 warning from -Wuninitialized and put it under -W.
6218 * function.c (uninitialized_vars_warning): Warn only when the
6219 corresponding flag is set.
6221 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
6223 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
6224 is nonzero and the single set does not have an elt, then assign
6227 * simplify-rtx.c: New file.
6228 * Makefile.in (OBJS): Add simplify-rtx.o
6229 (simplify-rtx.o): Add dependencies.
6230 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
6231 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
6232 (cse_gen_binary, simplify_unary_operation): Delete.
6233 (simplify_binary_operation, simplify_plus_minus): Likewise.
6234 (check_fold_consts, simplify_relation_operation): Likewise.
6235 (simplify_ternary_operation): Likewise.
6236 (delete_trivially_dead_insns): Simplify the contents of the
6237 REG_EQUAL note before trying to substitute it into the source
6238 of the reg-reg copy at the end of a libcall sequence.
6240 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
6241 references/callers changed.
6243 * mn10200.c (mn10200_va_arg): Force the return value into a
6246 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
6248 * cccp.c (macroexpand): Avoid out of range accesses for omitted
6251 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
6253 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
6255 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
6257 * fold-const.c (fold): Fix thinko when optimizing comparisons
6260 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
6262 * gcc.texi (Passes): Update front-end files to their current
6265 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
6267 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
6268 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6269 (PREDICATE_CODES): Add addition_operation.
6270 * alpha-protos.h (addition_operation): Declare.
6271 (secondary_reload_class): Likewise.
6272 * alpha.c (addition_operation): New.
6273 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
6274 * alpha.md (adddi3): Turn into expander.
6275 (*lda, *adddi_2): New.
6276 (movsf, movdf patterns): Don't preference integer regs.
6277 (movsi, movdi patterns): Don't preference fp regs.
6279 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
6281 * genrecog.c (write_switch): Check for duplicate CODE cases.
6283 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
6285 * ggc-common.c: Update pre-function commentary.
6286 * ggc-page.c: Likewise.
6288 (poison_pages): Use memset directly.
6289 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
6290 (ggc_collect): Poison before sweeping.
6291 * ggc-simple.c: Update pre-function commentary.
6292 (ggc_alloc_obj): Poison non-zeroed memory.
6294 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
6296 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
6297 match format string, even on 64-bit hosts.
6298 * gcc-page.c (ggc_page_print_statistics): Likewise.
6300 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
6302 * config/i386/i386.c (ix86_cpu): Revert last patch.
6303 * config/i386/i386.h (ix86_cpu): Ditto.
6305 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
6307 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
6308 TYPE_SIZE, convert type of result to sizetype.
6310 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
6312 * flow.c (count_or_remove_death_notes): Equate NULL with the
6315 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
6316 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
6319 * i386.c (pic_label_no): Delete.
6320 (ix86_attr_length_default): Don't use single_set to peek
6323 * recog.c (peephole2_optimize): Allow recog_next_insn to index
6324 the first insn after bb->end.
6325 * i386.md (push mem peeps): Scratch is live after evaluation
6327 (cmp mem peep): Similarly.
6329 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
6331 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
6332 * function.c (pad_to_arg_alignment): Add missing braces.
6334 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6336 * alpha/alpha-protos.h (literal_section): Add prototype.
6337 (alpha_need_linkage, alpha_start_function,alpha_end_function):
6340 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
6342 (alpha_start_function, alpha_end_function, float_strings,
6343 alpha_need_linkage): Constify a char*
6345 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
6347 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
6349 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6351 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6353 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6355 * flow.c (debug_flow_info): Add prototype.
6357 * gcc.c (main): Likewise.
6359 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
6362 * reload1.c (failed_reload, set_reload_reg): Likewise.
6364 * mips-tfile.c (main): Likewise.
6365 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
6366 with ATTRIBUTE_NORETURN.
6368 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
6370 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
6371 DECL is not a memory ref.
6373 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
6375 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
6376 * config/i386/i386.c (ix86_cpu): Add extern attribute.
6378 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
6380 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
6381 * config/mips/elf64.h: ditto.
6383 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
6385 * expr.c (emit_push_insn): New argument alignment_pad.
6386 Update all callers. Adjust stack pointer based on alignment pad.
6387 * function.c (pad_to_arg_alignment): New argument alignment_pad.
6388 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
6389 (locate_and_pad_parm): New argument alignment_pad. Update all
6391 * expr.h (emit_push_insn): Update prototype.
6392 (locate_and_pad_parm): Update prototype.
6393 * calls.c (arg_data): Add new field alignment_pad.
6394 (initialize_argument_information): Initialize alignment_pad.
6396 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
6398 * except.c (free_eh_nesting_info): Free the info itself.
6399 * function.c (free_after_compilation): Don't free NULL.
6400 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
6401 (pre_edge_insert): Free inserted.
6402 * stmt.c (free_stmt_status): Don't free NULL.
6404 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6406 * gcov.c (DIR_SEPARATOR): Provide default.
6407 (output_data): Add test for MS-DOS format absolute filename.
6408 (fancy_abort): Correct program name.
6409 (open_files): Open all files in binary mode.
6410 * libgcc2.c (__bb_exit_func): Likewise.
6412 * profile.c (init_branch_prob): Specify binary when opening files.
6414 * flags.h (flag_unwind_tables): New decl.
6415 * toplev.c (flag_unwind_table): New definition.
6416 (f_options): Add -funwind-tables.
6417 (decode_g_option): Clarify warning when unknown -g option is given.
6418 (rest_of_compilation): If inside an inlined external function,
6419 pretend we are just being declared.
6421 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
6422 (dwarf2out_frame_finish): Likewise.
6424 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
6426 * fold-const.c (merge_ranges): If not in0, but in1, handle
6427 upper bounds equal like subset case.
6429 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
6431 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
6432 passed in a register but moved to the stack.
6434 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
6436 * gcc.c (pass_exit_codes, greatest_status): New variables.
6437 (struct option_map): Add entry for "--pass-exit-codes".
6438 (execute): Update greatest_status if error.
6439 (display_help): Add documentation for -pass-exit-codes.
6440 (process_command): Handle -pass-exit-codes.
6441 (main): Look at pass_exit_codes and greatest_status on call to exit.
6443 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6445 * reload.c (find_reloads): Refine test for no input reload
6446 case to not includes reloads emitted after insn.
6448 * function.c (find_temp_slots_from_address): Handle sum involving
6449 a register that points to a temp slot.
6450 (update_temp_slot_address): Make recursive call if both old and
6451 new are PLUS with a common operand.
6452 * calls.c (expand_call): Mark temp slot for result as having
6455 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
6457 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
6458 component as well as "BINUTILS".
6460 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
6461 * integrate.c (copy_rtx_and_substitute): Likewise.
6462 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
6463 All callers changed.
6464 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
6466 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
6467 gdb extensions, write size of type; also be more consistent
6468 in using references when this is a subtype.
6470 * pa.md (extv, extzv, insv): Use define_expand to reject constant
6471 that is out of range.
6473 * loop.c (unknown_constant_address_altered): New variable.
6474 (prescan_loop): Initialize it.
6475 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
6476 (invariant_p, case MEM): Remove handling for volatile and readonly;
6477 check new variable if readonly.
6478 (check_dbra_loop): Chdeck unknown_constant_address_altered.
6480 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
6481 (addr_affects_sp_p): Removed from note_mem_written and only
6482 define #ifdef AUTO_INC_DEC.
6484 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
6486 * regclass.c (record_reg_classes): Properly handle register move
6489 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
6490 Don't think valid if both operands are invalid.
6491 (struct constant_descriptor): New field RTL.
6492 (mark_const_hash_entry): Mark it.
6493 (record_constant{,_rtx}): Initialize it.
6494 (output_constant_def): Allocate RTL in permanent obstack and
6496 ({record,compare}_constant_1): Modes must match for
6497 CONSTRUCTOR of ARRAY_TYPE.
6499 * c-common.h (initializer_constant_valid_p): Delete decl from here.
6500 * output.h (initializer_constant_valid_p): Move decl to here.
6501 * c-common.c (initializer_constant_valid_p): Delete function from here.
6502 * varasm.c (initializer_constant_valid_p): Move function to here.
6504 * tree.h (STRIP_SIGN_NOPS): New macro.
6505 * fold-const.c (optimize_minmax_comparison): New function.
6506 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
6507 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
6508 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
6509 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
6510 widening conversions.
6511 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
6512 to look at size of mode, not precision of type; also add missing cases.
6513 (optimize_bit_field_compare, decode_field_reference): Don't try to
6514 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
6516 * dwarf2out.c (ctype.h): Include.
6517 (dwarf2out_set_demangle_name_func): New function.
6518 (size_of_line_info): Deleted.
6519 (output_line_info): Compute size of line info table from difference
6521 (base_type_die, add_name_attribute): Call demangle function, if any.
6522 (field_byte_offset): Use bits per word for variable length fields.
6523 (gen_array_type_die): Add array name.
6524 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
6525 (dwarf2out_add_library_unit_info): New function.
6527 * explow.c (set_stack_check_libfunc): New function.
6528 (stack_check_libfunc): New static variable.
6529 (probe_stack_range): Allow front-end to set up a libfunc to call.
6531 * combine.c (simplify_comparison): When making comparison in wider
6532 mode, check for having commuted an AND and a SUBREG.
6533 (contains_muldiv): New function.
6534 (try_combine): Call it when dividing a PARALLEL.
6535 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
6536 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
6538 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
6539 use one of the CLOBBERs instead.
6540 (if_then_else_cond): If comparing against zero, just return thing
6543 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
6544 Don't generate shifts and subtract if have conditional arithmetic.
6546 * rtl.h (delete_barrier): New declaration.
6547 * jump.c (jump_optimize): Set up to handle conditional call.
6548 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
6549 (delete_barrier): New function.
6551 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
6553 * recog.c (nonmemory_operand): Accept ADDRESSOF.
6555 * tree.c (build_type_attribute_variant): Push to obstack of
6556 ttype around type_hash_canon call.
6558 * expr.c (placeholder_list): Move decl to file scope.
6559 (expand_expr): Don't force access to volatile just because its
6561 If ignoring reference operations, just expand the operands.
6562 (expand_expr, case COMPONENT_REF): Propagate
6563 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
6564 Refine test for using bitfield operations vs pointer punning.
6565 (expand_expr, case CONVERT_EXPR): If converting to
6566 BLKmode UNION_TYPE from BLKmode, just return inner object.
6567 Use proper mode in store_field call.
6568 Properly set sizes of object to store and total size in store_field
6569 call for convert to union.
6570 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
6571 memory (like for ADDR_EXPR). Also, don't put constant in register if
6572 we'll want it in memory.
6573 (readonly_fields_p): New function.
6574 (expand_expr, case INDIRECT_REF): Call it if LHS.
6575 (expand_assignment): Handle a RESULT_DECL where
6576 DECL_RTL is a PARALLEL.
6577 (do_jump, case WITH_RECORD_EXPR): New case.
6578 (get_inner_reference): Always go inside a CONVERT_EXPR
6579 and NOP_EXPR if both modes are the same.
6580 (store_field): Use bitfield operations if size of bitsize is not same
6581 as size of RHS's type.
6582 Check for bitpos not a multiple of alignment in BLKmode case.
6583 Do block move in largest possible alignment.
6584 (store_constructor): Set BITSIZE to -1 for variable size and properly
6585 in case of array of BLKmode.
6586 (expand_expr_unaligned): New function.
6587 (do_compare_and_jump): Call it.
6589 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
6590 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
6591 does not include 'o'.
6593 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
6594 both SET_DEST and SET_SRC reference a virtual register.
6595 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
6597 * integrate.c (expand_inline_function): Handle case of setting
6598 virtual stack vars register (from built in setjmp); when parameter
6599 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
6600 (subst_constant): Add new parm, MEMONLY.
6601 (expand_inline_function, integrate_parm_decls): Pass new parm.
6602 (integrate_decl_tree): Likewise.
6603 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
6604 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
6605 (copy_rtx_and_substitute, case SET): Add explicit calls to
6606 copy_rtx_and_substitute for both sides.
6608 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
6610 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
6611 within INDEX_TYPE, instead of before.
6612 (fixup_gotos): Use f->target_rtl, not the next insn,
6613 since latter may be from a later fixup.
6614 (expand_value_return): Correctly convert VAL when promoting function
6615 return; support RETURN_REG being a PARALLEL.
6616 (expand_return): When checking for result in regs and having
6617 cleanup, consider PARALLEL in DECL_RTL as being in regs.
6619 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
6621 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
6622 last_nominal_fname): Mark const.
6623 (struct include_hash: name, nshort, control_macro): Mark
6625 (struct macrodef: symnam): Mark const.
6626 (struct if_stack: fname): Mark const.
6627 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
6628 (IStable): New character-syntax array which encompasses all
6629 the old is_foo arrays.
6630 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
6631 is_space): New macros for interrogating IStable.
6632 (check_macro_name): Kill last argument. All callers changed.
6634 * cppinit.c (initialize_char_syntax): Delete.
6635 (is_idchar, is_idstart, is_hor_space, is_space,
6636 trigraph_table): Delete.
6637 (IStable): New. Initialize with clever macros to avoid
6638 information duplication.
6639 (builtin_array): Table of builtins to get rid of explicit list
6640 in initialize_builtins.
6641 (initialize_builtins): Use builtins_array.
6642 (cpp_start_read): Call init_IStable, and set IStable['$'] if
6643 opts->dollars_in_ident.
6645 * cppexp.c: Change all refs to is_xyz[] arrays to use new
6647 (cpp_parse_expr): Avoid 'format string is not constant'
6648 warning. Use ISGRAPH to identify printable chars.
6649 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
6651 (read_and_prescan): Map trigraphs to chars with open-coded
6652 if-else-if-... sequence, not a lookup table.
6653 * cpphash.c: Change all refs to is_xyz[] arrays to use new
6655 * cpplib.c: Change all refs to is_xyz[] arrays to use new
6656 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
6657 (check_macro_name): Remove ability to report an invalid
6658 assertion name, which is never used.
6659 (do_line): Constify a couple of char *'s.
6660 * cppmain.c (main): Call cpp_cleanup before returning.
6662 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
6664 * ggc.h (struct ggc_statistics): New type.
6665 (ggc_get_size): New function.
6666 (ggc_print_statistics): Likewise.
6667 * ggc-common.c (ggc_stats): New variable.
6668 (ggc_mark_rtx_children): Keep statistics.
6669 (ggc_mark_tree_children): Likewise.
6670 (ggc_print_statistics): New function.
6671 * ggc-page.c (struct globals): Add bytes_mapped field.
6672 (alloc_anon): Update it.
6673 (release_pages): Likewise.
6674 (ggc_get_size): New function.
6675 (ggc_page_print_statistics): New function.
6676 * ggc-simple.c (ggc_get_size): New function.
6678 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
6680 * flow.c (propagate_block): When the last reference to a label
6681 before an ADDR_VEC is deleted because the reference is a dead
6682 store, delete the ADDR_VEC.
6684 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
6686 * resource.c (find_free_register): Don't use the frame pointer
6687 if frame_pointer_needed.
6689 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
6691 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
6692 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
6694 * config/i960/i960.c (i960_va_start): New locals base, num.
6695 Use INDIRECT_REF instead of ARRAY_REF on valist.
6696 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
6698 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
6700 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
6702 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
6704 * tree.def (PLACEHOLDER_EXPR): Update comments.
6706 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6708 * c-common.c (check_format_info): Avoid non-literal format string
6709 warnings when `first_arg_num' is zero.
6711 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6713 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
6715 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
6717 * arm.md (casesi_insn): Add a clobber of the condition code
6720 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
6722 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
6723 used by both cc1 and cc1plus.
6725 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
6727 * config/arm/arm.c: Initialise arm_structure_size_boundary to
6728 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
6729 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
6730 to the value 32 if it has not already been defined.
6731 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
6732 Override definition in arm.h with a value of 8.
6734 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
6736 * c-pragma.c (push_alignment): Don't check the return value
6739 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
6741 * sparc.h (ADJUST_COST): Fix thinko.
6743 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
6745 * cccp.c (rescan): Fixed obp pointer handling around call to
6746 check_expand subroutine.
6748 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
6750 * gcse.c (delete_null_pointer_checks): Only record non-null info
6751 for pseudos when examining stores.
6753 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
6754 splitters for these patterns. Use "#" for output templates.
6755 (addsi3_carryin_shift): New pattern.
6757 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
6759 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
6760 of the function return register into a plain REG until
6761 after function inlining is done.
6763 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
6765 * jump.c (jump_optimize_1): If we did cross-jumping, and
6766 the data will matter, rebuild the CFG.
6767 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
6768 not optimizing. Don't run shorten_branches.
6769 * toplev.c (rest_of_compilation): Run shorten_branches after
6772 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
6774 * rtl.h (note_stores): Add additional paramter.
6775 * rtlanal.c (reg_set_p_1): Take additional paramter.
6776 (reg_set_last_1): Likewise.
6777 (reg_set_p): Adjust call to note_stores.
6778 (reg_set_last): Likewise.
6779 (note_stores): Pass data parameter to worker function.
6780 * alias.c (record_set): Take additional parameter.
6781 (init_alias_analysis): Pass it.
6782 * caller-save.c (mark_set_regs): Take additional parameter.
6783 (save_call_clobbered_regs): Pass NULL to note_stores.
6784 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
6786 (record_dead_and_set_regs_1): Likewise.
6787 (reg_dead_at_p_1): Likewise.
6788 (combine_instructions): Adjust calls to note_stores.
6789 (try_combine): Likewise.
6790 (record_dead_insn): Remove.
6791 (record_dead_and_set_regs): Adjust calls to note_stores.
6792 (reg_dead_at_p): Likewise.
6793 * cse.c (invalidate_skipped_set): Take additional parameter.
6794 (cse_check_loop_start): Likewise.
6795 (cse_check_loop_start_value): Remove.
6796 (cse_set_around_loop): Adjust calls to note_stores.
6797 * flow.c (notice_stack_pointer_modification): Take additional
6798 parameter. Remove duplicate declaration.
6799 (record_volatile_insns): Adjust calls to note_stores.
6800 * gcse.c (record_set_info): Take additional parameter.
6801 (record_last_set_info): Likewise.
6802 (invalidate_nonnull_info): Likewise.
6803 (record_set_insn): Remove.
6804 (compute_sets): Adjust calls to note_stores.
6805 (last_set_insn): Remove.
6806 (compute_hash_table): Adjust calls to note_stores.
6807 (insert_insn_end_bb): Likewise.
6808 (delete_null_pointer_checks): Likewise.
6809 * global.c (mark_reg_store): Take additional parameter.
6810 (mark_reg_clobber): Likewise.
6811 (reg_becomes_live): Likewise.
6812 (global_conflicts): Adjust calls to note_stores.
6813 (build_insn_chain): Likewise.
6814 * integrate.c (note_modified_parmregs): Take additional parameter.
6815 (mark_stores): Likewise. Make it static.
6816 (save_for_inline_nocopy): Adjust calls to note_stores.
6817 (try_constants): Likewise.
6818 * integrate.h (mark_stores): Remove declaration.
6819 * jump.c (mark_modified_reg): Take additional parameter.
6820 (thread_jumps): Adjust calls to note_stores.
6821 * local-alloc.c (validate_equiv_mem_from_store): Take additional
6823 (no_equiv): Likewise.
6824 (reg_is_set): Likewise.
6825 (validate_equiv_mem): Adjust calls to note_stores.
6826 (update_equiv_regs): Likewise.
6827 (block_alloc): Likewise.
6828 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
6829 (note_addr_stored): Take additional parameter.
6830 (note_set_pseudo_multiple_uses): Likewise.
6831 (record_initial): Likewise.
6832 (prescan_loop): Adjust calls to note_stores.
6833 (strength_reduce): Likewise.
6834 (check_dbra_loop): Likewise.
6835 * regmove.c (flags_set_1): Take additional paramter.
6836 (mark_flags_life_zones): Adjust calls to note_stores.
6837 * reload1.c (mark_not_eliminable): Take additional parameter.
6838 (forget_old_reloads_1): Likewise.
6839 (reload_cse_invalidate_rtx): Likewise.
6840 (reload_cse_check_clobber): Likewise.
6841 (reload_combine_note_store): Likewise.
6842 (move2add_note_store): Likewise.
6843 (reload): Adjust calls to note_stores.
6844 (reload_as_needed): Likewise.
6845 (emit_reload_insns): Likewise.
6846 (reload_cse_regs_1): Likewise.
6847 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
6848 (reload_combine): Adjust calls to note_stores.
6849 * resource.c (update_live_status): Take additional paramter.
6850 (mark_target_live_regs): Adjust calls to note_stores.
6851 * stupid.c (find_clobbered_regs): Take additional parameter.
6852 (stupid_life_analysis): Adjust calls to note_stores.
6854 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
6856 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
6859 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
6862 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
6863 of the variable arm_structure_size_boundary.
6865 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
6867 * alias.c (init_alias_analysis): Allocate reg_known_value and
6868 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
6870 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
6871 * cse.c (cse_main): Call end_alias_analysis.
6872 * haifa-sched.c (schedule_insns): Likewise.
6873 * local-alloc. (update_equiv_regs): Likewise.
6874 * reload1.c (reload_cse_regs): Likewise.
6876 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6878 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
6879 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
6880 mapping from MASK_FPU.
6882 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
6884 * sparc.md (call): Don't bound structure return size to 0xfff.
6886 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
6888 * resource.c (mark_target_live_regs): Check that the target
6889 insn wasn't created after compute_bb_for_insn.
6891 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
6893 * ggc-page.c (poison_pages): Don't be overzealous.
6895 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
6897 * alias.c: Update comments for ADDRESS.
6898 (nonlocal_reference_p): Look inside the ADDRESS to determine if
6899 it is a local memory reference.
6901 * c-typeck.c (build_function_call): Check that the built-in
6902 function is of class BUILT_IN_NORMAL before trying to recongize
6904 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
6905 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
6907 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
6909 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
6911 (pre_gcse): Likewise.
6912 (hoist_expr_reaches_here_p): Likewise.
6913 (hoist_code): Likewise.
6914 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
6916 (pre_expr_reaches_here_p_work): ... here.
6917 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
6919 (expr_reaches_here_p_work): ... here.
6921 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
6923 * resource.c (find_basic_block): Delete.
6924 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
6925 (init_resource_info): Call compute_bb_for_insn.
6927 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
6929 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
6930 with already adjacent blocks, but no fallthru.
6931 (merge_blocks_move_successor_nojumps): Simplify.
6932 (debug_flow_info): New.
6934 * toplev.c (rest_of_compilation): Open jump1 dump file before
6935 jump and close after, as opposed to just using dump_rtl.
6937 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6939 * reload.h (earlyclobber_operand_p): Declare.
6940 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
6941 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
6942 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
6943 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
6945 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
6946 Richard Henderson <rth@cygnus.com>
6948 * emit-rtl.c (emit_block_insn_before): New.
6949 (emit_block_insn_after): New.
6950 * basic-block.h: Declare them.
6952 * bitmap.h: Protect from multiple inclusion.
6954 * recog.c (scratch_operand): Handle VOIDmode correctly.
6956 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
6958 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
6959 * function.c (assign_parms): Likewise.
6960 * global.c (global_conflicts): Clarify STACK_REGS commentary.
6962 * reg-stack.c (max_uid): Remove.
6963 (blocks, block_begin, block_end, block_drops_in): Remove.
6964 (block_stack_in, block_out_reg_set, block_number): Remove.
6965 (struct block_info_def, BLOCK_INFO): New.
6966 (enum emit_where): New.
6967 (current_block): New.
6968 (BLOCK_NUM): Remove.
6969 (mark_regs_pat, record_label_references): Remove.
6970 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
6972 (goto_block_pat, print_blocks, dump_stack_info): Remove.
6973 (reg_to_stack): Simplified test for existance of fp code. Use
6974 flow.c code. Call shorten_branches after cross-jump opt.
6975 (check_asm_stack_operands): Renamed from record_asm_reg_life.
6976 Return false if the asm doesn't use stack regs. Don't do life
6977 analysis on the asm.
6978 (emit_pop_insn): Replace function pointer arg `when' with
6979 enum `where'. Update all callers.
6980 (change_stack): Likewise. Update basic block end.
6981 (emit_swap_insn): Use current_block->head to limit reverse search
6982 for start of block. Use emit_block_insn_after.
6983 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
6984 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
6985 structure assignment instead of bcopy.
6987 (convert_regs_entry, convert_regs_exit): New.
6988 (convert_regs_1, convert_regs_2): Split out from convert_regs.
6989 Work on basic blocks and the CFG.
6990 (convert_regs): Use them.
6992 * i386.c (output_fix_trunc): Remove code for DImode input operand
6993 not at top-of-stack.
6994 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
6996 (fix_truncdi_1): Allow any mode scratch.
6998 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
7000 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
7001 * linux.h, netbsd.h, vms.h: Not here.
7003 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
7005 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
7006 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
7007 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
7008 CONDITIONAL_REGISTER_USEAGE): Use them.
7009 * config/mips/mips.c (mips_move_1word,mips_move_2words,
7010 gen_conditional_branch,override_options) : Use them.
7011 * config/mips/mips.md : Use them.
7013 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
7015 * i386.md (zero_extendqihi2): Use SImode register name with andl.
7017 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
7019 * integrate.c (function_cannot_inline_p): Don't allow inlining
7022 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7024 * c-parse.in (cast_expr): Constify.
7026 * cccp.c (special_symbol): Likewise.
7028 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
7030 * dwarf2out.c (base_type_die): Likewise.
7032 * global.c (allocno_compare): Likewise.
7034 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
7036 * regclass.c (fix_register): Likewise.
7038 * rtl.h (fix_register): Likewise.
7040 * stupid.c (stupid_reg_compare): Likewise.
7042 * toplev.c (decode_f_option): Likewise.
7044 * tree.c (build_complex_type): Likewise.
7046 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
7048 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
7050 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7052 * reload.c (find_reloads): Compute mode and nregs fields of all
7054 * reload1.c (calculate_needs_all_insns): Simplify a bit.
7055 (calculate_needs): Use precomputed mode/nregs values.
7056 (allocate_reload_reg): Likewise.
7058 (failed_reload, set_reload_reg): ... new functions.
7059 (choose_reload_regs_init): New function, mostly broken out from...
7060 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
7061 Also lose one #if 0 block.
7063 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
7065 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
7068 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
7070 * tree.h (BLOCK_TYPE_TAGS): Remove.
7071 (BLOCK_END_NOTE): Likewise.
7072 (BLOCK_LIVE_RANGE_FLAG): Likewise.
7073 (BLOCK_LIVE_RANGE_START): Likewise.
7074 (BLOCK_LIVE_RANGE_END): Likewise.
7075 (tree_block): Remove live_range_flag, live_range_var_flag, and
7076 type_tags. Remove end_note, live_range_start, and live_range_end.
7077 (remember_end_note): Remove prototype.
7078 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
7079 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
7081 * ggc-common.c (ggc_mark_tree_children): Don't mark
7082 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
7083 * integrate.c (adjust_copied_decl_tree): Remove.
7084 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
7085 * stmt.c (last_block_end_note): Remove.
7086 (init_stmt): Don't add a GC root for it.
7087 (expand_fixup): Don't set it.
7088 (remember_end_note): Remove.
7089 (expand_end_bindings): Don't set last_block_end_note.
7091 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7093 * reload1.c (reload_reg_free_for_value_p): Show
7094 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
7097 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
7099 * expmed.c (extract_bit_field): Allow for the case of non-integer
7100 objects that are smaller than a word (like SFmode on a 64-bit
7103 * loop.c (basic_induction_var): A non-integer variable which is
7104 being set by a paradoxical subreg is probably not a biv.
7106 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7108 * prefix.c (translate_name) Check for empty prefix string.
7110 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
7112 * Makefile.in (CPP_CROSS_NAME): New variable.
7113 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
7115 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
7116 names of the files to be uninstalled.
7118 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
7120 * collect2.c (IS_DIR_SEPARATOR): Define.
7121 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
7123 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
7126 * haifa-sched.c (add_dependence): Update the true dependency
7127 cache the first time we add a true dependence to the LOG_LINKS chain.
7129 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
7131 * fold-const.c (fold): Fix comment.
7133 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7135 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
7136 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
7137 dbxout_start_new_source_file, dbxout_source_file,
7138 dbxout_source_line, dbxout_finish, dbxout_type_fields,
7139 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
7141 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
7142 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
7143 (dbxout_block): Initialize variable `blocknum'.
7145 * dbxout.h (dbxout_init, dbxout_finish,
7146 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
7147 dbxout_args, dbxout_source_line): Constify a char*.
7149 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
7150 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
7151 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
7152 low_pc_attribute, high_pc_attribute, body_begin_attribute,
7153 body_end_attribute, comp_dir_attribute, sf_names_attribute,
7154 src_info_attribute, mac_info_attribute, producer_attribute,
7155 lookup_filename, generate_macinfo_entry, fundamental_type_code,
7156 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
7157 dwarfout_undef): Constify a char*.
7158 (add_incomplete_type, retry_incomplete_types): Add prototypes.
7160 * dwarfout.h (dwarfout_define, dwarfout_undef,
7161 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
7163 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
7165 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
7166 (MULTILIB_ISA_DEFAULT): New.
7167 (MULTILIB_DEFAULTS): Use it.
7168 * config/mips/mips.c (): Remove the now unnecessary definition
7169 of MIPS_ISA_DEFAULT.
7170 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
7171 unnecessary definition.
7173 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
7175 * arm.md (pic_load_addr): Add constraints to operand 1.
7177 1999-10-25 Bruce Korb <autogen@linuxbox.com>
7179 * fixinc/genfixes: Provide a means for specifying -D options to
7182 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
7184 * arm.c (arm_override_options): Correct initialization of
7185 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
7186 arm_is_strong, and arm_is_6_or_7.
7188 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
7189 (note_set_pseudo_multiple_uses): New function.
7190 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
7191 if a pseudo set in the loop exit is used elsewhere.
7193 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
7195 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
7197 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
7199 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
7200 a single load-address pattern.
7202 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
7204 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
7205 depending on whether or not line-number notes are present.
7207 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7209 * cccp.c (progname, file_buf, default_include, include_file,
7210 macrodef, definition, hashval, wchar_type, user_label_prefix,
7211 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
7212 expand_to_temp_buffer, is_system_include, base_name,
7213 absolute_filename, read_name_map, open_include_file,
7214 record_control_macro, check_precompiled, check_preconditions,
7215 pcfinclude, pass_thru_directive, create_definition,
7216 check_macro_name, comp_def_part, collect_expansion,
7217 check_assertion, read_token_list, assertion_install,
7218 assertion_lookup, eval_if_expression, conditional_skip,
7219 validate_else, skip_quoted_string, quote_string, macarg1,
7220 error_from_errno, install, lookup, hashf, dump_defn_1,
7221 perror_with_name, pfatal_with_name, main, trigraph_pcp,
7222 check_white_space, rescan, handle_directive, monthnames,
7223 special_symbol, do_include, remap_include_file, write_output,
7224 arglist, do_assert, do_unassert, do_line, do_error, do_once,
7225 do_ident, do_sccs, do_xifdef, skip_if_group,
7226 output_line_directive, macroexpand, macarg, change_newlines,
7227 initialize_builtins, make_definition): Constify a char*.
7229 * pcp.h (stringdef): Likewise.
7231 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
7233 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
7236 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
7237 Richard Henderson <rth@cygnus.com>
7239 * alias.c: Include ggc.h.
7240 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
7241 (record_set): Verify enough room in reg_base_value.
7242 (init_alias_analysis): Allocate reg_base_value with xcalloc.
7243 Register it as a GC root.
7244 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
7245 * Makefile.in (alias.o): Depend on ggc.h.
7247 * unroll.c (unroll_loop): Verify the insn before a barrier
7248 is a JUMP_INSN before checking JUMP_LABEL.
7250 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7252 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
7253 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
7254 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
7255 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
7256 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
7257 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
7259 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7261 * output.h (ctors_section, dtors_section, bss_section): Prototype.
7263 * alpha/alpha-interix.h (text_section): Delete prototype.
7264 * alpha/elf.h (text_section): Likewise.
7265 * arm/linux-elf.h (text_section): Likewise.
7266 * arm/linux-telf.h (text_section): Likewise.
7267 * c4x/c4x.h (text_section): Likewise.
7268 * dsp16xx/dsp16xx.h (bss_section): Likewise.
7269 * elfos.h (text_section): Likewise.
7270 * i386/aix386ng.h (text_section): Likewise.
7271 * i386/i386-interix.h (text_section): Likewise.
7272 * i386/sco5.h (text_section): Likewise.
7273 * i386/svr3gas.h (text_section): Likewise.
7274 * nextstep.h (text_section): Likewise.
7275 * psos.h (text_section): Likewise.
7276 * ptx4.h (text_section): Likewise.
7277 * svr3.h (text_section): Likewise.
7278 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
7280 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7282 * final.c (peephole): Delete prototype.
7284 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
7285 (pre_insert_copies): Remove unused variable `bb'.
7287 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
7290 * output.h (peephole): Add prototype.
7292 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
7294 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
7297 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
7299 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
7300 for inlined declarations.
7302 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
7304 * arm.c (logical_binary_operator): New fucntion.
7305 * arm.h (logical_binary_operator): Declare it.
7306 (PREDICATE_CODES): Handle logical_binary_operator.
7307 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
7308 output constraints. Add appropriate splitters.
7309 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
7310 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
7311 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
7313 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7315 * genoutput.c (struct operand_data): New elt eliminable.
7316 (output_operand_data): Write it.
7317 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
7318 (compare_operands): Take it into account.
7319 * recog.h (struct insn_operand_data): New elt eliminable.
7320 * reload1.c (check_eliminable_occurrences, elimination_effects): New
7322 (old_asm_operands_vec, new_asm_operands_vec): Delete.
7323 (eliminate_regs): Move code that detects changes to elimination
7324 target regs into new function elimination_effects.
7325 Delete one #if 0 block.
7326 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
7327 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
7328 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
7329 Only call eliminate_regs for real operands of the insn, not for parts
7330 of its structure or parts matched by things like match_operator.
7331 Use elimination_effects and check_eliminable_occurrences. Use
7332 copy_insn to duplicate the pattern when not in the final pass.
7334 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
7336 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
7339 1999-10-22 Bruce Korb <autogen@linuxbox.com>
7341 * fixinc/README: document the "mach" machine matching test
7342 * fixinc/fixfixes.c: Implement the #else/#endif label fix
7343 * fixinc/fixtests.c: Implement the #else/#endif label test
7344 * fixinc/inclhack.def: utilize these tests and fixes
7345 * fixinc/inclhack.sh: regen
7346 * fixinc/fixincl.x: regen
7347 * fixinc/fixincl.sh: regen
7349 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
7351 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
7354 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
7356 * gcc.1: Document exit codes.
7358 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7360 * calls.c: Include tm_p.h later, so everything we need is defined.
7362 * function.c: Likewise.
7364 * except.c: Include tm_p.h.
7366 * sparc.c: Likewise.
7367 (dwarf2out_cfi_label): Don't prototype.
7368 (check_return_regs, epilogue_renumber,
7369 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
7370 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
7371 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
7372 ultra_schedule_insn): Add static prototype.
7373 (data_segment_operand, text_segment_operand): Call itself with the
7374 proper number of arguments.
7375 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
7377 * sparc.h: Move all declarations to sparc-protos.h.
7378 (SELECT_RTX_SECTION): Pass a missing MODE argument to
7381 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
7383 * config/svr4.h (text_section, ctors_section, dtors_section): Add
7385 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
7386 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7387 ASM_OUTPUT_ASCII): Constify a char*.
7389 * sparc-protos.h: New file for sparc prototypes.
7391 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7393 * function.c (record_insns, contains): Always declare and define.
7394 (record_insns): Mark with ATTRIBUTE_UNUSED.
7396 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7398 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
7399 to .section when outputting a .bss section to deal with multiple
7400 .bss input sections (as happens with -fdata-sections)
7401 Also output %progbits, not @progbits so the assembler doesn't treat as
7403 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
7405 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
7406 thumb parts even when building with non-thumb CPUs, by forcing
7409 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
7411 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
7412 (movdf_const_intreg_sp64): Similarly.
7414 * local-alloc.c (update_equiv_regs): Check the correct insn
7415 for pre-existing REG_EQUIV notes.
7417 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
7419 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
7420 block reached by a branch if we're not going to actually process
7423 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
7425 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
7426 a local extern function declaration.
7428 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
7430 * i386.c (ix86_expand_prologue): Properly wrap USE around
7431 reg for CALL_INSN_FUNCTION_USAGE.
7433 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
7435 * config/mips/mips.md (movdf_internal1a): Allow floating-point
7436 move between GP_REGs.
7438 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
7440 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
7441 the mode size when finding out if an offset is legal.
7443 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
7445 * basic-block.h (PROP_*): Move constants from ...
7447 (compute_bb_for_insn): Free the array before reallocating.
7448 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
7449 (allocate_reg_life_data): Reset all reg variables collected by
7451 (get_block_head_tail): Don't convert from bb to block.
7452 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
7453 (find_insn_reg_weight): Take block not bb.
7454 (schedule_block): Don't set block num for moved insns.
7455 (schedule_region): Don't update_life_info or find_insn_reg_weight.
7456 (schedule_insns): Do it here instead.
7457 * combine.c (combine_instructions): Invoke compute_bb_for_insn
7458 before update_life_info.
7459 * recog.c (split_all_insns, peephole2_optimize): Update for
7460 new arg to update_life_info.
7461 * rtlanal.c (remove_note): Cope with NULL note.
7462 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
7465 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
7467 * jump.c (jump_optimize_1): More accurately detect casesi insns.
7469 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
7470 block records so that merge_blocks_nomove will clean up correctly.
7471 (split_edge): Handle casesi insns.
7473 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
7475 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
7477 * pa.md (call, call_value): Do not emit a blockage after restoring
7480 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
7482 * c-typeck.c (c_expand_asm_operands): Fix typo.
7484 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7486 * arm.c (fpu_rhs_operand): Verify modes.
7487 (fpu_add_operand): Likewise.
7488 (di_operand): Likewise.
7489 (soft_df_operand): Likewise.
7491 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
7493 * arm.c (arm_return_in_memory): APCS rules state that the elements
7494 of a structure returned in a register must be 'integer-like'.
7496 1999-10-19 Bruce Korb <autogen@linuxbox.com>
7498 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
7499 in the source tree when the generated targets are out of date
7500 * fixinc/genfixes: Alter it to run individual fixes for make.
7501 * fixinc/README: rewrite
7502 * fixinc/inclhack.def: moved initial comments to README
7504 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
7506 * toplev.c (main): Do not generate an error message if an
7507 unrecognised command line switch is recognisable by another
7508 language. If extra_warnings are enabled, then generate a
7509 warning message instead.
7511 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
7513 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
7514 (insert_pack_attributes): Delete prototype.
7516 * c-pragma.c (default_alignment): New static variable.
7517 (push_alignment): Initialize to current effective alignment.
7518 (pop_alignment): Use to set new alignment.
7519 (insert_pack_attributes): Delete function.
7520 (handle_pragma_token): Set default_alignment as well each time
7521 a #pragma pack(<n>) is encountered.
7523 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
7525 * reg-stack.c (stack_result): Aggregates are not returned in
7528 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7530 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
7532 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
7534 * basic-block.h (set_block_num): Declare.
7535 * flow.c (update_life_info): Don't call compute_bb_for_insn
7536 or free_basic_block_vars.
7537 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
7538 (insn_orig_block): Remove.
7539 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
7540 (schedule_block): Keep BLOCK_NUM up-to-date.
7541 (schedule_insns): Use compute_bb_for_insn.
7542 * recog.c (split_all_insns): Likewise.
7543 (peephole2_optimize): Likewise.
7545 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
7547 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
7548 if the pic register is used.
7550 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7552 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
7553 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
7554 if that tests TREE_PERMANENT.
7556 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
7558 * cse.c (invalidate_for_call): Do not remove memory references from
7559 the table here. It's handled elsewhere.
7561 * haifa-sched.c (add_dependence): Protect references to the
7562 true dependency cache with #ifdef INSN_SCHEDULING.
7563 (remove_dependence): Similarly.
7565 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
7566 to the cfg code that this is a return instruction.
7567 * mn10300.md (return_internal): Similarly.
7569 * combine.c (get_last_value): If the last set of a register
7570 is after subst_low_cuid, then we can not use it to determine
7571 the register's last value.
7573 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
7575 * Makefile.in: Back out previous change.
7577 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
7579 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
7581 * haifa-sched.c (add_dependence): Only check/update the cache
7583 (remove_dependence): Likewise.
7584 (schedule_insns): Only create the true_dependency_cache if the
7585 average number of instructions in a basic block is very large.
7587 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
7589 * Makefile.in (ggc-common.o): Depend on genrtl.h.
7590 (ggc-simple.o): Likewise.
7591 (ggc-page.o): Likewise.
7593 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
7595 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
7596 Prototype for exported functions.
7597 (pre_lcm, pre_rev_lcm): Remove prototypes.
7598 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
7599 (compute_available): Move to lcm.c, and change parameter order.
7600 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
7601 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
7602 (gcse_main): No longer call compute_preds_succs. Rebuild the
7603 set table after reach pre pass.
7604 (pre_insert_map, pre_delete_map, edge_list): New.
7605 (alloc_pre_mem): Allocate edge vectors.
7606 (free_pre_mem): Delete edge vectors.
7607 (compute_pre_data): Call new edge based lcm routines.
7608 (process_insert_insn): New function.
7609 (insert_insn_end_bb): Use it.
7610 (pre_edge_insert): New function.
7611 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
7613 (pre_insert_copies): Revamp using new edge based lcm outputs.
7614 (pre_delete): Likewise.
7615 (one_pre_gcse_pass): Insert & remove fake edges to the exit
7617 (compute_code_hoist_vbeinout): New new edge based routines.
7618 * lcm.c: Remove all the old LCM functions. Replace with new ones
7619 that work with the new cfg datastructures and work with edges
7622 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7624 * reload.h (struct reload): Add new fields "mode" and "nregs".
7625 * reload1.c: Change all occurrences of reload_mode and reload_nregs
7626 to reference the "mode" and "nregs" field within struct reload.
7628 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
7630 * haifa-sched.c (true_dependency_cache): New.
7631 (add_dependence): Use the true dependency cache to avoid expensive
7632 walks down the LOG_LINKS dependency list. Add entries to the
7634 (remove_dependence): Remove entries from the true dependency cache
7636 (schedule_insns): Allocate and initialize and free the true
7639 * haifa-sched.c (schedule_insns): Do not remove inter-block
7640 dependencies anymore.
7642 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
7644 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
7645 * i386/t-winnt: Likewise.
7647 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
7649 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
7651 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
7653 * Makefile.in (LANGUAGES): Omit "proto".
7654 (clean): Remove stale comment about removing unprotoize.c.
7656 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7658 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
7659 using arithmetic on void pointers.
7661 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
7663 * haifa-sched.c (compute_block_forward_dependencies): Only check
7664 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
7666 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
7668 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
7669 (expr_equiv_p): Reject memories with different alias sets.
7671 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
7673 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
7674 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
7675 (f_options): Add "bounded-pointers" and "bounds-check" entries.
7676 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
7677 (lang_init): Set default for flag_bounds_check if still "unspecified".
7679 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7681 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
7683 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7685 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
7688 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7690 * config/c4x/c4x.md (*db_noclobber,
7691 *decrement_and_branch_until_zero_noclobber): New patterns and
7692 associated splitters.
7694 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7696 * config/c4x/c4x.md (parallel instruction patterns): Rework
7697 constraints to keep reload happy.
7699 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7701 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
7702 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
7703 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
7704 Add new patterns and associated post-reload splitters.
7706 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7708 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
7710 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7712 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
7714 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
7716 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7718 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
7721 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
7723 * pa.c (move_operand): Rely on memory_address_p to determine the
7724 validity of non-indexed memory addresses.
7725 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
7726 operand in DFmode and SFmode when generating PA2.0 code.
7728 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
7730 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
7732 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
7734 * mips.c (function_prologue): Fix argument types.
7735 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
7736 (casesi_internal): Write to the scratch register.
7738 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
7740 * cppexp.c (cpp_parse_escape): Make static. Change second arg
7742 (parse_charconst): Delete unnecessary cast when calling
7744 (cpplib.h): Kill prototype of cpp_parse_escape.
7746 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
7748 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
7749 * unroll.c (unroll_loop): Cast return value of alloca.
7750 * i370/i370.c: Include function.h and toplev.h.
7751 (i370_label_scan): Remove c++ commented abort.
7752 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
7753 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
7754 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
7755 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
7757 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
7759 * config/t-freebsd: Do not override USER_H.
7760 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
7762 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
7763 Mumit Khan <khan@xraylith.wisc.edu>
7765 * c-parse.in (component_decl): Support anonymous struct/union.
7767 * c-parse.y: Regenerate.
7768 * c-parse.c: Likewise.
7769 * objc/objc-parse.y: Likewise.
7770 * objc/objc-parse.c: Likewise.
7771 * c-decl.c (finish_struct): Don't sort the fields.
7772 (field_decl_cmp): Delete unused function.
7774 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
7776 * sparc.md (movsf_const_intreg): Revert last constraint change.
7777 (movdf_const_intreg_sp32): Likewise.
7779 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
7781 * cse.c: Include hashtab.h instead of splay-tree.h
7782 (struct cse_reg_info): No longer use variant union. Add new
7783 field "regno". All references changed to avoid union.
7784 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
7785 (free_cse_reg_info): Remove.
7786 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
7787 (get_cse_reg_info): Revamp to use expandable hash tables instead
7788 of splay trees. Initialize new fields in cse_reg_info structure.
7789 (new_basic_block): Similarly.
7791 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
7793 * genrecog.c (message_with_line): Prototype.
7794 (validate_pattern): Pass along the set for the dest, not a flag.
7795 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
7796 Check for PC/CC0 as sources.
7797 (nodes_identical): Check for children position match before
7798 allowing the combination.
7800 * rtl.c (read_rtx): Track line number across \\\n.
7802 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
7804 * mips.h (SPECIAL_MODE_PREDICATES): New.
7805 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
7806 (movdi+1, movsi+1): Add output reload constraint.
7807 (casesi_internal): Likewise. Fix commentary.
7808 (return_internal): Use pmode_register_operand.
7810 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
7812 * 1750a.md (movstrqi): Add missing output reload constraint.
7813 (call_value): Likewise.
7814 * a29k.md (cpxxx patterns): Add missing match_operator mode.
7815 (jmpfdec): Add missing inout reload constraint.
7816 * elxsi.md (addsi patterns): Add missing output reload constraint.
7817 (move from sp): Use @ alternates.
7818 (call_value): No constraint on output.
7819 * fr30.md (movsi_pop): Add missing output reload constraint.
7820 (movsf_constant_store): Likewise.
7821 (splits): Remove constraints.
7822 (subsi3): Add missing mode.
7823 * i370.md (cmpstrsi+1): Add missing output reload constraint.
7824 (call_value): Likewise.
7825 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
7826 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
7827 * m32r.md (movsicc_internal): Add output reload constraint.
7828 (movstrsi_internal): Add inout reload constraints.
7829 * m88k.h (reg_names): Don't declare.
7830 (SPECIAL_MODE_PREDICATES): New.
7831 * m88k.md (*): Use register_operand not reg_or_0_operand
7833 * mn10200.h (PREDICATE_CODES): New.
7834 * ns32k.md (ffs pattern): Add output reload constraint.
7835 * pdp11.md (sob pattern): Add inout reload constraint.
7836 * sh.md (splits): Remove constraints.
7837 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
7838 * v850.md (pattern_is_ok_for_epilogue): Likewise.
7839 * vax.md (jgequ pattern): Add inout reload constraint.
7841 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
7843 * configure.in (djgpp): Revert previous patch.
7844 * configure: Rebuit.
7845 * config/i386/djgpp.h: Revert previous patch.
7847 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
7849 * fixinc/inclhack.def: Restore patch lost during last merge of
7850 "no_bogosity" branch.
7851 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
7853 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
7855 * fixincludes: Add a HPUX 11 fix for inttypes.h.
7856 * fixinc/inclhack.def: Same.
7857 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
7859 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
7861 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
7862 as the base of a PLUS.
7864 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7866 * config/c4x/c4x.md: Define mode for remaining unspec operators.
7867 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
7869 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
7871 * pa.md (post_stw+1): Use pmode_register_operand.
7872 (dcacheflush, icacheflush): Likewise.
7874 * i386.md (movstricthi_1): Allow r/r.
7876 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
7878 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
7879 to (not (and (arg0) (arg1))). Similary for and.
7881 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
7882 fallthrough to associate code.
7883 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
7886 * combine.c (simplify_logical): Convert XOR to IOR if operands have
7887 no bits in common; remove XOR to ROTATE conversion.
7889 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7891 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
7893 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7895 * config/c4x/c4x.c (dst_operand): New.
7896 (PREDICATE_CODES): Update.
7897 * config/c4x/c4x.h (dst_operand): Declare it.
7898 * config/c4x/c4x.md: Define mode for each unspec usage.
7899 (move patterns): Use dst_operand predicate instead of src_operand.
7900 (movqi_update, movqf_update): Delete.
7902 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
7904 * recog.c (pmode_register_operand): New.
7905 * recog.h: Declare it.
7906 * genrecog.c (pred_codes): Likewise.
7907 (special_mode_pred_table): Likewise.
7908 (validate_pattern): Don't warn no mode for address_operand.
7910 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
7911 if the operand is not insn-like.
7913 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
7914 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
7916 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
7918 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
7920 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
7921 instead of general_operand in a SET_DEST. Use const_double_operand
7922 instead of an explicit test against CONST_DOUBLE.
7923 (movsf_const_lo): Add missing register mode.
7924 (goto_handler_and_restore): Add auxiliary test for Pmode.
7925 (flush): Adjust to use address_operand.
7926 (return_sf_no_fpu): Add missing output constraint.
7928 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
7930 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
7931 for call return value.
7932 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
7934 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
7936 * toplev.c (main): Only warn about options for other languages.
7937 * collect2.c (main): Pass -w to sub-gcc.
7939 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
7941 * flow.c (propagate_block): Add call-clobbered registers to
7944 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
7945 zapping mem_set_list.
7946 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
7947 (mark_set_1, mark_used_regs): Likewise.
7949 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
7951 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
7953 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7955 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
7956 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
7957 options. Also add a new item "C-only Warning Options" to the
7960 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
7962 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
7963 from multiple calls.
7965 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
7967 * i386.md (call value patterns): Move to the end of the file.
7968 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
7970 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
7972 * configure.in (djgpp configuration): Define extra_objects..
7973 * configure: Rebuilt.
7974 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
7975 (DTORS_SECTION_ASM_OP): Define.
7976 (INIT_SECTION_ASM_OP): Define.
7977 (FINI_SECTION_ASM_OP): Define.
7978 (DATA_SECTION_ASM_OP): Define.
7979 (TEXT_SECTION_ASM_OP): Define.
7980 (EH_FRAME_SECTION_ASM_OP): Define.
7981 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
7982 (STARTFILE_SPEC): Add crtbegin.o.
7983 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
7984 to here from LINK_COMMAND_SPEC.
7985 (DO_GLOBAL_CTORS_BODY): Define.
7986 (CRTSTUFF_USE_FINI_SECTION): Define
7987 (HAS_INIT_SECTION): Delete.
7989 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
7991 * Makefile.in (all.cross): Depend on xcpp$(exeext).
7993 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
7995 * pa.h (PREDICATE_CODES): New.
7997 * genrecog.c (validate_pattern): Condense the destination
8000 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
8002 * alpha.md (call-1): Supply missing mode for operator.
8003 (*): Add missing output reload constraints. Remove constraints
8006 * i386.h (SPECIAL_MODE_PREDICATES): New.
8007 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
8008 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
8009 (addsi_lea_3): Add missing mode for op 3.
8010 (prologue_set_got, prologue_get_pc): Add missing modes.
8011 (*) Add missing output reload constraints.
8013 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
8015 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
8016 check for member bit-size overflow and use var_size if it occurs.
8017 (layout_record): Use bitsize_int() to define the type size in bits.
8018 Likewise for computation and assignment to DECL_FIELD_BITPOS.
8019 (layout_decl): Likewise when assigning to DECL_SIZE.
8021 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
8023 * genrecog.c (validate_pattern): Typo last change. Verify
8024 that output operands have output reloads.
8026 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
8028 * genrecog.c (special_mode_pred_table): New.
8029 (NUM_SPECIAL_MODE_PREDS): New.
8030 (find_operand): New.
8031 (validate_pattern): New argument `insn'. Warn for assignment to
8032 any predicate accepting non-lvalues. Conditionaly warn for
8033 match_operand without a mode. Try much harder to match source
8034 and destination modes on a set.
8035 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
8037 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
8039 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
8041 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
8043 * combine.c (simplify_logical): Recognize xor pattern that encodes
8046 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8048 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
8051 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
8053 * ggc-page.c (MAP_FAILED): Provide default.
8055 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
8057 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
8058 * sparc.h (PREDICATE_CODES): Update.
8060 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
8062 * alpha.c (some_ni_operand): New.
8063 * alpha-protos.h: Declare it.
8064 * alpha.h (PREDICATE_CODES): Update.
8065 * alpha.md (sXaddq reload insns): Use some_ni_operand
8066 for SET_DEST instead of some_operand.
8068 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
8069 Jim Wilson <wilson@cygnus.com>
8071 * genrecog.c (maybe_both_true_2): Don't compare modes of
8073 (process_tree): Elide peephole2_insns. Invoke simplify_tests
8074 after find_afterward.
8075 (debug_decision_1): Dump next and afterward codes.
8077 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
8079 * rtl.c (dump_and_abort): Remove.
8080 (fatal_with_file_and_line): New.
8081 (fatal_expected_char): New.
8082 (read_rtx_lineno, read_rtx_filename): New.
8083 (read_skip_spaces): Track line number.
8084 (read_name): Use fatal_with_file_and_line.
8085 (read_rtx): Use fatal_expected_char. Track line number.
8086 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
8088 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
8089 if it isn't a CODE_LABEL.
8091 * genattr.c (main): Set read_rtx_filename.
8092 * genattrtab.c (main): Likewise.
8093 * gencodes.c (main): Likewise.
8094 * genconfig.c (main): Likewise.
8095 * genemit.c (main): Likewise.
8096 * genextract.c (main): Likewise.
8097 * genflags.c (main): Likewise.
8098 * genopinit.c (main): Likewise.
8099 * genoutput.c (main): Likewise.
8100 * genpeep.c (main): Likewise.
8102 * genrecog.c (decision_test.u.insn): Add `lineno'.
8103 (pattern_lineno, error_count): New variables.
8104 (message_with_line): New.
8105 (add_to_sequence): Break out checking code to ...
8106 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
8107 (merge_insn): Use message_with_line.
8108 (make_insn_sequence): Use validate_pattern. Record insn lineno.
8109 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
8111 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8113 * expr.c (store_constructor): Clear union if constructor is empty.
8115 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
8117 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
8118 Add !endian checks. Change %{...} to %(...).
8120 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
8122 * i386.md (*addsi3_cc): Renamed from addcsi3.
8123 (*addsi3_carry): Renamed from addxsi3.
8124 (*subsi3_cc): Renamed from subcsi3.
8125 (*subsi3_carry): Renamed from subxsi3.
8126 (*xorqi_cc_1): Renamed from xorcqi_1.
8127 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
8128 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
8130 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
8132 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
8133 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
8135 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
8137 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
8138 climb up the chain of insns.
8140 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
8142 * genrecog.c (write_subroutine): Careful for null trees.
8143 (process_tree): Don't elide empty functions.
8145 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
8147 * Makefile.in (genrtl.o): Depend on ggc.h.
8148 * configure.in (valloc): Probe for it.
8149 (with-gc): Use ggc-page if valloc present.
8150 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
8151 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
8152 (ggc_alloc_string): Moved from ggc-page.c.
8153 * ggc-none.c (ggc_alloc_obj): New.
8154 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
8155 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
8156 (struct globals): Likewise for dev_zero_fd.
8157 (init_ggc): Likewise for it's initialization.
8158 (ggc_allocated_p): Move careful dereference from ...
8159 (ggc_lookup_page_table): ... here. Delete.
8160 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
8161 (alloc_anon): Use valloc if no mmap.
8162 (release_pages): Use free if using valloc.
8163 (ggc_alloc_obj): Renamed from alloc_obj.
8164 (ggc_set_mark): Renamed from mark_obj.
8165 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
8166 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
8167 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
8168 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
8169 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
8170 (ggc_collect): Use fp printing instead of our own rounding.
8171 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
8172 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
8173 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
8174 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
8175 (struct ggc_string, struct ggc_any): Delete.
8176 (offsetof): Provide default definition.
8177 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
8179 (struct ggc_mem): New, from corpse of ggc_any.
8180 (struct ggc_status): Delete.
8181 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
8182 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
8183 (n_strings_collected, n_anys_collected): Delete.
8184 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
8185 (ggc_alloc_string, ggc_alloc): Delete.
8186 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
8187 (ggc_free_string, ggc_free_any): Delete.
8188 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
8189 (ggc_compare_addresses, ggc_mark_string): Delete.
8190 (ggc_mark_string_if_gcable, ggc_mark): Delete.
8191 (search_data): Delete.
8192 (struct globals): New.
8193 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
8194 (tree_insert, tree_lookup): New.
8195 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
8196 (clear_marks, sweep_objs): New.
8197 (ggc_collect): Gut. Use clear_marks, sweep_objs.
8198 (init_ggc): Set allocated_last_gc.
8199 (ggc_push_context): Gut. Use G.context.
8200 (ggc_pop_context): Likewise.
8201 (ggc_pop_context_1): New.
8202 (debug_ggc_tree): New.
8203 (debug_ggc_balance, tally_leaves): New.
8204 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
8205 (ggc_mark_string_if_gcable): Remove decl.
8206 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
8207 (ggc_mark_rtvec_children): New.
8208 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
8209 (ggc_mark_if_gcable): New decl.
8210 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
8211 (ggc_alloc_tree, ggc_alloc): Likewise.
8212 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
8213 (ggc_alloc_obj): New decl.
8214 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
8215 (ggc_alloc_tree, ggc_alloc): Likewise.
8216 (ggc_set_mark): New decl.
8217 * rtl.h (struct rtx_def): Remove gc_mark.
8218 (struct rtvec_def): Likewise.
8219 * tree.h (struct tree_common): Likewise.
8221 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
8223 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
8224 float_format and thread_file definitions.
8225 * configure: Rebuilt.
8227 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
8229 * extend.texi (Function Names): Document types of function names.
8231 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8233 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
8234 an earlyclobbered output conflict with RELOAD_INPUT reloads.
8236 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8238 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
8240 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8242 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
8244 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
8246 * collect2.c (main): Do prelimnary link on AIX if rflag.
8248 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8250 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
8251 __CTOR_LIST__ in opposite order, which is the correct order for sorted
8253 (__do_global_dtors): similarly for __DTOR_LIST__.
8255 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8256 Diego Novillo <dnovillo@cygnus.com>
8258 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
8261 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
8263 * fixincl/*: Merged "no_bogosity" branch
8264 * fixincl/fixlib.h: protect against doubly defining t_bool
8265 * fixincl/server.h: protect against doubly defining t_bool
8267 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
8269 * genoutput.c: Include toplev.h.
8271 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
8273 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8275 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
8276 * configure: Regenerate.
8278 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
8280 * gcse.c (delete_null_pointer_checks): Returns void.
8282 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8284 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
8285 * emit-rtl.c (copy_insn_1): Likewise.
8287 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
8289 * config/mips/mips.c (mips_build_va_list): Correct
8290 TREE_CHAIN setting when hard-float.
8291 (mips_va_start): Use corrected setting.
8292 (mips_va_arg): Likewise. Also pass a tree to build of
8293 POSTINCREMENT_EXPR rather than a naked 'int'.
8295 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
8297 * ggc.h (ggc_push_context): Fix comment.
8298 (ggc_pop_context): Likewise.
8299 (mark_string_if_gcable): Likewise.
8300 * ggc-common.c (ggc_mark_rtx_children): Use
8301 ggc_mark_string_if_gcable.
8302 * ggc-page.c (ggc_lookup_page_table): New function.
8303 (ggc_allocated_p): Likewise.
8304 (mark_obj): Fix formatting.
8305 (ggc_mark_string_if_gcable): New function.
8306 * ggc-simple.c (ggc_allocated_strings): New variable.
8307 (ggc_strings_used): Likewise.
8308 (ggc_compare_addresses): New function.
8309 (ggc_pop_context): Pop the `any' memory too.
8310 (ggc_mark_string_if_gcable): New function.
8311 (ggc_collect): Initialize and tear down ggc_allocated_strings.
8313 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
8315 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
8316 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
8317 * rs6000.c (expand_block_move): Match movstrsi_?reg register
8320 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
8322 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
8323 (sched_reg_live_length, sched_reg_basic_block): Delete.
8324 (current_block_num, bb_live_regs, old_live_regs): Delete.
8325 (dead_notes, struct sometimes): Delete.
8326 (sched_note_set, birthing_insn_p): Delete.
8327 (adjust_priority): Gut useless reg lifetime code.
8328 (create_reg_dead_note, attach_deaths): Delete.
8329 (attach_deaths_insn, new_sometimes_live): Delete.
8330 (finish_sometimes_live): Delete.
8331 (find_pre_sched_live, find_post_sched_live): Delete.
8332 (update_reg_usage): Delete.
8333 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
8334 (schedule_insns): Delete reg lifetime code.
8335 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
8336 (unlink_other_notes): Adjust REG_NOTE commentary.
8337 (reemit_notes): Use REG_SAVE_NOTE.
8338 (schedule_block): Likewise.
8339 (schedule_region): Allocate bitmap of blocks in region. Use
8340 count_or_remove_death_notes. Use update_life_info.
8342 * rtl.h (REG_SAVE_NOTE): New.
8343 * rtl.c (reg_note_name): Update.
8345 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
8347 * combine.c (refresh_blocks, need_refresh): New.
8348 (combine_instructions): Allocate refresh_blocks. Invoke
8349 update_life_info if needed.
8350 (distribute_notes): Mark refresh_blocks instead of installing
8352 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
8353 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
8355 * Makefile.in (recog.o): Depend on basic-block.h.
8357 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
8359 * genrecog.c (add_to_sequence): Thinko last change: delete
8360 shadowing allow_const_int variable.
8362 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8364 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
8365 __GNUC__ and __GNUC_MINOR__.
8367 * gansidecl.h: Likewise.
8373 * toplev.h: Likewise.
8379 * varray.c: Likewise.
8381 * varray.h: Likewise.
8383 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8385 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
8386 use one before a jump table.
8388 * rtl.def (ADDRESS): Change documentation to match reality.
8389 * md.texi: Don't document it.
8390 * gmicro.md (load address pattern): Use 'p' constraint, delete use
8393 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
8395 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
8397 * genrecog.c (add_to_sequence): Move allow_const_int test outside
8398 known predicate block; default allow_const_int true.
8399 (debug_decision_list): New.
8401 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
8403 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
8405 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
8407 * gcse.c (gcse_main): Avoid global optimizations if we have a
8408 large number of basic blocks and the ratio of edges to blocks
8410 (delete_null_pointer_checks): Likewise.
8412 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
8414 * c-common.c (check_format_info): Warn if format string isn't a
8417 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8419 * configure.in (arm*-*-*): Don't let autoconf remove brackets
8420 * configure: regenerate
8422 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
8424 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
8425 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
8426 (peepholes): Re-enable.
8428 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
8430 * Makefile.in (flow.o): Depend on TREE_H.
8431 * basic-block.h (REG_SET_EQUAL_P): New.
8434 (free_regset_vector): Remove declaration.
8435 (flow_delete_insn_chain): Declare.
8436 (enum update_life_extent): New.
8437 (update_life_info, count_or_remove_death_notes): Declare.
8438 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
8439 Verify register live at bb->global_live_at_start before adding USE.
8440 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
8441 (CLEAN_ALLOCA): New.
8443 (PROP_*): New flags.
8444 (find_basic_blocks_1): Use alloc_EXPR_LIST.
8445 (clear_edges): Zero n_edges.
8446 (make_edge): Increment n_edges.
8447 (split_edge): Don't allocate bb->local_set. Increment n_edges.
8448 (flow_delete_insn_chain): Export.
8449 (delete_block): Decrement n_edges.
8450 (merge_blocks_nomove): Likewise.
8451 (life_analysis): Give life_analysis_1 PROP flags.
8452 (verify_wide_reg_1, verify_wide_reg): New.
8453 (verify_local_live_at_start): New.
8454 (update_life_info): Rewrite to call into propogate_block.
8456 (mark_regs_live_at_end): After reload, if epilogue as rtl,
8457 always mark stack pointer. Conditionally mark PIC register.
8458 After reload, mark call-saved registers, return regsiters.
8459 (life_analysis_1): Accept PROP flags not remove_dead_code.
8460 Call mark_regs_live_at_end before zeroing regs_ever_live.
8461 Use calculate_global_regs_live. Copy global_live_at_end before
8462 calling final propagate_block. Zero reg_next_use on exit.
8463 (calculate_global_regs_live): New.
8464 (allocate_bb_life_data): Don't allocate bb->local_set.
8465 (init_regset_vector, free_regset_vector): Remove.
8466 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
8467 Test flags before every operation. Warn if prologue/epilogue insn
8468 would have been deleted.
8469 (mark_set_regs, mark_set_1): Accept and use FLAGS.
8470 Use alloc_EXPR_LIST.
8471 (mark_used_regs): Accept and use FLAGS, not FINAL.
8472 Remove special handling for RETURN.
8473 (try_pre_increment): Use alloc_EXPR_LIST.
8474 (dump_flow_info): Dump n_edges.
8475 (unlink_insn_chain, split_hard_reg_notes): Remove.
8476 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
8477 (find_insn_with_note, new_insn_dead_notes): Remove.
8478 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
8479 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
8480 (replace_insns): Remove.
8481 (count_or_remove_death_notes): New.
8482 (verify_flow_info): Abort on error after all checks.
8483 (remove_edge): Decrement n_edges.
8484 (remove_fake_edges): Tweek format.
8485 * haifa-sched.c (schedule_insns): Use split_all_insns.
8486 * output.h (update_life_info): Remove declaration.
8487 * recog.c (split_all_insns): From the corpse of split_block_insns,
8488 do the whole function block by block. Use update_life_info.
8489 (recog_last_allowed_insn): New.
8490 (recog_next_insn): Mind it.
8491 (peephole2_optimize): Set it. Walk backwards through blocks.
8492 Use update_life_info.
8493 * rtl.h (update_flow_info, replace_insns): Remove declarations.
8494 (split_all_insns): Declare.
8495 * toplev.c (rest_of_compilation): Thread prologue before flow2.
8496 Use split_all_insns.
8498 * i386.md (or -1 peep2s): Disable.
8500 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
8502 * config/mips/mips.md (movstrsi+[123]) : Combine these into
8503 a single pattern. Scrap the 'd' versions as unnecessary.
8505 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
8506 tablejump_mips162,tablejump_internal4): The operands to a
8507 label_ref must be VOIDmode.
8509 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8511 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
8513 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
8515 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
8517 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
8519 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
8520 cache every function if ggc_p.
8522 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8524 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
8525 instead of copy_rtx. Accept sequences that contain asm statements.
8526 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
8527 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
8528 orig_asm_operands_vector, copy_asm_operands_vector,
8529 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
8531 * rtl.h (copy_insn, copy_insn_1): Declare.
8533 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8535 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
8537 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
8538 arguments to `current_file_function_operand'.
8540 * genrecog.c: Include hard-reg-set.h and resource.h in the
8541 generated output file.
8543 * real.c: Include tm_p.h.
8545 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8547 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
8550 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
8552 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
8553 before the fctiwz insn.
8555 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8556 Mark Mitchell <mark@codesourcery.com>
8558 * tree.c (make_lang_type_fn): New funtion pointer.
8559 (make_lang_type): Call it.
8560 * tree.h (make_lang_type): Declare.
8561 (make_lang_type_fn): Likewise.
8562 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
8564 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
8566 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
8567 make sure that HIGH instructions are copied into BASE_REGS.
8569 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
8571 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
8573 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
8575 * c-decl.c (finish_struct): Use simpler method of
8576 removing elements of a singly-linked list.
8578 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
8580 * alpha.md (peephole2's): Comment out peephole2's that generate
8583 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
8585 * genrecog.c (add_to_sequence): Disable mode check for
8588 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8590 * ggc-simple.c (init_ggc): Set empty_string.
8592 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
8594 * configure.in: Detect mmap. Add --with-gc=foo to select
8595 garbage collector; default to page if mmap available.
8596 * Makefile.in (GGC): Substitute.
8598 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
8600 * c-decl.c (ggc_p): Enable.
8602 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8604 * flow.c (verify_flow_info): Make it extern & unconditionally define.
8606 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
8608 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
8609 string for little-endian-data.
8611 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
8613 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
8614 case somebody tries to compile --enable-checking code with gcc
8617 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
8619 * genrecog.c (add_to_sequence): Verify operand to label_ref is
8622 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
8624 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
8625 * jump.c (jump_optimize_1): Document why.
8627 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8629 * collect2.c (scan_prog_file, scan_libraries): Prototype function
8630 pointers and casts for `int_handler' and `quit_handler'.
8632 * flow.c (verify_flow_info, split_hard_reg_notes,
8633 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
8634 remove_edge, remove_fake_successors): Add static prototypes.
8635 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
8636 (mark_set_1): Initialize variable `regno'.
8637 (unlink_insn_chain): Likewise for variable `curr'.
8638 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
8640 * loop.c (strength_reduce): Initialize variable
8641 `unrolled_insn_copies'.
8642 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
8643 prototypes. Change these functions to take const PTR parameters
8644 to avoid prototype conflict when used as the comparson argument
8646 (check_dbra_loop): Initialize variable `comparison_val'.
8648 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
8649 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
8650 (find_valid_class): Initialize variable `best_class'.
8651 (find_reloads): Call memcpy, not bcopy.
8653 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
8654 (hard_reg_use_compare): Don't needlessly cast away const.
8655 (reload_reg_class_lower): Likewise.
8656 (choose_reload_regs): Initialize variable `regno'.
8658 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
8660 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
8662 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
8664 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
8665 ({,d}discard): Add forward declarations. Declare parameter as
8667 (main_without_main): Explicitly declare return type to be int.
8668 (memcpy): Properly declare.
8670 * libgcc2.c (toplevel): If inhibit_libc is defined and not
8671 building the trampoline support, declare malloc, free, and
8673 (__clear_cache): Mark arguments as potentially unused.
8675 * frame.c (toplevel): If inhibit_libc is defined, declare
8678 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
8680 * flow.c (make_edge): Accept an optional 2D bitmap in which
8681 to cache edge existence. Update all callers.
8682 (make_label_edge, make_eh_edge): Pass through the edge cache.
8683 (make_edges): Provide the cache.
8685 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8687 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
8689 (local_mbtowc): Change the type of variable `i' from int to size_t.
8691 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
8692 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
8694 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
8696 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
8697 after other includes that define the appropriate types. Include
8698 tm_p.h for getting user prototypes.
8699 * ggc-callbacks.c (toplevel): Ditto.
8700 * ggc-none.c (toplevel): Ditto.
8701 * gcc-page.c (toplevel): Ditto.
8702 * ggc-simple.c (toplevel): Ditto.
8704 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
8705 Jonathan Larmour <jlarmour@cygnus.co.uk>
8707 * config/mips/mips.c (mips_move_2words): Split doubles if
8708 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
8710 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
8712 * genrecog.c (struct decision_test): New.
8713 (struct decision): Remove test-related members, sort the rest by size.
8714 (IS_SPLIT): Simplify.
8715 (new_decision, new_decision_test): New.
8716 (add_to_sequence): Use them. No special handling for args of
8718 (maybe_both_true): Renamed from not_both_true; return sense changed.
8719 (maybe_both_true_1, maybe_both_true_2): New. Broken out
8720 of maybe_both_true and adjusted for decision_test.
8721 (position_merit): Remove.
8722 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
8723 (merge_accept_insn): New, broken out of merge_trees.
8724 (merge_trees): Use them. No special case for c_test; no node
8725 splitting; use test type instead of position_merit.
8726 (factor_tests): New.
8727 (simplify_tests): New.
8728 (break_out_subroutines): Don't write code now.
8729 (find_afterward): New.
8730 (write_afterward, write_switch, write_cond): New.
8731 (write_action, is_unconditional): New.
8732 (write_node): New. Use them.
8733 (write_tree_1): Rewrite. Use the new functions above.
8734 (write_tree): Remove afterward processing.
8735 (write_subroutine): Simplify function variant emission.
8736 (write_subroutines): New.
8737 (same_codes, clear_codes): Remove.
8738 (same_modes, clear_modes): Remove.
8739 (write_header): New, broken out of main.
8740 (make_insn_sequence): Use new_decision and new_decision_test.
8741 (process_tree): New, broken out of main.
8742 (main): Adjust for merge_trees interface change.
8743 Don't #define operands in the output file.
8744 (record_insn_name): New, broken out of make_insn_sequence.
8745 (debug_decision_2, debug_decision_1, debug_decision_0): New.
8746 (debug_decision): New.
8748 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
8750 * resource.c (find_free_register): Mark class_str argument const.
8751 * resource.h: Update prototype to match.
8753 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
8754 * i386.md: Give all anonymous insns names.
8756 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
8758 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
8761 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
8763 * toplev.c (dbr_sched_time): Unconditional.
8764 (peephole2_time): New.
8765 (compile_file): Add pass numbers to all of the dump file suffixes.
8766 Dump peephole2_time. Don't dump times for non-applicable passes.
8767 (rest_of_compilation): Add pass numbers to dump file suffixes.
8768 Conditionalize calls to the scheduler.
8769 * invoke.texi: Update.
8771 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
8773 * flow.c (make_edges): Fix insn iteration.
8774 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
8775 (find_basic_blocks_1): Fix spelling mistake.
8777 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
8779 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
8780 always have side-effects. Use memset not bzero.
8781 (make_node): Likewise.
8783 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
8785 * stmt.c (expand_anon_union_decl): When any of the elements of the
8786 union is addressable, so is the entire union.
8788 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
8790 * sbitmap.c (sbitmap_ones): Don't set too many bits.
8792 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
8793 * bitmap.c (bitmap_operation): Return true iff TO changed.
8794 (bitmap_equal_p): New.
8795 (bitmap_bit_p): Tidy arithmetic.
8796 (debug_bitmap_file): Likewise.
8798 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
8800 * toplev.c (rest_of_compilation): Turn on cse_not_expected
8801 before cse2 instead of after.
8803 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
8805 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
8808 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8810 * cppinit.c (is_idchar initializer): Loosen tests to accept
8813 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
8815 * mips.md: Define conditional move patterns for floating point
8816 operands and DI mode conditions.
8818 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
8820 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
8821 always have side-effects.
8823 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
8825 * mn10200.c (asm_file_start): Fix typo.
8827 * cppinit.c (is_idchar initializer): Tighten tests for when
8828 to put the table into initialized memory.
8830 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
8831 not an array of rtunion.
8832 * gcc-page.c (ggc_alloc_rtvec): Similarly.
8833 * gcc-simple (ggc_free_rtvec): Similarly.
8835 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
8838 * mbchar.h: Add missing #endif.
8840 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
8841 (FPBIT, DPBIT): Define.
8843 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8845 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
8847 * profile.c (instrument_arcs, output_gcov_string,
8848 tablejump_entry_p): Add static prototypes.
8849 (output_gcov_string): Constify a char*.
8851 * regmove.c (replacement_quality, fixup_match_2): Add static
8854 * resource.h (reg_dead_p): Add extern prototype.
8856 * rtl.c (trim_filename): Add static prototype.
8858 * scan-decls.c (skip_to_closing_brace): Likewise.
8860 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
8861 (expand_end_case): Initialize variable `range'.
8862 (emit_case_nodes): Remove unused prototype `rtx_fn'.
8864 * varasm.c (asm_emit_uninitialised): Add static prototype.
8865 (asm_emit_uninitialised, assemble_variable): Mark parameter with
8868 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8870 * cpplib.c (if_directive_nameo): Add static prototype.
8872 * cse.c (cse_insn): Remove unused variable `p'.
8874 * except.c (create_rethrow_ref, push_entry,
8875 receive_exception_label, new_eh_region_entry, find_func_region,
8876 clear_function_eh_region, process_nestinfo): Add static prototypes.
8877 (get_reg_for_handler): Hide definition.
8878 (process_nestinfo): Initialize variable `extra_handlers'.
8880 * expr.h (expand_builtin_longjmp): Add extern prototype.
8882 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
8884 * function.c (prepare_function_start): Likewise.
8885 (pop_function_context_from): Mark parameter `context' with
8887 (push_temp_slots_for_block, flush_addressof): Hide definition.
8889 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
8890 solve_program_flow_graph, calculate_branch_probs,
8891 function_summary, main, fancy_abort): Add prototypes.
8893 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
8894 (add_hash): Constify a char*.
8896 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
8897 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
8898 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
8900 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
8902 * lists.c (free_list, zap_lists): Likewise.
8904 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8906 * alias.c (nonlocal_reference_p): Add static prototype.
8908 * bitmap.c (bitmap_element_allocate): Prototype args in function
8911 * builtins.c (stabilize_va_list): Add static prototype.
8912 (expand_builtin_va_arg): Constify a char*.
8914 * c-lex.c (getch, put_back, extend_token_buffer_to,
8915 read_line_number, token_getch, token_put_back): Add static
8918 * c-parse.gperf (hash, is_reserved_word): Likewise.
8920 * cccp.c (is_dir_separator): Likewise.
8922 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8924 * graph.h: New file to prototype functions exported by graph.c.
8926 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
8928 * graph.c: Include graph.h.
8930 * toplev.c: Likewise. Remove redundant prototypes.
8932 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
8934 * invoke.texi: Removed duplicated description for -Q.
8936 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
8938 * extend.texi: Grammar fix in __extension__ text.
8940 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
8942 * md.texi (define_peephole2): New section.
8944 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
8946 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
8947 (mov $-1 to or peepholer): Enable for pentium when optimizing for
8950 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
8952 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
8954 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
8956 * i386.md (ffs expander): Emit Pentium friendly code for
8959 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
8961 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
8965 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8967 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
8969 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
8971 * config/m68k/m68k.c (use_return_insn): Return false if the pic
8974 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8976 * md.texi (No Constraints): Delete section.
8977 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
8978 * final.c (final_scan_insn): We always have register constraints.
8979 * genattrtab.c: Don't include "insn-config.h".
8980 (write_attr_case): We always have register constraints.
8981 * genconfig.c (register_constraint_flag): Delete.
8982 (walk_insn_part): Don't check whether we have register constraints.
8983 (main): Don't write out "#define REGISTER_CONSTRAINTS".
8984 * genoutput.c (have_constraints): Delete.
8985 (main): Don't set it.
8986 (output_operand_data): We always have constraints.
8987 (scan_operands): Likewise.
8988 (compare_operands): Likewise.
8989 * local-alloc.c (block_alloc): We always have constraints.
8990 (requires_inout): Always compile this function.
8991 * recog.c (extract_insn): We always have constraints.
8992 (constrain_operands, reg_fits_class_p): Always compile these
8994 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
8996 (struct insn_operand_data): Likewise.
8997 * regclass.c (regclass): We always have constraints.
8998 (record_reg_classes, copy_cost, record_address_regs,
8999 auto_inc_dec_reg_p): Always compile these functions.
9000 * regmove.c (regmove_optimize): We always have constraints.
9001 * reload.c (find_reloads): Likewise.
9002 * reload1.c (reload): Likewise.
9003 (reload_cse_simplify_operands): Likewise.
9004 * i860.c (output_delay_insn): Likewise.
9006 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
9008 * iris6.h (BUILD_VA_LIST_TYPE): Define.
9010 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9012 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
9013 for the va_list record.
9015 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
9017 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
9020 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
9022 * alias.c: Include insn-flags.h.
9023 * Makefile.in (alias.o): Update.
9025 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
9027 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
9028 to LTU and GEU. Handle more cases using sbb.
9030 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
9032 * i386.md (truncatexfdf splitters): Do not use subreg.
9033 (fop XFmode patterns): Fix mode in operand testing.
9035 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
9037 * jump.c (jump_optimize_1): Amend last change to test only the
9038 form of the operand, not the insn.
9040 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
9041 not register_operand to determine when B may need preloading.
9043 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
9045 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
9046 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
9047 (call-value patterns): Move to end of file.
9048 (*): Remove mode from label_ref in (pc) context.
9049 (movstrqi): Use memory not general_operand for BLKmode operands.
9050 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
9051 to register_operand operands.
9052 (peep2 patterns): Convert from commented-out peephole patterns.
9054 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9056 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
9057 to BUILT_IN_INIT_DWARF_REG_SIZES.
9058 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
9059 Renamed from BUILT_IN_DWARF_REG_SIZE; call
9060 expand_builtin_init_dwarf_reg_sizes.
9061 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
9062 with __builtin_init_dwarf_reg_size_table.
9063 * dwarf2out.c (struct reg_size_range): Delete.
9064 (expand_builtin_init_dwarf_reg_sizes): New function.
9065 (expand_builtin_dwarf_reg_size): Delete.
9066 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
9067 (expand_builtin_dwarf_reg_size): Don't declare.
9068 * libgcc2.c (dwarf_reg_size_table_initialized): New.
9069 (dwarf_reg_size_table): New.
9070 (init_reg_size_table): New function.
9071 (copy_reg): Use dwarf_reg_size_table.
9072 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
9075 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
9077 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
9078 Correctly build argument list to constructor and destructor functions.
9080 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
9082 * c-tree.h (warn_float_equal): Declare.
9083 * c-decl.c (warn_float_equal): Define.
9084 (c_decode_option): Recognize -W[no-]float-equal.
9085 * c-typeck.c (build_binary_op): Conditionally warn
9086 about equality tests of floating point types.
9087 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
9088 * invoke.texi: Add docs for -Wfloat-equal warning.
9090 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
9092 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
9093 generating RTL directly.
9094 * mips.h (INIT_TARGET_OPTABS): Likewise.
9095 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
9097 * expr.h (init_mov_optab): Delete declaration
9099 * h8300.c (WORD_REG_USED): Update to avoid useless register
9100 saves in interrupt functions and functions which never return.
9102 * cse.c (struct set): Delete inner_dest_loc field.
9103 (cse_insn): Remove assignments to inner_dest_loc field.
9105 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
9107 * ggc-page.c: Don't include <unistd.h> etc taken care of
9108 by "system.h". Include <sys/mman.h> afterward.
9110 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
9112 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
9115 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
9117 * xcoffout.c (xcoffout_declare_function): Add documentation.
9118 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
9119 TARGET_64BIT. Compare constant to -1, not bit pattern.
9120 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
9121 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
9124 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
9126 * dwarf2out.c (add_abstract_origin_attribute): Abort if
9128 (gen_inlined_enumeration_type_die): Do not abort if the type has
9129 not been writeen out.
9130 (gen_inlined_structure_type_die): Do not abort if the type has
9131 not been writeen out.
9132 (gen_inlined_union_type_die): Do not abort if the type has
9133 not been writeen out.
9134 (gen_tagged_type_instantiation_die): Do not abort if the type
9135 has not been written out.
9137 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9139 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
9141 * reg-stack.c (straighten_stack): Copy hard reg set with
9144 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
9146 * builtins.c (stabilize_va_list): Stabilize array type va_list
9147 to a pointer type, not the base record type.
9148 (expand_builtin_va_copy): Dereference the pointers explicitly;
9149 use the correct size for the copy.
9151 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
9152 (rs6000_va_arg): Likewise.
9154 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
9156 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
9158 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
9160 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
9162 (DECL_BUILT_IN_CLASS): Adjust accordingly.
9164 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
9166 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
9167 (init_ggc): Use it instead of a constant.
9168 (ggc_collect): Bound allocated_last_gc by it.
9170 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
9172 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
9175 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
9177 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
9178 (mips*-*-openbsd*): Let big endian configuration be a fragment.
9180 * config/mips/openbsd.h: New, OpenBSD little endian target.
9181 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
9182 * config/mips/xm-openbsd.h: New, OpenBSD host.
9184 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
9186 * config/m68k/m68k.c (output_function_prologue,
9187 output_function_epilogue): Use
9188 current_function_uses_pic_offset_table instead of regs_ever_live
9189 to decide whether to save/restore pic register.
9190 (legitimize_pic_address): Don't modify regs_ever_live any more.
9192 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
9194 * function.h (struct function): Add x_dont_save_pending_sizes_p.
9195 * stor-layout.c (variable_size): Don't add sizes to the pending
9196 sizes list if x_dont_save_pending_sizes_p is set.
9198 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
9200 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
9201 for symbolic_operand().
9202 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
9204 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9206 * combine.c (gen_rtx_combine): Add missing call to va_end().
9208 * final.c (asm_fprintf): Likewise.
9210 * genattrtab.c (attr_rtx): Likewise.
9212 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
9214 * cse.c: Update comments.
9215 (cse_insn): When converting a conditional/computed jump into
9216 an unconditional jump, always make sure a BARRIER immediately
9217 follows the converted jump. Do not delete unreachable code.
9218 (cse_basic_block): Do not delete unreachable code.
9219 * toplev.c (rest_of_compilation): Move call to
9220 delete_trivially_dead_insns after the conditional call to
9223 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9225 * collect2.c (make_temp_file): Don't prototype.
9227 * gcc.c (make_temp_file): Likewise.
9229 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
9231 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
9233 * varasm.c (asm_emit_uninitialised): New function: Generate
9234 the assembler statements necessary to declare an uninitialised
9236 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
9238 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
9239 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
9241 (assemble_variable): Use asm_emit_uninitialised to emit an
9242 uninitialised variable.
9244 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
9246 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
9247 constant on a 64 bit host. Patch supplied by Geoffrey Keating
9248 <geoffk@cygnus.com>.
9250 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9252 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
9253 * c-common.h (builtin_function): Don't declare.
9255 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
9257 (pushdecl): Likewise.
9258 (finish_decl): Likewise.
9259 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
9260 int. All callers changed.
9261 Set the builtin's DECL_BUILT_IN_CLASS.
9262 * tree.h (enum built_in_class): New.
9263 (enum built_in_function): Delete NOT_BUILT_IN.
9264 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
9266 (DECL_SET_FUNCTION_CODE): Likewise.
9267 (DECL_BUILT_IN_CLASS): New macro.
9268 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
9269 (struct tree_decl): Split builtin function code field into a
9271 (builtin_function): Declare.
9273 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
9275 * optabs.c (init_traps): Fix typo in last change.
9277 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
9279 * toplev.c (rest_of_decl_compilation): Update comment.
9281 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
9283 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
9284 in .sbss if appropriate.
9285 (EXTRA_SECTION_FUNCTIONS): Add sbss.
9286 (SBSS_SECTION_ASM_OP): New macro.
9287 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
9288 (EXTRA_SECTIONS): Add in_sbss.
9289 * config/mips/mips.h: Prototype sbss_section.
9291 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
9293 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
9296 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
9298 * optabs.c (init_traps): Register trap_rtx as a GC root.
9300 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9302 * config/mips/mips.c (function_arg_pass_by_reference): Define
9303 unconditionally, since it's called unconditionally.
9305 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
9307 * toplev.c (documented_lang_options): Add -fshort-wchar.
9308 * c-decl.c (c_decode_option): Likewise.
9309 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
9311 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
9312 * gcc.c (default_compilers): If -fshort-wchar,
9313 override __WCHAR_TYPE__.
9314 * tm.texi (C Dialect Options): Add -fshort-wchar.
9316 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
9317 symbol for a variable.
9319 * cpplib.h (CPP_PREPROCESSED): New macro.
9320 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
9321 we're seeing this input for a second time.
9323 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
9325 * emit-rtl.c (init_emit_once): Initialize modes first.
9327 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
9329 * config/i386/i386.c (pic_label_name): Change to char pointer.
9330 (global_offset_table): New variable.
9331 (load_pic_register): Fill global_offset_table if it hasn't
9332 already been done. Allocate pic_label_name dynamically.
9333 * ggc.h (empty_string): New variable.
9334 * ggc-simple.c (empty_string): Likewise.
9335 (init_ggc): Allocate empty_string and add as root.
9336 * stmt.c (digit_strings): New variable.
9337 (init_stmt): Add last_block_end_note as root. Allocate and
9338 initialize digit_strings.
9339 (expand_asm_operands): Use empty_string instead of string
9340 constant. Use digit_strings instead of string constants.
9341 * profile.c (init_arc_profiler): Allocate string with
9342 ggc_alloc_string instead of xmalloc.
9343 (output_func_start_profiler): Likewise.
9344 * c-typeck.c (digest_init): Check if init is error_mark_node.
9346 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
9347 Richard Henderson <rth@cygnus.com>
9349 * ggc-page.c: New file.
9350 * Makefile.in (ggc-page.o): New.
9352 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
9354 * invoke.texi: Document -fdelete-null-pointer-checks
9355 * toplev.c (flag_delete_null_pointer_checks): New.
9356 (f_options): Add entry for -fdelete-null-pointer-checks.
9357 (rest_of_compilation): Conditionalize null pointer check
9358 elimination on flag_delete_null_pointer_checks.
9359 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
9361 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
9363 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
9364 copyright notice and special exception to GPL.
9366 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9368 * abi64.h (mips_function_value): Add prototype arguments.
9370 * mips-protos.h: New file with mips prototypes.
9372 * mips.c: Include "tm_p.h".
9373 (mktemp, lookup_name): Add prototype arguments.
9374 (extern_list, string_constant, mips_fill_delay_slot,
9375 mips_output_external, mips_output_external_libcall,
9376 mips_output_filename, mips_declare_object, function_prologue,
9377 mips_expand_prologue, function_epilogue, mips16_constant,
9378 build_mips16_function_stub, mips_output_conditional_branch):
9380 (mips_va_start): Remove unused variable `u'.
9381 (mips_va_arg): Cast value to unsigned when comparing against one.
9383 (save_restore_insns, mips_expand_prologue): Add missing arg in
9384 call to `large_int'.
9386 * mips.h: Move prototypes to mips-protos.h.
9387 (data_section, memory_address_p, rdata_section,
9388 readonly_data_section, simple_epilogue_p, text_section): Delete
9389 prototypes delcared elsewhere.
9390 (mips_epilogue_delay_slots, print_options): Delete unused decls.
9392 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
9394 * mips.md: Delete extra args in call to `mips_move_2words'.
9396 * xm-iris6.h (alloca): Add prototype argument.
9398 * genpeep.c: Include "tm_p.h" in generated output file.
9400 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9402 * basic-block.h (find_edge_index): Change parameters.
9403 * flow.c (verify_edge_list): Pass basic_block parameters to
9404 find_edge_index instead of integers.
9406 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
9408 * combine.c (simplify_comparison): Use an unsigned shift to adjust
9411 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
9413 * gcc.1: Fix a formatting error.
9415 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9417 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
9418 i786, mn10200, mn10300, pdp11, v850.
9420 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
9422 * libgcc2.c (num_digits): Add prototype with
9423 __attribute__((const)).
9424 (__terminate): Add prototype.
9426 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
9428 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
9430 * alpha/alpha.c (print_operand): Fix type of `code'.
9431 (alpha_output_filename): Constify.
9432 * alpha/alpha.h: Move all function declarations ...
9433 * alpha/alpha-protos.h: ... here. New file.
9434 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
9435 (SECTION_FUNCTION_TEMPLATE): Likewise.
9437 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9439 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
9440 * expr.c (expand_expr): Likewise.
9441 (do_jump): Likewise.
9442 (do_store_flag): Pass ccp_store_flag to can_compare_p.
9443 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
9445 (enum can_compare_purpose): New.
9446 (can_compare_p): Adjust prototype.
9447 (prepare_cmp_insn, prepare_operand): Declare.
9448 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
9449 * optabs.c (cmp_available_p): Deleted.
9450 (expand_abs): Pass ccp_jump to can_compare_p.
9451 (can_compare_p): New arg PURPOSE. Check for combined optabs.
9452 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
9453 Call can_compare_p rather than cmp_available_p.
9454 (prepare_operand): No longer static.
9455 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
9456 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
9457 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
9458 sequence to use emit_cmp_and_jump_insns.
9459 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
9461 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
9463 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
9464 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
9465 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
9466 (plus (reg) (const_int 0))
9467 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
9469 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
9471 * rs6000.c (expand_block_move): DImode loads and stores require
9472 word-aligned displacements. Increment address registers with
9473 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
9475 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
9477 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
9478 is no name for the base type, rather than segfault. If we are
9479 writing out a complex integer type, use DW_ATE_lo_user.
9481 * expr.c (emit_move_insn_1): If we are copying a complex that fits
9482 in one word or less (complex char, complex short, or on 64 bit
9483 systems complex float) to/from a hard register, copy it through
9484 memory instead of dying in gen_{real,imag}part. If we have a
9485 short complex type, prevent inlining since it allocates stack
9488 * tree.c (build_complex_type): If we are writing dwarf2 output,
9489 generate a name for complex integer types.
9491 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9493 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
9494 * flow.c (remove_edge): Remove extra whitespace.
9495 (remove_fake_edges): Fix comment.
9496 (add_noreturn_fake_exit_edges): Use the correct name.
9498 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
9500 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
9501 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
9502 (clean): Depend on INTL_CLEAN.
9503 (maintainer-clean): Adjust.
9505 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9507 * configure.in (AC_PREREQ): Bump to 2.13.
9508 (AC_C_STRINGIZE): Call this instead of using a custom macro.
9510 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
9512 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
9514 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
9516 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
9517 (HAVE_STRINGIZE): Define.
9519 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
9521 * c-parse.in: save and restore warn_pointer_arith on __extension__
9522 along with pedantic.
9523 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
9524 Set the type of extension to itype rather than $<itype>1 kludge.
9525 * extend.texi (Alternate Keywords): Adjust documentation.
9526 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
9528 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
9530 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
9531 most assembler templates.
9533 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
9534 FP loads and stores.
9535 (following_call): Always return zero for the PA8000.
9536 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
9537 FP loads and stores.
9538 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
9540 * pa.h (BRANCH_COST): Define.
9542 * pa.md (return, return_internal): Use bve for PA2.0.
9544 * pa.md (fused multiply): Add variants which reduce height for the
9545 fused multiply, but which still generate 2 insns.
9546 (fnegabs): Similarly.
9548 * pa.md (subsi3): Turn into an expander. Create two anonymous
9549 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
9550 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
9552 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
9554 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
9556 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
9557 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
9559 * regclass.c (init_regs): Add "top_of_stack" as a garbage
9562 * flow.c (record_active_eh_regions): Terminate loop after finding
9563 the last insn in the last basic block.
9565 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9567 * config/c4x/c4x.md: Delete parallel instruction peepholes.
9569 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9571 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
9573 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9575 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
9576 splitting to not use output template.
9578 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9580 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
9581 * config/c4x/c4x.c (c4x_va_start): New function.
9583 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
9585 * genrecog.c (not_both_true): Handle correctly cases when called for
9586 tests with different positions in the insn.
9588 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9590 * machmode.h (HOST_PTR_PRINTF): Move from here ...
9592 * system.h (HOST_PTR_PRINTF): ... to here.
9594 * mips-tfile.c: Don't include machmode.h.
9596 * Makefile.in (MACHMODE_H): New variable. Update to use it.
9597 (mips-tfile.o): Don't depend on machmode.h.
9599 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9601 * haifa-sched.c (sched_analyze): Rename local variable `region' to
9602 avoid conflicts with typedef struct `region' at the top level scope.
9604 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
9606 * basic-block.h (basic_block): Add eh_beg, eh_end.
9607 * flow.c (entry_exit_blocks): Update.
9608 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
9610 (find_basic_blocks_1): Don't record eh_list at each bb. Use
9611 lists.c functions to allocate insn lists.
9612 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
9614 (make_eh_edge): ... here. New.
9615 (move_stray_eh_region_notes): New.
9616 (record_active_eh_regions): New.
9617 (delete_unreachable_blocks): Split out block merging ...
9618 (try_merge_blocks): ... here. New.
9619 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
9620 Dump debugging data.
9621 (merge_blocks_move_successor_nojumps): Likewise.
9622 (merge_blocks): Use eh_beg+eh_end to validate block movement.
9624 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9626 * extend.texi (Bound member functions): Document unbound pmf
9629 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9631 * flow.c (split_edge): Handle insertion on a fallthrough edge which
9632 has the EXIT_BLOCK as a dest.
9634 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9636 * flow.c (remove_edge): New function to remove an edge from the
9638 (remove_fake_successors): New function to remove fake successor edges.
9639 (remove_fake_edges): New function to remove all fake edges from the
9641 (add_fake_exit_edges): New function to add fake edges from all blocks
9642 with no successors to the exit block.
9643 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
9644 prototypes for new functions.
9646 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9648 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
9649 Use Pmode to determine whether to output .dword or .word.
9651 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
9653 * tree.c (built_in_filename): New variable.
9654 (BUILT_IN_FILENAME): New macro.
9655 (init_tree_codes): Allocate built_in_filename.
9656 (make_node): Use built_in_filename instead of string constant.
9658 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
9660 * configure.in: Add fr30 target.
9661 * configure: Regenerate.
9662 * config/fr30: New directory.
9663 * config/fr30/crti.asm: New file.
9664 * config/fr30/fr30.c: New file.
9665 * config/fr30/crtn.asm: New file.
9666 * config/fr30/fr30.h: New file.
9667 * config/fr30/fr30.md: New file.
9668 * config/fr30/lib1funcs.asm: New file.
9669 * config/fr30/t-fr30: New file.
9670 * config/fr30/xm-fr30.h: New file.
9672 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
9674 * flow.c (merge_blocks_move_successor_nojumps): Delete the
9675 BARRIER at the end of the successor, not the BARRIER before
9678 * pa.c (pa_add_gc_roots): Fix thinko in last change.
9680 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
9682 * stmt.c (any_pending_cleanups): Don't crash when
9683 current_function->stmt is unset.
9685 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9687 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
9688 other initializations that may use it for relative offsets.
9690 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9692 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
9693 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
9694 * config/i386/sol2dbg.h: Removed.
9695 * config/i386/sol2gas.h: New file, to enable gas work-around.
9696 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
9697 Don't use sol2dbg.h.
9698 * configure: Rebuilt.
9700 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
9702 * invoke.texi (-fthis-is-variable): Remove documentation.
9704 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
9706 * basic-block.h (compute_bb_for_insn): Declare.
9707 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
9708 to use; set size of basic_block_for_insn directly.
9709 (find_basic_blocks): Update.
9711 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9713 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
9715 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9717 * crtstuff.c (ON_EXIT): Delete empty macro definition.
9718 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
9720 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
9722 * c-decl.c (c_decode_option): Extend comment.
9724 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
9726 * toplev.c (progname): Make 'const char *'
9727 (flag_print_mem): Move out of main.
9728 (version_flag): Move out of main.
9729 (filename): Move out of main.
9730 (debug_args): Remove g prefix from options.
9731 (documented_lang_options): Remove cpplib specific options.
9732 (display_help): Add g prefix to debug options.
9733 (check_lang_option): Delete this function.
9734 (decode_d_option): New function: Decode -d... option.
9735 (decode_f_option): New function: Decode -f... option.
9736 (decode_W_option): New function: Decode -W... option.
9737 (decode_g_option): New function: Decode -g... option.
9738 (independent_decode_option): New function: Decode a language
9739 independent command line option.
9740 (main): Invoke lang_decode_option and then
9741 independent_decode_option on each command line option in
9744 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
9746 Revert this change. Gavin's patch to operand_equal_p is a better fix.
9747 * fold-const.c (fold_range_test): Do not try to fold the range
9748 test if the rhs or lhs has side effects.
9750 * basic-block.h (compute_flow_dominators): Declare.
9752 * gcse.c (alloc_code_hoist_mem): New function.
9753 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
9754 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
9755 (hoist_code, one_code_hoisting_pass): Likewise.
9756 (gcse_main): If optimizing for size, then hoist expressions
9757 computed in multiple dominated basic blocks.
9759 * gcse.c (invalid_nonnull_info): New function.
9760 (delete_null_pointer_checks): Likewise.
9761 * rtl.h (delete_null_pointer_checks): Declare.
9762 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
9764 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
9765 (merge-blocks_move_successor_nojumps): Likewise.
9766 (merge_blocks): Allow merging of some blocks, even if it requires
9767 physical movement of the blocks, but not if it requires new jumps.
9769 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
9770 Callers and prototype changed.
9771 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
9773 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9775 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
9776 -YP when both -p and -pg are present. From i386/sol2.h.
9778 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9780 * Makefile.in (distclean): Delete tm_p.h.
9781 * configure.in: Create a new file, "tm_p.h", from a list in
9782 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
9783 "i386/i386-protos.h".
9785 * alias.c: Include "tm_p.h".
9786 * c-typeck.c: Likewise.
9787 * calls.c: Likewise.
9789 * emit-rtl.c: Likewise.
9790 * explow.c: Likewise.
9791 * expmed.c: Likewise.
9793 * final.c: Likewise.
9795 * fold-const.c: Likewise.
9796 * function.c: Likewise.
9798 * global.c: Likewise.
9799 * haifa-sched.c: Likewise.
9800 * integrate.c: Likewise.
9802 * local-alloc.c: Likewise.
9804 * optabs.c: Likewise.
9805 * recog.c: Likewise.
9806 * reg-stack.c: Likewise.
9807 * regclass.c: Likewise.
9808 * regmove.c: Likewise.
9809 * reload.c: Likewise.
9810 * reload1.c: Likewise.
9811 * reorg.c: Likewise.
9812 * resource.c: Likewise.
9814 * stor-layout.c: Likewise.
9815 * toplev.c: Likewise.
9817 * unroll.c: Likewise.
9818 * genattrtab.c (main): Make generated file include "tm_p.h".
9819 * genemit.c (main): Likewise.
9820 * genoutput.c (main): Likewise.
9821 * genrecog.c (main): Likewise.
9823 * i386.h: Delete all prototypes.
9824 * i386.c: Include "tm_p.h".
9825 (ix86_attr_length_default): Call constant_call_address_operand
9826 with correct number of arguments.
9827 * i386-protos.h: New file.
9828 * i386.md (unnamed patterns): Call constant_call_address_operand
9829 with correct number of arguments.
9830 (exception_receiver): Call load_pic_register with correct number
9833 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
9835 * c-pragma.c (mark_align_stack): Dereference the void* properly.
9837 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
9839 * rtl.h (insns_safe_to_move_p): New function.
9840 * loop.c (find_and_verify_loops): Use it.
9841 * rtlanal.c (insns_safe_to_move_p): Define it.
9843 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
9845 * c-pragma.c: Include ggc.h.
9846 * Makefile.in (c-pragma.o): Update.
9848 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9850 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
9851 (LIB_SPEC): Likewise.
9852 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
9853 Reindent -YP/-p/-pg.
9854 Copied from config/sparc/sol2.h.
9856 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
9858 * c-pragma.c (mark_align_stack): New.
9860 * c-pragma.h (init_pragma): Declare it.
9861 * c-lex.c (init_parse): Call it.
9863 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9865 * configure.in: Pick up thread library on Solaris/x86 just
9866 like on Solaris/sparc.
9867 * configure: Rebuilt.
9869 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
9871 * rtl.h (global_rtx_index): New enum.
9872 (global_rtl): Change to array of rtx.
9873 (pc_rtx, cc0_rtx): Redefine accordingly.
9874 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
9875 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
9876 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
9877 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
9878 (const_int_rtx): Change to array of rtx.
9879 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
9881 * emit-rtl.c (global_rtl): Change to array of rtx.
9882 (const_int_rtx): Change to aray of rtx.
9883 (gen_rtx_CONST_INT): Redefine accordingly.
9884 (init_emit_once): Allocate and initialize global_rtl. Likewise
9885 for const_int_rtx. Add both as GC roots.
9886 * genattrtab.c (global_rtl): Update declaration.
9888 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
9890 * Makefile (USER_H): Add iso646.h back.
9892 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
9894 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
9895 zapping the LOG_LINKS of sched_before_next_call.
9897 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
9898 * pa.c (insn_refs_are_delayed): Renamed from
9899 insn_sets_and_refs_are_delayed.
9901 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
9903 * functiion.h (struct function): Add x_whole_function_mode_p.
9904 (retrofit_block): Declare.
9905 * function.c (retrofit_block): New function.
9906 (identify_blocks): Add assertions. Allow an incomplete set of
9907 block notes if we're still generating code for the function.
9908 * integrate.c: Include loop.h.
9909 (expand_inline_function): Call find_loop_tree_blocks to map block
9910 notes to blocks when in whole-function mode. Use retrofit_block
9911 to insert new BLOCKs for the inlined function, rather than
9913 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
9914 * Makefile.in (integrate.o): Depend on loop.h.
9916 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
9918 * tree.h (warn_about_unused_variables): Declare.
9919 * stmt.c (warn_about_unused_variables): New function, split out
9921 (expand_end_bindings): Here.
9923 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
9925 * stmt.c (preserve_subexpressions_p): Don't crash when
9926 current_function->stmt is unset.
9928 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
9930 * stmt.c (expand_start_bindings): Allow callers to pass a flag
9931 indicating that no NOTE_INSN_BLOCK_BEG note is required.
9932 (expand_start_target_temps): Use it.
9933 * except.c (expand_eh_region_start_for_decl): Likewise.
9934 * expr.c (expand_expr): Likewise.
9936 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
9938 * fold-const.c (operand_equal_p): Pay attention to side effects.
9940 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
9942 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
9943 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
9945 * tlink.c (scan_linker_output): Look for keywords before accepting
9946 a mangled name in quotes.
9948 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
9950 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
9951 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
9953 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
9955 * alpha.md: Revert Thu Nov 26 change that came in through the
9956 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
9957 Avoid earlyclobber when possible.
9959 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9961 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
9963 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
9964 Define HAVE_ON_EXIT.
9966 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9968 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
9969 CTYPE_CONV in all ctype macros.
9971 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
9974 * cexp.y (initialize_random_junk): Likewise.
9976 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
9978 * i370.c (handle_pragma): Likewise.
9980 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
9982 * v850.c (override_options): Likewise.
9984 * doprint.c (_doprnt): Likewise.
9986 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
9989 * fixinc/server.c (load_data): Likewise.
9991 * fold-const.c (real_hex_to_f): Likewise.
9993 * genattr.c (write_upcase, gen_attr): Likewise.
9995 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
9996 write_upcase): Likewise.
9998 * genemit.c (print_code): Likewise.
10000 * genopinit.c (gen_insn): Likewise.
10002 * genpeep.c (print_code): Likewise.
10004 * genrecog.c (print_code): Likewise.
10006 * optabs.c (init_libfuncs): Likewise.
10008 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
10010 * haifa-sched.c (sched_analyze): Keep the list of notes organized
10012 (reemit_notes): Likewise.
10014 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
10016 * ggc.h (ggc_root): Move to ggc-common.c.
10018 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
10019 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
10020 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
10021 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
10022 * ggc-common.c (ggc_root): Move from ggc.h.
10023 (roots): Declare, static.
10024 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
10025 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
10026 null or check/set mark bit.
10027 (ggc_mark_roots): New.
10028 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
10030 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
10032 * m32r.c: Include toplev.h.
10033 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
10034 (gen_compare): Rename swap_p to must_swap to match uses.
10035 Add default abort case.
10036 (m32r_output_function_epilogue): Remove unused variables.
10037 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
10038 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
10039 define to empty parameter list. Update all uses.
10040 (predicate decls): Use enum machine_mode not int.
10041 * m32r.md (movsi): Call abort, not fatal_insn.
10042 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
10044 1999-09-14 Andrew Haley <aph@cygnus.com>
10046 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
10047 use $0 instead of 0.
10049 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10051 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
10052 computation out of loop over hard regs.
10054 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
10056 * function.c (identify_blocks): Don't shadow a variable in an
10058 * integrate.c (integrate_decl_tree): Don't use pushlevel,
10059 pushdecl, or poplevel to build up the new BLOCK tree.
10060 (expand_inline_function): Likewise.
10061 (integrate_parm_decls): Likewise.
10063 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
10065 * c-typeck.c (qualify_type): Merge qualifiers from both types.
10067 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
10069 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
10070 * invoke.texi: Document this change.
10072 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
10074 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
10076 (mark_emit_status): Renamed from mark_emit_state.
10077 * except.c (mark_eh_status): Renamed from mark_eh_state.
10078 Check not null before marking.
10079 (free_eh_status): New.
10080 * expr.c (mark_expr_status, free_expr_status): New.
10081 * function.c (free_machine_status): New.
10082 (free_after_parsing): New.
10083 (free_after_compilation): Move bits to free_after_parsing; call
10084 free_eh_status, free_expr_status; zero the marked members of the
10086 (prepare_function_start): No can_garbage_collect.
10087 Call init_eh_for_function.
10088 (expand_dummy_function_end): Free up current_function state.
10089 (mark_function_status): Renamed from mark_function_state.
10090 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
10091 * function.h (struct function): No can_garbage_collect.
10092 (free_machine_status, free_after_parsing): Declare.
10093 (free_eh_status, free_expr_status): Declare.
10094 * ggc.h (mark_expr_status): Declare.
10095 * stmt.c (free_stmt_status): Free the struct.
10096 (mark_stmt_status): Renamed from mark_stmt_state.
10097 (init_stmt): Don't call init_eh.
10098 (init_stmt_for_function): Don't call init_eh_for_function.
10099 * toplev.c (compile_file): Call init_eh.
10100 (rest_of_compilation): Free basic block info before ggc_collect.
10101 Call free_after_parsing; conditionally call free_after_compilation.
10102 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
10103 Check not null before marking.
10104 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
10106 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
10108 * c-lex.c (yylex): Initialize warn.
10110 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
10112 * pa.c (emit_move_sequence): Properly set the mode of the scratch
10113 register when performing secondary reloads for the SAR register.
10115 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
10117 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
10118 (NOTE_BLOCK): New macro.
10119 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
10120 * function.h (identify_blocks): Change prototype.
10121 * function.c (identify_blocks): Simplify.
10122 (reorder_blocks): Likewise.
10123 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
10124 NOTE_INSN_BLOCK_{BEG,END}.
10125 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
10126 the list of saved notes if the note isn't a
10127 NOTE_INSN_BLOCK_{BEG,END}.
10128 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
10130 (reemit_notes): Adjust recreation of notes to reflect new saved
10132 * print-rtl.c (print_rtx): Print the address of the BLOCK when
10133 printing a block note.
10134 * stmt.c (block_vector): Remove.
10135 (find_loop_tree_blocks): Simplify.
10136 (unroll_block_trees): Likewise.
10137 * tree.h (reorder_block): Change prototype.
10139 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
10141 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
10142 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
10143 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
10144 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
10145 (atexit, exit): Simplify.
10146 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
10147 * config/lots: Remove defns of HAVE_ATEXIT.
10149 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
10151 * calls.c (precompute_arguments): Fix typo in comment.
10152 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
10155 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
10157 * dsp16xx.c (override_options): Fix typos in GC root registration.
10159 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
10161 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
10162 from config/svr4.h.
10163 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
10164 (FUNCTION_PROFILER): Redefine appropriately for Linux.
10165 (CC1_SPEC): Likewise.
10167 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10169 * genattr.c (main): Add extern prototype. Call return, not exit.
10170 * genattrtab.c (main): Likewise.
10171 * gencheck.c (main): Likewise.
10172 * gencodes.c (main): Likewise.
10173 * genconfig.c (main): Likewise.
10174 * genemit.c (main): Likewise.
10175 * genextract.c (main): Likewise.
10176 * genflags.c (main): Likewise.
10177 * gengenrtl.c (main): Likewise.
10178 * genopinit.c (main): Likewise.
10179 * genoutput.c (main): Likewise.
10180 * genpeep.c (main): Likewise.
10181 * genrecog.c (main): Likewise.
10183 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
10184 * genattrtab.c (get_insn_name): Likewise.
10185 * gencodes.c (get_insn_name): Likewise.
10186 * genconfig.c (get_insn_name): Likewise.
10187 * genemit.c (get_insn_name): Likewise.
10188 * genextract.c (get_insn_name): Likewise.
10189 * genflags.c (get_insn_name): Likewise.
10190 * genopinit.c (get_insn_name): Likewise.
10191 * genpeep.c (get_insn_name): Likewise.
10193 * gencheck.c (usage): Add static prototype.
10194 * genextract.c (print_path): Constify a char*.
10195 * genopinit.c (optabs): Likewise.
10196 * genoutput.c (operand_data, data, output_predicate_decls,
10197 compare_operands): Likewise.
10198 * genrecog.c (write_tree): Add default case in switch.
10200 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10202 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
10204 * print-rtl.c (get_insn_name): Remove prototype.
10206 * toplev.h (progname): Declare const.
10208 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
10209 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
10210 dump_sched_info, dump_local_alloc, regset_release_memory,
10211 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
10212 error_with_file_and_line, error_with_decl, error_for_asm, error,
10213 fatal, warning_with_file_and_line, warning_with_decl, warning,
10214 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
10215 Remove redundant prototypes.
10217 (notice, check_lang_option, report_file_and_line, vnotice,
10218 mark_file_stack): Add static prototype.
10219 (set_fatal_function): Add prototype.
10220 (vnotice, report_file_and_line, set_fatal_function,
10221 check_lang_option): Constify a char*.
10222 (main): Prototype. Call return, not exit.
10224 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10226 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
10228 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
10230 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
10232 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
10234 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10236 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
10237 behave as if it's zero in all cases.
10238 (expand_function_start): Adjust call to assign_parms.
10239 * tree.h (assign_parms): Adjust prototype.
10240 * objc/objc-act.c (hack_method_prototype): Adjust call to
10243 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
10245 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
10246 arg_pointer_rtx fixed if the argument pointer register is
10248 (NONZERO_BASE_PLUS_P): Likewise.
10250 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
10252 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
10253 match_insn2 to match_insn.
10254 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
10256 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
10258 * Makefile.in (USER_H): Remove va-foo.h.
10260 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
10261 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
10262 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
10263 va-spur.h,va-v850.h}: Remove.
10265 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
10267 * sparc/sparc.md (eligible_for_return_delay): New attribute.
10268 (in_return_delay): Use it instead of match_insn.
10270 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10272 * config/alpha/va_list.h (va-alpha.h): Do not include.
10273 (__gnuc_va_list): Typedef as in varargs.h.
10275 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
10277 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
10278 DECL_LIVE_RANGE_RTL.
10280 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
10282 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
10283 not NOTE_BLOCK_NUMBER.
10284 (expand_eh_region_end): Likewise.
10285 (find_exception_handler_labels): Likewise.
10286 (scan_region): Likewise.
10287 (exception_optimize): Likewise.
10288 (update_rethrow_references): Likewise.
10289 (set_insn_eh_region): Likewise.
10290 * final.c (final_scan_insn): Likewise.
10291 * flow.c (make_edges): Likewise.
10292 * integrate.c (expand_inline_function): Likewise.
10293 * print-rtl.c (print_rtx): Likewise.
10295 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
10297 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
10298 terms of builtin functions and types.
10300 * mips.c (mips_build_va_list): New.
10301 (mips_va_start, mips_va_arg): New.
10302 * mips.h (BUILD_VA_LIST_TYPE): New.
10303 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10305 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
10306 (sh_build_va_list, sh_va_start, sh_va_arg): New.
10307 * sh.h (BUILD_VA_LIST_TYPE): New.
10308 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10310 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
10312 * recog.h (struct recog_data): Make dup_num, operand_address_p,
10313 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
10314 (struct insn_data): Likewise with n_operands, n_dups,
10315 n_alternatives, output_format.
10316 * regclass.c (scan_one_insn): Cast n_operands to int before
10317 arithmetic inside comparison.
10319 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
10321 * toplev.c (compile_function): Unconditionally emit nop.
10323 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10325 * haifa-sched.c (actual_hazard): Move declaration of variable
10326 `this_cost' into the scope where it is used.
10328 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10330 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
10331 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
10332 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
10334 * genrecog.c (make_insn_sequence): Call memset, not bzero.
10336 * jump.c (find_insert_position): Don't declare or define unless
10337 !HAVE_conditional_arithmetic.
10338 (returnjump_p_1, delete_prior_computation): Add static prototypes.
10340 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
10342 * recog.c (offsettable_address_p): Prototype function pointer.
10343 (preprocess_constraints): Call memset, not bzero.
10345 * tree.c (tree_node_kind_names): Constify a char*. Make static.
10346 (gcc_obstack_init): Don't declare.
10347 (fix_sizetype): Add static prototype.
10348 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
10349 (tree_cons): Call memset, not bzero.
10351 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
10352 definition in macro ASM_WEAKEN_LABEL.
10353 (mark_const_hash_entry): Add static prototype.
10355 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10357 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
10359 * unroll.c (find_common_reg_term, subtract_reg_term,
10360 loop_find_equiv_value): Add static prototypes.
10361 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
10362 (copy_loop_body): Remove unreachable break statement.
10364 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
10366 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
10368 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10370 Undo some changes from the gcc2 merge:
10371 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
10372 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
10376 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
10377 * emit-rtl.c (gen_lowpart_common): Disable optimization of
10378 initialized float-int union if the value is a NaN.
10380 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
10382 * gthr-win32.h: New file.
10384 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
10385 shared as a valid attribute.
10386 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
10387 * extend.texi: Document `shared' variable attribute.
10389 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
10391 * configure.in: Handle --enable-threads on FreeBSD.
10392 * configure: Rebuit.
10394 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10396 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
10398 * configure: Rebuilt.
10400 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
10401 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
10402 Rosimildo DaSilva <rdasilva@connecttel.com>
10404 * configure.in (m68k-*-rtemscoff*): Added.
10405 * configure.in (mips64orion-*-rtems*): Converted to ELF.
10406 * configure.in (sparc-*-rtemsaout*): Added as alias for old
10407 sparc-rtems configuration.
10408 * configure.in (sparc-*-rtemself*): Added.
10409 * configure.in (sparc-*-rtems*): Now ELF not a.out.
10410 * config/i386/rtems.h: Added comment.
10411 * config/sparc/rtemself.h: New file.
10413 * configure.in (m68k-rtemself): Added.
10414 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
10415 and DWARF_DEBUGGING_INFO.
10416 * config/m68k/crti.s: New file.
10417 * config/m68k/crtn.s: New file.
10418 * config/m68k/t-crtstuff: New file.
10419 * config/m68k/rtemself.h: New file.
10421 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
10422 global ctor/dtor and C++ exception handling.
10423 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
10424 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
10426 * config/i386/t-rtems-i386: New File.
10428 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
10430 * stmt.c (expand_end_case): Return right away if the case stack is
10433 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
10435 * Makefile.in (version.c): Remove rule incorrectly brought in from
10438 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
10440 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
10441 * msdos/top.sed: Take into account a prepended $(SHELL) to
10443 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
10445 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
10447 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10449 * regmove.c (fixup_match_1): Don't change an unchanging register.
10450 (stable_but_for_p): Renamed to:
10451 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
10452 Changed all callers.
10454 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
10456 * loop.c (strength_reduce): Don't call reg_used_between_p if the
10457 insn from BL2 is after the insn from BL.
10459 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
10461 * recog.h (INSN_OUTPUT_FORMAT_*): New.
10462 (struct insn_data): Merge `template' and `outfun' into `output'.
10463 Add `output_format'.
10464 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
10465 (struct data): Remove `outfun'; add `output_format'.
10466 (name_for_index): Remove declaration.
10467 (output_insn_data): Handle output formats.
10468 (process_template): Emit the bare array for @.
10469 (gen_expand, gen_split): Set output_format to NONE.
10470 * output.h (get_insn_template): Declare.
10471 * final.c (get_insn_template): New.
10472 (final_scan_insn): Use it.
10473 * toplev.c (compile_file): Likewise.
10475 * c4x/c4x.c (c4x_process_after_reload): Likewise.
10476 * i860/i860.c (output_delayed_branch): Likewise.
10477 (output_delay_insn): Likewise.
10479 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10481 * rtl.c (obstack_alloc_rtx): Removed.
10483 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
10485 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
10487 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
10489 * i386.c (call_insn_operand): Reject const_int.
10490 (expander_call_insn_operand): Use call_insn_operand.
10492 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10494 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
10496 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
10498 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
10499 Use DImode operation.
10501 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
10503 * gcc.c: Include sys/resource.h.
10504 (report_times): New flag.
10505 (execute): If report_times is set, calculate and report the
10506 CPU time consumed by each subprocess.
10508 (rus, prus): New globals.
10509 (option_map): Add --time.
10510 (display_help): Document -time.
10511 (process_command): Set report_times if -time is given.
10512 Turn off -pipe if -time is given.
10514 * invoke.texi: Document new option -time.
10516 * configure.in: Check for getrusage. Check if we have to
10517 prototype getrusage.
10518 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
10519 * configure: Regenerate.
10520 * config.in: Regenerate.
10522 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
10524 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
10527 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
10529 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
10530 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
10531 (nan): Return _thenan_sf or _thenan_df as appropriate.
10532 (L_thenan_sf): Define _thenan_sf.
10533 (L_thenan_df): Define _thenan_df.
10535 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
10536 (DPBIT_FUNCS): Add _thenan_df.
10538 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
10540 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
10543 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10545 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
10548 (lang_specific_driver): Don't take a function pointer parameter.
10549 All callers changed.
10551 * gcc.c: Include gcc.h.
10552 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
10553 lang_specific_extra_outfiles, fatal): Don't declare.
10554 (multilib_defaults_raw): Constify.
10555 (read_specs): Call memset, rather than bzero.
10556 (main): Call return, not exit.
10557 (lookup_compiler): Call memcpy, not bcopy.
10558 (fatal): Make extern.
10560 * cppspec.c: Include gcc.h.
10561 (lang_specific_driver): Initialize variable `quote'. Constify a
10562 char*. All calls to the function pointer parameter now
10563 explicitly call `fatal'.
10565 * gccspec.c (lang_specific_driver): Include gcc.h.
10567 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
10569 * arm.c (note_invalid_constants): Use recog_data.operand_type
10572 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10574 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
10577 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
10578 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10579 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10580 reload_secondary_in_reload, reload_secondary_out_reload,
10581 reload_secondary_in_icode, reload_secondary_out_icode,
10582 reload_reg_rtx, reload_when_needed): Delete declarations.
10583 (struct reload): New structure.
10584 (rld): Declare new array.
10585 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
10586 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10587 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10588 reload_secondary_in_reload, reload_secondary_out_reload,
10589 reload_secondary_in_icode, reload_secondary_out_icode,
10590 reload_reg_rtx, reload_when_needed): Delete definitions.
10592 (whole file): Replace uses of the deleted arrays with uses of rld.
10593 * reload1.c (whole file): Replace uses of the deleted arrays with
10595 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
10596 explicit loops, not with bcopy.
10598 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
10600 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
10601 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
10602 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
10603 insn_name): Delete and consolidate into new structures.
10604 (insn_operand_predicate_fn): New.
10605 (insn_output_fn): New.
10606 (insn_gen_fn): New.
10607 (struct insn_operand_data): New.
10608 (struct insn_data): New.
10610 (OUT_FCN): Update for insn_data change.
10611 * builtins.c (expand_builtin_strlen): Likewise.
10612 (expand_builtin_memcmp): Likewise.
10613 * combine.c (make_extraction, simplify_comparison): Likewise.
10614 * cse.c (canon_reg, cse_insn): Likewise.
10615 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
10616 * expmed.c (store_bit_field, extract_bit_field): Likewise.
10617 (emit_store_flag): Likewise.
10618 * expr.c (convert_move, emit_block_move): Likewise.
10619 (clear_storage, emit_push_insn, expand_increment): Likewise.
10620 (do_store_flag): Likewise.
10621 * expr.h (GEN_FCN): Likewise.
10622 (insn_gen_function): Die.
10623 * final.c (final_scan_insn): Update for insn_data change.
10624 (output_asm_name): Likewise.
10625 * function.c (fixup_var_refs_1): Likewise.
10626 * loop.c (check_dbra_loop): Likewise.
10627 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
10628 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
10629 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
10630 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
10631 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
10632 * regmove.c (gen_add3_insn): Likewise.
10633 * reload.c (push_secondary_reload, combine_reloads): Likewise.
10634 (find_reloads, find_reloads_address_1): Likewise.
10635 (debug_reload_to_stream): Likewise.
10636 * reload1.c (emit_reload_insns, gen_reload): Likewise.
10637 * stmt.c (expand_end_case): Likewise.
10638 * toplev.c (compile_file): Likewise.
10640 * c4x/c4x.c (c4x_process_after_reload): Likewise.
10641 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10643 * print-rtl.c (insn_name_ptr): Remove declaration.
10644 (get_insn_name): Declare.
10645 (print_rtx): Use it.
10646 * genoutput.c (insn_name_ptr): Remove.
10647 (next_operand_number): New.
10648 (struct operand_data): New.
10649 (null_operand, odata, odata_end): New.
10650 (struct data): Use struct operand_data.
10651 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
10652 (get_insn_name): Renamed from name_for_index.
10653 (output_prologue): Define NO_MD_PROTOTYPES.
10654 (output_predicate_decls): Break out from output_epilogue.
10655 Iterate over the operands list.
10656 (output_operand_data): Break out from output_epilogue. Emit
10657 just the operands list.
10658 (output_insn_data): Break out from output_epilogue. Emit just
10660 (output_epilogue): Remove.
10661 (output_get_insn_name): New.
10662 (constraints, op_n_alternatives, predicates, address_p): Die.
10663 (modes, strict_low, seen): Die.
10664 (scan_operands): Take new param `d' instead of writing to
10665 seven global variables.
10666 (compare_operands): New.
10667 (place_operands): New.
10668 (validate_insn_alternatives): Update for struct data change.
10669 (gen_insn): Don't zero or copy 7 global arrays. Update for
10670 scan_operands; call place_operands.
10671 (gen_peephole, gen_expand, gen_split): Likewise.
10672 (main): Update for new output routines.
10674 * genattr.c (insn_name_ptr): Remove.
10675 (get_insn_name): New function.
10676 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
10677 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
10678 * genrecog.c: Likewise.
10680 * alpha.md (adddi3): Make `pattern' array static.
10682 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10684 * config/c4x/c4x.h (c4x_rpts_cycles_string,
10685 c4x_cpu_version_string): Constify char *.
10686 * config/c4x/c4x.c (c4x_rpts_cycles_string,
10687 c4x_cpu_version_string): Likewise.
10689 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
10691 * tree.c (save_tree_status): Revert 10 Sep change.
10692 (restore_tree_status): Likewise. Call obstack_free with NULL
10693 before freeing the obstack proper.
10695 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
10697 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
10699 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
10700 surrounding context.
10702 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
10704 * tree.c (type_hash_canon): Put all types in the hash-table, when
10707 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
10709 * recog.h (struct recog_data, recog_data): New.
10710 (recog_foo variables): Kill.
10711 * recog.c (recog_operand, recog_operand_loc): Kill.
10712 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
10713 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
10714 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
10715 (recog_data): Define.
10716 (extract_insn): Update all recog_foo references to use recog_data.
10717 (preprocess_constraints, constrain_operands): Likewise.
10718 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
10719 * genattrtab.c (main): Likewise.
10720 * genextract.c (main): Likewise.
10721 * genoutput.c: Likewise.
10722 * genrecog.c (write_subroutine, main): Likewise.
10723 * local-alloc.c (block_alloc): Likewise.
10724 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
10725 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
10726 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
10727 * reload.c (find_reloads, find_reloads_toplev): Likewise.
10728 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
10729 (reload_cse_simplify_operands): Likewise.
10731 * arc/arc.c (arc_final_prescan_insn): Likewise.
10732 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
10733 * h8300/h8300.c (notice_update_cc): Likewise.
10734 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
10735 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10736 * mn10200/mn10200.c (notice_update_cc): Likewise.
10737 * mn10300/mn10300.c (notice_update_cc): Likewise.
10738 * romp/romp.c (update_cc): Likewise.
10739 * sparc/sparc.c (check_pic): Likewise.
10740 * v850/v850.c (notice_update_cc): Likewise.
10742 * genemit.c (main): Don't declare recog_operand.
10744 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
10746 * ggc.h (rtvec_def): Forward declare.
10747 (tree_node): Likewise.
10748 (ggc_root): Define.
10750 (ggc_set_mark_rtx): Add prototype.
10751 (ggc_set_mark_rtvec): Likewise.
10752 (ggc_set_mark_tree): Likewise.
10753 * ggc-simple.c (ggc_root): Don't define.
10754 (roots): Don't declare.
10755 (ggc_mark_rtx): Remove.
10756 (ggc_mark_rtvec): Likewise.
10757 (ggc_mark_tree): Likewise.
10758 (ggc_mark_varray): Likewise.
10759 (ggc_mark_tree_hash_table_entry): Likewise.
10760 (ggc_mark_tree_hash_table): Likewise.
10761 (ggc_set_mart_rtx): New function.
10762 (ggc_set_mark_rtvec): Likewise.
10763 (ggc_set_mark_tree): Likewise.
10764 (ggc_add_root): Remove.
10765 (ggc_add_rtx_root): Likewise.
10766 (ggc_remove_tree_root): Likewise.
10767 (ggc_add_string_root): Likewise.
10768 (ggc_add_tree_varray_root): Likewise.
10769 (ggc_add_tree_hash_table_root): Likewise.
10770 (ggc_del_root): Likewise.
10771 (ggc_mark_rtx_ptr): Likewise.
10772 (ggc_mark_tree_ptr): Likewise.
10773 (ggc_mark_string_ptr): Likewise.
10774 (ggc_mark_tree_varray_ptr): Likewise.
10775 (ggc_mark_tree_hash_table_ptr): Likewise.
10776 * ggc-common.c: New file.
10777 * Makefile.in (OBJS): Add ggc-common.o.
10778 (ggc-common.o): List dependencies.
10780 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
10782 * cppalloc.c (xstrdup): Use memcpy.
10783 * cpperror.c (cpp_print_containing_files): Don't use
10785 * cpplib.c (conditional_skip): Set temp->lineno.
10786 (do_endif): Make error message less obscure.
10787 (if_directive_name): New function.
10788 (cpp_get_token [case EOF]): Unwind the if stack and generate
10789 error messages for each unterminated conditional in this file.
10790 (parse_string): Do not behave differently if -traditional.
10792 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
10794 * builtins.c (expand_builtin_va_arg): Cope with an array-type
10795 va_list decomposing to pointer-type.
10796 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
10797 (rs6000_va_arg): Likewise.
10799 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
10801 * except.c (start_dynamic_handler): Compute size using
10802 STACK_SAVEAREA_MODE.
10804 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10806 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
10807 include directory headers. Don't define strrchr. Don't provide
10808 my_* replacement functions. Prefer PTR over `pointer_type'.
10809 Don't prototype system functions. Don't redefine getopt.
10811 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
10812 safe_read, safe_write, save_pointers, restore_pointers,
10813 is_id_char, in_system_include_dir, directory_specified_p,
10814 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
10815 find_corresponding_lparen, referenced_file_is_newer,
10816 save_def_or_dec, munge_compile_params, gen_aux_info_file,
10817 process_aux_info_file, identify_lineno, check_source,
10818 seek_to_line, forward_to_next_token_char, output_bytes,
10819 output_string, output_up_to, other_variable_style_function,
10820 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
10821 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
10822 find_static_definition, connect_defs_and_decs, add_local_decl,
10823 add_global_decls, needs_to_be_converted, visit_each_hash_node,
10824 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
10825 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
10826 scan_for_missed_items, edit_file, string_list_cons): Add static
10828 (standard_exec_prefix, target_machine, target_version,
10829 default_syscalls_dir, string_list, string_list_cons, find_file,
10830 do_cleaning): Constify a char*.
10831 (safe_read, safe_write): Use PTR, not a char*.
10832 (is_id_char): Take an int, not a char.
10833 (main): Add prototype. Call return, not exit.
10835 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
10837 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
10838 when comparing types.
10840 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
10842 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
10843 (strength_reduce): Release the varrays from the no-bivs early exit.
10845 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
10846 the loop over the registers.
10848 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
10850 (restore_tree_status): Check that instead when freeing the obstack.
10852 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
10854 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
10857 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10859 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
10860 operand size modifiers.
10862 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10864 * c-common.c (c_common_nodes_and_builtins): Don't build
10866 * c-common.h (enum c_tree_index and related accesor macros): Remove
10867 everything now declared in tree.h.
10868 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10869 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
10870 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
10871 (error_mark_node, void_type_node, char_type_node, integer_type_node,
10872 unsigned_type_node, ptr_type_node, va_list_type_node,
10873 integer_zero_node, null_pointer_node, integer_one_node): Delete.
10874 (init_decl_processing): Call build_common_tree_nodes and
10875 build_common_tree_nodes_2 instead of building their nodes here.
10876 Don't add roots for these nodes.
10877 * stor-layout.c (size_zero_node, size_one_node): Delete.
10878 (set_sizetype): Make a new node for bitsizetype each time.
10879 * tree.c (global_trees): New variable.
10880 (init_obstacks): Add a gc root for it.
10881 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10882 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
10883 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
10884 (build_common_tree_nodes): New function.
10885 (fix_sizetype): New function.
10886 (build_common_tree_nodes_2): New function.
10887 * tree.h (enum tree_index): New.
10888 (global_trees): Declare.
10889 Add accessor macros for all nodes now moved to global_trees.
10890 Delete their declarations.
10892 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
10894 * c-decl.c (finish_function): When processing a nested function,
10895 push and pop GC context around rest_of_compilation.
10897 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
10899 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
10900 Default ix86_arch to PROCESSOR_I386.
10901 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
10902 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
10903 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
10904 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
10905 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
10906 (EXTRA_SPECS): Remove deleted specs.
10908 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
10910 * function.c (assign_stack_local_1): Allocate from
10911 function->x_frame_offset, not frame_offset.
10913 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
10915 * ggc.h (lang_cleanup_tree): Remove.
10916 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
10917 * ggc-callbacks.c (lang_cleanup_tree): Remove.
10919 * c-decl.c (finish_struct): Use ggc_alloc to allocate
10920 TYPE_LANG_SPECIFIC when garbage collecting.
10921 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
10922 (lang_cleanup_tree): Remove.
10924 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
10926 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
10927 * crtstuff.c: Not here.
10928 * dwarf2out.c: Or here.
10929 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
10932 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
10934 * function.h (free_after_compilation): Remove decl parameter.
10935 (free_varasm_status0: Likewise.
10936 (free_emit_status): Likewise.
10937 (free_stmt_status): Likewise.
10938 (free_after_compilation): Likewise.
10939 (init_lang_status): New variable.
10940 (free_lang_status): Likewise.
10941 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
10942 * function.c (init_lang_status): New variable.
10943 (free_lang_status): Likewise.
10944 (push_function_context_to): Don't set function::decl here.
10945 (free_after_copmilation): Make decl parameter implicit. Call
10946 free_lang_status if defined.
10947 (prepare_function_start): Call init_lang_status if defined.
10948 (init_function_start): Set function::decl here.
10949 * profile.c (output_func_start_profiler): Don't call pushdecl
10950 until we've actually started the function.
10951 * stmt.c (free_stmt_status): Make decl parameter implicit.
10952 * toplev.c (rest_of_compilation): Don't pass decl to
10953 free_after_compilation.
10954 * varasm.c (free_varasm_status): Likewise.
10956 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10958 * except.c (call_get_eh_context): Add root when allocating static
10961 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
10963 * arm.c: Include "ggc.h".
10964 (arm_add_gc_roots): New function.
10965 (arm_override_options): Call it.
10966 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
10968 * arm.md (define_asm_attributes): Add a pool_range attribute.
10970 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
10972 * extend.texi (Volatiles): New node.
10974 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
10976 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
10977 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
10978 (struct ggc_any): Replace `mark' with `magic_mark'.
10979 (ggc_alloc_string): Use memcpy, not bcopy.
10980 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
10981 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
10982 (ggc_free_any): New.
10983 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
10984 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
10985 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
10986 Use IS_MARKED. Use ggc_free_any.
10988 1999-09-09 Scott Bambrough <scottb@netwinder.org>
10990 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
10992 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
10994 * toplev.c (main): Always init_ggc.
10996 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
10998 * except.c (find_all_handler_type_matches): Free the list if
10999 we found no matches.
11001 * combine.c (SUBST): Break out to a real function do_SUBST.
11002 (SUBST_INT): Likewise.
11003 * gcse.c (free_pre_mem): Free `temp_bitmap'.
11004 (pre_insert): Free `inserted'.
11005 * loop.c (basic_induction_var): Always set `location'.
11007 * function.c (expand_function_end): Add initial_trampoline as a root.
11008 * rtl.h (init_varasm_once): Declare.
11009 * toplev.c (compile_file): Call it.
11010 * ggc-simple.c (ggc_mark_string_ptr): New.
11011 (ggc_add_string_root): New.
11012 (ggc_collect): Disable collection avoidance temporarily.
11013 * ggc.h (ggc_add_string_root): Declare.
11014 * except.c (create_rethrow_ref): Use ggc_alloc_string.
11015 * optabs.c (init_libfuncs): Likewise.
11016 * varasm.c (named_section): Use ggc_alloc_string.
11017 (make_function_rtl): Likewise.
11018 (make_decl_rtl): Likewise.
11019 (assemble_static_space): Likewise.
11020 (assemble_trampoline_template): Likewise.
11021 (output_constant_def): Likewise.
11022 (force_const_mem): Likewise.
11023 (mark_const_hash_entry): New.
11024 (mark_pool_sym_hash_table): New.
11025 (mark_varasm_state): Use it.
11026 (init_varasm_once): New.
11028 * expr.h (init_one_libfunc): Declare.
11029 * optabs.c (init_one_libfunc): New.
11030 (init_optabs): Use it.
11031 * config/gofast.h: Likewise.
11032 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
11033 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
11035 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
11037 * Makefile.in (cppexp.o): Depend on cpphash.h.
11038 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
11040 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
11041 * cpplib.c (do_define): Generalise to handle poisoned definitions,
11042 redefining poisoned identifiers, etc.
11043 (do_undef): Don't allow poisoned identifiers to be undefined.
11044 (do_pragma): Add #pragma poison.
11045 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11047 * cccp.c: Add T_POISON node type.
11048 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
11050 (do_define): Generalise to handle poisoned definitions,
11051 redefining poisoned identifiers, etc.
11052 (do_undef): Don't allow poisoned identifiers to be undefined.
11053 (do_pragma): Add #pragma poison.
11054 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11056 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
11057 * c-pragma.h: Add ps_poison state. We now always have generic
11060 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
11062 * ggc.h (ggc_alloc): New function.
11063 (ggc_mark): Likewise.
11064 * ggc-simple.c (ggc_any): New structure.
11065 (ggc_status): Add anys.
11066 (n_anys_collected): New variable.
11067 (ggc_alloc): Define.
11068 (ggc_mark): Likewise.
11069 (ggc_collect): Collect the anys.
11071 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11073 * c-decl.c (mark_binding_level): Make static to match prototype.
11075 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
11077 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
11079 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
11081 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
11082 will use into account. Expand the max width to 5.
11085 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
11087 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
11088 for the rtx length.
11090 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
11092 * alpha.md (call value patterns): Remove the result predicates.
11094 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
11096 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
11099 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11101 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
11102 changed from extern char *, to extern PTR. Also fix typo in
11103 NEED_DECLARATION_REALLOC test.
11105 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
11107 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11109 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
11110 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
11111 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
11112 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
11114 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
11116 * cccp.c (pcfinclude): Likewise.
11118 * global.c (allocno_compare): Likewise.
11120 * haifa-sched.c (rank_for_schedule): Likewise.
11122 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
11124 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
11126 * stupid.c (stupid_reg_compare): Likewise.
11128 * tree.c (_obstack_allocated_p): Likewise.
11130 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
11132 1999-09-08 Bruce Korb autogen@linuxbox.com
11134 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
11135 why "gperf -F" fails.
11136 * gcc/cp/Makefile.in: ditto
11137 * gcc/Makefile.in: ditto
11138 * gcc/java/Makefile.in: ditto
11140 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
11142 * lists.c: Include ggc.h.
11144 (init_EXPR_INSN_LIST_cache): Install it.
11146 * ggc-simple.c (init_ggc): Absorb the old init.
11147 (ggc_push_context): Use xcalloc.
11148 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
11149 (ggc_collect): Add [rvts] tags to the collection stats.
11151 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
11153 * cccp.c (main): Fix handling of -include and -imacros options.
11155 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
11157 * cpplib.c (cpp_push_buffer): Fix order of arguments.
11159 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
11161 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
11164 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11166 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
11167 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
11168 and SET_DEST. Update comment.
11170 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11172 * config/c4x/c4x.c: Include ggc.h.
11173 (c4x_add_gc_roots): New function.
11174 (c4x_override_options): Call c4x_add_gc_roots.
11176 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
11178 * defaults.h (TARGET_ESC): Move ...
11179 * system.h: ... here, where Linas had it in the first place. Silly me.
11181 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
11183 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
11184 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
11185 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
11186 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
11187 * defaults.h (TARGET_ESC): Add default.
11189 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
11191 * configure.in: add i370-*-openedition, i370-*-mvs and
11192 i370-*-linux targets
11194 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
11196 * dsp16xxx.c: Include ggc.h
11197 (override_options): Mark GC roots.
11198 * mn10200.c: Include ggc.h.
11199 (asm_file_start): Mark GC roots.
11200 * tahoe.c: Include ggc.h.
11201 (extensible_operand): Mark GC roots.
11203 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
11205 * README: Add section discussing status of ELF ABI.
11206 * i370.c: Fix misc spelling mistakes.
11207 (i370_label_scan): Updated notes, exception handling.
11208 (i370_function_prolog): Simplify ELF stack handling.
11209 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
11210 (STACK_GROWS_DOWNWARD): ELF stack grows down.
11211 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
11212 * i370.md: (movdi): Add notes.
11213 (floatsidf2): Use stack not rtca for scratch float area.
11214 (iorsi3): Correct operand constraints.
11215 * x-oe: Restore TAROUTOPTS which are used by pax.
11217 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
11219 * rs6000.c: Include ggc.h.
11220 (rs6000_add_gc_roots): New function.
11221 (override_options): Call it.
11223 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
11225 * alpha.h (alpha_compare): New.
11226 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
11227 * alpha.c: Likewise for the definitions.
11228 (alpha_emit_conditional_branch): Update for alpha_compare.
11229 (alpha_emit_conditional_move): Likewise.
11230 * alpha.md (cmpdf, cmpdi): Likewise.
11231 (setcc patterns): Likewise. Zero alpha_compare after use.
11232 (sne): Optimize (x != 0) into (0U < x).
11234 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
11236 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
11237 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
11238 (INIT_EXPANDERS): Remove.
11239 * alpha.c: Include ggc.h.
11240 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
11241 (alpha_init_machine_status, alpha_mark_machine_status): New.
11242 (override_options): Install them.
11243 (struct machine_function): Moved to alpha.h.
11244 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
11245 (alpha_init_expanders): Remove.
11246 (alpha_return_addr): Adjust to use current_function->machine.
11247 (alpha_ra_ever_killed): Likewise.
11248 (alpha_expand_epilogue): Likewise.
11249 * alpha.md (eh_epilogue): Likewise.
11251 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
11252 Melissa O'Neill <oneill@cs.sfu.ca>
11253 Geoffrey Keating <geoffk@cygnus.com>
11255 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
11256 call-used registers (call-saved registers must still be contiguous
11257 and end with r31, of course).
11259 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
11261 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
11262 (self_promoting_type_p): Delete.
11263 (self_promoting_args_p): Move ...
11264 * c-common.c: ... here.
11265 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
11266 (simple_type_promotes_to): New.
11267 * builtins.c (lang_type_promotes_to): New.
11268 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
11269 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
11270 * c-common.h: ... here.
11271 (self_promoting_args_p, simple_type_promotes_to): Declare.
11272 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
11273 (grokdeclarator): Likewise.
11274 * tree.h (lang_type_promotes_to): Declare.
11276 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
11278 Add some machine-dependent GC roots.
11279 * sparc.c: Include ggc.h.
11280 (sparc_add_gc_roots): New function.
11281 (mark_ultrasparc_pipeline_state): Likewise.
11282 (override_options): Call sparc_add_gc_roots.
11283 * pa.c: Include ggc.h.
11284 (pa_add_gc_roots): New function.
11285 (mark_deferred_plabels): Likewise.
11286 (override_options): Call pa_add_gc_roots.
11287 * mips.c: Include ggc.h.
11288 (mips_add_gc_roots): New function.
11289 (override_options): Use it.
11291 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11293 * cpperror.c (cpp_file_line_for_message): Constify a char*.
11295 * cppexp.c (parse_number, parse_charconst, cpp_lex,
11296 cpp_parse_expr): Add static prototypes.
11297 (parse_charconst): Don't cast away const-ness.
11298 (token): Constify a char*.
11300 * cppfiles.c (file_name_list, include_hash, find_include_file,
11301 finclude, initialize_input_buffer): Constify a char*.
11302 (file_cleanup, find_position): Add static prototypes.
11304 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
11305 collect_expansion): Add static prototypes.
11306 (cpp_install, create_definition, monthnames): Constify a char*.
11308 * cpphash.h (cpp_install): Likewise.
11310 * cppinit.c (known_suffixes, default_include,
11311 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
11312 (base_name, dump_special_to_buffer, initialize_dependency_output):
11313 Add static prototypes.
11315 * cpplib.c (my_strerror): Constify a char*.
11316 (null_underflow, null_cleanup, skip_comment, copy_comment,
11317 copy_rest_of_line, handle_directive, pass_thru_directive,
11318 get_directive_token, read_line_number, cpp_print_file_and_line,
11319 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
11320 v_cpp_warning_with_line, detect_if_not_defined,
11321 consider_directive_while_skipping): Add static prototypes.
11322 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
11323 cpp_pedwarn_with_file_and_line): Constify a char*.
11325 * cpplib.h (cpp_options, include_hash, progname, definition,
11326 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
11327 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
11328 find_include_file, deps_output, include_hash): Constify a char*.
11330 * cppmain.c (progname): Constify.
11331 (main): Add prototype. Use return, not exit.
11333 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
11334 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
11335 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
11336 check_protection): Add static prototype.
11338 (progname, recognized_macrom, recognized_extern): Constify a char*.
11339 (main): Add prototype.
11341 * gen-protos.c (progname): Constify a char*.
11343 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
11345 * emit-rtl.c (free_emit_status): Take decl as a parameter.
11346 (init_emit_once): Add more GC roots.
11347 * except.c (mark_func_eh_entry): New function.
11348 (mark_eh_node): Mark false_label and rethrow_label.
11349 (init_eh): Add more GC roots.
11350 * function.c (free_after_compilation): Take decl as a paramter.
11351 Call free_stmt_status.
11352 (mark_function_state): Don't assume x_parm_reg_stack_loc is
11354 * function.h (free_after_compilation): Change prototype.
11355 (free_varasm_status): Likewise.
11356 (free_emit_status): Likewise.
11357 (free_stmt_status): New function.
11358 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
11359 Remove, replacing with ...
11360 (ggc_status): New structure.
11361 (ggc_chain): New variable.
11362 (init_gcc): Define.
11363 (ggc_push_context): New function.
11364 (ggc_pop_context): Likewise.
11365 (ggc_alloc_rtx): Adjust for use of ggc_chain.
11366 (ggc_alloc_rtvec): Likewise.
11367 (ggc_alloc_tree): Likewise.
11368 (ggc_alloc_string): Likewise.
11369 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
11370 (ggc_mark_tree): Give language-dependent code a chance to mark
11372 (ggc_mark_tree_varray): Handle empty arrays.
11373 (ggc_collect): Adjust for use of ggc_chain. Clear
11374 bytes_alloced_since_last_gc.
11375 * ggc.h (ggc_pop_context): New function.
11376 (ggc_push_context): Likewise.
11377 * print-tree.c (print_node): Don't print obstacks when GC'ing.
11378 * stmt.c (free_stmt_status): New function.
11379 (init_stmt_for_function): Clear last_expr_value.
11380 * toplev.c (rest_of_compilation): Always call free_after_compilation.
11381 Conditionalize call to ggc_collect.
11382 (main): Call init_ggc.
11383 * tree.c (push_obstacks): Do the push, even when GC'ing.
11384 (push_obstacks_nochange): Likewise.
11385 (pop_obstacks): Liekwise.
11386 * varasm.c (free_varasm_status): Take decl as a parameter.
11388 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
11390 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
11391 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
11392 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
11393 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
11395 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
11397 * pa/x-pa-mpeix: New file for the MPE port.
11399 * pa/quadlib.asm: New file for long double support.
11401 * configure.in: Add hppa1.0-*-mpeix for MPE port.
11402 * configure: Rebuilt.
11404 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
11406 * final.c (shorten_branches): Fix last change.
11408 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
11410 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
11412 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
11414 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
11417 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11419 * c-aux-info.c (concat): Don't define.
11421 * cccp.c (my_strerror): Likewise. All callers changed to use
11423 (do_include): Call xstrdup, not xmalloc/strcpy.
11424 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
11425 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
11427 * collect2.c (my_strsignal): Likewise. All callers changed to use
11429 (locatelib): Call xstrdup, not xmalloc/strcpy.
11431 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
11433 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
11435 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
11437 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
11439 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
11441 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
11443 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
11445 (find_all_handler_type_matches): Likewise. Don't check return
11447 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
11448 xmalloc, not malloc.
11449 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
11451 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
11452 (init_spec): Call xcalloc, not xmalloc/bzero.
11453 (set_spec): Call xstrdup, not save_string.
11454 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
11455 (find_a_file): Call xstrdup, not xmalloc/strcpy.
11456 (process_command): Call xstrdup, not save_string.
11457 (main): Call xcalloc, not xmalloc/bzero.
11459 * gcov.c (xmalloc): Don't define.
11460 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
11461 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
11462 (output_data): Call xcalloc, not xmalloc/bzero.
11464 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
11466 * mips-tdump.c (xmalloc): Don't define.
11467 (print_symbol): Call xmalloc, not malloc.
11468 (read_tfile): Call xcalloc, not calloc.
11470 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
11471 Don't define. All callers of xfree/my_strsignal changed to use
11472 free/strsignal instead.
11473 (allocate_cluster): Call xcalloc, not calloc.
11475 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
11476 Fix memory leak, free allocated memory.
11478 * prefix.c (translate_name): Call xstrdup, not save_string.
11479 (update_path): Likewise.
11481 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
11483 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
11484 Don't define. Callers of xfree/savestring2 changed to use
11485 free/concat instead.
11487 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
11488 (init_elim_table): Likewise.
11490 * resource.c (init_resource_info): Likewise.
11492 * stupid.c (stupid_life_analysis): Likewise.
11494 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
11495 (open_dump_file): Call concat, not xmalloc/strcpy/...
11496 (clean_dump_file): Likewise.
11497 (compile_file): Call xstrdup, not xmalloc/strcpy.
11499 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
11501 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
11502 * v850.c (v850_va_arg): New.
11504 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11506 * haifa-sched.c: Tidy comments.
11508 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11510 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
11511 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
11512 $(out_object_file)): Depend on ggc.h.
11513 * c-common.c: Include "ggc.h".
11514 (combine_strings): If doing GC, use ggc_alloc_string.
11515 * c-decl.c: Include "ggc.h".
11516 (ggc_p): Define with value 0.
11517 (mark_binding_level): New function.
11518 (init_decl_processing): Add GC roots.
11519 (mark_c_function_context): New function.
11520 (lang_mark_false_label_stack): New function.
11521 (lang_mark_tree): New function.
11522 (lang_cleanup_tree): New function.
11523 * c-lang.c: Include "ggc.h".
11524 (lang_init): Call c_parse_init.
11525 * c-lex.c: Include "ggc.h".
11526 (check_linenum): If doing GC, don't copy filenames to permanent
11528 * c-parse.in: Include "ggc.h".
11529 (c_parse_init): New function.
11530 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
11531 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
11533 * except.c (mark_eh_state): Mark more state.
11534 * function.c (mark_function_state): Likewise.
11535 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
11536 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
11537 * toplev.c (mark_file_stack): New function.
11538 (compile_file): If doing GC, use ggc_alloc_string on input filename.
11539 (main): Add root for input_file_stack.
11541 * i386.c: Include "ggc.h".
11542 (ix86_mark_machine_status): New function.
11543 (override_options): Set mark_machine_status.
11545 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11547 * tree.c (copy_node): Copy node contents also if doing GC.
11549 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
11551 * collect2.c (scan_libraries): Fix double-thinko :-).
11553 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
11555 * collect2.c (scan_libraries): Fix thinko.
11557 * cse.c (delete_trivially_dead_insns): Do not skip the last
11558 insn if it is a real insn.
11560 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
11562 * Makefile.in (ggc-simple.o): Depend on hash.h.
11563 * ggc.h (ggc_add_tree_hash_table_root): Declare.
11564 (ggc_mark_tree_varray): Likewise.
11565 (ggc_mark_tree_hash_table): Likewise.
11566 * ggc-simple.c: Include hash.h.
11567 (ggc_mark_tree_hash_table_ptr): New function.
11568 (ggc_mark_tree_hash_table_entry): Likewise.
11569 (ggc_mark_tree_hash_table): Likewise.
11570 (ggc_add_tree_hash_table_root): Likewise.
11571 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
11572 rtx, when defining fields.
11574 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11576 * profile.c (output_func_start_profiler): Remove apparently
11577 nonsensical call to start_sequence.
11579 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
11581 * clipper/clipper.c (clipper_va_start): Fix typos.
11583 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
11584 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
11585 (spur_va_arg): New stub.
11587 * configure.in: Comment out pyramid.
11589 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
11591 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
11592 don't conflict with the bits that win32, cygwin, and dgux
11595 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
11596 Bernd Schmidt <bernds@cygnus.co.uk>
11598 * integrate.c (function_cannot_inline_p): Do not inline
11599 functions with forced labels.
11601 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
11602 Bernd Schmidt <bernds@cygnus.co.uk>
11603 Mark Mitchell <mark@codesourcery.com>
11605 * Makefile.in (ggc-simple.o): Depend on varray.h.
11606 (rtl.o): Depend on ggc.h.
11607 (genattrtab.o): Depend on ggc.h.
11608 (print-tree.o): Likewise.
11609 (fold-const.o): Likewise.
11610 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
11611 (make_insn_raw): Don't cache insns when GC'ing.
11612 (emit_insn_before): Likewise.
11613 (emit_insn_after): Likewise.
11614 (emit_insn): Likewise.
11615 (start_sequence): Use xmalloc to allocate the sequence_stack.
11616 (end_sequence): Add free to free it.
11617 (gen_sequence): Don't cache insns when GC'ing.
11618 (clear_emit_caches): Don't use sequence_element_free_list.
11619 (init_emit): Use xcalloc, not xmalloc+bzero.
11620 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
11621 * function.c (pop_function_context_from): Use free to free the
11622 fixup_var_refs_queue.
11623 (put_reg_into_stack): Allocate it with xmalloc.
11624 * genattrtab.c: Include ggc.h.
11625 (operate_exp): Don't use obstack_free when GC'ing.
11626 (simplify_cond): Likewise.
11627 (simplify_text_exp): Likewise.
11628 (optimize_attrs): Likewise.
11629 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
11631 (gencode): Generate a #include for ggc.h.
11632 * ggc-callbacks.c (ggc_p): Define it to zero.
11633 * ggc-none.c (ggc_p): Likewise.
11634 * ggc-simple.c: Include varray.h.
11635 (ggc_mark_tree_varray): New function.
11636 (ggc_add_tree_varray_root): Likewise.
11637 (ggc_mark_tree_varray_ptr): Likewise.
11638 * ggc.h (ggc_p): Declare.
11639 (varray_head_tag): Likewise.
11640 (ggc_add_tree_varray_root): Declare.
11641 * print-tree.c (print_node): Don't check for TREE_PERMANENT
11642 inconsistencies when GC'ing.
11643 * rtl.c: Include ggc.h.
11644 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
11645 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
11646 (rtx_free): Don't call obstack_free when GC'ing.
11647 * toplev.c (rest_of_compilation): Call ggc_collect after every
11649 * tree.c (push_obstacks): Do nothing, if GC'ing.
11650 (pop_obstacks_nochange): Likewise.
11651 (pop_obstacks): Likewise.
11652 (make_node): Use ggc_alloc_tree when GC'ing.
11653 (copy_node): Likewise.
11654 (get_identifier): Use ggc_alloc_string when GC'ing.
11655 (build_string): Likewise.
11656 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
11657 (tree_cons): Likewise.
11658 (build1): Likewise.
11659 (type_hash_canon): Don't call obstack_free when GC'ing.
11661 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
11663 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
11664 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
11666 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
11667 Bernd Schmidt <bernds@cygnus.co.uk>
11668 Mark Mitchell <mark@codesourcery.com>
11670 * Makefile.in (stor-layout.o): Depend on ggc.h.
11671 (expr.o): Depend on ggc.h.
11672 (profile.o): Depend on ggc.h.
11673 (stor-layout.o): Depend on ggc.h.
11674 * emit-rtl.c (init_emit_once): Add gc roots.
11675 * expr.c: Include ggc.h.
11676 (emit_block_move): Add gc roots.
11677 (clear_storage): Likewise.
11678 * expr.h (init_stor_layout_once): New function.
11679 * profile.c: Include ggc.h.
11680 (init_arc_profiler): profiler_label is a root.
11681 * scan.c (make_sstring_space): Trust xrealloc to function
11682 correctly with first parameter NULL.
11683 * stor-layout.c: Include ggc.h.
11684 (set_sizetype): Add gc root.
11685 (init_stor_layout_once): New function.
11686 * toplev.c (compile_file): Call it.
11688 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
11689 Bernd Schmidt <bernds@cygnus.co.uk>
11690 Mark Mitchell <mark@codesourcery.com>
11692 * Makefile.in (tree.o): Depend on ggc.h.
11693 (varasm.o): Likewise.
11694 (function.o): Likewise.
11695 (stmt.o): Likewise.
11696 (except.o): Likewise.
11697 (optabs.o): Likewise.
11698 (emit-rtl.o): Likewise.
11699 * emit-rtl.c: Include ggc.h.
11700 (sequence_element_free_list): Remove, and all references.
11701 (mark_sequence): New functions.
11702 (mark_emit_state): New function.
11703 * except.c: Include ggc.h.
11704 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
11705 (mark_tree_label_node): New functions.
11706 (mark_eh_state): New function.
11707 * function.c: Include ggc.h.
11708 (mark_temp_slot, mark_function_chain): New functions.
11709 (mark_function_state): New function.
11710 (init_function_once): New function.
11711 * function.h (init_function_once): New function.
11712 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
11713 * ggc.h (label_node): Declare.
11714 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
11715 (lang_mark_false_label_stack): New function.
11716 (mark_temp_slot): Remove declaration.
11717 (mark_function_chain): Likewise.
11718 (mark_eh_state): Adjust prototype.
11719 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
11721 * optabs.c: Include ggc.h.
11722 (mark_optab): New function.
11723 (init_optabs): Add gc roots.
11724 * stmt.c: Include ggc.h.
11725 (mark_cond_nesting, mark_loop_nesting): New functions.
11726 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
11727 (mark_stmt_state): New function.
11728 * toplev.c (compile_file): Call init_function_once.
11729 * tree.c: Include ggc.h.
11730 (type_hash): Move declaration earlier in file.
11731 (TYPE_HASH_SIZE, type_hash_table): Likewise.
11732 (init_obstacks): Add gc roots.
11733 (mark_type_hash): New function.
11734 * varasm.c: Include ggc.h.
11735 (mark_pool_constant): New function.
11736 (mark_varasm_state): New function.
11738 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11740 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
11742 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11744 * c-decl.c (struct language_function): Renamed from struct c_function.
11746 (c_function_chain): Delete.
11747 (push_c_function_context): New arg F. Don't warn about nested
11748 functions here. Fill LANGUAGE elt of F. Delete code to update
11749 c_function_chain. Don't call push_function_context.
11750 (pop_c_function_context): New arg F. Restore from there instead of
11751 from c_function_chain. Don't call pop_function_context. Clear out
11752 LANGUAGE field of F when done.
11753 * c-lang.c: Include "function.h"
11754 (lang_init): Initialize save_lang_status and restore_lang_status.
11755 * c-parse.in (nested_function, nested_function_notype): Warn about
11756 nested functions. Call push_function_context/pop_function_context
11757 instead of the _c_ variants.
11758 * c-tree.h (push_c_function_context, pop_c_function_context): Update
11760 * Makefile.in (c-lang.o): Update dependencies.
11762 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
11763 regno_pointer_flag, regno_pointer_align.
11764 (gen_reg_rtx): Use xrealloc to enlarge them.
11765 (free_emit_status): New function.
11766 * function.c (mark_machine_status, mark_lang_status): New variables.
11767 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
11768 in some bits from assign_stack_local. All callers changed to use new
11770 (assign_stack_local): Just call assign_stack_local_1.
11771 (free_after_compilation): New function.
11772 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
11773 (trampoline_address): Likewise.
11774 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
11775 (prepare_function_start): Explicitly clear some more variables.
11776 * function.h (struct function): New elt can_garbage_collect.
11777 (mark_machine_status, mark_lang_status): Declare variables.
11778 (free_after_compilation, free_emit_status, free_varasm_status,
11779 init_varasm_status): Declare functions.
11780 * toplev.c (rest_of_compilation): Call free_after_compilation when
11781 done with the current function.
11782 * varasm.c (free_varasm_status): New function.
11784 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
11786 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
11787 (EXPAND_BUILTIN_VA_ARG): Define.
11788 * sparc.c (sparc_va_start): New.
11789 (sparc_va_arg): New.
11791 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11793 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
11795 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11797 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
11799 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
11801 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
11802 (OBJS): Add $(GGC).
11803 (ggc-callbacks.o): New target.
11804 * ggc-callbacks.c: New file.
11806 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11808 * expr.h: Collapse individual optab and libfunc vars to arrays.
11809 (optab_index, libfunc_index): New enumerations.
11810 (optab_table, libfunc_table): New arrays.
11811 Add accessor macros for both.
11813 * optabs.c (optab_table, libfunc_table): New.
11814 Delete declarations for individual optab and libfunc vars.
11816 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
11818 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
11820 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
11822 * Makefile.in (GGC, GGC_LIB): New.
11823 (HOST_RTL): Include ggc-none.o.
11824 (ggc-simple.o): New target.
11825 (ggc-none.o): Likewise.
11826 * tree.h (tree_common): Add gc_mark.
11827 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
11828 (struct rtvec_def): Add gc_mark.
11829 * emit-rtl.c (global_rtl): Update static initializers to contain
11830 enough initializers.
11831 * ggc.h, ggc-none.c, ggc-simple.c: New files.
11832 * toplev.c (gc_time): New variable.
11833 (all_time): New variable.
11834 (compile_file): Print gc time.
11835 (print_time): Calculate percentage of the whole.
11837 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11839 Change obstack memory management and varasm constant pool handling so
11840 that nested functions are treated like any other functions.
11841 * function.c (init_machine_status): New variable.
11842 (push_function_context_to): Set contains_functions for the outer
11843 function. Don't call save_varasm_status.
11844 (pop_function_context_from): Don't call restore_varasm_status. Don't
11845 set current_function_contains_functions.
11846 (prepare_function_start): Call init_varasm_status rather than
11847 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
11849 * function.h (struct function) Add field varasm. Delete fields
11850 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
11851 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
11852 (init_machine_status): Declare.
11853 (save_varasm_status, restore_varasm_status): Delete declarations.
11854 (save_tree_status, restore_tree_status): Delete last argument.
11855 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
11856 code. All callers changed.
11857 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
11858 save_constants_in_decl_trees, restore_constants, save_constants,
11859 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
11861 (inlining): New variable.
11862 (reg_map, label_map, insn_map, orig_asm_operands_vector,
11863 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
11865 (save_for_inline_nocopy): Don't save constants.
11866 Don't set inl_emit field in current_function.
11867 (expand_inline_function): Use emit field, not inl_emit, of the inlined
11868 function. Set new variable inlining before
11869 calling copy_rtx_and_substitute.
11870 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
11871 constant pool references if inlining is nonzero.
11872 Delete ADDRESS and (most of the) CONST cases.
11873 (output_inline_function): Save and restore current_function/
11874 current_function_decl. Delete restore_constants code. Don't call
11875 init_const_rtx_hash_table.
11876 * output.h (init_const_rtx_hash_table): Don't declare.
11877 * rtl.h (struct function): Declare.
11878 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
11879 * toplev.c (rest_of_compilation): Don't treat nested functions or
11880 functions containing them specially. Delete all code to deal with
11881 save_for_inline_copying.
11882 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
11883 inline_obstacks): Delete variables.
11884 (save_tree_status): Lose arg CONTEXT. All callers changed.
11885 Simply allocate a new function_maybepermanent_obstack for the new
11886 function, delete all the special cases.
11887 Don't save inline_obstacks.
11888 (restore_tree_status): Lose arg CONTEXT. All callers changed.
11889 Delete special handling for function_maybepermanent_obstack; simply
11891 Don't restore inline_obstacks.
11892 (permanent_allocation): Delete code that frees inline_obstacks.
11893 (print_inline_obstack_statistics): Delete function.
11894 (dump_tree_statistics): Don't call it.
11895 * varasm.c (struct varasm_status): New.
11896 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
11897 last_pool, pool_offset, const_double_chain): Delete global
11898 variables, replace with accessor macros.
11899 (immed_double_const): Don't walk const_double_chain outside a
11900 function, but don't treat nested functions specially anymore.
11901 (immed_real_const_1): Likewise.
11902 (clear_const_double_mem): Don't treat nested functions specially.
11903 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
11904 (save_varasm_status, restore_varasm_status): Delete functions.
11905 (init_varasm_status): New function.
11906 (force_const_mem): Don't treat nested functions specially.
11907 (find_pool_constant): Accept new arg F, search for constants in
11908 that function's pool rather than the current one. All callers
11910 (get_pool_constant_for_function, get_pool_mode_for_function): New
11913 * i386.c (init_386_machine_status): New function, mostly from
11914 clear_386_stack_locals.
11915 (struct machine_functions): Rename element names to avoid name
11917 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
11918 macros, replacing global variables.
11919 (clear_386_stack_locals, save_386_machine_status,
11920 restore_386_machine_status): Delete functions.
11921 (override_options): Initialize init_machine_status.
11922 * i386.h (INIT_EXPANDERS): Delete macro.
11923 (save_386_machine_status, restore_386_machine_status,
11924 clear_386_stack_locals): Delete declarations.
11926 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11928 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
11929 (doloop_begin): Simplify pattern and use emit_jump_insn.
11930 (doloop_end): Simplify pattern, switch operand order,
11931 and use emit_jump_insn.
11933 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11935 * function.h (struct function): Add new element LANGUAGE.
11936 (save_lang_status): Declare new variable.
11937 (restore_lang_status): Likewise.
11938 * function.c (save_lang_status): Define.
11939 (restore_lang_status): Likewise.
11940 (push_function_context_to): Call language-specific save function.
11941 (pop_function_context_from): Call language-specific restore function.
11943 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11945 * i386.md (movsf_1): Check REG_P before use of REGNO.
11946 (movdf_1): Likewise.
11947 (movxf_1): Likewise.
11948 (extendsfdf2): Likewise.
11949 (extendsfxf2): Likewise.
11950 (extenddfxf2): Likewise.
11952 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11954 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
11955 constants into memory.
11956 (c4x_shiftable_constant): New function.
11957 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
11958 (c4x_shiftable_constant): Declare.
11959 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
11960 ashlqi3_noclobber): Add new patterns and associated splitters.
11962 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
11964 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
11965 * dwarf2out.c (dwarf2out_frame_init): Likewise.
11966 * final.c (shorten_branches): Likewise.
11967 * global.c (global_alloc): Likewise.
11968 * haifa-sched.c (build_control_flow): Likewise.
11969 * stmt.c (check_for_full_enumeration_handling): Likewise.
11970 (estimate_case_costs): Likewise.
11972 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
11974 * rtl.h (RTL_CHECKC2): Fix typo in last change.
11976 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
11978 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
11979 (recompute_reg_usage): Likewise.
11980 * rtlanal.c (find_regno_fusage): Likewise.
11982 * rtl.c (rtl_check_failed_code1): New function.
11983 (rtl_check_failed_code2): New.
11984 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
11985 (RTL_CHECKC1, RTL_CHECKC2): New.
11986 (XC*): New accessor macros.
11987 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
11988 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
11989 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
11990 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
11991 (TRAP_*, RANGE_INFO_*): Likewise.
11993 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11995 * Makefile.in (tlink.o): Don't depend on toplev.h.
11997 * collect2.c (c_file, o_file, export_file, import_file, ldout,
11998 output_file, nm_file_name, ldd_file_name, strip_file_name,
11999 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
12000 add_prefix, prefix_from_env, prefix_from_string, do_wait,
12001 fork_execute, maybe_unlink, add_to_list,
12002 extract_init_priority, write_list, dump_list,
12003 dump_prefix_list, write_list_with_asm, write_c_file,
12004 write_c_file_stat, write_c_file_glob, scan_prog_file,
12005 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
12006 ignore_library, extract_string, notice, dump_file, target_machine,
12007 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
12008 read_file, print_load_command): Constify a char*.
12009 (fdopen, error, fatal, fatal_perror): Don't prototype.
12010 (my_strerror): Remove. All callers use xstrerror instead.
12011 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
12012 (main): Add prototype. Constify lots of char* ptrs. Change calls
12013 to xcalloc/strcpy/strcat/... to one call to concat.
12014 (main, scan_prog_file, scan_libraries): Use an intermediate
12015 `const char **' to build an argv array.
12016 (mapfile, libselect, libcompare, locatelib): Add prototypes.
12018 * collect2.h (collect_execute, collect_wait, dump_file,
12019 file_exists): Constify a char*.
12020 (ldout, c_file_name, temporary_obstack, permanent_obstack,
12021 temporary_firstobj, vflag, debug): Add extern declarations.
12022 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
12024 * tlink.c: Don't include toplev.h.
12025 (vflag, debug, ldout, c_file_name, temporary_obstack,
12026 permanent_obstack, temporary_firstobj): Don't declare.
12027 (tlink_execute, frob_extension, symbol_hash_lookup,
12028 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
12029 recompile_files, read_repo_files, demangle_new_symbols,
12030 scan_linker_output): Constify a char*.
12031 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
12032 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
12034 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
12036 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
12037 (relative) rather than jsr (absolute) subroutine call insns.
12038 * config/m68k/m68k-coff.h: Ditto.
12040 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
12042 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
12043 now rework these too.
12044 (arm_reorg): If an insn can't reach the end of the current pool,
12045 ensure that we emit that pool before the insn.
12047 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
12049 * tlink.c (scan_linker_output): Skip the initial underscore in
12050 a mangled name if appropriate.
12052 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12054 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
12055 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
12056 error_with_ivar, gen_declarator, create_builtin_decl,
12057 my_build_string, generate_descriptor_table, generate_ivars_list,
12058 generate_dispatch_table, check_protocols, TAG_GETCLASS,
12059 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
12060 dump_base_name, lang_decode_option, build_encode_expr,
12061 start_class, finish_class, encode_pointer, really_start_method,
12062 gen_declaration, dump_interface, handle_class_ref, handle_impent):
12064 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
12065 Add static prototypes.
12066 (build_objc_string_decl, build_selector_reference_decl,
12067 encode_bitfield, build_class_reference_decl): Remove unused
12068 parameter, all callers changed.
12069 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
12070 (objc_printable_name): Likewise. Change second parameter to type int.
12071 (init_objc): Use memcpy, not bcopy, to avoid casts.
12073 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
12075 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
12076 reg notes on a deleted insn.
12077 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
12079 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
12081 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
12083 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12085 * stmt.c (expand_asm_operands): Fix index into inout_mode when
12088 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
12090 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
12091 * tm.texi (MD_ASM_CLOBBERS): Document it.
12093 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
12095 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
12096 * except.c (expand_rethrow): Remove unused variable.
12097 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
12098 * flow.c (replace_insns): Likewise.
12099 (create_edge_list, verify_edge_list): Likewise.
12100 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
12102 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
12103 is special code to run.
12104 (main): Don't define operands to emit_operand.
12105 * genrecog.c (main): Don't emit an empty peephole2_insn function.
12107 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
12109 * alpha/alpha.h (normal_memory_operand): Declare.
12110 (reg_no_subreg_operand): Declare.
12111 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
12113 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
12115 * c-parse.in (compstmt_primary_start): New, broken out of first
12116 part of compstmt handling in primary.
12117 (primary): Use it. Add an error clause.
12118 (compstmt_nostart): Renamed from compstmt; remove all
12119 initial invocations of compstmt_start.
12122 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
12124 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
12127 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
12129 * combine.c (simplify_shift_const): Remove extra semicolon.
12130 * dwarf2out.c (remove_AT): Likewise.
12131 * expmed.c (expand_mult): Likewise.
12132 * gcov.c (create_program_flow_graph): Likewise.
12133 * reorg.c (mostly_true_jump): Likewise.
12135 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
12137 * fold-const.c (fold_range_test): Do not try to fold the range
12138 test if the rhs or lhs has side effects.
12140 * combine.c (simplify_rtx): Recognize another case of a synthesized
12143 * varasm.c (mark_constant_pool): When marking indirect references,
12144 only look at SYMBOL_REFs.
12146 * except.c (expand_fixup_region_end): Do not peek at
12147 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
12149 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
12151 * flags.h: New variables align_loops, align_loops_log,
12152 align_jumps, align_jumps_log, align_labels, align_labels_log,
12153 align_functions, align_functions_log.
12154 * toplev.c: Define them.
12155 (f_options): Handle -falign-* when they have no argument.
12156 (main): Add logic to set variables for -falign-functions,
12157 -falign-jumps, -falign-labels, -falign-loops.
12158 Make it -fsched-verbose=<n> and -finline-limit=<n>.
12159 (display_help): Change help to match options.
12160 * final.c (LABEL_ALIGN): Default to align_labels_log.
12161 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
12162 (LOOP_ALIGN): Default to align_loops_log.
12163 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
12164 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
12165 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
12166 * varasm.c (assemble_start_function): Handle align_functions.
12168 * config/sparc/sparc.h: Don't declare sparc_align_*.
12169 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
12170 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
12172 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
12174 * config/sparc/sparc.c: Delete sparc_align_loops,
12175 sparc_align_jumps, sparc_align_funcs and the corresponding string
12177 (sparc_override_options): Default align_functions on ultrasparc.
12178 Delete -malign-* handling.
12180 * config/mips/mips.c (override_options): On 64-bit targets,
12181 try to align code to 64-bit boundaries.
12182 (print_operand): New substitution, %~,
12183 which aligns labels to align_labels_log.
12184 * config/mips/mips.md (div_trap_normal): Use %~.
12185 (div_trap_mips16): Likewise.
12187 (absdi2): Likewise.
12188 (ffssi2): Likewise.
12189 (ffsdi2): Likewise.
12190 (ashldi3_internal): Likewise.
12191 (ashrdi3_internal): Likewise.
12192 (lshrdi3_internal): Likewise.
12193 (casesi_internal): Likewise.
12195 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
12197 Merge new ia32 backend from the branch!
12199 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
12200 See ChangeLog.P2 on new_ia32_branch for details.
12202 * rtl.h (stack_regs_mentioned_p): Delete prototype.
12203 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
12204 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
12205 * i386/gas.h (ASM_FILE_START): Define.
12206 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
12207 for name change of ix86_valid_decl_attribute_p.
12208 (i386_pe_valid_type_attribute_p): Similarly.
12210 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
12212 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
12213 to step through CC modes.
12215 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12217 * regmove.c (fixup_match_1): Don't move INSN in front of P if
12218 it would end up in the shadow of a live flags regsiter.
12220 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12222 * reload1.c: Fix many indentation problems.
12223 * reload.c: Likewise.
12225 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
12227 * alias.c (non_local_reference_p): Constify fmt.
12229 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
12231 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
12233 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
12235 * cse.c (delete_trivially_dead_insns): Do not delete stores to
12236 the internal_arg_pointer.
12238 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
12240 Merge peephole2 from new_ia32_branch:
12241 * Makefile.in (STAGESTUFF): Add *.peephole2.
12242 (mostlyclean): Likewise.
12243 (recog.o): Depend on resource.h.
12245 * final.c (peephole): Conditionalize decl on HAVE_peephole.
12246 (final_scan_insn): Likewise for the invocation of peephole.
12247 * genconfig.c (main): Look for peephole and peephole2 patterns.
12248 Emit HAVE_peephole* accordingly.
12249 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
12250 * flags.h (flag_peephole2): Declare.
12251 * toplev.c: New pass peephole2. New flag -fpeephole2.
12253 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
12254 * gencodes.c (main): Likewise.
12255 * genextract.c (main): Likewise.
12256 * genoutput.c (main): Likewise.
12257 * genemit.c (max_operand_1): Look for the max scratch operand.
12258 (gen_rtx_scratch): New.
12259 (gen_exp): Use it, and pass on new arg subroutine_type.
12260 (gen_expand): Take max scratch into account.
12261 (gen_split): Emit peephole2 functions.
12262 (output_peephole2_scratch): New.
12263 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
12264 * genrecog.c (routine_type): Add PEEPHOLE2.
12266 (make_insn_sequence): Match outer parallel for peep2. Discard
12267 top level scratches and dups.
12268 (add_to_sequence): New args insn_type and top. Update all callers.
12269 Handle toplevel peep2 matching insns.
12270 (write_subroutine): Handle peep2.
12271 (write_tree_1): Likewise.
12272 (write_tree): Likewise.
12274 (change_state): New arg afterward. Update all callers.
12275 Handle matching separate insns.
12276 * recog.c (recog_next_insn): New.
12277 (peephole2_optimize): New.
12278 * rtl.def (DEFINE_PEEPHOLE2): New.
12279 * resource.c (find_free_register): New argument last_insn. Use it
12280 to find a register available through the entire span.
12281 * resource.h (find_free_register): Update prototype.
12283 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
12285 * i386.c (output_strlen_unroll): Don't write xops[7]
12286 label if it wasn't set.
12288 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
12290 * cpplib.c (struct directive): Const-ify name pointer and
12291 function pointer prototype.
12292 (validate_else, do_define, do_line, do_include, do_undef,
12293 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
12294 do_elif, do_endif, do_sccs, do_assert, do_unassert,
12295 do_warning): Const-ify second arg.
12296 (directive_table): Mark const. Reorder entries by frequency
12297 of usage, record statistics.
12299 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
12301 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
12302 bounds- check RTL accesses if --enable-checking.
12303 (RTVEC_ELT): Bounds check if --enable-checking.
12304 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
12305 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
12306 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
12308 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
12309 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
12311 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
12312 (NOTE_SOURCE_FILE): Use X0STR.
12313 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
12314 MEM_ALIAS_SET): Use X0INT.
12315 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
12316 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
12318 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
12319 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
12320 (rtl_check_failed_bounds, rtl_check_failed_type1,
12321 rtl_check_failed_type2, rtvec_check_failed_bounds): New
12323 (fancy_abort): Fix comment.
12325 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
12326 (cse_insn): Decrement LABEL_NUSES for jump target before
12327 deleting jump insn.
12328 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
12329 * final.c (alter_subreg): Compute regno before changing x to
12330 REG; set REGNO(x) after changing it.
12331 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
12332 notes containing CONST_INTs.
12333 (delete_eh_regions): Use NOTE_EH_HANDLER.
12334 * function.c (put_reg_into_stack): Make reg a MEM before
12336 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
12338 (gen_mem_addressof): Make reg a MEM before initializing it.
12339 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
12341 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
12342 deleting an insn, not after.
12343 (block_alloc): Only look at PATTERN(insn) if we have to, and
12344 only if it's format class 'i'.
12345 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
12346 CONST_INT before using its INTVAL.
12347 * print-rtl.c (print_rtx): Use X0STR.
12348 * regmove.c (fixup_match_1): Don't look at PATTERN of
12349 non-class-'i' insn chain elements.
12350 * reload.c (loc_mentioned_in_p): Take address of
12351 in->fld[1].rtx directly.
12352 * reload1.c (reload): Change reg to a MEM before initializing
12354 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
12356 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
12358 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
12360 * config/mips/mips.c (machine_dependent_reorg): Force a
12361 barrier to output the local constant pool if a barrier hasn't
12362 been found at a natural point in the instruction stream.
12364 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12366 * c-parse.in (language_string): Constify.
12368 * dwarf2out.c (language_string): Remove declaration.
12370 * dwarfout.c (language_string): Likewise.
12372 * toplev.c (language_string, init_parse, finish_parse): Likewise.
12374 * tree.h (language_string, init_parse, finish_parse): Declare.
12376 * i386/sun386.h (language_string): Remove declaration.
12378 * mips.h (language_string): Likewise.
12380 * nextstep.h (language_string): Likewise.
12382 * nextstep21.h (language_string): Likewise.
12384 * rs6000.c (language_string): Likewise.
12386 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12388 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
12389 (getpwd.o): Remove target.
12391 * getpwd.c: Delete file. Its in libiberty now.
12393 * dbxout.c (getpwd): Don't prototype.
12394 * dwarf2out.c (getpwd): Likewise
12395 * dwarfout.c (getpwd): Likewise
12396 * final.c (getpwd): Likewise.
12397 * protoize.c (getpwd): Likewise.
12399 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12401 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
12403 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
12405 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
12406 mark_set_resources.
12408 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
12410 * fixinc/Makefile.in (subdir): New.
12411 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
12414 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
12416 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
12417 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
12420 * invoke.texi: Fix typo.
12422 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
12423 changed. Handle autoincrement addressing modes.
12425 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
12426 just like we would the virtual incoming args register when
12429 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
12431 * rs6000.h (ASM_FILE_START): Specify complete filename, including
12432 path, in .file directive.
12434 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
12436 * gcc.texi (External Bugs): Remove obsolete note about Perl on
12439 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
12441 * stdbool.h: Make the typedef name _Bool, with bool a #defined
12444 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12446 * tree.c (tree_code_name): Constify a char*.
12448 * tree.h (tree_code_name, decl_printable_name): Likewise.
12450 * function.h (struct function): Likewise.
12452 * toplev.c (decl_name, decl_printable_name): Likewise.
12454 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
12456 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
12457 (init_objc): Remove function pointer cast.
12459 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
12461 * pa.md (interspace_jump): New pattern.
12462 (builtin_longjmp): New expander.
12464 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
12466 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
12467 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
12468 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
12470 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
12472 * jump.c (delete_prior_computation): Also check calls
12473 to constant functions. Don't bother checking for a
12474 REG_UNUSED note before adding it.
12475 (delete_computation): Handle multi-word hard registers
12476 when synthesizing missing REG_DEAD notes for a register
12477 which is both set and used by an insn.
12479 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12481 * loop.c (this_loop_info): New variable.
12482 (loop_has_call, loop_has_volatile, loop_has_tablejump,
12483 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
12485 (prescan_loop, strength_reduce): New argument loop_info. All callers
12487 (scan_loop): New variable loop_info, initialise to address of
12489 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
12490 Delete variable loop_has_multiple_exit targets and replace with
12491 field in this_loop_info.
12492 (find_and_verify_loops): Rename this_loop to this_loop_num.
12493 (strength_reduce): Delete loop_iteration_info. Replace variable
12494 loop_info with function argument of same name.
12495 (insert_bct): Rework test for loop being completely unrolled.
12497 * loop.h (struct loop_info): New fields num, loops_enclosed,
12498 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
12499 has_indirect_jump, and cont. Redefine use of unroll_number.
12500 (loop_unroll_number): Delete.
12502 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
12503 field of loop_info.
12504 (loop_iterations): Delete variable vtop and instead use
12505 loop_info->vtop computed in prescan_loop.
12507 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
12509 * fix-header.c (main): Do not pass a null pointer to strcmp.
12511 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
12513 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
12515 * configure: Rebuilt.
12517 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
12519 * jump.c (jump_optimize_1): Do not delete assignments to
12520 internal_arg_pointer.
12521 * cse.c (delete_trivially_dead_insns): Always consider a set of
12522 the internal_arg_pointer live.
12524 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
12526 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
12527 (update_life_info) [REG_WAS_0]: Search the original insns rather
12528 than the new insns for the note. Fix typos finding note_dest.
12529 If no dest found, discard the note rather than abort.
12530 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
12531 (replace_insns): Remove the old insn list after update_life_info
12534 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
12536 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
12537 sched_analyze_insn.
12538 (sched_analyze_1): Let add_dependence care for not adding dups.
12539 (sched_analyze_2): Likewise.
12540 (add_branch_dependences): Likewise.
12542 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
12544 * i386/winnt.c (export_list): New type.
12545 (exports_head): Rename to
12546 (export_head): this.
12547 (i386_pe_record_exported_symbol): Add is_data flag.
12548 (i386_pe_asm_file_end): Emit directive for exported variables.
12549 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
12551 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
12552 (ASM_DECLARE_OBJECT_NAME): Likewise.
12553 (ASM_DECLARE_FUNCTION_NAME): Likewise.
12554 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
12556 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
12558 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
12560 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
12563 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
12565 * config/openbsd.h: Define SET_ASM_OP.
12566 * tm.texi: cross-reference SET_ASM_OP in the index.
12568 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
12570 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
12571 for a CONST_DOUBLE, at compile time. Initialize rtx_length
12572 and class_narrowest_mode at compile time. Kill init_rtl.
12573 Mark rtx_length, mode_class, mode_size, mode_unit_size,
12574 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
12575 rtx_format as const. Kill all references to EXTRA_CC_MODES or
12577 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
12579 * rtl.h: Declare rtx_length and rtx_format as const.
12580 * machmode.def: Define CC(). Use CC() to define CCmode. If
12581 EXTRA_CC_MODES is defined, expand it here.
12582 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
12583 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
12584 const. Kill all references to EXTRA_CC_MODES.
12586 * toplev.c: Don't prototype or call init_rtl.
12587 * optabs.c: Don't call init_mov_optab.
12588 * genemit.c: Don't generate init_mov_optab. Don't call
12590 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
12592 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
12593 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
12594 genrecog.c: Don't call init_rtl.
12596 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
12597 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
12598 definition of EXTRA_CC_MODES.
12600 * md.texi: Kill ref to EXTRA_CC_NAMES.
12601 * tm.texi: Document new way to define EXTRA_CC_MODES.
12603 * genrecog.c: Do not look up the name of a define_split.
12604 (Unrelated bugfix.)
12606 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
12608 * config/v850/v850.md: Fix typo introduced by previous delta.
12610 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12612 * gcc.c (fatal): Make definition static to match prototype.
12614 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12616 * combine.c (get_last_value): Don't look for earlier sets if the last
12617 known set is somewhere in between the insns being combined.
12619 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
12621 * configure.in: Don't use shell ! to negate exit codes
12622 * configure: Regenerate
12624 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
12626 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
12627 the fact that ALIGN is measured in bits, not bytes.
12629 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
12631 * errors.c: New file; defines functions error, warning, and
12632 fatal, variables have_error and progname.
12633 * errors.h: New file; prototypes and decls for stuff in errors.c.
12635 * Makefile: Add rules to build errors.o and
12636 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
12637 genopinit, genrecog, genextract, genpeep, genattr, and
12638 genoutput with errors.o. Add errors.h to deps of genconfig.o,
12639 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
12640 genpeep.o, genattr.o, and genoutput.o.
12642 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
12643 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
12644 define or prototype fatal. Set progname at beginning of main.
12645 * genoutput.c: Likewise, and don't define or prototype error
12648 * c-typeck.c (c_expand_start_case): Return immediately if exp
12650 * fold-const.c (operand_equal_p): Return immediately if arg1
12651 or arg0 are ERROR_MARKs.
12652 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
12653 fields of type ERROR_MARK when calculating if the record can
12656 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
12657 with much help from Jeffrey A Law and Richard Henderson
12659 * i386.md: In the 6 insns which call output_fix_trunc,
12660 earlyclobber operands[0].
12662 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
12664 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
12665 creating new registers.
12667 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
12669 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
12670 i386_reg_alloc_order, i386_regparm_string,
12671 i386_align_loops_string, i386_align_jumps_string,
12672 i386_align_funcs_string, i386_preferred_stack_boundary_string,
12673 and i386_branch_cost_string as type "const char *".
12674 * i386.c: Define all above strings as type "const char *".
12676 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
12678 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
12679 when emitting alignment padding. Emit padding byte of 0 instead of 4.
12681 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
12683 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
12684 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
12686 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
12688 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
12689 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
12690 (dwarf2out_line, dwarf2out_finish): Likewise.
12691 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
12693 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
12695 * tree.c (lang_unsave_expr_now) : Correct return type.
12696 * tree.h (lang_unsave_expr_now) : Same.
12698 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
12700 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
12701 instead of duplicating code.
12703 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12705 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
12707 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
12709 * tree.h: fancy_abort always takes three args.
12710 * resource.c: Move include of system.h before toplev.h.
12712 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
12714 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
12717 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
12719 * system.h: Don't redefine abort or trim_filename.
12720 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
12721 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
12722 whether or not __FUNCTION__ is available.
12723 * tree.h: Duplicate rtl.h's definition of abort, for files
12724 that don't include rtl.h. Delete all code to perform type
12725 checking with a compiler other than GCC.
12726 * varray.h: Delete all code to perform type checking with a
12727 compiler other than GCC. Make VARRAY_CHECK() always evaluate
12728 its arguments exactly once, using a statement expression.
12729 Adjust the VARRAY_<type> accessor macros to match.
12730 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
12731 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
12732 caller's location. Define fatal_insn and fatal_insn_not_found
12733 as macros that use _fatal_insn and _fatal_insn_not_found.
12734 (fancy_abort, trim_filename): Kill prototypes.
12736 * rtl.c (trim_filename): Move here from toplev.c.
12737 (fancy_abort): New function.
12738 (DIR_SEPARATOR): Provide default definition.
12739 * tree.c (tree_check_failed, tree_class_check_failed): Go
12740 through fancy_abort.
12741 (tree_check, tree_class_check, cst_or_constructor_check,
12742 expr_check): Delete.
12743 * varray.c (varray_check_failed): New function.
12744 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
12745 _fatal_insn and _fatal_insn_not_found. Go through
12747 (trim_filename, fancy_abort): Delete.
12749 * builtins.c (expand_builtin_args_info): Report ICE with abort.
12750 * except.c (start_catch_handler): Report ICE with error/abort
12752 * final.c (output_operand_lossage): Likewise.
12753 * flow.c (verify_flow_info): Likewise.
12755 * gcc.c: Prototype fatal.
12756 * gengenrtl.c: Undef abort after including rtl.h not system.h.
12757 * genattr.c, genattrtab.c, genemit.c, genextract.c,
12758 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
12759 Don't define fancy_abort.
12761 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
12763 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
12766 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
12768 * m88k.h (VERSION_INFO2): Kill.
12769 (VERSION_STRING): Kill.
12771 (VERSION_INFO1): Tidy.
12772 (TARGET_VERSION): Update.
12773 * m88k/dgux.h (VERSION_INFO2): Kill.
12774 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
12775 * m88k/luna.h (VERSION_INFO1): Tidy.
12776 * m88k/sysv4.h (VERSION_INFO1): Likewise.
12777 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
12778 (output_file_start): Adjust for death of VERSION_STRING.
12780 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
12782 * cpplib.c (detect_if_not_defined): New function.
12783 (do_if): Use it to detect potential once-only headers.
12785 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
12787 * c-common.c (combine_strings): Always set TREE_CONSTANT.
12789 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
12791 * combine.c (nonzero_bits) : Allow single-ly set registers to be
12792 anywere in the function only if they are pseudos and set before
12793 being used (not live at the start of the function).
12794 (num_sign_bit_copies) : Same.
12795 (get_last_value_validate) : Same.
12796 (get_last_value) : Same.
12798 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
12800 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
12801 where N and M are constant and N is an integer multiple of M.
12803 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12805 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
12806 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
12807 sbitmap_union_of_preds): Add prototypes.
12808 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
12809 the intersection of successors with the new flow graph structures.
12810 (sbitmap_intersection_of_preds): New function to compute the
12811 intersection of predecessors with the new flow graph structures.
12812 (sbitmap_union_of_succs): New function to compute the union of
12813 successors with the new flow graph structures.
12814 (sbitmap_union_of_preds): New function to compute the union of
12815 predecessors with the new flow graph structures.
12816 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
12817 (expr_reaches_here_p): Use edge and basic_block structures instead
12818 of s_preds and s_succs.
12819 (compute_cprop_avinout): Use new sbitmap routines.
12820 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
12821 of s_preds and s_succs.
12822 * flow.c (compute_flow_dominators): Compute dominators using
12823 edges and basic blocks instead of s_preds and s_succs.
12825 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12827 * lists.c (unused_insn_list, unused_expr_list): New file for
12828 maintaining various types of lists. New statics for maintaining a
12829 cache of available INSN_LIST and EXPR_LIST nodes.
12830 (free_list): Static function for freeing a list of INSN/EXPR nodes.
12831 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
12832 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
12833 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
12834 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
12835 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
12836 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
12837 (free_INSN_LIST_node): Free an individual INSN_LIST node.
12838 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
12839 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
12840 (remove_dependence, free_pending_lists): Use new global routines.
12841 (flush_pending_lists, sched_analyze_insn): Use new global routines.
12842 (sched_analyze, compute_block_backward_dependences): Use new routines.
12843 (sched_analyze_1, sched_analyze_2): Use new routines.
12844 (schedule_insns): Use new global routines.
12845 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
12847 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
12848 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
12850 * toplev.c (rest_of_compilation): Initialize node cache.
12851 * Makefile.in (OBJS): Add lists.o to list of object files.
12852 (lists.o): Add dependancies.
12854 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
12856 * config/v850/v850.md: Fix compile time warning messages.
12857 * config/v850/v850.c: Fix compile time warning messages.
12858 * config/v850/v850.h: Fix compile time warning messages.
12860 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12862 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
12863 Remove unused prototype for `init_lengths'.
12865 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12867 * calls.c (emit_call_1): Mark parameter `stack_size' with
12869 (expand_call): Initialize variable `insn'.
12870 (emit_library_call): Likewise for variable `high_to_save'.
12871 (emit_library_call_value): Likewise.
12872 (store_one_arg): Likewise for variables `lower_bound' and
12875 * combine.c (try_combine): Likewise for variables `i2_code_number'
12876 and `other_code_number'.
12877 (find_split_point): Likewise for variables `pos', `unsignedp' and
12879 (simplify_if_then_else): Likewise for variables `op' and `c1'.
12880 (simplify_and_const_int): Remove unused variable `width'.
12881 (merge_outer_ops): Likewise.
12883 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
12884 HOST_WIDE_INT' when comparing against one.
12885 (simplify_relational_operation): Likewise.
12886 (cse_insn): Initialize variables `src_eqv_volatile',
12887 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
12889 * final.c (init_final): Constify parameter `filename'.
12890 (final_start_function): Mark parameter `optimize' with
12892 (profile_function): Likewise for parameters `first' and `optimize'.
12893 (output_source_line): Likewise for parameter `file'.
12895 * integrate.c (subst_constants): Cast a value to `size_t' when
12896 comparing against one.
12897 (mark_stores): Initialize variable `mode'. Cast a value to
12898 `size_t' when comparing against one.
12900 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
12902 * loop.c (move_movables): Initialize variable `first'.
12903 (strength_reduce): Likewise for variable `increment'.
12904 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
12905 value to `size_t' when comparing against one.
12906 (load_mems): Initialize variable `end_label'.
12908 * output.h (init_final): Constify parameter.
12910 * reload.c (decompose): Initialize variable `base'.
12912 * reload1.c (reload): Likewise for variable `is_scalar'.
12913 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
12914 (choose_reload_regs): Initialize variable `mode'.
12915 (emit_reload_insns): Likewise for variable `store_insn'.
12916 (reload_cse_noop_set_p): Mark parameter `insn' with
12918 (reload_combine): Initialize variable `set'.
12920 * unroll.c (unroll_loop): Likewise for variable `local_label'.
12921 (copy_loop_body): Cast a value to `size_t' when comparing against
12924 * varasm.c (assemble_variable): Initialize variable `size_tree'.
12925 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
12926 (remove_from_pending_weak_list): Mark parameter `name' with
12929 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12931 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
12934 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
12936 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
12937 (ASM_DECLARE_FUNCTION_NAME): Define.
12938 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
12939 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
12940 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
12941 not already defined.
12943 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
12945 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
12946 of n_popped when call/call_value are not defined.
12948 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
12950 * tm.texi: GNU CC -> GCC conversion.
12951 (CC1_SPEC): Indicate it is used for all language front ends.
12953 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
12955 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
12956 NOTE_INSN_EH_REGION_END correctly.
12958 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
12959 Jeff Law <law@cygnus.com>
12961 * loop.c (strength_reduce): Automatically unroll loops if the
12962 unrolled loop size is smaller than the rolled loop size.
12964 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
12965 and delete comment that code should be rewritten.
12967 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
12969 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
12972 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
12974 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
12976 * fixinc/mkfixinc.sh: Don't fix uwin headers.
12977 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
12978 (LINK_SPEC): Add -u _main when building executables.
12979 (ASM_DECLARE_FUNCTION): Update from Cygwin.
12980 (ASM_FILE_END): Use the default for ix86-pe.
12981 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
12983 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
12985 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
12986 and ASM_CLOSE_PAREN are empty strings.
12988 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
12989 Geoffrey Keating <geoffk@cygnus.com>
12991 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
12992 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
12993 (unprotoize.o): Ditto.
12994 (test-protoize-simple): Don't define STD_PROTO_DIR.
12995 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
12996 changes to make 'test-protoize-simple' pass.
12997 (STD_PROTO_DIR): Remove define.
12998 (STANDARD_EXEC_PREFIX): Supply default define.
12999 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
13000 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
13001 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
13002 (GET_ENV_PATH_LIST): New macro.
13003 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
13004 (do_processing): Initialize default_syscalls_dir using new
13005 macros. Use it to initialize syscalls_absolute_filename.
13007 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
13009 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
13010 B into a register before emit_conditional_move.
13012 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
13014 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
13015 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
13016 multiplicand out of (+ (* a b) (* c d)).
13018 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
13019 Richard Henderson <rth@cygnus.com>
13021 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
13022 (new_insn_dead_notes): Likewise.
13023 (update_n_sets): Likewise.
13024 (update_flow_info): Move to flow.c, renamed to update_life_info;
13025 extend to handle multiple source insns.
13026 * flow.c: Include resource.h
13027 (unlink_insn_chain): New.
13028 (split_hard_reg_notes): New.
13029 (maybe_add_dead_note): New.
13030 (maybe_add_dead_note_use): New.
13031 (find_insn_with_note): New.
13032 (new_insn_dead_notes): New.
13033 (update_n_sets): New.
13034 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
13035 (maybe_remove_dead_notes): New.
13036 (update_life_info): New.
13037 (prepend_reg_notes): New.
13038 (replace_insns): New.
13039 * output.h (update_life_info): Declare.
13040 * recog.c (split_block_insns): Use update_life_info.
13041 * resource.c (find_free_register): Use reg_alloc_order, don't use
13042 fixed regs, make sure the mode is supported, don't use new regs.
13044 * rtl.h (replace_insns): Declare.
13046 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
13048 * expr.c (expand_expr): Cope with COND_EXPRs with one
13049 non-returning branch.
13051 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
13053 * expr.c (store_expr): Always pass down the target, even when not
13056 1999-08-24 Nick Clifton <nickc@cygnus.com>
13058 * configure.in: Define target_cpu_default for v850 targets.
13059 * configure: Regenerate
13061 * config/v850/v850.h (TARGET_CPU_generic): Define.
13062 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
13063 addresses are 4 byte aligned.
13065 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
13068 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13070 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
13071 (main): Add prototypes.
13073 * genattrtab.c (substitute_address, write_const_num_delay_slots,
13074 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
13075 (write_attr_get): Emit prototypes along with function definition.
13076 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
13077 (write_complex_function): Emit static prototype along with
13078 function definition.
13080 * genemit.c (gen_split): Emit prototypes along with function
13083 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
13084 Likewise for predicates and `insn_operand_predicate'.
13085 (process_template): Emit static prototype along with function
13088 * genrecog.c (make_insn_sequence): Constify a char*. Add
13089 prototypes for get_split_*().
13090 (write_subroutine): Emit prototypes along with function
13093 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13095 * gcse.c (find_avail_set): Follow chains of register-register copies.
13096 Use oprs_not_set_p to guarantee that the returned value can be
13098 (cprop_insn): Don't verify the return value of find_avail_set with
13101 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
13102 (cprop_cc0_jump): New function.
13103 (cprop_insn): Break out new function cprop_jump and use it.
13104 Also use cprop_cc0_jump for machines with CC0.
13105 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
13107 * tree.h (current_function_calls_setjmp,
13108 current_function_calls_longjmp): Delete declarations.
13109 * dsp16xx.c: Include "function.h".
13110 * elxsi.c: Likewise.
13111 * gmicro.c: Likewise.
13112 * h8300.c: Likewise.
13113 * i370.c: Likewise.
13114 * m32r.c: Likewise.
13115 * mn10200.c: Likewise.
13116 * mn10300.c: Likewise.
13117 * ns32k.c: Likewise.
13118 * spur.c: Likewise.
13119 * v850.c: Likewise.
13121 * rtl.h (rtx_equal_function_value_matters): Declare.
13122 * toplev.c (rtx_equal_function_value_matters): Don't declare.
13124 * function.c: Likewise.
13125 * emit-rtl.c: Likewise.
13127 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
13129 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
13132 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13134 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
13137 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
13139 * cpp.texi: Add a node documenting macro varargs (copied
13142 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
13144 * cppspec.c: Put a null pointer at the end of the new argv.
13146 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
13148 * configure.in: Remove code to select/de-select the haifa
13149 scheduler. Every scheduled port gets haifa now.
13150 * configure: Rebuilt.
13151 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
13153 * Makefile.in: Corresponding changes.
13155 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13157 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
13158 All callers changed.
13159 (prepare_float_lib_cmp): Likewise.
13160 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
13161 * expr.h (emit_float_lib_cmp): Delete declaration.
13162 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
13163 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
13164 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
13166 (cmptf): Now conditional on TARGET_HARD_QUAD.
13168 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
13170 * resource.c (mark_target_live_regs): Use
13171 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
13173 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13175 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
13177 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
13179 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
13181 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13183 * rtl.h (rtx_format): Constify a char*.
13185 * rtl.c (rtx_format): Likewise.
13186 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
13187 (init_rtl): Use accessor macro, not `rtx_format'.
13189 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
13192 * caller-save.c (mark_referenced_regs): Likewise.
13194 * combine.c (subst, make_compound_operation, known_cond,
13195 gen_rtx_combine, update_table_tick, get_last_value_validate,
13196 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
13198 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
13199 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
13200 count_reg_usage): Likewise.
13202 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
13205 * final.c (leaf_renumber_regs_insn): Likewise.
13207 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
13208 dump_edge_info, count_reg_references): Likewise.
13210 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
13211 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
13214 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
13215 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
13216 add_label_notes): Likewise.
13218 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
13219 clear_struct_flag, count_sub_rtxs, count_alternatives,
13220 compares_alternatives_p, contained_in_p, walk_attr_value,
13221 write_expr_attr_cache): Likewise.
13223 * genconfig.c (walk_insn_part): Likewise.
13225 * genemit.c (max_operand_1, gen_exp): Likewise.
13227 * genextract.c (walk_rtx): Likewise.
13229 * genflags.c (num_operands): Likewise.
13231 * genoutput.c (scan_operands): Likewise.
13233 * genpeep.c (match_rtx): Likewise.
13235 * genrecog.c (add_to_sequence): Likewise.
13237 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
13240 * integrate.c (save_constants, copy_for_inline,
13241 copy_rtx_and_substitute, subst_constants, restore_constants):
13244 * jump.c (mark_jump_label, invert_exp, redirect_exp,
13245 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
13247 * local-alloc.c (contains_replace_regs, memref_referenced_p):
13250 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
13251 add_label_notes, replace_call_address, count_nonfixed_reads,
13252 invariant_p, find_single_use_in_loop, find_mem_givs,
13253 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
13256 * print-rtl.c (reg_names, print_rtx): Likewise.
13258 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
13260 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
13261 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
13262 print_blocks): Likewise.
13264 * regclass.c (fix_register, record_address_regs,
13265 reg_scan_mark_refs): Likewise.
13267 * regmove.c (stable_but_for_p): Likewise.
13269 * reload.c (loc_mentioned_in_p, operands_match_p,
13270 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
13271 copy_replacements, refers_to_regno_for_reload_p,
13272 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
13273 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
13276 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
13277 delete_address_reloads_1, count_occurrences,
13278 reload_cse_mem_conflict_p, reload_combine_note_use,
13279 add_auto_inc_notes): Likewise.
13281 * resource.c (mark_referenced_resources, mark_set_resources):
13284 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
13285 reg_mentioned_p, regs_set_between_p, modified_between_p,
13286 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
13287 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
13288 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
13289 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
13291 * sched.c (sched_analyze_2, attach_deaths): Likewise.
13293 * stupid.c (stupid_mark_refs): Likewise.
13295 * unroll.c (remap_split_bivs): Likewise.
13297 * varasm.c (mark_constants): Likewise.
13299 * a29k/a29k.c (uses_local_reg_p): Likewise.
13301 * alpha/alpha.c (summarize_insn): Likewise.
13303 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
13304 eliminate_lr2ip): Likewise.
13306 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
13308 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
13309 reg_mentioned_in_mem): Likewise.
13311 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
13312 symbolic_reference_mentioned_p): Likewise.
13314 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
13316 * sh/sh.c (regs_used, mark_use): Likewise.
13318 * vax/vax.c (vax_rtx_cost): Likewise.
13320 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13322 * machmode.h (mode_name): Constify a char*.
13324 * rtl.c (mode_name): Likewise.
13326 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
13328 * optabs.c (init_libfuncs): Constify a char*.
13330 * print-tree.c (mode_name): Remove redundant declaration.
13331 (print_node): Use accessor macro, not `mode_name'.
13333 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
13335 (new_spill_reg): Constify a char*.
13337 * tree.c (mode_name): Remove redundant declaration.
13339 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13341 * rtl.c (rtx_name): Constify a char*.
13343 * rtl.h (rtx_name, fix_sched_param): Likewise.
13345 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
13346 (mypr): Use accessor macro, not `rtx_name'.
13348 * genemit.c (print_code): Constify a char*.
13350 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
13352 * genpeep.c (print_code): Constify a char*.
13354 * genrecog.c (print_code): Likewise.
13356 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
13357 end_bb): Add static prototype.
13358 (draw_edge): Constify a char*.
13359 (end_bb): Remove unused parameter.
13361 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
13362 print_block_visualization): Constify a char*.
13364 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
13366 * c-common.c (c_get_alias_set): Update comment.
13368 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13370 * linux.h (LIB_SPEC): Added.
13372 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13374 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
13376 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
13378 * tree.c (expr_check): Fix typo in last change.
13380 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
13382 * rtl.def (NOTE): Change format to "iuu0n".
13383 (ADDR_DIFF_VEC): Change format to "eEee0".
13384 (ADDRESSOF): Change format to "eit".
13386 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
13387 (RTVEC_ELT): Change to match.
13388 (XVECEXP): Use XVEC and RTVEC_ELT.
13389 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
13390 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
13391 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
13392 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
13393 TRAP_CONDITION, TRAP_CODE): Use XEXP.
13394 (INTVAL): Use XWINT.
13395 (ADDRESSOF_DECL): Use XTREE.
13396 (SET_ADDRESSOF_DECL): Delete.
13397 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
13398 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
13399 ifdefed out since 2.6 at least.
13400 (gen_rtvec_vv): Delete prototype.
13402 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
13404 (copy_most_rtx): Handle 't' format letter.
13405 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
13406 (gen_rtvec_vv): Delete function. All callers changed to use
13407 gen_rtvec_v instead.
13408 * print-rtl.c (print_rtx): Move special casing of NOTEs to
13409 the '0' format letter.
13411 * function.c (gen_mem_addressof): Don't use
13412 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
13414 * integrate.c (copy_rtx_and_substitute): Likewise.
13415 Copy 't' slots with XTREE.
13416 (subst_constants): Treat 't' slots like '[swi]' slots.
13417 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
13418 * jump.c (rtx_equal_for_thread_p): Likewise.
13419 * rtlanal.c (rtx_equal_p): Likewise.
13420 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
13421 only four arguments.
13422 * gengenrtl.c (type_from_format): Provide correct types for
13426 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
13427 If a recent gcc is in use (always in stage2 and beyond), use
13428 statement expressions, so we don't make a function call unless
13429 the check fails. Evaluate arguments exactly once.
13430 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
13431 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
13433 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
13434 they evaluate their arguments exactly once, irrespective of
13435 the compiler in use.
13437 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
13438 is used by the currently-enabled check macros. This is:
13439 (tree_check_failed, tree_class_check_failed): For gcc.
13440 (tree_check, tree_class_check, cst_or_constructor_check,
13441 expr_check): For other compilers.
13443 * gencheck.c: Do not define any *_CHECK1 macros.
13445 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
13446 Mark Mitchell <mark@codesourcery.com>
13448 * c-common.c (c_get_alias_set): Fix support for poitners and
13451 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
13453 * alias.c: Include tree.h.
13454 (nonlocal_reference_p, mark_constant_function): New functions.
13455 * flow.c (life_analysis): Call mark_constant_function.
13456 * rtl.h (mark_constant_function): Declare it.
13458 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
13460 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
13461 unrecognisable switches.
13463 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13465 * loop.c (recombine_givs): Set ix field after sorting.
13466 (recombine_givs): Remove bogus index / giv lockstep looping.
13468 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13470 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
13472 (emit_store_flag_force): Use do_compare_rtx_and_jump.
13473 (do_cmp_and_jump): Formatting fixes.
13474 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
13475 do_compare_rtx_and_jump instead of compare_from_rtx.
13476 (do_compare_rtx_and_jump): New function; mostly copied from
13478 (do_jump_for_compare): Delete.
13479 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
13481 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
13482 of compare/do_jump_for_compare pairs.
13483 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
13484 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
13485 compare_from_rtx/do_jump_for_compare pairs.
13486 (do_jump_by_parts_equality): Likewise.
13487 (do_jump_by_parts_equality_rtx): Likewise.
13488 * expr.h (do_compare_rtx_and_jump): Declare.
13489 * optabs.c (prepare_cmp_insn): New function, contains most of the code
13490 that used to be in emit_cmp_insn.
13491 (cmp_available_p): New function.
13492 (prepare_operand): New function.
13493 (emit_cmp_and_jump_insn_1): New function, contains some code that used
13494 to be in emit_cmp_insn.
13495 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
13496 parameters to be pointers; don't emit final compare but modify some of
13497 the values pointed to by the args so the caller can perform the
13498 correct comparison.
13499 (expand_binop): Call emit_store_flag_force with signed forms of
13501 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
13502 emit_jump_insn pair.
13503 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
13504 emit_cmp_and_jump_insn_1. Call emit_queue.
13505 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
13507 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
13508 jump sets cc0 before deleting it.
13509 * integrate.c (expand_inline_function): Likewise.
13510 * unroll.c (unroll_loop): Similar changes in several places.
13511 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
13512 before deleting it.
13514 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13516 * Makefile.in (insn-recog.o): Update dependencies.
13517 * genrecog.c (main): Make generated file include "function.h".
13519 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
13521 * cse.c (cse_insn): Call never_reached_warning when a jump is
13522 changed to be unconditional.
13523 * flags.h: Declare warn_notreached.
13524 * flow.c (delete_block): Call never_reached_warning when
13525 a block is deleted.
13526 * jump.c (delete_barrier_successors): Call never_reached_warning
13527 when we delete everything after a BARRIER.
13528 (never_reached_warning): New function.
13529 * rtl.h: Declare never_reached_warning.
13530 * toplev.c (warn_notreached): New variable.
13531 (lang_independent_options): Set warn_notreached
13532 when -Wunreachable-code.
13533 (compile_file): We need line numbers for -Wunreachable-code.
13535 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
13537 * haifa-sched.c (insn_unit): Fix typo on out of range test.
13538 * sched.c (insn_unit): Likewise.
13540 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
13542 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
13544 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13546 * flow.c (create_edge_list): Use xmalloc, not malloc.
13548 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
13550 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
13551 C-style comments. Do not lose the character before double slash.
13553 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13555 * basic-block.h (struct edge_list): Stucture to maintain a vector
13557 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
13558 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
13559 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
13560 New function prototypes.
13561 * flow.c (create_edge_list): Function to create an edge list.
13562 (free_edge_list): Discards memory used by an edge list.
13563 (print_edge_list): Debug output showing an edge list.
13564 (verify_edge_list): Internal consistency check for an edge list.
13565 (find_edge_index): Function to find an edge index for a pred and succ.
13567 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
13569 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
13572 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
13574 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
13576 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13578 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13580 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
13582 * toplev.c (rest_of_compilation): Allow machine dependent
13583 reorganisation pass to place information into the RTL dump
13584 file if it so wishes.
13586 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
13588 * explow.c (hard_function_value): Use VOIDmode instead of
13590 * stmt.c (expand_return): Likewise.
13591 * stor-layout.c (get_best_mode): Likewise.
13593 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
13594 emit call instead of emit_insn call.
13596 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
13598 * configure.in: Handle --disable/enable-win32-registry.
13599 * install.texi: Document --disable/enable-win32-registry.
13600 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
13601 (WIN32_REGISTRY_KEY): New macro.
13602 * prefix.c: Use to enable/disable win32-specific code.
13603 (lookup_key): Use versioned key.
13604 * configure: Regenerate.
13605 * config.in: Likewise.
13607 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
13609 * cpplib.c (read_line_number): New fn, split out of...
13612 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
13614 tree.c (lang_unsave_expr_now) : New.
13615 (unsave_expr_now): Call lang_unsave_expr_now.
13616 tree.h (lang_unsave_expr_now) : New.
13618 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
13620 * toplev.c (flag_new_exceptions): On by default.
13622 1999-08-13 Michael Meissner <meissner@cygnus.com>
13624 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
13626 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
13628 * dwarfout.c (fundamental_type_code): Return FT_boolean for
13629 INTEGER_TYPE with precision==1, it's __java_boolean.
13631 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13633 * global.c (prune_preferences): Move some invariants out of the
13636 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
13638 * configure.in (alpha*-dec-osf*): Add osf5.
13640 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
13642 * configure.in: Rework handling of ARM GNU/Linux slightly.
13643 (arm*-*-linux-gnuoldld): New target.
13644 * configure: Regenerate.
13645 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
13646 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
13647 * config/arm/linux-oldld.h: New file.
13648 * config/arm/linux-elf26.h: Don't include linux-elf.h.
13649 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
13651 * config/arm/linux-elf.h (ASM_SPEC): Define.
13652 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
13653 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
13654 for 26-bit APCS and old linker.
13655 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
13657 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
13658 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
13659 don't define `arm' or `arm_elf'.
13660 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
13661 MULTILIB_DIRNAMES): Define. Fix typo in comment.
13663 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
13665 * rtl.texi: Fix typo.
13667 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
13669 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
13671 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
13673 * extend.texi (C++ Signatures): Remove node.
13674 * invoke.texi: Remove discussion of -fhandle-signatures,
13675 signature, sigof, __signature__, and __sigof__.
13677 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
13679 * Makefile.in (JAVAGC): Removed.
13681 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
13683 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13685 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
13687 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13689 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
13691 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
13692 a register that is already known to be a pointer.
13694 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
13696 * fixinc/inclhack.tpl: Only install assert.h conditionally.
13697 * fixinc/inclhack.sh: Regenerated.
13698 * fixinc/fixincl.sh: Regenerated.
13700 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
13702 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
13703 Fix documentation of -ansi flag to describe its C++ behavior.
13704 Remove bogus reference to GCC 2.9.
13706 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
13708 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
13709 note if it is non-NULL.
13711 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13713 * except.h (eh_nesting_info): Add new structure defintion.
13714 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
13715 (reachable_handlers, update_rethrow_references): Add function
13717 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
13718 a rethrow symbol instead of an integer exception region number.
13719 * flow.c (Make_edges): Use new exception nesting routines to determine
13720 which handlers are reachable from a CALL or asynchronous insn.
13721 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
13723 (delete_eh_regions): Update rethrow labels, and don't delete
13724 regions which are the target of a rethrow.
13725 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
13726 avoid overloading the SYMBOL_REF_USED flag.
13727 (rethrow_symbol_map): Use new rethrow_ref field.
13728 (rethrow_used): Use new rethrow_ref field.
13729 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
13730 of an integer. Fix formatting.
13731 (output_exception_table_entry): Use new rethrow_ref field.
13732 (can_throw): Check for EH_REGION_NOTE before deciding
13733 whether a CALL can throw or not.
13734 (scan_region): Call rethrow_used() instead of accessing data structure.
13735 (update_rethrow_references): New function to make sure only regions
13736 which are still targets of a rethrow are flagged as such.
13737 (process_nestinfo): New static function to initialize a handler
13738 list for a specific region.
13739 (init_eh_nesting_info): New function to allocate and initialize
13740 the list of all EH handlers reachable from all regions.
13741 (reachable_handlers): New function to retrieve the list of handlers
13742 reachable from a specific region and insn.
13743 (free_eh_nesting_info): New function to dispose of a list of
13744 reachable handlers.
13746 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13748 * flow.c (split_edge): Set JUMP_LABEL field.
13749 (commit_one_edge_insertion): Set head correctly for insert_before.
13750 When inserting insns, update insn block numbers if allocated.
13752 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13754 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
13755 retry_incomplete_types): Add static prototype.
13756 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
13757 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
13758 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
13759 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
13760 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
13763 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
13764 dwarf2out_start_source_file, dwarf2out_line): Likewise.
13766 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13768 * output.h (assemble_name): Constify a char*.
13770 * varasm.c (UNIQUE_SECTION, assemble_start_function,
13771 assemble_variable, assemble_name): Likewise.
13773 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
13775 * arm/pe.c (arm_pe_unique_section): Likewise.
13777 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
13779 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
13781 * i386/interix.c (i386_pe_unique_section): Likewise.
13783 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
13785 * i386/winnt.c (i386_pe_unique_section): Likewise.
13787 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
13789 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
13791 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
13793 * pa/pa.c (output_call): Likewise.
13795 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
13797 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
13799 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
13802 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
13805 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
13807 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
13808 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
13810 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
13812 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13814 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
13816 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13818 * tree.h (lang_identify): Constify a char*.
13819 (print_error_function): Add extern prototype. Constify a char*.
13821 * c-lang.c (lang_identify): Constify a char*.
13823 * objc/objc-act.c (lang_identify): Constify a char*.
13825 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13827 * genpeep.c (main): Make generated file include "function.h".
13828 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
13830 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13832 * Makefile.in: Update dependencies.
13833 * alias.c: Include "function.h"
13834 * c-decl.c: Likewise.
13835 * caller-save.c: Likewise.
13836 * calls.c: Likewise.
13837 * combine.c: Likewise.
13839 * explow.c: Likewise.
13840 * final.c: Likewise.
13841 * global.c: Likewise.
13842 * graph.c: Likewise.
13843 * local-alloc.c: Likewise.
13844 * loop.c: Likewise.
13845 * optabs.c: Likewise.
13846 * profile.c: Likewise.
13847 * recog.c: Likewise.
13848 * regclass.c: Likewise.
13849 * regmove.c: Likewise.
13850 * reload.c: Likewise.
13851 * reorg.c: Likewise.
13852 * resource.c: Likewise.
13853 * sched.c: Likewise.
13854 * stupid.c: Likewise.
13855 * config/1750a/1750a.c: Likewise.
13856 * config/a29k/a29k.c: Likewise.
13857 * config/arc/arc.c: Likewise.
13858 * config/arm/arm.c: Likewise.
13859 * config/arm/thumb.c: Likewise.
13860 * config/c4x/c4x.c: Likewise.
13861 * config/clipper/clipper.c: Likewise.
13862 * config/convex/convex.c: Likewise.
13863 * config/fx80/fx80.c: Likewise.
13864 * config/i860/i860.c: Likewise.
13865 * config/m68k/m68k.c: Likewise.
13866 * config/m88k/m88k.c: Likewise.
13867 * config/mips/mips.c: Likewise.
13868 * config/pdp11/pdp11.c: Likewise.
13869 * config/pyr/pyr.c: Likewise.
13870 * config/romp/romp.c: Likewise.
13871 * config/sh/sh.c: Likewise.
13872 * config/tahoe/tahoe.c: Likewise.
13873 * config/vax/vax.c: Likewise.
13874 * config/we32k/we32k.c: Likewise.
13875 * config/sparc/sparc.c: Include "function.h".
13876 (mem_min_alignment): Test current_function rather than
13877 regno_pointer_align.
13878 * config/pa/pa.c: Likewise.
13879 (compute_frame_size): Delete declaration of
13880 current_function_outgoing_args_size.
13881 * config/arc/arc.h (current_function_varargs): Delete declaration.
13882 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
13884 * config/i370/i370.h (current_function_outgoing_args_size): Delete
13886 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
13887 current_function_uses_pic_offset_table.
13888 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
13889 of current_function_returns_pointer.
13890 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13891 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13892 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13893 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13894 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13895 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13896 * config/m88k/m88k.c: Include "function.h"
13897 (call_used_regs, current_function_pretend_args_size,
13898 current_function_outgoing_args_size, frame_pointer_needed): Delete
13900 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
13902 * config/mips/mips.h (current_function_calls_alloca): Delete
13904 * config/mn10200/mn10200.h (current_function_needs_context,
13905 rtx_equal_function_value_matters): Delete declarations.
13906 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
13907 flag_pic): Delete declarations.
13908 * config/pa/pa.h (current_function_pretend_args_size,
13909 current_function_decl): Delete declarations.
13910 * config/pa/som.h (current_function_varargs): Delete declaration.
13911 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
13913 * config/pyr/pyr.h (current_function_pretend_args_size,
13914 current_function_args_size, current_function_calls_alloca): Delete
13916 * config/sh/sh.h (current_function_varargs): Delete declaration.
13917 * config/sparc/sparc.h (current_function_outgoing_args_size,
13918 current_function_calls_alloca, current_function_decl): Delete
13920 * config/spur/spur.h (current_function_pretend_args_size,
13921 current_function_calls_alloca): Delete declarations.
13922 * config/v850/v850.c (current_function_outgoing_args_size): Delete
13924 * config/vax/vms.h (current_function_name): Delete declaration.
13925 * gcse.c: Include "function.h".
13926 (current_function_name, current_function_calls_setjmp): Delete
13928 * haifa-sched.c: Include "function.h".
13929 (forced_labels): Delete declaration.
13930 * jump.c: Likewise.
13931 * reg-stack.c: Likewise.
13932 * reload1.c: Likewise.
13933 * genemit.c (main): Make generated file include function.h.
13934 * genoutput.c (output_prologue): Likewise.
13936 * builtins.c (saveregs_value, apply_args_value): Delete variables.
13937 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
13938 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
13939 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
13940 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
13941 macros for some of them.
13942 (emit_filename, emit_lineno): Delete declarations.
13943 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
13944 regno_pointer_* variables through current_function.
13945 (gen_inline_header_rtx): Delete function.
13946 (save_emit_status): Delete function.
13947 (set_new_last_label_num): New function.
13948 (clear_emit_caches): New function.
13949 (restore_emit_status): Just clear last_labelnum and call
13951 (get_last_insn_anywhere): Variable sequence_stack is now accessed
13952 through macro seq_stack.
13953 (add_insn_after): Likewise.
13954 (add_insn_before): Likewise.
13955 (remove_insn): Likewise.
13956 (pop_topmost_sequence): Likewise.
13957 (in_sequence_p): Likewise.
13958 (start_sequence_for_rtl_expr): Likewise.
13959 (start_sequence): Likewise, and likewise for
13960 sequence_rtl_expr/seq_rtl_expr.
13961 (push_topmost_sequence): Likewise.
13962 (end_sequence): Likewise.
13963 (init_virtual_regs): Now takes a "struct emit_status *" argument.
13964 All callers changed. Store into that pointer instead of globals.
13965 (init_emit): Allocate emit elt of current_function.
13966 Changes for sequence_rtl_expr/sequence_stack renaming.
13967 Call clear_emit_caches instead of doing it in-line.
13968 Access regno_pointer_* variables through current_function.
13969 (init_emit_once) Don't clear sequence_stack.
13971 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
13973 (arg_pointer_save_area): Delete declaration.
13974 (finish_expr_for_function): Renamed from init_queue; no longer static.
13975 (init_expr): Don't call init_queue.
13976 (save_expr_status, restore_expr_status): Delete functions.
13977 (expand_expr): Changes to reflect new layout of struct function.
13978 Don't access current_function_check_memory_usage when current_function
13980 * expr.h (forced_labels, save_expr_regs, saveregs_value,
13981 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
13982 current_function_outgoing_args_size, current_function_arg_offset_rtx,
13983 current_function_uses_const_pool, function_call_count,
13984 current_function_uses_pic_offset_table, nonlocal_labels,
13985 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
13986 current_function_check_memory_usage, nonlocal_goto_handler_slots,
13987 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
13989 (finish_expr_for_function): Declare.
13990 * flags.h (current_function_has_nonlocal_label,
13991 current_function_has_nonlocal_goto, current_function_is_thunk,
13992 current_function_has_computed_jump): Delete declarations.
13993 * flow.c (forced_labels): Delete declaration.
13994 * function.c (current_function_pops_args,
13995 current_function_returns_struct, current_function_returns_pcc_struct,
13996 current_function_needs_context, current_function_calls_setjmp,
13997 current_function_calls_longjmp, current_function_has_nonlocal_label,
13998 current_function_has_nonlocal_goto, current_function_is_thunk,
13999 current_function_has_computed_jump, current_function_calls_alloca,
14000 current_function_contains_functions, current_function_returns_pointer,
14001 current_function_epilogue_delay_list, current_function_args_size,
14002 current_function_pretend_args_size, current_function_arg_offset_rtx,
14003 current_function_outgoing_args_size, current_function_varargs,
14004 current_function_stdarg, current_function_args_info, cleanup_label,
14005 current_function_name, current_function_uses_const_pool,
14006 current_function_instrument_entry_exit, current_function_return_rtx,
14007 current_function_uses_pic_offset_table, nonlocal_labels,
14008 current_function_internal_arg_pointer, current_function_cannot_inline,
14009 current_function_check_memory_usage, function_call_count,
14010 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
14011 nonlocal_goto_stack_level, return_label, save_expr_regs,
14012 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
14013 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
14014 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
14015 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
14016 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
14018 (push_function_context_to): Don't save them. Don't call
14019 save_storage_status, save_emit_status or save_expr_status.
14020 (pop_function_context_from): Don't restore them. Don't call
14021 restore_storage_status or restore_expr_status.
14022 (get_func_frame_size): New function.
14023 (get_frame_size): Use it.
14024 (assign_outer_stack_local): Reflect some member name changes in struct
14026 (put_reg_into_stack): Likewise.
14027 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
14029 (fixup_var_refs): Likewise.
14030 (fix_lexical_addr): Likewise.
14031 (trampoline_address): Likewise.
14032 (prepare_function_start): Clear field inlinable of current_function.
14033 (init_function_for_compilation): New function.
14034 (expand_dummy_function_end): New function.
14035 (expand_function_end): Call finish_expr_for_function.
14036 * function.h (struct emit_status): New; fields moved here from struct
14037 function and from global variables. Add accessor macros for some of
14039 (struct expr_status): Likewise.
14040 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
14041 (struct function): Add fields expr and emit, inlinable, inl_emit,
14042 original_arg_vector, original_decl_initial, inl_last_parm_insn,
14043 inl_max_label_num. Add many comments.
14044 Add accessor macros for all elts of struct function that no longer
14045 have a global variable.
14046 (cleanup_label, return_label, frame_offset, tail_recursion_label,
14047 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
14048 stack_slot_list): Delete declarations.
14049 (get_func_frame_size): Declare.
14050 (save_expr_status, restore_expr_status, save_emit_status,
14051 save_storage_status, restore_storage_status): Delete declarations.
14052 (init_virtual_regs): Declare.
14053 * output.h (current_function_pops_args,
14054 current_function_returns_struct, current_function_returns_pcc_struct,
14055 current_function_needs_context, current_function_calls_setjmp,
14056 current_function_calls_longjmp, current_function_calls_alloca,
14057 current_function_has_nonlocal_label, current_function_varargs,
14058 current_function_has_computed_jump, current_function_returns_pointer,
14059 current_function_contains_functions, current_function_args_size,
14060 current_function_pretend_args_size, current_function_stdarg,
14061 current_function_outgoing_args_size, current_function_args_info,
14062 current_function_name, current_function_return_rtx,
14063 current_function_epilogue_delay_list,
14064 current_function_uses_const_pool, current_function_cannot_inline):
14065 Delete declarations.
14066 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
14067 regno_reg_rtx): Delete declaration.
14068 (REGNO_POINTER_FLAG): Delete macro.
14069 * stmt.c (expand_goto): Changes to reflect that some fields in struct
14070 function were renamed.
14071 * stor-layout.c (save_storage_status, restore_storage_status): Delete
14073 * toplev.c: Include "function.h".
14074 (current_function_decl): Delete declaration.
14075 (compile_file): Call init_dummy_function_start and
14076 expand_dummy_function_end around some initializations that need to
14078 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
14079 Call init_function_for_compilation.
14080 * unroll.c: Include "function.h"
14081 (unroll_loop): Access regno_pointer_* variables through
14084 * tree.h (struct tree_decl): Add elt f to saved_insns member.
14085 (DECL_SAVED_INSNS): use it.
14086 (expand_dummy_function_end): Declare.
14087 (init_function_for_compilation): Declare.
14088 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
14089 that it's no longer an INLINE_HEADER.
14090 (expand_call): Likewise.
14091 * integrate.c (finish_inline): Delete function.
14092 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
14093 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
14094 args. Don't generate an INLINE_HEADER rtx, just return the arg
14095 vector. All callers changed.
14096 (save_for_inline_copying): Create a duplicate struct emit_status to
14097 hold the emit state for compiling the current function. Use this and
14098 the other new fields in struct function that are for integration
14099 instead of an INLINE_HEADER.
14100 Use memcpy instead of bcopy.
14101 Store the current struct function in DECL_SAVED_INSNS of fndecl.
14102 (save_for_inline_nocopy): Similar changes, except no new emit_status
14104 (expand_inline_function): Get information from function structure,
14105 not from an inline header rtx.
14106 (output_inline_function): Lose code to extract the necessary
14107 information from an inline header; simply put back the function
14108 structure into current_function. Clear its inlinable elt.
14109 * rtl.def (INLINE_HEADER): Delete.
14110 * rtl.h: Delete all accessors for an INLINE_HEADER.
14111 (gen_inline_header_rtx): Delete declaration.
14112 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
14113 Delete declarations.
14114 (REGNO_POINTER_ALIGN): Delete.
14115 (clear_emit_caches): Declare.
14116 (set_new_last_label_num): Declare.
14118 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
14120 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
14122 * except.c (expand_eh_region_start_for_decl): Always start a new block.
14123 * stmt.c (is_eh_region): Make sure current_function is present, too.
14125 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
14127 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
14128 for 64bit PA targets.
14130 * pa.h (SELECT_SECTION): Define.
14131 * som.h (SELECT_SECTION): Delete.
14133 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14135 * alias.c (init_alias_analysis): Wrap call to
14136 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
14138 1999-08-07 Bruce Korb <autogen@linuxbox.com>
14140 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
14141 <sys/asm.h> contains an asm comment with an apostrophe
14142 * fixinc/inclhack.sh: regen
14143 * fixinc/fixincl.x: regen
14145 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
14147 * function.c (init_function_start): Clear prologue & epilogue.
14148 (prologue_epilogue_contains): New function.
14149 * alias.c (init_alias_analysis): Use it.
14150 * rtl.h (prologue_epilogue_contains): Declare it.
14152 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
14154 * jump.c (onlyjump_p): New function.
14155 * rtl.h: Declare it.
14156 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
14157 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
14159 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
14161 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
14162 to invert loops. Simplify block scanning.
14164 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14166 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
14167 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
14169 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
14171 * config/sparc/liteelf.h: New file to support sparclite-elf target
14172 * config/sparc/t-sp86x: New file to support sparc86x targets
14173 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
14174 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
14175 * configure.in: Support above target triplets
14176 * configure: Regenerated
14178 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
14180 * fixinc/server.c (server_setup): Do not prefix function used as
14181 parameter with `&'.
14183 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
14185 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
14186 Remove fp reg alternatives.
14188 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
14190 * Makefile.in (TAROUTOPTS): Kill.
14191 (install-headers-tar): Use "xpf" for tar headerfile extraction
14192 * i370/x-oe (TAROUTOPTS): Delete.
14193 * m68k/x-apollo68 (TAROUTOPTS): Delete.
14194 * m68k/x-hp320 (TAROUTOPTS): Delete.
14195 * m68k/x-hp320g (TAROUTOPTS): Delete.
14196 * gcc.texi: Update bug reporting text.
14198 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14200 * reg-stack.c (change_stack) Fixed problem with negative array index.
14202 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
14204 * extend.texi, install.texi: Fix spelling mistakes.
14206 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
14207 (s-attrtab); No longer try to use pre-made insn-attrtab file.
14208 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
14209 PREMADE_ATTRTAB_MD.
14210 * mips/t-ecoff: Likewise.
14211 * mips/t-elf: Likewise.
14212 * mips/t-mips: Likewise.
14213 * mips/t-osfrose: Likewise.
14214 * mips/t-r3900: Likewise.
14215 * mips/t-svr3: Likewise.
14216 * mips/t-svr4: Likewise.
14217 * mips/t-ultrix: Likewise.
14219 * gcc.texi: Document recommend means to provide software floating
14220 point libraries in libgcc.a
14222 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
14224 * c-lex.c (yylex): We can have a number with no digits.
14226 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
14228 * jump.c (delete_prior_computation): New function, broken
14229 out of delete_computation. Check for side effects with
14230 side_effects_p instead of FIND_REG_INC_NOTE. Handle
14231 multi-word hard registers.
14232 (delete_computation): Use it. Check for side effects with
14233 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
14234 missing REG_DEAD note for a register which is both set and
14237 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
14239 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
14240 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
14241 (ASM_FILE_START): Import _mcount with the right type.
14242 (ASM_DECLARE_FUNCTION_NAME): Define.
14243 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
14244 * pa.c (output_function_prologue): Always emit the function's label
14246 * pa.h (TEXT_SPACE_P): Define.
14247 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14248 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
14249 * som.h (TEXT_SPACE_P): Delete.
14250 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14251 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
14253 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
14255 * expr.c (emit_group_load): Allow src to be a CONCAT.
14257 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14259 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
14260 (___mulsi3): Use '!' comment character.
14262 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14264 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
14266 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
14268 * gcc.c: Update URLs and mail addresses.
14269 * gcc.texi: Likewise.
14271 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
14273 * rs6000.c (current_file_function_operand): Return zero for
14275 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
14277 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
14280 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
14282 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
14283 allocate space in the stack frame for the PIC register.
14285 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
14287 * m68k.md (xordi3, anddi3): These patterns are not available on
14290 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
14292 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
14293 (PUT_REAL): Likewise.
14295 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14297 * final.c (shorten_branches): Don't add an alignment for loops
14298 that have no label inside.
14300 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14302 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
14303 prototypes in macro HAVE_cmpstrsi.
14305 * cpplib.c (cpp_get_token): Remove unused label `op3'.
14307 * emit-rtl.c (operand_subword): Remove unused variable
14310 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
14312 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
14314 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
14316 * cpphash.c (macroexpand): Delete leading whitespace when arg
14317 is concatenated before.
14318 (unsafe_chars): Correct test for whether + and - can extend a
14321 * cppinit.c (cpp_start_read): Do dependencies for
14322 -include/-imacros files also.
14324 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
14325 tokenizing non-directive lines.
14326 (cpp_expand_to_buffer): Temporarily disable no-output mode.
14327 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
14330 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14332 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
14334 * c-lex.c: Sync with C++ frontend.
14335 (linemode): New variable.
14336 (parse_float): imag, conversion_errno, and type are output only.
14337 (yylex): Adjust. Move initial '.' case into main switch.
14339 (handle_generic_pragma): Just deal with tokens.
14340 (readescape): Use ISXDIGIT and ISGRAPH.
14341 * c-parse.in: Add END_OF_LINE token.
14343 * c-lex.c (lang_init): Generalize.
14344 (nextchar): Remove. Replace uses with UNGETC.
14345 (skip_white_space): Handle linemode here. Optimize for cpplib.
14346 (skip_white_space_on_line): Remove.
14347 (extend_token_buffer_to): New fn.
14348 (extend_token_buffer): Use it.
14349 (read_line_number, check_newline): Just deal with tokens.
14350 (token_getch, token_put_back): New fns.
14351 (yylex): Use them. More cpplib optimizations. Simplify.
14353 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14354 Jason Merrill <jason@yorick.cygnus.com>
14356 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
14357 (consume_string): Make this smart about USE_CPPLIB.
14358 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
14359 (yylex): Rewrite to be intelligent about USE_CPPLIB.
14360 Also, clean up cases where we redundantly set token_buffer[0].
14361 (read_line_number): New fn.
14362 (ignore_escape_flag): New variable.
14364 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
14366 * a29k/t-a29kbare: Fix some comments.
14367 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
14368 (FPBIT, DPBIT): Define.
14369 * a29k/t-vx29k: Likewise.
14370 * arc/t-arc: Likewise.
14371 * arm/t-arm-elf: Likewise.
14372 * arm/t-bare: Likewise.
14373 * arm/t-pe: Likewise.
14374 * arm/t-pe-thumb: Likewise.
14375 * arm/t-semi: Likewise.
14376 * arm/t-thumb: Likewise.
14377 * arm/t-thumb-elf: Likewise.
14378 * arm/t-thumb-linux: Likewise.
14379 * h8300/t-h8300: Likewise.
14380 * i960/t-i960: Likewise.
14381 * i960/t-vxworks960: Likewise.
14382 * m32r/t-m32r: Likewise.
14383 * mips/t-ecoff: Likewise.
14384 * mips/t-elf: Likewise.
14385 * mips/t-r3900: Likewise.
14386 * pa/t-pro: Likewise.
14387 * rs6000/t-aix43: Likewise.
14388 * rs6000/t-beos: Likewise.
14389 * rs6000/t-newas: Likewise.
14390 * rs6000/t-ppccomm: Likewise.
14391 * rs6000/t-rs6000: Likewise.
14392 * rs6000/t-winnt: Likewise.
14393 * rs6000/t-xnewas: Likewise.
14394 * rs6000/t-xrs6000: Likewise.
14395 * sh/t-sh: Likewise.
14396 * sparc/t-elf: Likewise.
14397 * sparc/t-sparcbare: Likewise.
14398 * sparc/t-sparclite: Likewise.
14399 * sparc/t-splet: Likewise.
14400 * v850/t-v850: Likewise.
14401 * mn10200/t-mn10200: Fix comments.
14402 * mn10300/t-mn10300: Likewise.
14404 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
14405 dummy operand. Allocate a new pseudo for the dummy operand.
14406 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
14408 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
14410 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
14412 * configure: Rebuilt.
14413 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
14415 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
14417 * recog.c (preproces_constraints): Zero recog_op_alt before
14418 processing the constraints.
14420 * arm.c (typedef minipool_node): Renamed from pool_node.
14421 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
14422 (add_minipool_constant): New function.
14423 (dump_minipool): New function.
14424 (find_barrier): Remove special case for getting the insn size of
14425 an insn that references the constant pool.
14426 (minipool_fixup): New structure.
14427 (push_minipool_barrier): New function.
14428 (push_minipool_fix): New function.
14429 (note_invalid_constants): New function.
14430 (add_pool_constant, dump_table, fixit, broken_move): Delete.
14431 (arm_reorg): Rewrite code to fix up the constant pool into a
14432 series of mini-pools embedded in the insn stream.
14433 (arm_output_epilogue): New function, made mainly from the body
14434 of output_func_epilogue.
14435 (output_func_epilogue): Move insn generation part of epilogue code
14436 to arm_output_epilogue.
14437 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
14438 * arm.md (pool_range): New attribute.
14439 (zero_extendqidi2): Add attribute pool_range.
14440 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
14441 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
14442 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
14443 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
14444 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
14445 (epilogue): New expand.
14446 (epilogue_insn): New insn. Call arm_output_epilogue.
14448 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
14449 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
14451 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14453 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14455 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
14457 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
14459 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
14461 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
14463 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
14465 * global.c: Fix comment.
14467 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
14469 * gcc.c (access_check): New static function.
14470 (find_a_file): Use it when searching a directory list.
14471 * collect2.c (find_a_file): Don't accept directories found when
14472 searching a directory list.
14474 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
14476 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
14477 function parameters with `&'.
14478 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
14480 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
14482 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
14483 or tidy_fallthru_edge if the last insn in the block is not
14484 an unconditional jump or a simple conditional jump.
14486 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14488 * Makefile.in (c-decl.o): Depends on defaults.h.
14490 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
14492 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
14494 (CLASS_MAX_NREGS): Likewise.
14496 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
14498 * cse.c (cse_insn): Fix dumb thinko in last change.
14500 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14502 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
14505 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
14507 * dwarf2out.c (add_location_or_const_value_attribute): Correct
14508 test for sizes of passed and declared parameter types.
14510 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14512 * fixincludes: Fix the return type of bsearch, char* -> void*.
14514 * fixinc/inclhack.def: Likewise.
14516 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
14518 * invoke.texi (-fdump-translation-unit): New option.
14520 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
14522 * expr.h (PROMOTE_PROTOTYPES): Move ...
14523 * defaults.h: ... to here.
14524 * c-decl.c: Include defaults.h instead of expr.h.
14525 * c-typeck.c: Include defaults.h.
14527 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
14529 * toplev.h (errorcount): Declare.
14530 (warningcount): Likewise.
14531 (sorrycount): Likewise.
14532 * c-lex.c (errorcount): Don't declare.
14533 * dwarf2out.c (errorcount): Don't declare.
14535 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
14537 * config/libgloss.h: Add a note discouraging use with ELF.
14538 * configure.in: Don't use libgloss.h for ELF targets.
14539 Always use_collect2 on a.out targets.
14541 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
14543 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
14544 (force_to_mode, case ASHIFTRT): Add shiftrt label.
14546 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14548 * loop.c (strength_reduce): When doing biv->giv conversion, update
14549 reg note of NEXT->insn.
14551 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14553 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
14555 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14557 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
14558 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
14559 Ensure expr.h is included.
14560 * c-typecheck.c (convert_arguments): Ditto.
14562 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
14564 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
14565 * config/convex/convex.h: Ditto.
14566 * config/dsp16xx/dsp16xx.h: Ditto.
14567 * config/fx80/fx80.h: Ditto.
14568 * config/gmicro/gmicro.h: Ditto.
14569 * config/i370/i370.h: Ditto.
14570 * config/i386/i386.h: Ditto.
14571 * config/m32r/m32r.h: Ditto.
14572 * config/m68k/m68k.h: Ditto.
14573 * config/m88k/m88k.h: Ditto.
14574 * config/mips/mips.h: Ditto.
14575 * config/pa/pa.h: Ditto.
14576 * config/pyr/pyr.h: Ditto.
14577 * config/tahoe/tahoe.h: Ditto.
14578 * config/we32k/we32k.h: Ditto.
14580 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
14581 based on arch size.
14583 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
14585 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
14588 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
14590 1999-08-02 Richard Henderson <rth@cygnus.com>
14592 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
14593 for the register spill block.
14594 (m32r_va_arg): New.
14595 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
14596 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
14598 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
14599 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
14600 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
14602 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14604 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
14605 MAX_WCHAR_TYPE defined in sparc.h.
14606 * config/sparc/linuxaout.h: Likewise.
14607 * config/sparc/linux64.h: Likewise.
14608 Also default to -mvis if CPU is UltraSPARC.
14610 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14612 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
14613 (RTX_OK_FOR_OLO10): Likewise.
14614 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
14615 %lo(), allow it in addresses...
14616 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
14617 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
14618 does not make sense.
14619 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
14620 (sparc_output_scratch_registers): New function.
14621 (output_function_prologue, sparc_flat_output_function_prologue): Use
14623 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
14625 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
14626 * configure.in: Add check for .register pseudo-op support in as and
14627 check for offsetable %lo().
14628 * acconfig.h: Add templates for the above checks.
14629 * configure: Regenerate.
14631 1999-08-02 Richard Henderson <rth@cygnus.com>
14633 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
14634 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
14635 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
14637 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14639 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
14642 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14644 * config/float-sparc.h: New file.
14645 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
14646 sparc-*-linux-gnu and sparc64-*-linux*.
14648 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14650 * rs6000.c (rs6000_va_list): Type is an array.
14651 (rs6000_va_start): Don't doubly adjust for varargs.
14652 (rs6000_va_arg): Evaluate long long GPR adjustment.
14654 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
14656 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
14657 -maix64 and -maix32.
14658 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
14659 LINK_SPEC): Change appropriately.
14660 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
14661 (u_short_cint_operand): Likewise.
14662 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
14664 * rs6000/t-aix43 (MULTILIB): Change to -m64.
14666 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
14668 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
14670 * rs6000/rs6000.c (num_insns_constant_wide): Correct
14671 for type promotion.
14672 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
14673 (non_add_cint_operand): Likewise.
14674 (logical_operand): Likewise.
14675 (non_logical_cint_operand): Likewise.
14676 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
14677 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
14678 (rs6000_select_rtx_section): Suppress warning.
14679 (small_data_operand): Suppress warning.
14680 (rs6000_got_register): Suppress warning.
14681 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
14682 type, so `J' is generally the wrong constraint for a SImode value;
14684 (andsi3_internal2): Likewise.
14685 (andsi3_internal3): Likewise.
14686 (iorsi3_internal1): Likewise.
14687 (xorsi3_internal1): Likewise.
14689 (movsf_softfloat): Likewise.
14690 (scc insns): Likewise.
14691 (movsi+2): Preserve sign bits of SImode constant.
14692 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
14693 (movdf+1): Sign-extend properly.
14694 (movdi_32+1): Sign-extend properly.
14695 (scc insns): Sign-extend properly.
14697 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
14700 1999-08-02 Richard Henderson <rth@cygnus.com>
14702 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
14703 -mcpu parsing code.
14704 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
14705 * alpha.md (all fp insns): Likewise.
14707 1999-08-02 Nick Clifton <nickc@cygnus.com>
14709 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
14712 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
14714 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
14715 pic_load_label generator directly.
14716 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
14717 No longer a named pattern.
14719 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
14721 * explow.c (force_reg): Call force_operand if X does not
14722 satisfy general_operand.
14724 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
14726 * fix-header.c (main): When testing for CONTINUED, use string
14727 equality, not pointer equality.
14729 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
14731 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
14733 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
14735 * cse.c (cse_insn): Fix loop which deletes insns after a jump
14736 that has become an unconditional jump.
14738 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
14739 (output_function_epilogue): Similarly.
14741 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14743 * tree.h (init_dummy_function_start): Declare.
14745 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14747 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
14748 last_expr_type, last_expr_value, block_start_count, block_stack,
14749 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
14750 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
14751 dynamically in stmt elt of struct function for each function.
14752 (struct nesting): Rename function_call_count elt to n_function_calls,
14753 target_temp_slot_level to block_target_temp_slot_level. All users
14755 (struct stmt_status): New structure definition.
14756 Add many accessor macros for stmt_status elements which previously
14757 were global variables.
14758 (init_stmt_for_function): Allocate stmt elt for current_function.
14759 Reflect that block_start_count was renamed to
14760 current_block_start_count.
14761 (save_stmt_status, restore_stmt_status): Delete functions.
14762 (preserve_subexpressions_p): Don't access loop_stack when outside
14764 (expand_start_bindings): Reflect that block_start_count was renamed to
14765 current_block_start_count.
14766 (expand_fixup): Likewise.
14767 (expand_decl): Don't access block_stack when outside a function.
14768 (expand_decl_cleanup): Likewise.
14769 (expand_dcc_cleanup): Likewise.
14770 (expand_dhc_cleanup): Likewise.
14771 (expand_anon_union_decl): Likewise.
14772 (set_file_and_line_for_stmt): New function.
14773 (in_control_zone_p): New function.
14775 * function.h (struct function): Add new elt stmt.
14776 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
14777 case_stack, nesting_stack, nesting_depth, block_start_count,
14778 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
14779 emit_lineno, goto_fixup_chain.
14780 (save_eh_status, restore_eh_status, save_stmt_status,
14781 restore_stmt_status): Delete declarations.
14782 * function.c (push_function_context_to): Don't call save_stmt_status.
14783 (pop_function_context_to): Don't call restore_stmt_status.
14784 * tree.h (in_control_zone_p): Declare.
14785 * rtl.h (set_file_and_line_for_stmt): Declare.
14787 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
14788 call set_file_and_line_for_stmt.
14790 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
14792 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
14793 Also update copyright.
14795 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14797 * c-pragma.c: Don't include "except.h".
14798 * emit-rtl.c: Likewise.
14799 * stor-layout.c: Likewise.
14800 * tree.c: Likewise.
14801 * varasm.c: Likewise.
14803 * flow.c: Include "function.h".
14804 * tree.h (init_dummy_function_start): Declare new function.
14806 * except.h (struct eh_status): New structure.
14807 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
14809 (eh_return_stub_label, ehstack, catchstack, ehqueue,
14810 catch_clauses, false_label_stack, caught_return_label_stack,
14811 protect_list, current_function_ehc): Add accessor macros for the
14812 corresponding fields in current_function->eh; delete declarations
14813 for all items that used to be declared here.
14814 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
14815 catch_clauses, false_label_stack, caught_return_label_stack,
14816 protect_list, current_function_ehc): Delete variables.
14817 (init_eh_for_function): Allocate current_function->eh.
14818 (save_eh_status, restore_eh_status): Delete functions.
14820 * function.h (struct function): Add fields next_global and eh.
14821 Delete all exception handling related fields.
14822 * function.c (current_function): New variable.
14823 (all_functions): New variable.
14824 (push_function_context_to): Don't allocate a struct function,
14825 use current_function instead. Call init_dummy_function_start when
14826 outside a function. Clear current_function before returning.
14827 (pop_function_context_from): Restore current_function.
14828 Don't free the restored struct function.
14829 (prepare_function_start): New function.
14830 (init_dummy_function_start): New function.
14831 (init_function_start): Break out some code into prepare_function_start
14834 * stmt.c (save_stmt_status): Don't call save_eh_status.
14835 (restore_stmt_status): Don't call restore_eh_status.
14837 * Makefile.in: Update dependencies.
14839 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
14841 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
14842 of depending on a magic constant value. Update comments.
14843 (hppa_expand_prologue): Similarly.
14845 * pa.md (reload_indi, reload_outdi): Allow any register for the
14846 original reload register.
14848 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
14850 * cccp.c (print_help): Change marcos to macros.
14852 1999-07-30 Richard Henderson <rth@cygnus.com>
14854 * c-typeck.c (initializer_constant_valid_p): Move ...
14855 * c-common.c (initializer_constant_valid_p): ... here. Use
14856 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
14857 of label addresses.
14858 * c-common.h (initializer_constant_valid_p): Declare.
14859 * c-tree.h (initializer_constant_valid_p): Remove.
14861 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
14863 * config/i386/sol2-c1.asm: Align the stack.
14864 * config/i386/sol2-gc1.asm: Likewise.
14866 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
14868 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
14869 -Asparclite for sparc86x.
14870 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
14872 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
14874 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
14876 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
14877 the user if using the non-default arch size in BI_ARCH configuration.
14878 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
14880 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
14881 Fix patterns so that they actually match.
14882 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
14883 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
14884 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
14886 (mulsidi3): Reflect this in the expand.
14887 (smulsi3_highpart): Only on TARGET_ARCH32.
14888 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
14889 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
14890 (umulsidi3): Reflect this in the expand.
14891 (umulsi3_highpart): Only on TARGET_ARCH32.
14892 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
14893 don't require g0 to be zero.
14894 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
14895 ({,u}divsi3): New expands.
14896 ({,u}divsi3_sp64): New patterns.
14897 (after lshrdi3_v8plus): Four new patterns to help combiner
14898 optimizing nested mixed mode shifts.
14900 * config/sparc/sparc.c (sparc_override_options): Use deprecated
14901 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
14902 speed things up. Don't use them by default on plain v9 in 64bit
14903 mode, according to what SPAMv9 sais.
14905 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
14906 top 32 bits of %[og][0-7] in signal handlers.
14907 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
14909 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
14911 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
14912 (ashlsi3): Corresponding changes.
14914 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
14916 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
14918 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
14920 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14922 * arm.h (Hint): Delete macro.
14923 Substitute HOST_WIDE_INT for Hint in some prototypes.
14924 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
14926 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
14928 * builtins.c (expand_builtin_setjmp): Use force_operand to
14929 make sure that the buffer address is in a suitable form to be
14930 passed to force_reg.
14932 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
14934 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
14937 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
14939 * pa.md (indirect_jump): Remove mode from match_operand. Verify
14940 proper mode in the condition string.
14941 (icacheflush, dcacheflush): Remove modes from match_operands.
14943 * pa.c (emit_move_sequence): Always convert scratch_reg to the
14944 proper mode before using it.
14946 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
14949 * pa.c (store_reg): Do not call add_high_const generator directly.
14950 (load_reg, set_reg_plus_d): Likewise.
14951 * pa.md (add_high_const): No longer a named pattern.
14953 * pa.c (legitimize_address): Consistently use Pmode rather than
14954 SImode. Do not call gen_pic2_highpart directly anymore.
14955 * pa.md (pic2_highpart): No longer a named pattern.
14956 (pic2_lo_sum): Similarly. Reformat to make more readable.
14958 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
14963 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14965 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
14967 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
14969 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
14970 and tag the spill mems.
14971 (hppa_va_start): New.
14972 (hppa_va_arg): New.
14973 * pa.h (EXPAND_BUILTIN_VA_START): New.
14974 (EXPAND_BUILTIN_VA_ARG): New.
14976 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
14978 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
14979 and tag the spill mems.
14980 (mn10300_va_start): New.
14981 (mn10300_va_arg): New.
14982 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
14983 (EXPAND_BUILTIN_VA_ARG): New.
14985 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
14987 * mn10200.c (mn10200_va_arg): New.
14988 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
14990 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
14992 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
14993 rather than play with TREE_INT_CST_LOW.
14995 1999-07-27 Philip Blundell <pb@nexus.co.uk>
14997 * config/arm/telf.h: Include dbxelf.h.
14998 (CPP_PREDEFINES): Only define if not already defined.
14999 (ASM_IDENTIFY_GCC): Likewise.
15000 (SUBTARGET_EXTRA_SECTIONS): Likewise.
15001 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
15002 * config/arm/thumb.h (LINK_SPEC): Only define if not already
15004 (DBX_DEBUGGING_INFO): Don't define.
15005 * config/arm/linux-telf.h: New file.
15006 * config/arm/linux-tgas.h: New file.
15007 * config/arm/t-thumb-linux: New file.
15008 * config/arm/uclinux-elf.h: New file.
15009 * config/arm/uclinux-telf.h: New file.
15010 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
15011 thumb-*-uclinux): New targets.
15012 * configure: Regenerate.
15014 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
15016 * pa.md (post_store, pre_load): New expanders.
15017 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
15018 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
15019 need to directly generate RTL for them.
15020 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
15023 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
15025 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
15026 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
15027 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
15028 (secndary_reload_class): Make TARGET_ELF conditional compile.
15029 (print_operand_address): Similar.
15030 (output_toc): Print all values as hex.
15031 (get_issue_rate): Rearrange and add RS64A and PPC630.
15032 * rs6000.h (processor_type): Add RS64A and PPC630.
15033 (PROCESSOR_POWERPC64): New.
15034 (PROMOTE_MODE): Use word_mode.
15035 (RTX_COSTS): Add RS64A and PPC630.
15036 * rs6000.md (scheduling information): Add lmul and ldiv
15037 representing 64-bit integer multiply and divide. Add rs64a and
15038 PPC630 information.
15039 (ashldi3): Add support for "rldic" instruction.
15040 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
15042 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
15044 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
15045 instead of V8 for sparclite86x in cpu_table.
15047 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15049 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
15050 output_file_directive.
15052 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
15054 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
15055 tree for op1, not the rtl.
15057 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
15059 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
15060 to m88k_va_start, leaving only the register spill.
15061 (m88k_build_va_list): New.
15062 (m88k_va_start): New.
15063 (m88k_va_arg): New.
15064 * m88k.h (BUILD_VA_LIST_TYPE): New.
15065 (EXPAND_BUILTIN_VA_START): New.
15066 (EXPAND_BUILTIN_VA_ARG): New.
15068 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
15070 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
15071 Rename from expand_builtin_saveregs.
15072 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
15074 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
15076 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
15077 for the register spill block.
15078 (i960_build_va_list): New.
15079 (i960_va_start): New.
15080 (i960_va_arg): New.
15081 * i960.h (BUILD_VA_LIST_TYPE): New.
15082 (EXPAND_BUILTIN_VA_START): New.
15083 (EXPAND_BUILTIN_VA_ARG): New.
15084 * i960.md (store_multiple): Use change_address on individul mems.
15086 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
15088 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
15090 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
15091 (expand_builtin_va_end): Evaluate arg for side effects.
15092 * c-common.c (c_common_nodes_and_builtins): Construct a
15093 va_list_arg_type_node to handle array decomposition to pointer.
15095 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
15097 * except.c (start_dynamic_cleanup): Use force_operand on the
15100 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
15102 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
15103 * c4x.c (c4x_va_arg): New.
15105 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
15107 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
15108 has manual_pop set.
15110 1999-07-26 Nathan Sidwell <nathan@acm.org>
15112 * eh-common.h (__eh_matcher): Prototype correctly.
15114 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
15116 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
15117 (TARGET_SINGLE_PIC_BASE): Likewise.
15118 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
15120 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
15121 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
15122 (TARGET_OPTIONS): Add -mpic-register=N.
15123 (OUTPUT_INT_ADDR_CONST): New macro.
15124 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
15125 LEGITIMATE_PIC_OPERAND_P): Likewise.
15126 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
15127 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
15128 output_addr_const directly.
15129 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
15131 (thumb_pic_register, thumb_pic_register_string): Declare.
15133 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
15135 (label_mentioned_p): New function: Imported from arm.c.
15136 (legitimize_pic_address): New function: Imported from arm.c.
15137 (is_pic):New function: Imported from arm.c.
15138 (thumb_finalize_pic):New function: Imported from arm.c.
15139 (add_constant): Cope with PIC constants.
15140 (fixit): Cope with PIC constants.
15141 (output_return): Do not treat the PIC register as live if
15142 TARGET_SINGLE_PIC_BASE is true.
15143 (thumb_function_prologue): Do not treat the PIC register as live if
15144 TARGET_SINGLE_PIC_BASE is true.
15145 (thumb_expand_prologue): Do not treat the PIC register as live if
15146 TARGET_SINGLE_PIC_BASE is true.
15147 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
15148 TARGET_SINGLE_PIC_BASE is true.
15149 (thumb_print_operand): Accept '|'.
15150 (thumb_override_options): Process PIC options.
15152 * config/arm/thumb.md (movsi): Support PIC.
15153 (call_insn): Change "i" constraint to "X".
15154 (call_value_insn): Likewise.
15155 (consttable_4, consttable_8, consttable_end): Set and clear
15156 "making_const_table" as appropriate.
15157 (pic_load_addr, pic_add_dot_plus_four): New insns.
15159 * invoke.texi (Thumb Options): Fix spelling. Document new
15160 options -msingle-pic-base and -mpic-register=.
15162 1999-07-26 Andrew Haley <aph@cygnus.com>
15164 * config/m32r/initfini.c (__init): Use a full word immediate for
15165 __fini: this allows it to be placed in any memory region.
15167 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
15168 -mmodel=medium. This is OK for all memory models.
15170 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
15172 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
15173 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
15175 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
15177 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
15180 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
15182 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
15184 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
15185 (BUILD_VA_LIST_TYPE): New.
15186 (EXPAND_BUILTIN_VA_START): New.
15187 (EXPAND_BUILTIN_VA_ARG): New.
15188 * i860.c (output_delayed_branch): Disable.
15189 (output_delay_insn): Likewise.
15190 (i860_saveregs): New.
15191 (i860_build_va_list): New.
15192 (i860_va_start): New.
15193 (i860_va_arg): New.
15194 * i860.md: Disable all peepholes using output_delayed_branch.
15195 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
15197 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
15199 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
15200 (BUILD_VA_LIST_TYPE): New.
15201 (EXPAND_BUILTIN_VA_START): New.
15202 (EXPAND_BUILTIN_VA_ARG): New.
15203 * clipper.c (clipper_builtin_saveregs): Only dump registers.
15204 Return the address of the save area.
15205 (clipper_build_va_list): New.
15206 (clipper_va_start): New.
15207 (clipper_va_arg): New.
15209 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
15211 * arc.h (EXPAND_BUILTIN_VA_START): New.
15212 (EXPAND_BUILTIN_VA_ARG): New.
15213 * arc.c (arc_setup_incoming_varargs): Set alias set of
15215 (arc_va_start): New.
15218 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
15220 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
15221 (BUILD_VA_LIST_TYPE): New.
15222 (EXPAND_BUILTIN_VA_START): New.
15223 (EXPAND_BUILTIN_VA_ARG): New.
15224 * alpha.c (alpha_builtin_saveregs): Delete.
15225 (alpha_build_va_list): New.
15226 (alpha_va_start): New.
15227 (alpha_va_arg): New.
15229 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
15231 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
15233 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
15234 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
15236 * gcc.texi: More changes related to list conversion.
15237 * invoke.texi: Likewise.
15239 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
15241 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
15242 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
15243 (expand_builtin_next_arg): Accept ARGLIST not EXP.
15244 (stabilize_va_list): New function.
15245 (std_expand_builtin_va_start): New function.
15246 (expand_builtin_va_start): New function.
15247 (get_varargs_alias_set): New function.
15248 (std_expand_builtin_va_arg): New function.
15249 (expand_builtin_va_arg): New function.
15250 (expand_builtin_va_end): New function.
15251 (expand_builtin_va_copy): New function.
15252 (expand_builtin): Call them.
15253 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
15254 __builtin_{varargs_start,stdarg_start,end,copy}.
15255 (build_va_arg): New function.
15256 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
15257 (build_va_arg): Declare.
15258 * c-decl.c (ptr_type_node, va_list_type_node): New.
15259 * c-parse.gperf (__builtin_va_arg): New.
15260 * c-parse.in (VA_ARG): New token.
15261 (unary_expr): Recognize it.
15262 * expr.c (expand_expr): Expand VA_ARG_EXPR.
15263 * expr.h (std_expand_builtin_va_start): Declare.
15264 (std_expand_builtin_va_arg): Declare.
15265 (expand_builtin_va_arg): Declare.
15266 (get_varargs_alias_set): Declare.
15267 * tree.def (VA_ARG_EXPR): New.
15268 * tree.h (BUILT_IN_VARARGS_START): New.
15269 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
15270 (ptr_type_node, va_list_type_node): Declare.
15271 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
15272 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
15273 * m88k.h, m88k.c: Likewise.
15274 * mn10300.h, mn10300.c: Likewise.
15275 * pa.h, pa.c: Likewise.
15276 * rs6000.h, rs6000.c: Likewise.
15277 * sh.h, sh.c: Likewise.
15278 * sparc.h, sparc.c: Likewise.
15280 * emit-rtl.c (operand_subword): Copy alias set.
15281 (change_address): Likewise.
15283 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
15285 * pa.c (compute_frame_size): Scan all the used callee saved registers,
15286 not just the first one.
15288 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
15290 * config/arm/arm.h (TARGET_SWITCHES): Add
15291 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
15292 (TARGET_OPTIONS): Add -mpic-register=.
15293 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
15294 (arm_pic_register_string): Declare.
15295 (NEED_PLT_GOT): Delete, replace with ...
15296 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
15297 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
15298 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
15299 * config/arm/arm.c (arm_override_options): Add new option
15301 (arm_pic_register_string): New variable.
15302 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
15303 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
15304 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
15305 (output_return_instruction): Likewise.
15306 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
15307 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
15308 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
15310 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
15311 mention of -msched-prolog. Document new options -msingle-pic-base
15312 and -mpic-register=.
15314 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
15316 * haifa-sched.c (reemit_notes): Tidy.
15317 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
15320 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
15322 * explow.c (trunc_int_for_mode): New function.
15323 (plus_constant_wide): Use it.
15324 * combine.c (simplify_and_const_int): Likewise.
15325 (merge_outer_ops): Likewise.
15326 (simplify_shift_const): Likewise.
15327 * cse.c (simplify_unary_operation): Likewise.
15328 (simplify_binary_operation): Likewise.
15329 * emit-rtl.c (operand_subword): Likewise.
15330 * rtl.h: Declare it.
15332 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15334 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
15335 (use NUM_REGS instead of NUM_INTS).
15337 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15339 * builtins.c: New file.
15340 * expr.c (saveregs_value, apply_args_value): Delete definition,
15341 moved into builtins.c.
15342 (string_constant): No longer static.
15343 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
15344 apply_args_size, apply_result_size, result_vector,
15345 expand_builtin_apply_args, expand_builtin_apply,
15346 expand_builtin_return): Delete functions, moved into builtins.c.
15347 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
15348 * expr.h (saveregs_value, apply_args_value): Declare variables.
15349 (expand_builtin, string_constant): Declare functions.
15350 * Makefile.in: Update to build builtin.o.
15352 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
15354 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
15355 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
15356 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
15357 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
15359 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
15362 1999-07-21 Michael Meissner <meissner@cygnus.com>
15364 * print-rtl.c (print_rtx): Print the names of the virtual
15367 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
15369 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
15370 introduced in previous delta.
15372 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15374 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
15375 to avoid name clash.
15377 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
15379 * c-lex.c (yylex) : Correct the test for overflow when lexing
15382 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
15384 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
15385 (adjust_priority): Always call ADJUST_PRIORITY.
15386 (schedule_insn): Only put insns into the ready at cost 0.
15387 (schedule_block): Remove redundant initial sort. Give clock_var
15388 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
15390 * tm.texi (MD_SCHED_REORDER): Update docs.
15392 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
15393 * sparc.c (ultra_reorder_called_this_block): Delete.
15394 (ultrasparc_sched_init): Don't set it.
15395 (ultrasparc_sched_reorder): Don't check it.
15397 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
15399 * rs6000.h (struct rs6000_args): Add sysv_gregno.
15400 * rs6000.c (init_cumulative_args): Init sysv_gregno.
15401 (function_arg_boundary): Align DFmode.
15402 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
15403 to get fp reg and stack overflow correct.
15404 (function_arg): Likewise.
15405 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
15406 (setup_incoming_varargs): Restructure for ABI_V4; use
15407 function_arg_advance to skip final named argument.
15408 (expand_builtin_saveregs): Properly unskip the last integer arg
15409 when doing varargs. Adjust overflow location calculation.
15411 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
15412 explicitly unsigned.
15413 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
15414 (__VA_GP_REGSAVE): Similarly.
15415 (__va_longlong_p): Delete.
15416 (__va_arg_type_violation): New declaration.
15417 (va_arg): Restructure. Flag promotion errors. Align double.
15418 TFmode passed by reference.
15420 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
15421 in the HOST_BITS_PER_WIDE_INT > 32 case.
15423 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
15425 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
15427 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
15429 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
15430 * toplev.c (documented_lang_options): Add -fpreprocessed.
15431 * cpplib.h (struct cpp_buffer): Add preprocessed.
15432 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
15433 (cpp_start_read): Don't expand macros or emit an initial #line
15434 directive if -fpreprocessed.
15436 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
15438 * cpplib.h (struct cpp_buffer): Added manual_pop for
15439 better C++ tokenization.
15440 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
15441 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
15442 * c-common.c (cpp_token): Make non-static.
15444 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15446 * c-common.h: New file.
15447 * c-common.c (permanent_obstack): Delete unused declaration.
15448 (c_global_trees): New array.
15449 (c_common_nodes_and_builtins): New function; split off common code
15450 from init_decl_processing in both c-decl.c and cp/decl.c.
15451 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
15452 c_global_trees and accessor macros defined in c-common.h.
15453 Include c-common.h.
15454 * c-decl.c: Delete definitions for tree nodes that were replaced by
15456 (init_decl_processing): Build void_list_node.
15457 Call c_common_nodes_and_builtins; delete code to generate the common
15459 * objc/objc-act.c (build_module_descriptor): Rename variable
15460 void_list_node to avoid clash with c-common.h.
15462 * Makefile.in: Update dependencies.
15463 * objc/Make-lang.in: Likewise.
15465 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
15467 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
15468 (UNIQUE_SECTION_P): Likewise.
15469 (UNIQUE_SECTION): Likewise.
15471 1999-07-19 Linas Vepstas <linas@linas.org>
15473 * config/i370/README: New file.
15474 * config/i370/linux.h: New file.
15475 * config/i370/mvs.h: New file.
15476 * config/i370/oe.h: New file.
15477 * config/i370/t-linux: New file.
15478 * config/i370/t-mvs: New file.
15479 * config/i370/t-oe: New file.
15480 * config/i370/x-oe: New file.
15481 * config/i370/xm-linux.h: New file.
15482 * config/i370/xm-mvs.h: New file.
15483 * config/i370/xm-oe.h: New file.
15485 * i370.c (label_node_t): Add first_ref_page, label_addr,
15486 label_first_ref, label_last_ref members.
15487 (mvs_need_base_reload): Renamed from mvs_label_emitted.
15488 (MAX_MVS_LABEL_SIZE): Define.
15489 (MAX_LONG_LABEL_SIZE): Define.
15490 (alias_node_t, alias_anchor, alias_number): New.
15491 (mvs_function_table): Reorder for EBCDIC.
15492 (ascebc, ebcasc): Unconditionally define.
15493 (i370_branch_dest, i370_branch_length): New functions.
15494 (i370_short_branch, i370_label_scan): New functions.
15495 (mvs_get_label): Renamed from mvs_add_label. Search for
15496 an existing label before creating a new one.
15497 (mvs_add_label): New function.
15498 (mvs_get_label_page): New function.
15499 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
15500 over the entire list.
15501 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
15502 (mvs_check_page) [TARGET_ELF_ABI]: New function.
15503 (mvs_add_alias, mvs_need_alias): New functions.
15504 (mvs_get_alias, mvs_check_alias): New functions.
15505 (handle_pragma): New function.
15506 (mvs_function_check): New function.
15507 (unsigned_jump_follows_p): Search harder.
15508 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
15509 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
15510 * i370.h (TARGET_VERSION): Delete.
15511 (CPP_SPEC, CPP_PREDEFINES): Delete.
15512 (mvs_label_emitted): Delete.
15513 (TARGET_EBCDIC): Delete.
15514 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
15515 (HANDLE_PRAGMA): Define.
15516 (HARD_REGNO_NREGS): Handle complex modes.
15517 (HARD_REGNO_MODE_OK): Likewise.
15518 (CLASS_MAX_NREGS): Likewise.
15519 (RET_REG): Likewise.
15520 (EXTRA_CONSTRAINT): Define.
15521 (RETURN_IN_MEMORY): True for DImode.
15522 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
15523 (FUNCTION_PROFILER): Delete.
15524 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
15525 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
15526 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
15527 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
15528 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
15529 (ASM_FILE_START): Add "RMODE ANY".
15530 (ASM_OUTPUT_EXTERNAL): Check for aliases.
15531 (ASM_GLOBALIZE_LABEL): Likewise.
15532 (ASM_OUTPUT_LABELREF): Likewise.
15533 (ASM_OUTPUT_COMMON): Likewise.
15534 (PRINT_OPERAND): Handle 'K', 'W', default.
15535 (PRINT_OPERAND_ADDRESS): New.
15536 (Lots of defines): Add support for TARGET_ELF_ABI.
15537 * i370.md (attr length): New. Define for all patterns.
15538 (*): Lots of tweeks to assembly output and constraints.
15540 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
15542 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
15543 Disable patterns performing SImode comparisons with SImode values
15544 if TARGET_POWERPC64 and instruction does not sign-extend or does
15545 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
15546 differ for signed quantities.
15547 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
15548 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
15549 (decrement_and_branch_on_count): Add 64-bit variant.
15551 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15553 * final.c (output_asm_insn): When searching for the matching string
15554 for a given dialect, don't run past the end of the list of
15555 alternatives if there are fewer alternatives in the template than
15558 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
15560 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
15561 Removed paragraph about compression of files and size limitation,
15562 duplicated in the FAQ. Use gcc-patches for posting patches.
15563 * gcc.c (main): Updated URL with bug reporting instructions to
15564 gcc.gnu.org. Removed e-mail address.
15565 * system.h (abort): Likewise.
15567 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15569 * Makefile.in (stmp-multilib-sub): Make the files extracted
15570 from $(LIBGCC1) writable.
15572 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
15574 * config/arm/aout.h: Reformat for improved readability.
15576 * config/arm/arm.h: Reformat for improved readability.
15577 Replace uses of fprintf with asm_fprintf where appropriate.
15578 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
15579 function declaration assembler actions.
15580 (NUM_INTS): New macro: Convert from bytes to words.
15581 (NUM_REGS): New macro: Compute number of registers required to
15582 hold a quanitity of tyep MODE.
15583 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
15585 (NUM_ARG_REGS): New macro: The number of argument registers
15587 (ARG_REGISTER): New macro: Compute the register number of the Nth
15589 (LAST_ARG_REGNUM): New macro: The number of the last argument
15591 (SP_REGNUM): New macro: Register number of the stack pointer.
15592 (FP_REGNUM): New macro: Register number of the frame pointer.
15593 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
15594 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
15595 CUMULATIVE_ARGS so that it counts registers not bytes.
15597 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
15599 Replace uses of fprintf with asm_fprintf where appropriate.
15600 (output_ascii_pseudo_op): Replace with version from thumb.c
15602 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
15604 * config/arm/elf.h (CPP_PREDEFINES): Replace with
15605 SUBTARGET_CPP_SPEC.
15606 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
15607 (ASM_FILE_START): Emit ASM_APP_OFF.
15609 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
15611 * pa.c (compute_frame_size): Round frame according to
15612 STACK_BOUNDARY rather than a hardwired value.
15614 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
15616 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
15618 * configure: Rebuilt.
15620 * configure.in (hppa*-*-linux*): New configuration.
15621 * configure: Rebuilt.
15622 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
15623 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
15624 * pa/pa-linux.h: New file.
15625 * pa/t-linux: New file.
15626 * pa/xm-linux.h: New file.
15628 * pa.c (hppa_legitimize_address): Change references from SImode to
15629 either Pmode or word_mode as appropriate.
15630 (emit_move_sequence, store_reg, load_reg): Likewise.
15631 (set_reg_plus_d, hppa_expand_prologue): Likewise.
15632 (output_mul_insn): Likewise.
15633 * pa.h (PROMOTE_MODE): Likewise.
15634 (INITIALZE_TRAMPOLINE): Likewise.
15635 (Pmode): Define to word_mode.
15637 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
15638 value of 4. Allocate 8 bytes for each FP register save.
15639 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
15641 (hppa_expand_prologue): Likewise.
15642 * pa.h (PROMOTE_MODE): Likewise.
15643 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
15644 (FUNCTION_ARG_BOUNDARY): Likewise.
15646 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
15648 * pa.c (out_of_line_prologue_epilogue): Delete.
15649 (override_options): Remove -mspace related code.
15650 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
15651 (compute_frame_size): Only allocate space for register that
15652 actually need to be saved.
15653 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
15654 (TARGET_SWITCHES): Remove -mspace, -mno-space
15655 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
15656 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
15657 * pa/ee.asm, pa/ee_fp.asm: Delete.
15659 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
15661 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
15662 directive in column zero.
15664 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
15666 * m68k.c (output_function_prologue): Fix computation of save mask
15667 when generating PIC code.
15669 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
15671 * tree.c (build_type_attribute_variant): Move current_obstack restore
15672 after build_qualified_type call.
15674 1999-07-15 Mark Mitchell <mark@codesourcery.com>
15676 * configure.in: Use t-iris6, even with GNU LD.
15677 * config/mips/iris6gld.h: Fix typo in linker spec.
15678 * config/mips/t-iris6gld: Remove.
15680 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
15682 * rs6000.md (insv, extzv): Remove SImode dependence in named
15683 patterns. Explicitly generate DImode RTL if PowerPC64 and
15685 (insvdi): Reverse start and size in instruction template.
15687 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
15689 * invoke.texi: Typo fixes.
15691 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
15693 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
15694 handle at this time instead of silently generating incorrect code.
15695 (gen_imagpart): Likewise.
15697 * reload.c (find_reloads): Emit a USE for a pseudo register without
15698 a hard register if we could not create an optional reload for the
15701 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15703 * c-typeck.c (output_init_element, process_init_element):
15704 When advancing constructor_unfilled_fields for a RECORD_TYPE,
15705 check for nameless bit fields.
15707 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
15709 * regclass.c (scan_one_insn): Notice subregs that change the
15710 size of their operand.
15711 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
15713 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
15715 * configure.in (alpha*-*-*): Include alpha/t-ieee.
15716 * configure: Rebuilt.
15717 * alpha/t-ieee: New file.
15719 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
15721 * rs6000.c (find_addr_reg): Do not select r0 as an address
15724 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
15726 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
15728 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
15730 * rs6000.md (movsf): Do not force easy FP constants into memory.
15732 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
15733 immed_double_const to ensure they are properly truncated then
15736 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
15738 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
15739 always unless NO_DEBUG is used. Compile this code
15741 (replace_symbols_in_block): Compile it unconditionally.
15743 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
15745 * configure.in (i?86-*-elf*): New target.
15746 * configure: Rebuilt.
15747 * i386/i386elf.h, i386/t-i386elf: New files.
15749 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
15751 * toplev.c (main): Don't complain about saying -gdwarf.
15752 (rest_of_compilation): Remove redundant code.
15754 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
15756 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
15758 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
15760 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
15761 "Li960R:", to avoid name clash.
15763 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15765 * loop.c (check_dbra_loop): When reversing a loop, delete all
15766 REG_EQUAL notes referencing the reversed biv except those which are
15767 for a giv based on it.
15769 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
15771 * version.c: Drop "gcc-" prefix from version #.
15773 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
15775 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
15776 the label if we're being verbose.
15778 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
15780 * m68k.c (output_function_prologue): Add pic register to mask
15781 if live and flag_pic.
15782 (output_function_epilogue): Likewise.
15784 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
15786 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
15787 directives in column zero.
15789 * pa/elf.h (ASM_FILE_START): Define.
15790 * pa/som.h (ASM_FILE_START): Include .level directives.
15791 * pa/hpux10.h (ASM_FILE_START): Delete.
15792 * pa/hpux11.h (ASM_FILE_START): Delete.
15794 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
15796 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15798 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
15799 when reload_out equals reload_in.
15801 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
15803 * invoke.texi (Spec Files): New node: Describe the contents of
15806 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
15808 * invoke.texi (DEC Alpha Options): Put @end table at
15809 beginning of line, to avoid confusing texi2html.
15811 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
15813 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
15814 introduced in previous delta.
15816 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15818 * reload1.c (gen_reload): When synthesizing a 3 operand add
15819 sequence, improve test for when to reload OP1 into the reload
15820 register instead of OP0.
15822 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
15824 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
15826 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
15828 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
15831 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
15833 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
15834 (va_dcl): Use __builtin_va_alist_t.
15836 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
15838 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
15839 on the permanent_obstack.
15840 * dwarfout.c (output_type): Likewise.
15842 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
15844 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15845 Merged from c-typeck.c and cp/typeck.c.
15846 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15847 Merged into c-common.
15849 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
15851 * c-lex.c (errorcount): Declare it.
15852 (finish_parse): Update errorcount when using CPPLIB.
15854 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
15856 * fixinc/inclhack.def(end_else_label): Double the backslash so
15857 sed gets a chance to see it.
15858 * fixinc/inclhack.sh: regen
15859 * fixinc/fixincl.x: regen
15861 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
15863 Add framework to support armv5 architecture when it becomes
15866 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
15867 (arm_arch5): New variable.
15868 (all_architectures): Add armv5 line.
15869 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
15870 -march=armv5 is specified on the command line.
15871 (arm_arch5): Export this variable.
15872 * invoke.texi: Document new string accepted by -march= switch for
15875 * config/arm/arm.h: Replace use of constant 12 as a register
15876 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
15877 * config/arm/arm.c: Replace use of constant 12 as a register
15878 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
15880 * config/arm/elf.h: Tidy up.
15881 * config/arm/coff.h: Tidy up.
15883 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
15885 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
15886 * gcc/config/mips/t-iris6gld: New file.
15887 * gcc/config/mips/iris6gld.h: Likewise.
15889 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
15891 * c-decl.c (widest_integer_literal_type_node,
15892 widest_unsigned_literal_type) : New.
15893 (init_decl_processing): Handle/use the two new types.
15894 * c-common.c (type_for_size,type_for_mode) : Same.
15895 * c-lex.c (yylex) : Same.
15896 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15898 * c-tree.h (widest_integer_literal_type_node,
15899 widest_unsigned_literal_type) : New.
15901 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
15903 * dwarfout.c (field_byte_offset): Correctly compute the object's
15904 byte offset for the first bit of a field which crosses an alignment
15905 boundary on a !BYTES_BIG_ENDIAN target.
15907 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
15909 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
15912 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
15913 Jeff Law <law@cygnus.com>
15915 * ginclude/varargs.h (va_dcl): Use word_mode for type of
15918 * except.c: Include intl.h.
15919 (expand_eh_return): Set current_function_cannot_inline.
15920 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
15921 * function.h (struct function): Add eh_return_stub_label.
15922 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
15923 * Makefile.in (except.o): Depend on intl.h.
15925 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
15927 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
15928 same as offsettable in cases 1 and 2.
15930 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
15932 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
15933 (extlh, extwh): Likewise.
15935 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
15937 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
15939 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
15941 * configure.in: Add arm-pe and thumb-pe targets.
15942 * configure: Regenerate.
15944 * thumb.c (arm_naked_function_p): New function: Determines if
15945 a function is naked (has no gcc generated prologue/epilogue).
15946 (is_called_in_ARM_mode): Return true if the func has the
15947 interfacearm attribute.
15948 (output_return): Do not generate a return for naked functions.
15949 (thumb_function_prologue): Do not generate a prologue for
15951 (thumb_expand_prologue): Do not generate a prologue for naked
15953 (thumb_expand_epilogue): Do not generate an epilogue for naked
15955 (arm_valid_machine_decl_attribute): New function, copied from
15956 arm.c: Permit naked and interfacearm attributes.
15958 * config/arm/pe.c: New file: Support code for arm-pe target.
15959 * config/arm/pe.h: New file: Header file for arm-pe target.
15960 * config/arm/tpe.h: New file: Header file for thumb-pe target.
15961 * config/arm/t-thumb-pe: New file: Makefile fragment for
15964 1999-07-01 Mark Kettenis <kettenis@gnu.org>
15966 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
15967 -fPIC or -fpic is specified.
15969 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
15971 * expr.c (emit_block_move): Use copy_to_mode_reg for
15972 !TARGET_MEM_FUNCTIONS case too.
15974 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
15976 * configure: Rebuilt.
15977 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
15978 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
15979 definitions made redundant by dbxelf.h inclusion. Delete
15980 lots of definitions related to assembly output that are
15981 specific to the SOM object format.
15982 * pa.c (output_function_prologue): Do not emit the function's
15984 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
15985 * pa-pro.h: Deleted.
15986 * som.h: New file with SOM specific definitions.
15987 * elf.h: New file with ELF specific definitions.
15989 * elfos.h (const_section): Output a tab before assembler directives.
15990 (ctors_section, dtors_section): Likewise.
15991 (ASM_OUTPUT_SECTION_NAME): Likewise.
15993 * pa/pa1.h: Delete unused file.
15995 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
15997 * configure.in (hppa*-hp-hpux11*): New configuration.
15998 * configure: Rebuilt.
15999 * pa/pa-hpux11.h: New file.
16000 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
16003 * mips.md (leasi, leadi): New patterns.
16005 * expr.c (emit_block_move): Properly handle case where one of the
16006 block move arguments has a queued increment or decrement.
16007 (clear_storage): Similarly. Fix formatting goof.
16009 1999-06-28 "David O'Brien" <obrien@NUXI.com>
16011 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
16012 semicolon from the BSD VA_LIST replacement expression.
16014 * fixinc/inclhack.sh: regen
16015 * fixinc/fixincl.x: regen
16017 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
16018 now use the fixincl program.
16020 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
16022 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
16023 case. Also make the PIC register call_used.
16025 * m68k.h (FINALIZE_PIC): Delete.
16026 * m68k.c (finalize_pic): Delete.
16028 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
16030 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
16033 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
16035 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
16037 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
16039 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
16041 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
16043 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
16045 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
16047 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
16049 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
16051 * rs6000.c (output_toc): Always use hex values for floating-point
16052 constants. Store single-precision values in upper-half of TOC
16053 entry in 64-bit mode.
16054 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
16055 to final constraints.
16056 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
16057 (fctiwz): Improve accuracy of RTL for pattern.
16059 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
16061 * expr.c (expand_expr): Allow RTL_EXPR's through the
16062 MAX_INTEGER_COMPUTATION_MODE checks.
16064 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
16066 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
16067 such that MASK_SUPPORT_ARCH is not negative.
16069 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
16071 * loop.c (verify_dominator): Properly handle ADDR_VEC and
16072 ADDR_DIFF_VEC insns that appear inside loops.
16074 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
16075 Jeff Law <law@cygnus.com>
16077 * rs6000.md (movdf_hardfloat32): Revert previous patch.
16078 Handle LO_SUM the same as offsettable in cases 1 and 2.
16079 * rs6000.c (find_addr_reg): Revert previous patch.
16081 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
16083 * system.h (strstr): New external function declaration.
16084 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
16085 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
16086 * config.in, configure: Rebuilt.
16088 1999-06-24 Tom Tromey <tromey@cygnus.com>
16090 * gcc.c (main): Read user-specified specs files after computing
16091 additional startfile_prefixes.
16093 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
16095 Revert these two patches:
16097 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16098 * loop.c (strength_reduce): When doing biv->giv conversion, update
16099 reg note of NEXT->insn.
16101 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16102 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16104 (recombine_givs): Set ix field after sorting.
16106 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16108 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
16109 for the parts of an UNSPEC / UNSPEC_VOLATILE.
16111 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
16113 *fixinc/inclhack.def: Add fix development commentary
16114 (read_ret_type): reactivate and add selection clause
16115 (zzz_*): tweak output file name to match what is used in hackshell.tpl
16116 *fixinc/{fixincl.x|inclhack.sh}: regen
16118 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
16120 * expr.c (expand_expr): STRIP_NOPS before checking against
16121 MAX_INTEGER_COMPUTATION_MODE
16122 (check_max_integer_computation_mode): Likewise.
16124 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
16126 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
16128 1999-06-22 Jim Wilson <wilson@cygnus.com>
16130 * expr.c (store_expr): When target is a promoted subreg, return a
16131 promoted subreg as a result.
16133 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
16135 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
16137 (dwarf2out_define): Mark unused parameters appropriately.
16138 (gen_unspecified_parameters_die): Ditto.
16139 (gen_subprogram_die): Fix signed/unsigned warnings.
16140 (gen_variable_die): Ditto.
16142 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
16144 * fixinc/inclhack.def(end_else_label): combined else_label
16145 and endif_label and fixed the sed expression.
16146 *fixinc/{fixincl.x|inclhack.sh}: regen
16148 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
16150 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
16151 'x' when handling non-offsettable addresses
16153 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
16155 * final.c (shorten_branches): Don't try to split an insn that has
16158 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
16160 * config/mips/mips.c (symbolic_expression_p): New function.
16161 (mips_select_rtx_section): Put symbolic expressions in the
16162 data section, not the read-only data section.
16164 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
16166 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
16168 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
16170 * collect2.c (main): Log frame table count.
16171 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
16172 (scan_prog_file) [COFF]: Handle frame tables.
16174 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
16175 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
16176 * alpha/elf.h: Undef them again.
16177 * alpha/vms.h: Remove their definitions.
16179 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16181 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
16182 remove the clobber of r0 and change the REG_UNUSED note to
16185 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
16187 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
16188 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
16189 fits in HOST_WIDE_INT and one uses union to access a long constant
16192 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
16194 * sparc.c (sparc_override_options): Don't allow profiling for
16195 code models other than medlow.
16196 (sparc_function_profiler): New function from old FUNCTION_PROFILER
16197 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
16198 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
16199 (sparc_block_profiler): Likewise.
16200 (sparc_function_block_profiler_exit): Likewise.
16201 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
16202 (FUNCTION_BLOCK_PROFILER): Likewise.
16203 (BLOCK_PROFILER): Likewise.
16204 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
16205 (MCOUNT_FUNCTION): New.
16206 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
16207 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
16208 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
16209 (MCOUNT_FUNCTION): New.
16210 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
16211 (BLOCK_PROFILER): Delete.
16212 (MCOUNT_FUNCTION): New.
16214 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
16216 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
16218 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16220 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16223 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16226 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16229 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16232 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
16234 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
16237 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
16239 * i386/djgpp.h (LIB_SPEC): New.
16240 (STARTFILE_SPEC): New.
16242 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
16244 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
16246 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
16249 * system.h (WSTOPSIG): New macro.
16251 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
16253 * c-pragma.c (push_alignment): Don't ignore alignments greater than
16255 (insert_pack_attributes): Take into account member natural
16258 * i386/winnt.c (exports_head): New static variable.
16259 (i386_pe_record_exported_symbol): New function.
16260 (i386_pe_asm_file_end): Use.
16261 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
16262 symbols to be emitted at end of assembly.
16263 (ASM_DECLARE_OBJECT_NAME): Likewise.
16264 (ASM_DECLARE_FUNCTION_NAME): Likewise.
16266 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
16269 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
16271 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
16274 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
16276 * haifa-sched.c (sched_analyze_1): Use free_list instead of
16277 zapping reg_last_uses directly.
16278 (sched_analyze_2, sched_analyze_insn): Likewise.
16279 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
16281 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
16283 * rs6000.md (movdf_hardfloat32): Use worst case insn length
16284 attributes for cases 1 and 2.
16286 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
16288 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
16291 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
16293 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
16295 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
16297 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
16298 PIC_OFFSET_TABLE_REGNUM for general alloaction.
16299 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
16300 must be stacked if it is used for PIC accesses.
16301 * arm.c (use_return_insn): Handle PIC register specially.
16302 (output_return_instruction): Likewise.
16303 (output_func_{prologue,epilogue}): Likewise.
16304 (output_expand_prologue): Likewise.
16306 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
16307 (*strsi_predec): Renamed from *strqi_predec.
16308 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
16309 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
16311 * arm.c (arm_override_options): Remove warning about PIC code
16312 not being supported.
16314 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
16316 * rs6000.c (find_addr_reg): New function.
16317 * rs6000.h (find_addr_reg): Declare.
16318 (offsettable_addr_operand): Delete.
16319 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
16320 from and stores to GPRs.
16322 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
16324 * alpha.c (alpha_expand_block_move): Use get_insns rather than
16325 gen_sequence as argument to emit_no_conflict_block.
16327 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16329 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
16330 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
16331 *fixinc/fixincl.x: regen
16332 *fixinc/inclhack.sh: regen
16334 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
16336 * added support for -mpcrel (PC relative addressing for m68k)
16337 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
16338 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
16339 * m68k.c (print_operand_address): Handle 32-bit PIC case.
16340 (comments for general_src_operand): Add some explanation
16341 about EXTRA_CONSTRAINTS.
16342 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
16343 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
16344 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
16345 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
16346 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
16347 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
16348 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
16349 if not already set.
16350 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
16351 * m68k.h (TARGET_PCREL): New target flag.
16352 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
16353 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
16354 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
16355 contains a SYMBOL_REF. Relax this constraint during reload, since
16356 we want to use the predicates, not reload's built-in concept of a
16357 valid memory address, to control what insns need reloading.
16358 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
16359 operands (essentially 'g', 'm', and 's' under normal circumstances).
16360 * m68k.c (print_operand): Cause printing of pc-relative addresses
16361 to include pc register.
16362 (print_operand_address): Ditto.
16363 (general_src_operand): Accept operands that are not only
16364 general_operands, but are also valid when used as a pc-relative
16366 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
16367 (memory_src_operand): Similar, for memory_operands.
16368 (pcrel_address): New predicate to accept the special case of a
16369 pc-relative address.
16370 * m68k.md (many patterns): Rewrite common SImode, HImode, and
16371 QImode insns to accept *_src_operand instead of *_operand where
16372 pc-relative operands can fit. For example, a pc-relative operand
16373 can be used as a memory source operand for addsi3, but not as a
16374 memory destination.
16375 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
16377 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
16379 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
16380 .thumb_set pseudo op to mark aliases of thumb functions.
16382 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
16384 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
16385 preference to ASM_OUTPUT_DEF, if it is defined.
16387 * tm.texi: Document new, optional target macro
16388 ASM_OUTPUT_DEF_FROM_DECLS.
16390 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16392 * fixincludes: ISCNTL patch
16393 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
16394 (dgux_int_varargs): new for DG/UX
16395 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
16397 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
16399 * invoke.texi (ia32 options): Fix typo.
16401 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16403 * loop.c (strength_reduce): When doing biv->giv conversion, update
16404 reg note of NEXT->insn.
16406 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
16408 * loop.c (move_movables): Note issues with replacing REGs with
16410 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
16412 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
16414 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
16416 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
16417 the reference to `mcount' was not correct for the ELF on FreeBSD.
16419 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16421 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16424 (recombine_givs): Set ix field after sorting.
16426 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
16428 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
16429 to safe to extract a subword out of a REG.
16431 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16433 * sh.md (mulsi3): Don't add a no-op move at the end.
16435 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16437 * cse.c (cse_insn): Don't put hard register source into tables for
16438 the last insn of a libcall.
16440 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16442 * loop.c (strength_reduce): Insert sets of derived givs at every
16443 biv increment, even if it's the only one.
16445 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16447 * dwarfout.c (add_incomplete_type): New fn.
16448 (output_type): Call it.
16449 (retry_incomplete_types): New fn.
16450 (dwarfout_finish): Call it.
16452 From Eric Raskin <ehr@listworks.com>:
16453 (output_type): Output types for bases.
16455 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
16457 * mips.c (mips_output_conditional_branch): Add `break'
16458 between `default' label and `close braces'.
16460 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
16462 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
16463 specifications and make it realistic.
16464 (LIB_SPEC): Likewise.
16466 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
16468 * config/mips/mips.c (mips_secondary_reload_class): Check for
16469 (PLUS (SP) (REG)) and return appropriate register class.
16470 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
16471 Handle (PLUS (SP) (REG)).
16472 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
16473 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
16474 of emit_insn for tablejump.
16476 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
16478 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
16479 asm_fprintf format string by itself.
16480 (output_function_profiler): Likewise.
16482 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
16484 * combine.c (simplify_logical, case AND): Only call
16485 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
16486 or the constant is positive.
16488 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
16490 * configure.in: Fix typo in rs6000-ibm-aix4 case.
16491 * configure: Regenerate.
16493 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
16495 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
16496 require a sub-version #.
16497 * configure: Rebuilt.
16499 1999-06-14 Robert Lipe (robertlipe@usa.net)
16501 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
16503 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
16505 * c-typeck.c (process_init_element): Detect excess elements in
16506 char array initializer.
16508 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
16510 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
16512 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16514 * invoke.texi (Option Summary): Add -fpermissive flag.
16516 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
16518 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
16519 that require PIC code sequences.
16521 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
16523 * configure.in: Add new target: thumb-elf.
16524 * configure: Regenerate.
16525 * config/arm/t-thumb-elf: New file: Makefile fragment for
16527 * config/arm/telf.h: New file: Header file for thumb-elf
16530 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
16532 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
16533 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
16534 initializers is some circumstances.
16536 * fixinc/inclhack.def (endif_label): Add additional selector for
16537 more bogus stuff after #endif statements.
16538 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16540 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
16542 * i386/cygwin.h (SET_ASM_OP): Define.
16544 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
16546 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
16548 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16550 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
16553 * sh.md (ic_invalidate_line_i): Remove second alternative.
16555 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16557 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
16558 test for the presence of valid prototypes. Delete bypass expr.
16559 (ioctl_fix_ctrl): Correct the selection expression.
16560 (no_double_slash): Correct quoting rules
16561 *fixinc/fixincl.x: regen
16562 *fixinc/inclhack.sh: regen
16564 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
16566 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
16568 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16570 * rs6000.md (movsi_got_internal_mem): Delete.
16571 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
16572 (GOT_TOC_REGNUM): Delete.
16573 (PIC_OFFSET_TABLE_REGNUM): Define.
16574 (FINALIZE_PIC): Disable.
16575 * rs6000.c (rs6000_got_register): New code for fixed pic register.
16576 (rs6000_replace_regno): Delete.
16577 (rs6000_finalize_pic): Likewise.
16578 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
16580 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16582 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
16583 is a note; use <= for the compare; advance P while it is
16586 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
16588 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
16589 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
16591 * varasm.c (remove_from_pending_weak_list): Verify t->name
16592 is non-NULL before passing it to strcmp.
16594 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16596 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
16597 the typed arguments are not part of a comment
16598 (ioctl_fix_ctrl): Added a purpose comment
16599 *fixinc/fixincl.x: regenerate
16600 *fixinc/inclhack.sh: regenerate
16602 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16604 * invoke.texi: Add C4x invocation docs.
16606 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16608 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
16610 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
16612 (c4x_legitimize_reload_address): New function.
16613 * config/c4x/c4x.md: Update docs.
16615 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
16617 * fixincludes: Avoid removing '.'.
16618 * fixinc/fixinc.svr4: Likewise.
16619 * fixinc/fixinc.winnt: Likewise.
16620 * fixinc/inclhack.tpl: Likewise.
16621 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
16623 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16625 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
16627 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
16629 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
16631 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
16634 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
16636 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
16637 * configure: Regenerate.
16639 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
16641 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
16644 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
16646 * fixinc/inclhack.def (avoid_bool): Also catch
16647 "typedef [unsigned] int bool".
16648 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16650 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
16651 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
16652 * configure: Rebuilt.
16654 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
16656 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
16657 such that we can override its definitions if necessary.
16658 (CPP_SPEC): New define. Support processor specific predefines via
16660 (CC1_SPEC): New define. Support processor specific compiler
16661 options via %(cc1_cpu).
16662 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
16665 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16667 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
16668 between sed's -e flag, and the open-quote following it.
16669 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16671 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
16672 Jeffrey A Law (law@cygnus.com)
16674 * varasm.c (assemble_start_function): Remove the function
16675 from the pending weak decls list when we define a function.
16676 (assemble_variable): Similarly for variables.
16677 (weak_finish): Ignore items on the list with a NULL name.
16678 (remove_from_ending_weak_list); New function to "remove" an item
16679 from the pending weak declarations list.
16681 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16683 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
16685 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
16687 * c-lex.c (GETC): Redefine to call getch.
16688 (UNGETC): Redefine to call put_back.
16689 (putback_buffer): New structure type.
16690 (putback): New static structure.
16691 (getch): New function.
16692 (put_back): New function.
16693 (yylex): Replace unused bytes from bad multibyte character.
16695 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
16697 * cpplib.c (do_define): Cast `alloca' return value.
16698 (do_include, do_undef, do_pragma): Likewise.
16699 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
16701 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
16702 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
16704 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
16706 * sparc.md (abstf2): This should be an expand.
16707 (split after abstf2_notv9): Fix mode.
16708 (abstf2_hq_v9): New pattern.
16709 (abstf2_v9): Only use when no hard quad.
16710 (absdf2_v9): Fix if target is not the same as source.
16711 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
16712 Add correct output constraints.
16714 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
16716 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
16717 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
16719 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
16721 * mips.h (mips_output_conditional_branch): New function.
16722 (mips_adjust_insn_length): Likewise.
16723 (ASSEMBLER_SCRATCH_REGNUM): New macro.
16724 (ADJUST_INSN_LENGTH): Likewise.
16725 * mips.c (print_operand): Add `F' and `W' for floating-point
16726 comparison opcodes.
16727 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
16729 (mips_adjust_insn_length): New function.
16730 (mips_output_conditional_branch): New function.
16731 * mips.md (length): Adjust attribute definition to handle
16732 conditional branches. Change lengths to bytes, rather than
16733 instructions throughout. Remove length attribute from
16734 instructions whose length is four bytes, and rely on the default
16736 (dslot): Fix typo in comment.
16737 Reword conditional branch patterns to use
16738 mips_output_conditional_branch.
16740 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16742 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
16743 (LIB_SPEC): Likewise.
16744 Link with -lprof1_r for -g/-pg.
16746 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16748 * loop.c (check_dbra_loop): Fix change of Jan 19.
16750 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
16752 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
16753 (STARTFILE_SPEC): Define, override the svr4.h version.
16754 (ENDFILE_SPEC): Likewise.
16756 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
16758 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
16759 * fixinc/fixincl.x: Regenerated.
16760 * fixinc/inclhack.sh: Regenerated.
16762 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16764 * sh.c (barrier_align): Don't return early for normal branch/barrier
16765 when optimizing for SH2.
16767 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
16769 * i386/udk.h (LINK_SPEC): Correct linker search path for
16772 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16774 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
16775 (braf_label_ref_operand): Delete.
16776 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
16777 * sh.md (casesi_jump_2): Operand1 is now the inside of a
16778 label_ref, and has no predicate.
16779 The patten has a predicate to guard against invalid substitutions.
16780 (dummy_jump): Delete.
16781 (casesi): Update use of casesi_jump_2.
16783 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16785 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
16786 *fixinc/fixincl.x: regenerate
16787 *fixinc/inclhack.sh: regenerate
16789 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
16791 * dwarf2out.c (add_incomplete_type): New fn.
16792 (gen_struct_or_union_type_die): Call it.
16793 (retry_incomplete_types): New fn.
16794 (dwarf2out_finish): Call it.
16796 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
16798 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
16799 current block starts with a CODE_LABEL and ends with a CALL and
16800 we can not find all the argument setup instructions for the CALL.
16802 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
16804 Revert this change:
16805 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
16806 something is a candidate for optimize_bit_field_compare.
16808 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16810 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
16812 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
16814 * alpha.c (override_options): Thinko in last patch.
16816 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
16817 (LIB_SPEC): Recognize -pthread.
16819 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
16821 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
16822 definition in config/arm/coff.h
16823 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
16825 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16827 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
16828 fixes that need "file=xxx\n" prepended before invocation
16829 (start_fixer - new): starting the fixer process is complex enough
16830 to warrent its own routine. It prepends the "file=xxx\n" stuff.
16831 (process): uses the new routine; omit usage of putenv()
16832 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
16833 * fixinc/fixincl.x: regenerate
16835 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
16837 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
16838 and version #s (1.1 -> 2.96) as needed.
16839 * README.g77: Kill way out of date file in the toplevel directory.
16841 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
16843 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
16844 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
16845 * configure: Rebuilt.
16846 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
16847 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
16848 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
16849 (SWITCH_TAKES_ARG): Likewise.
16850 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
16851 * config/t-freebsd: Moved from config/i386/ so it can used for all
16854 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
16856 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
16858 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
16860 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
16861 * configure: Rebuilt.
16863 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
16865 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
16866 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
16867 * rs6000/rs6000.c (rs6000_file_start): Use putc.
16868 (rs6000_output_load_toc_table): Same.
16869 (output_prolog, output_mi_thunk): Same.
16870 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
16871 (ASM_GLOBALIZE_LABEL): Use putc.
16873 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
16875 * alpha.md (reload_*_help): New patterns and splitters.
16876 (reload_*): Use them.
16877 (mov[qh]i): Likewise.
16879 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
16881 * cccp.c (handle_directive): Handle backslash-newlines in quoted
16884 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
16886 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
16888 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
16890 * flow.c (mark_regs_live_at_end, insn_dead_p,
16891 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
16892 and HARD_FRAME_POINTER_REGNUM special treatment if reload
16893 hasn't run or the frame pointer is needed.
16894 * haifa-sched.c (attach_deaths): Likewise.
16895 * sched.c (attach_deaths): Likewise.
16897 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
16899 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
16900 calculate_can_reach_end returns nonzero.
16902 * configure.in (native gas tests): Search for an assembler in the
16903 same manner that the installed compiler will.
16904 * configure: Rebuilt.
16905 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
16907 * alias.c (find_base_term): Improve handling of addresses
16908 constructed from binary operations.
16910 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
16912 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
16914 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
16916 * function.h (cleanup_label, frame_offset): Declare.
16917 (tail_recursion_label, tail_recursion_reentry): Likewise.
16918 (arg_pointer_save_area, rtl_expr_chain): Likewise.
16919 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
16920 (tail_recursion_label, tail_recursion_reentry): Likewise.
16921 (arg_pointer_save_area, rtl_expr_chain): Likewise.
16923 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
16925 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
16927 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
16928 (MAX_OFILE_ALIGNMENT): Define.
16930 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
16932 * fixincl.c: Replace local include scheme with #includes of
16933 gansidecl.h and system.h.
16934 * procopen.c: Likewise.
16935 * server.c: Likewise.
16937 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
16939 * i386/t-dgux (EXTRA_PARTS): Add crti.o
16940 (crti.o): Add build rule and dependencies.
16941 * fixinc/fixinc.dgux: Use modified _int_varargs.h
16943 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16945 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
16946 (LIB_LINUX_SPEC): Likewise.
16947 (LIB_LINUX_SPEC): Add support for -pthread
16948 (CPP_OS_LINUX_SPEC): Likewise.
16949 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
16952 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
16954 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
16956 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
16957 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
16958 for IEEE math and CC_FCOMI.
16959 (put_jump_code): No IEEE if CC_FCOMI is set.
16961 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16963 * fold-const.c (fold_truthop): Make the field reference unsigned
16964 when converting a single bit compare.
16966 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16968 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
16970 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
16972 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
16973 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
16976 * reload.c (push_reload): Do not call remove_address_replacements
16977 when presented with identical optional reloads.
16979 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
16981 * alpha.h (MASK_FIX, TARGET_FIX): New.
16982 (MASK_*): Reorganize constants.
16983 (CPP_AM_FIX_SPEC): New.
16984 (TARGET_SWITCHES): Add FIX.
16985 (EXTRA_SPECS): Likewise.
16986 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
16987 (SECONDARY_MEMORY_NEEDED): Likewise.
16988 (REGISTER_MOVE_COST): Likewise.
16989 * alpha.c (override_options): Add FIX support. Always use
16990 ALPHA_TP_PROG for ev6.
16991 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
16992 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
16993 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
16995 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
16997 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
16998 something is a candidate for optimize_bit_field_compare.
17000 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
17002 * gcc.texi (Passes): Document branch-shortening.
17003 * invoke.texi (Debugging Options): Document the fact that `-dp'
17004 outputs length information for instructions.
17006 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
17008 * flow.c: Revert previous delta.
17010 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
17012 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
17013 FRAME_POINTER_REGNUM.
17014 (mark_set_1): Ditto.
17015 (mark_used_regs): Ditto.
17017 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
17019 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
17020 (GOT_PCREL): New macro. Define to 1 if not already defined.
17021 * arm/elf.h (GOT_PCREL): Define to 0.
17022 * arm.c (arm_finalize_pic): Take into account the setting of
17025 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
17027 * output.h (STRIP_NAME_ENCODING): Provide default definition.
17028 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
17030 * flow.c (mark_set_1): Do not record BLKmode stores as dead
17031 store elimination candidates.
17033 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
17035 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
17038 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
17040 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
17041 Add use of x-aix41-gld.
17043 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
17045 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
17046 (ASM_OUTPUT_DESTRUCTOR): Define.
17048 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
17050 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
17051 last CODE_LABEL in a loop if we have previously passed a jump
17052 to the top of the loop.
17054 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
17056 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
17057 applying Philip's patch.
17059 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
17061 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
17064 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
17066 * loop.c (strength_reduce): Grow reg_single_usage as needed.
17068 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
17070 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
17071 Also remove a useless comment.
17073 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17075 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
17077 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
17079 * collect2.c (main): Only generate import or export file and add
17080 to link arguments if non-empty. Use xmalloc not alloca.
17081 (write_{export,import}_file): Delete.
17082 (write_aix_file): New function.
17083 (locatelib): Use xmalloc not malloc.
17084 (GCC_OK_SYMBOL): Do not check type if aix64.
17086 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
17088 Based on patch by Scott Bambrough and Pat Beirne:
17089 * config/arm/arm.c (making_const_table): New variable.
17090 * config/arm/arm.h (making_const_table): Declare.
17091 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
17093 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
17094 Keep track of when we are building the constant table.
17096 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
17098 * config/arm/arm.c (arm_override_options): Fix erroneous warning
17101 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
17103 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
17106 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
17108 * tm.texi (FUNCTION_ARG): Correct description of a stack element
17111 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
17113 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
17115 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17117 * rs6000.c (output_mi_thunk): Enable full support again.
17119 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17121 * sh.h (BRANCH_COST): Define.
17123 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
17125 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
17127 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
17129 * function.c (assign_stack_local): Align stack slot propertly.
17130 (assign_outer_stack_local): Likewise.
17132 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
17134 * expr.h (lang_expand_constant): Declare.
17135 * toplev.c (lang_expand_constant): Define it.
17136 * varasm.c (output_constant): Use it.
17138 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17140 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
17141 Change function definitions to K&R style.
17143 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17145 * fixinc/fixincl.c: We must not ignore SIGCLD now.
17147 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
17149 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
17150 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
17151 (several places): omit static initialization
17152 (process): use single fd, since only the read fd is used
17153 * fixinc/gnu-regex.c: define 'const' away, if not supported
17154 * fixinc/procopen.c(several places): omit static initialization
17155 * fixinc/server.c: define 'volitile' away, if not supported
17157 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17159 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
17160 asm_fprintf and %L to generate the label name.
17161 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
17162 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
17164 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
17166 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
17167 insn for a conditional jump can not be found.
17169 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
17171 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
17172 on variables in specific sections other than .sbss and .sdata.
17174 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
17176 * stmt.c (expand_return): Call start_cleanup_deferral and
17177 end_cleanup_deferral around conditional code.
17179 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17181 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
17182 filename lists. Utilizes new "krstr" AutoGen function.
17183 * fixinc/fixincl.x: Rebuilt.
17185 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
17187 * i386.c (output_float_compare): Avoid GNU-C extensions.
17189 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
17191 * version.c: Bump to distinguish mainline tree from the
17194 See ChangeLog.1 for earlier changes.