1 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * alpha-protos.h: PROTO -> PARAMS.
7 * i386-protos.h: Likewise.
9 * m32r-protos.h: Likewise.
13 * gmon-sol2.c: Likewise.
16 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18 * ns32k-protos.h: New file.
20 * ns32k.c: Fix compile time warnings.
22 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
27 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
29 * vax-protos.h: New file.
31 * vax.c: Fix compile time warnings.
33 * vax.h: Move prototypes to vax-protos.h. Fix compile time
40 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
42 * romp-protos.h: New file.
44 * romp.c: Fix compile time warnings.
46 * romp.h: Move prototypes to romp-protos.h. Fix compile time
51 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
53 * we32k-protos.h: New file.
55 * we32k.c: Fix compile time warnings.
57 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
60 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
62 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
64 * except.c (eh_regs): Likewise.
66 * final.c (output_operand): Likewise.
68 * fold-const.c (target_isinf, target_isnan): Likewise.
70 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
72 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
73 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
75 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
78 (strsethi, strsetqi): New expanders.
79 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
80 (cmpstrsi): Emit compare insn before cmpstrsi_1
81 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
82 (strlensi_1): Likewise.
83 (cmpstrsi_1): Likewise; do not output compare.
84 (strlen expander): Do not unroll when optimizing for size.
85 (*subsi3_carry): Rename to subsi3_carry
86 (addqi3_cc): New pattern.
87 * i386.h (processor_costs): Add move_ratio field.
88 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
89 * i386.c (*_cost): Set move_ratio.
90 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
91 (x86_expand_strlensi_1): Rewrite the main loop.
93 2000-01-17 Richard Henderson <rth@cygnus.com>
95 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
96 * cse.c (find_comparison_args, fold_rtx): Likewise.
97 * integrate.c (subst_constants): Likewise.
98 * loop.c (get_condition): Likewise.
100 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
102 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
104 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
106 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
107 (RESTORE_WARN_FLAGS): Unpack it.
108 Change semantic type of extension to ttype.
109 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
110 * c-parse.y, c-parse.c, objc/objc-parse.y,
111 objc/objc-parse.c: Regenerate.
113 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
115 * fixinc/fixlib.c: Add copyright notice.
116 (compile_re): New function.
117 * fixinc/fixlib.h: Prototype compile_re.
119 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
120 Use compile_re to compile regular expressions.
122 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
123 where the pattern matched.
125 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
127 (ultrix_ansi_compat): Likewise.
128 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
130 (interactv_add2, interactv_add3): Delete.
131 (x11_sprintf): Don't use filename glob.
132 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
135 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
137 * print-rtl.c: PROTO -> PARAMS.
139 * reg-stack.c: Likewise.
140 * resource.c: Likewise.
141 * sdbout.h: Likewise.
142 * simplify-rtx.c: Likewise.
143 * stor-layout.c: Likewise.
144 * stupid.c: Likewise.
145 * xcoffout.c: Likewise.
146 * xcoffout.h: Likewise.
148 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
150 * toplev.c: PROTO -> PARAMS.
151 * toplev.h: Likewise.
154 * unroll.c: Likewise.
155 * varasm.c: Likewise.
156 * varray.c: Likewise.
157 * varray.h: Likewise.
159 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
161 * reload.c: PROTO -> PARAMS.
162 * reload.h: Likewise.
163 * reload1.c: Likewise.
165 * resource.h: Likewise.
168 * rtlanal.c: Likewise.
169 * sbitmap.h: Likewise.
170 * sdbout.c: Likewise.
173 * system.h: Likewise.
175 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
177 * machmode.h: PROTO -> PARAMS.
178 * mbchar.h: Likewise.
179 * mips-tdump.c: Likewise.
180 * mips-tfile.c: Likewise.
181 * optabs.c: Likewise.
182 * output.h: Likewise.
183 * prefix.c: Likewise.
184 * profile.c: Likewise.
185 * protoize.c: Likewise.
189 * regclass.c: Likewise.
190 * regmove.c: Likewise.
193 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
195 * ggc-common.c: PROTO -> PARAMS.
196 * ggc-page.c: Likewise.
197 * ggc-simple.c: Likewise.
199 * global.c: Likewise.
201 * gthr-win32.h: Likewise.
202 * haifa-sched.c: Likewise.
203 * halfpic.h: Likewise.
204 * integrate.c: Likewise.
205 * integrate.h: Likewise.
208 * local-alloc.c: Likewise.
212 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
214 * genattr.c: PROTO -> PARAMS.
215 * genattrtab.c: Likewise.
216 * gencheck.c: Likewise.
217 * gencodes.c: Likewise.
218 * genconfig.c: Likewise.
219 * genemit.c: Likewise.
220 * genextract.c: Likewise.
221 * genflags.c: Likewise.
222 * gengenrtl.c: Likewise.
223 * genopinit.c: Likewise.
224 * genoutput.c: Likewise.
225 * genpeep.c: Likewise.
226 * genrecog.c: Likewise.
228 2000-01-16 Mark Mitchell <mark@codesourcery.com>
230 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
232 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
234 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
235 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
236 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
237 * configure, config.in: Rebuilt.
239 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
241 * config/i386/i386.md: Add peephole to merge successive stack
244 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
246 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
247 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
248 when walking backwards to find all the parameter loads when
249 the basic block ends in a call.
251 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
253 * loop.c (this_loop_info): Delete.
254 (uid_loop): Add in place of uid_loop_num. All uses updated.
255 (loop_number_exit_count): Delete and replace with entry in loop
256 structure. All uses updated.
257 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
258 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
259 (loop_outer_loop): Likewise.
260 (loop_invalid, loop_number_exit_labels): Likewise.
261 (loop_used_count_register): Delete and replace with entry in
263 (find_and_verify_loops): Add loops argument.
264 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
265 loop_end, etc. arguments with loop structure pointer. All callers
267 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
268 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
269 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
270 (insert_bct): Likewise.
271 (basic_induction_var): New argument level.
272 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
273 vtop, and cont. Add used_count_register.
274 (uid_loop): Delete declaration.
275 (loop_number_exit_count): Likewise.
276 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
277 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
278 (loop_outer_loop, loop_used_count_register): Likewise.
279 (loop_invalid, loop_number_exit_labels): Likewise.
280 (unroll_loop): Replace loop_start and loop_end arguments
281 with loop structure pointer.
282 (loop_precondition_p, loop_iterations): Likewise.
283 Include basic-block.h.
284 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
285 with loop structure pointer.
286 (loop_precondition_p, loop_iterations): Likewise.
287 * basic-block.h (struct loop): New entries vtop, cont,
288 cont_dominator, start, end, top, scan_start, exit_labels,
290 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
292 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
294 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
296 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
298 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
300 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
302 * pdp11-protos.h: New file.
304 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
307 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
310 * pdp11.md: Likewise.
314 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
316 * mn10300-protos.h: New file.
318 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
321 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
324 * mn10300.md: Likewise.
326 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
328 * mn10200-protos.h: New file.
330 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
333 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
336 * mn10200.md: Likewise.
338 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
340 * h8300-protos.h: New file.
342 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
345 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
348 * h8300.md: Likewise.
350 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
352 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
353 (asm_emit_uninitialised): Likewise.
355 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
357 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
358 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
360 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
362 * config/mips/mips.c (override_options): Don't turn on extra
363 alignment for mips16.
365 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
367 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
368 eabi, and make sure queued POSTINCREMENT rtl is emitted at
371 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
373 * builtins.c (PAD_VARARGS_DOWN): Define.
374 (std_expand_builtin_va_arg): Use the above macro.
375 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
376 * tm.texi (Register Arguments): Document the above macro.
378 2000-01-14 Nick Clifton <nickc@cygnus.com>
380 * emit-rtl.c (emit_insn): If checking is enabled, make sure
381 that this function has not been used to emit a jump
384 * jump.c (return_jump_1): Cope with being passed a null rtx.
386 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
388 * eh-common.h: PROTO -> PARAMS.
389 * emit-rtl.c: Likewise.
390 * errors.c: Likewise.
391 * errors.h: Likewise.
392 * except.c: Likewise.
393 * except.h: Likewise.
394 * explow.c: Likewise.
395 * expmed.c: Likewise.
399 * fix-header.c: Likewise.
401 * fold-const.c: Likewise.
402 * function.c: Likewise.
403 * function.h: Likewise.
405 * gcov-io.h: Likewise.
409 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
411 * sh-protos.h: New file.
413 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
414 Add static prototypes. Fix compile time warnings.
416 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
420 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
422 * arc-protos.h: New file.
424 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
427 * arc.h: Move prototypes to arc-protos.h. Fix compile time
432 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
434 * dsp16xx-protos.h: New file.
436 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
439 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
442 * dsp16xx.md: Likewise.
444 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
446 * convex-protos.h: New file.
448 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
451 * convex.h: Move prototypes to convex-protos.h. Fix compile time
454 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
456 * elxsi-protos.h: New file.
458 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
461 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
464 * elxsi.md: Likewise.
466 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
468 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
469 case for moving from HI/LO/HI_LO_REG. This makes the behavior
470 match the comment for MIPS16.
472 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
474 * flow.c (split_edge): Do not call set_block_for_insn if we
475 do not have a basic_block_for_insn structure.
477 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
478 and destination functions are 32bit aligned within the trampoline.
479 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
480 (TRAMPOLINE_ALIGNMENT): Define.
482 * cse.c (cse_insn): When changing (set (pc) (reg)) to
483 (set (pc) (label_ref)), verify the change creates a valid insn.
485 * fr30.c (call_operand): Tighten and rework to match rules for
486 call RTL expressions.
487 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
488 * fr30.md (call patterns): Improve constraints.
490 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
492 * fr30.c (fr30_expand_epilogue): Revert last change.
493 Use emit_jump_insn for the return insn.
495 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
496 Stan Cox <scox@cygnus.com>
498 * predict.c: New file. Preliminary infrastructure work for static
499 branch prediction and basic block reordering.
500 * basic-block.h: Add prototype for estimate_probability.
501 * Makefile.in: Add rules for predict.o.
503 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
505 * fixincludes (va_list): Use __not_va_list__ for the dummy.
506 * fixinc/*: Likewise.
508 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
510 * cccp.c: PROTO -> PARAMS.
512 * collect2.c: Likewise.
513 * combine.c: Likewise.
514 * convert.h: Likewise.
516 * dbxout.c: Likewise.
517 * dbxout.h: Likewise.
518 * diagnostic.c: Likewise.
519 * doprint.c: Likewise.
520 * dwarf2out.c: Likewise.
521 * dwarf2out.h: Likewise.
522 * dwarfout.c: Likewise.
523 * dwarfout.h: Likewise.
524 * dyn-string.h: Likewise.
526 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
528 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
529 macro conditionals guarding use.
531 * dwarf2out.c: Include "tm_p.h".
533 * function.c (locate_and_pad_parm): Mark parameter with
535 (expand_function_end): Likewise for variable `context'.
537 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
539 2000-01-13 Nick Clifton <nickc@cygnus.com>
541 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
542 register to prevent compile time warnings.
544 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
546 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
547 to avoid -Wtraditional warning.
549 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
551 * 1750a-protos.h: New file.
553 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
556 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
559 * 1750a.md: Likewise.
561 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
563 * a29k-protos.h: New file.
565 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
568 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
571 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
573 * clipper-protos.h: New file.
575 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
578 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
581 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
583 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
585 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
587 * configure.in (--enable-new-gxx-abi): New option.
588 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
589 * Makefile.in (GXX_ABI_FLAG): New variable.
590 * configure: Regenerate.
592 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
594 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
595 * tm.texi (FORCE_STRUCT_BLK): Document.
596 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
598 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
600 * config/ns32k/ns32k.md: Revert Jan 9 change.
602 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
603 to a mode-test, if the predicate is address_operand.
605 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
607 * combine.c (if_then_else_cond): Be careful about what kinds
608 of RTL expressions are passed to operand_subword.
610 * flow.c (split_edge): If we have to insert a new jump, make
611 sure to associate it with a basic block.
613 * flow.c (commit_one_edge_insertion): A block with one successor
614 can end in a JUMP_INSN that is not a simplejump.
616 2000-01-12 Robert Lipe <robertl@sco.com>
618 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
619 (BUILD_VA_LIST_TYPE): Define.
620 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
623 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
625 * cccp.c (do_pragma): Add cast to (char *).
627 2000-01-12 Richard Henderson <rth@cygnus.com>
628 Fred Fish <fnf@be.com>
629 Jason Merrill <jason@cygnus.com>
631 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
632 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
633 * i386/beos-elf.h, i386/beos-pe.h: New files.
635 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
636 * cross-make (SYSTEM_HEADER_DIR): Define using
637 CROSS_SYSTEM_HEADER_DIR.
639 * gcc.c (LIBRARY_PATH_ENV): Provide default.
640 (process_command): Use it.
641 (main): Likewise. Kill trailing = from env vars.
642 (build_search_list): Put it back.
643 * collect2.c (main): Use LIBRARY_PATH_ENV.
645 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
646 * toplev.c: Use NEED_DECLARATION_ENVIRON.
648 * tm.texi (Frame Layout): Document SMALL_STACK.
649 * c-common.c (c_common_nodes_and_builtins): Check it.
651 * system.h: Undef alloca after including glibc's <stdlib.h>,
652 if USE_C_ALLOCA is defined.
654 * gcc.c (set_input): New fn.
655 (main): After all input files are compiled, reset the input file
658 * aclocal.m4 (rindex, index): If already defined, don't attempt
661 * ginclude/varargs.h: (__va_list__): Define ifndef.
662 * ginclude/stdarg.h: Likewise.
664 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
665 instead of unsigned char.
667 * hash.h (true, false, boolean): Undef before enum.
669 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
670 proper type of "HOST_WIDE_INT *", rather than their natural type of
671 "unsigned HOST_WIDE_INT *".
673 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
675 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
677 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
679 * regclass.c (choose_hard_reg_mode): Likewise.
681 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
683 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
685 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
687 * c-common.c: PROTO -> PARAMS.
688 * c-common.h: Likewise.
689 * c-decl.c: Likewise.
690 * c-iterate.c: Likewise.
691 * c-lang.c: Likewise.
694 * c-parse.in: Likewise.
695 * c-pragma.c: Likewise.
696 * c-pragma.h: Likewise.
697 * c-tree.h: Likewise.
698 * c-typeck.c: Likewise.
699 * objc/objc-act.c: Likewise.
700 * objc/objc-act.h: Likewise.
702 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
704 * m88k-protos.h: New file.
706 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
709 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
713 * tekXD88.h: Likewise.
715 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
717 * m68k-protos.h: New file.
719 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
722 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
724 * mot3300.h: Likewise.
726 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
728 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
730 (extract_bitlist): Declare bitlen.
732 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
734 * cccp.c: Accept and ignore -lang-fortran.
736 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
737 qualifiers don't match at any level of pointerness.
739 2000-01-12 Robert Lipe <robertl@sco.com>
741 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
743 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
745 * reload1.c (reload_reg_unavailable): New static variable.
746 (reload_reg_free_p): Test it.
747 (reload_reg_free_for_value_p): Test it instead of
749 (choose_reload_regs_init): Compute it.
751 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
753 * reorg.c (fill_slots_from_thread): Check modified_in_p
756 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
758 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
759 these nodes even if INTERNALS is not set.
761 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
763 * gcse.c (delete_null_pointer_checks_1): Cope when
764 get_condition cannot determine the condition.
766 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
768 * toplev.h (set_message_length): Declare.
770 * diagnostic.c (obstack_chunk_alloc): Define macro.
771 (obstack_chunk_free): Likewise.
772 (struct output_buffer): New data structure.
774 (output_maximum_width): New variable.
775 (doing_line_wrapping, set_message_length, init_output_buffer,
776 get_output_prefix, output_space_left, emit_output_prefix,
777 output_newline, output_append, output_puts, dump_output,
778 vbuild_message_string, build_message_string, build_location_prefix,
779 voutput_notice, output_printf, line_wrapper_printf,
780 vline_wrapper_message_with_location): New functions. Implement
781 automatic line wrapping.
782 (v_message_with_decl): Make it handle automatic line wrapping.
783 (v_error_with_file_and_line): Likewise.
784 (v_warning_with_file_and_line): Likewise.
785 (announce_function): Likewise.
786 (default_print_error_function): Likewise.
788 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
790 * cpplib.h (struct cpp_options): Change lang_asm to char.
792 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
793 done in cpp_handle_option now.
794 (initialize_builtins): Take out special case code used only by
796 (cpp_handle_option): Turn off trigraphs and trigraph warnings
797 if -traditional. Recognize -lang-fortran and set
798 lang_fortran, also turn off cplusplus_comments.
799 (print_help): Document -lang-fortran.
800 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
801 lang_asm. Ignore all directives other than `# 123 "file"' if
803 (cpp_get_token): If -traditional, don't recognize directives
804 unless the # is in column 1.
805 (parse_string): If lang_fortran or lang_asm, silently
806 terminate strings ('' or "") at end of line.
807 Remove unnecessary braces.
809 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
810 Richard Henderson <rth@cygnus.com>
812 * resource.c (mark_referenced_resources): Mark a set strict_low_part
814 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
815 strict_low_part when possible.
817 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
819 * alias.c: PROTO -> PARAMS.
820 * basic-block.h: Likewise.
821 * bitmap.c: Likewise.
822 * bitmap.h: Likewise.
823 * builtins.c: Likewise.
824 * c-aux-info.c: Likewise.
825 * caller-save.c: Likewise.
828 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
830 * Makefile.in (toplev.o): Depend on regs.h.
832 * output.h (tdesc_section): Prototype.
834 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
836 * sdbout.c: Include "tm_p.h".
838 * toplev.c: Include "regs.h".
840 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
842 * unroll.c (unroll_loop): Add EH support.
844 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
846 * pa-protos.h: New file.
848 * pa.c: Include recog.h and tm_p.h.
849 (compute_zdepwi_operands, compute_movstrsi_length,
850 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
851 find_addr_reg, import_milli): Add static prototypes.
852 (pa_cpu_string, pa_arch_string): Constify a char*.
853 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
854 (read_only_operand): Add argument `mode'.
855 (singlemove_string, output_move_double, output_fp_move_double,
856 output_block_move, output_and, output_ior, output_ascii,
857 remove_useless_addtr_insns, milli_names, output_mul_insn,
858 output_div_insn, output_mod_insn, output_arg_descriptor,
859 output_cbranch, output_bb, output_bvb, output_dbra, ,
860 output_millicode_call, output_call, hppa_encode_label,
861 output_parallel_movb, output_parallel_addb): Constify a char*.
862 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
863 (output_parallel_addb): Remove extra arg to `constrain_operands'
865 * pa.h: Move all prototypes to pa-protos.h.
866 (pa_cpu_string, pa_arch_string): Constify a char*.
867 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
869 * pa.md: Call `function_label_operand' with mode argument.
870 Likewise for `read_only_operand'.
871 Fix nesting of parens in call to `symbolic_operand'.
873 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
875 * i860-protos.h: New file.
877 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
880 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
884 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
886 * i386.md (movstrsi expander): Rewrite.
887 (movstrsi_1 insn): Deleted.
888 (strmovhi, strmovqi expander): New expanders.
889 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
890 * i386.c (x86_single_stringop): New global variable.
891 * i386.h (x86_single_stringop): Declare.
892 (TARGET_SINGLE_STRINGOP): New macro.
894 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
896 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
897 integer vararg POSTINCREMENT before the destination of the jump
898 for the hard fp case.
899 (function_arg_pass_by_reference): Pass a copy of CUM to
902 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
903 for CONSTANT_ADDRESS_P above while loop for subreg.
905 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
907 * flow.c (propagate_block): When a prologue/epilogue insn
908 is marked dead, unconditionally clear libcall_is_dead and
909 insn_is_dead, and only dump rtl if warnings aren't being
912 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
914 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
915 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
916 (FIXED_REGISTERS): Set dirflag as fixed.
917 (CALL_USED_REGISTERS): Set dirflag as used.
918 (REG_ALLOC_ORDER): Set dirflag as last one.
919 (DIRFLAG_REG): New macro.
920 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
921 (HI_REGISTER_NAMES): Add dirflag.
922 (DEBUF_PRINT_REG): Handle dirflag.
923 * i386.md (type attribute): New cld and str types.
924 (length_opcode attribute): Set cld and str to 1.
925 (memory attribute): Set str to unknown - it is not clear from the
927 (pent_np function unit): Prefixed string operations takes 12 cycles
928 minimally; cld takes 2 cycles.
929 (ppro_uops attribute): Str is "many" and cld is "few".
930 (ppro_p0 unit): Handle cld here.
931 (k6_alux unit): Handle cld and str types.
932 (k6_load unit): It is ocupied by str opcodes.
933 (k6_store unit): It is ocupied by str opcodes.
934 (athlon_decode): Str is vector decoded.
935 (athlon_ieu): Handle str and cld.
937 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
938 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
939 cmpstrsi_nz_1 insn): Do not output cld instruction
941 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
943 * gcc.texi (G++ and GCC): Add Java and Chill.
944 (Bug Critera): Don't list languages.
946 * gcc.texi (Incompatibilities): No longer claim most C compilers
949 * gcc.texi (G++ and GCC): Update other front-ends list.
951 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
953 * i386.c (ix86_expand_setcc): Fix typo.
954 (ix86_expand_movcc): Similarly.
956 * Band-aid until haifa's bitset implementation is nuked.
957 * haifa-sched.c (extract_bitlst): New parameter for size of the
958 bitset in bits. All callers changed. Avoid looking at undefined
960 (edgeset_bitsize): New variable.
961 (schedule_region): Initialize edgeset_bitsize.
963 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
965 * Makefile.in (optabs.o): Depend on real.h
966 (resource.o): Depend on insn-attr.h
968 * builtins.c (result_vector): Wrap prototype in macro conditions
969 governing definition and use.
971 * c-common.c: Include tm_p.h.
975 * elfos.h: Constify a char*.
977 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
978 (get_attr_length, shorten_branches, profile_after_prologue): Mark
979 parameter with ATTRIBUTE_UNUSED.
981 * fold-const.c (exact_real_inverse): Wrap variable `i' in
984 * haifa-sched.c (schedule_insns): Mark parameter with
987 * optabs.c: Include real.h.
989 * real.h (ereal_atof): Add prototype arguments.
991 * resource.c: Include insn-attr.h.
993 * sdbout.c (sdbout_queue_anonymous_type,
994 sdbout_dequeue_anonymous_types): Wrap in macro
995 SDB_ALLOW_FORWARD_REFERENCES.
996 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
999 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
1001 * stupid.c: Include tm_p.h.
1003 * tree.c (real_value_from_int_cst): Mark parameter with
1006 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1008 * i960-protos.h: New file.
1010 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
1013 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
1015 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1017 * combine.c (expand_field_assignment): Do not discard SUBREGs
1018 while computing nonzero_bits.
1020 2000-01-09 Nick Clifton <nickc@cygnus.com>
1022 * config/arm/arm.c: Fix compile time warnings about signed vs
1024 * config/arm/arm.h: Fix compile time warnings about signed vs
1027 2000-01-09 Philip Blundell <philb@gnu.org>
1029 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
1030 than `ldm' with only one register.
1031 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
1034 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
1037 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
1039 * config/ns32k/ns32k.md (load or push effective address): Operand 1
1042 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1044 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1045 assignment used as truth value.
1047 * function.c (assign_temp): Mark parameter `dont_promote' with
1048 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
1049 PROMOTE_FOR_CALL_ONLY.
1051 * genrecog.c (write_subroutine): Mark variable `operands' with
1054 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
1057 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
1058 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
1060 * toplev.c (note_deferral_of_defined_inline_function): Likewise
1063 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1065 * config/c4x.h: Tidy up comments.
1066 * config/c4x.c: Likewise.
1068 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
1070 * fold-const.c (lshift_double, rshift_double): Handle
1071 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
1073 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1075 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
1076 in prepare_function_start().
1078 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
1080 * config/v850/v850.c (expand_epilogue): Interrupt functions no
1081 longer allocate extra stack for function calls.
1083 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1085 * config/c4x/c4x.md (*subqf3_set): Fix typo.
1087 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1089 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
1091 2000-01-07 David Edelsohn <edelsohn@gnu.org>
1093 * rs6000.c (processor_target_table): Add power3 as alias for 630.
1094 * aix43.h: Revert Aug 2 change.
1095 (HAS_INIT_SECTION): Define, not visible yet.
1096 (LD_INIT_SWITCH): Define, not visible yet.
1097 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
1099 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
1101 * collect2.c (main): Expand ld2 size further.
1102 (export_object_lst): Cast assignment to avoid warning.
1103 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
1104 (scan_prog_file, COFF): Do not collect initialization or
1105 finalization functions generated for entire shared object if
1106 init/fini support present.
1108 2000-01-07 Nick Clifton <nickc@cygnus.com>
1110 * config/elfos.h: Tidy up formatting of marcos. Make sure
1111 that .section directives are always prefixed by a tab.
1113 * config/svr4.h: Add #include "elfos.h" and remove duplicate
1116 2000-01-07 Matt Austern <austern@sgi.com>
1118 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
1121 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
1123 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
1125 (crtbegin.o, s-crtS): Likewise.
1127 2000-01-06 Richard Henderson <rth@cygnus.com>
1129 * alpha.md (adddi_2+1): Limit offset such that it will be
1130 loadable with a single ldah+lda pair.
1131 (adddi_2+2): Explicitly fail split if we can't make it work.
1133 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
1135 * protoize.c: Conditionally include unistd.h.
1136 (IS_SAME_PATH_CHAR): New macro.
1137 (IS_SAME_PATH): New macro.
1138 (CPLUS_FILE_SUFFIX): New macro.
1139 (cplus_suffix): New static variable.
1140 (is_abspath): New static function.
1141 (in_system_include_dir): Handle DOS style pathnames.
1142 (file_could_be_converted): Likewise.
1143 (file_normally_convertible): Likewise.
1144 (directory_specified_p): Likewise.
1145 (file_excluded_p): Likewise.
1146 (abspath): Likewise.
1147 (shortpath): Likewise.
1148 (referenced_file_is_newer): Likewise.
1149 (save_def_or_dec): Likewise.
1150 (do_processing): Likewise.
1152 (edit_file): Likewise. Use rename instead of link.
1153 (rename_c_file): Likewise. Don't rename syscalls file.
1154 (munge_compile_params): Define null device for DOS based systems.
1155 (process_aux_info_file): Use binary mode if appliable.
1156 (edit_file): Likewise.
1157 * invoke.texi (Running Protoize): Document C++ suffixes used.
1159 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
1160 IS_DIR_SEPARATOR macros.
1161 * collect2.c: Likewise.
1162 * cppinit.c: Likewise.
1163 * dwarf2out.c: Likewise.
1166 * prefix.c: Likewise.
1168 * toplev.c: Likewise.
1169 * system.h: And move to here.
1171 * prefix.c (update_path): Fix typo in variable name.
1173 2000-01-06 Richard Henderson <rth@cygnus.com>
1175 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
1176 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
1177 (count_reg_sets_1, count_reg_references): Likewise.
1178 (flow_loops_level_compute): Start counting actual loop depth at 1.
1179 (flow_loops_find): Likewise.
1180 * local-alloc.c (update_equiv_regs): Likewise.
1181 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
1183 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1185 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
1186 FIRST_PSEUDO_REGISTER
1187 * dwarf2out.c: Don't include frame.h
1188 * dwarfout.c: Likewise
1189 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
1192 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
1194 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1197 * i386.c (movsf splitter): Fix typo in my last checkin.
1199 2000-01-05 Nick Clifton <nickc@cygnus.com>
1201 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
1202 own definition of this macro.
1203 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
1204 flag_data_sections or UNIQUE_SECTION_P are true.
1206 * tm.texi (UNIQUE_SECTION): Document that it can be called for
1207 unitialised data decls.
1209 * config/i386/winnt.c (i386_pe_unique_section): Cope with
1210 being called for uninitialised data.
1212 * config/i386/interix.c (i386_pe_unique_section): Cope with
1213 being called for uninitialised data.
1215 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
1216 for uninitialised data.
1218 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
1219 for uninitialised data.
1221 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
1222 for uninitialised data.
1224 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
1225 (UNIQUE_SECTION_P): Always generate a unique section if
1226 flag_data_sections is true.
1227 (UNIQUE_SECTION): Also generate unique sections for
1229 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
1230 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
1233 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1235 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
1238 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1240 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
1241 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
1242 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
1243 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
1244 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
1246 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
1248 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
1250 * c-decl.c (finish_enum): Simplify code to determine minimum and
1251 maximum values of the enum, and calculate the type. Remove check
1252 for FUNCTION_DECLs in the values list, which cannot happen. Replace
1253 the DECL_INITIAL of each enumeration constant with a copy converted
1254 to the enumeration type. When updating variant types, don't bother
1255 updating the type itself.
1257 * c-typeck.c (build_binary_op): Simplify conditional expressions
1258 when weeding out spurious signed-unsigned warnings. Add new
1259 spurious warning category: if the unsigned quantity is an enum
1260 and its maximum value fits in signed_type(result_type). Update
1262 (build_conditional_expr): Warn here if one alternative is signed
1263 and the other is unsigned.
1265 2000-01-05 Nick Clifton <nickc@cygnus.com>
1267 * config/fr30/fr30.h: Remove extraneous comments.
1269 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
1271 * reload1.c (choose_reload_regs): When disabling a reload, also
1272 set reload_spill_index to -1.
1274 2000-01-04 Joel Sherrill (joel@OARcorp.com>
1276 * configure.in (m68*-*-rtemscoff*): New target, formal name for
1278 (m68*-*-rtemself*): New target.
1279 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
1280 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
1281 (sparc*-*-rtemself*): New target.
1282 (sparc*-*-rtems*): Now elf not a.out.
1283 * config/i386/rtems.h: Include config/rtems.h.
1284 * config/i386/rtemself.h: Include config/rtems.h.
1285 * config/i960/rtems.h: Include config/rtems.h.
1286 * config/m68k/rtems.h: Include config/rtems.h.
1287 * config/m68k/rtemself.h: Include config/rtems.h.
1288 * config/mips/rtems64.h: Include config/rtems.h.
1289 * config/pa/rtems.h: Include config/rtems.h.
1290 * config/rs6000/rtems.h: Include config/rtems.h.
1291 * config/sh/rtems.h: Include config/rtems.h.
1292 * config/sh/rtemself.h: Include config/rtems.h.
1293 * config/sparc/rtems.h: Include config/rtems.h.
1294 * config/sparc/rtemself.h: Include config/rtems.h
1296 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
1298 * final.c (shorten_branches): Correctly compute length of
1299 asms without operands.
1301 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
1303 * configure.in: Add pj target.
1304 * configure: Regenerate.
1305 * config/pj: New directory.
1306 * config/pj/lib1funcs.S: New file.
1307 * config/pj/linux.h: New file.
1308 * config/pj/pj.c: New file.
1309 * config/pj/pj.md: New file.
1310 * config/pj/pjl.h: New file.
1311 * config/pj/t-pj: New file.
1312 * config/pj/xm-pj.h: New file
1314 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
1316 * toplev.c (rest_of_compilation): Run shorten-branches before
1319 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1321 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
1322 macros so that they're consistent with their names.
1323 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1324 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1326 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1328 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
1329 modified inadvertently.
1331 2000-01-04 Joel Sherrill <joel@OARcorp.com>
1333 * configure.in (v850*-*-rtems*): New target.
1334 * configure: Regenerate.
1335 * config/v850/rtems.h: New file.
1337 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1339 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
1340 (__gthread_key_create): Likewise.
1341 (__gthread_key_dtor): Likewise.
1342 (__gthread_once): Fix logic.
1343 (__gthread_key_delete): Cast away constness.
1345 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
1346 * invoke.texi: Document.
1347 * i386/mingw32.h (CPP_SPEC): Use.
1348 (LIBGCC_SPEC): Likewise.
1349 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
1351 2000-01-04 David Edelsohn <edelsohn@gnu.org>
1353 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
1354 (HANDLE_PRAGMA_PACK): Undefine.
1355 (SLOW_UNALIGNED_ACCESS): Define.
1357 2000-01-04 David Edelsohn <edelsohn@gnu.org>
1359 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1360 to default definition.
1361 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
1362 (store_fixed_bit_field): Call macro with word_mode and alignment.
1363 (extract_bit_field): Call macro with relevant mode and alignment.
1364 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1365 to default definition.
1366 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
1368 (move_by_pieces_ninsns): Likewise.
1369 (clear_by_pieces): Likewise.
1370 (emit_push_insn): Likewise.
1371 (store_field): Call macro with relevant mode and alignment.
1372 (expand_expr): Likewise.
1373 (expand_expr_unaligned): Likewise.
1375 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
1376 (SLOW_UNALIGNED_ACCESS): Define.
1377 (CASE_VECTOR_MODE): Always use 32-bit offsets.
1378 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
1379 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
1380 (toc_section): Likewise and .toc pseudo-op.
1381 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
1383 (TEXT_SECTION_ASM_OP): Likewise.
1384 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
1387 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
1388 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
1389 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
1390 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
1391 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
1393 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
1395 * regclass.c: Revert my Jan 4 change to loop cost computation.
1397 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1399 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
1402 2000-01-04 Stan Cox <scox@cygnus.com>
1404 * haifa-sched.c (build_control_flow): Change unreachable simple
1405 loop test to check if current block has only one predecessor.
1406 (find_rgns): Initialize degree. Use dest as degree index, not src.
1408 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1410 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
1412 * calls.c (expand_call): Likewise for
1413 `old_stack_arg_under_construction'.
1415 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
1417 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
1420 * gcc.c (execute): Likewise for `ut' and `st'.
1422 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
1424 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
1426 * jump.c (jump_optimize_1): Likewise for `temp2'.
1428 * local-alloc.c (block_alloc): Likewise for `r1'.
1430 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
1432 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
1433 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
1435 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
1438 * reload.c (find_reloads): Likewise for `goal_alternative_number'
1439 and `goal_earlyclobber'.
1441 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
1443 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
1445 * stupid.c (stupid_life_analysis): Likewise for `chain'.
1447 * unroll.c (copy_loop_body): Likewise for `copy'.
1449 * varasm.c (output_constructor): Likewise for `byte'.
1451 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1453 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
1454 all FP constants for constant->reg moves.
1455 (ix86_split_to_parts): Try to convert memory address into immediate
1456 when available in the constant pool.
1457 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
1459 (LEGITIMATE_CONSTANT_P): Return 1.
1460 * i386.md (pushsf): New splitter to convert constant pool memory
1461 reference to immediate.
1462 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
1465 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
1467 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
1468 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
1469 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
1470 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
1471 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
1473 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
1475 * ginclude/stdbool.h: Support compilation as C++.
1477 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1479 * fold-const.c (make_range): Don't try to reverse an unbounded range.
1481 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
1483 * regclass.c (regclass): Properly compute loop_cost. Adjust
1486 * regclass.c: Fix minor whitespace problems.
1488 2000-01-03 Anthony Green <green@cygnus.com>
1490 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
1491 Restore the pic register if required.
1493 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1495 * c-common.c (format_char_info): Update comment.
1496 (check_format_info): Recognize 'z' modifier in the same way 'Z'
1497 was recognized. Emit warning for formats new in ISO C99 only
1498 if flag_isoc9x is not set.
1500 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
1502 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
1504 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1506 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
1507 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
1508 (make_compound_operation): Choose cheaper alternative between
1509 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
1511 * regclass.c (op_costs): Remove global variable.
1512 (record_reg_classes): New parameter "op_costs" and "reg_pref".
1513 (record_operand_costs): Break out from ...
1514 (scan_one_insn): ... here.
1515 (dump_regclass): Make dumps nicer.
1516 (regclass): Dump preferrences choosed and changes done during passes.
1518 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1520 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
1522 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1524 * config/sparc/sparc.c (gen_df_reg): New function.
1525 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
1526 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
1527 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
1528 movtf_cc_reg_sp64+1): Use it.
1530 2000-01-02 Mark Mitchell <mark@codesourcery.com>
1532 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
1535 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
1537 * config/i386/i386.c (ix86_expand_unary_operator): Function
1538 definition made void.
1539 (ix86_expand_binary_operator): Update outdated preceding comment.
1540 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
1543 * config/i386/i386.c (override_options): Fix option-name typo.
1545 2000-01-02 Mark Mitchell <mark@codesourcery.com>
1547 * system.h (CEIL): Define.
1548 * builtins.c (CEIL): Remove.
1549 * expmed.c (CEIL): Likewise.
1550 * expr.c (CEIL): Likewise.
1551 * stor-layout.c (CEIL): Likewise.
1553 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1555 * expr.c (store_constructor_field): Fix typo introduced with last
1558 2000-01-01 Mark Mitchell <mark@codesourcery.com>
1560 * tree.h (BINFO_N_BASETYPES): New macro.
1562 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
1564 * expmed.c (emit_store_flag): Prevent losing a pending stack
1565 adjust the same way we prevent losing queued increments.
1567 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1569 * function.c (update_temp_slot_address): Handle case where sum of
1570 temporary address plus offset in register is a valid address.
1572 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1574 * genrecog.c (change_state) Corrected typo.
1576 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1578 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
1579 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
1580 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
1582 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
1584 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
1585 case, expand GT comparisons correctly. Fix a comment before this
1588 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1590 * dwarfout.c: Include "frame.h"
1591 * dwarf2out.c: Likewise.
1592 * Makefile.in (dwarfout.o): Depend on frame.h
1593 (dwarf2out.o): Likewise.
1595 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
1597 Restore i386 binary compatibility in Dwarf EH info.
1598 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
1599 value of FIRST_PSEUDO_REGISTER.
1600 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
1601 (struct frame_state): Use DWARF_FRAME_REGISTERS.
1602 * dwarfout.c (output_reg_number): Ditto.
1603 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
1604 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
1606 1999-12-29 Bruce Korb <autogen@linuxbox.com>
1608 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
1609 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
1610 (<hack>_RE_CT): not needed
1611 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
1612 rewritten to scan the file text once only
1613 "template<..." test added
1614 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
1615 (is_cxx_header): declaration added
1616 * fixinc/fixtests.c(is_cxx_header): removed
1617 (apply_fix_p_t): removed
1618 (double_slash_test): is_cxx_header is only called once now
1619 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
1620 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
1621 within the templates.
1622 The borken spelling of "broken" was fixed.
1623 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
1624 The default level depends on FIXINC_DEBUG.
1626 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1628 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
1629 Otherwise provide a declaration for atexit.
1630 (init_dummy): Make sure dummy call to atexit is nevertheless
1631 called with correct number of args.
1633 * frame.c: Update comments referring to other files.
1635 * libgcc2.c: Likewise.
1637 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1639 * cse.c (free_element, get_element): Remove unused prototypes.
1641 * fold-const.c (extract_muldiv): Initialize variables `op0' and
1644 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
1647 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
1649 * configure.in,configure: case arm for mn10200-*-* now sets
1650 float_format=i32 so that float.h will correctly claim "double"
1651 to be 32 bits. Ran autoconf to generate configure from .in file.
1653 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
1655 * pa.md (conditional zero): If op1 is a register, force it into
1656 the same register as op0.
1658 1999-12-28 Mark Mitchell <mark@codesourcery.com>
1660 * tree.h (BINFO_BASETYPES): Improve documentation.
1662 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1664 * configure.in (--enable-checking): Use a more portable `for'
1667 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1669 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
1670 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
1672 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
1675 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
1676 Delete descriptions.
1678 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
1679 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
1680 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
1681 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
1682 xm-svr4.h: Remove all instances of sys_siglist handling.
1684 1999-12-27 Jakub Jelinek <jakub@redhat.com>
1686 * config/sparc/sparc.md (cmp_zero_qi,
1687 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
1688 cmp_zero_extendqidi2_andcc_set): New patterns.
1690 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
1692 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
1693 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
1694 (fpgnulib.c, xfgnulib.c): Add rules.
1695 * m68k/t-mot3300-gas: Likewise.
1697 1999-12-27 Ian Lance Taylor <ian@zembu.com>
1699 * configure.in: Avoid [[ by using test and changequote. Add
1700 changequote required by 1999-12-14 change.
1701 * configure: Rebuild.
1703 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
1705 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
1707 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
1709 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
1710 * flow.c (find_use_as_address): Likewise.
1711 * function.c (fixup_var_refs_1): Likewise.
1712 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
1713 * jump.c (invert_exp, redirect_exp): Likewise.
1714 * loop.c (replace_call_address): Likewise.
1715 (count_nonfixed_reads): Likewise.
1716 * rtlanal.c (modified_between_p): Likewise.
1717 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
1718 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
1719 * unroll.c (remap_split_bivs): Likewise.
1721 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1723 * diagnostic.c (v_message_with_decl): Use .* format specifier
1724 instead of building the format specifier width manually.
1726 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
1727 determining whether to provide a prototype. Remove the
1728 sys_siglist clause in the conditional.
1730 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1732 * fold-const.c (operand_equal_p): Use memcmp to compare string
1734 Suggested by D. J. Bernstein
1736 1999-12-17 Jakub Jelinek <jakub@redhat.com>
1738 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
1739 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
1741 * config/mips/mips.h (TARGET_64BIT): Likewise.
1742 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
1743 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
1744 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
1745 dsps. Give routines proper names if SI/DI modes are not used.
1746 * longlong.h: Use DWunion instead of DIunion.
1748 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
1750 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
1751 GC_CHECKING, GC_ALWAYS_COLLECT.
1752 * configure.in: Allow --enable-checking with an argument
1753 listing check modes to enable.
1754 * config.in, configure: Rebuilt.
1755 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
1756 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
1757 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
1758 ENABLE_GC_ALWAYS_COLLECT.
1759 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
1761 * tree.h, tree.c: Change ENABLE_CHECKING to
1762 ENABLE_TREE_CHECKING throughout.
1764 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1766 * fold-const.c (fold_truthop): Properly check for FP RHS.
1768 1999-12-24 Mark Mitchell <mark@codesourcery.com>
1770 * toplev.h (note_deferall_of_defined_inline_function): Declare.
1771 * toplev.c (note_deferral_of_defined_inline_function): New
1772 function, split out from ...
1773 (rest_of_compilation): ... here. Use it.
1775 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1777 * expr.c (store_constructor): Don't call clear_storage if size is
1780 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1782 * Makefile.in (toplev.o): Depend on loop.h.
1784 * dwarfout.c: Include tm_p.h.
1786 * emit-rtl.c (restore_emit_status): Mark parameter with
1789 * final.c (final_scan_insn): Likewise.
1791 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
1792 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
1793 flow_depth_first_order_compute, flow_loop_pre_header_find,
1794 flow_loop_tree_node_add, flow_loops_tree_build,
1795 flow_loop_level_compute, flow_loops_level_compute,
1796 flow_loop_outside_edge_p): Add prototypes.
1797 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
1799 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
1800 Mark with ATTRIBUTE_NORETURN.
1802 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
1804 * local-alloc.c (no_conflict_p): Likewise.
1806 * loop.c (insert_bct): Hide definitions of variables with hidden
1808 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
1810 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
1811 with ATTRIBUTE_UNUSED.
1812 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
1813 (reg_scan): Likewise.
1815 * reload.c (find_reloads): Remove unused variables `changed'.
1817 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
1819 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
1820 Remove unused variable `insn'.
1822 * toplev.c: Include loop.h.
1823 (report_file_and_line): Remove unnecessary prototype.
1825 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
1827 * unroll.c (biv_total_increment): Likewise.
1829 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1831 * reload1.c (emit_input_reload_insns): Restore old behaviour
1832 wrt. 'special' reloads.
1834 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
1836 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
1837 hash.h. (cse.c): Don't depend on hashtab.h.
1839 * cse.c: Don't include hashtab.h.
1840 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
1842 * ggc-simple.c: Don't include hash.h.
1844 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
1846 * dwarf2out.c (add_abstract_origin_attribute): Call
1847 gen_abstract_function on our function context.
1849 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
1851 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
1853 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1855 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
1858 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1860 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
1861 constraints to "a!r".
1863 1999-12-21 Mark Mitchell <mark@codesourcery.com>
1865 * Makefile.in (calls.o): Depend on function.h.
1866 (alias.o): Likewise.
1868 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
1870 * reload1.c (emit_reload_insns): Break out code and variables into...
1871 (input_reload_insns, other_input_address_reload_insns,
1872 other_input_reload_insns, input_address_reload_insns,
1873 inpaddr_address_reload_insns, output_reload_insns,
1874 output_address_reload_insns, outaddr_address_reload_insns,
1875 operand_reload_insns, other_operand_reload_insns,
1876 other_output_reload_insns): ... new static variables, and...
1877 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
1878 do_output_reload): ... new functions.
1880 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1882 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
1884 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1886 * md.texi: Add c4x constraints documentation.
1888 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1890 * config/i386/dgux.c (struct option): Rename to
1891 lang_independent_option.
1892 (struct m_options): Add description field.
1893 (output_options): Rename option type, add sep declaration, output
1894 ix86_cpu_string and ix86_arch_string only if set.
1895 (output_file_start): Rename option type.
1897 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
1899 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
1901 (libgcc2.a): Similarly.
1903 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
1905 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
1906 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
1907 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
1909 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
1911 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
1912 Remove redundant initialization of "frexpon" and "expon".
1914 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1916 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
1918 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
1919 (store_constructor_field, expand_expr): Pass new arg.
1921 1999-12-20 Mark Mitchell <mark@codesourcery.com>
1923 * Makefile.in (explow.o): Depend on function.h.
1925 * stor-layout.c (set_sizetype): Fix typo.
1927 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
1929 * function.c (cfun): Renamed from current_function. All users
1931 * function.h (cfun): Rename declaration as well.
1933 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
1934 to be of type regset_head, not regset. All users changed by adding
1936 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
1938 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1940 * config/c4x/rtems.h: New file.
1942 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
1944 * reload1.c (spill_failure): Take class of failed reload as argument
1945 and print it. Caller changed.
1947 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1949 * rs6000.h (SUBTARGET_DEFAULT): New macro.
1950 (TARGET_SWITCHES): Allow subtargets to default switches.
1951 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
1953 1999-12-18 Mark Mitchell <mark@codesourcery.com>
1955 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
1958 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
1960 * cccp.c (main): Define __STDC_VERSION__ as necessary.
1961 * cppinit.c (cpp_handle_option): Likewise.
1963 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
1964 determine when to define.
1966 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
1968 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
1969 cmove with mismatched test and data modes.
1971 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
1973 * c-typeck.c (c_expand_start_case): Don't warn for long switch
1976 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1978 * alias.c: Minor reformatting.
1981 * stor-layout.c: Likewise.
1982 * fold-const.c: Likewise.
1983 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
1984 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
1986 (size_int_wide): Cache nodes even if garbage collecting.
1987 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
1988 of SAVE_EXPR has no side effects.
1989 * cse.c: Move a comment.
1990 * tree.c: Minor reformatting.
1991 (int_size_in_bytes): Return -1 if constant overflows.
1993 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1995 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
1997 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
1999 * objc/objc-parse.c: Regenerate. This file must be rebuilt
2000 after any change to c-parse.in, even if objc-parse.y didn't
2003 1999-12-18 David S. Miller <davem@redhat.com>
2005 * toplev.c (rest_of_compilation): Restore BLOCK tree
2006 reconstruction and branch shortening changes lost in
2007 December 18th change.
2009 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
2011 * config/arm/linux-elf.h: Change all instances of
2012 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
2013 * config/arm/uclinux-elf.h: Likewise.
2015 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
2017 * toplev.c (notice, vmessage, v_message_with_file_and_line,
2018 v_message_with_decl, file_and_line_for_asm,
2019 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
2020 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
2021 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
2022 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
2023 pfatal_with_name, fatal_io_error, need_error_newline,
2024 last_error_function, last_error_tick, announce_function,
2025 default_print_error_function, print_error_function,
2026 report_error_function, fnotice, error_with_file_and_line,
2027 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
2028 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
2029 warning_with_decl, warning_for_asm, warning, pedwarn,
2030 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
2032 (compile_file): Use fnotice instead of notice. Adjust call.
2034 * diagnostic.c: New file.
2036 * Makefile.in (OBJS): Include diagnostic.o
2037 (diagnostic.o): Define dependence.
2039 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2041 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
2044 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2046 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
2048 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2050 * fixtests.c (is_cxx_header): New fn, split out of
2052 (else_endif_label): Allow "#endif // comment" in C++ headers,
2053 as determined by is_cxx_header.
2054 * fixfixes.c (else_endif_label_fix): Update comment.
2055 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
2057 * genfixes: Correct double thinko in commandline parsing.
2058 * hackshell.tpl: Generate correct sh syntax for bypass
2061 * inclhack.def (all): Whenever an inserted preprocessor
2062 conditional is split over multiple lines, use double
2063 backslashes in this file so the fixed header will be readable.
2065 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
2066 and add bypass entry for correct version of this header.
2067 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
2068 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
2070 (hpux8_bogus_inlines): New fix, split from...
2071 (ultrix_atof_param) ... here.
2072 (math_expression): Add bypass entry keyed to glibc comment
2073 indicating the problem has been dealt with; disable
2074 unnecessary sed operations; update commentary.
2075 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
2076 add select and bypass entries, simplify shell operation.
2077 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
2079 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
2080 ultrix_atof_param): Add select entry.
2081 (stdio_va_list, sunos_mather_decl): Add bypass entry.
2082 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
2083 comments with the fixes they describe.
2085 * c-parse.in (string action): Do not warn about ANSI string
2086 concatenation in system headers. Affects C parser only.
2087 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
2089 1999-12-16 Jakub Jelinek <jakub@redhat.com>
2091 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
2092 compiling libgcc2 the macro depends always on arch cpp defines.
2094 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
2096 * loop.c (insert_loop_mem): Don't record MEMs from inside
2099 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
2101 * regclass.c (regclass): Do not use flowgraph when not optimizing.
2103 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
2104 notes too, create one when replacement failed, attempt to simplify
2106 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
2109 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2111 * crtstuff.c (__dso_handle): Declare.
2112 (__cxa_finalize): Likewise.
2113 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
2116 * invoke.texi: Document -fuse-cxa-atexit.
2118 * tree.h (ptr_type_node): Document.
2119 (const_ptr_type_node): Likewise.
2121 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2123 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
2124 (optimize_reg_copy_2): Likewise.
2125 (optimize_reg_copy_3): Likewise.
2126 (fixup_match_2): Likewise.
2127 (regmove_optimize): Likewise.
2128 (fixup_match_1): Liekwise.
2130 * i386.md (HI to SImode promoting splitters): Rewrite.
2131 (pushsf mem peep2): New.
2132 (testhi to andhi peep2): Remove.
2133 * i386.h (x86_promote_QImode): New.
2134 (TARGET_PROMOTE_QImode): New.
2135 (PREDICATE_CODES): Add promotable_binary_operator.
2136 * i386.c (x86_promote_QImode0: New.
2137 (promotable_binary_operator): New.
2138 * i386-protos.h (promotable_binary_operator): New.
2140 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
2142 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
2144 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2146 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
2147 * function.c (insert_block_after_note): Remove.
2148 (retrofit_block): Likewise.
2149 (identify_blocks): Fix indentation.
2150 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
2151 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
2152 * function.h (insert_block_after_note): Remove prototype.
2153 (retrofit_block): Likewise.
2154 * integrate.c (expand_inline_function): Don't call
2155 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
2156 just expand_start_bindings. Use the block_map to remap old
2157 NOTE_BLOCKs to new ones.
2158 (integrate_decl_tree): Keep track of remapped blocks.
2159 * integrate.h (struct inline_remap): Add block_map.
2160 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
2161 NOTE_BLOCK on the notes.
2162 (expand_start_bindings): Rename to ...
2163 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
2164 (expand_end_bindings): Set NOTE_BLOCK.
2165 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
2166 reconstruct the BLOCK tree.
2167 * tree.h (expand_start_bindings): Macroize. Call ...
2168 (expand_start_bindings_and_block): New function.
2170 1999-12-16 Jakub Jelinek <jakub@redhat.com>
2172 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
2173 to match the format.
2175 1999-12-16 David S. Miller <davem@redhat.com>
2177 * expr.c (emit_move_insn_1): Only emit clobbers if one of
2178 the outputs is a SUBREG.
2179 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
2182 * config/sparc/sparc.c (epilogue_renumber): Add default case
2185 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2187 * toplev.c (rest_of_compilation): Run branch shortening after
2190 * regclass.c (loop_depth): Remove
2191 (scan_one_insn): Do not handle LOOP_NOTE insns.
2192 (regclass): Go through basic blocks and set loop_cost
2194 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
2196 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
2198 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2200 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
2201 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
2202 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
2204 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
2206 * loop.c (insert_loop_mem): Ignore memory clobbers.
2208 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
2211 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
2213 * profile.c: Remove redundant #include "output.h".
2215 * h8300.md (HImode preinc peephole): Fix typo.
2217 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2219 * function.c (retrofit_block): Abort if we don't find a suitable insn.
2220 (insert_block_after_note): Abort if we don't have a previous block.
2221 Remove FN parameter.
2222 * function.h: Adjust.
2224 1999-12-15 Mark Mitchell <mark@codesourcery.com>
2226 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
2227 argument more than once.
2229 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2231 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
2233 1999-12-15 Jakub Jelinek <jakub@redhat.com>
2235 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
2237 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2239 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
2240 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
2241 update stack_alignment_needed.
2242 (prepare_function_start): Initialize stack_alignment_needed
2243 * function.h (struct function): Add field stack_alignment_needed.
2245 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2247 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
2248 Handle live_throughout / dead_or_set instead of live_before /
2250 (save_call_clobbered_regs): Get register livenessinformation from
2251 chain->live_throughout.
2252 (add_stored_regs): New function.
2253 (insert_restore, insert_save): Add restored / saved registers to
2255 * global.c (reg_dies): New parameter chain.
2256 (reg_becomes_live): Third parameter is regs_set now.
2257 Changed all callers.
2258 (reg_dies): New parameter chain. Changed all callers.
2259 (build_insn_chain): Set live_throughout instead of
2260 live_before / live_after.
2261 * reload.h (struct insn_chain): Replace members live_before /
2262 live_after with live_throughout / dead_or_set.
2263 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
2264 instead of live_before / live_after.
2265 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
2266 (order_regs_for_reload, find_reg, finish_spills): Likewise.
2267 (choose_reload_regs_init): Likewise.
2268 * stupid.c (current_chain, find_clobbered_regs): Delete.
2269 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
2270 instead of chain->live_before / chain->live_after.
2271 (mark_hard_ref): New function.
2272 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
2274 1999-12-15 David S. Miller <davem@redhat.com>
2276 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
2278 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2280 * flow.c (calculate_loop_depth): Make global, remove prototype,
2281 rewrite to use new loop infrastructure.
2282 (find_basic_block): Remove calculate_loop_depth call.
2283 * toplev.c (rest_of_compilation): Call find_basic_block.
2284 * output.h (calculate_loop_depth): Declare.
2286 * flow.c (dump_flow_info): Dump loop_depth.
2287 (flow_loops_nodes_find): Increase loop_depth for basic block in the
2289 (flow_loops_find): Initialize the loop_depth for each basic block.
2291 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2293 * tree.c (decl_function_context): Handle virtual functions.
2295 * tlink.c (scan_linker_output): Don't look in demangled name when
2296 looking for linker output keywords.
2298 * dwarfout.c (output_type): We can defer namespace-scope classes.
2300 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
2302 * regclass.c (record_reg_classes): Update comment for merging
2303 register class preferences in reg->reg copies. Tighten conditions
2304 for merging register class preferences in reg->reg copies.
2306 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
2308 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
2310 1999-12-14 Geoff Keating <geoffk@cygnus.com>
2312 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
2313 (INIT_SECTION_ASM_OP): Delete.
2314 (FINI_SECTION_ASM_OP): Delete.
2315 (STARTFILE_SPEC): Define to hold just crtbegin.o.
2317 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
2319 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
2320 the abstract origin wasn't emitted.
2322 * dwarf2out.c (class_scope_p): New fn.
2323 (gen_subprogram_die): Use it.
2324 (gen_variable_die): Use it. Tweak logic.
2325 (gen_struct_or_union_type_die): Check context_die to determine
2326 if we're function-local.
2327 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
2329 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2331 * loop.c (check_dbra_loop): Can't reverse a biv that has
2334 1999-12-14 Nick Clifton <nickc@cygnus.com>
2336 * config/arm/arm.c: Add support for -mcpu=arm720 command line
2339 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2341 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
2342 for givs made from biv increments.
2344 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
2346 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
2347 * alpha.c (override_options): Recognize -mcpu=ev67.
2348 * alpha.h (CPP_CPU_EV67_SPEC): New.
2349 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
2350 (EXTRA_SPECS): Update.
2352 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
2354 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
2355 appropriate for -lang-c89 and -std=*.
2356 * cppinit.c (cpp_handle_option): Likewise.
2357 (new_pending_define): New, split out from cpp_handle_option.
2358 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
2359 or enable trigraphs for -ansi/-std=*.
2361 * ginclude/stdarg.h (__va_copy): New.
2362 (va_copy): Don't define for C89.
2364 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
2366 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
2367 for long long multiply-accumulate.
2369 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2371 * regclass.c (scan_one_insn): Set loop_cost to 1 when
2372 optimizing for size.
2374 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2376 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
2377 if something changed. Back out that part of yesterday's changes.
2379 * loop.c (loop_max_reg): New static variable.
2380 (loop_optimize): Initialize it. Eliminate one unnecessary call to
2382 (scan_loop): Call reg_scan_update whenever we may have added new
2383 registers, and update loop_max_reg.
2385 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2387 * regclass.c (record_reg_classes): Do not do the copying preferrencing
2388 when source does not die.
2390 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
2392 1999-12-14 Jakub Jelinek <jakub@redhat.com>
2394 * config/sparc/linux64.h (TARGET_LIVE_G0,
2395 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
2397 * config/sparc/linux.h (TARGET_LIVE_G0,
2398 TARGET_BROKEN_SAVERESTORE): Likewise.
2399 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2400 TARGET_BROKEN_SAVERESTORE): Likewise.
2402 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
2403 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
2405 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
2406 as sparc64 block profiling register.
2407 * config/sparc/sparc.c (sparc_override_options): Allow block
2408 profiling with -m32.
2409 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
2411 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
2412 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
2413 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
2415 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
2417 * config/sparc/sparc.h: Likewise.
2418 * config/sparc/xm-sysv4-64.h: Likewise.
2419 * config/float-sparc.h: Likewise.
2420 * glimits.h: Likewise.
2421 * longlong.h: Likewise.
2423 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
2424 (ASM_IDENTIFY_GCC): Remove.
2426 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2428 * combine.c (combine_simplify_rtx): Don't make shared rtl.
2429 (simplify_logical): Likewise.
2431 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
2433 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
2434 * cppfiles.c (INO_T_EQ): Likewise.
2436 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
2438 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
2439 * i386/mingw32.h (LIB_SPEC): Likewise.
2440 (STARTFILE_SPEC): Likewise.
2441 * i386/uwin.h (LIB_SPEC): Likewise.
2442 (STARTFILE_SPEC): Likewise.
2444 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
2445 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
2447 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
2449 * combine.c (combine_simplify_rtx): Fix order of checks for
2450 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
2452 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
2454 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
2455 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
2457 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
2459 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
2461 * regclass.c (inv_reg_alloc_order): New array.
2462 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
2464 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
2465 counted_for_groups, counted_for_nongroups. Add fields rld and
2467 * reload.c (push_secondary_reload): Don't set nongroup field of
2469 (push_reload): Likewise.
2470 (find_reloads): Delete code to compute nongroup fields.
2471 * reload1.c (reload_insn_firstobj): New static variable.
2472 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
2474 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
2475 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
2476 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
2478 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
2480 (struct hard_reg_n_uses): Deleted.
2481 (potential_reload_regs): Deleted.
2482 (init_reload): Initialize spilled_pseudos and pseudos_counted.
2483 (reload): Don't try to allocate reload registers if we already know
2484 we have to make another pass. Call select_reload_regs. Free memory
2485 starting with reload_firstobj when starting another pass.
2486 Don't allocate spilled_pseudos.
2487 (calculate_needs_all_insns): Call copy_reloads for an insn that
2488 needs reloads; don't call calculate_needs.
2489 (spill_cost): New static array.
2490 (used_spill_regs_local): New static variable.
2491 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
2492 to compute potential_reload_regs.
2493 (find_reload_regs): Completely rewritten to use find_reg.
2494 (allocate_reload_reg): Don't test counted_for_groups or
2495 counted_for_nongroups. Lose NOERROR arg and code to give an error;
2497 (choose_reload_regs): Add fallback code that uses the existing
2498 register allocation from find_reload_regs.
2500 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
2502 * flow.c (create_edge_list): Cast xmalloc return value.
2504 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
2506 * doprnt.c: Remove incorrect comment closure.
2508 * cse.c: Fix a few minor whitespace goofs.
2510 1999-12-13 Don Bowman <don@pixstream.com>
2512 * mips/vxworks.h: Fix problem with comment termination.
2513 (EXTRA_SECTIONS): Add in_sbss.
2514 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
2516 1999-12-12 David S. Miller <davem@redhat.com>
2518 * cse.c (struct cse_reg_info): Add hash_next member,
2519 reorder rest of struct for better packing on 64-bit
2521 (cse_reg_info_tree): Kill.
2522 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
2523 REGHASH_FN): New custom pow2 hash mechanism.
2525 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
2526 use a pow2 hash table.
2527 (get_cse_reg_info): Rework to use new REGHASH.
2528 (new_basic_block): Likewise, use HASH_SIZE, and inline
2530 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
2531 and inline free_element call.
2532 (lookup_as_function, insert, flush_hash_table, invalidate,
2533 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
2534 invalidate_for_call, use_related_value, find_comparison_args,
2535 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
2536 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
2539 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
2541 * cse.c (cse_basic_block): Free qty_table consistently.
2543 1999-12-12 David S. Miller <davem@redhat.com>
2544 Jakub Jelinek <jakub@redhat.com>
2546 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
2547 SUBREGs by hand, gen the appropriate hard reg directly.
2548 (movtf reg/mem split): Likewise and alter_subreg on destination
2550 (movtf mem/reg split): Similarly.
2551 (movdf_cc_sp64): Rename from hidden pattern.
2552 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
2553 (movtf_cc_sp64, following split): New pattern and splitter.
2554 (movdf_cc_reg_sp64): Rename from hidden pattern.
2555 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
2557 (movtf_cc_reg_sp64, following split): New pattern and splitter.
2559 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
2561 * loop.c (load_mems): Don't hoist written floating point mem
2564 1999-12-12 Mark Mitchell <mark@codesourcery.com>
2566 * except.h (struct eh_queue): Add `next' pointer.
2567 (struct eh_status): Make x_ehqueue a pointer.
2568 (push_ehqueue): Declare.
2569 (pop_ehqueue): Likewise.
2570 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
2572 (expand_fixup_region_end): Likewise.
2573 (expand_leftover_cleanups): Likewise.
2574 (push_ehqueue): Define.
2575 (pop_ehqueue): Likewise.
2576 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
2577 than doing it inline.
2578 (expand_start_all_catch): Adjust now that ehqueue is a
2580 (mark_eh_queue): Mark all level of the queue.
2581 (mark_eh_status): Adjust now that ehqueue is a
2583 (init_eh_for_function): Allocate ehqueue.
2584 (free_eh_status): Free it.
2585 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
2586 expansion for a fixup.
2588 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2590 * gthr-single.h (__gthread_active_p): Add prototype arguments.
2592 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
2593 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
2594 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
2595 function_ptr, getpagesize, __enable_execute_stack,
2596 __enable_execute_stack, __clear_insn_cache,
2597 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
2598 _cleanup, _exit, __default_terminate, __terminate_func,
2599 __terminate, __empty, __throw, new_eh_context,
2600 eh_context_initialize, eh_context_static, eh_context_specific,
2601 get_eh_context, __get_eh_context, __get_eh_info,
2602 init_reg_size_table, eh_threads_initialize,
2603 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
2604 __unwinding_cleanup, throw_helper, __throw, __rethrow,
2605 __pure_virtual): Add prototype arguments.
2606 (__bb_exit_func): Cast a sizeof to long when comparing against one.
2607 Cast a signed value to unsigned long when comparing against one.
2608 (new_eh_context): Wrap in _GTHREADS macro.
2609 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
2611 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
2612 (throw_helper): Initialize variables `handler_p' and `pc_p'.
2614 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2616 * combine.c (record_promoted_value): Remove unused variable
2619 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
2621 * global.c (record_conflicts): Likewise for `j'.
2623 * genoutput.c (output_insn_data): Don't unnecessarily cast away
2626 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2628 * i386-protos.h (output_387_binary_op, output_fix_trunc,
2629 output_fp_compare): Constify a char*.
2631 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
2633 (override_options, ix86_comp_type_attributes, print_operand,
2634 output_387_binary_op, output_fix_trunc, output_fp_compare):
2636 (ix86_sched_reorder): Mark parameter `clock_var' with
2639 * i386.h (DEBUG_PRINT_REG): Constify a char*.
2641 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
2643 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
2644 operand, for use in the Java front-end.
2646 1999-12-10 Ben Collins <bcollins@debian.org>
2648 * configure.in: Fix typo for "-64" in 64bit as check.
2649 * configure: Rebuilt.
2651 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2653 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
2656 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2658 * c-parse.in (string): With -Wtraditional, warn if ANSI string
2659 concatenation is utilized.
2661 * invoke.texi (-Wtraditional): Document it.
2663 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2665 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
2666 Cast a ptrdiff_t to long and pass it to printf with %ld.
2668 1999-12-10 Geoff Keating <geoffk@cygnus.com>
2670 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
2671 68881, we have no 68881 registers at all.
2672 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
2673 value in a 68881 register if it is available.
2675 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
2677 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
2678 for long long multiply-accumulate.
2680 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
2682 * loop.c (insert_loop_mem): Undo last change.
2684 1999-12-10 David S. Miller <davem@redhat.com>
2686 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
2688 * config/sparc/sparc-protos.h: Add them.
2689 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
2690 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
2691 constraints which use those helpers.
2692 (EXTRA_CONSTRAINT): Use this new macro.
2693 * md.texi: Update sparc target constraints documentation.
2694 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
2695 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
2696 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
2697 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
2698 (movsf high/lo_sum split): Rework for new patterns.
2699 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
2701 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
2703 * c-common.c (c_common_nodes_and_builtins):
2704 Create __builtin_ptrdiff_t and __builtin_size_t.
2706 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
2708 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
2710 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2712 * regclass.c (globalize_reg): Re-instate test that allows
2713 fixed registers to be declared as a variable even after functions
2716 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2718 * i386.md (cpu attribute): Add "athlon".
2719 (athlon_decode): New attribute.
2720 (Athlon scheduling units definitions): New.
2721 (fcmp and shld patterns): Set athlon_decode to "vector".
2722 * i386.c (athlon_cost): New.
2724 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
2725 x86_use_sahf): Set for Athlon.
2726 (x86_use_fiop): Unset for Athlon.
2727 (override_options): Define Athlon alignments and "athlon" name.
2728 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
2729 * i386.h (TARGET_ATHLON): New.
2730 (enum processor_type): Add PROCESSOR_ATHLON.
2731 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
2733 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
2735 1999-12-09 Andreas Jaeger <aj@suse.de>
2737 * loop.c (record_biv): Declare parameter as int.
2739 * config/i386/i386-protos.h: Declare long_memory_operand.
2741 1999-12-09 Mark Mitchell <mark@codesourcery.com>
2743 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
2744 EXPR_WITH_FILE_LOCATION.
2746 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2748 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
2751 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
2753 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
2756 1999-12-09 Jakub Jelinek <jakub@redhat.com>
2758 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
2759 default on linux64 again.
2760 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
2761 models for multilibing.
2762 * genmultilib: Accept | as alternative separator within a set in
2765 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
2767 * calls.c (precompute_arguments): Make sure initial_value contains
2768 value pseudo which CSE expects.
2769 * cse.c (struct set): New entry orig_src.
2770 (cse_insn): Set it early on entry, use it for libcall EQUIV note
2773 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
2775 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
2777 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
2779 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
2781 1999-12-08 Jakub Jelinek <jakub@redhat.com>
2783 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
2784 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
2786 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
2789 * longlong.h: Merge in changes from glibc.
2790 Also don't clobber %g2 register in 32bit SPARC assembly, so that
2791 -mno-app-regs libgcc can be compiled.
2792 * libgcc2.c: Add defines so that the updated longlong.h
2793 can be used in libgcc2.a. Also, make sure on most architectures
2794 (at least on all which have optimized code in longlong.h defined
2795 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
2797 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2799 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
2800 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
2801 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
2803 * configure: Rebuilt.
2805 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
2807 * alpha.c (secondary_reload_class): For !BWX, sub-simode
2808 outputs require a register.
2810 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
2812 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
2813 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
2814 functions like dptoul will be resolved.
2815 (libgcc2.a): Make sure that the object files from DPBIT are named
2816 differently (prefix `_dp') from those that would be coming from
2819 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
2821 * configure.in: When target is sparc* and tm_file contains 64,
2822 test for 64bit support in assembler. If not supported, remove
2823 sparc/t-sol2-64 from target-dependent Makefile fragments.
2824 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
2825 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
2826 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
2827 * acconfig.h (AS_SPARC64_FLAG): Added.
2828 * configure, config.in: Rebuilt.
2829 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
2830 support. Use AS_SPARC64_FLAG.
2832 1999-12-07 Jakub Jelinek <jakub@redhat.com>
2834 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
2835 suitable for holding OFmode values so that gcc works with complex
2837 (hard_64bit_mode_classes): Likewise.
2839 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
2840 so that it is actually matched.
2841 (sethi_di_medlow): Likewise.
2843 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
2844 as legitimate constant if -mvis.
2845 * config/sparc/sparc.md (movtf): Likewise.
2846 (clear_sf): Use const_double_operand.
2847 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
2849 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
2850 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
2851 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
2852 routines, _Qp_* cannot be handled like that now.
2853 (INIT_TARGET_OPTABS): Likewise.
2854 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
2855 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
2856 sparc_emit_float_lib_cmp if ARCH64 and soft float.
2857 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
2858 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
2859 divtf3, sqrttf3): New expanders.
2860 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
2861 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
2862 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
2865 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
2866 * configure: Rebuilt.
2867 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
2868 -mcpu is given and we're doing 64bit compiles.
2870 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
2872 * loop.h (struct induction): Add multi_insn_incr.
2873 * loop.c (basic_induction_var): New multi_insn_incr argument.
2874 Set it if we search back through previous insns for the biv.
2875 (record_biv): New multi_insn_incr argument; fill in struct induction.
2876 (strength_reduce): Discard an iv with multiple bivs, any of
2877 which require multiple insns to increment.
2879 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2881 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
2884 1999-12-06 David S. Miller <davem@redhat.com>
2886 * combine.c (check_promoted_subreg): Do not conditionalize this upon
2887 PROMOTE_FUNCTION_RETURN.
2889 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
2891 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
2892 and handle REG_UNUSED note on insn.
2894 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
2895 inner_mask instead of mask.
2897 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
2899 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
2900 zero if there was an error.
2902 1999-12-06 Jakub Jelinek <jakub@redhat.com>
2904 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
2907 * longlong.h: Fix clobbers in SPARC asm statements.
2909 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
2910 valid sethi operations when TARGET_ARCH64.
2912 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
2913 always use move_by_pieces to avoid infinite recursion.
2914 (restore_fixed_argument_area): Likewise.
2916 * combine.c (check_promoted_subreg, record_promoted_value): New
2918 (combine_instructions): Use them to retain nonzero and sign bit
2919 information after SUBREGs are eliminated by optimizations in
2920 this pass if PROMOTE_FUNCTION_RETURN.
2922 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
2923 .register declaration. Don't use variables with __ prefixes.
2925 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2927 * fold-const.c (optimize_bit_field_compare): Only use one mode
2928 for both RHS and LHS in non-constant case.
2930 1999-12-06 Nathan Sidwell <nathan@acm.org>
2932 * frame.c (start_fde_sort): Only allocate erratic array, if
2933 linear one was allocated. Return allocated flag.
2934 (fde_insert): Only insert, if there's a valid array.
2935 (fde_end_sort): Split, sort and merge if linear and erratic
2936 arrays exist, else just sort linear one.
2937 (search_fdes): New function. Linear search through original fde
2939 (frame_init): Permit multiple initializations. Cope with
2941 (find_fde): Fallback on linear search, if failed to sort array.
2942 (__deregister_frame_info): Only free sorted array, if we
2945 1999-12-06 Jakub Jelinek <jakub@redhat.com>
2947 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
2949 1999-12-05 Jakub Jelinek <jakub@redhat.com>
2951 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
2953 1999-12-05 Mark Mitchell <mark@codesourcery.com>
2955 * tree.h (special_function_p): Declare.
2956 * calls.c (special_function_p): Make it global. Don't take `name'
2957 as a parameter. Fix typo in 1999-11-28 change.
2958 (expand_cal): Adjust.
2960 1999-12-04 Mark Mitchell <mark@codesourcery.com>
2962 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
2963 * tree.h (EXPR_WFL_FILENAME): Define in terms of
2964 EXPR_WFL_FILENAME_NODE.
2965 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
2967 * print-tree.c (print_note): Print TREE_PRIVATE and
2970 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
2971 the original die cannot be found.
2973 * varray.h (varray_head_tag): Add elements_used.
2974 (VARRAY_PUSH): New macro.
2975 (VARRAY_POP): Likewise.
2976 (VARRAY_TOP): Likewise.
2977 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
2979 * varray.c (varray_init): Initialize elements_used.
2980 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
2981 (INTEGRATE_H): New variable.
2982 (integrate.o): Depend on INTEGRATE_H.
2983 (unroll.o): Likewise.
2985 * function.h (insert_block_after_note): Declare.
2986 * function.c (insert_block_after_note): Split out from ...
2987 (retrofit_block): ... here.
2989 * stmt.c (expand_fixup): Fix typo in comment.
2991 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2993 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
2994 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
2995 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
2996 (regmove_optimize, fixup_match_1): Likewise.
2998 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3000 * flow.c (flow_loops_dump): Add missing argument when calling
3003 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
3004 Greg McGary <gkm@gnu.org>
3006 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
3007 (init_attributes): Add A_NO_LIMIT_STACK.
3008 (decl_attributes): Handle A_NO_LIMIT_STACK.
3009 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
3010 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
3011 Handle stack bounds checking.
3012 * flags.h (flag_stack_check): Use the word 'probe' rather than
3013 'check', because the flag doesn't actually cause any checking to
3015 * function.c (expand_function_start): Set
3016 current_function_limit_stack.
3017 * function.h (struct function): Add limit_stack.
3018 (current_function_limit_stack): Define.
3019 * invoke.texi (Code Gen Options): Document new options.
3020 * rtl.h: Declare stack_limit_rtx.
3021 * toplev.c (stack_limit_rtx): New variable.
3022 (decode_f_option): Handle new options -fstack-limit-register=REG,
3023 -fstack-limit-symbol=IDENT, -fno-stack-limit.
3024 (main): Add stack_limit_rtx as GC root.
3025 * tree.h (DECL_NO_LIMIT_STACK): New macro.
3026 (struct tree_decl): New member no_limit_stack.
3028 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
3030 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
3031 (conditional_trap+1): Get new mnemonic correct.
3032 (conditional_trap+2): New pattern for DImode traps.
3034 * config/m68k/m68k.c (output_function_prologue): Handle
3036 * config/m68k/m68k.md (trap): New insn.
3037 (conditional_trap): New insn.
3038 * md.texi (Standard Names): Document `trap' and
3040 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
3041 so a cc0 setter doesn't get emitted at some random place in the
3044 * config/i960/i960.md (trap): New insn.
3045 (conditional_trap): New expander.
3046 (conditional_trap+1, conditional_trap+2): New insns for signed
3048 * config/i960/i960.c (i960_function_prologue): Use
3049 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
3051 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
3052 Geoffrey Keating <geoffk@cygnus.com>
3054 * flags.h (warn_padded, warn_packed): Add global var decls.
3055 * toplev.c (warn_padded, warn_packed): Add global var defns.
3056 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
3057 * stor-layout.c (layout_record): Add local variable `type'
3058 to hold often-used TREE_TYPE (field). Add local variable
3059 `unpacked_align' to hold alignment that would be in force
3060 if no `packed' attribute were present. Warn if `packed' attribute
3061 is unnecessary, or even harmful. Warn when gcc inserts padding
3062 to satisfy alignment requirements of members. Use NULL_TREE
3063 when checking whether var_size is set.
3064 * invoke.texi: Document new flags.
3066 1999-12-03 Nathan Sidwell <nathan@acm.org>
3068 * frame.c (fde_split): Reimplement to avoid variable sized array.
3070 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3072 * combine.c (try_combine): Before fixing up LOG_LINKS for the
3073 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
3075 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
3077 * invoke.texi: Document the mips option -mno-crt0
3079 1999-12-02 Mike Karr <mkarr@mathworks.com>
3081 * cccp.c (argdata): Added free_ptr member.
3082 (macroexpand): Initialize free_ptr of each argument. When an
3083 argument's buffers are freed, if the argument's free_ptr corresponds
3084 to a buffer on the input stack, then return the free_ptr to that stack
3085 frame, otherwise, free it.
3086 (macarg): If an argument begins and ends on the same input stack level,
3087 then transfer the free_ptr of that buffer to the argument in case
3088 the stack is popped during the processing of a subsequent argument.
3090 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
3092 * loop.c (note_reg_stored): New function.
3093 (struct note_reg_stored_arg): New structure.
3094 (try_copy_prop): Change to be more conservative; only replace within
3095 one extended basic block and stop replacing if a store to the
3096 replacement reg is seen.
3098 1999-12-02 Nick Clifton <nickc@cygnus.com>
3100 * config/fp-bit.c: Initialise all fields of the NAN
3103 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
3106 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
3108 * i386.md (extend?f?f2): Force the input into a register, not
3111 1999-12-01 Jakub Jelinek <jakub@redhat.com>
3113 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
3115 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
3116 alternative because setting up 64bit constant is usually costly,
3117 especially when reload is in progress or completed.
3118 (movdf_const_intreg_sp64): Likewise.
3119 (movdf_const_intreg split): Fix building up constants when
3120 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
3122 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
3124 * combine.c (if_then_else_cond): Use const_true_rtx instead of
3125 const1_rtx for return values in EQ/NE comparison against (const_int 0)
3128 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
3129 (asm_file_start): Emit .am33 into assembly file when compiling for
3131 (print_operand_address): Handle POST_INC addresses.
3132 (can_use_return_insn, initial_offset): Check AM33 registers too.
3133 (expand_prologue): Check & save AM33 registers too.
3134 (expand_epilogue): Similarly.
3135 (secondary_reload_class): Handle AM33 specific secondary reloads.
3136 (output_tst): Emit efficient code for the AM33 too.
3137 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
3138 (TARGET_SWITCHES): Add -mam33 switch.
3139 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
3140 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
3141 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
3142 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
3143 (enum reg_class, REG_CLASS_NAMES): Likewise.
3144 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
3145 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
3146 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
3147 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
3148 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
3149 (HAVE_POST_INCREMENT): Define.
3150 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
3151 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
3152 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
3153 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
3154 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
3155 (zero_extend to SI from QI/HI): Likewise.
3156 (sign_extend to SI from QI/HI): Likewise.
3157 (mulsidi3, umulsidi3): New patterns for the AM33.
3158 (tstsi with zero extension from QI/HI): Add AM33 variants.
3159 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
3160 (return_internal_regs, store_movm): Handle new AM33 registers.
3161 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
3162 (LIBGCC, INSTALL_LIBGCC): Likewise.
3163 * invoke.texi: Document new flags.
3165 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3167 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
3168 (addsi3_carry): Likewise.
3169 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
3170 (sbbsi3_carry): Likewise.
3171 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
3173 (test?i_1): Ensure that only one operand is memory.
3174 (conditional move patterns): likewise.
3175 (shift and rotate patterns): Rewrite to expander, add
3176 "binary_operator_ok" to the condition.
3178 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
3179 * i386.h (procesor_costs): Add movzbl_load field.
3180 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
3181 non-Q registers, accept DImode registers anywhere.
3183 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
3184 * i386.c (*_cost): Set value for movxbl_load field.
3186 * (addsi): New add to lea splitter.
3188 (lea to add/shift peep2): New.
3190 1999-12-01 Mark Salter <msalter@cygnus.com>
3192 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
3193 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
3194 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
3196 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3198 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
3199 * i386.md (movsi_xor): New.
3201 (movsi_1, movhi_1, movqi_1): Remove.
3202 (movsi_2): Rename to movsi_1.
3203 (movhi_2): Rename to movhi_1.
3204 (movqi_2): Rename to movqi_1.
3205 (movdi_1): Remove; remove splitter.
3206 (movdi_2): Rename to movdi_1.
3207 (divmodsi4 splitter): Do not emit clobbers for move patterns.
3208 (long move peep2): Do not create QI or HI mode mov0s
3209 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
3211 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
3214 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
3215 (abs?f2_if): Likewise.
3217 1999-11-30 Alex Samuel <samuel@codesourcery.com>
3219 * ggc.h (ggc_test_and_set_mark): New macro.
3220 (ggc_mark_rtx): Use ggc_test_and_set_mark.
3221 (ggc_mark_tree): Likewise.
3222 (ggc_mark_rtvec): Likewise.
3223 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
3225 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
3227 * dwarf2out.c (scope_die_for): Only handle types. Only search for
3229 (decl_scope_table): Just an array of trees now.
3230 (push_decl_scope): Simplify.
3231 (dwarf2out_init): Adjust.
3232 (local_scope_p): New fn.
3233 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
3234 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
3235 (gen_typedef_die): Likewise.
3236 (gen_lexical_block_die): Don't call push/pop_decl_scope.
3237 (gen_inlined_subroutine_die): Likewise.
3238 (gen_abstract_function): Set current_function_decl temporarily.
3239 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
3240 Handle block extern declarations. Don't call push/pop_decl_scope.
3241 (gen_decl_die): Fix logic for block externs.
3243 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3245 * calls.c (special_function_p): Remove `realloc' and add `strdup'
3246 to the list of functions which have attribute malloc by default.
3248 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3250 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
3251 integer constant does not match the traditional type, limit the
3252 warnings to cases where the base of the type is ten.
3254 * invoke.texi (-Wtraditional): Document it.
3256 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3258 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
3259 * rs6000.md: Only access a CONST_INT with INTVAL
3261 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
3263 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
3264 (compute_nearerout): Likewise.
3265 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
3266 size_t to unsigned long for formatting.
3268 1999-11-30 Jakub Jelinek <jakub@redhat.com>
3270 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
3271 Allow the user to override call-used/fixed state of %g2-5
3272 registers from the command line (with the exception of %g4 for
3274 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
3275 there is a higher chance of having a leaf function.
3276 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
3277 for ARCH64 which has %ccr register.
3278 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
3280 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
3281 insn accept into delay slot any insn which does not use %[ol]
3282 registers. Accept some LO_SUM and shift left by 1 for the normal
3284 (output_function_epilogue): Likewise.
3285 (epilogue_renumber): Added argument which inhibits any renumbering
3286 and just tests if the rtx does not use any %[ol] registers.
3287 (output_return): Reflect above change.
3289 1999-11-30 Jakub Jelinek <jakub@redhat.com>
3291 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
3292 aggregate passing for sizes <= 16 bytes.
3294 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
3296 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
3297 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
3298 * reload.c (find_dummy_reload): Likewise.
3299 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
3300 * reload1.c (reload_as_needed): Likewise.
3301 * stupid.c (stupid_find_reg): Likewise.
3302 * tm.texi (Obsolete Register Macros): Delete section.
3303 * gmicro.h: Remove all traces of the two macros.
3308 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
3310 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
3311 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
3312 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
3313 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
3314 units for the sparclite86x chip.
3315 (flush): Revert October 14th change; add SImode specifically.
3316 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
3317 * invoke.texi: Document it.
3319 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
3321 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
3322 psimode_truncation_operand.
3324 * config/mn10200/mn10200.c (psimode_truncation_operand): New
3325 function. Return true if the operand is either a MEM valid
3326 for a PSImode address or not a MEM at all.
3328 * config/mn10200/mn10200.md (truncsipsi2): Use
3329 psimode_truncation_operand.
3331 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3333 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
3334 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
3335 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
3336 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
3337 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
3338 (flow_loop_level_compute, low_loops_level_compute): Likewise.
3339 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
3340 * basic-block.h: Protect from multiple inclusion.
3341 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
3342 (struct loops, struct loop): Define structures.
3343 * sbitmap.c (sbitmap_a_subset_b_p): New function.
3344 * sbitmap.h: Protect from multiple inclusion.
3345 (sbitmap_a_subset_b_p): Add prototype.
3346 * Makefile.in (LOOP_H): New macro.
3347 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
3349 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
3351 * cppinit.c (CAT): The argument list of this macro may not contain
3354 1999-11-29 David S. Miller <davem@redhat.com>
3356 Move quantity tables and register equivalence chains into
3357 per-qty and per-register structure arrays respectively.
3358 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
3359 qty_const_insn, qty_comparison_code, qty_comparison_const,
3360 qty_comparison_qty): Delete, replace with...
3361 (qty_table): this structure table.
3362 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
3363 (reg_eqv_table): this structure table.
3364 (make_new_qty): Add argument MODE. Caller updated.
3365 Update to use qty_table and reg_eqv_table.
3366 (make_regs_eqv, delete_reg_equiv, insert_regs,
3367 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
3368 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
3369 cse_process_notes, cse_main, cse_basic_block): Likewise.
3371 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3373 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
3374 operation if C is negative.
3375 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
3376 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
3377 law for some divisions if constant is negative and change other
3378 divisions to the opposite rounding.
3380 * expr.c (store_constructor_field): If bit position is not multiple
3381 of alignment of TARGET's mode, use BLKmode.
3383 * expr.c (expand_expr_unaligned): Add more code from full case
3384 that is needed when OP0 is in a register.
3386 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3388 * dwarfout.c (field_byte_offset): Size can be zero if there was
3391 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
3393 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
3394 (associate_trees): Delete unused var TEM.
3395 (extract_muldiv): Delete unused var CANCEL_P.
3397 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
3398 (target_isinf, target_isnan, target_negative): Add return types to
3399 function definitions.
3401 1999-11-29 Bruce Korb <autogen@linuxbox.com>
3403 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
3404 * fixinc/hackshell.tpl: ditto
3405 * fixinc/fixtests.c(double_slash_test): more C++ header testing
3406 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
3408 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
3410 * reload.c (push_reload): When looking for a register to put into
3411 reg_rtx, make sure all hard regs in a multi-reg register are in the
3412 right class and nonfixed.
3414 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
3415 pending_read_insns, pending_write_insns, pending_read_mems,
3416 pending_write_mems, pending_list_length, last_pending_memory_flush,
3417 last_function_call, sched_before_next_call): Move static variables
3419 (bb_ prefixed versions): Replace with single array bb_deps.
3420 (struct deps): New structure.
3421 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
3422 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
3423 argument of type "struct deps *"; use that instead of global
3424 variables. All callers changed.
3425 (init_rgn_data_dependencies): Delete function.
3426 (init_rtx_vector): Delete function.
3427 (init_deps): New function.
3429 (free_pending_lists): Simplify, we always use the bb_deps array even
3430 if only one basic block.
3431 (compute_block_backward_dependences): Likewise.
3432 (schedule_region): Likewise.
3434 (propagate_deps): New function, broken out of
3435 compute_block_backward_dependences.
3436 (compute_block_backward_dependences): Use it.
3438 * alpha.md: Delete useless patterns that tried to work around
3439 register elimination problems.
3441 * unroll.c (loop_iterations): Don't abort if iteration variable
3444 From Joern Rennecke:
3445 * reload1.c (reloads_conflict): Reverse test comparing operand
3446 numbers when testing for conflict between output/outaddr reloads.
3448 1999-11-29 David S. Miller <davem@redhat.com>
3450 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
3452 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
3454 1999-11-28 Robert Lipe <robertl@cygnus.com>
3456 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
3457 table from .fini into .dtor.
3459 1999-11-28 Anthony Green <green@cygnus.com>
3461 * tree.h (struct tree_decl): Add malloc_flag.
3462 (DECL_IS_MALLOC): Define.
3463 * c-common.c (attrs): Add A_MALLOC attribute.
3464 (init_attributes): Add this attribute to the table.
3465 (decl_attributes): Handle malloc attribute.
3466 * calls.c (special_function_p): Check for the malloc attribute.
3467 * extend.texi (Function Attributes): Document malloc attribute.
3469 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
3471 * pa.md (reload shift-add patterns): Remove.
3473 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3475 * reorg.c (dbr_schedule) Print more statistics. Corrected
3476 problem when printing info when 3 delay slots are filled.
3478 1999-11-28 Jakub Jelinek <jakub@redhat.com>
3480 * combine.c (setup_incoming_promotions): Pass an outgoing
3481 regno to FUNCTION_ARG_REGNO_P which it expects.
3483 1999-11-28 Andreas Jaeger <aj@suse.de>
3485 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
3487 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
3489 * cccp.c (do_include): Avoid initialization of automatic variable.
3491 * integrate.c (mark_stores): Function definition made void, to match
3492 previous declaration.
3493 * regclass.c (dump_regclass): Ditto.
3494 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
3496 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3498 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
3499 known to be multiple of divisor.
3501 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
3503 * combine.c (try_combine): Add code to try to merge a set of a
3504 two-word pseudo to a constant with a setting of one of those words
3507 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
3508 (split_tree): Completely rework to make more general.
3509 (make_range, fold): Call negate_expr.
3510 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
3511 (fold, associate): Call new split_tree and associate_trees.
3512 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
3514 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
3516 * loop.c (try_copy_prop): Avoid GNU C extension.
3518 1999-11-25 Mark Mitchell <mark@codesourcery.com>
3520 * except.c (init_eh_for_function): Still zero eh_return_context,
3521 eh_return_stack_adjust, and eh_return_handler.
3523 * except.h (eh_status): Adjust documentation for x_protect_list.
3524 (begin_protect_partials): New function.
3525 * except.c (enqueue_eh_entry): Fix formatting.
3526 (get_first_handler): Add consistency check.
3527 (add_partial_entry): Adjust usage of protect_list.
3528 (emit_cleanup_handler): Save and restore ehqueue.
3529 (expand_start_all_catch): Add comment.
3530 (begin_protect_partials): New function.
3531 (end_protect_partials): Adjust usage of protect_list.
3532 (init_eh_for_function): Use xcalloc.
3534 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3536 * c-common.c (check_format_info): Don't call a variadic function
3537 with a non-literal format string.
3539 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
3541 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
3542 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
3545 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
3548 * collect2.c (collect_wait): Likewise.
3550 * dbxout.c (dbxout_type): Likewise.
3552 * gcc.c (do_spec_1): Likewise.
3554 * genemit.c (gen_insn, gen_expand): Likewise.
3556 * genrecog.c (write_switch, write_subroutine): Likewise.
3558 * mips-tfile.c (catch_signal, botch): Likewise.
3560 * print-rtl.c (print_rtx): Likewise.
3562 * toplev.c (default_print_error_function, report_error_function,
3563 _fatal_insn): Likewise.
3565 1999-11-25 Mark Mitchell <mark@codesourcery.com>
3567 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
3569 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3571 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
3572 operations when needed.
3573 * i386.md (fop_?f_comm): New.
3574 (fop_?f_1): Do not accept commutative operands.
3576 1999-11-25 Andreas Jaeger <aj@suse.de>
3578 * config/mips/mips.md (casesi_internal): Add missing brace.
3580 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
3582 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
3583 (splice_child_die): Handle moving a child DIE from the declaration
3584 DIE of a class to its specification.
3585 (gen_struct_or_union_type_die): Use 'complete' consistently.
3586 (gen_decl_die): Generate the virtual context DIE first.
3587 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
3589 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
3591 * config/mips/mips.md (call_value_multiple_interanal1): New.
3593 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3595 * dwarf2out.c (free_AT, free_die): New fns.
3596 (remove_children): Call them.
3597 (output_line_info): Disable removal of duplicate notes.
3599 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
3600 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
3601 means pretend the type isn't defined.
3602 Don't defer emitting types.
3603 (gen_type_die_for_member): New fn.
3604 (gen_decl_die): Call it.
3605 (splice_child_die): New fn.
3606 (gen_member_die): Call it rather than generate duplicate dies.
3608 Defer emitting information for the abstract instance of an inline
3609 until we either inline it or emit an out-of-line copy.
3610 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
3611 from output_inline_function if DECL_ABSTRACT is also set.
3612 (block_ultimate_origin): Likewise.
3613 (gen_abstract_function): New fn.
3614 (gen_decl_die, gen_inlined_subroutine_die): Call it.
3615 (gen_subprogram_die): An abstract instance is not a declaration
3616 just because it doesn't match current_function_decl. Don't abort
3617 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
3618 has an abstract origin.
3619 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
3620 abstract instance here.
3622 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
3624 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
3625 where we need to reload fpul from a system register.
3627 1999-11-24 Andreas Jaeger <aj@suse.de>
3629 * config/mips/linux.h (CPP_PREDEFINES): Added.
3630 (LINK_SPEC): Remove -Y since this is only needed on sparc.
3632 1999-11-24 Andreas Jaeger <aj@suse.de>
3634 * config/mips/linux.h (TARGET_VERSION): Added.
3635 (HANDLE_SYSV_PRAGMA): Added.
3636 (DEFAULT_VTABLE_THUNKS): Added.
3638 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3640 * local-alloc.c (qty): New structure and static variable.
3641 (qty_phys_reg): Remove, all references changed to qty.
3642 (qty_n_refs): Likewise.
3643 (qty_min_class): Likewise.
3644 (qty_birth): Likewise.
3645 (qty_death): Likewise.
3646 (qty_size): Likewise.
3647 (qty_mode): Likewise.
3648 (qty_n_calls_crossed): Likewise.
3649 (qty_alternate_class): Likewise.
3650 (qty_changes_size): Likewise.
3651 (qty_first_reg): Likewise.
3652 (alloc_qty): Rename variable QTY to QTYNO.
3653 (finf_free_reg): Likewise.
3654 (local_alloc): Allocate qty, do not allocate the removed variables.
3656 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
3658 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
3659 when -membedded-pic is passed.
3661 * config/mips/mips.md (casesi): Handle 64-bit case too.
3662 (casesi_internal_di): New insn.
3664 * config/mips/mips.c (embedded_pic_offset): Always make the
3665 embedded-pic subtractions relative to the name of the current
3666 function by use of the magic string "..CURRENT_FUNCTION".
3667 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
3669 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
3671 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
3672 of (const_int 0), when what we really care about is
3673 whether it's a zero constant anyway.
3674 (div_trap_mips16): Likewise.
3676 1999-11-23 Mark Mitchell <mark@codesourcery.com>
3678 * loop.c (loop_optimize): Always find_loop_tree_blocks and
3679 unroll_block_trees when generating debuggable code.
3681 * tree.h (unsave_expr_1): New function.
3682 (lang_unsave): New variable.
3683 (get_callee_fndecl): New function.
3684 * tree.c (unsave_expr_now_r): New function.
3685 (lang_unsave): Define.
3686 (unsave_expr_1): Likewise.
3687 (unsave_expr_now_r): Split out from unsave_expr_now.
3688 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
3689 call unsave_expr_now_r.
3690 (get_callee_fndecl): Define.
3692 * Makefile.in (gencheck): Don't depend on lang_tree_files.
3693 (gencheck.o): Do depend on lang_tree_files.
3695 * integrate.h (copy_decl_for_inlining): New declaration.
3696 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
3697 (copy_decl_for_inlining): New function.
3698 (integrate_parm_decls): Use it.
3699 (integrate_decl_tree): Likewise.
3701 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
3703 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
3704 the second two from the first.
3705 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
3706 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
3707 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
3709 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
3710 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
3713 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
3715 * pa.md (call_internal_symref, call_value_internal_symref): No mode
3716 needed on the address operand.
3717 * pa.c (call_operand_address): Check for the correct mode.
3719 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
3721 * loop.c: Include "basic-block.h".
3722 (try_copy_prop, replace_loop_reg): New functions.
3723 (load_mems): Detect registers that just hold copies of the hoisted
3724 mem, and call try_copy_prop to eliminate them.
3725 * Makefile.in (loop.o): Update dependencies.
3727 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
3729 * Makefile.in (gencheck.o): Depend on gencheck.h.
3730 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
3731 (insn-peep.o): Depend on except.h and function.h.
3732 (insn-attrtab.o): Depend on RECOG_H.
3733 (insn-output.o): Depend on toplev.h and flags.h.
3734 (gengenrtl.o): Depend on real.h.
3735 (gen-protos.o): Depend on cpplib.h and cpphash.h.
3736 Unify all dependencies to be on RECOG_H rather than recog.h.
3738 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3740 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
3741 * configure.in: Try building a bi-arch 32/64-bit compiler on
3742 sparc-*-solaris2.7 and higher.
3743 * configure: Rebuild.
3745 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
3747 * config/freebsd.h: New, FreeBSD architecture independent file.
3748 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
3750 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
3751 directly by i386/freebsd.h.
3752 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
3753 independent configuration file.
3754 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
3755 directly by i386/freebsd.h.
3756 * configure: Rebuilt.
3758 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
3759 which is in the user's namespace.
3760 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
3761 `i386' which is not in our namespace.
3763 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
3765 * invoke.texi (ARM Options): Add in -mno-alignment-traps
3767 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
3769 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
3770 (add_dwarf_attr, add_child_die): Just push onto the front.
3771 (reverse_die_lists): New fn.
3772 (add_sibling_attributes): Use it.
3773 (push_decl_scope): Reorganize.
3774 (add_name_and_src_coords_attributes): Don't set file and line for
3776 (gen_subprogram_die): An artificial function doesn't need to match
3778 (gen_compile_unit_die): Return the generated die. Only add
3779 AT_comp_dir if the filename is relative.
3780 (remove_AT): Simplify loop. Also free string values.
3781 (output_die): A DIE ref can't be null.
3782 (output_value_format, value_format): Take a dw_attr_ref.
3783 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
3784 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3785 AT_addr, AT_lbl): New fns.
3786 (various): Use them.
3787 (various): Constify.
3789 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3791 * combine.c (combine_simplify_rtx): When handling a SUBREG,
3792 take SUBREG_WORD into account.
3793 (if_then_else_cond): Likewise.
3795 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
3797 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
3798 clause from BSD license, pursuant with
3800 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
3802 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
3804 * loop.c (load_mems): Reformat slightly.
3805 * basic-block.h (regset_head): New typedef.
3806 (INIT_REG_SET): New macro.
3808 1999-11-22 Bruce Korb <autogen@linuxbox.com
3810 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
3811 (mips-dec-bsd*): non-functional code
3812 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
3814 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
3815 added three replacement fixes
3816 (no_double_slash): removed comments that are not (any longer) pertinent
3817 (bad_lval): this fix currently runs against many files.
3818 The comment seems to indicate that we should select for files
3819 containing 'pragma extern_prefix'.
3821 * fixinc/fixinc.x86-linux-gnu: deleted
3822 * fixinc/inclhack.sh: regen
3823 * fixinc/fixincl.x: regen
3824 * fixinc/fixincl.sh: regen
3826 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
3828 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
3829 its code is INSN and it has no notes.
3831 1999-11-22 Andrew Haley <aph@cygnus.com>
3833 * varasm.c (function_defined): Remove.
3834 (make_function_rtl): Don't set function_defined.
3835 (make_decl_rtl): Remove global register warning.
3836 * regclass.c (no_global_reg_vars): New variable.
3837 (globalize_reg): Warn if function has already been defined.
3838 (regclass_init): Set no_global_reg_vars.
3840 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3842 * regclass.c (reg_pref): New structure and static variable
3843 (prefclass): Delete.
3845 (all uses of prefclass and altclass): Use reg_pref instead.
3847 1999-11-21 Nick Clifton <nickc@cygnus.com>
3849 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
3851 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
3852 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3853 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3855 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
3857 * varasm.c (output_constructor): Solve problem with long long
3858 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
3860 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3862 * global.c (allocno): New structure and static variable.
3863 (allocno_reg): Remove, all references replaced by allocno.
3864 (allocno_size): Likewise.
3865 (hard_reg_conflicts): Likewise.
3866 (hard_reg_preferences): Likewise.
3867 (hard_reg_copy_preferences): Likewise.
3868 (hard_reg_full_preferences): Likewise.
3869 (regs_someone_prefers): Likewise.
3870 (allocno_calls_crossed): Likewise.
3871 (allocno_n_refs): Likewise.
3872 (allocno_live_length): Likewise.
3873 (find_reg): Rename ALLOCNO to NUM.
3875 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
3877 (may_move_out_cost): New variable.
3878 (init_reg_sets_1): Initialize may_move_out_cost.
3879 (record_reg_classes): Use may_move_out_cost.
3881 * regclass.c (dump_regclass): New function.
3882 (regclass): New parameter DUMP, call DUMP_REGCLASS.
3883 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
3884 pass rtl_dump_file to regclass.
3885 * rtl.h (regclass): Update prototype.
3887 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3889 * i386.md (neg, not and abs patterns): Revmap to use
3890 ix86_expand_unary_operator and ix86_unary_operator_ok.
3891 (add?f and sub?f expanders): Force operand 1 to register.
3892 * i386.c (ix86_expand_unary_operator): Rewrite.
3893 (ix86_unary_operator_ok): Ensure that memory operands
3895 (ix86_binary_operator_ok): Do not allow operand 1 to
3896 come into memory and operand 0 not.
3897 (ix86_expand_binary_operator): Ensure that
3898 src1 is not non-matching memory.
3900 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
3901 to support integer registers and memory.
3902 (abss?2_integer): Likewise.
3904 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
3905 (REG_CLASS_NAMES): Likewise.
3906 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
3908 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
3909 (movsf): Likewise; unify 4th and 5th alternative.
3911 (movdf_1): Likewise; rename to movdf_integer.
3912 (pushxf): Likewise; rename to pushxf_integer; fix output template;
3913 remove redundant splitter.
3914 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
3915 (movdf_nointeger): New.
3916 (movxf_nointeger): New.
3917 (pushxf_nointeger): New.
3919 * i386.md (extend?f?f): Split to expander and pattern, refuse two
3920 memory operands in patterns.
3921 (fop*): Refuse two memory operands.
3923 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
3924 on !TARGET_USE_CLTD CPUs.
3926 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
3928 * extend.texi: Document C++ restricted pointers and references.
3930 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
3932 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
3933 (invalidate_skipped_set): Call it unconditionally.
3934 (cse_set_around_loop): Likewise.
3936 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
3938 * rtl.texi (mem): Add documentation for alias-set argument
3941 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3943 * i386.h (struct_processor_costs): New fields int_load, int_store,
3944 fp_move, fp_load and fp_store
3945 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
3947 (MEMORY_MOVE_COST): New macro.
3948 * i386.c (386_cost): Define new fields.
3949 (i486_cost): Likewise.
3950 (pentium_cost): Likewise.
3951 (pentiumpro_cost): Likewise.
3952 (k6_cost): Likewise.
3954 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
3955 Geoffrey Keating <geoffk@cygnus.com>
3957 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
3959 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
3962 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
3963 (TARGET_STRICT_ALIGNMENT): New macro.
3964 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
3965 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
3966 * invoke.texi (M680x0 Options): Document -mstrict-align.
3968 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
3969 Richard Henderson <rth@cygnus.com>
3971 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
3972 (ix86_split_long_move): Declare.
3973 * i386.c (split_xf, ix86_split_movdi): Remove.
3974 (ix86_split_to_parts, ix86_split_long_move): New.
3975 * i386.md (dimode move splitters): Use ix86_split_long_move.
3976 (dfmode move splitters): Likewise.
3977 (xfmode move splitters): Likewise.
3978 (movsf_1): Allow F->r.
3979 (movdf_1, movxf_1): Allow F->ro.
3981 1999-11-17 Mark Mitchell <mark@codesourcery.com>
3983 * except.h (struct eh_entry): Add goto_entry_p.
3984 (eh_region_from_symbol): Remove prototype.
3985 * except.c (find_func_region_from_symbol): New function.
3986 (emit_cleanup_handler): Likewise.
3987 (eh_region_from_symbol): Make it static.
3988 (add_new_handler): Verify the argument.
3989 (find_func_region): Update comment.
3990 (expand_eh_region_end): Expand handlers here, rater than waiting
3991 until expand_leftover_cleanups or start_all_catch.
3992 (expand_leftover_cleanups): Don't expand here.
3993 (expand_start_all_catch): Or here.
3994 (expand_rethrow): Check the return value from find_func_region.
3995 * function.c (expand_function_end): Emit the catch_clauses.
3997 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
3999 * integrate.c (expand_inline_function): Add necessary check for NULL.
4001 1999-11-18 Nick Clifton <nickc@cygnus.com>
4003 * toplev.c (main): Correctly detect an unrecognised option.
4005 * cppinit.c (cpp_handle_option): Do not claim to have consumed
4006 a -f option if it has not been recognised.
4008 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
4010 * basic-block.h (update_life_extent): Remove trailing comma on
4011 enumeration type list.
4013 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4015 * varasm.c (output_constructor) Solved problem with long long
4016 bitfields. Corrected calculating this_time and shift. Also
4017 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
4019 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
4021 * flow.c (split_edge): Take looping structure into account when
4022 determining where to put the new block note.
4024 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
4026 * Makefile.in (ggc-none.o): Provide host specific version if
4029 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
4031 * cse.c (delete_trivially_dead_insns): Identify no-op insns
4032 containing subregs too.
4034 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
4036 * invoke.texi: Add documentation for -muninit-const-in-rodata.
4037 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
4038 (TARGET_UNINIT_CONST_IN_RODATA): Define.
4039 (text_section): Add switches -munint-const-in-rodata and
4040 -mno-uninit-const-in-rodata.
4041 (ASM_OUTPUT_COMMON): Remove.
4042 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
4043 const objects should be placed in read-only data. Otherwise declare
4046 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
4048 * jump.c (jump_optimize_1): Revert last change.
4050 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
4052 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
4053 test if optimizing for size.
4055 1999-11-17 Mark Mitchell <mark@codesourcery.com>
4057 * Makefile.in (toplev.o): Depend on except.h.
4058 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
4060 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4062 * i386.md (divmodsi4): Rewrite to expander.
4063 (*divmodsi4_nocltd): New.
4064 (*divmodsi4_cltd): New.
4065 (divmodsi4 splitter): Handle the case when input comes in edx.
4066 (udivmodhi4): Do not use constraints in exander.
4067 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
4069 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
4071 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
4072 for the common case.
4074 1999-11-16 Jakub Jelinek <jakub@redhat.com>
4076 * explow.c (hard_function_value): Add outgoing argument.
4077 * expr.h (hard_function_value): Declare it.
4078 * calls.c (expand_call, emit_library_call_value): Update callers.
4079 * function.c (aggregate_value_p): Ditto.
4080 (diddle_return_value): Must look at the outgoing registers
4081 on archs with register windows.
4083 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
4085 * alpha.c (alpha_build_va_list): Use make_lang_type and
4086 initialize TYPE_NAME for the va_list record.
4088 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
4090 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
4092 * ggc.h (struct ggc_statistics): Rearrange elements for better
4093 packing on 64-bit hosts.
4094 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
4095 (compute_nearerout): Likewise.
4097 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
4099 * config/rs6000/rs6000.c (first_reg_to_save): Save
4100 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
4102 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
4104 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
4105 notion of nesting to find the DIE for a type or function.
4106 DIEs can go in limbo even if we got a context_die.
4107 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
4108 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
4110 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
4111 (gen_type_die): Writing out the context doesn't cause member class
4112 template instantiations to be written out as well.
4114 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
4116 * rs6000.h (ASM_OUTPUT_DEF): New.
4117 Based on proposed addition from David Edelsohn.
4119 1999-11-15 Robert Lipe <RobertLipe@usa.net>
4120 Bruce Korb <autogen@linuxbox.com>
4122 * fixinc/inclhack.def
4123 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
4124 (unixware7_byteorder_fix): added. Removes conflicts for new defs
4126 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
4127 (svr4_endian): enabled with SVR5
4128 (svr4_mkdev): simplified syntax and enabled with SVR5
4130 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
4132 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
4133 * configure: Rebuilt.
4134 * config/t-freebsd-thread: New file.
4136 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
4138 * i386.c (ix86_decompose_address): Verify the base is a REG
4139 before trying to examine its register number.
4141 * basic-block.h: Remove all #defines and prototypes related to
4143 (free_bb_mem, compute_preds_succs): Remove prototype.
4144 * rtl.h (free_bb_mem): Remove prototype.
4145 * flow.c (alloc_int_list_node); Remove function.
4146 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
4147 (compute_preds_succs, free_bb_mem): Likewise.
4148 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
4149 * toplev.c (rest_of_compilation): Likewise.
4150 * haifa-sched.c (build_control_flow): Use flow generated edge
4151 list to build the haifa specific edge list.
4152 (find_rgns): Use new CFG data structures instead of pred/succ lists.
4153 (schedule_insns): Do not build pred/succ lists anymore. Instead
4154 build the edge table.
4156 * basic-block.h (dump_bb_data): Remove declaration.
4157 * flow.c (dump_bb_data): Remove function.
4158 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
4159 (sbitmap_union_of_predsucc): Likewise.
4161 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
4162 argument. All callers changed.
4163 (delete_null_pointer_checks_1): No longer need to compute the
4166 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
4167 All callers changed.
4168 (pre_expr_reaches_here_p_work): Likewise.
4169 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
4170 * lcm.c (compute_laterin): Fix initialization of LATER.
4171 (compute_nearerout): Similarly for NEARER.
4173 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4175 * cse.c (set_nonvarying_address_components): Delete unused function.
4176 (refers_to_p): Likewise.
4178 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
4180 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
4183 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4185 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
4186 definition in do while (0).
4188 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
4190 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
4192 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
4194 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
4196 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
4198 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
4199 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
4200 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
4201 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
4203 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
4204 saved on the stack. Output more accurate stack frame statistics
4205 into assembler file.
4207 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
4209 * genextract.c (record_insn_name): New function.
4210 (get_insn_name): No longer a stub.
4211 (main): Call record_insn_name for each insn. After each label
4212 written, print the insn name in a comment.
4214 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4216 * output.h (const_section, init_section, fini_section): Add
4219 * alpha/elf.h (const_section): Delete declaration.
4221 * svr4.h (const_section): Likewise.
4223 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
4225 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
4226 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
4227 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
4229 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
4230 variable-sized array bounds.
4232 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
4234 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
4237 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4239 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
4240 addresses the same way GO_IF_LEGITIMATE_INDEX does.
4242 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4244 * cse.c (hash_arg_in_struct): Delete.
4245 (struct table_elt): Delete elt in_struct.
4246 (struct set): Delete elt src_in_struct.
4247 (merge_equiv_classes): Don't set either hash_arg_in_struct or
4248 the corresponding in_struct elts.
4249 (canon_hash): Likewise.
4250 (safe_hash): Likewise.
4251 (find_best_addr): Likewise.
4252 (record_jump_cond): Likewise.
4253 (cse_insn): Likewise.
4255 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
4257 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
4259 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
4262 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
4264 * function.c (diddle_return_value): Put back check that the DECL_RTL
4265 for the function is a register.
4267 * function.c (diddle_return_value): Use hard_function_value to
4268 get an rtx suitable for use in the USE/CLOBBER insn.
4270 * global.c (global_conflicts): Update comments.
4271 (record_conflicts): No need to record conflicts between pseudos here.
4273 1999-11-11 Bruce Korb <autogen@linuxbox.com>
4275 * fixinc/fixincl.c: Added verbose levels for status messages
4277 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4279 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
4280 operand as argument to expand_and or expand_binop.
4282 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
4284 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
4285 gcc_add_string_root.
4287 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
4289 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
4291 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
4293 * flow.c (compute_flow_dominators): Initially put all blocks on
4295 * lcm.c (compute_antinout_edge, compute_available): Similarly.
4296 * gcse.c (compute_cprop_avinout): Remove.
4297 (compute_cprop_data): Use compute_available.
4298 (delete_null_pointer_checks_1): Use compute_available.
4300 * basic-block.h (compute_available): Returns a void now.
4301 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
4302 to return a value anymore.
4303 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
4304 worklists. Fix boundary cases. Compute maximal solutions.
4305 (compute_laterin, compute_nearerout): Similarly.
4307 * dwarf2out.c (add_AT_location_description): Allow
4308 (mem (plus (pseudo) (...)) too.
4310 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
4312 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
4314 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
4315 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4317 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
4319 * gansidecl.h: Likewise.
4325 * toplev.h: Likewise.
4331 * varray.c: Likewise.
4333 * varray.h: Likewise.
4335 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
4337 * gcov.c (struct arcdata): Add hits and total, remove prob.
4338 (output_branch_counts): New.
4339 (process_args): Set output_branch_counts if -c.
4340 (calculate_branch_probs): Store hits and total instead of
4342 (output_data): Emit counts if output_branch_counts is true.
4343 * gcov.texi (Invoking Gcov): Document -c switch..
4345 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
4347 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
4348 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
4350 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
4352 * invoke.texi (C Dialect Options): Add missing builtins from
4354 * extend.texi (Other Builtins): Copy to this list.
4356 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4358 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
4359 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
4362 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
4364 * flow.c (compute_flow_dominators): No longer treat basic block 0
4365 or (n_basic_blocks - 1) specially. Clear the AUX field before
4366 starting computation of doms/pdoms. Fix initial state for pdoms.
4368 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4370 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
4371 match rtl.o's: added ggc.h and toplev.h
4372 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
4373 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
4374 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
4376 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
4378 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
4379 from HAVE_DOS_BASED_FILESYSTEM.
4380 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
4381 HAVE_DOS_BASED_FILESYSTEM.
4383 (split_directories): Only special-case DOS file names if
4384 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
4385 instead of explicit tests. Conditionalize on !VMS.
4386 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
4387 tests. Conditionalize on !VMS.
4388 (process_command): Only use make_relative_prefix if !VMS.
4389 (free_split_directories): Conditionalize on !VMS.
4390 (DIR_UP): Conditionalize on !VMS.
4392 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
4394 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
4396 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
4398 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
4401 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
4403 * invoke.texi (Environment Variables): Document relative path
4405 * gcc.c (DIR_UP): If not defined, define as "..".
4406 (standard_bindir_prefix): New static, holds target location to
4408 (split_directories): New function to split a filename into
4409 component directories.
4410 (free_split_directories): New function, release memory allocated
4411 by split_directories.
4412 (make_relative_prefix): New function, make a relative pathname if
4413 the compiler is not in the expected location.
4414 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
4415 can figure out an appropriate prefix from argv[0].
4416 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
4417 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
4418 STANDARD_BINDIR_PREFIX.
4420 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4422 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
4424 * config/c4x/c4x.h: Moved prototypes to c4x.h.
4425 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
4426 c4x_secondary_memory_needed) Delete.
4427 (fp_zero_operand): Add mode argument.
4429 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
4431 * reload1.c (reload_reg_free_for_value_p): Don't use a register
4432 that is in reload_reg_used.
4434 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
4436 * config/arm/arm-protos.h: New file: Prototypes for functions
4437 defined in arm.c and pe.c.
4438 * config/arm/arm.h: Fix compile time warnings.
4439 * config/arm/arm.c: Fix compile time warnings.
4440 * config/arm/pe.h: Fix compile time warnings.
4441 * config/arm/aout.h: Fix compile time warnings.
4443 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
4445 * config/m32r/m32r-protos.h: New file: Prototypes for functions
4448 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
4449 Add support for subtargets.
4450 Add prototypes for new predicates.
4451 Add scheduling macros.
4453 * config/m32r/m32r.c: Fix compile time warnings.
4454 (int8_operand): New predicate function.
4455 (reg_or_cmp_int16_operand): New predicate function.
4456 (extend_operand): New predicate function.
4457 (m32r_adjust_code): New scheduling function.
4458 (m32r_adjust_priorty): New scheduling function.
4459 (m32r_sched_init): New scheduling function.
4460 (m32r_sched_reorder): New scheduling function.
4461 (m32r_sched_variable_issue): New scheduling function.
4462 (direct_return): New codegen function.
4463 (m32r_not_same_reg): New rtl testsing function.
4465 * config/m32r/m32r.md: Fix compile time warnings.
4466 Add support for pre decrement and post increment memory
4471 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4473 * global.c (EXECUTE_IF_CONFLICT): Don't define.
4474 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
4475 (find_reg): Likewise.
4477 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
4479 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
4480 to avoid assembler errors.
4482 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
4484 * config/v850/v850-protos.h: New file: Prototypes for functions
4486 * config/v850/v850.h: Move prototypes to v850-protos.h
4487 * config/v850/v850.c: Move prototypes to v850-protos.h
4488 * config/v850/v850.md: Fix compile time warnings.
4490 * config/fr30/fr30-protos.h: New file: Prototypes for functions
4492 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
4493 * config/fr30/fr30.c: Fix compile time warnings.
4494 * config/fr30/fr30.md: Fix compile time warnings.
4496 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
4498 * tree.h (get_containing_scope): Declare it.
4499 * tree.c (get_containing_scope): New fucntion.
4500 (decl_function_context): Use it.
4501 * toplev.c (rest_of_compilation): Use get_containing_scope.
4503 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4505 * Makefile.in (rtl.o): Depend on toplev.h.
4507 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
4509 * cse.c (delete_trivially_dead_insns): Replace alloca with
4511 * except.c (update_rethrow_references): Likewise.
4512 (init_eh_nesting_info): Likewise.
4513 * function.c (identify_blocks): Likewise.
4514 * gcse.c (dump_hash_table): Likewise.
4515 * graph.c (print_rtl_graph_with_bb): Likewise.
4516 * loop.c (combine_movables): Likewise.
4517 (move_movables): Likewise.
4518 (count_loop_regs_set): Likewise.
4519 (strength_reduce): Likewise.
4520 * profile.c (compute_branch_probabilities): New function, split
4522 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
4523 * regclass.c (regclass): Likewise.
4524 * regmove.c (regmove_optimize): Likewise.
4525 * toplev.c (compile_file): Likewise.
4526 (main): Don't mess with the stack rlimit.
4528 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
4530 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
4531 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
4533 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
4535 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
4537 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
4539 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
4540 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
4543 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
4545 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
4547 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
4549 * gcse.c (post_dominators): Kill.
4550 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
4551 (compute_code_hoist_data): Use compute_flow_dominators. Do not
4552 pass in a pdom array since we do not need pdoms.
4553 * haifa-sched.c (schedule_insns): Similarly.
4554 * flow.c (compute_dominators): Remove dead function.
4555 (compute_flow_dominators): Do not compute doms or pdoms if the
4556 caller does not request them. Split up loop to build doms and
4557 pdoms. Use a worklist to compute doms and pdoms.
4558 * basic-block.h (compute_dominators): Remove prototype.
4560 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
4562 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
4563 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
4564 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
4565 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
4566 (cant_move, fed_by_spec_load, is_load_insn): Remove.
4567 (schedule_region): Remove unused variable.
4568 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
4570 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
4572 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
4573 (update_equiv_regs): Likewise.
4574 (block_alloc): Likewise.
4575 * reg-stack.c (reg_to_stack): Likewise.
4576 (convert_regs_2): Likewise.
4577 * reload1.c (reload_as_needed): Likewise.
4579 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
4581 * Makefile.in (dbxout.o): Depend on ggc.h.
4582 (dwarf2out.o): Likewise.
4583 (xcoffout.o): Likewise.
4584 * dbxout.c: Include ggc.h.
4585 (dbxout_init): Register lastfile as a root.
4586 * dwarf2out.c: Include ggc.h.
4587 (dwarf2out_line): Register lastfile as a root.
4588 * xcoffout.c: Include ggc.h.
4589 (xcoffout_source_line): Register xcoff_lastfile as a root.
4591 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
4593 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
4595 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
4597 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
4599 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
4601 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4603 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
4604 (EXECUTE_IF_CONFLICT): Likewise.
4605 (ALLOCNO_LIVE_P): Avoid signed division.
4606 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
4607 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
4608 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
4610 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
4612 * haifa-sched.c (schedule_block): Don't crash if there's no
4613 next insn for an interblock movement.
4614 (add_branch_dependences): Don't allow clobber insns to move either.
4616 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
4618 * i386.c (split_xf): New.
4619 * i386-protos.h: Declare it.
4620 * i386.md (movxf_1): Add general regs alternatives.
4621 (movxf_1+1): New splitter for same.
4623 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
4625 * function.c (purge_addressof_1): Add missing return values.
4627 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
4629 * function.c (is_addressof): New function. Returns true if
4630 the given piece of RTL is an ADDRESSOF.
4631 (purge_addressof_1): Make boolean. Return false if the
4632 ADDRESSOFs could not be purged.
4633 (purge_addressof): If ADDRESSOFs could not be purged from the
4634 notes attached to an insn, remove the offending note(s),
4635 unless they are attached to a libcall.
4637 1999-11-05 Andreas Jaeger <aj@suse.de>
4639 * genoutput.c (null_operand =): Initialize all fields.
4641 * errors.h: Add extern to prototypes.
4643 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
4645 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
4646 * configure: Rebuilt.
4648 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4650 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
4651 (mirror_conflicts): New function.
4652 (global_alloc): Call it.
4653 (expand_preferences): Remove redundant CONFLICTP test.
4654 (find_reg, dump_conflicts): Likewise.
4655 (prune_preferences): Process conflicts one word at a time.
4657 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
4659 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
4660 instead of an explicit loop.
4662 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
4664 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
4665 if REG_RETVAL check succeeds, then put classp in src_elt.
4667 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
4669 * function.c (pad_to_arg_alignment): Only update argument_pad
4670 if the argument's alignment is greater than STACK_BOUNDARY.
4672 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
4674 * bitmap.h (BITMAP_XFREE): New.
4675 * flow.c (life_analysis): Use it.
4676 (life_analysis_1): Free blocks.
4678 * combine.c (undo_commit): New.
4679 (try_combine): Use it. Don't zap undobuf.undos.
4680 (combine_instructions): Don't zap undobuf.undos; free the
4683 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
4685 * stmt.c (cost_table_): New.
4686 (estimate_case_costs): Use it instead of xmalloc.
4688 * toplev.c (compile_file): Reuse dumpname memory instead
4691 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
4693 * reg-stack.c (convert_regs_1): Initialize target_stack->top
4694 after verifying an EH edge.
4696 * haifa-sched.c (init_rgn_data_dependences): Correctly
4697 size bb_pending_lists_length when zeroing.
4699 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
4701 * function.c (diddle_return_value): New.
4702 (expand_function_end): Use it.
4703 * stmt.c (expand_null_return): Likewise.
4704 (expand_value_return): Likewise.
4706 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
4708 * reload1.c (reload): Don't remove return value clobbers.
4710 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
4712 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
4714 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
4716 * cse.c (cse_main): Use xmalloc, not alloca.
4717 (cse_basic_block): Likewise.
4718 * local-alloc.c (local_alloc): Likewise.
4720 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
4721 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4723 * rtl.c: Include toplev.h.
4724 (fatal): Remove declaration.
4726 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
4728 * haifa-sched.c (schedule_block): Fix thinko.
4730 1999-11-03 James McKelvey <mckelvey@fafnir.com>
4732 * fixinc/fixincl.c(create_file): Allow for systems that do not have
4733 S_IR* defined values
4735 1999-11-03 Philippe De Muyter <phdm@macqel.be>
4737 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
4738 call `malloc' instead.
4740 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
4742 * flags.h (flag_renumber_insns): Declare.
4743 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
4745 * rtl.h (renumber_insns): Change prototype.
4746 * toplev.c (flag_renumber_insns): Define.
4747 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
4749 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
4751 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
4752 and fpsqrtd. Use them and create fdiv function unit to more
4753 accurately represent fpu sqrt pipeline semantics on UltraSparc.
4754 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
4756 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
4758 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
4760 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
4761 insn into ready list, do not use just a raw swap.
4763 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
4765 * rtl.h (renumber_insns): New function.
4766 (remove_unnecessary_notes): Likewise.
4767 * emit-rtl.c (renumber_insns): Define.
4768 (remove_unncessary_notes): Likewise.
4769 * toplev.c (rest_of_compilation): Remove dead code.
4770 Use renumber_insns and remove_unncessary_notes.
4772 * gcse.c (struct null_pointer_info): New type.
4773 (get_bitmap_width): New function.
4774 (current_block): Remove.
4775 (nonnull_local): Likewise.
4776 (nonnull_killed): Likewise.
4777 (invalidate_nonnull_info): Take a null_pointer_info as input.
4778 (delete_null_pointer_checks_1): New function.
4779 (delete_null_pointer_checks): Use it.
4781 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
4782 (split_edges): Likewise.
4783 (schedule_block): Likewise.
4784 (compute_block_backward_dependencies): Likewise.
4785 (schedule_region): Likewise.
4786 (schedule_insns): Likewise.
4788 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
4790 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
4791 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
4792 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
4793 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
4794 * jump.c (delete_unreferenced_labels): Don't delete if
4795 LABEL_ALTERNATE_NAME is set.
4796 * print-rtl.c (print_rtx): Dump alternate name.
4797 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
4798 * rtl.h (LABEL_ALTERNATE_NAME): Define.
4799 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
4800 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
4802 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4804 * fix-header.c (recognized_extern, recognized_function): Constify
4807 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
4808 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4809 (compute_available): Remove unused variable `last'.
4810 (compute_nearerout): Remove unused variable `temp_bitmap'.
4811 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4812 Remove unused variable `x'.
4814 * scan.h (recognized_function, recognized_extern): Constify a
4817 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
4819 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4821 * varasm.c (decode_rtx_const): Use XSTR to access the string
4824 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
4826 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
4828 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4830 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
4832 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
4834 * pa.c (ireg_operand): New function.
4835 * pa.h (PREDICATE_CODES): Handle ireg_operand.
4836 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
4837 Fix out of date comment.
4839 * pa.md (negdi2): Turn into expander + anonymous pattern.
4841 * reload.c (find_reloads): Fix typos in recent change.
4843 * dwarf2out.c: Do not include ctype.h.
4845 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4847 * regclass.c (record_reg_classes): Always use may_move_cost when
4848 seeing how operand fits with various register classes.
4850 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
4852 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
4853 * toplev.c: Revert Nov 1 13:22 change.
4855 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
4857 * config/pa/pa.md (height reduction patterns): Add checks for
4858 overlapping operands to avoid semantic-destroying splits for
4859 height reduction patterns.
4861 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4863 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
4864 have been an hyphen, fixed.
4865 * configure: Rebuilt.
4867 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
4869 * config/arm/tpe.h: Add prototypes for exported functions.
4870 * config/arm/pe.c: Fix compile time warnings.
4871 * config/arm/semi.h: Fix compile time warnings.
4872 * config/arm/arm.c: Fix compile time warnings.
4873 * config/arm/arm.h: Fix compile time warnings.
4874 * config/arm/arm.md: Fix compile time warnings.
4875 * config/arm/thumb.c: Fix compile time warnings.
4876 * config/arm/thumb.h: Fix compile time warnings.
4877 * config/arm/thumb.md: Fix compile time warnings.
4879 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
4881 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
4884 * unroll.c (unroll_loop): Remove LOOP notes when loop is
4885 completely unrolled.
4887 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4889 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
4891 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
4893 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
4894 * rtl.h (rtx_equal_p): Move prototype.
4895 * rtl.c (rtx_equal_function_value_matters): Move from
4897 (rtx_equal_p): Likewise.
4898 * rtlanal.c (rtx_equal_function_value_matters): Delete.
4899 (rtx_equal_p): Likewise.
4901 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
4903 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
4906 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
4908 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
4910 * pa.h (ADDR_VEC_ALIGN): Define.
4912 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
4913 notes when presented with "if (foo) break; end_of_loop" and
4914 the break sequence gets moved out of the loop.
4916 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
4917 Remove explicit zero initializations of entries within MAP.
4919 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
4921 * reg-stack.c (convert_regs_1): Handle EH edges specially.
4923 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
4925 * bitmap.h (BITMAP_XMALLOC): New macro.
4926 * flow.c (CLEAN_ALLOCA): Remove.
4927 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
4928 (life_analysis): Likewise.
4929 (update_life_info): Don't use CLEAN_ALLOCA.
4930 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
4931 (calculate_global_regs_live): Likewise.
4932 (print_rtl_with_bb): Likewise.
4933 (verify_flow_info): Likewise.
4934 * global.c (global_alloc): Likewise.
4935 (global_conflicts): Likewise.
4936 * integrate.c (save_for_inline_nocopy): Likewise.
4937 (expand_inline_function): Likewise.
4938 * jump.c (jump_optimize_1): Likewise.
4939 (duplicate_loop_exit_test): Likewise.
4940 (thread_jumps): Likewise.
4941 * loop.c (loop_optimize): Likewise.
4942 (combine_givs): Likewise.
4943 (recombine_givs): Likewise.
4944 * reorg.c (dbr_schedule): Likewise.
4945 * unroll.c (unroll_loop): Likewise.
4947 * combine.c (combine_instructions): Use xmalloc instead of alloca.
4949 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
4951 * toplev.c (rest_of_compilation): Don't optimize the CFG
4952 when rebuilding, just before dbr.
4954 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4956 * output.h (assemble_end_function, assemble_destructor,
4957 assemble_constructor, assemble_gc_entry, assemble_global,
4958 assemble_label, output_constant_pool) Constify a char*.
4960 * varasm.c (assemble_destructor, assemble_constructor,
4961 assemble_gc_entry, assemble_end_function, assemble_global,
4962 assemble_label, output_constant_pool): Likewise.
4964 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
4966 * config/arm/thumb.c (thumb_expand_prologue): Add comments
4967 explaining what is goin on in this function.
4969 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4971 * regclass.c (record_reg_classes): In matching case, recompute
4972 costs since the direction of movement is different.
4974 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
4976 * resource.c (mark_target_live_regs): For unconditional branches,
4977 the resources found at the branch target should be added to the
4978 resources found so far, not intersected.
4980 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
4982 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
4984 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
4985 (sys/mman.h): Include this file only if #HAVE_MMAP.
4986 (run_compiles): Initialize `esac_fmt' with one old KR string, not
4987 with automatically concatenated ANSI strings.
4989 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
4991 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
4992 (DIV_ROUND_UP): Robustify.
4993 (ggc_recalculate_in_use_p): New function.
4994 (release_pages): Don't inline it.
4995 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
4997 (ggc_pop_context): Use ggc_recalculate_in_use_p.
4998 (clear_marks): Always save in_use_p.
4999 (sweep_pages): Use ggc_recalculate_in_use_p.
5000 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
5001 Release pages before counting statistics.
5003 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
5005 * toplev.c (rest_of_compilation): Fix thinko in this change:
5007 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
5009 (rest_of_compilation): If inside an inlined external function,
5010 pretend we are just being declared.
5012 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
5014 * flow.c (calculate_global_regs_live): Fix thinko.
5016 * integrate.c (expand_inline_function): Fix bugs in previous
5017 change from Oct 28, 1999.
5019 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
5021 * stmt.c (expand_value_return): Fix typo in this change:
5023 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5024 (expand_value_return): Correctly convert VAL when promoting function
5025 return; support RETURN_REG being a PARALLEL.
5027 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
5029 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
5031 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5033 * hard-reg-set.h (reg_names): Constify a char*.
5035 * regclass.c (reg_names): Likewise.
5037 * regs.h (reg_names): Likewise
5039 * a29k/a29k.c (reg_names): Delete declaration.
5041 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
5043 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
5044 arc_output_function_epilogue): Likewise.
5046 * elxsi/elxsi.c (reg_names): Likewise.
5048 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
5050 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
5053 * m88k/m88k.c (output_function_profiler): Likewise.
5055 * sparc/sparc.c (sparc_flat_output_function_prologue,
5056 sparc_flat_output_function_epilogue): Likewise.
5058 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
5060 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
5061 warning from -Wuninitialized and put it under -W.
5062 * function.c (uninitialized_vars_warning): Warn only when the
5063 corresponding flag is set.
5065 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
5067 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
5068 is nonzero and the single set does not have an elt, then assign
5071 * simplify-rtx.c: New file.
5072 * Makefile.in (OBJS): Add simplify-rtx.o
5073 (simplify-rtx.o): Add dependencies.
5074 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
5075 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
5076 (cse_gen_binary, simplify_unary_operation): Delete.
5077 (simplify_binary_operation, simplify_plus_minus): Likewise.
5078 (check_fold_consts, simplify_relation_operation): Likewise.
5079 (simplify_ternary_operation): Likewise.
5080 (delete_trivially_dead_insns): Simplify the contents of the
5081 REG_EQUAL note before trying to substitute it into the source
5082 of the reg-reg copy at the end of a libcall sequence.
5084 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
5085 references/callers changed.
5087 * mn10200.c (mn10200_va_arg): Force the return value into a
5090 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
5092 * cccp.c (macroexpand): Avoid out of range accesses for omitted
5095 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
5097 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
5099 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
5101 * fold-const.c (fold): Fix thinko when optimizing comparisons
5104 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
5106 * gcc.texi (Passes): Update front-end files to their current
5109 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
5111 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
5112 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
5113 (PREDICATE_CODES): Add addition_operation.
5114 * alpha-protos.h (addition_operation): Declare.
5115 (secondary_reload_class): Likewise.
5116 * alpha.c (addition_operation): New.
5117 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
5118 * alpha.md (adddi3): Turn into expander.
5119 (*lda, *adddi_2): New.
5120 (movsf, movdf patterns): Don't preference integer regs.
5121 (movsi, movdi patterns): Don't preference fp regs.
5123 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
5125 * genrecog.c (write_switch): Check for duplicate CODE cases.
5127 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
5129 * ggc-common.c: Update pre-function commentary.
5130 * ggc-page.c: Likewise.
5132 (poison_pages): Use memset directly.
5133 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
5134 (ggc_collect): Poison before sweeping.
5135 * ggc-simple.c: Update pre-function commentary.
5136 (ggc_alloc_obj): Poison non-zeroed memory.
5138 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
5140 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
5141 match format string, even on 64-bit hosts.
5142 * gcc-page.c (ggc_page_print_statistics): Likewise.
5144 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
5146 * config/i386/i386.c (ix86_cpu): Revert last patch.
5147 * config/i386/i386.h (ix86_cpu): Ditto.
5149 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
5151 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
5152 TYPE_SIZE, convert type of result to sizetype.
5154 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
5156 * flow.c (count_or_remove_death_notes): Equate NULL with the
5159 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
5160 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
5163 * i386.c (pic_label_no): Delete.
5164 (ix86_attr_length_default): Don't use single_set to peek
5167 * recog.c (peephole2_optimize): Allow recog_next_insn to index
5168 the first insn after bb->end.
5169 * i386.md (push mem peeps): Scratch is live after evaluation
5171 (cmp mem peep): Similarly.
5173 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
5175 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
5176 * function.c (pad_to_arg_alignment): Add missing braces.
5178 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5180 * alpha/alpha-protos.h (literal_section): Add prototype.
5181 (alpha_need_linkage, alpha_start_function,alpha_end_function):
5184 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
5186 (alpha_start_function, alpha_end_function, float_strings,
5187 alpha_need_linkage): Constify a char*
5189 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
5191 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
5193 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5195 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5197 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5199 * flow.c (debug_flow_info): Add prototype.
5201 * gcc.c (main): Likewise.
5203 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
5206 * reload1.c (failed_reload, set_reload_reg): Likewise.
5208 * mips-tfile.c (main): Likewise.
5209 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
5210 with ATTRIBUTE_NORETURN.
5212 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
5214 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
5215 DECL is not a memory ref.
5217 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
5219 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
5220 * config/i386/i386.c (ix86_cpu): Add extern attribute.
5222 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
5224 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
5225 * config/mips/elf64.h: ditto.
5227 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
5229 * expr.c (emit_push_insn): New argument alignment_pad.
5230 Update all callers. Adjust stack pointer based on alignment pad.
5231 * function.c (pad_to_arg_alignment): New argument alignment_pad.
5232 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
5233 (locate_and_pad_parm): New argument alignment_pad. Update all
5235 * expr.h (emit_push_insn): Update prototype.
5236 (locate_and_pad_parm): Update prototype.
5237 * calls.c (arg_data): Add new field alignment_pad.
5238 (initialize_argument_information): Initialize alignment_pad.
5240 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
5242 * except.c (free_eh_nesting_info): Free the info itself.
5243 * function.c (free_after_compilation): Don't free NULL.
5244 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
5245 (pre_edge_insert): Free inserted.
5246 * stmt.c (free_stmt_status): Don't free NULL.
5248 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
5250 * gcov.c (DIR_SEPARATOR): Provide default.
5251 (output_data): Add test for MS-DOS format absolute filename.
5252 (fancy_abort): Correct program name.
5253 (open_files): Open all files in binary mode.
5254 * libgcc2.c (__bb_exit_func): Likewise.
5256 * profile.c (init_branch_prob): Specify binary when opening files.
5258 * flags.h (flag_unwind_tables): New decl.
5259 * toplev.c (flag_unwind_table): New definition.
5260 (f_options): Add -funwind-tables.
5261 (decode_g_option): Clarify warning when unknown -g option is given.
5262 (rest_of_compilation): If inside an inlined external function,
5263 pretend we are just being declared.
5265 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
5266 (dwarf2out_frame_finish): Likewise.
5268 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
5270 * fold-const.c (merge_ranges): If not in0, but in1, handle
5271 upper bounds equal like subset case.
5273 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
5275 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
5276 passed in a register but moved to the stack.
5278 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
5280 * gcc.c (pass_exit_codes, greatest_status): New variables.
5281 (struct option_map): Add entry for "--pass-exit-codes".
5282 (execute): Update greatest_status if error.
5283 (display_help): Add documentation for -pass-exit-codes.
5284 (process_command): Handle -pass-exit-codes.
5285 (main): Look at pass_exit_codes and greatest_status on call to exit.
5287 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5289 * reload.c (find_reloads): Refine test for no input reload
5290 case to not includes reloads emitted after insn.
5292 * function.c (find_temp_slots_from_address): Handle sum involving
5293 a register that points to a temp slot.
5294 (update_temp_slot_address): Make recursive call if both old and
5295 new are PLUS with a common operand.
5296 * calls.c (expand_call): Mark temp slot for result as having
5299 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
5301 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
5302 component as well as "BINUTILS".
5304 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
5305 * integrate.c (copy_rtx_and_substitute): Likewise.
5306 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
5307 All callers changed.
5308 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
5310 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
5311 gdb extensions, write size of type; also be more consistent
5312 in using references when this is a subtype.
5314 * pa.md (extv, extzv, insv): Use define_expand to reject constant
5315 that is out of range.
5317 * loop.c (unknown_constant_address_altered): New variable.
5318 (prescan_loop): Initialize it.
5319 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
5320 (invariant_p, case MEM): Remove handling for volatile and readonly;
5321 check new variable if readonly.
5322 (check_dbra_loop): Chdeck unknown_constant_address_altered.
5324 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
5325 (addr_affects_sp_p): Removed from note_mem_written and only
5326 define #ifdef AUTO_INC_DEC.
5328 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
5330 * regclass.c (record_reg_classes): Properly handle register move
5333 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
5334 Don't think valid if both operands are invalid.
5335 (struct constant_descriptor): New field RTL.
5336 (mark_const_hash_entry): Mark it.
5337 (record_constant{,_rtx}): Initialize it.
5338 (output_constant_def): Allocate RTL in permanent obstack and
5340 ({record,compare}_constant_1): Modes must match for
5341 CONSTRUCTOR of ARRAY_TYPE.
5343 * c-common.h (initializer_constant_valid_p): Delete decl from here.
5344 * output.h (initializer_constant_valid_p): Move decl to here.
5345 * c-common.c (initializer_constant_valid_p): Delete function from here.
5346 * varasm.c (initializer_constant_valid_p): Move function to here.
5348 * tree.h (STRIP_SIGN_NOPS): New macro.
5349 * fold-const.c (optimize_minmax_comparison): New function.
5350 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
5351 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
5352 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
5353 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
5354 widening conversions.
5355 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
5356 to look at size of mode, not precision of type; also add missing cases.
5357 (optimize_bit_field_compare, decode_field_reference): Don't try to
5358 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
5360 * dwarf2out.c (ctype.h): Include.
5361 (dwarf2out_set_demangle_name_func): New function.
5362 (size_of_line_info): Deleted.
5363 (output_line_info): Compute size of line info table from difference
5365 (base_type_die, add_name_attribute): Call demangle function, if any.
5366 (field_byte_offset): Use bits per word for variable length fields.
5367 (gen_array_type_die): Add array name.
5368 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
5369 (dwarf2out_add_library_unit_info): New function.
5371 * explow.c (set_stack_check_libfunc): New function.
5372 (stack_check_libfunc): New static variable.
5373 (probe_stack_range): Allow front-end to set up a libfunc to call.
5375 * combine.c (simplify_comparison): When making comparison in wider
5376 mode, check for having commuted an AND and a SUBREG.
5377 (contains_muldiv): New function.
5378 (try_combine): Call it when dividing a PARALLEL.
5379 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
5380 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
5382 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
5383 use one of the CLOBBERs instead.
5384 (if_then_else_cond): If comparing against zero, just return thing
5387 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
5388 Don't generate shifts and subtract if have conditional arithmetic.
5390 * rtl.h (delete_barrier): New declaration.
5391 * jump.c (jump_optimize): Set up to handle conditional call.
5392 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
5393 (delete_barrier): New function.
5395 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
5397 * recog.c (nonmemory_operand): Accept ADDRESSOF.
5399 * tree.c (build_type_attribute_variant): Push to obstack of
5400 ttype around type_hash_canon call.
5402 * expr.c (placeholder_list): Move decl to file scope.
5403 (expand_expr): Don't force access to volatile just because its
5405 If ignoring reference operations, just expand the operands.
5406 (expand_expr, case COMPONENT_REF): Propagate
5407 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
5408 Refine test for using bitfield operations vs pointer punning.
5409 (expand_expr, case CONVERT_EXPR): If converting to
5410 BLKmode UNION_TYPE from BLKmode, just return inner object.
5411 Use proper mode in store_field call.
5412 Properly set sizes of object to store and total size in store_field
5413 call for convert to union.
5414 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
5415 memory (like for ADDR_EXPR). Also, don't put constant in register if
5416 we'll want it in memory.
5417 (readonly_fields_p): New function.
5418 (expand_expr, case INDIRECT_REF): Call it if LHS.
5419 (expand_assignment): Handle a RESULT_DECL where
5420 DECL_RTL is a PARALLEL.
5421 (do_jump, case WITH_RECORD_EXPR): New case.
5422 (get_inner_reference): Always go inside a CONVERT_EXPR
5423 and NOP_EXPR if both modes are the same.
5424 (store_field): Use bitfield operations if size of bitsize is not same
5425 as size of RHS's type.
5426 Check for bitpos not a multiple of alignment in BLKmode case.
5427 Do block move in largest possible alignment.
5428 (store_constructor): Set BITSIZE to -1 for variable size and properly
5429 in case of array of BLKmode.
5430 (expand_expr_unaligned): New function.
5431 (do_compare_and_jump): Call it.
5433 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
5434 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
5435 does not include 'o'.
5437 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
5438 both SET_DEST and SET_SRC reference a virtual register.
5439 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
5441 * integrate.c (expand_inline_function): Handle case of setting
5442 virtual stack vars register (from built in setjmp); when parameter
5443 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
5444 (subst_constant): Add new parm, MEMONLY.
5445 (expand_inline_function, integrate_parm_decls): Pass new parm.
5446 (integrate_decl_tree): Likewise.
5447 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
5448 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
5449 (copy_rtx_and_substitute, case SET): Add explicit calls to
5450 copy_rtx_and_substitute for both sides.
5452 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
5454 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
5455 within INDEX_TYPE, instead of before.
5456 (fixup_gotos): Use f->target_rtl, not the next insn,
5457 since latter may be from a later fixup.
5458 (expand_value_return): Correctly convert VAL when promoting function
5459 return; support RETURN_REG being a PARALLEL.
5460 (expand_return): When checking for result in regs and having
5461 cleanup, consider PARALLEL in DECL_RTL as being in regs.
5463 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
5465 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
5466 last_nominal_fname): Mark const.
5467 (struct include_hash: name, nshort, control_macro): Mark
5469 (struct macrodef: symnam): Mark const.
5470 (struct if_stack: fname): Mark const.
5471 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
5472 (IStable): New character-syntax array which encompasses all
5473 the old is_foo arrays.
5474 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
5475 is_space): New macros for interrogating IStable.
5476 (check_macro_name): Kill last argument. All callers changed.
5478 * cppinit.c (initialize_char_syntax): Delete.
5479 (is_idchar, is_idstart, is_hor_space, is_space,
5480 trigraph_table): Delete.
5481 (IStable): New. Initialize with clever macros to avoid
5482 information duplication.
5483 (builtin_array): Table of builtins to get rid of explicit list
5484 in initialize_builtins.
5485 (initialize_builtins): Use builtins_array.
5486 (cpp_start_read): Call init_IStable, and set IStable['$'] if
5487 opts->dollars_in_ident.
5489 * cppexp.c: Change all refs to is_xyz[] arrays to use new
5491 (cpp_parse_expr): Avoid 'format string is not constant'
5492 warning. Use ISGRAPH to identify printable chars.
5493 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
5495 (read_and_prescan): Map trigraphs to chars with open-coded
5496 if-else-if-... sequence, not a lookup table.
5497 * cpphash.c: Change all refs to is_xyz[] arrays to use new
5499 * cpplib.c: Change all refs to is_xyz[] arrays to use new
5500 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
5501 (check_macro_name): Remove ability to report an invalid
5502 assertion name, which is never used.
5503 (do_line): Constify a couple of char *'s.
5504 * cppmain.c (main): Call cpp_cleanup before returning.
5506 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
5508 * ggc.h (struct ggc_statistics): New type.
5509 (ggc_get_size): New function.
5510 (ggc_print_statistics): Likewise.
5511 * ggc-common.c (ggc_stats): New variable.
5512 (ggc_mark_rtx_children): Keep statistics.
5513 (ggc_mark_tree_children): Likewise.
5514 (ggc_print_statistics): New function.
5515 * ggc-page.c (struct globals): Add bytes_mapped field.
5516 (alloc_anon): Update it.
5517 (release_pages): Likewise.
5518 (ggc_get_size): New function.
5519 (ggc_page_print_statistics): New function.
5520 * ggc-simple.c (ggc_get_size): New function.
5522 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
5524 * flow.c (propagate_block): When the last reference to a label
5525 before an ADDR_VEC is deleted because the reference is a dead
5526 store, delete the ADDR_VEC.
5528 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
5530 * resource.c (find_free_register): Don't use the frame pointer
5531 if frame_pointer_needed.
5533 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
5535 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
5536 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
5538 * config/i960/i960.c (i960_va_start): New locals base, num.
5539 Use INDIRECT_REF instead of ARRAY_REF on valist.
5540 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
5542 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
5544 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
5546 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
5548 * tree.def (PLACEHOLDER_EXPR): Update comments.
5550 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5552 * c-common.c (check_format_info): Avoid non-literal format string
5553 warnings when `first_arg_num' is zero.
5555 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5557 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
5559 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
5561 * arm.md (casesi_insn): Add a clobber of the condition code
5564 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
5566 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
5567 used by both cc1 and cc1plus.
5569 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
5571 * config/arm/arm.c: Initialise arm_structure_size_boundary to
5572 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
5573 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
5574 to the value 32 if it has not already been defined.
5575 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
5576 Override definition in arm.h with a value of 8.
5578 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
5580 * c-pragma.c (push_alignment): Don't check the return value
5583 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
5585 * sparc.h (ADJUST_COST): Fix thinko.
5587 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
5589 * cccp.c (rescan): Fixed obp pointer handling around call to
5590 check_expand subroutine.
5592 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
5594 * gcse.c (delete_null_pointer_checks): Only record non-null info
5595 for pseudos when examining stores.
5597 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
5598 splitters for these patterns. Use "#" for output templates.
5599 (addsi3_carryin_shift): New pattern.
5601 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
5603 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
5604 of the function return register into a plain REG until
5605 after function inlining is done.
5607 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
5609 * jump.c (jump_optimize_1): If we did cross-jumping, and
5610 the data will matter, rebuild the CFG.
5611 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
5612 not optimizing. Don't run shorten_branches.
5613 * toplev.c (rest_of_compilation): Run shorten_branches after
5616 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
5618 * rtl.h (note_stores): Add additional paramter.
5619 * rtlanal.c (reg_set_p_1): Take additional paramter.
5620 (reg_set_last_1): Likewise.
5621 (reg_set_p): Adjust call to note_stores.
5622 (reg_set_last): Likewise.
5623 (note_stores): Pass data parameter to worker function.
5624 * alias.c (record_set): Take additional parameter.
5625 (init_alias_analysis): Pass it.
5626 * caller-save.c (mark_set_regs): Take additional parameter.
5627 (save_call_clobbered_regs): Pass NULL to note_stores.
5628 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
5630 (record_dead_and_set_regs_1): Likewise.
5631 (reg_dead_at_p_1): Likewise.
5632 (combine_instructions): Adjust calls to note_stores.
5633 (try_combine): Likewise.
5634 (record_dead_insn): Remove.
5635 (record_dead_and_set_regs): Adjust calls to note_stores.
5636 (reg_dead_at_p): Likewise.
5637 * cse.c (invalidate_skipped_set): Take additional parameter.
5638 (cse_check_loop_start): Likewise.
5639 (cse_check_loop_start_value): Remove.
5640 (cse_set_around_loop): Adjust calls to note_stores.
5641 * flow.c (notice_stack_pointer_modification): Take additional
5642 parameter. Remove duplicate declaration.
5643 (record_volatile_insns): Adjust calls to note_stores.
5644 * gcse.c (record_set_info): Take additional parameter.
5645 (record_last_set_info): Likewise.
5646 (invalidate_nonnull_info): Likewise.
5647 (record_set_insn): Remove.
5648 (compute_sets): Adjust calls to note_stores.
5649 (last_set_insn): Remove.
5650 (compute_hash_table): Adjust calls to note_stores.
5651 (insert_insn_end_bb): Likewise.
5652 (delete_null_pointer_checks): Likewise.
5653 * global.c (mark_reg_store): Take additional parameter.
5654 (mark_reg_clobber): Likewise.
5655 (reg_becomes_live): Likewise.
5656 (global_conflicts): Adjust calls to note_stores.
5657 (build_insn_chain): Likewise.
5658 * integrate.c (note_modified_parmregs): Take additional parameter.
5659 (mark_stores): Likewise. Make it static.
5660 (save_for_inline_nocopy): Adjust calls to note_stores.
5661 (try_constants): Likewise.
5662 * integrate.h (mark_stores): Remove declaration.
5663 * jump.c (mark_modified_reg): Take additional parameter.
5664 (thread_jumps): Adjust calls to note_stores.
5665 * local-alloc.c (validate_equiv_mem_from_store): Take additional
5667 (no_equiv): Likewise.
5668 (reg_is_set): Likewise.
5669 (validate_equiv_mem): Adjust calls to note_stores.
5670 (update_equiv_regs): Likewise.
5671 (block_alloc): Likewise.
5672 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
5673 (note_addr_stored): Take additional parameter.
5674 (note_set_pseudo_multiple_uses): Likewise.
5675 (record_initial): Likewise.
5676 (prescan_loop): Adjust calls to note_stores.
5677 (strength_reduce): Likewise.
5678 (check_dbra_loop): Likewise.
5679 * regmove.c (flags_set_1): Take additional paramter.
5680 (mark_flags_life_zones): Adjust calls to note_stores.
5681 * reload1.c (mark_not_eliminable): Take additional parameter.
5682 (forget_old_reloads_1): Likewise.
5683 (reload_cse_invalidate_rtx): Likewise.
5684 (reload_cse_check_clobber): Likewise.
5685 (reload_combine_note_store): Likewise.
5686 (move2add_note_store): Likewise.
5687 (reload): Adjust calls to note_stores.
5688 (reload_as_needed): Likewise.
5689 (emit_reload_insns): Likewise.
5690 (reload_cse_regs_1): Likewise.
5691 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
5692 (reload_combine): Adjust calls to note_stores.
5693 * resource.c (update_live_status): Take additional paramter.
5694 (mark_target_live_regs): Adjust calls to note_stores.
5695 * stupid.c (find_clobbered_regs): Take additional parameter.
5696 (stupid_life_analysis): Adjust calls to note_stores.
5698 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
5700 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
5703 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
5706 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
5707 of the variable arm_structure_size_boundary.
5709 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
5711 * alias.c (init_alias_analysis): Allocate reg_known_value and
5712 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
5714 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
5715 * cse.c (cse_main): Call end_alias_analysis.
5716 * haifa-sched.c (schedule_insns): Likewise.
5717 * local-alloc. (update_equiv_regs): Likewise.
5718 * reload1.c (reload_cse_regs): Likewise.
5720 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5722 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
5723 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
5724 mapping from MASK_FPU.
5726 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
5728 * sparc.md (call): Don't bound structure return size to 0xfff.
5730 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
5732 * resource.c (mark_target_live_regs): Check that the target
5733 insn wasn't created after compute_bb_for_insn.
5735 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
5737 * ggc-page.c (poison_pages): Don't be overzealous.
5739 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
5741 * alias.c: Update comments for ADDRESS.
5742 (nonlocal_reference_p): Look inside the ADDRESS to determine if
5743 it is a local memory reference.
5745 * c-typeck.c (build_function_call): Check that the built-in
5746 function is of class BUILT_IN_NORMAL before trying to recongize
5748 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
5749 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
5751 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
5753 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
5755 (pre_gcse): Likewise.
5756 (hoist_expr_reaches_here_p): Likewise.
5757 (hoist_code): Likewise.
5758 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
5760 (pre_expr_reaches_here_p_work): ... here.
5761 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
5763 (expr_reaches_here_p_work): ... here.
5765 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
5767 * resource.c (find_basic_block): Delete.
5768 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
5769 (init_resource_info): Call compute_bb_for_insn.
5771 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
5773 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
5774 with already adjacent blocks, but no fallthru.
5775 (merge_blocks_move_successor_nojumps): Simplify.
5776 (debug_flow_info): New.
5778 * toplev.c (rest_of_compilation): Open jump1 dump file before
5779 jump and close after, as opposed to just using dump_rtl.
5781 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5783 * reload.h (earlyclobber_operand_p): Declare.
5784 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
5785 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
5786 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
5787 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
5789 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
5790 Richard Henderson <rth@cygnus.com>
5792 * emit-rtl.c (emit_block_insn_before): New.
5793 (emit_block_insn_after): New.
5794 * basic-block.h: Declare them.
5796 * bitmap.h: Protect from multiple inclusion.
5798 * recog.c (scratch_operand): Handle VOIDmode correctly.
5800 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
5802 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
5803 * function.c (assign_parms): Likewise.
5804 * global.c (global_conflicts): Clarify STACK_REGS commentary.
5806 * reg-stack.c (max_uid): Remove.
5807 (blocks, block_begin, block_end, block_drops_in): Remove.
5808 (block_stack_in, block_out_reg_set, block_number): Remove.
5809 (struct block_info_def, BLOCK_INFO): New.
5810 (enum emit_where): New.
5811 (current_block): New.
5812 (BLOCK_NUM): Remove.
5813 (mark_regs_pat, record_label_references): Remove.
5814 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
5816 (goto_block_pat, print_blocks, dump_stack_info): Remove.
5817 (reg_to_stack): Simplified test for existance of fp code. Use
5818 flow.c code. Call shorten_branches after cross-jump opt.
5819 (check_asm_stack_operands): Renamed from record_asm_reg_life.
5820 Return false if the asm doesn't use stack regs. Don't do life
5821 analysis on the asm.
5822 (emit_pop_insn): Replace function pointer arg `when' with
5823 enum `where'. Update all callers.
5824 (change_stack): Likewise. Update basic block end.
5825 (emit_swap_insn): Use current_block->head to limit reverse search
5826 for start of block. Use emit_block_insn_after.
5827 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
5828 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
5829 structure assignment instead of bcopy.
5831 (convert_regs_entry, convert_regs_exit): New.
5832 (convert_regs_1, convert_regs_2): Split out from convert_regs.
5833 Work on basic blocks and the CFG.
5834 (convert_regs): Use them.
5836 * i386.c (output_fix_trunc): Remove code for DImode input operand
5837 not at top-of-stack.
5838 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
5840 (fix_truncdi_1): Allow any mode scratch.
5842 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
5844 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
5845 * linux.h, netbsd.h, vms.h: Not here.
5847 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
5849 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
5850 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
5851 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
5852 CONDITIONAL_REGISTER_USEAGE): Use them.
5853 * config/mips/mips.c (mips_move_1word,mips_move_2words,
5854 gen_conditional_branch,override_options) : Use them.
5855 * config/mips/mips.md : Use them.
5857 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
5859 * i386.md (zero_extendqihi2): Use SImode register name with andl.
5861 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
5863 * integrate.c (function_cannot_inline_p): Don't allow inlining
5866 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5868 * c-parse.in (cast_expr): Constify.
5870 * cccp.c (special_symbol): Likewise.
5872 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
5874 * dwarf2out.c (base_type_die): Likewise.
5876 * global.c (allocno_compare): Likewise.
5878 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
5880 * regclass.c (fix_register): Likewise.
5882 * rtl.h (fix_register): Likewise.
5884 * stupid.c (stupid_reg_compare): Likewise.
5886 * toplev.c (decode_f_option): Likewise.
5888 * tree.c (build_complex_type): Likewise.
5890 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
5892 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
5894 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5896 * reload.c (find_reloads): Compute mode and nregs fields of all
5898 * reload1.c (calculate_needs_all_insns): Simplify a bit.
5899 (calculate_needs): Use precomputed mode/nregs values.
5900 (allocate_reload_reg): Likewise.
5902 (failed_reload, set_reload_reg): ... new functions.
5903 (choose_reload_regs_init): New function, mostly broken out from...
5904 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
5905 Also lose one #if 0 block.
5907 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
5909 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
5912 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
5914 * tree.h (BLOCK_TYPE_TAGS): Remove.
5915 (BLOCK_END_NOTE): Likewise.
5916 (BLOCK_LIVE_RANGE_FLAG): Likewise.
5917 (BLOCK_LIVE_RANGE_START): Likewise.
5918 (BLOCK_LIVE_RANGE_END): Likewise.
5919 (tree_block): Remove live_range_flag, live_range_var_flag, and
5920 type_tags. Remove end_note, live_range_start, and live_range_end.
5921 (remember_end_note): Remove prototype.
5922 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
5923 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
5925 * ggc-common.c (ggc_mark_tree_children): Don't mark
5926 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
5927 * integrate.c (adjust_copied_decl_tree): Remove.
5928 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
5929 * stmt.c (last_block_end_note): Remove.
5930 (init_stmt): Don't add a GC root for it.
5931 (expand_fixup): Don't set it.
5932 (remember_end_note): Remove.
5933 (expand_end_bindings): Don't set last_block_end_note.
5935 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5937 * reload1.c (reload_reg_free_for_value_p): Show
5938 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
5941 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
5943 * expmed.c (extract_bit_field): Allow for the case of non-integer
5944 objects that are smaller than a word (like SFmode on a 64-bit
5947 * loop.c (basic_induction_var): A non-integer variable which is
5948 being set by a paradoxical subreg is probably not a biv.
5950 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5952 * prefix.c (translate_name) Check for empty prefix string.
5954 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
5956 * Makefile.in (CPP_CROSS_NAME): New variable.
5957 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
5959 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
5960 names of the files to be uninstalled.
5962 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
5964 * collect2.c (IS_DIR_SEPARATOR): Define.
5965 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
5967 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
5970 * haifa-sched.c (add_dependence): Update the true dependency
5971 cache the first time we add a true dependence to the LOG_LINKS chain.
5973 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
5975 * fold-const.c (fold): Fix comment.
5977 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5979 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
5980 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
5981 dbxout_start_new_source_file, dbxout_source_file,
5982 dbxout_source_line, dbxout_finish, dbxout_type_fields,
5983 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
5985 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
5986 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
5987 (dbxout_block): Initialize variable `blocknum'.
5989 * dbxout.h (dbxout_init, dbxout_finish,
5990 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
5991 dbxout_args, dbxout_source_line): Constify a char*.
5993 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
5994 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
5995 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
5996 low_pc_attribute, high_pc_attribute, body_begin_attribute,
5997 body_end_attribute, comp_dir_attribute, sf_names_attribute,
5998 src_info_attribute, mac_info_attribute, producer_attribute,
5999 lookup_filename, generate_macinfo_entry, fundamental_type_code,
6000 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
6001 dwarfout_undef): Constify a char*.
6002 (add_incomplete_type, retry_incomplete_types): Add prototypes.
6004 * dwarfout.h (dwarfout_define, dwarfout_undef,
6005 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
6007 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
6009 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
6010 (MULTILIB_ISA_DEFAULT): New.
6011 (MULTILIB_DEFAULTS): Use it.
6012 * config/mips/mips.c (): Remove the now unnecessary definition
6013 of MIPS_ISA_DEFAULT.
6014 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
6015 unnecessary definition.
6017 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
6019 * arm.md (pic_load_addr): Add constraints to operand 1.
6021 1999-10-25 Bruce Korb <autogen@linuxbox.com>
6023 * fixinc/genfixes: Provide a means for specifying -D options to
6026 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
6028 * arm.c (arm_override_options): Correct initialization of
6029 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
6030 arm_is_strong, and arm_is_6_or_7.
6032 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
6033 (note_set_pseudo_multiple_uses): New function.
6034 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
6035 if a pseudo set in the loop exit is used elsewhere.
6037 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
6039 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
6041 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
6043 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
6044 a single load-address pattern.
6046 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
6048 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
6049 depending on whether or not line-number notes are present.
6051 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6053 * cccp.c (progname, file_buf, default_include, include_file,
6054 macrodef, definition, hashval, wchar_type, user_label_prefix,
6055 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
6056 expand_to_temp_buffer, is_system_include, base_name,
6057 absolute_filename, read_name_map, open_include_file,
6058 record_control_macro, check_precompiled, check_preconditions,
6059 pcfinclude, pass_thru_directive, create_definition,
6060 check_macro_name, comp_def_part, collect_expansion,
6061 check_assertion, read_token_list, assertion_install,
6062 assertion_lookup, eval_if_expression, conditional_skip,
6063 validate_else, skip_quoted_string, quote_string, macarg1,
6064 error_from_errno, install, lookup, hashf, dump_defn_1,
6065 perror_with_name, pfatal_with_name, main, trigraph_pcp,
6066 check_white_space, rescan, handle_directive, monthnames,
6067 special_symbol, do_include, remap_include_file, write_output,
6068 arglist, do_assert, do_unassert, do_line, do_error, do_once,
6069 do_ident, do_sccs, do_xifdef, skip_if_group,
6070 output_line_directive, macroexpand, macarg, change_newlines,
6071 initialize_builtins, make_definition): Constify a char*.
6073 * pcp.h (stringdef): Likewise.
6075 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
6077 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
6080 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
6081 Richard Henderson <rth@cygnus.com>
6083 * alias.c: Include ggc.h.
6084 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
6085 (record_set): Verify enough room in reg_base_value.
6086 (init_alias_analysis): Allocate reg_base_value with xcalloc.
6087 Register it as a GC root.
6088 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
6089 * Makefile.in (alias.o): Depend on ggc.h.
6091 * unroll.c (unroll_loop): Verify the insn before a barrier
6092 is a JUMP_INSN before checking JUMP_LABEL.
6094 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6096 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
6097 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
6098 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
6099 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
6100 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
6101 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
6103 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6105 * output.h (ctors_section, dtors_section, bss_section): Prototype.
6107 * alpha/alpha-interix.h (text_section): Delete prototype.
6108 * alpha/elf.h (text_section): Likewise.
6109 * arm/linux-elf.h (text_section): Likewise.
6110 * arm/linux-telf.h (text_section): Likewise.
6111 * c4x/c4x.h (text_section): Likewise.
6112 * dsp16xx/dsp16xx.h (bss_section): Likewise.
6113 * elfos.h (text_section): Likewise.
6114 * i386/aix386ng.h (text_section): Likewise.
6115 * i386/i386-interix.h (text_section): Likewise.
6116 * i386/sco5.h (text_section): Likewise.
6117 * i386/svr3gas.h (text_section): Likewise.
6118 * nextstep.h (text_section): Likewise.
6119 * psos.h (text_section): Likewise.
6120 * ptx4.h (text_section): Likewise.
6121 * svr3.h (text_section): Likewise.
6122 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
6124 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6126 * final.c (peephole): Delete prototype.
6128 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
6129 (pre_insert_copies): Remove unused variable `bb'.
6131 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
6134 * output.h (peephole): Add prototype.
6136 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
6138 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
6141 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
6143 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
6144 for inlined declarations.
6146 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
6148 * arm.c (logical_binary_operator): New fucntion.
6149 * arm.h (logical_binary_operator): Declare it.
6150 (PREDICATE_CODES): Handle logical_binary_operator.
6151 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
6152 output constraints. Add appropriate splitters.
6153 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
6154 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
6155 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
6157 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6159 * genoutput.c (struct operand_data): New elt eliminable.
6160 (output_operand_data): Write it.
6161 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
6162 (compare_operands): Take it into account.
6163 * recog.h (struct insn_operand_data): New elt eliminable.
6164 * reload1.c (check_eliminable_occurrences, elimination_effects): New
6166 (old_asm_operands_vec, new_asm_operands_vec): Delete.
6167 (eliminate_regs): Move code that detects changes to elimination
6168 target regs into new function elimination_effects.
6169 Delete one #if 0 block.
6170 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
6171 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
6172 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
6173 Only call eliminate_regs for real operands of the insn, not for parts
6174 of its structure or parts matched by things like match_operator.
6175 Use elimination_effects and check_eliminable_occurrences. Use
6176 copy_insn to duplicate the pattern when not in the final pass.
6178 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
6180 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
6183 1999-10-22 Bruce Korb <autogen@linuxbox.com>
6185 * fixinc/README: document the "mach" machine matching test
6186 * fixinc/fixfixes.c: Implement the #else/#endif label fix
6187 * fixinc/fixtests.c: Implement the #else/#endif label test
6188 * fixinc/inclhack.def: utilize these tests and fixes
6189 * fixinc/inclhack.sh: regen
6190 * fixinc/fixincl.x: regen
6191 * fixinc/fixincl.sh: regen
6193 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
6195 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
6198 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
6200 * gcc.1: Document exit codes.
6202 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6204 * calls.c: Include tm_p.h later, so everything we need is defined.
6206 * function.c: Likewise.
6208 * except.c: Include tm_p.h.
6210 * sparc.c: Likewise.
6211 (dwarf2out_cfi_label): Don't prototype.
6212 (check_return_regs, epilogue_renumber,
6213 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
6214 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
6215 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
6216 ultra_schedule_insn): Add static prototype.
6217 (data_segment_operand, text_segment_operand): Call itself with the
6218 proper number of arguments.
6219 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
6221 * sparc.h: Move all declarations to sparc-protos.h.
6222 (SELECT_RTX_SECTION): Pass a missing MODE argument to
6225 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
6227 * config/svr4.h (text_section, ctors_section, dtors_section): Add
6229 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
6230 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6231 ASM_OUTPUT_ASCII): Constify a char*.
6233 * sparc-protos.h: New file for sparc prototypes.
6235 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6237 * function.c (record_insns, contains): Always declare and define.
6238 (record_insns): Mark with ATTRIBUTE_UNUSED.
6240 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
6242 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
6243 to .section when outputting a .bss section to deal with multiple
6244 .bss input sections (as happens with -fdata-sections)
6245 Also output %progbits, not @progbits so the assembler doesn't treat as
6247 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
6249 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
6250 thumb parts even when building with non-thumb CPUs, by forcing
6253 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
6255 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
6256 (movdf_const_intreg_sp64): Similarly.
6258 * local-alloc.c (update_equiv_regs): Check the correct insn
6259 for pre-existing REG_EQUIV notes.
6261 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
6263 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
6264 block reached by a branch if we're not going to actually process
6267 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
6269 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
6270 a local extern function declaration.
6272 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
6274 * i386.c (ix86_expand_prologue): Properly wrap USE around
6275 reg for CALL_INSN_FUNCTION_USAGE.
6277 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
6279 * config/mips/mips.md (movdf_internal1a): Allow floating-point
6280 move between GP_REGs.
6282 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
6284 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
6285 the mode size when finding out if an offset is legal.
6287 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
6289 * basic-block.h (PROP_*): Move constants from ...
6291 (compute_bb_for_insn): Free the array before reallocating.
6292 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
6293 (allocate_reg_life_data): Reset all reg variables collected by
6295 (get_block_head_tail): Don't convert from bb to block.
6296 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
6297 (find_insn_reg_weight): Take block not bb.
6298 (schedule_block): Don't set block num for moved insns.
6299 (schedule_region): Don't update_life_info or find_insn_reg_weight.
6300 (schedule_insns): Do it here instead.
6301 * combine.c (combine_instructions): Invoke compute_bb_for_insn
6302 before update_life_info.
6303 * recog.c (split_all_insns, peephole2_optimize): Update for
6304 new arg to update_life_info.
6305 * rtlanal.c (remove_note): Cope with NULL note.
6306 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
6309 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
6311 * jump.c (jump_optimize_1): More accurately detect casesi insns.
6313 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
6314 block records so that merge_blocks_nomove will clean up correctly.
6315 (split_edge): Handle casesi insns.
6317 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
6319 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
6321 * pa.md (call, call_value): Do not emit a blockage after restoring
6324 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
6326 * c-typeck.c (c_expand_asm_operands): Fix typo.
6328 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6330 * arm.c (fpu_rhs_operand): Verify modes.
6331 (fpu_add_operand): Likewise.
6332 (di_operand): Likewise.
6333 (soft_df_operand): Likewise.
6335 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
6337 * arm.c (arm_return_in_memory): APCS rules state that the elements
6338 of a structure returned in a register must be 'integer-like'.
6340 1999-10-19 Bruce Korb <autogen@linuxbox.com>
6342 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
6343 in the source tree when the generated targets are out of date
6344 * fixinc/genfixes: Alter it to run individual fixes for make.
6345 * fixinc/README: rewrite
6346 * fixinc/inclhack.def: moved initial comments to README
6348 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
6350 * toplev.c (main): Do not generate an error message if an
6351 unrecognised command line switch is recognisable by another
6352 language. If extra_warnings are enabled, then generate a
6353 warning message instead.
6355 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
6357 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
6358 (insert_pack_attributes): Delete prototype.
6360 * c-pragma.c (default_alignment): New static variable.
6361 (push_alignment): Initialize to current effective alignment.
6362 (pop_alignment): Use to set new alignment.
6363 (insert_pack_attributes): Delete function.
6364 (handle_pragma_token): Set default_alignment as well each time
6365 a #pragma pack(<n>) is encountered.
6367 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
6369 * reg-stack.c (stack_result): Aggregates are not returned in
6372 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
6374 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
6376 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
6378 * basic-block.h (set_block_num): Declare.
6379 * flow.c (update_life_info): Don't call compute_bb_for_insn
6380 or free_basic_block_vars.
6381 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
6382 (insn_orig_block): Remove.
6383 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
6384 (schedule_block): Keep BLOCK_NUM up-to-date.
6385 (schedule_insns): Use compute_bb_for_insn.
6386 * recog.c (split_all_insns): Likewise.
6387 (peephole2_optimize): Likewise.
6389 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
6391 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
6392 if the pic register is used.
6394 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6396 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
6397 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
6398 if that tests TREE_PERMANENT.
6400 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
6402 * cse.c (invalidate_for_call): Do not remove memory references from
6403 the table here. It's handled elsewhere.
6405 * haifa-sched.c (add_dependence): Protect references to the
6406 true dependency cache with #ifdef INSN_SCHEDULING.
6407 (remove_dependence): Similarly.
6409 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
6410 to the cfg code that this is a return instruction.
6411 * mn10300.md (return_internal): Similarly.
6413 * combine.c (get_last_value): If the last set of a register
6414 is after subst_low_cuid, then we can not use it to determine
6415 the register's last value.
6417 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
6419 * Makefile.in: Back out previous change.
6421 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
6423 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
6425 * haifa-sched.c (add_dependence): Only check/update the cache
6427 (remove_dependence): Likewise.
6428 (schedule_insns): Only create the true_dependency_cache if the
6429 average number of instructions in a basic block is very large.
6431 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
6433 * Makefile.in (ggc-common.o): Depend on genrtl.h.
6434 (ggc-simple.o): Likewise.
6435 (ggc-page.o): Likewise.
6437 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
6439 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
6440 Prototype for exported functions.
6441 (pre_lcm, pre_rev_lcm): Remove prototypes.
6442 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
6443 (compute_available): Move to lcm.c, and change parameter order.
6444 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
6445 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
6446 (gcse_main): No longer call compute_preds_succs. Rebuild the
6447 set table after reach pre pass.
6448 (pre_insert_map, pre_delete_map, edge_list): New.
6449 (alloc_pre_mem): Allocate edge vectors.
6450 (free_pre_mem): Delete edge vectors.
6451 (compute_pre_data): Call new edge based lcm routines.
6452 (process_insert_insn): New function.
6453 (insert_insn_end_bb): Use it.
6454 (pre_edge_insert): New function.
6455 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
6457 (pre_insert_copies): Revamp using new edge based lcm outputs.
6458 (pre_delete): Likewise.
6459 (one_pre_gcse_pass): Insert & remove fake edges to the exit
6461 (compute_code_hoist_vbeinout): New new edge based routines.
6462 * lcm.c: Remove all the old LCM functions. Replace with new ones
6463 that work with the new cfg datastructures and work with edges
6466 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6468 * reload.h (struct reload): Add new fields "mode" and "nregs".
6469 * reload1.c: Change all occurrences of reload_mode and reload_nregs
6470 to reference the "mode" and "nregs" field within struct reload.
6472 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
6474 * haifa-sched.c (true_dependency_cache): New.
6475 (add_dependence): Use the true dependency cache to avoid expensive
6476 walks down the LOG_LINKS dependency list. Add entries to the
6478 (remove_dependence): Remove entries from the true dependency cache
6480 (schedule_insns): Allocate and initialize and free the true
6483 * haifa-sched.c (schedule_insns): Do not remove inter-block
6484 dependencies anymore.
6486 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
6488 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
6489 * i386/t-winnt: Likewise.
6491 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
6493 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
6495 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
6497 * Makefile.in (LANGUAGES): Omit "proto".
6498 (clean): Remove stale comment about removing unprotoize.c.
6500 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6502 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
6503 using arithmetic on void pointers.
6505 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
6507 * haifa-sched.c (compute_block_forward_dependencies): Only check
6508 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
6510 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
6512 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
6513 (expr_equiv_p): Reject memories with different alias sets.
6515 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
6517 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
6518 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
6519 (f_options): Add "bounded-pointers" and "bounds-check" entries.
6520 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
6521 (lang_init): Set default for flag_bounds_check if still "unspecified".
6523 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6525 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
6527 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6529 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
6532 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6534 * config/c4x/c4x.md (*db_noclobber,
6535 *decrement_and_branch_until_zero_noclobber): New patterns and
6536 associated splitters.
6538 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6540 * config/c4x/c4x.md (parallel instruction patterns): Rework
6541 constraints to keep reload happy.
6543 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6545 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
6546 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
6547 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
6548 Add new patterns and associated post-reload splitters.
6550 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6552 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
6554 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6556 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
6558 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
6560 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6562 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
6565 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
6567 * pa.c (move_operand): Rely on memory_address_p to determine the
6568 validity of non-indexed memory addresses.
6569 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
6570 operand in DFmode and SFmode when generating PA2.0 code.
6572 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
6574 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
6576 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
6578 * mips.c (function_prologue): Fix argument types.
6579 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
6580 (casesi_internal): Write to the scratch register.
6582 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
6584 * cppexp.c (cpp_parse_escape): Make static. Change second arg
6586 (parse_charconst): Delete unnecessary cast when calling
6588 (cpplib.h): Kill prototype of cpp_parse_escape.
6590 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
6592 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
6593 * unroll.c (unroll_loop): Cast return value of alloca.
6594 * i370/i370.c: Include function.h and toplev.h.
6595 (i370_label_scan): Remove c++ commented abort.
6596 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
6597 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
6598 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
6599 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
6601 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
6603 * config/t-freebsd: Do not override USER_H.
6604 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
6606 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
6607 Mumit Khan <khan@xraylith.wisc.edu>
6609 * c-parse.in (component_decl): Support anonymous struct/union.
6611 * c-parse.y: Regenerate.
6612 * c-parse.c: Likewise.
6613 * objc/objc-parse.y: Likewise.
6614 * objc/objc-parse.c: Likewise.
6615 * c-decl.c (finish_struct): Don't sort the fields.
6616 (field_decl_cmp): Delete unused function.
6618 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
6620 * sparc.md (movsf_const_intreg): Revert last constraint change.
6621 (movdf_const_intreg_sp32): Likewise.
6623 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
6625 * cse.c: Include hashtab.h instead of splay-tree.h
6626 (struct cse_reg_info): No longer use variant union. Add new
6627 field "regno". All references changed to avoid union.
6628 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
6629 (free_cse_reg_info): Remove.
6630 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
6631 (get_cse_reg_info): Revamp to use expandable hash tables instead
6632 of splay trees. Initialize new fields in cse_reg_info structure.
6633 (new_basic_block): Similarly.
6635 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
6637 * genrecog.c (message_with_line): Prototype.
6638 (validate_pattern): Pass along the set for the dest, not a flag.
6639 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
6640 Check for PC/CC0 as sources.
6641 (nodes_identical): Check for children position match before
6642 allowing the combination.
6644 * rtl.c (read_rtx): Track line number across \\\n.
6646 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
6648 * mips.h (SPECIAL_MODE_PREDICATES): New.
6649 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
6650 (movdi+1, movsi+1): Add output reload constraint.
6651 (casesi_internal): Likewise. Fix commentary.
6652 (return_internal): Use pmode_register_operand.
6654 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
6656 * 1750a.md (movstrqi): Add missing output reload constraint.
6657 (call_value): Likewise.
6658 * a29k.md (cpxxx patterns): Add missing match_operator mode.
6659 (jmpfdec): Add missing inout reload constraint.
6660 * elxsi.md (addsi patterns): Add missing output reload constraint.
6661 (move from sp): Use @ alternates.
6662 (call_value): No constraint on output.
6663 * fr30.md (movsi_pop): Add missing output reload constraint.
6664 (movsf_constant_store): Likewise.
6665 (splits): Remove constraints.
6666 (subsi3): Add missing mode.
6667 * i370.md (cmpstrsi+1): Add missing output reload constraint.
6668 (call_value): Likewise.
6669 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
6670 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
6671 * m32r.md (movsicc_internal): Add output reload constraint.
6672 (movstrsi_internal): Add inout reload constraints.
6673 * m88k.h (reg_names): Don't declare.
6674 (SPECIAL_MODE_PREDICATES): New.
6675 * m88k.md (*): Use register_operand not reg_or_0_operand
6677 * mn10200.h (PREDICATE_CODES): New.
6678 * ns32k.md (ffs pattern): Add output reload constraint.
6679 * pdp11.md (sob pattern): Add inout reload constraint.
6680 * sh.md (splits): Remove constraints.
6681 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
6682 * v850.md (pattern_is_ok_for_epilogue): Likewise.
6683 * vax.md (jgequ pattern): Add inout reload constraint.
6685 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
6687 * configure.in (djgpp): Revert previous patch.
6688 * configure: Rebuit.
6689 * config/i386/djgpp.h: Revert previous patch.
6691 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
6693 * fixinc/inclhack.def: Restore patch lost during last merge of
6694 "no_bogosity" branch.
6695 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
6697 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
6699 * fixincludes: Add a HPUX 11 fix for inttypes.h.
6700 * fixinc/inclhack.def: Same.
6701 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
6703 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
6705 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
6706 as the base of a PLUS.
6708 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6710 * config/c4x/c4x.md: Define mode for remaining unspec operators.
6711 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
6713 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
6715 * pa.md (post_stw+1): Use pmode_register_operand.
6716 (dcacheflush, icacheflush): Likewise.
6718 * i386.md (movstricthi_1): Allow r/r.
6720 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
6722 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
6723 to (not (and (arg0) (arg1))). Similary for and.
6725 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
6726 fallthrough to associate code.
6727 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
6730 * combine.c (simplify_logical): Convert XOR to IOR if operands have
6731 no bits in common; remove XOR to ROTATE conversion.
6733 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6735 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
6737 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6739 * config/c4x/c4x.c (dst_operand): New.
6740 (PREDICATE_CODES): Update.
6741 * config/c4x/c4x.h (dst_operand): Declare it.
6742 * config/c4x/c4x.md: Define mode for each unspec usage.
6743 (move patterns): Use dst_operand predicate instead of src_operand.
6744 (movqi_update, movqf_update): Delete.
6746 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
6748 * recog.c (pmode_register_operand): New.
6749 * recog.h: Declare it.
6750 * genrecog.c (pred_codes): Likewise.
6751 (special_mode_pred_table): Likewise.
6752 (validate_pattern): Don't warn no mode for address_operand.
6754 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
6755 if the operand is not insn-like.
6757 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
6758 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
6760 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
6762 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
6764 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
6765 instead of general_operand in a SET_DEST. Use const_double_operand
6766 instead of an explicit test against CONST_DOUBLE.
6767 (movsf_const_lo): Add missing register mode.
6768 (goto_handler_and_restore): Add auxiliary test for Pmode.
6769 (flush): Adjust to use address_operand.
6770 (return_sf_no_fpu): Add missing output constraint.
6772 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
6774 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
6775 for call return value.
6776 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
6778 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
6780 * toplev.c (main): Only warn about options for other languages.
6781 * collect2.c (main): Pass -w to sub-gcc.
6783 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
6785 * flow.c (propagate_block): Add call-clobbered registers to
6788 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
6789 zapping mem_set_list.
6790 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
6791 (mark_set_1, mark_used_regs): Likewise.
6793 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
6795 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
6797 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6799 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
6800 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
6801 options. Also add a new item "C-only Warning Options" to the
6804 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
6806 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
6807 from multiple calls.
6809 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
6811 * i386.md (call value patterns): Move to the end of the file.
6812 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
6814 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
6816 * configure.in (djgpp configuration): Define extra_objects..
6817 * configure: Rebuilt.
6818 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
6819 (DTORS_SECTION_ASM_OP): Define.
6820 (INIT_SECTION_ASM_OP): Define.
6821 (FINI_SECTION_ASM_OP): Define.
6822 (DATA_SECTION_ASM_OP): Define.
6823 (TEXT_SECTION_ASM_OP): Define.
6824 (EH_FRAME_SECTION_ASM_OP): Define.
6825 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
6826 (STARTFILE_SPEC): Add crtbegin.o.
6827 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
6828 to here from LINK_COMMAND_SPEC.
6829 (DO_GLOBAL_CTORS_BODY): Define.
6830 (CRTSTUFF_USE_FINI_SECTION): Define
6831 (HAS_INIT_SECTION): Delete.
6833 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
6835 * Makefile.in (all.cross): Depend on xcpp$(exeext).
6837 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
6839 * pa.h (PREDICATE_CODES): New.
6841 * genrecog.c (validate_pattern): Condense the destination
6844 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
6846 * alpha.md (call-1): Supply missing mode for operator.
6847 (*): Add missing output reload constraints. Remove constraints
6850 * i386.h (SPECIAL_MODE_PREDICATES): New.
6851 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
6852 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
6853 (addsi_lea_3): Add missing mode for op 3.
6854 (prologue_set_got, prologue_get_pc): Add missing modes.
6855 (*) Add missing output reload constraints.
6857 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
6859 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
6860 check for member bit-size overflow and use var_size if it occurs.
6861 (layout_record): Use bitsize_int() to define the type size in bits.
6862 Likewise for computation and assignment to DECL_FIELD_BITPOS.
6863 (layout_decl): Likewise when assigning to DECL_SIZE.
6865 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
6867 * genrecog.c (validate_pattern): Typo last change. Verify
6868 that output operands have output reloads.
6870 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
6872 * genrecog.c (special_mode_pred_table): New.
6873 (NUM_SPECIAL_MODE_PREDS): New.
6874 (find_operand): New.
6875 (validate_pattern): New argument `insn'. Warn for assignment to
6876 any predicate accepting non-lvalues. Conditionaly warn for
6877 match_operand without a mode. Try much harder to match source
6878 and destination modes on a set.
6879 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
6881 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
6883 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
6885 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
6887 * combine.c (simplify_logical): Recognize xor pattern that encodes
6890 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6892 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
6895 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
6897 * ggc-page.c (MAP_FAILED): Provide default.
6899 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
6901 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
6902 * sparc.h (PREDICATE_CODES): Update.
6904 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
6906 * alpha.c (some_ni_operand): New.
6907 * alpha-protos.h: Declare it.
6908 * alpha.h (PREDICATE_CODES): Update.
6909 * alpha.md (sXaddq reload insns): Use some_ni_operand
6910 for SET_DEST instead of some_operand.
6912 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
6913 Jim Wilson <wilson@cygnus.com>
6915 * genrecog.c (maybe_both_true_2): Don't compare modes of
6917 (process_tree): Elide peephole2_insns. Invoke simplify_tests
6918 after find_afterward.
6919 (debug_decision_1): Dump next and afterward codes.
6921 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
6923 * rtl.c (dump_and_abort): Remove.
6924 (fatal_with_file_and_line): New.
6925 (fatal_expected_char): New.
6926 (read_rtx_lineno, read_rtx_filename): New.
6927 (read_skip_spaces): Track line number.
6928 (read_name): Use fatal_with_file_and_line.
6929 (read_rtx): Use fatal_expected_char. Track line number.
6930 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
6932 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
6933 if it isn't a CODE_LABEL.
6935 * genattr.c (main): Set read_rtx_filename.
6936 * genattrtab.c (main): Likewise.
6937 * gencodes.c (main): Likewise.
6938 * genconfig.c (main): Likewise.
6939 * genemit.c (main): Likewise.
6940 * genextract.c (main): Likewise.
6941 * genflags.c (main): Likewise.
6942 * genopinit.c (main): Likewise.
6943 * genoutput.c (main): Likewise.
6944 * genpeep.c (main): Likewise.
6946 * genrecog.c (decision_test.u.insn): Add `lineno'.
6947 (pattern_lineno, error_count): New variables.
6948 (message_with_line): New.
6949 (add_to_sequence): Break out checking code to ...
6950 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
6951 (merge_insn): Use message_with_line.
6952 (make_insn_sequence): Use validate_pattern. Record insn lineno.
6953 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
6955 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6957 * expr.c (store_constructor): Clear union if constructor is empty.
6959 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
6961 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
6962 Add !endian checks. Change %{...} to %(...).
6964 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
6966 * i386.md (*addsi3_cc): Renamed from addcsi3.
6967 (*addsi3_carry): Renamed from addxsi3.
6968 (*subsi3_cc): Renamed from subcsi3.
6969 (*subsi3_carry): Renamed from subxsi3.
6970 (*xorqi_cc_1): Renamed from xorcqi_1.
6971 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
6972 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
6974 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
6976 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
6977 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
6979 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
6981 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
6982 climb up the chain of insns.
6984 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
6986 * genrecog.c (write_subroutine): Careful for null trees.
6987 (process_tree): Don't elide empty functions.
6989 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
6991 * Makefile.in (genrtl.o): Depend on ggc.h.
6992 * configure.in (valloc): Probe for it.
6993 (with-gc): Use ggc-page if valloc present.
6994 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
6995 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
6996 (ggc_alloc_string): Moved from ggc-page.c.
6997 * ggc-none.c (ggc_alloc_obj): New.
6998 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
6999 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
7000 (struct globals): Likewise for dev_zero_fd.
7001 (init_ggc): Likewise for it's initialization.
7002 (ggc_allocated_p): Move careful dereference from ...
7003 (ggc_lookup_page_table): ... here. Delete.
7004 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
7005 (alloc_anon): Use valloc if no mmap.
7006 (release_pages): Use free if using valloc.
7007 (ggc_alloc_obj): Renamed from alloc_obj.
7008 (ggc_set_mark): Renamed from mark_obj.
7009 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
7010 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
7011 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
7012 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
7013 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
7014 (ggc_collect): Use fp printing instead of our own rounding.
7015 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
7016 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
7017 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
7018 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
7019 (struct ggc_string, struct ggc_any): Delete.
7020 (offsetof): Provide default definition.
7021 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
7023 (struct ggc_mem): New, from corpse of ggc_any.
7024 (struct ggc_status): Delete.
7025 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
7026 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
7027 (n_strings_collected, n_anys_collected): Delete.
7028 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
7029 (ggc_alloc_string, ggc_alloc): Delete.
7030 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
7031 (ggc_free_string, ggc_free_any): Delete.
7032 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
7033 (ggc_compare_addresses, ggc_mark_string): Delete.
7034 (ggc_mark_string_if_gcable, ggc_mark): Delete.
7035 (search_data): Delete.
7036 (struct globals): New.
7037 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
7038 (tree_insert, tree_lookup): New.
7039 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
7040 (clear_marks, sweep_objs): New.
7041 (ggc_collect): Gut. Use clear_marks, sweep_objs.
7042 (init_ggc): Set allocated_last_gc.
7043 (ggc_push_context): Gut. Use G.context.
7044 (ggc_pop_context): Likewise.
7045 (ggc_pop_context_1): New.
7046 (debug_ggc_tree): New.
7047 (debug_ggc_balance, tally_leaves): New.
7048 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
7049 (ggc_mark_string_if_gcable): Remove decl.
7050 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
7051 (ggc_mark_rtvec_children): New.
7052 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
7053 (ggc_mark_if_gcable): New decl.
7054 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
7055 (ggc_alloc_tree, ggc_alloc): Likewise.
7056 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
7057 (ggc_alloc_obj): New decl.
7058 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
7059 (ggc_alloc_tree, ggc_alloc): Likewise.
7060 (ggc_set_mark): New decl.
7061 * rtl.h (struct rtx_def): Remove gc_mark.
7062 (struct rtvec_def): Likewise.
7063 * tree.h (struct tree_common): Likewise.
7065 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
7067 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
7068 float_format and thread_file definitions.
7069 * configure: Rebuilt.
7071 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
7073 * extend.texi (Function Names): Document types of function names.
7075 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7077 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
7078 an earlyclobbered output conflict with RELOAD_INPUT reloads.
7080 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7082 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
7084 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7086 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
7088 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
7090 * collect2.c (main): Do prelimnary link on AIX if rflag.
7092 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7094 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
7095 __CTOR_LIST__ in opposite order, which is the correct order for sorted
7097 (__do_global_dtors): similarly for __DTOR_LIST__.
7099 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7100 Diego Novillo <dnovillo@cygnus.com>
7102 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
7105 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
7107 * fixincl/*: Merged "no_bogosity" branch
7108 * fixincl/fixlib.h: protect against doubly defining t_bool
7109 * fixincl/server.h: protect against doubly defining t_bool
7111 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
7113 * genoutput.c: Include toplev.h.
7115 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
7117 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7119 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
7120 * configure: Regenerate.
7122 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
7124 * gcse.c (delete_null_pointer_checks): Returns void.
7126 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7128 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
7129 * emit-rtl.c (copy_insn_1): Likewise.
7131 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
7133 * config/mips/mips.c (mips_build_va_list): Correct
7134 TREE_CHAIN setting when hard-float.
7135 (mips_va_start): Use corrected setting.
7136 (mips_va_arg): Likewise. Also pass a tree to build of
7137 POSTINCREMENT_EXPR rather than a naked 'int'.
7139 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
7141 * ggc.h (ggc_push_context): Fix comment.
7142 (ggc_pop_context): Likewise.
7143 (mark_string_if_gcable): Likewise.
7144 * ggc-common.c (ggc_mark_rtx_children): Use
7145 ggc_mark_string_if_gcable.
7146 * ggc-page.c (ggc_lookup_page_table): New function.
7147 (ggc_allocated_p): Likewise.
7148 (mark_obj): Fix formatting.
7149 (ggc_mark_string_if_gcable): New function.
7150 * ggc-simple.c (ggc_allocated_strings): New variable.
7151 (ggc_strings_used): Likewise.
7152 (ggc_compare_addresses): New function.
7153 (ggc_pop_context): Pop the `any' memory too.
7154 (ggc_mark_string_if_gcable): New function.
7155 (ggc_collect): Initialize and tear down ggc_allocated_strings.
7157 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
7159 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
7160 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
7161 * rs6000.c (expand_block_move): Match movstrsi_?reg register
7164 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
7166 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
7167 (sched_reg_live_length, sched_reg_basic_block): Delete.
7168 (current_block_num, bb_live_regs, old_live_regs): Delete.
7169 (dead_notes, struct sometimes): Delete.
7170 (sched_note_set, birthing_insn_p): Delete.
7171 (adjust_priority): Gut useless reg lifetime code.
7172 (create_reg_dead_note, attach_deaths): Delete.
7173 (attach_deaths_insn, new_sometimes_live): Delete.
7174 (finish_sometimes_live): Delete.
7175 (find_pre_sched_live, find_post_sched_live): Delete.
7176 (update_reg_usage): Delete.
7177 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
7178 (schedule_insns): Delete reg lifetime code.
7179 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
7180 (unlink_other_notes): Adjust REG_NOTE commentary.
7181 (reemit_notes): Use REG_SAVE_NOTE.
7182 (schedule_block): Likewise.
7183 (schedule_region): Allocate bitmap of blocks in region. Use
7184 count_or_remove_death_notes. Use update_life_info.
7186 * rtl.h (REG_SAVE_NOTE): New.
7187 * rtl.c (reg_note_name): Update.
7189 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
7191 * combine.c (refresh_blocks, need_refresh): New.
7192 (combine_instructions): Allocate refresh_blocks. Invoke
7193 update_life_info if needed.
7194 (distribute_notes): Mark refresh_blocks instead of installing
7196 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
7197 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
7199 * Makefile.in (recog.o): Depend on basic-block.h.
7201 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
7203 * genrecog.c (add_to_sequence): Thinko last change: delete
7204 shadowing allow_const_int variable.
7206 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7208 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
7209 __GNUC__ and __GNUC_MINOR__.
7211 * gansidecl.h: Likewise.
7217 * toplev.h: Likewise.
7223 * varray.c: Likewise.
7225 * varray.h: Likewise.
7227 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7229 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
7230 use one before a jump table.
7232 * rtl.def (ADDRESS): Change documentation to match reality.
7233 * md.texi: Don't document it.
7234 * gmicro.md (load address pattern): Use 'p' constraint, delete use
7237 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
7239 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
7241 * genrecog.c (add_to_sequence): Move allow_const_int test outside
7242 known predicate block; default allow_const_int true.
7243 (debug_decision_list): New.
7245 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
7247 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
7249 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
7251 * gcse.c (gcse_main): Avoid global optimizations if we have a
7252 large number of basic blocks and the ratio of edges to blocks
7254 (delete_null_pointer_checks): Likewise.
7256 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
7258 * c-common.c (check_format_info): Warn if format string isn't a
7261 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7263 * configure.in (arm*-*-*): Don't let autoconf remove brackets
7264 * configure: regenerate
7266 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
7268 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
7269 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
7270 (peepholes): Re-enable.
7272 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
7274 * Makefile.in (flow.o): Depend on TREE_H.
7275 * basic-block.h (REG_SET_EQUAL_P): New.
7278 (free_regset_vector): Remove declaration.
7279 (flow_delete_insn_chain): Declare.
7280 (enum update_life_extent): New.
7281 (update_life_info, count_or_remove_death_notes): Declare.
7282 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
7283 Verify register live at bb->global_live_at_start before adding USE.
7284 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
7285 (CLEAN_ALLOCA): New.
7287 (PROP_*): New flags.
7288 (find_basic_blocks_1): Use alloc_EXPR_LIST.
7289 (clear_edges): Zero n_edges.
7290 (make_edge): Increment n_edges.
7291 (split_edge): Don't allocate bb->local_set. Increment n_edges.
7292 (flow_delete_insn_chain): Export.
7293 (delete_block): Decrement n_edges.
7294 (merge_blocks_nomove): Likewise.
7295 (life_analysis): Give life_analysis_1 PROP flags.
7296 (verify_wide_reg_1, verify_wide_reg): New.
7297 (verify_local_live_at_start): New.
7298 (update_life_info): Rewrite to call into propogate_block.
7300 (mark_regs_live_at_end): After reload, if epilogue as rtl,
7301 always mark stack pointer. Conditionally mark PIC register.
7302 After reload, mark call-saved registers, return regsiters.
7303 (life_analysis_1): Accept PROP flags not remove_dead_code.
7304 Call mark_regs_live_at_end before zeroing regs_ever_live.
7305 Use calculate_global_regs_live. Copy global_live_at_end before
7306 calling final propagate_block. Zero reg_next_use on exit.
7307 (calculate_global_regs_live): New.
7308 (allocate_bb_life_data): Don't allocate bb->local_set.
7309 (init_regset_vector, free_regset_vector): Remove.
7310 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
7311 Test flags before every operation. Warn if prologue/epilogue insn
7312 would have been deleted.
7313 (mark_set_regs, mark_set_1): Accept and use FLAGS.
7314 Use alloc_EXPR_LIST.
7315 (mark_used_regs): Accept and use FLAGS, not FINAL.
7316 Remove special handling for RETURN.
7317 (try_pre_increment): Use alloc_EXPR_LIST.
7318 (dump_flow_info): Dump n_edges.
7319 (unlink_insn_chain, split_hard_reg_notes): Remove.
7320 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
7321 (find_insn_with_note, new_insn_dead_notes): Remove.
7322 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
7323 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
7324 (replace_insns): Remove.
7325 (count_or_remove_death_notes): New.
7326 (verify_flow_info): Abort on error after all checks.
7327 (remove_edge): Decrement n_edges.
7328 (remove_fake_edges): Tweek format.
7329 * haifa-sched.c (schedule_insns): Use split_all_insns.
7330 * output.h (update_life_info): Remove declaration.
7331 * recog.c (split_all_insns): From the corpse of split_block_insns,
7332 do the whole function block by block. Use update_life_info.
7333 (recog_last_allowed_insn): New.
7334 (recog_next_insn): Mind it.
7335 (peephole2_optimize): Set it. Walk backwards through blocks.
7336 Use update_life_info.
7337 * rtl.h (update_flow_info, replace_insns): Remove declarations.
7338 (split_all_insns): Declare.
7339 * toplev.c (rest_of_compilation): Thread prologue before flow2.
7340 Use split_all_insns.
7342 * i386.md (or -1 peep2s): Disable.
7344 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
7346 * config/mips/mips.md (movstrsi+[123]) : Combine these into
7347 a single pattern. Scrap the 'd' versions as unnecessary.
7349 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
7350 tablejump_mips162,tablejump_internal4): The operands to a
7351 label_ref must be VOIDmode.
7353 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7355 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
7357 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
7359 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
7361 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
7363 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
7364 cache every function if ggc_p.
7366 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7368 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
7369 instead of copy_rtx. Accept sequences that contain asm statements.
7370 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
7371 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
7372 orig_asm_operands_vector, copy_asm_operands_vector,
7373 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
7375 * rtl.h (copy_insn, copy_insn_1): Declare.
7377 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7379 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
7381 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
7382 arguments to `current_file_function_operand'.
7384 * genrecog.c: Include hard-reg-set.h and resource.h in the
7385 generated output file.
7387 * real.c: Include tm_p.h.
7389 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7391 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
7394 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
7396 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
7397 before the fctiwz insn.
7399 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7400 Mark Mitchell <mark@codesourcery.com>
7402 * tree.c (make_lang_type_fn): New funtion pointer.
7403 (make_lang_type): Call it.
7404 * tree.h (make_lang_type): Declare.
7405 (make_lang_type_fn): Likewise.
7406 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
7408 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
7410 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
7411 make sure that HIGH instructions are copied into BASE_REGS.
7413 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
7415 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
7417 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
7419 * c-decl.c (finish_struct): Use simpler method of
7420 removing elements of a singly-linked list.
7422 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
7424 * alpha.md (peephole2's): Comment out peephole2's that generate
7427 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
7429 * genrecog.c (add_to_sequence): Disable mode check for
7432 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7434 * ggc-simple.c (init_ggc): Set empty_string.
7436 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
7438 * configure.in: Detect mmap. Add --with-gc=foo to select
7439 garbage collector; default to page if mmap available.
7440 * Makefile.in (GGC): Substitute.
7442 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
7444 * c-decl.c (ggc_p): Enable.
7446 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7448 * flow.c (verify_flow_info): Make it extern & unconditionally define.
7450 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
7452 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
7453 string for little-endian-data.
7455 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
7457 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
7458 case somebody tries to compile --enable-checking code with gcc
7461 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
7463 * genrecog.c (add_to_sequence): Verify operand to label_ref is
7466 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
7468 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
7469 * jump.c (jump_optimize_1): Document why.
7471 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7473 * collect2.c (scan_prog_file, scan_libraries): Prototype function
7474 pointers and casts for `int_handler' and `quit_handler'.
7476 * flow.c (verify_flow_info, split_hard_reg_notes,
7477 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
7478 remove_edge, remove_fake_successors): Add static prototypes.
7479 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
7480 (mark_set_1): Initialize variable `regno'.
7481 (unlink_insn_chain): Likewise for variable `curr'.
7482 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
7484 * loop.c (strength_reduce): Initialize variable
7485 `unrolled_insn_copies'.
7486 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
7487 prototypes. Change these functions to take const PTR parameters
7488 to avoid prototype conflict when used as the comparson argument
7490 (check_dbra_loop): Initialize variable `comparison_val'.
7492 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
7493 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
7494 (find_valid_class): Initialize variable `best_class'.
7495 (find_reloads): Call memcpy, not bcopy.
7497 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
7498 (hard_reg_use_compare): Don't needlessly cast away const.
7499 (reload_reg_class_lower): Likewise.
7500 (choose_reload_regs): Initialize variable `regno'.
7502 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
7504 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
7506 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
7508 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
7509 ({,d}discard): Add forward declarations. Declare parameter as
7511 (main_without_main): Explicitly declare return type to be int.
7512 (memcpy): Properly declare.
7514 * libgcc2.c (toplevel): If inhibit_libc is defined and not
7515 building the trampoline support, declare malloc, free, and
7517 (__clear_cache): Mark arguments as potentially unused.
7519 * frame.c (toplevel): If inhibit_libc is defined, declare
7522 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
7524 * flow.c (make_edge): Accept an optional 2D bitmap in which
7525 to cache edge existence. Update all callers.
7526 (make_label_edge, make_eh_edge): Pass through the edge cache.
7527 (make_edges): Provide the cache.
7529 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7531 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
7533 (local_mbtowc): Change the type of variable `i' from int to size_t.
7535 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
7536 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
7538 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
7540 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
7541 after other includes that define the appropriate types. Include
7542 tm_p.h for getting user prototypes.
7543 * ggc-callbacks.c (toplevel): Ditto.
7544 * ggc-none.c (toplevel): Ditto.
7545 * gcc-page.c (toplevel): Ditto.
7546 * ggc-simple.c (toplevel): Ditto.
7548 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
7549 Jonathan Larmour <jlarmour@cygnus.co.uk>
7551 * config/mips/mips.c (mips_move_2words): Split doubles if
7552 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
7554 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
7556 * genrecog.c (struct decision_test): New.
7557 (struct decision): Remove test-related members, sort the rest by size.
7558 (IS_SPLIT): Simplify.
7559 (new_decision, new_decision_test): New.
7560 (add_to_sequence): Use them. No special handling for args of
7562 (maybe_both_true): Renamed from not_both_true; return sense changed.
7563 (maybe_both_true_1, maybe_both_true_2): New. Broken out
7564 of maybe_both_true and adjusted for decision_test.
7565 (position_merit): Remove.
7566 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
7567 (merge_accept_insn): New, broken out of merge_trees.
7568 (merge_trees): Use them. No special case for c_test; no node
7569 splitting; use test type instead of position_merit.
7570 (factor_tests): New.
7571 (simplify_tests): New.
7572 (break_out_subroutines): Don't write code now.
7573 (find_afterward): New.
7574 (write_afterward, write_switch, write_cond): New.
7575 (write_action, is_unconditional): New.
7576 (write_node): New. Use them.
7577 (write_tree_1): Rewrite. Use the new functions above.
7578 (write_tree): Remove afterward processing.
7579 (write_subroutine): Simplify function variant emission.
7580 (write_subroutines): New.
7581 (same_codes, clear_codes): Remove.
7582 (same_modes, clear_modes): Remove.
7583 (write_header): New, broken out of main.
7584 (make_insn_sequence): Use new_decision and new_decision_test.
7585 (process_tree): New, broken out of main.
7586 (main): Adjust for merge_trees interface change.
7587 Don't #define operands in the output file.
7588 (record_insn_name): New, broken out of make_insn_sequence.
7589 (debug_decision_2, debug_decision_1, debug_decision_0): New.
7590 (debug_decision): New.
7592 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
7594 * resource.c (find_free_register): Mark class_str argument const.
7595 * resource.h: Update prototype to match.
7597 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
7598 * i386.md: Give all anonymous insns names.
7600 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
7602 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
7605 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
7607 * toplev.c (dbr_sched_time): Unconditional.
7608 (peephole2_time): New.
7609 (compile_file): Add pass numbers to all of the dump file suffixes.
7610 Dump peephole2_time. Don't dump times for non-applicable passes.
7611 (rest_of_compilation): Add pass numbers to dump file suffixes.
7612 Conditionalize calls to the scheduler.
7613 * invoke.texi: Update.
7615 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
7617 * flow.c (make_edges): Fix insn iteration.
7618 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
7619 (find_basic_blocks_1): Fix spelling mistake.
7621 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
7623 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
7624 always have side-effects. Use memset not bzero.
7625 (make_node): Likewise.
7627 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
7629 * stmt.c (expand_anon_union_decl): When any of the elements of the
7630 union is addressable, so is the entire union.
7632 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
7634 * sbitmap.c (sbitmap_ones): Don't set too many bits.
7636 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
7637 * bitmap.c (bitmap_operation): Return true iff TO changed.
7638 (bitmap_equal_p): New.
7639 (bitmap_bit_p): Tidy arithmetic.
7640 (debug_bitmap_file): Likewise.
7642 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
7644 * toplev.c (rest_of_compilation): Turn on cse_not_expected
7645 before cse2 instead of after.
7647 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
7649 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
7652 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7654 * cppinit.c (is_idchar initializer): Loosen tests to accept
7657 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
7659 * mips.md: Define conditional move patterns for floating point
7660 operands and DI mode conditions.
7662 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
7664 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
7665 always have side-effects.
7667 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
7669 * mn10200.c (asm_file_start): Fix typo.
7671 * cppinit.c (is_idchar initializer): Tighten tests for when
7672 to put the table into initialized memory.
7674 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
7675 not an array of rtunion.
7676 * gcc-page.c (ggc_alloc_rtvec): Similarly.
7677 * gcc-simple (ggc_free_rtvec): Similarly.
7679 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
7682 * mbchar.h: Add missing #endif.
7684 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
7685 (FPBIT, DPBIT): Define.
7687 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7689 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
7691 * profile.c (instrument_arcs, output_gcov_string,
7692 tablejump_entry_p): Add static prototypes.
7693 (output_gcov_string): Constify a char*.
7695 * regmove.c (replacement_quality, fixup_match_2): Add static
7698 * resource.h (reg_dead_p): Add extern prototype.
7700 * rtl.c (trim_filename): Add static prototype.
7702 * scan-decls.c (skip_to_closing_brace): Likewise.
7704 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
7705 (expand_end_case): Initialize variable `range'.
7706 (emit_case_nodes): Remove unused prototype `rtx_fn'.
7708 * varasm.c (asm_emit_uninitialised): Add static prototype.
7709 (asm_emit_uninitialised, assemble_variable): Mark parameter with
7712 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7714 * cpplib.c (if_directive_nameo): Add static prototype.
7716 * cse.c (cse_insn): Remove unused variable `p'.
7718 * except.c (create_rethrow_ref, push_entry,
7719 receive_exception_label, new_eh_region_entry, find_func_region,
7720 clear_function_eh_region, process_nestinfo): Add static prototypes.
7721 (get_reg_for_handler): Hide definition.
7722 (process_nestinfo): Initialize variable `extra_handlers'.
7724 * expr.h (expand_builtin_longjmp): Add extern prototype.
7726 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
7728 * function.c (prepare_function_start): Likewise.
7729 (pop_function_context_from): Mark parameter `context' with
7731 (push_temp_slots_for_block, flush_addressof): Hide definition.
7733 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
7734 solve_program_flow_graph, calculate_branch_probs,
7735 function_summary, main, fancy_abort): Add prototypes.
7737 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
7738 (add_hash): Constify a char*.
7740 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
7741 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
7742 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
7744 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
7746 * lists.c (free_list, zap_lists): Likewise.
7748 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7750 * alias.c (nonlocal_reference_p): Add static prototype.
7752 * bitmap.c (bitmap_element_allocate): Prototype args in function
7755 * builtins.c (stabilize_va_list): Add static prototype.
7756 (expand_builtin_va_arg): Constify a char*.
7758 * c-lex.c (getch, put_back, extend_token_buffer_to,
7759 read_line_number, token_getch, token_put_back): Add static
7762 * c-parse.gperf (hash, is_reserved_word): Likewise.
7764 * cccp.c (is_dir_separator): Likewise.
7766 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7768 * graph.h: New file to prototype functions exported by graph.c.
7770 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
7772 * graph.c: Include graph.h.
7774 * toplev.c: Likewise. Remove redundant prototypes.
7776 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
7778 * invoke.texi: Removed duplicated description for -Q.
7780 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
7782 * extend.texi: Grammar fix in __extension__ text.
7784 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
7786 * md.texi (define_peephole2): New section.
7788 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
7790 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
7791 (mov $-1 to or peepholer): Enable for pentium when optimizing for
7794 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
7796 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
7798 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
7800 * i386.md (ffs expander): Emit Pentium friendly code for
7803 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
7805 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
7809 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7811 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
7813 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
7815 * config/m68k/m68k.c (use_return_insn): Return false if the pic
7818 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7820 * md.texi (No Constraints): Delete section.
7821 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
7822 * final.c (final_scan_insn): We always have register constraints.
7823 * genattrtab.c: Don't include "insn-config.h".
7824 (write_attr_case): We always have register constraints.
7825 * genconfig.c (register_constraint_flag): Delete.
7826 (walk_insn_part): Don't check whether we have register constraints.
7827 (main): Don't write out "#define REGISTER_CONSTRAINTS".
7828 * genoutput.c (have_constraints): Delete.
7829 (main): Don't set it.
7830 (output_operand_data): We always have constraints.
7831 (scan_operands): Likewise.
7832 (compare_operands): Likewise.
7833 * local-alloc.c (block_alloc): We always have constraints.
7834 (requires_inout): Always compile this function.
7835 * recog.c (extract_insn): We always have constraints.
7836 (constrain_operands, reg_fits_class_p): Always compile these
7838 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
7840 (struct insn_operand_data): Likewise.
7841 * regclass.c (regclass): We always have constraints.
7842 (record_reg_classes, copy_cost, record_address_regs,
7843 auto_inc_dec_reg_p): Always compile these functions.
7844 * regmove.c (regmove_optimize): We always have constraints.
7845 * reload.c (find_reloads): Likewise.
7846 * reload1.c (reload): Likewise.
7847 (reload_cse_simplify_operands): Likewise.
7848 * i860.c (output_delay_insn): Likewise.
7850 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
7852 * iris6.h (BUILD_VA_LIST_TYPE): Define.
7854 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7856 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
7857 for the va_list record.
7859 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
7861 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
7864 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
7866 * alias.c: Include insn-flags.h.
7867 * Makefile.in (alias.o): Update.
7869 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
7871 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
7872 to LTU and GEU. Handle more cases using sbb.
7874 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
7876 * i386.md (truncatexfdf splitters): Do not use subreg.
7877 (fop XFmode patterns): Fix mode in operand testing.
7879 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
7881 * jump.c (jump_optimize_1): Amend last change to test only the
7882 form of the operand, not the insn.
7884 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
7885 not register_operand to determine when B may need preloading.
7887 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
7889 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
7890 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
7891 (call-value patterns): Move to end of file.
7892 (*): Remove mode from label_ref in (pc) context.
7893 (movstrqi): Use memory not general_operand for BLKmode operands.
7894 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
7895 to register_operand operands.
7896 (peep2 patterns): Convert from commented-out peephole patterns.
7898 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7900 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
7901 to BUILT_IN_INIT_DWARF_REG_SIZES.
7902 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
7903 Renamed from BUILT_IN_DWARF_REG_SIZE; call
7904 expand_builtin_init_dwarf_reg_sizes.
7905 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
7906 with __builtin_init_dwarf_reg_size_table.
7907 * dwarf2out.c (struct reg_size_range): Delete.
7908 (expand_builtin_init_dwarf_reg_sizes): New function.
7909 (expand_builtin_dwarf_reg_size): Delete.
7910 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
7911 (expand_builtin_dwarf_reg_size): Don't declare.
7912 * libgcc2.c (dwarf_reg_size_table_initialized): New.
7913 (dwarf_reg_size_table): New.
7914 (init_reg_size_table): New function.
7915 (copy_reg): Use dwarf_reg_size_table.
7916 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
7919 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
7921 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
7922 Correctly build argument list to constructor and destructor functions.
7924 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
7926 * c-tree.h (warn_float_equal): Declare.
7927 * c-decl.c (warn_float_equal): Define.
7928 (c_decode_option): Recognize -W[no-]float-equal.
7929 * c-typeck.c (build_binary_op): Conditionally warn
7930 about equality tests of floating point types.
7931 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
7932 * invoke.texi: Add docs for -Wfloat-equal warning.
7934 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
7936 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
7937 generating RTL directly.
7938 * mips.h (INIT_TARGET_OPTABS): Likewise.
7939 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
7941 * expr.h (init_mov_optab): Delete declaration
7943 * h8300.c (WORD_REG_USED): Update to avoid useless register
7944 saves in interrupt functions and functions which never return.
7946 * cse.c (struct set): Delete inner_dest_loc field.
7947 (cse_insn): Remove assignments to inner_dest_loc field.
7949 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
7951 * ggc-page.c: Don't include <unistd.h> etc taken care of
7952 by "system.h". Include <sys/mman.h> afterward.
7954 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
7956 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
7959 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
7961 * xcoffout.c (xcoffout_declare_function): Add documentation.
7962 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
7963 TARGET_64BIT. Compare constant to -1, not bit pattern.
7964 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
7965 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
7968 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
7970 * dwarf2out.c (add_abstract_origin_attribute): Abort if
7972 (gen_inlined_enumeration_type_die): Do not abort if the type has
7973 not been writeen out.
7974 (gen_inlined_structure_type_die): Do not abort if the type has
7975 not been writeen out.
7976 (gen_inlined_union_type_die): Do not abort if the type has
7977 not been writeen out.
7978 (gen_tagged_type_instantiation_die): Do not abort if the type
7979 has not been written out.
7981 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7983 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
7985 * reg-stack.c (straighten_stack): Copy hard reg set with
7988 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
7990 * builtins.c (stabilize_va_list): Stabilize array type va_list
7991 to a pointer type, not the base record type.
7992 (expand_builtin_va_copy): Dereference the pointers explicitly;
7993 use the correct size for the copy.
7995 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
7996 (rs6000_va_arg): Likewise.
7998 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
8000 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
8002 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
8004 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
8006 (DECL_BUILT_IN_CLASS): Adjust accordingly.
8008 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
8010 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
8011 (init_ggc): Use it instead of a constant.
8012 (ggc_collect): Bound allocated_last_gc by it.
8014 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
8016 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
8019 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
8021 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
8022 (mips*-*-openbsd*): Let big endian configuration be a fragment.
8024 * config/mips/openbsd.h: New, OpenBSD little endian target.
8025 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
8026 * config/mips/xm-openbsd.h: New, OpenBSD host.
8028 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
8030 * config/m68k/m68k.c (output_function_prologue,
8031 output_function_epilogue): Use
8032 current_function_uses_pic_offset_table instead of regs_ever_live
8033 to decide whether to save/restore pic register.
8034 (legitimize_pic_address): Don't modify regs_ever_live any more.
8036 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
8038 * function.h (struct function): Add x_dont_save_pending_sizes_p.
8039 * stor-layout.c (variable_size): Don't add sizes to the pending
8040 sizes list if x_dont_save_pending_sizes_p is set.
8042 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
8044 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
8045 for symbolic_operand().
8046 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
8048 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8050 * combine.c (gen_rtx_combine): Add missing call to va_end().
8052 * final.c (asm_fprintf): Likewise.
8054 * genattrtab.c (attr_rtx): Likewise.
8056 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
8058 * cse.c: Update comments.
8059 (cse_insn): When converting a conditional/computed jump into
8060 an unconditional jump, always make sure a BARRIER immediately
8061 follows the converted jump. Do not delete unreachable code.
8062 (cse_basic_block): Do not delete unreachable code.
8063 * toplev.c (rest_of_compilation): Move call to
8064 delete_trivially_dead_insns after the conditional call to
8067 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8069 * collect2.c (make_temp_file): Don't prototype.
8071 * gcc.c (make_temp_file): Likewise.
8073 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
8075 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
8077 * varasm.c (asm_emit_uninitialised): New function: Generate
8078 the assembler statements necessary to declare an uninitialised
8080 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
8082 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
8083 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
8085 (assemble_variable): Use asm_emit_uninitialised to emit an
8086 uninitialised variable.
8088 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
8090 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
8091 constant on a 64 bit host. Patch supplied by Geoffrey Keating
8092 <geoffk@cygnus.com>.
8094 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8096 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
8097 * c-common.h (builtin_function): Don't declare.
8099 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
8101 (pushdecl): Likewise.
8102 (finish_decl): Likewise.
8103 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
8104 int. All callers changed.
8105 Set the builtin's DECL_BUILT_IN_CLASS.
8106 * tree.h (enum built_in_class): New.
8107 (enum built_in_function): Delete NOT_BUILT_IN.
8108 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
8110 (DECL_SET_FUNCTION_CODE): Likewise.
8111 (DECL_BUILT_IN_CLASS): New macro.
8112 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
8113 (struct tree_decl): Split builtin function code field into a
8115 (builtin_function): Declare.
8117 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
8119 * optabs.c (init_traps): Fix typo in last change.
8121 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
8123 * toplev.c (rest_of_decl_compilation): Update comment.
8125 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
8127 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
8128 in .sbss if appropriate.
8129 (EXTRA_SECTION_FUNCTIONS): Add sbss.
8130 (SBSS_SECTION_ASM_OP): New macro.
8131 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
8132 (EXTRA_SECTIONS): Add in_sbss.
8133 * config/mips/mips.h: Prototype sbss_section.
8135 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
8137 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
8140 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
8142 * optabs.c (init_traps): Register trap_rtx as a GC root.
8144 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8146 * config/mips/mips.c (function_arg_pass_by_reference): Define
8147 unconditionally, since it's called unconditionally.
8149 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
8151 * toplev.c (documented_lang_options): Add -fshort-wchar.
8152 * c-decl.c (c_decode_option): Likewise.
8153 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
8155 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
8156 * gcc.c (default_compilers): If -fshort-wchar,
8157 override __WCHAR_TYPE__.
8158 * tm.texi (C Dialect Options): Add -fshort-wchar.
8160 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
8161 symbol for a variable.
8163 * cpplib.h (CPP_PREPROCESSED): New macro.
8164 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
8165 we're seeing this input for a second time.
8167 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
8169 * emit-rtl.c (init_emit_once): Initialize modes first.
8171 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
8173 * config/i386/i386.c (pic_label_name): Change to char pointer.
8174 (global_offset_table): New variable.
8175 (load_pic_register): Fill global_offset_table if it hasn't
8176 already been done. Allocate pic_label_name dynamically.
8177 * ggc.h (empty_string): New variable.
8178 * ggc-simple.c (empty_string): Likewise.
8179 (init_ggc): Allocate empty_string and add as root.
8180 * stmt.c (digit_strings): New variable.
8181 (init_stmt): Add last_block_end_note as root. Allocate and
8182 initialize digit_strings.
8183 (expand_asm_operands): Use empty_string instead of string
8184 constant. Use digit_strings instead of string constants.
8185 * profile.c (init_arc_profiler): Allocate string with
8186 ggc_alloc_string instead of xmalloc.
8187 (output_func_start_profiler): Likewise.
8188 * c-typeck.c (digest_init): Check if init is error_mark_node.
8190 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
8191 Richard Henderson <rth@cygnus.com>
8193 * ggc-page.c: New file.
8194 * Makefile.in (ggc-page.o): New.
8196 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
8198 * invoke.texi: Document -fdelete-null-pointer-checks
8199 * toplev.c (flag_delete_null_pointer_checks): New.
8200 (f_options): Add entry for -fdelete-null-pointer-checks.
8201 (rest_of_compilation): Conditionalize null pointer check
8202 elimination on flag_delete_null_pointer_checks.
8203 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
8205 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
8207 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
8208 copyright notice and special exception to GPL.
8210 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8212 * abi64.h (mips_function_value): Add prototype arguments.
8214 * mips-protos.h: New file with mips prototypes.
8216 * mips.c: Include "tm_p.h".
8217 (mktemp, lookup_name): Add prototype arguments.
8218 (extern_list, string_constant, mips_fill_delay_slot,
8219 mips_output_external, mips_output_external_libcall,
8220 mips_output_filename, mips_declare_object, function_prologue,
8221 mips_expand_prologue, function_epilogue, mips16_constant,
8222 build_mips16_function_stub, mips_output_conditional_branch):
8224 (mips_va_start): Remove unused variable `u'.
8225 (mips_va_arg): Cast value to unsigned when comparing against one.
8227 (save_restore_insns, mips_expand_prologue): Add missing arg in
8228 call to `large_int'.
8230 * mips.h: Move prototypes to mips-protos.h.
8231 (data_section, memory_address_p, rdata_section,
8232 readonly_data_section, simple_epilogue_p, text_section): Delete
8233 prototypes delcared elsewhere.
8234 (mips_epilogue_delay_slots, print_options): Delete unused decls.
8236 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
8238 * mips.md: Delete extra args in call to `mips_move_2words'.
8240 * xm-iris6.h (alloca): Add prototype argument.
8242 * genpeep.c: Include "tm_p.h" in generated output file.
8244 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8246 * basic-block.h (find_edge_index): Change parameters.
8247 * flow.c (verify_edge_list): Pass basic_block parameters to
8248 find_edge_index instead of integers.
8250 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
8252 * combine.c (simplify_comparison): Use an unsigned shift to adjust
8255 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
8257 * gcc.1: Fix a formatting error.
8259 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8261 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
8262 i786, mn10200, mn10300, pdp11, v850.
8264 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
8266 * libgcc2.c (num_digits): Add prototype with
8267 __attribute__((const)).
8268 (__terminate): Add prototype.
8270 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
8272 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
8274 * alpha/alpha.c (print_operand): Fix type of `code'.
8275 (alpha_output_filename): Constify.
8276 * alpha/alpha.h: Move all function declarations ...
8277 * alpha/alpha-protos.h: ... here. New file.
8278 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
8279 (SECTION_FUNCTION_TEMPLATE): Likewise.
8281 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8283 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
8284 * expr.c (expand_expr): Likewise.
8285 (do_jump): Likewise.
8286 (do_store_flag): Pass ccp_store_flag to can_compare_p.
8287 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
8289 (enum can_compare_purpose): New.
8290 (can_compare_p): Adjust prototype.
8291 (prepare_cmp_insn, prepare_operand): Declare.
8292 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
8293 * optabs.c (cmp_available_p): Deleted.
8294 (expand_abs): Pass ccp_jump to can_compare_p.
8295 (can_compare_p): New arg PURPOSE. Check for combined optabs.
8296 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
8297 Call can_compare_p rather than cmp_available_p.
8298 (prepare_operand): No longer static.
8299 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
8300 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
8301 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
8302 sequence to use emit_cmp_and_jump_insns.
8303 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
8305 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
8307 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
8308 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
8309 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
8310 (plus (reg) (const_int 0))
8311 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
8313 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
8315 * rs6000.c (expand_block_move): DImode loads and stores require
8316 word-aligned displacements. Increment address registers with
8317 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
8319 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
8321 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
8322 is no name for the base type, rather than segfault. If we are
8323 writing out a complex integer type, use DW_ATE_lo_user.
8325 * expr.c (emit_move_insn_1): If we are copying a complex that fits
8326 in one word or less (complex char, complex short, or on 64 bit
8327 systems complex float) to/from a hard register, copy it through
8328 memory instead of dying in gen_{real,imag}part. If we have a
8329 short complex type, prevent inlining since it allocates stack
8332 * tree.c (build_complex_type): If we are writing dwarf2 output,
8333 generate a name for complex integer types.
8335 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8337 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
8338 * flow.c (remove_edge): Remove extra whitespace.
8339 (remove_fake_edges): Fix comment.
8340 (add_noreturn_fake_exit_edges): Use the correct name.
8342 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
8344 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
8345 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
8346 (clean): Depend on INTL_CLEAN.
8347 (maintainer-clean): Adjust.
8349 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8351 * configure.in (AC_PREREQ): Bump to 2.13.
8352 (AC_C_STRINGIZE): Call this instead of using a custom macro.
8354 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
8356 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
8358 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
8360 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
8361 (HAVE_STRINGIZE): Define.
8363 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
8365 * c-parse.in: save and restore warn_pointer_arith on __extension__
8366 along with pedantic.
8367 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
8368 Set the type of extension to itype rather than $<itype>1 kludge.
8369 * extend.texi (Alternate Keywords): Adjust documentation.
8370 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
8372 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
8374 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
8375 most assembler templates.
8377 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
8378 FP loads and stores.
8379 (following_call): Always return zero for the PA8000.
8380 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
8381 FP loads and stores.
8382 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
8384 * pa.h (BRANCH_COST): Define.
8386 * pa.md (return, return_internal): Use bve for PA2.0.
8388 * pa.md (fused multiply): Add variants which reduce height for the
8389 fused multiply, but which still generate 2 insns.
8390 (fnegabs): Similarly.
8392 * pa.md (subsi3): Turn into an expander. Create two anonymous
8393 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
8394 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
8396 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
8398 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
8400 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
8401 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
8403 * regclass.c (init_regs): Add "top_of_stack" as a garbage
8406 * flow.c (record_active_eh_regions): Terminate loop after finding
8407 the last insn in the last basic block.
8409 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8411 * config/c4x/c4x.md: Delete parallel instruction peepholes.
8413 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8415 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
8417 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8419 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
8420 splitting to not use output template.
8422 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8424 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
8425 * config/c4x/c4x.c (c4x_va_start): New function.
8427 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
8429 * genrecog.c (not_both_true): Handle correctly cases when called for
8430 tests with different positions in the insn.
8432 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8434 * machmode.h (HOST_PTR_PRINTF): Move from here ...
8436 * system.h (HOST_PTR_PRINTF): ... to here.
8438 * mips-tfile.c: Don't include machmode.h.
8440 * Makefile.in (MACHMODE_H): New variable. Update to use it.
8441 (mips-tfile.o): Don't depend on machmode.h.
8443 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8445 * haifa-sched.c (sched_analyze): Rename local variable `region' to
8446 avoid conflicts with typedef struct `region' at the top level scope.
8448 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
8450 * basic-block.h (basic_block): Add eh_beg, eh_end.
8451 * flow.c (entry_exit_blocks): Update.
8452 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
8454 (find_basic_blocks_1): Don't record eh_list at each bb. Use
8455 lists.c functions to allocate insn lists.
8456 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
8458 (make_eh_edge): ... here. New.
8459 (move_stray_eh_region_notes): New.
8460 (record_active_eh_regions): New.
8461 (delete_unreachable_blocks): Split out block merging ...
8462 (try_merge_blocks): ... here. New.
8463 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
8464 Dump debugging data.
8465 (merge_blocks_move_successor_nojumps): Likewise.
8466 (merge_blocks): Use eh_beg+eh_end to validate block movement.
8468 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8470 * extend.texi (Bound member functions): Document unbound pmf
8473 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8475 * flow.c (split_edge): Handle insertion on a fallthrough edge which
8476 has the EXIT_BLOCK as a dest.
8478 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8480 * flow.c (remove_edge): New function to remove an edge from the
8482 (remove_fake_successors): New function to remove fake successor edges.
8483 (remove_fake_edges): New function to remove all fake edges from the
8485 (add_fake_exit_edges): New function to add fake edges from all blocks
8486 with no successors to the exit block.
8487 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
8488 prototypes for new functions.
8490 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8492 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
8493 Use Pmode to determine whether to output .dword or .word.
8495 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
8497 * tree.c (built_in_filename): New variable.
8498 (BUILT_IN_FILENAME): New macro.
8499 (init_tree_codes): Allocate built_in_filename.
8500 (make_node): Use built_in_filename instead of string constant.
8502 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
8504 * configure.in: Add fr30 target.
8505 * configure: Regenerate.
8506 * config/fr30: New directory.
8507 * config/fr30/crti.asm: New file.
8508 * config/fr30/fr30.c: New file.
8509 * config/fr30/crtn.asm: New file.
8510 * config/fr30/fr30.h: New file.
8511 * config/fr30/fr30.md: New file.
8512 * config/fr30/lib1funcs.asm: New file.
8513 * config/fr30/t-fr30: New file.
8514 * config/fr30/xm-fr30.h: New file.
8516 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
8518 * flow.c (merge_blocks_move_successor_nojumps): Delete the
8519 BARRIER at the end of the successor, not the BARRIER before
8522 * pa.c (pa_add_gc_roots): Fix thinko in last change.
8524 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
8526 * stmt.c (any_pending_cleanups): Don't crash when
8527 current_function->stmt is unset.
8529 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8531 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
8532 other initializations that may use it for relative offsets.
8534 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8536 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
8537 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
8538 * config/i386/sol2dbg.h: Removed.
8539 * config/i386/sol2gas.h: New file, to enable gas work-around.
8540 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
8541 Don't use sol2dbg.h.
8542 * configure: Rebuilt.
8544 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
8546 * invoke.texi (-fthis-is-variable): Remove documentation.
8548 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
8550 * basic-block.h (compute_bb_for_insn): Declare.
8551 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
8552 to use; set size of basic_block_for_insn directly.
8553 (find_basic_blocks): Update.
8555 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8557 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
8559 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8561 * crtstuff.c (ON_EXIT): Delete empty macro definition.
8562 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
8564 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
8566 * c-decl.c (c_decode_option): Extend comment.
8568 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
8570 * toplev.c (progname): Make 'const char *'
8571 (flag_print_mem): Move out of main.
8572 (version_flag): Move out of main.
8573 (filename): Move out of main.
8574 (debug_args): Remove g prefix from options.
8575 (documented_lang_options): Remove cpplib specific options.
8576 (display_help): Add g prefix to debug options.
8577 (check_lang_option): Delete this function.
8578 (decode_d_option): New function: Decode -d... option.
8579 (decode_f_option): New function: Decode -f... option.
8580 (decode_W_option): New function: Decode -W... option.
8581 (decode_g_option): New function: Decode -g... option.
8582 (independent_decode_option): New function: Decode a language
8583 independent command line option.
8584 (main): Invoke lang_decode_option and then
8585 independent_decode_option on each command line option in
8588 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
8590 Revert this change. Gavin's patch to operand_equal_p is a better fix.
8591 * fold-const.c (fold_range_test): Do not try to fold the range
8592 test if the rhs or lhs has side effects.
8594 * basic-block.h (compute_flow_dominators): Declare.
8596 * gcse.c (alloc_code_hoist_mem): New function.
8597 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
8598 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
8599 (hoist_code, one_code_hoisting_pass): Likewise.
8600 (gcse_main): If optimizing for size, then hoist expressions
8601 computed in multiple dominated basic blocks.
8603 * gcse.c (invalid_nonnull_info): New function.
8604 (delete_null_pointer_checks): Likewise.
8605 * rtl.h (delete_null_pointer_checks): Declare.
8606 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
8608 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
8609 (merge-blocks_move_successor_nojumps): Likewise.
8610 (merge_blocks): Allow merging of some blocks, even if it requires
8611 physical movement of the blocks, but not if it requires new jumps.
8613 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
8614 Callers and prototype changed.
8615 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
8617 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8619 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
8620 -YP when both -p and -pg are present. From i386/sol2.h.
8622 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8624 * Makefile.in (distclean): Delete tm_p.h.
8625 * configure.in: Create a new file, "tm_p.h", from a list in
8626 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
8627 "i386/i386-protos.h".
8629 * alias.c: Include "tm_p.h".
8630 * c-typeck.c: Likewise.
8631 * calls.c: Likewise.
8633 * emit-rtl.c: Likewise.
8634 * explow.c: Likewise.
8635 * expmed.c: Likewise.
8637 * final.c: Likewise.
8639 * fold-const.c: Likewise.
8640 * function.c: Likewise.
8642 * global.c: Likewise.
8643 * haifa-sched.c: Likewise.
8644 * integrate.c: Likewise.
8646 * local-alloc.c: Likewise.
8648 * optabs.c: Likewise.
8649 * recog.c: Likewise.
8650 * reg-stack.c: Likewise.
8651 * regclass.c: Likewise.
8652 * regmove.c: Likewise.
8653 * reload.c: Likewise.
8654 * reload1.c: Likewise.
8655 * reorg.c: Likewise.
8656 * resource.c: Likewise.
8658 * stor-layout.c: Likewise.
8659 * toplev.c: Likewise.
8661 * unroll.c: Likewise.
8662 * genattrtab.c (main): Make generated file include "tm_p.h".
8663 * genemit.c (main): Likewise.
8664 * genoutput.c (main): Likewise.
8665 * genrecog.c (main): Likewise.
8667 * i386.h: Delete all prototypes.
8668 * i386.c: Include "tm_p.h".
8669 (ix86_attr_length_default): Call constant_call_address_operand
8670 with correct number of arguments.
8671 * i386-protos.h: New file.
8672 * i386.md (unnamed patterns): Call constant_call_address_operand
8673 with correct number of arguments.
8674 (exception_receiver): Call load_pic_register with correct number
8677 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
8679 * c-pragma.c (mark_align_stack): Dereference the void* properly.
8681 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
8683 * rtl.h (insns_safe_to_move_p): New function.
8684 * loop.c (find_and_verify_loops): Use it.
8685 * rtlanal.c (insns_safe_to_move_p): Define it.
8687 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
8689 * c-pragma.c: Include ggc.h.
8690 * Makefile.in (c-pragma.o): Update.
8692 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8694 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
8695 (LIB_SPEC): Likewise.
8696 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
8697 Reindent -YP/-p/-pg.
8698 Copied from config/sparc/sol2.h.
8700 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
8702 * c-pragma.c (mark_align_stack): New.
8704 * c-pragma.h (init_pragma): Declare it.
8705 * c-lex.c (init_parse): Call it.
8707 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8709 * configure.in: Pick up thread library on Solaris/x86 just
8710 like on Solaris/sparc.
8711 * configure: Rebuilt.
8713 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
8715 * rtl.h (global_rtx_index): New enum.
8716 (global_rtl): Change to array of rtx.
8717 (pc_rtx, cc0_rtx): Redefine accordingly.
8718 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
8719 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
8720 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
8721 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
8722 (const_int_rtx): Change to array of rtx.
8723 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
8725 * emit-rtl.c (global_rtl): Change to array of rtx.
8726 (const_int_rtx): Change to aray of rtx.
8727 (gen_rtx_CONST_INT): Redefine accordingly.
8728 (init_emit_once): Allocate and initialize global_rtl. Likewise
8729 for const_int_rtx. Add both as GC roots.
8730 * genattrtab.c (global_rtl): Update declaration.
8732 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
8734 * Makefile (USER_H): Add iso646.h back.
8736 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
8738 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
8739 zapping the LOG_LINKS of sched_before_next_call.
8741 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
8742 * pa.c (insn_refs_are_delayed): Renamed from
8743 insn_sets_and_refs_are_delayed.
8745 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
8747 * functiion.h (struct function): Add x_whole_function_mode_p.
8748 (retrofit_block): Declare.
8749 * function.c (retrofit_block): New function.
8750 (identify_blocks): Add assertions. Allow an incomplete set of
8751 block notes if we're still generating code for the function.
8752 * integrate.c: Include loop.h.
8753 (expand_inline_function): Call find_loop_tree_blocks to map block
8754 notes to blocks when in whole-function mode. Use retrofit_block
8755 to insert new BLOCKs for the inlined function, rather than
8757 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
8758 * Makefile.in (integrate.o): Depend on loop.h.
8760 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
8762 * tree.h (warn_about_unused_variables): Declare.
8763 * stmt.c (warn_about_unused_variables): New function, split out
8765 (expand_end_bindings): Here.
8767 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
8769 * stmt.c (preserve_subexpressions_p): Don't crash when
8770 current_function->stmt is unset.
8772 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
8774 * stmt.c (expand_start_bindings): Allow callers to pass a flag
8775 indicating that no NOTE_INSN_BLOCK_BEG note is required.
8776 (expand_start_target_temps): Use it.
8777 * except.c (expand_eh_region_start_for_decl): Likewise.
8778 * expr.c (expand_expr): Likewise.
8780 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
8782 * fold-const.c (operand_equal_p): Pay attention to side effects.
8784 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
8786 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
8787 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
8789 * tlink.c (scan_linker_output): Look for keywords before accepting
8790 a mangled name in quotes.
8792 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
8794 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
8795 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
8797 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
8799 * alpha.md: Revert Thu Nov 26 change that came in through the
8800 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
8801 Avoid earlyclobber when possible.
8803 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8805 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
8807 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
8808 Define HAVE_ON_EXIT.
8810 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8812 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
8813 CTYPE_CONV in all ctype macros.
8815 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
8818 * cexp.y (initialize_random_junk): Likewise.
8820 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
8822 * i370.c (handle_pragma): Likewise.
8824 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
8826 * v850.c (override_options): Likewise.
8828 * doprint.c (_doprnt): Likewise.
8830 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
8833 * fixinc/server.c (load_data): Likewise.
8835 * fold-const.c (real_hex_to_f): Likewise.
8837 * genattr.c (write_upcase, gen_attr): Likewise.
8839 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
8840 write_upcase): Likewise.
8842 * genemit.c (print_code): Likewise.
8844 * genopinit.c (gen_insn): Likewise.
8846 * genpeep.c (print_code): Likewise.
8848 * genrecog.c (print_code): Likewise.
8850 * optabs.c (init_libfuncs): Likewise.
8852 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
8854 * haifa-sched.c (sched_analyze): Keep the list of notes organized
8856 (reemit_notes): Likewise.
8858 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
8860 * ggc.h (ggc_root): Move to ggc-common.c.
8862 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
8863 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
8864 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
8865 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
8866 * ggc-common.c (ggc_root): Move from ggc.h.
8867 (roots): Declare, static.
8868 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
8869 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
8870 null or check/set mark bit.
8871 (ggc_mark_roots): New.
8872 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
8874 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
8876 * m32r.c: Include toplev.h.
8877 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
8878 (gen_compare): Rename swap_p to must_swap to match uses.
8879 Add default abort case.
8880 (m32r_output_function_epilogue): Remove unused variables.
8881 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
8882 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
8883 define to empty parameter list. Update all uses.
8884 (predicate decls): Use enum machine_mode not int.
8885 * m32r.md (movsi): Call abort, not fatal_insn.
8886 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
8888 1999-09-14 Andrew Haley <aph@cygnus.com>
8890 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
8891 use $0 instead of 0.
8893 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8895 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
8896 computation out of loop over hard regs.
8898 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
8900 * function.c (identify_blocks): Don't shadow a variable in an
8902 * integrate.c (integrate_decl_tree): Don't use pushlevel,
8903 pushdecl, or poplevel to build up the new BLOCK tree.
8904 (expand_inline_function): Likewise.
8905 (integrate_parm_decls): Likewise.
8907 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
8909 * c-typeck.c (qualify_type): Merge qualifiers from both types.
8911 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
8913 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
8914 * invoke.texi: Document this change.
8916 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
8918 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
8920 (mark_emit_status): Renamed from mark_emit_state.
8921 * except.c (mark_eh_status): Renamed from mark_eh_state.
8922 Check not null before marking.
8923 (free_eh_status): New.
8924 * expr.c (mark_expr_status, free_expr_status): New.
8925 * function.c (free_machine_status): New.
8926 (free_after_parsing): New.
8927 (free_after_compilation): Move bits to free_after_parsing; call
8928 free_eh_status, free_expr_status; zero the marked members of the
8930 (prepare_function_start): No can_garbage_collect.
8931 Call init_eh_for_function.
8932 (expand_dummy_function_end): Free up current_function state.
8933 (mark_function_status): Renamed from mark_function_state.
8934 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
8935 * function.h (struct function): No can_garbage_collect.
8936 (free_machine_status, free_after_parsing): Declare.
8937 (free_eh_status, free_expr_status): Declare.
8938 * ggc.h (mark_expr_status): Declare.
8939 * stmt.c (free_stmt_status): Free the struct.
8940 (mark_stmt_status): Renamed from mark_stmt_state.
8941 (init_stmt): Don't call init_eh.
8942 (init_stmt_for_function): Don't call init_eh_for_function.
8943 * toplev.c (compile_file): Call init_eh.
8944 (rest_of_compilation): Free basic block info before ggc_collect.
8945 Call free_after_parsing; conditionally call free_after_compilation.
8946 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
8947 Check not null before marking.
8948 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
8950 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
8952 * c-lex.c (yylex): Initialize warn.
8954 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
8956 * pa.c (emit_move_sequence): Properly set the mode of the scratch
8957 register when performing secondary reloads for the SAR register.
8959 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
8961 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
8962 (NOTE_BLOCK): New macro.
8963 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
8964 * function.h (identify_blocks): Change prototype.
8965 * function.c (identify_blocks): Simplify.
8966 (reorder_blocks): Likewise.
8967 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
8968 NOTE_INSN_BLOCK_{BEG,END}.
8969 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
8970 the list of saved notes if the note isn't a
8971 NOTE_INSN_BLOCK_{BEG,END}.
8972 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
8974 (reemit_notes): Adjust recreation of notes to reflect new saved
8976 * print-rtl.c (print_rtx): Print the address of the BLOCK when
8977 printing a block note.
8978 * stmt.c (block_vector): Remove.
8979 (find_loop_tree_blocks): Simplify.
8980 (unroll_block_trees): Likewise.
8981 * tree.h (reorder_block): Change prototype.
8983 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
8985 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
8986 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
8987 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
8988 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
8989 (atexit, exit): Simplify.
8990 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
8991 * config/lots: Remove defns of HAVE_ATEXIT.
8993 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
8995 * calls.c (precompute_arguments): Fix typo in comment.
8996 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
8999 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
9001 * dsp16xx.c (override_options): Fix typos in GC root registration.
9003 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
9005 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
9007 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
9008 (FUNCTION_PROFILER): Redefine appropriately for Linux.
9009 (CC1_SPEC): Likewise.
9011 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9013 * genattr.c (main): Add extern prototype. Call return, not exit.
9014 * genattrtab.c (main): Likewise.
9015 * gencheck.c (main): Likewise.
9016 * gencodes.c (main): Likewise.
9017 * genconfig.c (main): Likewise.
9018 * genemit.c (main): Likewise.
9019 * genextract.c (main): Likewise.
9020 * genflags.c (main): Likewise.
9021 * gengenrtl.c (main): Likewise.
9022 * genopinit.c (main): Likewise.
9023 * genoutput.c (main): Likewise.
9024 * genpeep.c (main): Likewise.
9025 * genrecog.c (main): Likewise.
9027 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
9028 * genattrtab.c (get_insn_name): Likewise.
9029 * gencodes.c (get_insn_name): Likewise.
9030 * genconfig.c (get_insn_name): Likewise.
9031 * genemit.c (get_insn_name): Likewise.
9032 * genextract.c (get_insn_name): Likewise.
9033 * genflags.c (get_insn_name): Likewise.
9034 * genopinit.c (get_insn_name): Likewise.
9035 * genpeep.c (get_insn_name): Likewise.
9037 * gencheck.c (usage): Add static prototype.
9038 * genextract.c (print_path): Constify a char*.
9039 * genopinit.c (optabs): Likewise.
9040 * genoutput.c (operand_data, data, output_predicate_decls,
9041 compare_operands): Likewise.
9042 * genrecog.c (write_tree): Add default case in switch.
9044 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9046 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
9048 * print-rtl.c (get_insn_name): Remove prototype.
9050 * toplev.h (progname): Declare const.
9052 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
9053 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
9054 dump_sched_info, dump_local_alloc, regset_release_memory,
9055 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
9056 error_with_file_and_line, error_with_decl, error_for_asm, error,
9057 fatal, warning_with_file_and_line, warning_with_decl, warning,
9058 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
9059 Remove redundant prototypes.
9061 (notice, check_lang_option, report_file_and_line, vnotice,
9062 mark_file_stack): Add static prototype.
9063 (set_fatal_function): Add prototype.
9064 (vnotice, report_file_and_line, set_fatal_function,
9065 check_lang_option): Constify a char*.
9066 (main): Prototype. Call return, not exit.
9068 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9070 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
9072 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
9074 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
9076 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
9078 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9080 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
9081 behave as if it's zero in all cases.
9082 (expand_function_start): Adjust call to assign_parms.
9083 * tree.h (assign_parms): Adjust prototype.
9084 * objc/objc-act.c (hack_method_prototype): Adjust call to
9087 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
9089 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
9090 arg_pointer_rtx fixed if the argument pointer register is
9092 (NONZERO_BASE_PLUS_P): Likewise.
9094 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
9096 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
9097 match_insn2 to match_insn.
9098 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
9100 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
9102 * Makefile.in (USER_H): Remove va-foo.h.
9104 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
9105 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
9106 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
9107 va-spur.h,va-v850.h}: Remove.
9109 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
9111 * sparc/sparc.md (eligible_for_return_delay): New attribute.
9112 (in_return_delay): Use it instead of match_insn.
9114 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9116 * config/alpha/va_list.h (va-alpha.h): Do not include.
9117 (__gnuc_va_list): Typedef as in varargs.h.
9119 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
9121 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
9122 DECL_LIVE_RANGE_RTL.
9124 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
9126 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
9127 not NOTE_BLOCK_NUMBER.
9128 (expand_eh_region_end): Likewise.
9129 (find_exception_handler_labels): Likewise.
9130 (scan_region): Likewise.
9131 (exception_optimize): Likewise.
9132 (update_rethrow_references): Likewise.
9133 (set_insn_eh_region): Likewise.
9134 * final.c (final_scan_insn): Likewise.
9135 * flow.c (make_edges): Likewise.
9136 * integrate.c (expand_inline_function): Likewise.
9137 * print-rtl.c (print_rtx): Likewise.
9139 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
9141 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
9142 terms of builtin functions and types.
9144 * mips.c (mips_build_va_list): New.
9145 (mips_va_start, mips_va_arg): New.
9146 * mips.h (BUILD_VA_LIST_TYPE): New.
9147 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9149 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
9150 (sh_build_va_list, sh_va_start, sh_va_arg): New.
9151 * sh.h (BUILD_VA_LIST_TYPE): New.
9152 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9154 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
9156 * recog.h (struct recog_data): Make dup_num, operand_address_p,
9157 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
9158 (struct insn_data): Likewise with n_operands, n_dups,
9159 n_alternatives, output_format.
9160 * regclass.c (scan_one_insn): Cast n_operands to int before
9161 arithmetic inside comparison.
9163 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
9165 * toplev.c (compile_function): Unconditionally emit nop.
9167 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9169 * haifa-sched.c (actual_hazard): Move declaration of variable
9170 `this_cost' into the scope where it is used.
9172 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9174 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
9175 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
9176 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
9178 * genrecog.c (make_insn_sequence): Call memset, not bzero.
9180 * jump.c (find_insert_position): Don't declare or define unless
9181 !HAVE_conditional_arithmetic.
9182 (returnjump_p_1, delete_prior_computation): Add static prototypes.
9184 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
9186 * recog.c (offsettable_address_p): Prototype function pointer.
9187 (preprocess_constraints): Call memset, not bzero.
9189 * tree.c (tree_node_kind_names): Constify a char*. Make static.
9190 (gcc_obstack_init): Don't declare.
9191 (fix_sizetype): Add static prototype.
9192 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
9193 (tree_cons): Call memset, not bzero.
9195 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
9196 definition in macro ASM_WEAKEN_LABEL.
9197 (mark_const_hash_entry): Add static prototype.
9199 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9201 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
9203 * unroll.c (find_common_reg_term, subtract_reg_term,
9204 loop_find_equiv_value): Add static prototypes.
9205 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
9206 (copy_loop_body): Remove unreachable break statement.
9208 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
9210 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
9212 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9214 Undo some changes from the gcc2 merge:
9215 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
9216 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
9220 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
9221 * emit-rtl.c (gen_lowpart_common): Disable optimization of
9222 initialized float-int union if the value is a NaN.
9224 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
9226 * gthr-win32.h: New file.
9228 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
9229 shared as a valid attribute.
9230 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
9231 * extend.texi: Document `shared' variable attribute.
9233 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
9235 * configure.in: Handle --enable-threads on FreeBSD.
9236 * configure: Rebuit.
9238 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9240 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
9242 * configure: Rebuilt.
9244 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
9245 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
9246 Rosimildo DaSilva <rdasilva@connecttel.com>
9248 * configure.in (m68k-*-rtemscoff*): Added.
9249 * configure.in (mips64orion-*-rtems*): Converted to ELF.
9250 * configure.in (sparc-*-rtemsaout*): Added as alias for old
9251 sparc-rtems configuration.
9252 * configure.in (sparc-*-rtemself*): Added.
9253 * configure.in (sparc-*-rtems*): Now ELF not a.out.
9254 * config/i386/rtems.h: Added comment.
9255 * config/sparc/rtemself.h: New file.
9257 * configure.in (m68k-rtemself): Added.
9258 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
9259 and DWARF_DEBUGGING_INFO.
9260 * config/m68k/crti.s: New file.
9261 * config/m68k/crtn.s: New file.
9262 * config/m68k/t-crtstuff: New file.
9263 * config/m68k/rtemself.h: New file.
9265 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
9266 global ctor/dtor and C++ exception handling.
9267 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
9268 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
9270 * config/i386/t-rtems-i386: New File.
9272 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
9274 * stmt.c (expand_end_case): Return right away if the case stack is
9277 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
9279 * Makefile.in (version.c): Remove rule incorrectly brought in from
9282 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
9284 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
9285 * msdos/top.sed: Take into account a prepended $(SHELL) to
9287 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
9289 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
9291 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9293 * regmove.c (fixup_match_1): Don't change an unchanging register.
9294 (stable_but_for_p): Renamed to:
9295 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
9296 Changed all callers.
9298 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
9300 * loop.c (strength_reduce): Don't call reg_used_between_p if the
9301 insn from BL2 is after the insn from BL.
9303 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
9305 * recog.h (INSN_OUTPUT_FORMAT_*): New.
9306 (struct insn_data): Merge `template' and `outfun' into `output'.
9307 Add `output_format'.
9308 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
9309 (struct data): Remove `outfun'; add `output_format'.
9310 (name_for_index): Remove declaration.
9311 (output_insn_data): Handle output formats.
9312 (process_template): Emit the bare array for @.
9313 (gen_expand, gen_split): Set output_format to NONE.
9314 * output.h (get_insn_template): Declare.
9315 * final.c (get_insn_template): New.
9316 (final_scan_insn): Use it.
9317 * toplev.c (compile_file): Likewise.
9319 * c4x/c4x.c (c4x_process_after_reload): Likewise.
9320 * i860/i860.c (output_delayed_branch): Likewise.
9321 (output_delay_insn): Likewise.
9323 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9325 * rtl.c (obstack_alloc_rtx): Removed.
9327 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
9329 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
9331 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
9333 * i386.c (call_insn_operand): Reject const_int.
9334 (expander_call_insn_operand): Use call_insn_operand.
9336 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9338 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
9340 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
9342 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
9343 Use DImode operation.
9345 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
9347 * gcc.c: Include sys/resource.h.
9348 (report_times): New flag.
9349 (execute): If report_times is set, calculate and report the
9350 CPU time consumed by each subprocess.
9352 (rus, prus): New globals.
9353 (option_map): Add --time.
9354 (display_help): Document -time.
9355 (process_command): Set report_times if -time is given.
9356 Turn off -pipe if -time is given.
9358 * invoke.texi: Document new option -time.
9360 * configure.in: Check for getrusage. Check if we have to
9361 prototype getrusage.
9362 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
9363 * configure: Regenerate.
9364 * config.in: Regenerate.
9366 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
9368 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
9371 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
9373 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
9374 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
9375 (nan): Return _thenan_sf or _thenan_df as appropriate.
9376 (L_thenan_sf): Define _thenan_sf.
9377 (L_thenan_df): Define _thenan_df.
9379 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
9380 (DPBIT_FUNCS): Add _thenan_df.
9382 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
9384 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
9387 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9389 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
9392 (lang_specific_driver): Don't take a function pointer parameter.
9393 All callers changed.
9395 * gcc.c: Include gcc.h.
9396 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
9397 lang_specific_extra_outfiles, fatal): Don't declare.
9398 (multilib_defaults_raw): Constify.
9399 (read_specs): Call memset, rather than bzero.
9400 (main): Call return, not exit.
9401 (lookup_compiler): Call memcpy, not bcopy.
9402 (fatal): Make extern.
9404 * cppspec.c: Include gcc.h.
9405 (lang_specific_driver): Initialize variable `quote'. Constify a
9406 char*. All calls to the function pointer parameter now
9407 explicitly call `fatal'.
9409 * gccspec.c (lang_specific_driver): Include gcc.h.
9411 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
9413 * arm.c (note_invalid_constants): Use recog_data.operand_type
9416 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9418 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
9421 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
9422 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9423 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9424 reload_secondary_in_reload, reload_secondary_out_reload,
9425 reload_secondary_in_icode, reload_secondary_out_icode,
9426 reload_reg_rtx, reload_when_needed): Delete declarations.
9427 (struct reload): New structure.
9428 (rld): Declare new array.
9429 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
9430 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9431 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9432 reload_secondary_in_reload, reload_secondary_out_reload,
9433 reload_secondary_in_icode, reload_secondary_out_icode,
9434 reload_reg_rtx, reload_when_needed): Delete definitions.
9436 (whole file): Replace uses of the deleted arrays with uses of rld.
9437 * reload1.c (whole file): Replace uses of the deleted arrays with
9439 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
9440 explicit loops, not with bcopy.
9442 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
9444 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
9445 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
9446 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
9447 insn_name): Delete and consolidate into new structures.
9448 (insn_operand_predicate_fn): New.
9449 (insn_output_fn): New.
9451 (struct insn_operand_data): New.
9452 (struct insn_data): New.
9454 (OUT_FCN): Update for insn_data change.
9455 * builtins.c (expand_builtin_strlen): Likewise.
9456 (expand_builtin_memcmp): Likewise.
9457 * combine.c (make_extraction, simplify_comparison): Likewise.
9458 * cse.c (canon_reg, cse_insn): Likewise.
9459 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
9460 * expmed.c (store_bit_field, extract_bit_field): Likewise.
9461 (emit_store_flag): Likewise.
9462 * expr.c (convert_move, emit_block_move): Likewise.
9463 (clear_storage, emit_push_insn, expand_increment): Likewise.
9464 (do_store_flag): Likewise.
9465 * expr.h (GEN_FCN): Likewise.
9466 (insn_gen_function): Die.
9467 * final.c (final_scan_insn): Update for insn_data change.
9468 (output_asm_name): Likewise.
9469 * function.c (fixup_var_refs_1): Likewise.
9470 * loop.c (check_dbra_loop): Likewise.
9471 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
9472 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
9473 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
9474 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
9475 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
9476 * regmove.c (gen_add3_insn): Likewise.
9477 * reload.c (push_secondary_reload, combine_reloads): Likewise.
9478 (find_reloads, find_reloads_address_1): Likewise.
9479 (debug_reload_to_stream): Likewise.
9480 * reload1.c (emit_reload_insns, gen_reload): Likewise.
9481 * stmt.c (expand_end_case): Likewise.
9482 * toplev.c (compile_file): Likewise.
9484 * c4x/c4x.c (c4x_process_after_reload): Likewise.
9485 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9487 * print-rtl.c (insn_name_ptr): Remove declaration.
9488 (get_insn_name): Declare.
9489 (print_rtx): Use it.
9490 * genoutput.c (insn_name_ptr): Remove.
9491 (next_operand_number): New.
9492 (struct operand_data): New.
9493 (null_operand, odata, odata_end): New.
9494 (struct data): Use struct operand_data.
9495 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
9496 (get_insn_name): Renamed from name_for_index.
9497 (output_prologue): Define NO_MD_PROTOTYPES.
9498 (output_predicate_decls): Break out from output_epilogue.
9499 Iterate over the operands list.
9500 (output_operand_data): Break out from output_epilogue. Emit
9501 just the operands list.
9502 (output_insn_data): Break out from output_epilogue. Emit just
9504 (output_epilogue): Remove.
9505 (output_get_insn_name): New.
9506 (constraints, op_n_alternatives, predicates, address_p): Die.
9507 (modes, strict_low, seen): Die.
9508 (scan_operands): Take new param `d' instead of writing to
9509 seven global variables.
9510 (compare_operands): New.
9511 (place_operands): New.
9512 (validate_insn_alternatives): Update for struct data change.
9513 (gen_insn): Don't zero or copy 7 global arrays. Update for
9514 scan_operands; call place_operands.
9515 (gen_peephole, gen_expand, gen_split): Likewise.
9516 (main): Update for new output routines.
9518 * genattr.c (insn_name_ptr): Remove.
9519 (get_insn_name): New function.
9520 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
9521 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
9522 * genrecog.c: Likewise.
9524 * alpha.md (adddi3): Make `pattern' array static.
9526 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9528 * config/c4x/c4x.h (c4x_rpts_cycles_string,
9529 c4x_cpu_version_string): Constify char *.
9530 * config/c4x/c4x.c (c4x_rpts_cycles_string,
9531 c4x_cpu_version_string): Likewise.
9533 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
9535 * tree.c (save_tree_status): Revert 10 Sep change.
9536 (restore_tree_status): Likewise. Call obstack_free with NULL
9537 before freeing the obstack proper.
9539 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
9541 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
9543 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
9544 surrounding context.
9546 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
9548 * tree.c (type_hash_canon): Put all types in the hash-table, when
9551 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
9553 * recog.h (struct recog_data, recog_data): New.
9554 (recog_foo variables): Kill.
9555 * recog.c (recog_operand, recog_operand_loc): Kill.
9556 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
9557 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
9558 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
9559 (recog_data): Define.
9560 (extract_insn): Update all recog_foo references to use recog_data.
9561 (preprocess_constraints, constrain_operands): Likewise.
9562 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
9563 * genattrtab.c (main): Likewise.
9564 * genextract.c (main): Likewise.
9565 * genoutput.c: Likewise.
9566 * genrecog.c (write_subroutine, main): Likewise.
9567 * local-alloc.c (block_alloc): Likewise.
9568 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
9569 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
9570 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
9571 * reload.c (find_reloads, find_reloads_toplev): Likewise.
9572 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
9573 (reload_cse_simplify_operands): Likewise.
9575 * arc/arc.c (arc_final_prescan_insn): Likewise.
9576 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
9577 * h8300/h8300.c (notice_update_cc): Likewise.
9578 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
9579 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9580 * mn10200/mn10200.c (notice_update_cc): Likewise.
9581 * mn10300/mn10300.c (notice_update_cc): Likewise.
9582 * romp/romp.c (update_cc): Likewise.
9583 * sparc/sparc.c (check_pic): Likewise.
9584 * v850/v850.c (notice_update_cc): Likewise.
9586 * genemit.c (main): Don't declare recog_operand.
9588 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
9590 * ggc.h (rtvec_def): Forward declare.
9591 (tree_node): Likewise.
9594 (ggc_set_mark_rtx): Add prototype.
9595 (ggc_set_mark_rtvec): Likewise.
9596 (ggc_set_mark_tree): Likewise.
9597 * ggc-simple.c (ggc_root): Don't define.
9598 (roots): Don't declare.
9599 (ggc_mark_rtx): Remove.
9600 (ggc_mark_rtvec): Likewise.
9601 (ggc_mark_tree): Likewise.
9602 (ggc_mark_varray): Likewise.
9603 (ggc_mark_tree_hash_table_entry): Likewise.
9604 (ggc_mark_tree_hash_table): Likewise.
9605 (ggc_set_mart_rtx): New function.
9606 (ggc_set_mark_rtvec): Likewise.
9607 (ggc_set_mark_tree): Likewise.
9608 (ggc_add_root): Remove.
9609 (ggc_add_rtx_root): Likewise.
9610 (ggc_remove_tree_root): Likewise.
9611 (ggc_add_string_root): Likewise.
9612 (ggc_add_tree_varray_root): Likewise.
9613 (ggc_add_tree_hash_table_root): Likewise.
9614 (ggc_del_root): Likewise.
9615 (ggc_mark_rtx_ptr): Likewise.
9616 (ggc_mark_tree_ptr): Likewise.
9617 (ggc_mark_string_ptr): Likewise.
9618 (ggc_mark_tree_varray_ptr): Likewise.
9619 (ggc_mark_tree_hash_table_ptr): Likewise.
9620 * ggc-common.c: New file.
9621 * Makefile.in (OBJS): Add ggc-common.o.
9622 (ggc-common.o): List dependencies.
9624 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
9626 * cppalloc.c (xstrdup): Use memcpy.
9627 * cpperror.c (cpp_print_containing_files): Don't use
9629 * cpplib.c (conditional_skip): Set temp->lineno.
9630 (do_endif): Make error message less obscure.
9631 (if_directive_name): New function.
9632 (cpp_get_token [case EOF]): Unwind the if stack and generate
9633 error messages for each unterminated conditional in this file.
9634 (parse_string): Do not behave differently if -traditional.
9636 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
9638 * builtins.c (expand_builtin_va_arg): Cope with an array-type
9639 va_list decomposing to pointer-type.
9640 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
9641 (rs6000_va_arg): Likewise.
9643 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
9645 * except.c (start_dynamic_handler): Compute size using
9646 STACK_SAVEAREA_MODE.
9648 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9650 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
9651 include directory headers. Don't define strrchr. Don't provide
9652 my_* replacement functions. Prefer PTR over `pointer_type'.
9653 Don't prototype system functions. Don't redefine getopt.
9655 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
9656 safe_read, safe_write, save_pointers, restore_pointers,
9657 is_id_char, in_system_include_dir, directory_specified_p,
9658 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
9659 find_corresponding_lparen, referenced_file_is_newer,
9660 save_def_or_dec, munge_compile_params, gen_aux_info_file,
9661 process_aux_info_file, identify_lineno, check_source,
9662 seek_to_line, forward_to_next_token_char, output_bytes,
9663 output_string, output_up_to, other_variable_style_function,
9664 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
9665 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
9666 find_static_definition, connect_defs_and_decs, add_local_decl,
9667 add_global_decls, needs_to_be_converted, visit_each_hash_node,
9668 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
9669 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
9670 scan_for_missed_items, edit_file, string_list_cons): Add static
9672 (standard_exec_prefix, target_machine, target_version,
9673 default_syscalls_dir, string_list, string_list_cons, find_file,
9674 do_cleaning): Constify a char*.
9675 (safe_read, safe_write): Use PTR, not a char*.
9676 (is_id_char): Take an int, not a char.
9677 (main): Add prototype. Call return, not exit.
9679 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
9681 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
9682 when comparing types.
9684 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
9686 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
9687 (strength_reduce): Release the varrays from the no-bivs early exit.
9689 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
9690 the loop over the registers.
9692 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
9694 (restore_tree_status): Check that instead when freeing the obstack.
9696 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
9698 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
9701 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9703 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
9704 operand size modifiers.
9706 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9708 * c-common.c (c_common_nodes_and_builtins): Don't build
9710 * c-common.h (enum c_tree_index and related accesor macros): Remove
9711 everything now declared in tree.h.
9712 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9713 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
9714 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
9715 (error_mark_node, void_type_node, char_type_node, integer_type_node,
9716 unsigned_type_node, ptr_type_node, va_list_type_node,
9717 integer_zero_node, null_pointer_node, integer_one_node): Delete.
9718 (init_decl_processing): Call build_common_tree_nodes and
9719 build_common_tree_nodes_2 instead of building their nodes here.
9720 Don't add roots for these nodes.
9721 * stor-layout.c (size_zero_node, size_one_node): Delete.
9722 (set_sizetype): Make a new node for bitsizetype each time.
9723 * tree.c (global_trees): New variable.
9724 (init_obstacks): Add a gc root for it.
9725 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9726 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
9727 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
9728 (build_common_tree_nodes): New function.
9729 (fix_sizetype): New function.
9730 (build_common_tree_nodes_2): New function.
9731 * tree.h (enum tree_index): New.
9732 (global_trees): Declare.
9733 Add accessor macros for all nodes now moved to global_trees.
9734 Delete their declarations.
9736 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
9738 * c-decl.c (finish_function): When processing a nested function,
9739 push and pop GC context around rest_of_compilation.
9741 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
9743 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
9744 Default ix86_arch to PROCESSOR_I386.
9745 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
9746 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
9747 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
9748 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
9749 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
9750 (EXTRA_SPECS): Remove deleted specs.
9752 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
9754 * function.c (assign_stack_local_1): Allocate from
9755 function->x_frame_offset, not frame_offset.
9757 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
9759 * ggc.h (lang_cleanup_tree): Remove.
9760 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
9761 * ggc-callbacks.c (lang_cleanup_tree): Remove.
9763 * c-decl.c (finish_struct): Use ggc_alloc to allocate
9764 TYPE_LANG_SPECIFIC when garbage collecting.
9765 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
9766 (lang_cleanup_tree): Remove.
9768 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
9770 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
9771 * crtstuff.c: Not here.
9772 * dwarf2out.c: Or here.
9773 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
9776 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
9778 * function.h (free_after_compilation): Remove decl parameter.
9779 (free_varasm_status0: Likewise.
9780 (free_emit_status): Likewise.
9781 (free_stmt_status): Likewise.
9782 (free_after_compilation): Likewise.
9783 (init_lang_status): New variable.
9784 (free_lang_status): Likewise.
9785 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
9786 * function.c (init_lang_status): New variable.
9787 (free_lang_status): Likewise.
9788 (push_function_context_to): Don't set function::decl here.
9789 (free_after_copmilation): Make decl parameter implicit. Call
9790 free_lang_status if defined.
9791 (prepare_function_start): Call init_lang_status if defined.
9792 (init_function_start): Set function::decl here.
9793 * profile.c (output_func_start_profiler): Don't call pushdecl
9794 until we've actually started the function.
9795 * stmt.c (free_stmt_status): Make decl parameter implicit.
9796 * toplev.c (rest_of_compilation): Don't pass decl to
9797 free_after_compilation.
9798 * varasm.c (free_varasm_status): Likewise.
9800 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9802 * except.c (call_get_eh_context): Add root when allocating static
9805 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
9807 * arm.c: Include "ggc.h".
9808 (arm_add_gc_roots): New function.
9809 (arm_override_options): Call it.
9810 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
9812 * arm.md (define_asm_attributes): Add a pool_range attribute.
9814 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
9816 * extend.texi (Volatiles): New node.
9818 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
9820 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
9821 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
9822 (struct ggc_any): Replace `mark' with `magic_mark'.
9823 (ggc_alloc_string): Use memcpy, not bcopy.
9824 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
9825 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
9826 (ggc_free_any): New.
9827 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
9828 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
9829 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
9830 Use IS_MARKED. Use ggc_free_any.
9832 1999-09-09 Scott Bambrough <scottb@netwinder.org>
9834 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
9836 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
9838 * toplev.c (main): Always init_ggc.
9840 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
9842 * except.c (find_all_handler_type_matches): Free the list if
9843 we found no matches.
9845 * combine.c (SUBST): Break out to a real function do_SUBST.
9846 (SUBST_INT): Likewise.
9847 * gcse.c (free_pre_mem): Free `temp_bitmap'.
9848 (pre_insert): Free `inserted'.
9849 * loop.c (basic_induction_var): Always set `location'.
9851 * function.c (expand_function_end): Add initial_trampoline as a root.
9852 * rtl.h (init_varasm_once): Declare.
9853 * toplev.c (compile_file): Call it.
9854 * ggc-simple.c (ggc_mark_string_ptr): New.
9855 (ggc_add_string_root): New.
9856 (ggc_collect): Disable collection avoidance temporarily.
9857 * ggc.h (ggc_add_string_root): Declare.
9858 * except.c (create_rethrow_ref): Use ggc_alloc_string.
9859 * optabs.c (init_libfuncs): Likewise.
9860 * varasm.c (named_section): Use ggc_alloc_string.
9861 (make_function_rtl): Likewise.
9862 (make_decl_rtl): Likewise.
9863 (assemble_static_space): Likewise.
9864 (assemble_trampoline_template): Likewise.
9865 (output_constant_def): Likewise.
9866 (force_const_mem): Likewise.
9867 (mark_const_hash_entry): New.
9868 (mark_pool_sym_hash_table): New.
9869 (mark_varasm_state): Use it.
9870 (init_varasm_once): New.
9872 * expr.h (init_one_libfunc): Declare.
9873 * optabs.c (init_one_libfunc): New.
9874 (init_optabs): Use it.
9875 * config/gofast.h: Likewise.
9876 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
9877 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
9879 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
9881 * Makefile.in (cppexp.o): Depend on cpphash.h.
9882 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
9884 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
9885 * cpplib.c (do_define): Generalise to handle poisoned definitions,
9886 redefining poisoned identifiers, etc.
9887 (do_undef): Don't allow poisoned identifiers to be undefined.
9888 (do_pragma): Add #pragma poison.
9889 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9891 * cccp.c: Add T_POISON node type.
9892 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
9894 (do_define): Generalise to handle poisoned definitions,
9895 redefining poisoned identifiers, etc.
9896 (do_undef): Don't allow poisoned identifiers to be undefined.
9897 (do_pragma): Add #pragma poison.
9898 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9900 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
9901 * c-pragma.h: Add ps_poison state. We now always have generic
9904 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
9906 * ggc.h (ggc_alloc): New function.
9907 (ggc_mark): Likewise.
9908 * ggc-simple.c (ggc_any): New structure.
9909 (ggc_status): Add anys.
9910 (n_anys_collected): New variable.
9911 (ggc_alloc): Define.
9912 (ggc_mark): Likewise.
9913 (ggc_collect): Collect the anys.
9915 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9917 * c-decl.c (mark_binding_level): Make static to match prototype.
9919 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
9921 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
9923 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
9925 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
9926 will use into account. Expand the max width to 5.
9929 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
9931 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
9934 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
9936 * alpha.md (call value patterns): Remove the result predicates.
9938 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
9940 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
9943 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9945 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
9946 changed from extern char *, to extern PTR. Also fix typo in
9947 NEED_DECLARATION_REALLOC test.
9949 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
9951 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9953 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
9954 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
9955 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
9956 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
9958 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
9960 * cccp.c (pcfinclude): Likewise.
9962 * global.c (allocno_compare): Likewise.
9964 * haifa-sched.c (rank_for_schedule): Likewise.
9966 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
9968 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
9970 * stupid.c (stupid_reg_compare): Likewise.
9972 * tree.c (_obstack_allocated_p): Likewise.
9974 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
9976 1999-09-08 Bruce Korb autogen@linuxbox.com
9978 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
9979 why "gperf -F" fails.
9980 * gcc/cp/Makefile.in: ditto
9981 * gcc/Makefile.in: ditto
9982 * gcc/java/Makefile.in: ditto
9984 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
9986 * lists.c: Include ggc.h.
9988 (init_EXPR_INSN_LIST_cache): Install it.
9990 * ggc-simple.c (init_ggc): Absorb the old init.
9991 (ggc_push_context): Use xcalloc.
9992 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
9993 (ggc_collect): Add [rvts] tags to the collection stats.
9995 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
9997 * cccp.c (main): Fix handling of -include and -imacros options.
9999 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
10001 * cpplib.c (cpp_push_buffer): Fix order of arguments.
10003 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10005 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
10008 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
10010 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
10011 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
10012 and SET_DEST. Update comment.
10014 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10016 * config/c4x/c4x.c: Include ggc.h.
10017 (c4x_add_gc_roots): New function.
10018 (c4x_override_options): Call c4x_add_gc_roots.
10020 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
10022 * defaults.h (TARGET_ESC): Move ...
10023 * system.h: ... here, where Linas had it in the first place. Silly me.
10025 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
10027 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
10028 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
10029 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
10030 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
10031 * defaults.h (TARGET_ESC): Add default.
10033 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
10035 * configure.in: add i370-*-openedition, i370-*-mvs and
10036 i370-*-linux targets
10038 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
10040 * dsp16xxx.c: Include ggc.h
10041 (override_options): Mark GC roots.
10042 * mn10200.c: Include ggc.h.
10043 (asm_file_start): Mark GC roots.
10044 * tahoe.c: Include ggc.h.
10045 (extensible_operand): Mark GC roots.
10047 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
10049 * README: Add section discussing status of ELF ABI.
10050 * i370.c: Fix misc spelling mistakes.
10051 (i370_label_scan): Updated notes, exception handling.
10052 (i370_function_prolog): Simplify ELF stack handling.
10053 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
10054 (STACK_GROWS_DOWNWARD): ELF stack grows down.
10055 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
10056 * i370.md: (movdi): Add notes.
10057 (floatsidf2): Use stack not rtca for scratch float area.
10058 (iorsi3): Correct operand constraints.
10059 * x-oe: Restore TAROUTOPTS which are used by pax.
10061 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
10063 * rs6000.c: Include ggc.h.
10064 (rs6000_add_gc_roots): New function.
10065 (override_options): Call it.
10067 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
10069 * alpha.h (alpha_compare): New.
10070 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
10071 * alpha.c: Likewise for the definitions.
10072 (alpha_emit_conditional_branch): Update for alpha_compare.
10073 (alpha_emit_conditional_move): Likewise.
10074 * alpha.md (cmpdf, cmpdi): Likewise.
10075 (setcc patterns): Likewise. Zero alpha_compare after use.
10076 (sne): Optimize (x != 0) into (0U < x).
10078 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
10080 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
10081 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
10082 (INIT_EXPANDERS): Remove.
10083 * alpha.c: Include ggc.h.
10084 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
10085 (alpha_init_machine_status, alpha_mark_machine_status): New.
10086 (override_options): Install them.
10087 (struct machine_function): Moved to alpha.h.
10088 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
10089 (alpha_init_expanders): Remove.
10090 (alpha_return_addr): Adjust to use current_function->machine.
10091 (alpha_ra_ever_killed): Likewise.
10092 (alpha_expand_epilogue): Likewise.
10093 * alpha.md (eh_epilogue): Likewise.
10095 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
10096 Melissa O'Neill <oneill@cs.sfu.ca>
10097 Geoffrey Keating <geoffk@cygnus.com>
10099 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
10100 call-used registers (call-saved registers must still be contiguous
10101 and end with r31, of course).
10103 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
10105 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
10106 (self_promoting_type_p): Delete.
10107 (self_promoting_args_p): Move ...
10108 * c-common.c: ... here.
10109 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
10110 (simple_type_promotes_to): New.
10111 * builtins.c (lang_type_promotes_to): New.
10112 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
10113 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
10114 * c-common.h: ... here.
10115 (self_promoting_args_p, simple_type_promotes_to): Declare.
10116 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
10117 (grokdeclarator): Likewise.
10118 * tree.h (lang_type_promotes_to): Declare.
10120 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
10122 Add some machine-dependent GC roots.
10123 * sparc.c: Include ggc.h.
10124 (sparc_add_gc_roots): New function.
10125 (mark_ultrasparc_pipeline_state): Likewise.
10126 (override_options): Call sparc_add_gc_roots.
10127 * pa.c: Include ggc.h.
10128 (pa_add_gc_roots): New function.
10129 (mark_deferred_plabels): Likewise.
10130 (override_options): Call pa_add_gc_roots.
10131 * mips.c: Include ggc.h.
10132 (mips_add_gc_roots): New function.
10133 (override_options): Use it.
10135 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10137 * cpperror.c (cpp_file_line_for_message): Constify a char*.
10139 * cppexp.c (parse_number, parse_charconst, cpp_lex,
10140 cpp_parse_expr): Add static prototypes.
10141 (parse_charconst): Don't cast away const-ness.
10142 (token): Constify a char*.
10144 * cppfiles.c (file_name_list, include_hash, find_include_file,
10145 finclude, initialize_input_buffer): Constify a char*.
10146 (file_cleanup, find_position): Add static prototypes.
10148 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
10149 collect_expansion): Add static prototypes.
10150 (cpp_install, create_definition, monthnames): Constify a char*.
10152 * cpphash.h (cpp_install): Likewise.
10154 * cppinit.c (known_suffixes, default_include,
10155 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
10156 (base_name, dump_special_to_buffer, initialize_dependency_output):
10157 Add static prototypes.
10159 * cpplib.c (my_strerror): Constify a char*.
10160 (null_underflow, null_cleanup, skip_comment, copy_comment,
10161 copy_rest_of_line, handle_directive, pass_thru_directive,
10162 get_directive_token, read_line_number, cpp_print_file_and_line,
10163 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
10164 v_cpp_warning_with_line, detect_if_not_defined,
10165 consider_directive_while_skipping): Add static prototypes.
10166 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
10167 cpp_pedwarn_with_file_and_line): Constify a char*.
10169 * cpplib.h (cpp_options, include_hash, progname, definition,
10170 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
10171 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
10172 find_include_file, deps_output, include_hash): Constify a char*.
10174 * cppmain.c (progname): Constify.
10175 (main): Add prototype. Use return, not exit.
10177 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
10178 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
10179 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
10180 check_protection): Add static prototype.
10182 (progname, recognized_macrom, recognized_extern): Constify a char*.
10183 (main): Add prototype.
10185 * gen-protos.c (progname): Constify a char*.
10187 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
10189 * emit-rtl.c (free_emit_status): Take decl as a parameter.
10190 (init_emit_once): Add more GC roots.
10191 * except.c (mark_func_eh_entry): New function.
10192 (mark_eh_node): Mark false_label and rethrow_label.
10193 (init_eh): Add more GC roots.
10194 * function.c (free_after_compilation): Take decl as a paramter.
10195 Call free_stmt_status.
10196 (mark_function_state): Don't assume x_parm_reg_stack_loc is
10198 * function.h (free_after_compilation): Change prototype.
10199 (free_varasm_status): Likewise.
10200 (free_emit_status): Likewise.
10201 (free_stmt_status): New function.
10202 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
10203 Remove, replacing with ...
10204 (ggc_status): New structure.
10205 (ggc_chain): New variable.
10206 (init_gcc): Define.
10207 (ggc_push_context): New function.
10208 (ggc_pop_context): Likewise.
10209 (ggc_alloc_rtx): Adjust for use of ggc_chain.
10210 (ggc_alloc_rtvec): Likewise.
10211 (ggc_alloc_tree): Likewise.
10212 (ggc_alloc_string): Likewise.
10213 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
10214 (ggc_mark_tree): Give language-dependent code a chance to mark
10216 (ggc_mark_tree_varray): Handle empty arrays.
10217 (ggc_collect): Adjust for use of ggc_chain. Clear
10218 bytes_alloced_since_last_gc.
10219 * ggc.h (ggc_pop_context): New function.
10220 (ggc_push_context): Likewise.
10221 * print-tree.c (print_node): Don't print obstacks when GC'ing.
10222 * stmt.c (free_stmt_status): New function.
10223 (init_stmt_for_function): Clear last_expr_value.
10224 * toplev.c (rest_of_compilation): Always call free_after_compilation.
10225 Conditionalize call to ggc_collect.
10226 (main): Call init_ggc.
10227 * tree.c (push_obstacks): Do the push, even when GC'ing.
10228 (push_obstacks_nochange): Likewise.
10229 (pop_obstacks): Liekwise.
10230 * varasm.c (free_varasm_status): Take decl as a parameter.
10232 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
10234 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
10235 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
10236 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
10237 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
10239 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
10241 * pa/x-pa-mpeix: New file for the MPE port.
10243 * pa/quadlib.asm: New file for long double support.
10245 * configure.in: Add hppa1.0-*-mpeix for MPE port.
10246 * configure: Rebuilt.
10248 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
10250 * final.c (shorten_branches): Fix last change.
10252 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
10254 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
10256 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
10258 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
10261 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10263 * c-aux-info.c (concat): Don't define.
10265 * cccp.c (my_strerror): Likewise. All callers changed to use
10267 (do_include): Call xstrdup, not xmalloc/strcpy.
10268 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
10269 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
10271 * collect2.c (my_strsignal): Likewise. All callers changed to use
10273 (locatelib): Call xstrdup, not xmalloc/strcpy.
10275 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
10277 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
10279 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
10281 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
10283 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
10285 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
10287 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
10289 (find_all_handler_type_matches): Likewise. Don't check return
10291 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
10292 xmalloc, not malloc.
10293 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
10295 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
10296 (init_spec): Call xcalloc, not xmalloc/bzero.
10297 (set_spec): Call xstrdup, not save_string.
10298 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
10299 (find_a_file): Call xstrdup, not xmalloc/strcpy.
10300 (process_command): Call xstrdup, not save_string.
10301 (main): Call xcalloc, not xmalloc/bzero.
10303 * gcov.c (xmalloc): Don't define.
10304 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
10305 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
10306 (output_data): Call xcalloc, not xmalloc/bzero.
10308 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
10310 * mips-tdump.c (xmalloc): Don't define.
10311 (print_symbol): Call xmalloc, not malloc.
10312 (read_tfile): Call xcalloc, not calloc.
10314 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
10315 Don't define. All callers of xfree/my_strsignal changed to use
10316 free/strsignal instead.
10317 (allocate_cluster): Call xcalloc, not calloc.
10319 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
10320 Fix memory leak, free allocated memory.
10322 * prefix.c (translate_name): Call xstrdup, not save_string.
10323 (update_path): Likewise.
10325 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
10327 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
10328 Don't define. Callers of xfree/savestring2 changed to use
10329 free/concat instead.
10331 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
10332 (init_elim_table): Likewise.
10334 * resource.c (init_resource_info): Likewise.
10336 * stupid.c (stupid_life_analysis): Likewise.
10338 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
10339 (open_dump_file): Call concat, not xmalloc/strcpy/...
10340 (clean_dump_file): Likewise.
10341 (compile_file): Call xstrdup, not xmalloc/strcpy.
10343 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
10345 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
10346 * v850.c (v850_va_arg): New.
10348 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10350 * haifa-sched.c: Tidy comments.
10352 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10354 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
10355 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
10356 $(out_object_file)): Depend on ggc.h.
10357 * c-common.c: Include "ggc.h".
10358 (combine_strings): If doing GC, use ggc_alloc_string.
10359 * c-decl.c: Include "ggc.h".
10360 (ggc_p): Define with value 0.
10361 (mark_binding_level): New function.
10362 (init_decl_processing): Add GC roots.
10363 (mark_c_function_context): New function.
10364 (lang_mark_false_label_stack): New function.
10365 (lang_mark_tree): New function.
10366 (lang_cleanup_tree): New function.
10367 * c-lang.c: Include "ggc.h".
10368 (lang_init): Call c_parse_init.
10369 * c-lex.c: Include "ggc.h".
10370 (check_linenum): If doing GC, don't copy filenames to permanent
10372 * c-parse.in: Include "ggc.h".
10373 (c_parse_init): New function.
10374 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
10375 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
10377 * except.c (mark_eh_state): Mark more state.
10378 * function.c (mark_function_state): Likewise.
10379 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
10380 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
10381 * toplev.c (mark_file_stack): New function.
10382 (compile_file): If doing GC, use ggc_alloc_string on input filename.
10383 (main): Add root for input_file_stack.
10385 * i386.c: Include "ggc.h".
10386 (ix86_mark_machine_status): New function.
10387 (override_options): Set mark_machine_status.
10389 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10391 * tree.c (copy_node): Copy node contents also if doing GC.
10393 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10395 * collect2.c (scan_libraries): Fix double-thinko :-).
10397 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
10399 * collect2.c (scan_libraries): Fix thinko.
10401 * cse.c (delete_trivially_dead_insns): Do not skip the last
10402 insn if it is a real insn.
10404 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
10406 * Makefile.in (ggc-simple.o): Depend on hash.h.
10407 * ggc.h (ggc_add_tree_hash_table_root): Declare.
10408 (ggc_mark_tree_varray): Likewise.
10409 (ggc_mark_tree_hash_table): Likewise.
10410 * ggc-simple.c: Include hash.h.
10411 (ggc_mark_tree_hash_table_ptr): New function.
10412 (ggc_mark_tree_hash_table_entry): Likewise.
10413 (ggc_mark_tree_hash_table): Likewise.
10414 (ggc_add_tree_hash_table_root): Likewise.
10415 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
10416 rtx, when defining fields.
10418 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10420 * profile.c (output_func_start_profiler): Remove apparently
10421 nonsensical call to start_sequence.
10423 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
10425 * clipper/clipper.c (clipper_va_start): Fix typos.
10427 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
10428 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
10429 (spur_va_arg): New stub.
10431 * configure.in: Comment out pyramid.
10433 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
10435 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
10436 don't conflict with the bits that win32, cygwin, and dgux
10439 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
10440 Bernd Schmidt <bernds@cygnus.co.uk>
10442 * integrate.c (function_cannot_inline_p): Do not inline
10443 functions with forced labels.
10445 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
10446 Bernd Schmidt <bernds@cygnus.co.uk>
10447 Mark Mitchell <mark@codesourcery.com>
10449 * Makefile.in (ggc-simple.o): Depend on varray.h.
10450 (rtl.o): Depend on ggc.h.
10451 (genattrtab.o): Depend on ggc.h.
10452 (print-tree.o): Likewise.
10453 (fold-const.o): Likewise.
10454 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
10455 (make_insn_raw): Don't cache insns when GC'ing.
10456 (emit_insn_before): Likewise.
10457 (emit_insn_after): Likewise.
10458 (emit_insn): Likewise.
10459 (start_sequence): Use xmalloc to allocate the sequence_stack.
10460 (end_sequence): Add free to free it.
10461 (gen_sequence): Don't cache insns when GC'ing.
10462 (clear_emit_caches): Don't use sequence_element_free_list.
10463 (init_emit): Use xcalloc, not xmalloc+bzero.
10464 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
10465 * function.c (pop_function_context_from): Use free to free the
10466 fixup_var_refs_queue.
10467 (put_reg_into_stack): Allocate it with xmalloc.
10468 * genattrtab.c: Include ggc.h.
10469 (operate_exp): Don't use obstack_free when GC'ing.
10470 (simplify_cond): Likewise.
10471 (simplify_text_exp): Likewise.
10472 (optimize_attrs): Likewise.
10473 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
10475 (gencode): Generate a #include for ggc.h.
10476 * ggc-callbacks.c (ggc_p): Define it to zero.
10477 * ggc-none.c (ggc_p): Likewise.
10478 * ggc-simple.c: Include varray.h.
10479 (ggc_mark_tree_varray): New function.
10480 (ggc_add_tree_varray_root): Likewise.
10481 (ggc_mark_tree_varray_ptr): Likewise.
10482 * ggc.h (ggc_p): Declare.
10483 (varray_head_tag): Likewise.
10484 (ggc_add_tree_varray_root): Declare.
10485 * print-tree.c (print_node): Don't check for TREE_PERMANENT
10486 inconsistencies when GC'ing.
10487 * rtl.c: Include ggc.h.
10488 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
10489 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
10490 (rtx_free): Don't call obstack_free when GC'ing.
10491 * toplev.c (rest_of_compilation): Call ggc_collect after every
10493 * tree.c (push_obstacks): Do nothing, if GC'ing.
10494 (pop_obstacks_nochange): Likewise.
10495 (pop_obstacks): Likewise.
10496 (make_node): Use ggc_alloc_tree when GC'ing.
10497 (copy_node): Likewise.
10498 (get_identifier): Use ggc_alloc_string when GC'ing.
10499 (build_string): Likewise.
10500 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
10501 (tree_cons): Likewise.
10502 (build1): Likewise.
10503 (type_hash_canon): Don't call obstack_free when GC'ing.
10505 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
10507 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
10508 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
10510 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
10511 Bernd Schmidt <bernds@cygnus.co.uk>
10512 Mark Mitchell <mark@codesourcery.com>
10514 * Makefile.in (stor-layout.o): Depend on ggc.h.
10515 (expr.o): Depend on ggc.h.
10516 (profile.o): Depend on ggc.h.
10517 (stor-layout.o): Depend on ggc.h.
10518 * emit-rtl.c (init_emit_once): Add gc roots.
10519 * expr.c: Include ggc.h.
10520 (emit_block_move): Add gc roots.
10521 (clear_storage): Likewise.
10522 * expr.h (init_stor_layout_once): New function.
10523 * profile.c: Include ggc.h.
10524 (init_arc_profiler): profiler_label is a root.
10525 * scan.c (make_sstring_space): Trust xrealloc to function
10526 correctly with first parameter NULL.
10527 * stor-layout.c: Include ggc.h.
10528 (set_sizetype): Add gc root.
10529 (init_stor_layout_once): New function.
10530 * toplev.c (compile_file): Call it.
10532 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
10533 Bernd Schmidt <bernds@cygnus.co.uk>
10534 Mark Mitchell <mark@codesourcery.com>
10536 * Makefile.in (tree.o): Depend on ggc.h.
10537 (varasm.o): Likewise.
10538 (function.o): Likewise.
10539 (stmt.o): Likewise.
10540 (except.o): Likewise.
10541 (optabs.o): Likewise.
10542 (emit-rtl.o): Likewise.
10543 * emit-rtl.c: Include ggc.h.
10544 (sequence_element_free_list): Remove, and all references.
10545 (mark_sequence): New functions.
10546 (mark_emit_state): New function.
10547 * except.c: Include ggc.h.
10548 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
10549 (mark_tree_label_node): New functions.
10550 (mark_eh_state): New function.
10551 * function.c: Include ggc.h.
10552 (mark_temp_slot, mark_function_chain): New functions.
10553 (mark_function_state): New function.
10554 (init_function_once): New function.
10555 * function.h (init_function_once): New function.
10556 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
10557 * ggc.h (label_node): Declare.
10558 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
10559 (lang_mark_false_label_stack): New function.
10560 (mark_temp_slot): Remove declaration.
10561 (mark_function_chain): Likewise.
10562 (mark_eh_state): Adjust prototype.
10563 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
10565 * optabs.c: Include ggc.h.
10566 (mark_optab): New function.
10567 (init_optabs): Add gc roots.
10568 * stmt.c: Include ggc.h.
10569 (mark_cond_nesting, mark_loop_nesting): New functions.
10570 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
10571 (mark_stmt_state): New function.
10572 * toplev.c (compile_file): Call init_function_once.
10573 * tree.c: Include ggc.h.
10574 (type_hash): Move declaration earlier in file.
10575 (TYPE_HASH_SIZE, type_hash_table): Likewise.
10576 (init_obstacks): Add gc roots.
10577 (mark_type_hash): New function.
10578 * varasm.c: Include ggc.h.
10579 (mark_pool_constant): New function.
10580 (mark_varasm_state): New function.
10582 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10584 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
10586 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10588 * c-decl.c (struct language_function): Renamed from struct c_function.
10590 (c_function_chain): Delete.
10591 (push_c_function_context): New arg F. Don't warn about nested
10592 functions here. Fill LANGUAGE elt of F. Delete code to update
10593 c_function_chain. Don't call push_function_context.
10594 (pop_c_function_context): New arg F. Restore from there instead of
10595 from c_function_chain. Don't call pop_function_context. Clear out
10596 LANGUAGE field of F when done.
10597 * c-lang.c: Include "function.h"
10598 (lang_init): Initialize save_lang_status and restore_lang_status.
10599 * c-parse.in (nested_function, nested_function_notype): Warn about
10600 nested functions. Call push_function_context/pop_function_context
10601 instead of the _c_ variants.
10602 * c-tree.h (push_c_function_context, pop_c_function_context): Update
10604 * Makefile.in (c-lang.o): Update dependencies.
10606 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
10607 regno_pointer_flag, regno_pointer_align.
10608 (gen_reg_rtx): Use xrealloc to enlarge them.
10609 (free_emit_status): New function.
10610 * function.c (mark_machine_status, mark_lang_status): New variables.
10611 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
10612 in some bits from assign_stack_local. All callers changed to use new
10614 (assign_stack_local): Just call assign_stack_local_1.
10615 (free_after_compilation): New function.
10616 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
10617 (trampoline_address): Likewise.
10618 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
10619 (prepare_function_start): Explicitly clear some more variables.
10620 * function.h (struct function): New elt can_garbage_collect.
10621 (mark_machine_status, mark_lang_status): Declare variables.
10622 (free_after_compilation, free_emit_status, free_varasm_status,
10623 init_varasm_status): Declare functions.
10624 * toplev.c (rest_of_compilation): Call free_after_compilation when
10625 done with the current function.
10626 * varasm.c (free_varasm_status): New function.
10628 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
10630 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
10631 (EXPAND_BUILTIN_VA_ARG): Define.
10632 * sparc.c (sparc_va_start): New.
10633 (sparc_va_arg): New.
10635 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10637 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
10639 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10641 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
10643 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
10645 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
10646 (OBJS): Add $(GGC).
10647 (ggc-callbacks.o): New target.
10648 * ggc-callbacks.c: New file.
10650 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10652 * expr.h: Collapse individual optab and libfunc vars to arrays.
10653 (optab_index, libfunc_index): New enumerations.
10654 (optab_table, libfunc_table): New arrays.
10655 Add accessor macros for both.
10657 * optabs.c (optab_table, libfunc_table): New.
10658 Delete declarations for individual optab and libfunc vars.
10660 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
10662 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
10664 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
10666 * Makefile.in (GGC, GGC_LIB): New.
10667 (HOST_RTL): Include ggc-none.o.
10668 (ggc-simple.o): New target.
10669 (ggc-none.o): Likewise.
10670 * tree.h (tree_common): Add gc_mark.
10671 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
10672 (struct rtvec_def): Add gc_mark.
10673 * emit-rtl.c (global_rtl): Update static initializers to contain
10674 enough initializers.
10675 * ggc.h, ggc-none.c, ggc-simple.c: New files.
10676 * toplev.c (gc_time): New variable.
10677 (all_time): New variable.
10678 (compile_file): Print gc time.
10679 (print_time): Calculate percentage of the whole.
10681 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10683 Change obstack memory management and varasm constant pool handling so
10684 that nested functions are treated like any other functions.
10685 * function.c (init_machine_status): New variable.
10686 (push_function_context_to): Set contains_functions for the outer
10687 function. Don't call save_varasm_status.
10688 (pop_function_context_from): Don't call restore_varasm_status. Don't
10689 set current_function_contains_functions.
10690 (prepare_function_start): Call init_varasm_status rather than
10691 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
10693 * function.h (struct function) Add field varasm. Delete fields
10694 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
10695 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
10696 (init_machine_status): Declare.
10697 (save_varasm_status, restore_varasm_status): Delete declarations.
10698 (save_tree_status, restore_tree_status): Delete last argument.
10699 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
10700 code. All callers changed.
10701 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
10702 save_constants_in_decl_trees, restore_constants, save_constants,
10703 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
10705 (inlining): New variable.
10706 (reg_map, label_map, insn_map, orig_asm_operands_vector,
10707 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
10709 (save_for_inline_nocopy): Don't save constants.
10710 Don't set inl_emit field in current_function.
10711 (expand_inline_function): Use emit field, not inl_emit, of the inlined
10712 function. Set new variable inlining before
10713 calling copy_rtx_and_substitute.
10714 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
10715 constant pool references if inlining is nonzero.
10716 Delete ADDRESS and (most of the) CONST cases.
10717 (output_inline_function): Save and restore current_function/
10718 current_function_decl. Delete restore_constants code. Don't call
10719 init_const_rtx_hash_table.
10720 * output.h (init_const_rtx_hash_table): Don't declare.
10721 * rtl.h (struct function): Declare.
10722 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
10723 * toplev.c (rest_of_compilation): Don't treat nested functions or
10724 functions containing them specially. Delete all code to deal with
10725 save_for_inline_copying.
10726 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
10727 inline_obstacks): Delete variables.
10728 (save_tree_status): Lose arg CONTEXT. All callers changed.
10729 Simply allocate a new function_maybepermanent_obstack for the new
10730 function, delete all the special cases.
10731 Don't save inline_obstacks.
10732 (restore_tree_status): Lose arg CONTEXT. All callers changed.
10733 Delete special handling for function_maybepermanent_obstack; simply
10735 Don't restore inline_obstacks.
10736 (permanent_allocation): Delete code that frees inline_obstacks.
10737 (print_inline_obstack_statistics): Delete function.
10738 (dump_tree_statistics): Don't call it.
10739 * varasm.c (struct varasm_status): New.
10740 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
10741 last_pool, pool_offset, const_double_chain): Delete global
10742 variables, replace with accessor macros.
10743 (immed_double_const): Don't walk const_double_chain outside a
10744 function, but don't treat nested functions specially anymore.
10745 (immed_real_const_1): Likewise.
10746 (clear_const_double_mem): Don't treat nested functions specially.
10747 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
10748 (save_varasm_status, restore_varasm_status): Delete functions.
10749 (init_varasm_status): New function.
10750 (force_const_mem): Don't treat nested functions specially.
10751 (find_pool_constant): Accept new arg F, search for constants in
10752 that function's pool rather than the current one. All callers
10754 (get_pool_constant_for_function, get_pool_mode_for_function): New
10757 * i386.c (init_386_machine_status): New function, mostly from
10758 clear_386_stack_locals.
10759 (struct machine_functions): Rename element names to avoid name
10761 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
10762 macros, replacing global variables.
10763 (clear_386_stack_locals, save_386_machine_status,
10764 restore_386_machine_status): Delete functions.
10765 (override_options): Initialize init_machine_status.
10766 * i386.h (INIT_EXPANDERS): Delete macro.
10767 (save_386_machine_status, restore_386_machine_status,
10768 clear_386_stack_locals): Delete declarations.
10770 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10772 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
10773 (doloop_begin): Simplify pattern and use emit_jump_insn.
10774 (doloop_end): Simplify pattern, switch operand order,
10775 and use emit_jump_insn.
10777 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10779 * function.h (struct function): Add new element LANGUAGE.
10780 (save_lang_status): Declare new variable.
10781 (restore_lang_status): Likewise.
10782 * function.c (save_lang_status): Define.
10783 (restore_lang_status): Likewise.
10784 (push_function_context_to): Call language-specific save function.
10785 (pop_function_context_from): Call language-specific restore function.
10787 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
10789 * i386.md (movsf_1): Check REG_P before use of REGNO.
10790 (movdf_1): Likewise.
10791 (movxf_1): Likewise.
10792 (extendsfdf2): Likewise.
10793 (extendsfxf2): Likewise.
10794 (extenddfxf2): Likewise.
10796 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10798 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
10799 constants into memory.
10800 (c4x_shiftable_constant): New function.
10801 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
10802 (c4x_shiftable_constant): Declare.
10803 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
10804 ashlqi3_noclobber): Add new patterns and associated splitters.
10806 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
10808 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
10809 * dwarf2out.c (dwarf2out_frame_init): Likewise.
10810 * final.c (shorten_branches): Likewise.
10811 * global.c (global_alloc): Likewise.
10812 * haifa-sched.c (build_control_flow): Likewise.
10813 * stmt.c (check_for_full_enumeration_handling): Likewise.
10814 (estimate_case_costs): Likewise.
10816 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
10818 * rtl.h (RTL_CHECKC2): Fix typo in last change.
10820 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
10822 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
10823 (recompute_reg_usage): Likewise.
10824 * rtlanal.c (find_regno_fusage): Likewise.
10826 * rtl.c (rtl_check_failed_code1): New function.
10827 (rtl_check_failed_code2): New.
10828 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
10829 (RTL_CHECKC1, RTL_CHECKC2): New.
10830 (XC*): New accessor macros.
10831 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
10832 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
10833 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
10834 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
10835 (TRAP_*, RANGE_INFO_*): Likewise.
10837 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10839 * Makefile.in (tlink.o): Don't depend on toplev.h.
10841 * collect2.c (c_file, o_file, export_file, import_file, ldout,
10842 output_file, nm_file_name, ldd_file_name, strip_file_name,
10843 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
10844 add_prefix, prefix_from_env, prefix_from_string, do_wait,
10845 fork_execute, maybe_unlink, add_to_list,
10846 extract_init_priority, write_list, dump_list,
10847 dump_prefix_list, write_list_with_asm, write_c_file,
10848 write_c_file_stat, write_c_file_glob, scan_prog_file,
10849 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
10850 ignore_library, extract_string, notice, dump_file, target_machine,
10851 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
10852 read_file, print_load_command): Constify a char*.
10853 (fdopen, error, fatal, fatal_perror): Don't prototype.
10854 (my_strerror): Remove. All callers use xstrerror instead.
10855 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
10856 (main): Add prototype. Constify lots of char* ptrs. Change calls
10857 to xcalloc/strcpy/strcat/... to one call to concat.
10858 (main, scan_prog_file, scan_libraries): Use an intermediate
10859 `const char **' to build an argv array.
10860 (mapfile, libselect, libcompare, locatelib): Add prototypes.
10862 * collect2.h (collect_execute, collect_wait, dump_file,
10863 file_exists): Constify a char*.
10864 (ldout, c_file_name, temporary_obstack, permanent_obstack,
10865 temporary_firstobj, vflag, debug): Add extern declarations.
10866 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
10868 * tlink.c: Don't include toplev.h.
10869 (vflag, debug, ldout, c_file_name, temporary_obstack,
10870 permanent_obstack, temporary_firstobj): Don't declare.
10871 (tlink_execute, frob_extension, symbol_hash_lookup,
10872 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
10873 recompile_files, read_repo_files, demangle_new_symbols,
10874 scan_linker_output): Constify a char*.
10875 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
10876 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
10878 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
10880 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
10881 (relative) rather than jsr (absolute) subroutine call insns.
10882 * config/m68k/m68k-coff.h: Ditto.
10884 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
10886 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
10887 now rework these too.
10888 (arm_reorg): If an insn can't reach the end of the current pool,
10889 ensure that we emit that pool before the insn.
10891 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
10893 * tlink.c (scan_linker_output): Skip the initial underscore in
10894 a mangled name if appropriate.
10896 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10898 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
10899 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
10900 error_with_ivar, gen_declarator, create_builtin_decl,
10901 my_build_string, generate_descriptor_table, generate_ivars_list,
10902 generate_dispatch_table, check_protocols, TAG_GETCLASS,
10903 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
10904 dump_base_name, lang_decode_option, build_encode_expr,
10905 start_class, finish_class, encode_pointer, really_start_method,
10906 gen_declaration, dump_interface, handle_class_ref, handle_impent):
10908 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
10909 Add static prototypes.
10910 (build_objc_string_decl, build_selector_reference_decl,
10911 encode_bitfield, build_class_reference_decl): Remove unused
10912 parameter, all callers changed.
10913 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
10914 (objc_printable_name): Likewise. Change second parameter to type int.
10915 (init_objc): Use memcpy, not bcopy, to avoid casts.
10917 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
10919 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
10920 reg notes on a deleted insn.
10921 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
10923 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
10925 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
10927 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10929 * stmt.c (expand_asm_operands): Fix index into inout_mode when
10932 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
10934 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
10935 * tm.texi (MD_ASM_CLOBBERS): Document it.
10937 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
10939 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
10940 * except.c (expand_rethrow): Remove unused variable.
10941 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
10942 * flow.c (replace_insns): Likewise.
10943 (create_edge_list, verify_edge_list): Likewise.
10944 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
10946 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
10947 is special code to run.
10948 (main): Don't define operands to emit_operand.
10949 * genrecog.c (main): Don't emit an empty peephole2_insn function.
10951 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
10953 * alpha/alpha.h (normal_memory_operand): Declare.
10954 (reg_no_subreg_operand): Declare.
10955 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
10957 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
10959 * c-parse.in (compstmt_primary_start): New, broken out of first
10960 part of compstmt handling in primary.
10961 (primary): Use it. Add an error clause.
10962 (compstmt_nostart): Renamed from compstmt; remove all
10963 initial invocations of compstmt_start.
10966 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
10968 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
10971 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
10973 * combine.c (simplify_shift_const): Remove extra semicolon.
10974 * dwarf2out.c (remove_AT): Likewise.
10975 * expmed.c (expand_mult): Likewise.
10976 * gcov.c (create_program_flow_graph): Likewise.
10977 * reorg.c (mostly_true_jump): Likewise.
10979 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
10981 * fold-const.c (fold_range_test): Do not try to fold the range
10982 test if the rhs or lhs has side effects.
10984 * combine.c (simplify_rtx): Recognize another case of a synthesized
10987 * varasm.c (mark_constant_pool): When marking indirect references,
10988 only look at SYMBOL_REFs.
10990 * except.c (expand_fixup_region_end): Do not peek at
10991 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
10993 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
10995 * flags.h: New variables align_loops, align_loops_log,
10996 align_jumps, align_jumps_log, align_labels, align_labels_log,
10997 align_functions, align_functions_log.
10998 * toplev.c: Define them.
10999 (f_options): Handle -falign-* when they have no argument.
11000 (main): Add logic to set variables for -falign-functions,
11001 -falign-jumps, -falign-labels, -falign-loops.
11002 Make it -fsched-verbose=<n> and -finline-limit=<n>.
11003 (display_help): Change help to match options.
11004 * final.c (LABEL_ALIGN): Default to align_labels_log.
11005 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
11006 (LOOP_ALIGN): Default to align_loops_log.
11007 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
11008 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
11009 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
11010 * varasm.c (assemble_start_function): Handle align_functions.
11012 * config/sparc/sparc.h: Don't declare sparc_align_*.
11013 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
11014 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
11016 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
11018 * config/sparc/sparc.c: Delete sparc_align_loops,
11019 sparc_align_jumps, sparc_align_funcs and the corresponding string
11021 (sparc_override_options): Default align_functions on ultrasparc.
11022 Delete -malign-* handling.
11024 * config/mips/mips.c (override_options): On 64-bit targets,
11025 try to align code to 64-bit boundaries.
11026 (print_operand): New substitution, %~,
11027 which aligns labels to align_labels_log.
11028 * config/mips/mips.md (div_trap_normal): Use %~.
11029 (div_trap_mips16): Likewise.
11031 (absdi2): Likewise.
11032 (ffssi2): Likewise.
11033 (ffsdi2): Likewise.
11034 (ashldi3_internal): Likewise.
11035 (ashrdi3_internal): Likewise.
11036 (lshrdi3_internal): Likewise.
11037 (casesi_internal): Likewise.
11039 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
11041 Merge new ia32 backend from the branch!
11043 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
11044 See ChangeLog.P2 on new_ia32_branch for details.
11046 * rtl.h (stack_regs_mentioned_p): Delete prototype.
11047 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
11048 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11049 * i386/gas.h (ASM_FILE_START): Define.
11050 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
11051 for name change of ix86_valid_decl_attribute_p.
11052 (i386_pe_valid_type_attribute_p): Similarly.
11054 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
11056 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
11057 to step through CC modes.
11059 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11061 * regmove.c (fixup_match_1): Don't move INSN in front of P if
11062 it would end up in the shadow of a live flags regsiter.
11064 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11066 * reload1.c: Fix many indentation problems.
11067 * reload.c: Likewise.
11069 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
11071 * alias.c (non_local_reference_p): Constify fmt.
11073 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
11075 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
11077 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
11079 * cse.c (delete_trivially_dead_insns): Do not delete stores to
11080 the internal_arg_pointer.
11082 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
11084 Merge peephole2 from new_ia32_branch:
11085 * Makefile.in (STAGESTUFF): Add *.peephole2.
11086 (mostlyclean): Likewise.
11087 (recog.o): Depend on resource.h.
11089 * final.c (peephole): Conditionalize decl on HAVE_peephole.
11090 (final_scan_insn): Likewise for the invocation of peephole.
11091 * genconfig.c (main): Look for peephole and peephole2 patterns.
11092 Emit HAVE_peephole* accordingly.
11093 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
11094 * flags.h (flag_peephole2): Declare.
11095 * toplev.c: New pass peephole2. New flag -fpeephole2.
11097 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
11098 * gencodes.c (main): Likewise.
11099 * genextract.c (main): Likewise.
11100 * genoutput.c (main): Likewise.
11101 * genemit.c (max_operand_1): Look for the max scratch operand.
11102 (gen_rtx_scratch): New.
11103 (gen_exp): Use it, and pass on new arg subroutine_type.
11104 (gen_expand): Take max scratch into account.
11105 (gen_split): Emit peephole2 functions.
11106 (output_peephole2_scratch): New.
11107 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
11108 * genrecog.c (routine_type): Add PEEPHOLE2.
11110 (make_insn_sequence): Match outer parallel for peep2. Discard
11111 top level scratches and dups.
11112 (add_to_sequence): New args insn_type and top. Update all callers.
11113 Handle toplevel peep2 matching insns.
11114 (write_subroutine): Handle peep2.
11115 (write_tree_1): Likewise.
11116 (write_tree): Likewise.
11118 (change_state): New arg afterward. Update all callers.
11119 Handle matching separate insns.
11120 * recog.c (recog_next_insn): New.
11121 (peephole2_optimize): New.
11122 * rtl.def (DEFINE_PEEPHOLE2): New.
11123 * resource.c (find_free_register): New argument last_insn. Use it
11124 to find a register available through the entire span.
11125 * resource.h (find_free_register): Update prototype.
11127 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
11129 * i386.c (output_strlen_unroll): Don't write xops[7]
11130 label if it wasn't set.
11132 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
11134 * cpplib.c (struct directive): Const-ify name pointer and
11135 function pointer prototype.
11136 (validate_else, do_define, do_line, do_include, do_undef,
11137 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
11138 do_elif, do_endif, do_sccs, do_assert, do_unassert,
11139 do_warning): Const-ify second arg.
11140 (directive_table): Mark const. Reorder entries by frequency
11141 of usage, record statistics.
11143 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
11145 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
11146 bounds- check RTL accesses if --enable-checking.
11147 (RTVEC_ELT): Bounds check if --enable-checking.
11148 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
11149 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
11150 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
11152 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
11153 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
11155 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
11156 (NOTE_SOURCE_FILE): Use X0STR.
11157 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
11158 MEM_ALIAS_SET): Use X0INT.
11159 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
11160 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
11162 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
11163 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
11164 (rtl_check_failed_bounds, rtl_check_failed_type1,
11165 rtl_check_failed_type2, rtvec_check_failed_bounds): New
11167 (fancy_abort): Fix comment.
11169 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
11170 (cse_insn): Decrement LABEL_NUSES for jump target before
11171 deleting jump insn.
11172 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
11173 * final.c (alter_subreg): Compute regno before changing x to
11174 REG; set REGNO(x) after changing it.
11175 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
11176 notes containing CONST_INTs.
11177 (delete_eh_regions): Use NOTE_EH_HANDLER.
11178 * function.c (put_reg_into_stack): Make reg a MEM before
11180 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
11182 (gen_mem_addressof): Make reg a MEM before initializing it.
11183 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
11185 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
11186 deleting an insn, not after.
11187 (block_alloc): Only look at PATTERN(insn) if we have to, and
11188 only if it's format class 'i'.
11189 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
11190 CONST_INT before using its INTVAL.
11191 * print-rtl.c (print_rtx): Use X0STR.
11192 * regmove.c (fixup_match_1): Don't look at PATTERN of
11193 non-class-'i' insn chain elements.
11194 * reload.c (loc_mentioned_in_p): Take address of
11195 in->fld[1].rtx directly.
11196 * reload1.c (reload): Change reg to a MEM before initializing
11198 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
11200 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
11202 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
11204 * config/mips/mips.c (machine_dependent_reorg): Force a
11205 barrier to output the local constant pool if a barrier hasn't
11206 been found at a natural point in the instruction stream.
11208 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11210 * c-parse.in (language_string): Constify.
11212 * dwarf2out.c (language_string): Remove declaration.
11214 * dwarfout.c (language_string): Likewise.
11216 * toplev.c (language_string, init_parse, finish_parse): Likewise.
11218 * tree.h (language_string, init_parse, finish_parse): Declare.
11220 * i386/sun386.h (language_string): Remove declaration.
11222 * mips.h (language_string): Likewise.
11224 * nextstep.h (language_string): Likewise.
11226 * nextstep21.h (language_string): Likewise.
11228 * rs6000.c (language_string): Likewise.
11230 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11232 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
11233 (getpwd.o): Remove target.
11235 * getpwd.c: Delete file. Its in libiberty now.
11237 * dbxout.c (getpwd): Don't prototype.
11238 * dwarf2out.c (getpwd): Likewise
11239 * dwarfout.c (getpwd): Likewise
11240 * final.c (getpwd): Likewise.
11241 * protoize.c (getpwd): Likewise.
11243 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11245 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
11247 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
11249 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
11250 mark_set_resources.
11252 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
11254 * fixinc/Makefile.in (subdir): New.
11255 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
11258 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
11260 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
11261 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
11264 * invoke.texi: Fix typo.
11266 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
11267 changed. Handle autoincrement addressing modes.
11269 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
11270 just like we would the virtual incoming args register when
11273 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
11275 * rs6000.h (ASM_FILE_START): Specify complete filename, including
11276 path, in .file directive.
11278 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
11280 * gcc.texi (External Bugs): Remove obsolete note about Perl on
11283 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
11285 * stdbool.h: Make the typedef name _Bool, with bool a #defined
11288 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11290 * tree.c (tree_code_name): Constify a char*.
11292 * tree.h (tree_code_name, decl_printable_name): Likewise.
11294 * function.h (struct function): Likewise.
11296 * toplev.c (decl_name, decl_printable_name): Likewise.
11298 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
11300 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
11301 (init_objc): Remove function pointer cast.
11303 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
11305 * pa.md (interspace_jump): New pattern.
11306 (builtin_longjmp): New expander.
11308 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
11310 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
11311 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
11312 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
11314 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
11316 * jump.c (delete_prior_computation): Also check calls
11317 to constant functions. Don't bother checking for a
11318 REG_UNUSED note before adding it.
11319 (delete_computation): Handle multi-word hard registers
11320 when synthesizing missing REG_DEAD notes for a register
11321 which is both set and used by an insn.
11323 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11325 * loop.c (this_loop_info): New variable.
11326 (loop_has_call, loop_has_volatile, loop_has_tablejump,
11327 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
11329 (prescan_loop, strength_reduce): New argument loop_info. All callers
11331 (scan_loop): New variable loop_info, initialise to address of
11333 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
11334 Delete variable loop_has_multiple_exit targets and replace with
11335 field in this_loop_info.
11336 (find_and_verify_loops): Rename this_loop to this_loop_num.
11337 (strength_reduce): Delete loop_iteration_info. Replace variable
11338 loop_info with function argument of same name.
11339 (insert_bct): Rework test for loop being completely unrolled.
11341 * loop.h (struct loop_info): New fields num, loops_enclosed,
11342 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
11343 has_indirect_jump, and cont. Redefine use of unroll_number.
11344 (loop_unroll_number): Delete.
11346 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
11347 field of loop_info.
11348 (loop_iterations): Delete variable vtop and instead use
11349 loop_info->vtop computed in prescan_loop.
11351 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
11353 * fix-header.c (main): Do not pass a null pointer to strcmp.
11355 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
11357 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
11359 * configure: Rebuilt.
11361 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
11363 * jump.c (jump_optimize_1): Do not delete assignments to
11364 internal_arg_pointer.
11365 * cse.c (delete_trivially_dead_insns): Always consider a set of
11366 the internal_arg_pointer live.
11368 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
11370 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
11371 (update_life_info) [REG_WAS_0]: Search the original insns rather
11372 than the new insns for the note. Fix typos finding note_dest.
11373 If no dest found, discard the note rather than abort.
11374 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
11375 (replace_insns): Remove the old insn list after update_life_info
11378 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
11380 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
11381 sched_analyze_insn.
11382 (sched_analyze_1): Let add_dependence care for not adding dups.
11383 (sched_analyze_2): Likewise.
11384 (add_branch_dependences): Likewise.
11386 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
11388 * i386/winnt.c (export_list): New type.
11389 (exports_head): Rename to
11390 (export_head): this.
11391 (i386_pe_record_exported_symbol): Add is_data flag.
11392 (i386_pe_asm_file_end): Emit directive for exported variables.
11393 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
11395 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
11396 (ASM_DECLARE_OBJECT_NAME): Likewise.
11397 (ASM_DECLARE_FUNCTION_NAME): Likewise.
11398 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11400 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
11402 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
11404 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
11407 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
11409 * config/openbsd.h: Define SET_ASM_OP.
11410 * tm.texi: cross-reference SET_ASM_OP in the index.
11412 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
11414 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
11415 for a CONST_DOUBLE, at compile time. Initialize rtx_length
11416 and class_narrowest_mode at compile time. Kill init_rtl.
11417 Mark rtx_length, mode_class, mode_size, mode_unit_size,
11418 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
11419 rtx_format as const. Kill all references to EXTRA_CC_MODES or
11421 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
11423 * rtl.h: Declare rtx_length and rtx_format as const.
11424 * machmode.def: Define CC(). Use CC() to define CCmode. If
11425 EXTRA_CC_MODES is defined, expand it here.
11426 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
11427 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
11428 const. Kill all references to EXTRA_CC_MODES.
11430 * toplev.c: Don't prototype or call init_rtl.
11431 * optabs.c: Don't call init_mov_optab.
11432 * genemit.c: Don't generate init_mov_optab. Don't call
11434 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
11436 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
11437 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
11438 genrecog.c: Don't call init_rtl.
11440 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
11441 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
11442 definition of EXTRA_CC_MODES.
11444 * md.texi: Kill ref to EXTRA_CC_NAMES.
11445 * tm.texi: Document new way to define EXTRA_CC_MODES.
11447 * genrecog.c: Do not look up the name of a define_split.
11448 (Unrelated bugfix.)
11450 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
11452 * config/v850/v850.md: Fix typo introduced by previous delta.
11454 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11456 * gcc.c (fatal): Make definition static to match prototype.
11458 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11460 * combine.c (get_last_value): Don't look for earlier sets if the last
11461 known set is somewhere in between the insns being combined.
11463 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
11465 * configure.in: Don't use shell ! to negate exit codes
11466 * configure: Regenerate
11468 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
11470 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
11471 the fact that ALIGN is measured in bits, not bytes.
11473 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
11475 * errors.c: New file; defines functions error, warning, and
11476 fatal, variables have_error and progname.
11477 * errors.h: New file; prototypes and decls for stuff in errors.c.
11479 * Makefile: Add rules to build errors.o and
11480 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
11481 genopinit, genrecog, genextract, genpeep, genattr, and
11482 genoutput with errors.o. Add errors.h to deps of genconfig.o,
11483 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
11484 genpeep.o, genattr.o, and genoutput.o.
11486 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
11487 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
11488 define or prototype fatal. Set progname at beginning of main.
11489 * genoutput.c: Likewise, and don't define or prototype error
11492 * c-typeck.c (c_expand_start_case): Return immediately if exp
11494 * fold-const.c (operand_equal_p): Return immediately if arg1
11495 or arg0 are ERROR_MARKs.
11496 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
11497 fields of type ERROR_MARK when calculating if the record can
11500 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
11501 with much help from Jeffrey A Law and Richard Henderson
11503 * i386.md: In the 6 insns which call output_fix_trunc,
11504 earlyclobber operands[0].
11506 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
11508 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
11509 creating new registers.
11511 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
11513 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
11514 i386_reg_alloc_order, i386_regparm_string,
11515 i386_align_loops_string, i386_align_jumps_string,
11516 i386_align_funcs_string, i386_preferred_stack_boundary_string,
11517 and i386_branch_cost_string as type "const char *".
11518 * i386.c: Define all above strings as type "const char *".
11520 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
11522 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
11523 when emitting alignment padding. Emit padding byte of 0 instead of 4.
11525 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
11527 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
11528 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
11530 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
11532 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
11533 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
11534 (dwarf2out_line, dwarf2out_finish): Likewise.
11535 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
11537 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
11539 * tree.c (lang_unsave_expr_now) : Correct return type.
11540 * tree.h (lang_unsave_expr_now) : Same.
11542 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
11544 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
11545 instead of duplicating code.
11547 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11549 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
11551 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
11553 * tree.h: fancy_abort always takes three args.
11554 * resource.c: Move include of system.h before toplev.h.
11556 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
11558 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
11561 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
11563 * system.h: Don't redefine abort or trim_filename.
11564 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
11565 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
11566 whether or not __FUNCTION__ is available.
11567 * tree.h: Duplicate rtl.h's definition of abort, for files
11568 that don't include rtl.h. Delete all code to perform type
11569 checking with a compiler other than GCC.
11570 * varray.h: Delete all code to perform type checking with a
11571 compiler other than GCC. Make VARRAY_CHECK() always evaluate
11572 its arguments exactly once, using a statement expression.
11573 Adjust the VARRAY_<type> accessor macros to match.
11574 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
11575 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
11576 caller's location. Define fatal_insn and fatal_insn_not_found
11577 as macros that use _fatal_insn and _fatal_insn_not_found.
11578 (fancy_abort, trim_filename): Kill prototypes.
11580 * rtl.c (trim_filename): Move here from toplev.c.
11581 (fancy_abort): New function.
11582 (DIR_SEPARATOR): Provide default definition.
11583 * tree.c (tree_check_failed, tree_class_check_failed): Go
11584 through fancy_abort.
11585 (tree_check, tree_class_check, cst_or_constructor_check,
11586 expr_check): Delete.
11587 * varray.c (varray_check_failed): New function.
11588 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
11589 _fatal_insn and _fatal_insn_not_found. Go through
11591 (trim_filename, fancy_abort): Delete.
11593 * builtins.c (expand_builtin_args_info): Report ICE with abort.
11594 * except.c (start_catch_handler): Report ICE with error/abort
11596 * final.c (output_operand_lossage): Likewise.
11597 * flow.c (verify_flow_info): Likewise.
11599 * gcc.c: Prototype fatal.
11600 * gengenrtl.c: Undef abort after including rtl.h not system.h.
11601 * genattr.c, genattrtab.c, genemit.c, genextract.c,
11602 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
11603 Don't define fancy_abort.
11605 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
11607 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
11610 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
11612 * m88k.h (VERSION_INFO2): Kill.
11613 (VERSION_STRING): Kill.
11615 (VERSION_INFO1): Tidy.
11616 (TARGET_VERSION): Update.
11617 * m88k/dgux.h (VERSION_INFO2): Kill.
11618 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
11619 * m88k/luna.h (VERSION_INFO1): Tidy.
11620 * m88k/sysv4.h (VERSION_INFO1): Likewise.
11621 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
11622 (output_file_start): Adjust for death of VERSION_STRING.
11624 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
11626 * cpplib.c (detect_if_not_defined): New function.
11627 (do_if): Use it to detect potential once-only headers.
11629 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
11631 * c-common.c (combine_strings): Always set TREE_CONSTANT.
11633 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
11635 * combine.c (nonzero_bits) : Allow single-ly set registers to be
11636 anywere in the function only if they are pseudos and set before
11637 being used (not live at the start of the function).
11638 (num_sign_bit_copies) : Same.
11639 (get_last_value_validate) : Same.
11640 (get_last_value) : Same.
11642 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
11644 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
11645 where N and M are constant and N is an integer multiple of M.
11647 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11649 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
11650 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
11651 sbitmap_union_of_preds): Add prototypes.
11652 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
11653 the intersection of successors with the new flow graph structures.
11654 (sbitmap_intersection_of_preds): New function to compute the
11655 intersection of predecessors with the new flow graph structures.
11656 (sbitmap_union_of_succs): New function to compute the union of
11657 successors with the new flow graph structures.
11658 (sbitmap_union_of_preds): New function to compute the union of
11659 predecessors with the new flow graph structures.
11660 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
11661 (expr_reaches_here_p): Use edge and basic_block structures instead
11662 of s_preds and s_succs.
11663 (compute_cprop_avinout): Use new sbitmap routines.
11664 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
11665 of s_preds and s_succs.
11666 * flow.c (compute_flow_dominators): Compute dominators using
11667 edges and basic blocks instead of s_preds and s_succs.
11669 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11671 * lists.c (unused_insn_list, unused_expr_list): New file for
11672 maintaining various types of lists. New statics for maintaining a
11673 cache of available INSN_LIST and EXPR_LIST nodes.
11674 (free_list): Static function for freeing a list of INSN/EXPR nodes.
11675 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
11676 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
11677 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
11678 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
11679 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
11680 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
11681 (free_INSN_LIST_node): Free an individual INSN_LIST node.
11682 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
11683 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
11684 (remove_dependence, free_pending_lists): Use new global routines.
11685 (flush_pending_lists, sched_analyze_insn): Use new global routines.
11686 (sched_analyze, compute_block_backward_dependences): Use new routines.
11687 (sched_analyze_1, sched_analyze_2): Use new routines.
11688 (schedule_insns): Use new global routines.
11689 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
11691 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
11692 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
11694 * toplev.c (rest_of_compilation): Initialize node cache.
11695 * Makefile.in (OBJS): Add lists.o to list of object files.
11696 (lists.o): Add dependancies.
11698 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
11700 * config/v850/v850.md: Fix compile time warning messages.
11701 * config/v850/v850.c: Fix compile time warning messages.
11702 * config/v850/v850.h: Fix compile time warning messages.
11704 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11706 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
11707 Remove unused prototype for `init_lengths'.
11709 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11711 * calls.c (emit_call_1): Mark parameter `stack_size' with
11713 (expand_call): Initialize variable `insn'.
11714 (emit_library_call): Likewise for variable `high_to_save'.
11715 (emit_library_call_value): Likewise.
11716 (store_one_arg): Likewise for variables `lower_bound' and
11719 * combine.c (try_combine): Likewise for variables `i2_code_number'
11720 and `other_code_number'.
11721 (find_split_point): Likewise for variables `pos', `unsignedp' and
11723 (simplify_if_then_else): Likewise for variables `op' and `c1'.
11724 (simplify_and_const_int): Remove unused variable `width'.
11725 (merge_outer_ops): Likewise.
11727 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
11728 HOST_WIDE_INT' when comparing against one.
11729 (simplify_relational_operation): Likewise.
11730 (cse_insn): Initialize variables `src_eqv_volatile',
11731 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
11733 * final.c (init_final): Constify parameter `filename'.
11734 (final_start_function): Mark parameter `optimize' with
11736 (profile_function): Likewise for parameters `first' and `optimize'.
11737 (output_source_line): Likewise for parameter `file'.
11739 * integrate.c (subst_constants): Cast a value to `size_t' when
11740 comparing against one.
11741 (mark_stores): Initialize variable `mode'. Cast a value to
11742 `size_t' when comparing against one.
11744 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
11746 * loop.c (move_movables): Initialize variable `first'.
11747 (strength_reduce): Likewise for variable `increment'.
11748 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
11749 value to `size_t' when comparing against one.
11750 (load_mems): Initialize variable `end_label'.
11752 * output.h (init_final): Constify parameter.
11754 * reload.c (decompose): Initialize variable `base'.
11756 * reload1.c (reload): Likewise for variable `is_scalar'.
11757 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
11758 (choose_reload_regs): Initialize variable `mode'.
11759 (emit_reload_insns): Likewise for variable `store_insn'.
11760 (reload_cse_noop_set_p): Mark parameter `insn' with
11762 (reload_combine): Initialize variable `set'.
11764 * unroll.c (unroll_loop): Likewise for variable `local_label'.
11765 (copy_loop_body): Cast a value to `size_t' when comparing against
11768 * varasm.c (assemble_variable): Initialize variable `size_tree'.
11769 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
11770 (remove_from_pending_weak_list): Mark parameter `name' with
11773 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11775 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
11778 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
11780 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
11781 (ASM_DECLARE_FUNCTION_NAME): Define.
11782 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
11783 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
11784 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
11785 not already defined.
11787 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
11789 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
11790 of n_popped when call/call_value are not defined.
11792 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
11794 * tm.texi: GNU CC -> GCC conversion.
11795 (CC1_SPEC): Indicate it is used for all language front ends.
11797 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
11799 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
11800 NOTE_INSN_EH_REGION_END correctly.
11802 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
11803 Jeff Law <law@cygnus.com>
11805 * loop.c (strength_reduce): Automatically unroll loops if the
11806 unrolled loop size is smaller than the rolled loop size.
11808 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
11809 and delete comment that code should be rewritten.
11811 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
11813 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
11816 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
11818 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
11820 * fixinc/mkfixinc.sh: Don't fix uwin headers.
11821 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
11822 (LINK_SPEC): Add -u _main when building executables.
11823 (ASM_DECLARE_FUNCTION): Update from Cygwin.
11824 (ASM_FILE_END): Use the default for ix86-pe.
11825 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
11827 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
11829 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
11830 and ASM_CLOSE_PAREN are empty strings.
11832 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
11833 Geoffrey Keating <geoffk@cygnus.com>
11835 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
11836 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
11837 (unprotoize.o): Ditto.
11838 (test-protoize-simple): Don't define STD_PROTO_DIR.
11839 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
11840 changes to make 'test-protoize-simple' pass.
11841 (STD_PROTO_DIR): Remove define.
11842 (STANDARD_EXEC_PREFIX): Supply default define.
11843 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
11844 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
11845 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
11846 (GET_ENV_PATH_LIST): New macro.
11847 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
11848 (do_processing): Initialize default_syscalls_dir using new
11849 macros. Use it to initialize syscalls_absolute_filename.
11851 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
11853 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
11854 B into a register before emit_conditional_move.
11856 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
11858 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
11859 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
11860 multiplicand out of (+ (* a b) (* c d)).
11862 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
11863 Richard Henderson <rth@cygnus.com>
11865 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
11866 (new_insn_dead_notes): Likewise.
11867 (update_n_sets): Likewise.
11868 (update_flow_info): Move to flow.c, renamed to update_life_info;
11869 extend to handle multiple source insns.
11870 * flow.c: Include resource.h
11871 (unlink_insn_chain): New.
11872 (split_hard_reg_notes): New.
11873 (maybe_add_dead_note): New.
11874 (maybe_add_dead_note_use): New.
11875 (find_insn_with_note): New.
11876 (new_insn_dead_notes): New.
11877 (update_n_sets): New.
11878 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
11879 (maybe_remove_dead_notes): New.
11880 (update_life_info): New.
11881 (prepend_reg_notes): New.
11882 (replace_insns): New.
11883 * output.h (update_life_info): Declare.
11884 * recog.c (split_block_insns): Use update_life_info.
11885 * resource.c (find_free_register): Use reg_alloc_order, don't use
11886 fixed regs, make sure the mode is supported, don't use new regs.
11888 * rtl.h (replace_insns): Declare.
11890 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
11892 * expr.c (expand_expr): Cope with COND_EXPRs with one
11893 non-returning branch.
11895 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
11897 * expr.c (store_expr): Always pass down the target, even when not
11900 1999-08-24 Nick Clifton <nickc@cygnus.com>
11902 * configure.in: Define target_cpu_default for v850 targets.
11903 * configure: Regenerate
11905 * config/v850/v850.h (TARGET_CPU_generic): Define.
11906 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
11907 addresses are 4 byte aligned.
11909 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
11912 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11914 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
11915 (main): Add prototypes.
11917 * genattrtab.c (substitute_address, write_const_num_delay_slots,
11918 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
11919 (write_attr_get): Emit prototypes along with function definition.
11920 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
11921 (write_complex_function): Emit static prototype along with
11922 function definition.
11924 * genemit.c (gen_split): Emit prototypes along with function
11927 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
11928 Likewise for predicates and `insn_operand_predicate'.
11929 (process_template): Emit static prototype along with function
11932 * genrecog.c (make_insn_sequence): Constify a char*. Add
11933 prototypes for get_split_*().
11934 (write_subroutine): Emit prototypes along with function
11937 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11939 * gcse.c (find_avail_set): Follow chains of register-register copies.
11940 Use oprs_not_set_p to guarantee that the returned value can be
11942 (cprop_insn): Don't verify the return value of find_avail_set with
11945 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
11946 (cprop_cc0_jump): New function.
11947 (cprop_insn): Break out new function cprop_jump and use it.
11948 Also use cprop_cc0_jump for machines with CC0.
11949 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
11951 * tree.h (current_function_calls_setjmp,
11952 current_function_calls_longjmp): Delete declarations.
11953 * dsp16xx.c: Include "function.h".
11954 * elxsi.c: Likewise.
11955 * gmicro.c: Likewise.
11956 * h8300.c: Likewise.
11957 * i370.c: Likewise.
11958 * m32r.c: Likewise.
11959 * mn10200.c: Likewise.
11960 * mn10300.c: Likewise.
11961 * ns32k.c: Likewise.
11962 * spur.c: Likewise.
11963 * v850.c: Likewise.
11965 * rtl.h (rtx_equal_function_value_matters): Declare.
11966 * toplev.c (rtx_equal_function_value_matters): Don't declare.
11968 * function.c: Likewise.
11969 * emit-rtl.c: Likewise.
11971 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
11973 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
11976 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11978 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
11981 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
11983 * cpp.texi: Add a node documenting macro varargs (copied
11986 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
11988 * cppspec.c: Put a null pointer at the end of the new argv.
11990 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
11992 * configure.in: Remove code to select/de-select the haifa
11993 scheduler. Every scheduled port gets haifa now.
11994 * configure: Rebuilt.
11995 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
11997 * Makefile.in: Corresponding changes.
11999 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12001 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
12002 All callers changed.
12003 (prepare_float_lib_cmp): Likewise.
12004 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
12005 * expr.h (emit_float_lib_cmp): Delete declaration.
12006 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
12007 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
12008 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
12010 (cmptf): Now conditional on TARGET_HARD_QUAD.
12012 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
12014 * resource.c (mark_target_live_regs): Use
12015 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
12017 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12019 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
12021 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
12023 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
12025 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12027 * rtl.h (rtx_format): Constify a char*.
12029 * rtl.c (rtx_format): Likewise.
12030 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
12031 (init_rtl): Use accessor macro, not `rtx_format'.
12033 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
12036 * caller-save.c (mark_referenced_regs): Likewise.
12038 * combine.c (subst, make_compound_operation, known_cond,
12039 gen_rtx_combine, update_table_tick, get_last_value_validate,
12040 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
12042 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
12043 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
12044 count_reg_usage): Likewise.
12046 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
12049 * final.c (leaf_renumber_regs_insn): Likewise.
12051 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
12052 dump_edge_info, count_reg_references): Likewise.
12054 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
12055 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
12058 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
12059 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
12060 add_label_notes): Likewise.
12062 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
12063 clear_struct_flag, count_sub_rtxs, count_alternatives,
12064 compares_alternatives_p, contained_in_p, walk_attr_value,
12065 write_expr_attr_cache): Likewise.
12067 * genconfig.c (walk_insn_part): Likewise.
12069 * genemit.c (max_operand_1, gen_exp): Likewise.
12071 * genextract.c (walk_rtx): Likewise.
12073 * genflags.c (num_operands): Likewise.
12075 * genoutput.c (scan_operands): Likewise.
12077 * genpeep.c (match_rtx): Likewise.
12079 * genrecog.c (add_to_sequence): Likewise.
12081 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
12084 * integrate.c (save_constants, copy_for_inline,
12085 copy_rtx_and_substitute, subst_constants, restore_constants):
12088 * jump.c (mark_jump_label, invert_exp, redirect_exp,
12089 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
12091 * local-alloc.c (contains_replace_regs, memref_referenced_p):
12094 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
12095 add_label_notes, replace_call_address, count_nonfixed_reads,
12096 invariant_p, find_single_use_in_loop, find_mem_givs,
12097 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
12100 * print-rtl.c (reg_names, print_rtx): Likewise.
12102 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
12104 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
12105 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
12106 print_blocks): Likewise.
12108 * regclass.c (fix_register, record_address_regs,
12109 reg_scan_mark_refs): Likewise.
12111 * regmove.c (stable_but_for_p): Likewise.
12113 * reload.c (loc_mentioned_in_p, operands_match_p,
12114 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
12115 copy_replacements, refers_to_regno_for_reload_p,
12116 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
12117 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
12120 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
12121 delete_address_reloads_1, count_occurrences,
12122 reload_cse_mem_conflict_p, reload_combine_note_use,
12123 add_auto_inc_notes): Likewise.
12125 * resource.c (mark_referenced_resources, mark_set_resources):
12128 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
12129 reg_mentioned_p, regs_set_between_p, modified_between_p,
12130 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
12131 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
12132 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
12133 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
12135 * sched.c (sched_analyze_2, attach_deaths): Likewise.
12137 * stupid.c (stupid_mark_refs): Likewise.
12139 * unroll.c (remap_split_bivs): Likewise.
12141 * varasm.c (mark_constants): Likewise.
12143 * a29k/a29k.c (uses_local_reg_p): Likewise.
12145 * alpha/alpha.c (summarize_insn): Likewise.
12147 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
12148 eliminate_lr2ip): Likewise.
12150 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
12152 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
12153 reg_mentioned_in_mem): Likewise.
12155 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
12156 symbolic_reference_mentioned_p): Likewise.
12158 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
12160 * sh/sh.c (regs_used, mark_use): Likewise.
12162 * vax/vax.c (vax_rtx_cost): Likewise.
12164 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12166 * machmode.h (mode_name): Constify a char*.
12168 * rtl.c (mode_name): Likewise.
12170 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
12172 * optabs.c (init_libfuncs): Constify a char*.
12174 * print-tree.c (mode_name): Remove redundant declaration.
12175 (print_node): Use accessor macro, not `mode_name'.
12177 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
12179 (new_spill_reg): Constify a char*.
12181 * tree.c (mode_name): Remove redundant declaration.
12183 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12185 * rtl.c (rtx_name): Constify a char*.
12187 * rtl.h (rtx_name, fix_sched_param): Likewise.
12189 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
12190 (mypr): Use accessor macro, not `rtx_name'.
12192 * genemit.c (print_code): Constify a char*.
12194 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
12196 * genpeep.c (print_code): Constify a char*.
12198 * genrecog.c (print_code): Likewise.
12200 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
12201 end_bb): Add static prototype.
12202 (draw_edge): Constify a char*.
12203 (end_bb): Remove unused parameter.
12205 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
12206 print_block_visualization): Constify a char*.
12208 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
12210 * c-common.c (c_get_alias_set): Update comment.
12212 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12214 * linux.h (LIB_SPEC): Added.
12216 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12218 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
12220 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
12222 * tree.c (expr_check): Fix typo in last change.
12224 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
12226 * rtl.def (NOTE): Change format to "iuu0n".
12227 (ADDR_DIFF_VEC): Change format to "eEee0".
12228 (ADDRESSOF): Change format to "eit".
12230 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
12231 (RTVEC_ELT): Change to match.
12232 (XVECEXP): Use XVEC and RTVEC_ELT.
12233 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
12234 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
12235 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
12236 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
12237 TRAP_CONDITION, TRAP_CODE): Use XEXP.
12238 (INTVAL): Use XWINT.
12239 (ADDRESSOF_DECL): Use XTREE.
12240 (SET_ADDRESSOF_DECL): Delete.
12241 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
12242 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
12243 ifdefed out since 2.6 at least.
12244 (gen_rtvec_vv): Delete prototype.
12246 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
12248 (copy_most_rtx): Handle 't' format letter.
12249 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
12250 (gen_rtvec_vv): Delete function. All callers changed to use
12251 gen_rtvec_v instead.
12252 * print-rtl.c (print_rtx): Move special casing of NOTEs to
12253 the '0' format letter.
12255 * function.c (gen_mem_addressof): Don't use
12256 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
12258 * integrate.c (copy_rtx_and_substitute): Likewise.
12259 Copy 't' slots with XTREE.
12260 (subst_constants): Treat 't' slots like '[swi]' slots.
12261 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
12262 * jump.c (rtx_equal_for_thread_p): Likewise.
12263 * rtlanal.c (rtx_equal_p): Likewise.
12264 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
12265 only four arguments.
12266 * gengenrtl.c (type_from_format): Provide correct types for
12270 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
12271 If a recent gcc is in use (always in stage2 and beyond), use
12272 statement expressions, so we don't make a function call unless
12273 the check fails. Evaluate arguments exactly once.
12274 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
12275 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
12277 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
12278 they evaluate their arguments exactly once, irrespective of
12279 the compiler in use.
12281 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
12282 is used by the currently-enabled check macros. This is:
12283 (tree_check_failed, tree_class_check_failed): For gcc.
12284 (tree_check, tree_class_check, cst_or_constructor_check,
12285 expr_check): For other compilers.
12287 * gencheck.c: Do not define any *_CHECK1 macros.
12289 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
12290 Mark Mitchell <mark@codesourcery.com>
12292 * c-common.c (c_get_alias_set): Fix support for poitners and
12295 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
12297 * alias.c: Include tree.h.
12298 (nonlocal_reference_p, mark_constant_function): New functions.
12299 * flow.c (life_analysis): Call mark_constant_function.
12300 * rtl.h (mark_constant_function): Declare it.
12302 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
12304 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
12305 unrecognisable switches.
12307 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12309 * loop.c (recombine_givs): Set ix field after sorting.
12310 (recombine_givs): Remove bogus index / giv lockstep looping.
12312 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12314 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
12316 (emit_store_flag_force): Use do_compare_rtx_and_jump.
12317 (do_cmp_and_jump): Formatting fixes.
12318 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
12319 do_compare_rtx_and_jump instead of compare_from_rtx.
12320 (do_compare_rtx_and_jump): New function; mostly copied from
12322 (do_jump_for_compare): Delete.
12323 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
12325 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
12326 of compare/do_jump_for_compare pairs.
12327 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
12328 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
12329 compare_from_rtx/do_jump_for_compare pairs.
12330 (do_jump_by_parts_equality): Likewise.
12331 (do_jump_by_parts_equality_rtx): Likewise.
12332 * expr.h (do_compare_rtx_and_jump): Declare.
12333 * optabs.c (prepare_cmp_insn): New function, contains most of the code
12334 that used to be in emit_cmp_insn.
12335 (cmp_available_p): New function.
12336 (prepare_operand): New function.
12337 (emit_cmp_and_jump_insn_1): New function, contains some code that used
12338 to be in emit_cmp_insn.
12339 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
12340 parameters to be pointers; don't emit final compare but modify some of
12341 the values pointed to by the args so the caller can perform the
12342 correct comparison.
12343 (expand_binop): Call emit_store_flag_force with signed forms of
12345 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
12346 emit_jump_insn pair.
12347 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
12348 emit_cmp_and_jump_insn_1. Call emit_queue.
12349 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
12351 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
12352 jump sets cc0 before deleting it.
12353 * integrate.c (expand_inline_function): Likewise.
12354 * unroll.c (unroll_loop): Similar changes in several places.
12355 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
12356 before deleting it.
12358 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12360 * Makefile.in (insn-recog.o): Update dependencies.
12361 * genrecog.c (main): Make generated file include "function.h".
12363 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
12365 * cse.c (cse_insn): Call never_reached_warning when a jump is
12366 changed to be unconditional.
12367 * flags.h: Declare warn_notreached.
12368 * flow.c (delete_block): Call never_reached_warning when
12369 a block is deleted.
12370 * jump.c (delete_barrier_successors): Call never_reached_warning
12371 when we delete everything after a BARRIER.
12372 (never_reached_warning): New function.
12373 * rtl.h: Declare never_reached_warning.
12374 * toplev.c (warn_notreached): New variable.
12375 (lang_independent_options): Set warn_notreached
12376 when -Wunreachable-code.
12377 (compile_file): We need line numbers for -Wunreachable-code.
12379 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
12381 * haifa-sched.c (insn_unit): Fix typo on out of range test.
12382 * sched.c (insn_unit): Likewise.
12384 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
12386 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
12388 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12390 * flow.c (create_edge_list): Use xmalloc, not malloc.
12392 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
12394 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
12395 C-style comments. Do not lose the character before double slash.
12397 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12399 * basic-block.h (struct edge_list): Stucture to maintain a vector
12401 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
12402 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
12403 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
12404 New function prototypes.
12405 * flow.c (create_edge_list): Function to create an edge list.
12406 (free_edge_list): Discards memory used by an edge list.
12407 (print_edge_list): Debug output showing an edge list.
12408 (verify_edge_list): Internal consistency check for an edge list.
12409 (find_edge_index): Function to find an edge index for a pred and succ.
12411 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
12413 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
12416 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
12418 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
12420 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12422 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
12424 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
12426 * toplev.c (rest_of_compilation): Allow machine dependent
12427 reorganisation pass to place information into the RTL dump
12428 file if it so wishes.
12430 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
12432 * explow.c (hard_function_value): Use VOIDmode instead of
12434 * stmt.c (expand_return): Likewise.
12435 * stor-layout.c (get_best_mode): Likewise.
12437 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
12438 emit call instead of emit_insn call.
12440 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
12442 * configure.in: Handle --disable/enable-win32-registry.
12443 * install.texi: Document --disable/enable-win32-registry.
12444 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
12445 (WIN32_REGISTRY_KEY): New macro.
12446 * prefix.c: Use to enable/disable win32-specific code.
12447 (lookup_key): Use versioned key.
12448 * configure: Regenerate.
12449 * config.in: Likewise.
12451 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
12453 * cpplib.c (read_line_number): New fn, split out of...
12456 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
12458 tree.c (lang_unsave_expr_now) : New.
12459 (unsave_expr_now): Call lang_unsave_expr_now.
12460 tree.h (lang_unsave_expr_now) : New.
12462 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
12464 * toplev.c (flag_new_exceptions): On by default.
12466 1999-08-13 Michael Meissner <meissner@cygnus.com>
12468 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
12470 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12472 * dwarfout.c (fundamental_type_code): Return FT_boolean for
12473 INTEGER_TYPE with precision==1, it's __java_boolean.
12475 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12477 * global.c (prune_preferences): Move some invariants out of the
12480 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
12482 * configure.in (alpha*-dec-osf*): Add osf5.
12484 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
12486 * configure.in: Rework handling of ARM GNU/Linux slightly.
12487 (arm*-*-linux-gnuoldld): New target.
12488 * configure: Regenerate.
12489 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
12490 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
12491 * config/arm/linux-oldld.h: New file.
12492 * config/arm/linux-elf26.h: Don't include linux-elf.h.
12493 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
12495 * config/arm/linux-elf.h (ASM_SPEC): Define.
12496 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
12497 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
12498 for 26-bit APCS and old linker.
12499 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
12501 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
12502 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
12503 don't define `arm' or `arm_elf'.
12504 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
12505 MULTILIB_DIRNAMES): Define. Fix typo in comment.
12507 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
12509 * rtl.texi: Fix typo.
12511 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
12513 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
12515 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
12517 * extend.texi (C++ Signatures): Remove node.
12518 * invoke.texi: Remove discussion of -fhandle-signatures,
12519 signature, sigof, __signature__, and __sigof__.
12521 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
12523 * Makefile.in (JAVAGC): Removed.
12525 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
12527 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12529 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
12531 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12533 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
12535 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
12536 a register that is already known to be a pointer.
12538 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
12540 * fixinc/inclhack.tpl: Only install assert.h conditionally.
12541 * fixinc/inclhack.sh: Regenerated.
12542 * fixinc/fixincl.sh: Regenerated.
12544 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
12546 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
12547 Fix documentation of -ansi flag to describe its C++ behavior.
12548 Remove bogus reference to GCC 2.9.
12550 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
12552 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
12553 note if it is non-NULL.
12555 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12557 * except.h (eh_nesting_info): Add new structure defintion.
12558 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
12559 (reachable_handlers, update_rethrow_references): Add function
12561 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
12562 a rethrow symbol instead of an integer exception region number.
12563 * flow.c (Make_edges): Use new exception nesting routines to determine
12564 which handlers are reachable from a CALL or asynchronous insn.
12565 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
12567 (delete_eh_regions): Update rethrow labels, and don't delete
12568 regions which are the target of a rethrow.
12569 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
12570 avoid overloading the SYMBOL_REF_USED flag.
12571 (rethrow_symbol_map): Use new rethrow_ref field.
12572 (rethrow_used): Use new rethrow_ref field.
12573 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
12574 of an integer. Fix formatting.
12575 (output_exception_table_entry): Use new rethrow_ref field.
12576 (can_throw): Check for EH_REGION_NOTE before deciding
12577 whether a CALL can throw or not.
12578 (scan_region): Call rethrow_used() instead of accessing data structure.
12579 (update_rethrow_references): New function to make sure only regions
12580 which are still targets of a rethrow are flagged as such.
12581 (process_nestinfo): New static function to initialize a handler
12582 list for a specific region.
12583 (init_eh_nesting_info): New function to allocate and initialize
12584 the list of all EH handlers reachable from all regions.
12585 (reachable_handlers): New function to retrieve the list of handlers
12586 reachable from a specific region and insn.
12587 (free_eh_nesting_info): New function to dispose of a list of
12588 reachable handlers.
12590 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12592 * flow.c (split_edge): Set JUMP_LABEL field.
12593 (commit_one_edge_insertion): Set head correctly for insert_before.
12594 When inserting insns, update insn block numbers if allocated.
12596 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12598 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
12599 retry_incomplete_types): Add static prototype.
12600 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
12601 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
12602 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
12603 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
12604 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
12607 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
12608 dwarf2out_start_source_file, dwarf2out_line): Likewise.
12610 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12612 * output.h (assemble_name): Constify a char*.
12614 * varasm.c (UNIQUE_SECTION, assemble_start_function,
12615 assemble_variable, assemble_name): Likewise.
12617 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
12619 * arm/pe.c (arm_pe_unique_section): Likewise.
12621 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
12623 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
12625 * i386/interix.c (i386_pe_unique_section): Likewise.
12627 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
12629 * i386/winnt.c (i386_pe_unique_section): Likewise.
12631 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
12633 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
12635 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
12637 * pa/pa.c (output_call): Likewise.
12639 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
12641 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
12643 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
12646 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
12649 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
12651 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
12652 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
12654 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
12656 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12658 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
12660 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12662 * tree.h (lang_identify): Constify a char*.
12663 (print_error_function): Add extern prototype. Constify a char*.
12665 * c-lang.c (lang_identify): Constify a char*.
12667 * objc/objc-act.c (lang_identify): Constify a char*.
12669 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12671 * genpeep.c (main): Make generated file include "function.h".
12672 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
12674 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12676 * Makefile.in: Update dependencies.
12677 * alias.c: Include "function.h"
12678 * c-decl.c: Likewise.
12679 * caller-save.c: Likewise.
12680 * calls.c: Likewise.
12681 * combine.c: Likewise.
12683 * explow.c: Likewise.
12684 * final.c: Likewise.
12685 * global.c: Likewise.
12686 * graph.c: Likewise.
12687 * local-alloc.c: Likewise.
12688 * loop.c: Likewise.
12689 * optabs.c: Likewise.
12690 * profile.c: Likewise.
12691 * recog.c: Likewise.
12692 * regclass.c: Likewise.
12693 * regmove.c: Likewise.
12694 * reload.c: Likewise.
12695 * reorg.c: Likewise.
12696 * resource.c: Likewise.
12697 * sched.c: Likewise.
12698 * stupid.c: Likewise.
12699 * config/1750a/1750a.c: Likewise.
12700 * config/a29k/a29k.c: Likewise.
12701 * config/arc/arc.c: Likewise.
12702 * config/arm/arm.c: Likewise.
12703 * config/arm/thumb.c: Likewise.
12704 * config/c4x/c4x.c: Likewise.
12705 * config/clipper/clipper.c: Likewise.
12706 * config/convex/convex.c: Likewise.
12707 * config/fx80/fx80.c: Likewise.
12708 * config/i860/i860.c: Likewise.
12709 * config/m68k/m68k.c: Likewise.
12710 * config/m88k/m88k.c: Likewise.
12711 * config/mips/mips.c: Likewise.
12712 * config/pdp11/pdp11.c: Likewise.
12713 * config/pyr/pyr.c: Likewise.
12714 * config/romp/romp.c: Likewise.
12715 * config/sh/sh.c: Likewise.
12716 * config/tahoe/tahoe.c: Likewise.
12717 * config/vax/vax.c: Likewise.
12718 * config/we32k/we32k.c: Likewise.
12719 * config/sparc/sparc.c: Include "function.h".
12720 (mem_min_alignment): Test current_function rather than
12721 regno_pointer_align.
12722 * config/pa/pa.c: Likewise.
12723 (compute_frame_size): Delete declaration of
12724 current_function_outgoing_args_size.
12725 * config/arc/arc.h (current_function_varargs): Delete declaration.
12726 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
12728 * config/i370/i370.h (current_function_outgoing_args_size): Delete
12730 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
12731 current_function_uses_pic_offset_table.
12732 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
12733 of current_function_returns_pointer.
12734 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12735 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12736 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12737 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12738 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12739 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12740 * config/m88k/m88k.c: Include "function.h"
12741 (call_used_regs, current_function_pretend_args_size,
12742 current_function_outgoing_args_size, frame_pointer_needed): Delete
12744 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
12746 * config/mips/mips.h (current_function_calls_alloca): Delete
12748 * config/mn10200/mn10200.h (current_function_needs_context,
12749 rtx_equal_function_value_matters): Delete declarations.
12750 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
12751 flag_pic): Delete declarations.
12752 * config/pa/pa.h (current_function_pretend_args_size,
12753 current_function_decl): Delete declarations.
12754 * config/pa/som.h (current_function_varargs): Delete declaration.
12755 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
12757 * config/pyr/pyr.h (current_function_pretend_args_size,
12758 current_function_args_size, current_function_calls_alloca): Delete
12760 * config/sh/sh.h (current_function_varargs): Delete declaration.
12761 * config/sparc/sparc.h (current_function_outgoing_args_size,
12762 current_function_calls_alloca, current_function_decl): Delete
12764 * config/spur/spur.h (current_function_pretend_args_size,
12765 current_function_calls_alloca): Delete declarations.
12766 * config/v850/v850.c (current_function_outgoing_args_size): Delete
12768 * config/vax/vms.h (current_function_name): Delete declaration.
12769 * gcse.c: Include "function.h".
12770 (current_function_name, current_function_calls_setjmp): Delete
12772 * haifa-sched.c: Include "function.h".
12773 (forced_labels): Delete declaration.
12774 * jump.c: Likewise.
12775 * reg-stack.c: Likewise.
12776 * reload1.c: Likewise.
12777 * genemit.c (main): Make generated file include function.h.
12778 * genoutput.c (output_prologue): Likewise.
12780 * builtins.c (saveregs_value, apply_args_value): Delete variables.
12781 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
12782 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
12783 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
12784 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
12785 macros for some of them.
12786 (emit_filename, emit_lineno): Delete declarations.
12787 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
12788 regno_pointer_* variables through current_function.
12789 (gen_inline_header_rtx): Delete function.
12790 (save_emit_status): Delete function.
12791 (set_new_last_label_num): New function.
12792 (clear_emit_caches): New function.
12793 (restore_emit_status): Just clear last_labelnum and call
12795 (get_last_insn_anywhere): Variable sequence_stack is now accessed
12796 through macro seq_stack.
12797 (add_insn_after): Likewise.
12798 (add_insn_before): Likewise.
12799 (remove_insn): Likewise.
12800 (pop_topmost_sequence): Likewise.
12801 (in_sequence_p): Likewise.
12802 (start_sequence_for_rtl_expr): Likewise.
12803 (start_sequence): Likewise, and likewise for
12804 sequence_rtl_expr/seq_rtl_expr.
12805 (push_topmost_sequence): Likewise.
12806 (end_sequence): Likewise.
12807 (init_virtual_regs): Now takes a "struct emit_status *" argument.
12808 All callers changed. Store into that pointer instead of globals.
12809 (init_emit): Allocate emit elt of current_function.
12810 Changes for sequence_rtl_expr/sequence_stack renaming.
12811 Call clear_emit_caches instead of doing it in-line.
12812 Access regno_pointer_* variables through current_function.
12813 (init_emit_once) Don't clear sequence_stack.
12815 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
12817 (arg_pointer_save_area): Delete declaration.
12818 (finish_expr_for_function): Renamed from init_queue; no longer static.
12819 (init_expr): Don't call init_queue.
12820 (save_expr_status, restore_expr_status): Delete functions.
12821 (expand_expr): Changes to reflect new layout of struct function.
12822 Don't access current_function_check_memory_usage when current_function
12824 * expr.h (forced_labels, save_expr_regs, saveregs_value,
12825 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
12826 current_function_outgoing_args_size, current_function_arg_offset_rtx,
12827 current_function_uses_const_pool, function_call_count,
12828 current_function_uses_pic_offset_table, nonlocal_labels,
12829 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
12830 current_function_check_memory_usage, nonlocal_goto_handler_slots,
12831 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
12833 (finish_expr_for_function): Declare.
12834 * flags.h (current_function_has_nonlocal_label,
12835 current_function_has_nonlocal_goto, current_function_is_thunk,
12836 current_function_has_computed_jump): Delete declarations.
12837 * flow.c (forced_labels): Delete declaration.
12838 * function.c (current_function_pops_args,
12839 current_function_returns_struct, current_function_returns_pcc_struct,
12840 current_function_needs_context, current_function_calls_setjmp,
12841 current_function_calls_longjmp, current_function_has_nonlocal_label,
12842 current_function_has_nonlocal_goto, current_function_is_thunk,
12843 current_function_has_computed_jump, current_function_calls_alloca,
12844 current_function_contains_functions, current_function_returns_pointer,
12845 current_function_epilogue_delay_list, current_function_args_size,
12846 current_function_pretend_args_size, current_function_arg_offset_rtx,
12847 current_function_outgoing_args_size, current_function_varargs,
12848 current_function_stdarg, current_function_args_info, cleanup_label,
12849 current_function_name, current_function_uses_const_pool,
12850 current_function_instrument_entry_exit, current_function_return_rtx,
12851 current_function_uses_pic_offset_table, nonlocal_labels,
12852 current_function_internal_arg_pointer, current_function_cannot_inline,
12853 current_function_check_memory_usage, function_call_count,
12854 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
12855 nonlocal_goto_stack_level, return_label, save_expr_regs,
12856 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
12857 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
12858 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
12859 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
12860 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
12862 (push_function_context_to): Don't save them. Don't call
12863 save_storage_status, save_emit_status or save_expr_status.
12864 (pop_function_context_from): Don't restore them. Don't call
12865 restore_storage_status or restore_expr_status.
12866 (get_func_frame_size): New function.
12867 (get_frame_size): Use it.
12868 (assign_outer_stack_local): Reflect some member name changes in struct
12870 (put_reg_into_stack): Likewise.
12871 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
12873 (fixup_var_refs): Likewise.
12874 (fix_lexical_addr): Likewise.
12875 (trampoline_address): Likewise.
12876 (prepare_function_start): Clear field inlinable of current_function.
12877 (init_function_for_compilation): New function.
12878 (expand_dummy_function_end): New function.
12879 (expand_function_end): Call finish_expr_for_function.
12880 * function.h (struct emit_status): New; fields moved here from struct
12881 function and from global variables. Add accessor macros for some of
12883 (struct expr_status): Likewise.
12884 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
12885 (struct function): Add fields expr and emit, inlinable, inl_emit,
12886 original_arg_vector, original_decl_initial, inl_last_parm_insn,
12887 inl_max_label_num. Add many comments.
12888 Add accessor macros for all elts of struct function that no longer
12889 have a global variable.
12890 (cleanup_label, return_label, frame_offset, tail_recursion_label,
12891 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
12892 stack_slot_list): Delete declarations.
12893 (get_func_frame_size): Declare.
12894 (save_expr_status, restore_expr_status, save_emit_status,
12895 save_storage_status, restore_storage_status): Delete declarations.
12896 (init_virtual_regs): Declare.
12897 * output.h (current_function_pops_args,
12898 current_function_returns_struct, current_function_returns_pcc_struct,
12899 current_function_needs_context, current_function_calls_setjmp,
12900 current_function_calls_longjmp, current_function_calls_alloca,
12901 current_function_has_nonlocal_label, current_function_varargs,
12902 current_function_has_computed_jump, current_function_returns_pointer,
12903 current_function_contains_functions, current_function_args_size,
12904 current_function_pretend_args_size, current_function_stdarg,
12905 current_function_outgoing_args_size, current_function_args_info,
12906 current_function_name, current_function_return_rtx,
12907 current_function_epilogue_delay_list,
12908 current_function_uses_const_pool, current_function_cannot_inline):
12909 Delete declarations.
12910 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
12911 regno_reg_rtx): Delete declaration.
12912 (REGNO_POINTER_FLAG): Delete macro.
12913 * stmt.c (expand_goto): Changes to reflect that some fields in struct
12914 function were renamed.
12915 * stor-layout.c (save_storage_status, restore_storage_status): Delete
12917 * toplev.c: Include "function.h".
12918 (current_function_decl): Delete declaration.
12919 (compile_file): Call init_dummy_function_start and
12920 expand_dummy_function_end around some initializations that need to
12922 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
12923 Call init_function_for_compilation.
12924 * unroll.c: Include "function.h"
12925 (unroll_loop): Access regno_pointer_* variables through
12928 * tree.h (struct tree_decl): Add elt f to saved_insns member.
12929 (DECL_SAVED_INSNS): use it.
12930 (expand_dummy_function_end): Declare.
12931 (init_function_for_compilation): Declare.
12932 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
12933 that it's no longer an INLINE_HEADER.
12934 (expand_call): Likewise.
12935 * integrate.c (finish_inline): Delete function.
12936 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
12937 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
12938 args. Don't generate an INLINE_HEADER rtx, just return the arg
12939 vector. All callers changed.
12940 (save_for_inline_copying): Create a duplicate struct emit_status to
12941 hold the emit state for compiling the current function. Use this and
12942 the other new fields in struct function that are for integration
12943 instead of an INLINE_HEADER.
12944 Use memcpy instead of bcopy.
12945 Store the current struct function in DECL_SAVED_INSNS of fndecl.
12946 (save_for_inline_nocopy): Similar changes, except no new emit_status
12948 (expand_inline_function): Get information from function structure,
12949 not from an inline header rtx.
12950 (output_inline_function): Lose code to extract the necessary
12951 information from an inline header; simply put back the function
12952 structure into current_function. Clear its inlinable elt.
12953 * rtl.def (INLINE_HEADER): Delete.
12954 * rtl.h: Delete all accessors for an INLINE_HEADER.
12955 (gen_inline_header_rtx): Delete declaration.
12956 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
12957 Delete declarations.
12958 (REGNO_POINTER_ALIGN): Delete.
12959 (clear_emit_caches): Declare.
12960 (set_new_last_label_num): Declare.
12962 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
12964 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
12966 * except.c (expand_eh_region_start_for_decl): Always start a new block.
12967 * stmt.c (is_eh_region): Make sure current_function is present, too.
12969 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
12971 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
12972 for 64bit PA targets.
12974 * pa.h (SELECT_SECTION): Define.
12975 * som.h (SELECT_SECTION): Delete.
12977 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12979 * alias.c (init_alias_analysis): Wrap call to
12980 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
12982 1999-08-07 Bruce Korb <autogen@linuxbox.com>
12984 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
12985 <sys/asm.h> contains an asm comment with an apostrophe
12986 * fixinc/inclhack.sh: regen
12987 * fixinc/fixincl.x: regen
12989 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
12991 * function.c (init_function_start): Clear prologue & epilogue.
12992 (prologue_epilogue_contains): New function.
12993 * alias.c (init_alias_analysis): Use it.
12994 * rtl.h (prologue_epilogue_contains): Declare it.
12996 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
12998 * jump.c (onlyjump_p): New function.
12999 * rtl.h: Declare it.
13000 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
13001 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
13003 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
13005 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
13006 to invert loops. Simplify block scanning.
13008 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13010 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
13011 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
13013 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
13015 * config/sparc/liteelf.h: New file to support sparclite-elf target
13016 * config/sparc/t-sp86x: New file to support sparc86x targets
13017 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
13018 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
13019 * configure.in: Support above target triplets
13020 * configure: Regenerated
13022 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
13024 * fixinc/server.c (server_setup): Do not prefix function used as
13025 parameter with `&'.
13027 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
13029 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
13030 Remove fp reg alternatives.
13032 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
13034 * Makefile.in (TAROUTOPTS): Kill.
13035 (install-headers-tar): Use "xpf" for tar headerfile extraction
13036 * i370/x-oe (TAROUTOPTS): Delete.
13037 * m68k/x-apollo68 (TAROUTOPTS): Delete.
13038 * m68k/x-hp320 (TAROUTOPTS): Delete.
13039 * m68k/x-hp320g (TAROUTOPTS): Delete.
13040 * gcc.texi: Update bug reporting text.
13042 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13044 * reg-stack.c (change_stack) Fixed problem with negative array index.
13046 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
13048 * extend.texi, install.texi: Fix spelling mistakes.
13050 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
13051 (s-attrtab); No longer try to use pre-made insn-attrtab file.
13052 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
13053 PREMADE_ATTRTAB_MD.
13054 * mips/t-ecoff: Likewise.
13055 * mips/t-elf: Likewise.
13056 * mips/t-mips: Likewise.
13057 * mips/t-osfrose: Likewise.
13058 * mips/t-r3900: Likewise.
13059 * mips/t-svr3: Likewise.
13060 * mips/t-svr4: Likewise.
13061 * mips/t-ultrix: Likewise.
13063 * gcc.texi: Document recommend means to provide software floating
13064 point libraries in libgcc.a
13066 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
13068 * c-lex.c (yylex): We can have a number with no digits.
13070 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
13072 * jump.c (delete_prior_computation): New function, broken
13073 out of delete_computation. Check for side effects with
13074 side_effects_p instead of FIND_REG_INC_NOTE. Handle
13075 multi-word hard registers.
13076 (delete_computation): Use it. Check for side effects with
13077 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
13078 missing REG_DEAD note for a register which is both set and
13081 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
13083 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
13084 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
13085 (ASM_FILE_START): Import _mcount with the right type.
13086 (ASM_DECLARE_FUNCTION_NAME): Define.
13087 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
13088 * pa.c (output_function_prologue): Always emit the function's label
13090 * pa.h (TEXT_SPACE_P): Define.
13091 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13092 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
13093 * som.h (TEXT_SPACE_P): Delete.
13094 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13095 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
13097 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
13099 * expr.c (emit_group_load): Allow src to be a CONCAT.
13101 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13103 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
13104 (___mulsi3): Use '!' comment character.
13106 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13108 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
13110 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
13112 * gcc.c: Update URLs and mail addresses.
13113 * gcc.texi: Likewise.
13115 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
13117 * rs6000.c (current_file_function_operand): Return zero for
13119 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
13121 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
13124 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
13126 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
13127 allocate space in the stack frame for the PIC register.
13129 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
13131 * m68k.md (xordi3, anddi3): These patterns are not available on
13134 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
13136 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
13137 (PUT_REAL): Likewise.
13139 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13141 * final.c (shorten_branches): Don't add an alignment for loops
13142 that have no label inside.
13144 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13146 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
13147 prototypes in macro HAVE_cmpstrsi.
13149 * cpplib.c (cpp_get_token): Remove unused label `op3'.
13151 * emit-rtl.c (operand_subword): Remove unused variable
13154 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
13156 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
13158 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
13160 * cpphash.c (macroexpand): Delete leading whitespace when arg
13161 is concatenated before.
13162 (unsafe_chars): Correct test for whether + and - can extend a
13165 * cppinit.c (cpp_start_read): Do dependencies for
13166 -include/-imacros files also.
13168 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
13169 tokenizing non-directive lines.
13170 (cpp_expand_to_buffer): Temporarily disable no-output mode.
13171 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
13174 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
13176 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
13178 * c-lex.c: Sync with C++ frontend.
13179 (linemode): New variable.
13180 (parse_float): imag, conversion_errno, and type are output only.
13181 (yylex): Adjust. Move initial '.' case into main switch.
13183 (handle_generic_pragma): Just deal with tokens.
13184 (readescape): Use ISXDIGIT and ISGRAPH.
13185 * c-parse.in: Add END_OF_LINE token.
13187 * c-lex.c (lang_init): Generalize.
13188 (nextchar): Remove. Replace uses with UNGETC.
13189 (skip_white_space): Handle linemode here. Optimize for cpplib.
13190 (skip_white_space_on_line): Remove.
13191 (extend_token_buffer_to): New fn.
13192 (extend_token_buffer): Use it.
13193 (read_line_number, check_newline): Just deal with tokens.
13194 (token_getch, token_put_back): New fns.
13195 (yylex): Use them. More cpplib optimizations. Simplify.
13197 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
13198 Jason Merrill <jason@yorick.cygnus.com>
13200 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
13201 (consume_string): Make this smart about USE_CPPLIB.
13202 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
13203 (yylex): Rewrite to be intelligent about USE_CPPLIB.
13204 Also, clean up cases where we redundantly set token_buffer[0].
13205 (read_line_number): New fn.
13206 (ignore_escape_flag): New variable.
13208 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
13210 * a29k/t-a29kbare: Fix some comments.
13211 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
13212 (FPBIT, DPBIT): Define.
13213 * a29k/t-vx29k: Likewise.
13214 * arc/t-arc: Likewise.
13215 * arm/t-arm-elf: Likewise.
13216 * arm/t-bare: Likewise.
13217 * arm/t-pe: Likewise.
13218 * arm/t-pe-thumb: Likewise.
13219 * arm/t-semi: Likewise.
13220 * arm/t-thumb: Likewise.
13221 * arm/t-thumb-elf: Likewise.
13222 * arm/t-thumb-linux: Likewise.
13223 * h8300/t-h8300: Likewise.
13224 * i960/t-i960: Likewise.
13225 * i960/t-vxworks960: Likewise.
13226 * m32r/t-m32r: Likewise.
13227 * mips/t-ecoff: Likewise.
13228 * mips/t-elf: Likewise.
13229 * mips/t-r3900: Likewise.
13230 * pa/t-pro: Likewise.
13231 * rs6000/t-aix43: Likewise.
13232 * rs6000/t-beos: Likewise.
13233 * rs6000/t-newas: Likewise.
13234 * rs6000/t-ppccomm: Likewise.
13235 * rs6000/t-rs6000: Likewise.
13236 * rs6000/t-winnt: Likewise.
13237 * rs6000/t-xnewas: Likewise.
13238 * rs6000/t-xrs6000: Likewise.
13239 * sh/t-sh: Likewise.
13240 * sparc/t-elf: Likewise.
13241 * sparc/t-sparcbare: Likewise.
13242 * sparc/t-sparclite: Likewise.
13243 * sparc/t-splet: Likewise.
13244 * v850/t-v850: Likewise.
13245 * mn10200/t-mn10200: Fix comments.
13246 * mn10300/t-mn10300: Likewise.
13248 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
13249 dummy operand. Allocate a new pseudo for the dummy operand.
13250 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
13252 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
13254 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
13256 * configure: Rebuilt.
13257 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
13259 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
13261 * recog.c (preproces_constraints): Zero recog_op_alt before
13262 processing the constraints.
13264 * arm.c (typedef minipool_node): Renamed from pool_node.
13265 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
13266 (add_minipool_constant): New function.
13267 (dump_minipool): New function.
13268 (find_barrier): Remove special case for getting the insn size of
13269 an insn that references the constant pool.
13270 (minipool_fixup): New structure.
13271 (push_minipool_barrier): New function.
13272 (push_minipool_fix): New function.
13273 (note_invalid_constants): New function.
13274 (add_pool_constant, dump_table, fixit, broken_move): Delete.
13275 (arm_reorg): Rewrite code to fix up the constant pool into a
13276 series of mini-pools embedded in the insn stream.
13277 (arm_output_epilogue): New function, made mainly from the body
13278 of output_func_epilogue.
13279 (output_func_epilogue): Move insn generation part of epilogue code
13280 to arm_output_epilogue.
13281 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
13282 * arm.md (pool_range): New attribute.
13283 (zero_extendqidi2): Add attribute pool_range.
13284 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
13285 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
13286 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
13287 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
13288 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
13289 (epilogue): New expand.
13290 (epilogue_insn): New insn. Call arm_output_epilogue.
13292 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
13293 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
13295 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
13297 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13299 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
13301 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
13303 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
13305 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
13307 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
13309 * global.c: Fix comment.
13311 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
13313 * gcc.c (access_check): New static function.
13314 (find_a_file): Use it when searching a directory list.
13315 * collect2.c (find_a_file): Don't accept directories found when
13316 searching a directory list.
13318 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
13320 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
13321 function parameters with `&'.
13322 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
13324 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
13326 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
13327 or tidy_fallthru_edge if the last insn in the block is not
13328 an unconditional jump or a simple conditional jump.
13330 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13332 * Makefile.in (c-decl.o): Depends on defaults.h.
13334 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
13336 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
13338 (CLASS_MAX_NREGS): Likewise.
13340 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
13342 * cse.c (cse_insn): Fix dumb thinko in last change.
13344 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13346 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
13349 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
13351 * dwarf2out.c (add_location_or_const_value_attribute): Correct
13352 test for sizes of passed and declared parameter types.
13354 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13356 * fixincludes: Fix the return type of bsearch, char* -> void*.
13358 * fixinc/inclhack.def: Likewise.
13360 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
13362 * invoke.texi (-fdump-translation-unit): New option.
13364 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
13366 * expr.h (PROMOTE_PROTOTYPES): Move ...
13367 * defaults.h: ... to here.
13368 * c-decl.c: Include defaults.h instead of expr.h.
13369 * c-typeck.c: Include defaults.h.
13371 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
13373 * toplev.h (errorcount): Declare.
13374 (warningcount): Likewise.
13375 (sorrycount): Likewise.
13376 * c-lex.c (errorcount): Don't declare.
13377 * dwarf2out.c (errorcount): Don't declare.
13379 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
13381 * config/libgloss.h: Add a note discouraging use with ELF.
13382 * configure.in: Don't use libgloss.h for ELF targets.
13383 Always use_collect2 on a.out targets.
13385 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
13387 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
13388 (force_to_mode, case ASHIFTRT): Add shiftrt label.
13390 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13392 * loop.c (strength_reduce): When doing biv->giv conversion, update
13393 reg note of NEXT->insn.
13395 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13397 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
13399 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13401 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
13402 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
13403 Ensure expr.h is included.
13404 * c-typecheck.c (convert_arguments): Ditto.
13406 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
13408 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
13409 * config/convex/convex.h: Ditto.
13410 * config/dsp16xx/dsp16xx.h: Ditto.
13411 * config/fx80/fx80.h: Ditto.
13412 * config/gmicro/gmicro.h: Ditto.
13413 * config/i370/i370.h: Ditto.
13414 * config/i386/i386.h: Ditto.
13415 * config/m32r/m32r.h: Ditto.
13416 * config/m68k/m68k.h: Ditto.
13417 * config/m88k/m88k.h: Ditto.
13418 * config/mips/mips.h: Ditto.
13419 * config/pa/pa.h: Ditto.
13420 * config/pyr/pyr.h: Ditto.
13421 * config/tahoe/tahoe.h: Ditto.
13422 * config/we32k/we32k.h: Ditto.
13424 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
13425 based on arch size.
13427 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
13429 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
13432 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
13434 1999-08-02 Richard Henderson <rth@cygnus.com>
13436 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
13437 for the register spill block.
13438 (m32r_va_arg): New.
13439 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
13440 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
13442 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
13443 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
13444 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
13446 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13448 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
13449 MAX_WCHAR_TYPE defined in sparc.h.
13450 * config/sparc/linuxaout.h: Likewise.
13451 * config/sparc/linux64.h: Likewise.
13452 Also default to -mvis if CPU is UltraSPARC.
13454 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13456 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
13457 (RTX_OK_FOR_OLO10): Likewise.
13458 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
13459 %lo(), allow it in addresses...
13460 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
13461 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
13462 does not make sense.
13463 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
13464 (sparc_output_scratch_registers): New function.
13465 (output_function_prologue, sparc_flat_output_function_prologue): Use
13467 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
13469 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
13470 * configure.in: Add check for .register pseudo-op support in as and
13471 check for offsetable %lo().
13472 * acconfig.h: Add templates for the above checks.
13473 * configure: Regenerate.
13475 1999-08-02 Richard Henderson <rth@cygnus.com>
13477 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
13478 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
13479 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
13481 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13483 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
13486 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13488 * config/float-sparc.h: New file.
13489 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
13490 sparc-*-linux-gnu and sparc64-*-linux*.
13492 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13494 * rs6000.c (rs6000_va_list): Type is an array.
13495 (rs6000_va_start): Don't doubly adjust for varargs.
13496 (rs6000_va_arg): Evaluate long long GPR adjustment.
13498 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
13500 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
13501 -maix64 and -maix32.
13502 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
13503 LINK_SPEC): Change appropriately.
13504 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
13505 (u_short_cint_operand): Likewise.
13506 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
13508 * rs6000/t-aix43 (MULTILIB): Change to -m64.
13510 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
13512 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
13514 * rs6000/rs6000.c (num_insns_constant_wide): Correct
13515 for type promotion.
13516 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
13517 (non_add_cint_operand): Likewise.
13518 (logical_operand): Likewise.
13519 (non_logical_cint_operand): Likewise.
13520 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
13521 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
13522 (rs6000_select_rtx_section): Suppress warning.
13523 (small_data_operand): Suppress warning.
13524 (rs6000_got_register): Suppress warning.
13525 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
13526 type, so `J' is generally the wrong constraint for a SImode value;
13528 (andsi3_internal2): Likewise.
13529 (andsi3_internal3): Likewise.
13530 (iorsi3_internal1): Likewise.
13531 (xorsi3_internal1): Likewise.
13533 (movsf_softfloat): Likewise.
13534 (scc insns): Likewise.
13535 (movsi+2): Preserve sign bits of SImode constant.
13536 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
13537 (movdf+1): Sign-extend properly.
13538 (movdi_32+1): Sign-extend properly.
13539 (scc insns): Sign-extend properly.
13541 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
13544 1999-08-02 Richard Henderson <rth@cygnus.com>
13546 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
13547 -mcpu parsing code.
13548 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
13549 * alpha.md (all fp insns): Likewise.
13551 1999-08-02 Nick Clifton <nickc@cygnus.com>
13553 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
13556 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
13558 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
13559 pic_load_label generator directly.
13560 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
13561 No longer a named pattern.
13563 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
13565 * explow.c (force_reg): Call force_operand if X does not
13566 satisfy general_operand.
13568 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
13570 * fix-header.c (main): When testing for CONTINUED, use string
13571 equality, not pointer equality.
13573 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
13575 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
13577 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
13579 * cse.c (cse_insn): Fix loop which deletes insns after a jump
13580 that has become an unconditional jump.
13582 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
13583 (output_function_epilogue): Similarly.
13585 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13587 * tree.h (init_dummy_function_start): Declare.
13589 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13591 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
13592 last_expr_type, last_expr_value, block_start_count, block_stack,
13593 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
13594 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
13595 dynamically in stmt elt of struct function for each function.
13596 (struct nesting): Rename function_call_count elt to n_function_calls,
13597 target_temp_slot_level to block_target_temp_slot_level. All users
13599 (struct stmt_status): New structure definition.
13600 Add many accessor macros for stmt_status elements which previously
13601 were global variables.
13602 (init_stmt_for_function): Allocate stmt elt for current_function.
13603 Reflect that block_start_count was renamed to
13604 current_block_start_count.
13605 (save_stmt_status, restore_stmt_status): Delete functions.
13606 (preserve_subexpressions_p): Don't access loop_stack when outside
13608 (expand_start_bindings): Reflect that block_start_count was renamed to
13609 current_block_start_count.
13610 (expand_fixup): Likewise.
13611 (expand_decl): Don't access block_stack when outside a function.
13612 (expand_decl_cleanup): Likewise.
13613 (expand_dcc_cleanup): Likewise.
13614 (expand_dhc_cleanup): Likewise.
13615 (expand_anon_union_decl): Likewise.
13616 (set_file_and_line_for_stmt): New function.
13617 (in_control_zone_p): New function.
13619 * function.h (struct function): Add new elt stmt.
13620 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
13621 case_stack, nesting_stack, nesting_depth, block_start_count,
13622 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
13623 emit_lineno, goto_fixup_chain.
13624 (save_eh_status, restore_eh_status, save_stmt_status,
13625 restore_stmt_status): Delete declarations.
13626 * function.c (push_function_context_to): Don't call save_stmt_status.
13627 (pop_function_context_to): Don't call restore_stmt_status.
13628 * tree.h (in_control_zone_p): Declare.
13629 * rtl.h (set_file_and_line_for_stmt): Declare.
13631 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
13632 call set_file_and_line_for_stmt.
13634 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
13636 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
13637 Also update copyright.
13639 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13641 * c-pragma.c: Don't include "except.h".
13642 * emit-rtl.c: Likewise.
13643 * stor-layout.c: Likewise.
13644 * tree.c: Likewise.
13645 * varasm.c: Likewise.
13647 * flow.c: Include "function.h".
13648 * tree.h (init_dummy_function_start): Declare new function.
13650 * except.h (struct eh_status): New structure.
13651 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
13653 (eh_return_stub_label, ehstack, catchstack, ehqueue,
13654 catch_clauses, false_label_stack, caught_return_label_stack,
13655 protect_list, current_function_ehc): Add accessor macros for the
13656 corresponding fields in current_function->eh; delete declarations
13657 for all items that used to be declared here.
13658 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
13659 catch_clauses, false_label_stack, caught_return_label_stack,
13660 protect_list, current_function_ehc): Delete variables.
13661 (init_eh_for_function): Allocate current_function->eh.
13662 (save_eh_status, restore_eh_status): Delete functions.
13664 * function.h (struct function): Add fields next_global and eh.
13665 Delete all exception handling related fields.
13666 * function.c (current_function): New variable.
13667 (all_functions): New variable.
13668 (push_function_context_to): Don't allocate a struct function,
13669 use current_function instead. Call init_dummy_function_start when
13670 outside a function. Clear current_function before returning.
13671 (pop_function_context_from): Restore current_function.
13672 Don't free the restored struct function.
13673 (prepare_function_start): New function.
13674 (init_dummy_function_start): New function.
13675 (init_function_start): Break out some code into prepare_function_start
13678 * stmt.c (save_stmt_status): Don't call save_eh_status.
13679 (restore_stmt_status): Don't call restore_eh_status.
13681 * Makefile.in: Update dependencies.
13683 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
13685 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
13686 of depending on a magic constant value. Update comments.
13687 (hppa_expand_prologue): Similarly.
13689 * pa.md (reload_indi, reload_outdi): Allow any register for the
13690 original reload register.
13692 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
13694 * cccp.c (print_help): Change marcos to macros.
13696 1999-07-30 Richard Henderson <rth@cygnus.com>
13698 * c-typeck.c (initializer_constant_valid_p): Move ...
13699 * c-common.c (initializer_constant_valid_p): ... here. Use
13700 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
13701 of label addresses.
13702 * c-common.h (initializer_constant_valid_p): Declare.
13703 * c-tree.h (initializer_constant_valid_p): Remove.
13705 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
13707 * config/i386/sol2-c1.asm: Align the stack.
13708 * config/i386/sol2-gc1.asm: Likewise.
13710 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
13712 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
13713 -Asparclite for sparc86x.
13714 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
13716 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
13718 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
13720 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
13721 the user if using the non-default arch size in BI_ARCH configuration.
13722 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
13724 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
13725 Fix patterns so that they actually match.
13726 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
13727 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
13728 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
13730 (mulsidi3): Reflect this in the expand.
13731 (smulsi3_highpart): Only on TARGET_ARCH32.
13732 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
13733 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
13734 (umulsidi3): Reflect this in the expand.
13735 (umulsi3_highpart): Only on TARGET_ARCH32.
13736 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
13737 don't require g0 to be zero.
13738 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
13739 ({,u}divsi3): New expands.
13740 ({,u}divsi3_sp64): New patterns.
13741 (after lshrdi3_v8plus): Four new patterns to help combiner
13742 optimizing nested mixed mode shifts.
13744 * config/sparc/sparc.c (sparc_override_options): Use deprecated
13745 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
13746 speed things up. Don't use them by default on plain v9 in 64bit
13747 mode, according to what SPAMv9 sais.
13749 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
13750 top 32 bits of %[og][0-7] in signal handlers.
13751 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
13753 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
13755 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
13756 (ashlsi3): Corresponding changes.
13758 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
13760 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
13762 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
13764 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13766 * arm.h (Hint): Delete macro.
13767 Substitute HOST_WIDE_INT for Hint in some prototypes.
13768 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
13770 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
13772 * builtins.c (expand_builtin_setjmp): Use force_operand to
13773 make sure that the buffer address is in a suitable form to be
13774 passed to force_reg.
13776 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
13778 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
13781 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
13783 * pa.md (indirect_jump): Remove mode from match_operand. Verify
13784 proper mode in the condition string.
13785 (icacheflush, dcacheflush): Remove modes from match_operands.
13787 * pa.c (emit_move_sequence): Always convert scratch_reg to the
13788 proper mode before using it.
13790 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
13793 * pa.c (store_reg): Do not call add_high_const generator directly.
13794 (load_reg, set_reg_plus_d): Likewise.
13795 * pa.md (add_high_const): No longer a named pattern.
13797 * pa.c (legitimize_address): Consistently use Pmode rather than
13798 SImode. Do not call gen_pic2_highpart directly anymore.
13799 * pa.md (pic2_highpart): No longer a named pattern.
13800 (pic2_lo_sum): Similarly. Reformat to make more readable.
13802 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
13807 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13809 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
13811 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
13813 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
13814 and tag the spill mems.
13815 (hppa_va_start): New.
13816 (hppa_va_arg): New.
13817 * pa.h (EXPAND_BUILTIN_VA_START): New.
13818 (EXPAND_BUILTIN_VA_ARG): New.
13820 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
13822 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
13823 and tag the spill mems.
13824 (mn10300_va_start): New.
13825 (mn10300_va_arg): New.
13826 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
13827 (EXPAND_BUILTIN_VA_ARG): New.
13829 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
13831 * mn10200.c (mn10200_va_arg): New.
13832 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
13834 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
13836 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
13837 rather than play with TREE_INT_CST_LOW.
13839 1999-07-27 Philip Blundell <pb@nexus.co.uk>
13841 * config/arm/telf.h: Include dbxelf.h.
13842 (CPP_PREDEFINES): Only define if not already defined.
13843 (ASM_IDENTIFY_GCC): Likewise.
13844 (SUBTARGET_EXTRA_SECTIONS): Likewise.
13845 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
13846 * config/arm/thumb.h (LINK_SPEC): Only define if not already
13848 (DBX_DEBUGGING_INFO): Don't define.
13849 * config/arm/linux-telf.h: New file.
13850 * config/arm/linux-tgas.h: New file.
13851 * config/arm/t-thumb-linux: New file.
13852 * config/arm/uclinux-elf.h: New file.
13853 * config/arm/uclinux-telf.h: New file.
13854 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
13855 thumb-*-uclinux): New targets.
13856 * configure: Regenerate.
13858 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
13860 * pa.md (post_store, pre_load): New expanders.
13861 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
13862 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
13863 need to directly generate RTL for them.
13864 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
13867 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
13869 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
13870 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
13871 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
13872 (secndary_reload_class): Make TARGET_ELF conditional compile.
13873 (print_operand_address): Similar.
13874 (output_toc): Print all values as hex.
13875 (get_issue_rate): Rearrange and add RS64A and PPC630.
13876 * rs6000.h (processor_type): Add RS64A and PPC630.
13877 (PROCESSOR_POWERPC64): New.
13878 (PROMOTE_MODE): Use word_mode.
13879 (RTX_COSTS): Add RS64A and PPC630.
13880 * rs6000.md (scheduling information): Add lmul and ldiv
13881 representing 64-bit integer multiply and divide. Add rs64a and
13882 PPC630 information.
13883 (ashldi3): Add support for "rldic" instruction.
13884 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
13886 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
13888 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
13889 instead of V8 for sparclite86x in cpu_table.
13891 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13893 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
13894 output_file_directive.
13896 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
13898 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
13899 tree for op1, not the rtl.
13901 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
13903 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
13904 to m88k_va_start, leaving only the register spill.
13905 (m88k_build_va_list): New.
13906 (m88k_va_start): New.
13907 (m88k_va_arg): New.
13908 * m88k.h (BUILD_VA_LIST_TYPE): New.
13909 (EXPAND_BUILTIN_VA_START): New.
13910 (EXPAND_BUILTIN_VA_ARG): New.
13912 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
13914 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
13915 Rename from expand_builtin_saveregs.
13916 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
13918 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
13920 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
13921 for the register spill block.
13922 (i960_build_va_list): New.
13923 (i960_va_start): New.
13924 (i960_va_arg): New.
13925 * i960.h (BUILD_VA_LIST_TYPE): New.
13926 (EXPAND_BUILTIN_VA_START): New.
13927 (EXPAND_BUILTIN_VA_ARG): New.
13928 * i960.md (store_multiple): Use change_address on individul mems.
13930 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
13932 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
13934 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
13935 (expand_builtin_va_end): Evaluate arg for side effects.
13936 * c-common.c (c_common_nodes_and_builtins): Construct a
13937 va_list_arg_type_node to handle array decomposition to pointer.
13939 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
13941 * except.c (start_dynamic_cleanup): Use force_operand on the
13944 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
13946 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
13947 * c4x.c (c4x_va_arg): New.
13949 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
13951 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
13952 has manual_pop set.
13954 1999-07-26 Nathan Sidwell <nathan@acm.org>
13956 * eh-common.h (__eh_matcher): Prototype correctly.
13958 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
13960 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
13961 (TARGET_SINGLE_PIC_BASE): Likewise.
13962 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
13964 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
13965 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
13966 (TARGET_OPTIONS): Add -mpic-register=N.
13967 (OUTPUT_INT_ADDR_CONST): New macro.
13968 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
13969 LEGITIMATE_PIC_OPERAND_P): Likewise.
13970 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
13971 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
13972 output_addr_const directly.
13973 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
13975 (thumb_pic_register, thumb_pic_register_string): Declare.
13977 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
13979 (label_mentioned_p): New function: Imported from arm.c.
13980 (legitimize_pic_address): New function: Imported from arm.c.
13981 (is_pic):New function: Imported from arm.c.
13982 (thumb_finalize_pic):New function: Imported from arm.c.
13983 (add_constant): Cope with PIC constants.
13984 (fixit): Cope with PIC constants.
13985 (output_return): Do not treat the PIC register as live if
13986 TARGET_SINGLE_PIC_BASE is true.
13987 (thumb_function_prologue): Do not treat the PIC register as live if
13988 TARGET_SINGLE_PIC_BASE is true.
13989 (thumb_expand_prologue): Do not treat the PIC register as live if
13990 TARGET_SINGLE_PIC_BASE is true.
13991 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
13992 TARGET_SINGLE_PIC_BASE is true.
13993 (thumb_print_operand): Accept '|'.
13994 (thumb_override_options): Process PIC options.
13996 * config/arm/thumb.md (movsi): Support PIC.
13997 (call_insn): Change "i" constraint to "X".
13998 (call_value_insn): Likewise.
13999 (consttable_4, consttable_8, consttable_end): Set and clear
14000 "making_const_table" as appropriate.
14001 (pic_load_addr, pic_add_dot_plus_four): New insns.
14003 * invoke.texi (Thumb Options): Fix spelling. Document new
14004 options -msingle-pic-base and -mpic-register=.
14006 1999-07-26 Andrew Haley <aph@cygnus.com>
14008 * config/m32r/initfini.c (__init): Use a full word immediate for
14009 __fini: this allows it to be placed in any memory region.
14011 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
14012 -mmodel=medium. This is OK for all memory models.
14014 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
14016 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
14017 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
14019 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
14021 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
14024 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
14026 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
14028 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
14029 (BUILD_VA_LIST_TYPE): New.
14030 (EXPAND_BUILTIN_VA_START): New.
14031 (EXPAND_BUILTIN_VA_ARG): New.
14032 * i860.c (output_delayed_branch): Disable.
14033 (output_delay_insn): Likewise.
14034 (i860_saveregs): New.
14035 (i860_build_va_list): New.
14036 (i860_va_start): New.
14037 (i860_va_arg): New.
14038 * i860.md: Disable all peepholes using output_delayed_branch.
14039 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
14041 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
14043 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
14044 (BUILD_VA_LIST_TYPE): New.
14045 (EXPAND_BUILTIN_VA_START): New.
14046 (EXPAND_BUILTIN_VA_ARG): New.
14047 * clipper.c (clipper_builtin_saveregs): Only dump registers.
14048 Return the address of the save area.
14049 (clipper_build_va_list): New.
14050 (clipper_va_start): New.
14051 (clipper_va_arg): New.
14053 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
14055 * arc.h (EXPAND_BUILTIN_VA_START): New.
14056 (EXPAND_BUILTIN_VA_ARG): New.
14057 * arc.c (arc_setup_incoming_varargs): Set alias set of
14059 (arc_va_start): New.
14062 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
14064 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
14065 (BUILD_VA_LIST_TYPE): New.
14066 (EXPAND_BUILTIN_VA_START): New.
14067 (EXPAND_BUILTIN_VA_ARG): New.
14068 * alpha.c (alpha_builtin_saveregs): Delete.
14069 (alpha_build_va_list): New.
14070 (alpha_va_start): New.
14071 (alpha_va_arg): New.
14073 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
14075 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
14077 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
14078 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
14080 * gcc.texi: More changes related to list conversion.
14081 * invoke.texi: Likewise.
14083 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
14085 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
14086 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
14087 (expand_builtin_next_arg): Accept ARGLIST not EXP.
14088 (stabilize_va_list): New function.
14089 (std_expand_builtin_va_start): New function.
14090 (expand_builtin_va_start): New function.
14091 (get_varargs_alias_set): New function.
14092 (std_expand_builtin_va_arg): New function.
14093 (expand_builtin_va_arg): New function.
14094 (expand_builtin_va_end): New function.
14095 (expand_builtin_va_copy): New function.
14096 (expand_builtin): Call them.
14097 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
14098 __builtin_{varargs_start,stdarg_start,end,copy}.
14099 (build_va_arg): New function.
14100 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
14101 (build_va_arg): Declare.
14102 * c-decl.c (ptr_type_node, va_list_type_node): New.
14103 * c-parse.gperf (__builtin_va_arg): New.
14104 * c-parse.in (VA_ARG): New token.
14105 (unary_expr): Recognize it.
14106 * expr.c (expand_expr): Expand VA_ARG_EXPR.
14107 * expr.h (std_expand_builtin_va_start): Declare.
14108 (std_expand_builtin_va_arg): Declare.
14109 (expand_builtin_va_arg): Declare.
14110 (get_varargs_alias_set): Declare.
14111 * tree.def (VA_ARG_EXPR): New.
14112 * tree.h (BUILT_IN_VARARGS_START): New.
14113 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
14114 (ptr_type_node, va_list_type_node): Declare.
14115 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
14116 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
14117 * m88k.h, m88k.c: Likewise.
14118 * mn10300.h, mn10300.c: Likewise.
14119 * pa.h, pa.c: Likewise.
14120 * rs6000.h, rs6000.c: Likewise.
14121 * sh.h, sh.c: Likewise.
14122 * sparc.h, sparc.c: Likewise.
14124 * emit-rtl.c (operand_subword): Copy alias set.
14125 (change_address): Likewise.
14127 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
14129 * pa.c (compute_frame_size): Scan all the used callee saved registers,
14130 not just the first one.
14132 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
14134 * config/arm/arm.h (TARGET_SWITCHES): Add
14135 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
14136 (TARGET_OPTIONS): Add -mpic-register=.
14137 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
14138 (arm_pic_register_string): Declare.
14139 (NEED_PLT_GOT): Delete, replace with ...
14140 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
14141 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
14142 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
14143 * config/arm/arm.c (arm_override_options): Add new option
14145 (arm_pic_register_string): New variable.
14146 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
14147 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
14148 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
14149 (output_return_instruction): Likewise.
14150 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
14151 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
14152 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
14154 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
14155 mention of -msched-prolog. Document new options -msingle-pic-base
14156 and -mpic-register=.
14158 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
14160 * haifa-sched.c (reemit_notes): Tidy.
14161 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
14164 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
14166 * explow.c (trunc_int_for_mode): New function.
14167 (plus_constant_wide): Use it.
14168 * combine.c (simplify_and_const_int): Likewise.
14169 (merge_outer_ops): Likewise.
14170 (simplify_shift_const): Likewise.
14171 * cse.c (simplify_unary_operation): Likewise.
14172 (simplify_binary_operation): Likewise.
14173 * emit-rtl.c (operand_subword): Likewise.
14174 * rtl.h: Declare it.
14176 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14178 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
14179 (use NUM_REGS instead of NUM_INTS).
14181 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14183 * builtins.c: New file.
14184 * expr.c (saveregs_value, apply_args_value): Delete definition,
14185 moved into builtins.c.
14186 (string_constant): No longer static.
14187 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
14188 apply_args_size, apply_result_size, result_vector,
14189 expand_builtin_apply_args, expand_builtin_apply,
14190 expand_builtin_return): Delete functions, moved into builtins.c.
14191 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
14192 * expr.h (saveregs_value, apply_args_value): Declare variables.
14193 (expand_builtin, string_constant): Declare functions.
14194 * Makefile.in: Update to build builtin.o.
14196 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
14198 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
14199 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
14200 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
14201 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
14203 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
14206 1999-07-21 Michael Meissner <meissner@cygnus.com>
14208 * print-rtl.c (print_rtx): Print the names of the virtual
14211 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
14213 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
14214 introduced in previous delta.
14216 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14218 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
14219 to avoid name clash.
14221 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
14223 * c-lex.c (yylex) : Correct the test for overflow when lexing
14226 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
14228 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
14229 (adjust_priority): Always call ADJUST_PRIORITY.
14230 (schedule_insn): Only put insns into the ready at cost 0.
14231 (schedule_block): Remove redundant initial sort. Give clock_var
14232 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
14234 * tm.texi (MD_SCHED_REORDER): Update docs.
14236 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
14237 * sparc.c (ultra_reorder_called_this_block): Delete.
14238 (ultrasparc_sched_init): Don't set it.
14239 (ultrasparc_sched_reorder): Don't check it.
14241 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
14243 * rs6000.h (struct rs6000_args): Add sysv_gregno.
14244 * rs6000.c (init_cumulative_args): Init sysv_gregno.
14245 (function_arg_boundary): Align DFmode.
14246 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
14247 to get fp reg and stack overflow correct.
14248 (function_arg): Likewise.
14249 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
14250 (setup_incoming_varargs): Restructure for ABI_V4; use
14251 function_arg_advance to skip final named argument.
14252 (expand_builtin_saveregs): Properly unskip the last integer arg
14253 when doing varargs. Adjust overflow location calculation.
14255 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
14256 explicitly unsigned.
14257 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
14258 (__VA_GP_REGSAVE): Similarly.
14259 (__va_longlong_p): Delete.
14260 (__va_arg_type_violation): New declaration.
14261 (va_arg): Restructure. Flag promotion errors. Align double.
14262 TFmode passed by reference.
14264 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
14265 in the HOST_BITS_PER_WIDE_INT > 32 case.
14267 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
14269 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
14271 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
14273 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
14274 * toplev.c (documented_lang_options): Add -fpreprocessed.
14275 * cpplib.h (struct cpp_buffer): Add preprocessed.
14276 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
14277 (cpp_start_read): Don't expand macros or emit an initial #line
14278 directive if -fpreprocessed.
14280 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14282 * cpplib.h (struct cpp_buffer): Added manual_pop for
14283 better C++ tokenization.
14284 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
14285 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
14286 * c-common.c (cpp_token): Make non-static.
14288 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14290 * c-common.h: New file.
14291 * c-common.c (permanent_obstack): Delete unused declaration.
14292 (c_global_trees): New array.
14293 (c_common_nodes_and_builtins): New function; split off common code
14294 from init_decl_processing in both c-decl.c and cp/decl.c.
14295 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
14296 c_global_trees and accessor macros defined in c-common.h.
14297 Include c-common.h.
14298 * c-decl.c: Delete definitions for tree nodes that were replaced by
14300 (init_decl_processing): Build void_list_node.
14301 Call c_common_nodes_and_builtins; delete code to generate the common
14303 * objc/objc-act.c (build_module_descriptor): Rename variable
14304 void_list_node to avoid clash with c-common.h.
14306 * Makefile.in: Update dependencies.
14307 * objc/Make-lang.in: Likewise.
14309 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
14311 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
14312 (UNIQUE_SECTION_P): Likewise.
14313 (UNIQUE_SECTION): Likewise.
14315 1999-07-19 Linas Vepstas <linas@linas.org>
14317 * config/i370/README: New file.
14318 * config/i370/linux.h: New file.
14319 * config/i370/mvs.h: New file.
14320 * config/i370/oe.h: New file.
14321 * config/i370/t-linux: New file.
14322 * config/i370/t-mvs: New file.
14323 * config/i370/t-oe: New file.
14324 * config/i370/x-oe: New file.
14325 * config/i370/xm-linux.h: New file.
14326 * config/i370/xm-mvs.h: New file.
14327 * config/i370/xm-oe.h: New file.
14329 * i370.c (label_node_t): Add first_ref_page, label_addr,
14330 label_first_ref, label_last_ref members.
14331 (mvs_need_base_reload): Renamed from mvs_label_emitted.
14332 (MAX_MVS_LABEL_SIZE): Define.
14333 (MAX_LONG_LABEL_SIZE): Define.
14334 (alias_node_t, alias_anchor, alias_number): New.
14335 (mvs_function_table): Reorder for EBCDIC.
14336 (ascebc, ebcasc): Unconditionally define.
14337 (i370_branch_dest, i370_branch_length): New functions.
14338 (i370_short_branch, i370_label_scan): New functions.
14339 (mvs_get_label): Renamed from mvs_add_label. Search for
14340 an existing label before creating a new one.
14341 (mvs_add_label): New function.
14342 (mvs_get_label_page): New function.
14343 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
14344 over the entire list.
14345 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
14346 (mvs_check_page) [TARGET_ELF_ABI]: New function.
14347 (mvs_add_alias, mvs_need_alias): New functions.
14348 (mvs_get_alias, mvs_check_alias): New functions.
14349 (handle_pragma): New function.
14350 (mvs_function_check): New function.
14351 (unsigned_jump_follows_p): Search harder.
14352 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
14353 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
14354 * i370.h (TARGET_VERSION): Delete.
14355 (CPP_SPEC, CPP_PREDEFINES): Delete.
14356 (mvs_label_emitted): Delete.
14357 (TARGET_EBCDIC): Delete.
14358 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
14359 (HANDLE_PRAGMA): Define.
14360 (HARD_REGNO_NREGS): Handle complex modes.
14361 (HARD_REGNO_MODE_OK): Likewise.
14362 (CLASS_MAX_NREGS): Likewise.
14363 (RET_REG): Likewise.
14364 (EXTRA_CONSTRAINT): Define.
14365 (RETURN_IN_MEMORY): True for DImode.
14366 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
14367 (FUNCTION_PROFILER): Delete.
14368 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
14369 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
14370 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
14371 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
14372 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
14373 (ASM_FILE_START): Add "RMODE ANY".
14374 (ASM_OUTPUT_EXTERNAL): Check for aliases.
14375 (ASM_GLOBALIZE_LABEL): Likewise.
14376 (ASM_OUTPUT_LABELREF): Likewise.
14377 (ASM_OUTPUT_COMMON): Likewise.
14378 (PRINT_OPERAND): Handle 'K', 'W', default.
14379 (PRINT_OPERAND_ADDRESS): New.
14380 (Lots of defines): Add support for TARGET_ELF_ABI.
14381 * i370.md (attr length): New. Define for all patterns.
14382 (*): Lots of tweeks to assembly output and constraints.
14384 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
14386 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
14387 Disable patterns performing SImode comparisons with SImode values
14388 if TARGET_POWERPC64 and instruction does not sign-extend or does
14389 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
14390 differ for signed quantities.
14391 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
14392 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
14393 (decrement_and_branch_on_count): Add 64-bit variant.
14395 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14397 * final.c (output_asm_insn): When searching for the matching string
14398 for a given dialect, don't run past the end of the list of
14399 alternatives if there are fewer alternatives in the template than
14402 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
14404 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
14405 Removed paragraph about compression of files and size limitation,
14406 duplicated in the FAQ. Use gcc-patches for posting patches.
14407 * gcc.c (main): Updated URL with bug reporting instructions to
14408 gcc.gnu.org. Removed e-mail address.
14409 * system.h (abort): Likewise.
14411 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14413 * Makefile.in (stmp-multilib-sub): Make the files extracted
14414 from $(LIBGCC1) writable.
14416 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
14418 * config/arm/aout.h: Reformat for improved readability.
14420 * config/arm/arm.h: Reformat for improved readability.
14421 Replace uses of fprintf with asm_fprintf where appropriate.
14422 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
14423 function declaration assembler actions.
14424 (NUM_INTS): New macro: Convert from bytes to words.
14425 (NUM_REGS): New macro: Compute number of registers required to
14426 hold a quanitity of tyep MODE.
14427 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
14429 (NUM_ARG_REGS): New macro: The number of argument registers
14431 (ARG_REGISTER): New macro: Compute the register number of the Nth
14433 (LAST_ARG_REGNUM): New macro: The number of the last argument
14435 (SP_REGNUM): New macro: Register number of the stack pointer.
14436 (FP_REGNUM): New macro: Register number of the frame pointer.
14437 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
14438 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
14439 CUMULATIVE_ARGS so that it counts registers not bytes.
14441 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
14443 Replace uses of fprintf with asm_fprintf where appropriate.
14444 (output_ascii_pseudo_op): Replace with version from thumb.c
14446 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
14448 * config/arm/elf.h (CPP_PREDEFINES): Replace with
14449 SUBTARGET_CPP_SPEC.
14450 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
14451 (ASM_FILE_START): Emit ASM_APP_OFF.
14453 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
14455 * pa.c (compute_frame_size): Round frame according to
14456 STACK_BOUNDARY rather than a hardwired value.
14458 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
14460 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
14462 * configure: Rebuilt.
14464 * configure.in (hppa*-*-linux*): New configuration.
14465 * configure: Rebuilt.
14466 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
14467 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
14468 * pa/pa-linux.h: New file.
14469 * pa/t-linux: New file.
14470 * pa/xm-linux.h: New file.
14472 * pa.c (hppa_legitimize_address): Change references from SImode to
14473 either Pmode or word_mode as appropriate.
14474 (emit_move_sequence, store_reg, load_reg): Likewise.
14475 (set_reg_plus_d, hppa_expand_prologue): Likewise.
14476 (output_mul_insn): Likewise.
14477 * pa.h (PROMOTE_MODE): Likewise.
14478 (INITIALZE_TRAMPOLINE): Likewise.
14479 (Pmode): Define to word_mode.
14481 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
14482 value of 4. Allocate 8 bytes for each FP register save.
14483 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
14485 (hppa_expand_prologue): Likewise.
14486 * pa.h (PROMOTE_MODE): Likewise.
14487 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
14488 (FUNCTION_ARG_BOUNDARY): Likewise.
14490 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
14492 * pa.c (out_of_line_prologue_epilogue): Delete.
14493 (override_options): Remove -mspace related code.
14494 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
14495 (compute_frame_size): Only allocate space for register that
14496 actually need to be saved.
14497 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
14498 (TARGET_SWITCHES): Remove -mspace, -mno-space
14499 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
14500 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
14501 * pa/ee.asm, pa/ee_fp.asm: Delete.
14503 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
14505 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
14506 directive in column zero.
14508 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
14510 * m68k.c (output_function_prologue): Fix computation of save mask
14511 when generating PIC code.
14513 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
14515 * tree.c (build_type_attribute_variant): Move current_obstack restore
14516 after build_qualified_type call.
14518 1999-07-15 Mark Mitchell <mark@codesourcery.com>
14520 * configure.in: Use t-iris6, even with GNU LD.
14521 * config/mips/iris6gld.h: Fix typo in linker spec.
14522 * config/mips/t-iris6gld: Remove.
14524 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
14526 * rs6000.md (insv, extzv): Remove SImode dependence in named
14527 patterns. Explicitly generate DImode RTL if PowerPC64 and
14529 (insvdi): Reverse start and size in instruction template.
14531 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
14533 * invoke.texi: Typo fixes.
14535 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
14537 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
14538 handle at this time instead of silently generating incorrect code.
14539 (gen_imagpart): Likewise.
14541 * reload.c (find_reloads): Emit a USE for a pseudo register without
14542 a hard register if we could not create an optional reload for the
14545 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14547 * c-typeck.c (output_init_element, process_init_element):
14548 When advancing constructor_unfilled_fields for a RECORD_TYPE,
14549 check for nameless bit fields.
14551 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
14553 * regclass.c (scan_one_insn): Notice subregs that change the
14554 size of their operand.
14555 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
14557 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
14559 * configure.in (alpha*-*-*): Include alpha/t-ieee.
14560 * configure: Rebuilt.
14561 * alpha/t-ieee: New file.
14563 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
14565 * rs6000.c (find_addr_reg): Do not select r0 as an address
14568 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
14570 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
14572 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
14574 * rs6000.md (movsf): Do not force easy FP constants into memory.
14576 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
14577 immed_double_const to ensure they are properly truncated then
14580 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
14582 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
14583 always unless NO_DEBUG is used. Compile this code
14585 (replace_symbols_in_block): Compile it unconditionally.
14587 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
14589 * configure.in (i?86-*-elf*): New target.
14590 * configure: Rebuilt.
14591 * i386/i386elf.h, i386/t-i386elf: New files.
14593 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14595 * toplev.c (main): Don't complain about saying -gdwarf.
14596 (rest_of_compilation): Remove redundant code.
14598 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
14600 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
14602 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
14604 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
14605 "Li960R:", to avoid name clash.
14607 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14609 * loop.c (check_dbra_loop): When reversing a loop, delete all
14610 REG_EQUAL notes referencing the reversed biv except those which are
14611 for a giv based on it.
14613 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
14615 * version.c: Drop "gcc-" prefix from version #.
14617 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
14619 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
14620 the label if we're being verbose.
14622 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
14624 * m68k.c (output_function_prologue): Add pic register to mask
14625 if live and flag_pic.
14626 (output_function_epilogue): Likewise.
14628 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
14630 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
14631 directives in column zero.
14633 * pa/elf.h (ASM_FILE_START): Define.
14634 * pa/som.h (ASM_FILE_START): Include .level directives.
14635 * pa/hpux10.h (ASM_FILE_START): Delete.
14636 * pa/hpux11.h (ASM_FILE_START): Delete.
14638 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
14640 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14642 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
14643 when reload_out equals reload_in.
14645 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
14647 * invoke.texi (Spec Files): New node: Describe the contents of
14650 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
14652 * invoke.texi (DEC Alpha Options): Put @end table at
14653 beginning of line, to avoid confusing texi2html.
14655 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
14657 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
14658 introduced in previous delta.
14660 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14662 * reload1.c (gen_reload): When synthesizing a 3 operand add
14663 sequence, improve test for when to reload OP1 into the reload
14664 register instead of OP0.
14666 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
14668 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
14670 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
14672 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
14675 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
14677 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
14678 (va_dcl): Use __builtin_va_alist_t.
14680 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
14682 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
14683 on the permanent_obstack.
14684 * dwarfout.c (output_type): Likewise.
14686 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
14688 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14689 Merged from c-typeck.c and cp/typeck.c.
14690 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14691 Merged into c-common.
14693 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
14695 * c-lex.c (errorcount): Declare it.
14696 (finish_parse): Update errorcount when using CPPLIB.
14698 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
14700 * fixinc/inclhack.def(end_else_label): Double the backslash so
14701 sed gets a chance to see it.
14702 * fixinc/inclhack.sh: regen
14703 * fixinc/fixincl.x: regen
14705 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
14707 Add framework to support armv5 architecture when it becomes
14710 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
14711 (arm_arch5): New variable.
14712 (all_architectures): Add armv5 line.
14713 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
14714 -march=armv5 is specified on the command line.
14715 (arm_arch5): Export this variable.
14716 * invoke.texi: Document new string accepted by -march= switch for
14719 * config/arm/arm.h: Replace use of constant 12 as a register
14720 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
14721 * config/arm/arm.c: Replace use of constant 12 as a register
14722 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
14724 * config/arm/elf.h: Tidy up.
14725 * config/arm/coff.h: Tidy up.
14727 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
14729 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
14730 * gcc/config/mips/t-iris6gld: New file.
14731 * gcc/config/mips/iris6gld.h: Likewise.
14733 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
14735 * c-decl.c (widest_integer_literal_type_node,
14736 widest_unsigned_literal_type) : New.
14737 (init_decl_processing): Handle/use the two new types.
14738 * c-common.c (type_for_size,type_for_mode) : Same.
14739 * c-lex.c (yylex) : Same.
14740 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14742 * c-tree.h (widest_integer_literal_type_node,
14743 widest_unsigned_literal_type) : New.
14745 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
14747 * dwarfout.c (field_byte_offset): Correctly compute the object's
14748 byte offset for the first bit of a field which crosses an alignment
14749 boundary on a !BYTES_BIG_ENDIAN target.
14751 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
14753 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
14756 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
14757 Jeff Law <law@cygnus.com>
14759 * ginclude/varargs.h (va_dcl): Use word_mode for type of
14762 * except.c: Include intl.h.
14763 (expand_eh_return): Set current_function_cannot_inline.
14764 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
14765 * function.h (struct function): Add eh_return_stub_label.
14766 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
14767 * Makefile.in (except.o): Depend on intl.h.
14769 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
14771 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
14772 same as offsettable in cases 1 and 2.
14774 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
14776 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
14777 (extlh, extwh): Likewise.
14779 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
14781 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
14783 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
14785 * configure.in: Add arm-pe and thumb-pe targets.
14786 * configure: Regenerate.
14788 * thumb.c (arm_naked_function_p): New function: Determines if
14789 a function is naked (has no gcc generated prologue/epilogue).
14790 (is_called_in_ARM_mode): Return true if the func has the
14791 interfacearm attribute.
14792 (output_return): Do not generate a return for naked functions.
14793 (thumb_function_prologue): Do not generate a prologue for
14795 (thumb_expand_prologue): Do not generate a prologue for naked
14797 (thumb_expand_epilogue): Do not generate an epilogue for naked
14799 (arm_valid_machine_decl_attribute): New function, copied from
14800 arm.c: Permit naked and interfacearm attributes.
14802 * config/arm/pe.c: New file: Support code for arm-pe target.
14803 * config/arm/pe.h: New file: Header file for arm-pe target.
14804 * config/arm/tpe.h: New file: Header file for thumb-pe target.
14805 * config/arm/t-thumb-pe: New file: Makefile fragment for
14808 1999-07-01 Mark Kettenis <kettenis@gnu.org>
14810 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
14811 -fPIC or -fpic is specified.
14813 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
14815 * expr.c (emit_block_move): Use copy_to_mode_reg for
14816 !TARGET_MEM_FUNCTIONS case too.
14818 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
14820 * configure: Rebuilt.
14821 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
14822 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
14823 definitions made redundant by dbxelf.h inclusion. Delete
14824 lots of definitions related to assembly output that are
14825 specific to the SOM object format.
14826 * pa.c (output_function_prologue): Do not emit the function's
14828 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
14829 * pa-pro.h: Deleted.
14830 * som.h: New file with SOM specific definitions.
14831 * elf.h: New file with ELF specific definitions.
14833 * elfos.h (const_section): Output a tab before assembler directives.
14834 (ctors_section, dtors_section): Likewise.
14835 (ASM_OUTPUT_SECTION_NAME): Likewise.
14837 * pa/pa1.h: Delete unused file.
14839 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
14841 * configure.in (hppa*-hp-hpux11*): New configuration.
14842 * configure: Rebuilt.
14843 * pa/pa-hpux11.h: New file.
14844 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
14847 * mips.md (leasi, leadi): New patterns.
14849 * expr.c (emit_block_move): Properly handle case where one of the
14850 block move arguments has a queued increment or decrement.
14851 (clear_storage): Similarly. Fix formatting goof.
14853 1999-06-28 "David O'Brien" <obrien@NUXI.com>
14855 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
14856 semicolon from the BSD VA_LIST replacement expression.
14858 * fixinc/inclhack.sh: regen
14859 * fixinc/fixincl.x: regen
14861 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
14862 now use the fixincl program.
14864 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
14866 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
14867 case. Also make the PIC register call_used.
14869 * m68k.h (FINALIZE_PIC): Delete.
14870 * m68k.c (finalize_pic): Delete.
14872 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
14874 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
14877 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
14879 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
14881 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
14883 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
14885 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
14887 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
14889 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
14891 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
14893 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
14895 * rs6000.c (output_toc): Always use hex values for floating-point
14896 constants. Store single-precision values in upper-half of TOC
14897 entry in 64-bit mode.
14898 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
14899 to final constraints.
14900 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
14901 (fctiwz): Improve accuracy of RTL for pattern.
14903 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
14905 * expr.c (expand_expr): Allow RTL_EXPR's through the
14906 MAX_INTEGER_COMPUTATION_MODE checks.
14908 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
14910 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
14911 such that MASK_SUPPORT_ARCH is not negative.
14913 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
14915 * loop.c (verify_dominator): Properly handle ADDR_VEC and
14916 ADDR_DIFF_VEC insns that appear inside loops.
14918 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
14919 Jeff Law <law@cygnus.com>
14921 * rs6000.md (movdf_hardfloat32): Revert previous patch.
14922 Handle LO_SUM the same as offsettable in cases 1 and 2.
14923 * rs6000.c (find_addr_reg): Revert previous patch.
14925 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
14927 * system.h (strstr): New external function declaration.
14928 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
14929 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
14930 * config.in, configure: Rebuilt.
14932 1999-06-24 Tom Tromey <tromey@cygnus.com>
14934 * gcc.c (main): Read user-specified specs files after computing
14935 additional startfile_prefixes.
14937 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
14939 Revert these two patches:
14941 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14942 * loop.c (strength_reduce): When doing biv->giv conversion, update
14943 reg note of NEXT->insn.
14945 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14946 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
14948 (recombine_givs): Set ix field after sorting.
14950 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14952 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
14953 for the parts of an UNSPEC / UNSPEC_VOLATILE.
14955 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
14957 *fixinc/inclhack.def: Add fix development commentary
14958 (read_ret_type): reactivate and add selection clause
14959 (zzz_*): tweak output file name to match what is used in hackshell.tpl
14960 *fixinc/{fixincl.x|inclhack.sh}: regen
14962 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
14964 * expr.c (expand_expr): STRIP_NOPS before checking against
14965 MAX_INTEGER_COMPUTATION_MODE
14966 (check_max_integer_computation_mode): Likewise.
14968 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
14970 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
14972 1999-06-22 Jim Wilson <wilson@cygnus.com>
14974 * expr.c (store_expr): When target is a promoted subreg, return a
14975 promoted subreg as a result.
14977 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
14979 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
14981 (dwarf2out_define): Mark unused parameters appropriately.
14982 (gen_unspecified_parameters_die): Ditto.
14983 (gen_subprogram_die): Fix signed/unsigned warnings.
14984 (gen_variable_die): Ditto.
14986 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
14988 * fixinc/inclhack.def(end_else_label): combined else_label
14989 and endif_label and fixed the sed expression.
14990 *fixinc/{fixincl.x|inclhack.sh}: regen
14992 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
14994 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
14995 'x' when handling non-offsettable addresses
14997 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
14999 * final.c (shorten_branches): Don't try to split an insn that has
15002 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
15004 * config/mips/mips.c (symbolic_expression_p): New function.
15005 (mips_select_rtx_section): Put symbolic expressions in the
15006 data section, not the read-only data section.
15008 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
15010 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
15012 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
15014 * collect2.c (main): Log frame table count.
15015 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
15016 (scan_prog_file) [COFF]: Handle frame tables.
15018 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
15019 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
15020 * alpha/elf.h: Undef them again.
15021 * alpha/vms.h: Remove their definitions.
15023 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15025 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
15026 remove the clobber of r0 and change the REG_UNUSED note to
15029 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
15031 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
15032 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
15033 fits in HOST_WIDE_INT and one uses union to access a long constant
15036 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
15038 * sparc.c (sparc_override_options): Don't allow profiling for
15039 code models other than medlow.
15040 (sparc_function_profiler): New function from old FUNCTION_PROFILER
15041 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
15042 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
15043 (sparc_block_profiler): Likewise.
15044 (sparc_function_block_profiler_exit): Likewise.
15045 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
15046 (FUNCTION_BLOCK_PROFILER): Likewise.
15047 (BLOCK_PROFILER): Likewise.
15048 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
15049 (MCOUNT_FUNCTION): New.
15050 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
15051 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
15052 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
15053 (MCOUNT_FUNCTION): New.
15054 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
15055 (BLOCK_PROFILER): Delete.
15056 (MCOUNT_FUNCTION): New.
15058 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
15060 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
15062 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
15064 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15067 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15070 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15073 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15076 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
15078 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
15081 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
15083 * i386/djgpp.h (LIB_SPEC): New.
15084 (STARTFILE_SPEC): New.
15086 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
15088 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
15090 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
15093 * system.h (WSTOPSIG): New macro.
15095 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
15097 * c-pragma.c (push_alignment): Don't ignore alignments greater than
15099 (insert_pack_attributes): Take into account member natural
15102 * i386/winnt.c (exports_head): New static variable.
15103 (i386_pe_record_exported_symbol): New function.
15104 (i386_pe_asm_file_end): Use.
15105 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
15106 symbols to be emitted at end of assembly.
15107 (ASM_DECLARE_OBJECT_NAME): Likewise.
15108 (ASM_DECLARE_FUNCTION_NAME): Likewise.
15110 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
15113 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
15115 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
15118 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
15120 * haifa-sched.c (sched_analyze_1): Use free_list instead of
15121 zapping reg_last_uses directly.
15122 (sched_analyze_2, sched_analyze_insn): Likewise.
15123 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
15125 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
15127 * rs6000.md (movdf_hardfloat32): Use worst case insn length
15128 attributes for cases 1 and 2.
15130 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
15132 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
15135 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
15137 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
15139 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
15141 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
15142 PIC_OFFSET_TABLE_REGNUM for general alloaction.
15143 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
15144 must be stacked if it is used for PIC accesses.
15145 * arm.c (use_return_insn): Handle PIC register specially.
15146 (output_return_instruction): Likewise.
15147 (output_func_{prologue,epilogue}): Likewise.
15148 (output_expand_prologue): Likewise.
15150 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
15151 (*strsi_predec): Renamed from *strqi_predec.
15152 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
15153 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
15155 * arm.c (arm_override_options): Remove warning about PIC code
15156 not being supported.
15158 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
15160 * rs6000.c (find_addr_reg): New function.
15161 * rs6000.h (find_addr_reg): Declare.
15162 (offsettable_addr_operand): Delete.
15163 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
15164 from and stores to GPRs.
15166 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
15168 * alpha.c (alpha_expand_block_move): Use get_insns rather than
15169 gen_sequence as argument to emit_no_conflict_block.
15171 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15173 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
15174 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
15175 *fixinc/fixincl.x: regen
15176 *fixinc/inclhack.sh: regen
15178 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
15180 * added support for -mpcrel (PC relative addressing for m68k)
15181 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
15182 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
15183 * m68k.c (print_operand_address): Handle 32-bit PIC case.
15184 (comments for general_src_operand): Add some explanation
15185 about EXTRA_CONSTRAINTS.
15186 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
15187 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
15188 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
15189 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
15190 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
15191 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
15192 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
15193 if not already set.
15194 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
15195 * m68k.h (TARGET_PCREL): New target flag.
15196 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
15197 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
15198 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
15199 contains a SYMBOL_REF. Relax this constraint during reload, since
15200 we want to use the predicates, not reload's built-in concept of a
15201 valid memory address, to control what insns need reloading.
15202 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
15203 operands (essentially 'g', 'm', and 's' under normal circumstances).
15204 * m68k.c (print_operand): Cause printing of pc-relative addresses
15205 to include pc register.
15206 (print_operand_address): Ditto.
15207 (general_src_operand): Accept operands that are not only
15208 general_operands, but are also valid when used as a pc-relative
15210 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
15211 (memory_src_operand): Similar, for memory_operands.
15212 (pcrel_address): New predicate to accept the special case of a
15213 pc-relative address.
15214 * m68k.md (many patterns): Rewrite common SImode, HImode, and
15215 QImode insns to accept *_src_operand instead of *_operand where
15216 pc-relative operands can fit. For example, a pc-relative operand
15217 can be used as a memory source operand for addsi3, but not as a
15218 memory destination.
15219 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
15221 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
15223 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
15224 .thumb_set pseudo op to mark aliases of thumb functions.
15226 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
15228 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
15229 preference to ASM_OUTPUT_DEF, if it is defined.
15231 * tm.texi: Document new, optional target macro
15232 ASM_OUTPUT_DEF_FROM_DECLS.
15234 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15236 * fixincludes: ISCNTL patch
15237 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
15238 (dgux_int_varargs): new for DG/UX
15239 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
15241 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
15243 * invoke.texi (ia32 options): Fix typo.
15245 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15247 * loop.c (strength_reduce): When doing biv->giv conversion, update
15248 reg note of NEXT->insn.
15250 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
15252 * loop.c (move_movables): Note issues with replacing REGs with
15254 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
15256 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
15258 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
15260 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
15261 the reference to `mcount' was not correct for the ELF on FreeBSD.
15263 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15265 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15268 (recombine_givs): Set ix field after sorting.
15270 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
15272 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
15273 to safe to extract a subword out of a REG.
15275 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15277 * sh.md (mulsi3): Don't add a no-op move at the end.
15279 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15281 * cse.c (cse_insn): Don't put hard register source into tables for
15282 the last insn of a libcall.
15284 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15286 * loop.c (strength_reduce): Insert sets of derived givs at every
15287 biv increment, even if it's the only one.
15289 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
15291 * dwarfout.c (add_incomplete_type): New fn.
15292 (output_type): Call it.
15293 (retry_incomplete_types): New fn.
15294 (dwarfout_finish): Call it.
15296 From Eric Raskin <ehr@listworks.com>:
15297 (output_type): Output types for bases.
15299 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15301 * mips.c (mips_output_conditional_branch): Add `break'
15302 between `default' label and `close braces'.
15304 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
15306 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
15307 specifications and make it realistic.
15308 (LIB_SPEC): Likewise.
15310 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
15312 * config/mips/mips.c (mips_secondary_reload_class): Check for
15313 (PLUS (SP) (REG)) and return appropriate register class.
15314 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
15315 Handle (PLUS (SP) (REG)).
15316 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
15317 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
15318 of emit_insn for tablejump.
15320 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
15322 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
15323 asm_fprintf format string by itself.
15324 (output_function_profiler): Likewise.
15326 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
15328 * combine.c (simplify_logical, case AND): Only call
15329 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
15330 or the constant is positive.
15332 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
15334 * configure.in: Fix typo in rs6000-ibm-aix4 case.
15335 * configure: Regenerate.
15337 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
15339 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
15340 require a sub-version #.
15341 * configure: Rebuilt.
15343 1999-06-14 Robert Lipe (robertlipe@usa.net)
15345 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
15347 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
15349 * c-typeck.c (process_init_element): Detect excess elements in
15350 char array initializer.
15352 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
15354 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
15356 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
15358 * invoke.texi (Option Summary): Add -fpermissive flag.
15360 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
15362 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
15363 that require PIC code sequences.
15365 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
15367 * configure.in: Add new target: thumb-elf.
15368 * configure: Regenerate.
15369 * config/arm/t-thumb-elf: New file: Makefile fragment for
15371 * config/arm/telf.h: New file: Header file for thumb-elf
15374 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
15376 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
15377 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
15378 initializers is some circumstances.
15380 * fixinc/inclhack.def (endif_label): Add additional selector for
15381 more bogus stuff after #endif statements.
15382 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15384 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
15386 * i386/cygwin.h (SET_ASM_OP): Define.
15388 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
15390 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
15392 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15394 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
15397 * sh.md (ic_invalidate_line_i): Remove second alternative.
15399 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15401 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
15402 test for the presence of valid prototypes. Delete bypass expr.
15403 (ioctl_fix_ctrl): Correct the selection expression.
15404 (no_double_slash): Correct quoting rules
15405 *fixinc/fixincl.x: regen
15406 *fixinc/inclhack.sh: regen
15408 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
15410 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
15412 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15414 * rs6000.md (movsi_got_internal_mem): Delete.
15415 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
15416 (GOT_TOC_REGNUM): Delete.
15417 (PIC_OFFSET_TABLE_REGNUM): Define.
15418 (FINALIZE_PIC): Disable.
15419 * rs6000.c (rs6000_got_register): New code for fixed pic register.
15420 (rs6000_replace_regno): Delete.
15421 (rs6000_finalize_pic): Likewise.
15422 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
15424 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15426 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
15427 is a note; use <= for the compare; advance P while it is
15430 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
15432 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
15433 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
15435 * varasm.c (remove_from_pending_weak_list): Verify t->name
15436 is non-NULL before passing it to strcmp.
15438 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15440 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
15441 the typed arguments are not part of a comment
15442 (ioctl_fix_ctrl): Added a purpose comment
15443 *fixinc/fixincl.x: regenerate
15444 *fixinc/inclhack.sh: regenerate
15446 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15448 * invoke.texi: Add C4x invocation docs.
15450 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15452 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
15454 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
15456 (c4x_legitimize_reload_address): New function.
15457 * config/c4x/c4x.md: Update docs.
15459 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
15461 * fixincludes: Avoid removing '.'.
15462 * fixinc/fixinc.svr4: Likewise.
15463 * fixinc/fixinc.winnt: Likewise.
15464 * fixinc/inclhack.tpl: Likewise.
15465 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
15467 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15469 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
15471 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
15473 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
15475 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
15478 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
15480 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
15481 * configure: Regenerate.
15483 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
15485 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
15488 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
15490 * fixinc/inclhack.def (avoid_bool): Also catch
15491 "typedef [unsigned] int bool".
15492 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15494 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
15495 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
15496 * configure: Rebuilt.
15498 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
15500 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
15501 such that we can override its definitions if necessary.
15502 (CPP_SPEC): New define. Support processor specific predefines via
15504 (CC1_SPEC): New define. Support processor specific compiler
15505 options via %(cc1_cpu).
15506 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
15509 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15511 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
15512 between sed's -e flag, and the open-quote following it.
15513 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15515 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
15516 Jeffrey A Law (law@cygnus.com)
15518 * varasm.c (assemble_start_function): Remove the function
15519 from the pending weak decls list when we define a function.
15520 (assemble_variable): Similarly for variables.
15521 (weak_finish): Ignore items on the list with a NULL name.
15522 (remove_from_ending_weak_list); New function to "remove" an item
15523 from the pending weak declarations list.
15525 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
15527 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
15529 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
15531 * c-lex.c (GETC): Redefine to call getch.
15532 (UNGETC): Redefine to call put_back.
15533 (putback_buffer): New structure type.
15534 (putback): New static structure.
15535 (getch): New function.
15536 (put_back): New function.
15537 (yylex): Replace unused bytes from bad multibyte character.
15539 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
15541 * cpplib.c (do_define): Cast `alloca' return value.
15542 (do_include, do_undef, do_pragma): Likewise.
15543 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
15545 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
15546 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
15548 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
15550 * sparc.md (abstf2): This should be an expand.
15551 (split after abstf2_notv9): Fix mode.
15552 (abstf2_hq_v9): New pattern.
15553 (abstf2_v9): Only use when no hard quad.
15554 (absdf2_v9): Fix if target is not the same as source.
15555 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
15556 Add correct output constraints.
15558 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
15560 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
15561 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
15563 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
15565 * mips.h (mips_output_conditional_branch): New function.
15566 (mips_adjust_insn_length): Likewise.
15567 (ASSEMBLER_SCRATCH_REGNUM): New macro.
15568 (ADJUST_INSN_LENGTH): Likewise.
15569 * mips.c (print_operand): Add `F' and `W' for floating-point
15570 comparison opcodes.
15571 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
15573 (mips_adjust_insn_length): New function.
15574 (mips_output_conditional_branch): New function.
15575 * mips.md (length): Adjust attribute definition to handle
15576 conditional branches. Change lengths to bytes, rather than
15577 instructions throughout. Remove length attribute from
15578 instructions whose length is four bytes, and rely on the default
15580 (dslot): Fix typo in comment.
15581 Reword conditional branch patterns to use
15582 mips_output_conditional_branch.
15584 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15586 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
15587 (LIB_SPEC): Likewise.
15588 Link with -lprof1_r for -g/-pg.
15590 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
15592 * loop.c (check_dbra_loop): Fix change of Jan 19.
15594 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
15596 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
15597 (STARTFILE_SPEC): Define, override the svr4.h version.
15598 (ENDFILE_SPEC): Likewise.
15600 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
15602 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
15603 * fixinc/fixincl.x: Regenerated.
15604 * fixinc/inclhack.sh: Regenerated.
15606 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15608 * sh.c (barrier_align): Don't return early for normal branch/barrier
15609 when optimizing for SH2.
15611 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
15613 * i386/udk.h (LINK_SPEC): Correct linker search path for
15616 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15618 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
15619 (braf_label_ref_operand): Delete.
15620 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
15621 * sh.md (casesi_jump_2): Operand1 is now the inside of a
15622 label_ref, and has no predicate.
15623 The patten has a predicate to guard against invalid substitutions.
15624 (dummy_jump): Delete.
15625 (casesi): Update use of casesi_jump_2.
15627 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15629 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
15630 *fixinc/fixincl.x: regenerate
15631 *fixinc/inclhack.sh: regenerate
15633 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
15635 * dwarf2out.c (add_incomplete_type): New fn.
15636 (gen_struct_or_union_type_die): Call it.
15637 (retry_incomplete_types): New fn.
15638 (dwarf2out_finish): Call it.
15640 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
15642 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
15643 current block starts with a CODE_LABEL and ends with a CALL and
15644 we can not find all the argument setup instructions for the CALL.
15646 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
15648 Revert this change:
15649 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15650 something is a candidate for optimize_bit_field_compare.
15652 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15654 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
15656 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
15658 * alpha.c (override_options): Thinko in last patch.
15660 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
15661 (LIB_SPEC): Recognize -pthread.
15663 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
15665 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
15666 definition in config/arm/coff.h
15667 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
15669 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15671 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
15672 fixes that need "file=xxx\n" prepended before invocation
15673 (start_fixer - new): starting the fixer process is complex enough
15674 to warrent its own routine. It prepends the "file=xxx\n" stuff.
15675 (process): uses the new routine; omit usage of putenv()
15676 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
15677 * fixinc/fixincl.x: regenerate
15679 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
15681 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
15682 and version #s (1.1 -> 2.96) as needed.
15683 * README.g77: Kill way out of date file in the toplevel directory.
15685 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
15687 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
15688 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
15689 * configure: Rebuilt.
15690 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
15691 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
15692 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
15693 (SWITCH_TAKES_ARG): Likewise.
15694 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
15695 * config/t-freebsd: Moved from config/i386/ so it can used for all
15698 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
15700 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
15702 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
15704 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
15705 * configure: Rebuilt.
15707 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
15709 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
15710 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
15711 * rs6000/rs6000.c (rs6000_file_start): Use putc.
15712 (rs6000_output_load_toc_table): Same.
15713 (output_prolog, output_mi_thunk): Same.
15714 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
15715 (ASM_GLOBALIZE_LABEL): Use putc.
15717 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
15719 * alpha.md (reload_*_help): New patterns and splitters.
15720 (reload_*): Use them.
15721 (mov[qh]i): Likewise.
15723 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
15725 * cccp.c (handle_directive): Handle backslash-newlines in quoted
15728 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
15730 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
15732 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
15734 * flow.c (mark_regs_live_at_end, insn_dead_p,
15735 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
15736 and HARD_FRAME_POINTER_REGNUM special treatment if reload
15737 hasn't run or the frame pointer is needed.
15738 * haifa-sched.c (attach_deaths): Likewise.
15739 * sched.c (attach_deaths): Likewise.
15741 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
15743 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
15744 calculate_can_reach_end returns nonzero.
15746 * configure.in (native gas tests): Search for an assembler in the
15747 same manner that the installed compiler will.
15748 * configure: Rebuilt.
15749 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
15751 * alias.c (find_base_term): Improve handling of addresses
15752 constructed from binary operations.
15754 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
15756 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
15758 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
15760 * function.h (cleanup_label, frame_offset): Declare.
15761 (tail_recursion_label, tail_recursion_reentry): Likewise.
15762 (arg_pointer_save_area, rtl_expr_chain): Likewise.
15763 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
15764 (tail_recursion_label, tail_recursion_reentry): Likewise.
15765 (arg_pointer_save_area, rtl_expr_chain): Likewise.
15767 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
15769 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
15771 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
15772 (MAX_OFILE_ALIGNMENT): Define.
15774 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
15776 * fixincl.c: Replace local include scheme with #includes of
15777 gansidecl.h and system.h.
15778 * procopen.c: Likewise.
15779 * server.c: Likewise.
15781 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
15783 * i386/t-dgux (EXTRA_PARTS): Add crti.o
15784 (crti.o): Add build rule and dependencies.
15785 * fixinc/fixinc.dgux: Use modified _int_varargs.h
15787 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15789 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
15790 (LIB_LINUX_SPEC): Likewise.
15791 (LIB_LINUX_SPEC): Add support for -pthread
15792 (CPP_OS_LINUX_SPEC): Likewise.
15793 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
15796 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
15798 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
15800 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
15801 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
15802 for IEEE math and CC_FCOMI.
15803 (put_jump_code): No IEEE if CC_FCOMI is set.
15805 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
15807 * fold-const.c (fold_truthop): Make the field reference unsigned
15808 when converting a single bit compare.
15810 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15812 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
15814 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
15816 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
15817 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
15820 * reload.c (push_reload): Do not call remove_address_replacements
15821 when presented with identical optional reloads.
15823 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
15825 * alpha.h (MASK_FIX, TARGET_FIX): New.
15826 (MASK_*): Reorganize constants.
15827 (CPP_AM_FIX_SPEC): New.
15828 (TARGET_SWITCHES): Add FIX.
15829 (EXTRA_SPECS): Likewise.
15830 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
15831 (SECONDARY_MEMORY_NEEDED): Likewise.
15832 (REGISTER_MOVE_COST): Likewise.
15833 * alpha.c (override_options): Add FIX support. Always use
15834 ALPHA_TP_PROG for ev6.
15835 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
15836 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
15837 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
15839 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
15841 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15842 something is a candidate for optimize_bit_field_compare.
15844 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
15846 * gcc.texi (Passes): Document branch-shortening.
15847 * invoke.texi (Debugging Options): Document the fact that `-dp'
15848 outputs length information for instructions.
15850 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
15852 * flow.c: Revert previous delta.
15854 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
15856 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
15857 FRAME_POINTER_REGNUM.
15858 (mark_set_1): Ditto.
15859 (mark_used_regs): Ditto.
15861 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
15863 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
15864 (GOT_PCREL): New macro. Define to 1 if not already defined.
15865 * arm/elf.h (GOT_PCREL): Define to 0.
15866 * arm.c (arm_finalize_pic): Take into account the setting of
15869 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
15871 * output.h (STRIP_NAME_ENCODING): Provide default definition.
15872 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
15874 * flow.c (mark_set_1): Do not record BLKmode stores as dead
15875 store elimination candidates.
15877 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
15879 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
15882 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
15884 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
15885 Add use of x-aix41-gld.
15887 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
15889 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
15890 (ASM_OUTPUT_DESTRUCTOR): Define.
15892 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
15894 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
15895 last CODE_LABEL in a loop if we have previously passed a jump
15896 to the top of the loop.
15898 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
15900 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
15901 applying Philip's patch.
15903 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
15905 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
15908 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
15910 * loop.c (strength_reduce): Grow reg_single_usage as needed.
15912 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
15914 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
15915 Also remove a useless comment.
15917 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
15919 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
15921 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
15923 * collect2.c (main): Only generate import or export file and add
15924 to link arguments if non-empty. Use xmalloc not alloca.
15925 (write_{export,import}_file): Delete.
15926 (write_aix_file): New function.
15927 (locatelib): Use xmalloc not malloc.
15928 (GCC_OK_SYMBOL): Do not check type if aix64.
15930 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
15932 Based on patch by Scott Bambrough and Pat Beirne:
15933 * config/arm/arm.c (making_const_table): New variable.
15934 * config/arm/arm.h (making_const_table): Declare.
15935 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
15937 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
15938 Keep track of when we are building the constant table.
15940 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
15942 * config/arm/arm.c (arm_override_options): Fix erroneous warning
15945 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
15947 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
15950 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
15952 * tm.texi (FUNCTION_ARG): Correct description of a stack element
15955 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
15957 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
15959 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15961 * rs6000.c (output_mi_thunk): Enable full support again.
15963 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15965 * sh.h (BRANCH_COST): Define.
15967 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
15969 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
15971 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
15973 * function.c (assign_stack_local): Align stack slot propertly.
15974 (assign_outer_stack_local): Likewise.
15976 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
15978 * expr.h (lang_expand_constant): Declare.
15979 * toplev.c (lang_expand_constant): Define it.
15980 * varasm.c (output_constant): Use it.
15982 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15984 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
15985 Change function definitions to K&R style.
15987 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15989 * fixinc/fixincl.c: We must not ignore SIGCLD now.
15991 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
15993 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
15994 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
15995 (several places): omit static initialization
15996 (process): use single fd, since only the read fd is used
15997 * fixinc/gnu-regex.c: define 'const' away, if not supported
15998 * fixinc/procopen.c(several places): omit static initialization
15999 * fixinc/server.c: define 'volitile' away, if not supported
16001 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16003 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
16004 asm_fprintf and %L to generate the label name.
16005 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
16006 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
16008 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
16010 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
16011 insn for a conditional jump can not be found.
16013 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
16015 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
16016 on variables in specific sections other than .sbss and .sdata.
16018 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
16020 * stmt.c (expand_return): Call start_cleanup_deferral and
16021 end_cleanup_deferral around conditional code.
16023 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16025 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
16026 filename lists. Utilizes new "krstr" AutoGen function.
16027 * fixinc/fixincl.x: Rebuilt.
16029 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
16031 * i386.c (output_float_compare): Avoid GNU-C extensions.
16033 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
16035 * version.c: Bump to distinguish mainline tree from the
16038 See ChangeLog.1 for earlier changes.