1 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3 * sh.c (prepare_scc_operands): Abort if no compare insn is available.
4 (find_barrier, gen_block_redirect, split_branches): Fix indentation.
5 (calc_live_regs): Likewise.
7 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9 * sh.md (fpu_single, fp_mode): New attributes.
11 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13 * loop.c (current_loop_info): Renamed from loop_info_data
14 and changed to a pointer.
15 (loop_optimize): Allocate loop_info structure for each loop
16 and initialise to zero.
17 (scan_loop): Set current_loop_info.
19 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
22 2000-01-19 Richard Henderson <rth@cygnus.com>
24 * stupid.c: Die die die.
25 * Makefile.in (OBJS): Remove stupid.o.
28 * except.c (emit_eh_context): Don't emit USEs for stupid.
29 * explow.c (probe_stack_range): Likewise.
30 * flags.h (obey_regdecls): Remove.
31 * flow.c (find_basic_blocks): Don't run try_merge_blocks
33 (life_analysis): Limit data collection when not optimizing.
34 (mark_regs_live_at_end): Always mark the return value registers.
35 (mark_used_regs): Remove dummy RETURN case.
36 (print_rtl_with_bb): Don't consult obey_regdecls.
37 * function.c (use_variable, use_variable_after): Remove.
38 (assign_parms): Consult optimize not obey_regdecls.
39 (expand_function_start): Don't emit USEs for stupid.
40 (expand_function_end): Likewise.
41 * global.c (build_insn_chain): Export.
42 * integrate.c (expand_inline_function): Kill return-value USE
44 * jump.c (jump_optimize_1): Do simple jump optimizations and
45 dead code elimination.
46 (calculate_can_reach_end): Remove check_deleted argument.
47 (delete_insn): Patch out insns even when not optimizing.
48 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
49 * rtl.h (use_variable, use_variable_after): Remove declarations.
50 (build_insn_chain): Declare.
51 * stmt.c (expand_value_return): Don't emit USEs for stupid.
52 (expand_end_bindings): Likewise.
53 (expand_decl): Likewise. Consult optimize not obey_regdecls.
54 * toplev.c (obey_regdecls): Remove.
55 (rest_of_compilation): Don't set it. Kill stupid in favour of
56 flow1, local-alloc, and reload.
57 (main): Don't set obey_regdecls.
59 * config/nextstep.c (handle_pragma): Likewise.
61 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
63 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
65 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
67 * alpha-protos.h: PROTO -> PARAMS.
71 * i386-protos.h: Likewise.
73 * m32r-protos.h: Likewise.
77 * gmon-sol2.c: Likewise.
80 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
82 * ns32k-protos.h: New file.
84 * ns32k.c: Fix compile time warnings.
86 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
91 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
93 * vax-protos.h: New file.
95 * vax.c: Fix compile time warnings.
97 * vax.h: Move prototypes to vax-protos.h. Fix compile time
104 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
106 * romp-protos.h: New file.
108 * romp.c: Fix compile time warnings.
110 * romp.h: Move prototypes to romp-protos.h. Fix compile time
115 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
117 * we32k-protos.h: New file.
119 * we32k.c: Fix compile time warnings.
121 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
124 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
126 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
128 * except.c (eh_regs): Likewise.
130 * final.c (output_operand): Likewise.
132 * fold-const.c (target_isinf, target_isnan): Likewise.
134 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
136 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
137 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
139 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
142 (strsethi, strsetqi): New expanders.
143 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
144 (cmpstrsi): Emit compare insn before cmpstrsi_1
145 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
146 (strlensi_1): Likewise.
147 (cmpstrsi_1): Likewise; do not output compare.
148 (strlen expander): Do not unroll when optimizing for size.
149 (*subsi3_carry): Rename to subsi3_carry
150 (addqi3_cc): New pattern.
151 * i386.h (processor_costs): Add move_ratio field.
152 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
153 * i386.c (*_cost): Set move_ratio.
154 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
155 (x86_expand_strlensi_1): Rewrite the main loop.
157 2000-01-17 Richard Henderson <rth@cygnus.com>
159 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
160 * cse.c (find_comparison_args, fold_rtx): Likewise.
161 * integrate.c (subst_constants): Likewise.
162 * loop.c (get_condition): Likewise.
164 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
166 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
168 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
170 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
171 (RESTORE_WARN_FLAGS): Unpack it.
172 Change semantic type of extension to ttype.
173 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
174 * c-parse.y, c-parse.c, objc/objc-parse.y,
175 objc/objc-parse.c: Regenerate.
177 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
179 * fixinc/fixlib.c: Add copyright notice.
180 (compile_re): New function.
181 * fixinc/fixlib.h: Prototype compile_re.
183 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
184 Use compile_re to compile regular expressions.
186 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
187 where the pattern matched.
189 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
191 (ultrix_ansi_compat): Likewise.
192 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
194 (interactv_add2, interactv_add3): Delete.
195 (x11_sprintf): Don't use filename glob.
196 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
199 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
201 * print-rtl.c: PROTO -> PARAMS.
203 * reg-stack.c: Likewise.
204 * resource.c: Likewise.
205 * sdbout.h: Likewise.
206 * simplify-rtx.c: Likewise.
207 * stor-layout.c: Likewise.
208 * stupid.c: Likewise.
209 * xcoffout.c: Likewise.
210 * xcoffout.h: Likewise.
212 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
214 * toplev.c: PROTO -> PARAMS.
215 * toplev.h: Likewise.
218 * unroll.c: Likewise.
219 * varasm.c: Likewise.
220 * varray.c: Likewise.
221 * varray.h: Likewise.
223 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
225 * reload.c: PROTO -> PARAMS.
226 * reload.h: Likewise.
227 * reload1.c: Likewise.
229 * resource.h: Likewise.
232 * rtlanal.c: Likewise.
233 * sbitmap.h: Likewise.
234 * sdbout.c: Likewise.
237 * system.h: Likewise.
239 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
241 * machmode.h: PROTO -> PARAMS.
242 * mbchar.h: Likewise.
243 * mips-tdump.c: Likewise.
244 * mips-tfile.c: Likewise.
245 * optabs.c: Likewise.
246 * output.h: Likewise.
247 * prefix.c: Likewise.
248 * profile.c: Likewise.
249 * protoize.c: Likewise.
253 * regclass.c: Likewise.
254 * regmove.c: Likewise.
257 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
259 * ggc-common.c: PROTO -> PARAMS.
260 * ggc-page.c: Likewise.
261 * ggc-simple.c: Likewise.
263 * global.c: Likewise.
265 * gthr-win32.h: Likewise.
266 * haifa-sched.c: Likewise.
267 * halfpic.h: Likewise.
268 * integrate.c: Likewise.
269 * integrate.h: Likewise.
272 * local-alloc.c: Likewise.
276 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
278 * genattr.c: PROTO -> PARAMS.
279 * genattrtab.c: Likewise.
280 * gencheck.c: Likewise.
281 * gencodes.c: Likewise.
282 * genconfig.c: Likewise.
283 * genemit.c: Likewise.
284 * genextract.c: Likewise.
285 * genflags.c: Likewise.
286 * gengenrtl.c: Likewise.
287 * genopinit.c: Likewise.
288 * genoutput.c: Likewise.
289 * genpeep.c: Likewise.
290 * genrecog.c: Likewise.
292 2000-01-16 Mark Mitchell <mark@codesourcery.com>
294 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
296 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
298 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
299 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
300 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
301 * configure, config.in: Rebuilt.
303 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
305 * config/i386/i386.md: Add peephole to merge successive stack
308 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
310 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
311 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
312 when walking backwards to find all the parameter loads when
313 the basic block ends in a call.
315 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
317 * loop.c (this_loop_info): Delete.
318 (uid_loop): Add in place of uid_loop_num. All uses updated.
319 (loop_number_exit_count): Delete and replace with entry in loop
320 structure. All uses updated.
321 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
322 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
323 (loop_outer_loop): Likewise.
324 (loop_invalid, loop_number_exit_labels): Likewise.
325 (loop_used_count_register): Delete and replace with entry in
327 (find_and_verify_loops): Add loops argument.
328 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
329 loop_end, etc. arguments with loop structure pointer. All callers
331 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
332 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
333 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
334 (insert_bct): Likewise.
335 (basic_induction_var): New argument level.
336 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
337 vtop, and cont. Add used_count_register.
338 (uid_loop): Delete declaration.
339 (loop_number_exit_count): Likewise.
340 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
341 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
342 (loop_outer_loop, loop_used_count_register): Likewise.
343 (loop_invalid, loop_number_exit_labels): Likewise.
344 (unroll_loop): Replace loop_start and loop_end arguments
345 with loop structure pointer.
346 (loop_precondition_p, loop_iterations): Likewise.
347 Include basic-block.h.
348 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
349 with loop structure pointer.
350 (loop_precondition_p, loop_iterations): Likewise.
351 * basic-block.h (struct loop): New entries vtop, cont,
352 cont_dominator, start, end, top, scan_start, exit_labels,
354 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
356 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
358 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
360 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
362 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
364 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
366 * pdp11-protos.h: New file.
368 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
371 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
374 * pdp11.md: Likewise.
378 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
380 * mn10300-protos.h: New file.
382 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
385 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
388 * mn10300.md: Likewise.
390 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
392 * mn10200-protos.h: New file.
394 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
397 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
400 * mn10200.md: Likewise.
402 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
404 * h8300-protos.h: New file.
406 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
409 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
412 * h8300.md: Likewise.
414 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
416 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
417 (asm_emit_uninitialised): Likewise.
419 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
421 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
422 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
424 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
426 * config/mips/mips.c (override_options): Don't turn on extra
427 alignment for mips16.
429 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
431 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
432 eabi, and make sure queued POSTINCREMENT rtl is emitted at
435 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
437 * builtins.c (PAD_VARARGS_DOWN): Define.
438 (std_expand_builtin_va_arg): Use the above macro.
439 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
440 * tm.texi (Register Arguments): Document the above macro.
442 2000-01-14 Nick Clifton <nickc@cygnus.com>
444 * emit-rtl.c (emit_insn): If checking is enabled, make sure
445 that this function has not been used to emit a jump
448 * jump.c (return_jump_1): Cope with being passed a null rtx.
450 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
452 * eh-common.h: PROTO -> PARAMS.
453 * emit-rtl.c: Likewise.
454 * errors.c: Likewise.
455 * errors.h: Likewise.
456 * except.c: Likewise.
457 * except.h: Likewise.
458 * explow.c: Likewise.
459 * expmed.c: Likewise.
463 * fix-header.c: Likewise.
465 * fold-const.c: Likewise.
466 * function.c: Likewise.
467 * function.h: Likewise.
469 * gcov-io.h: Likewise.
473 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
475 * sh-protos.h: New file.
477 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
478 Add static prototypes. Fix compile time warnings.
480 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
484 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
486 * arc-protos.h: New file.
488 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
491 * arc.h: Move prototypes to arc-protos.h. Fix compile time
496 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
498 * dsp16xx-protos.h: New file.
500 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
503 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
506 * dsp16xx.md: Likewise.
508 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
510 * convex-protos.h: New file.
512 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
515 * convex.h: Move prototypes to convex-protos.h. Fix compile time
518 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
520 * elxsi-protos.h: New file.
522 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
525 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
528 * elxsi.md: Likewise.
530 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
532 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
533 case for moving from HI/LO/HI_LO_REG. This makes the behavior
534 match the comment for MIPS16.
536 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
538 * flow.c (split_edge): Do not call set_block_for_insn if we
539 do not have a basic_block_for_insn structure.
541 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
542 and destination functions are 32bit aligned within the trampoline.
543 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
544 (TRAMPOLINE_ALIGNMENT): Define.
546 * cse.c (cse_insn): When changing (set (pc) (reg)) to
547 (set (pc) (label_ref)), verify the change creates a valid insn.
549 * fr30.c (call_operand): Tighten and rework to match rules for
550 call RTL expressions.
551 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
552 * fr30.md (call patterns): Improve constraints.
554 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
556 * fr30.c (fr30_expand_epilogue): Revert last change.
557 Use emit_jump_insn for the return insn.
559 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
560 Stan Cox <scox@cygnus.com>
562 * predict.c: New file. Preliminary infrastructure work for static
563 branch prediction and basic block reordering.
564 * basic-block.h: Add prototype for estimate_probability.
565 * Makefile.in: Add rules for predict.o.
567 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
569 * fixincludes (va_list): Use __not_va_list__ for the dummy.
570 * fixinc/*: Likewise.
572 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
574 * cccp.c: PROTO -> PARAMS.
576 * collect2.c: Likewise.
577 * combine.c: Likewise.
578 * convert.h: Likewise.
580 * dbxout.c: Likewise.
581 * dbxout.h: Likewise.
582 * diagnostic.c: Likewise.
583 * doprint.c: Likewise.
584 * dwarf2out.c: Likewise.
585 * dwarf2out.h: Likewise.
586 * dwarfout.c: Likewise.
587 * dwarfout.h: Likewise.
588 * dyn-string.h: Likewise.
590 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
592 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
593 macro conditionals guarding use.
595 * dwarf2out.c: Include "tm_p.h".
597 * function.c (locate_and_pad_parm): Mark parameter with
599 (expand_function_end): Likewise for variable `context'.
601 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
603 2000-01-13 Nick Clifton <nickc@cygnus.com>
605 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
606 register to prevent compile time warnings.
608 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
610 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
611 to avoid -Wtraditional warning.
613 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
615 * 1750a-protos.h: New file.
617 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
620 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
623 * 1750a.md: Likewise.
625 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
627 * a29k-protos.h: New file.
629 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
632 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
635 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
637 * clipper-protos.h: New file.
639 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
642 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
645 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
647 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
649 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
651 * configure.in (--enable-new-gxx-abi): New option.
652 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
653 * Makefile.in (GXX_ABI_FLAG): New variable.
654 * configure: Regenerate.
656 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
658 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
659 * tm.texi (FORCE_STRUCT_BLK): Document.
660 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
662 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
664 * config/ns32k/ns32k.md: Revert Jan 9 change.
666 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
667 to a mode-test, if the predicate is address_operand.
669 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
671 * combine.c (if_then_else_cond): Be careful about what kinds
672 of RTL expressions are passed to operand_subword.
674 * flow.c (split_edge): If we have to insert a new jump, make
675 sure to associate it with a basic block.
677 * flow.c (commit_one_edge_insertion): A block with one successor
678 can end in a JUMP_INSN that is not a simplejump.
680 2000-01-12 Robert Lipe <robertl@sco.com>
682 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
683 (BUILD_VA_LIST_TYPE): Define.
684 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
687 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
689 * cccp.c (do_pragma): Add cast to (char *).
691 2000-01-12 Richard Henderson <rth@cygnus.com>
692 Fred Fish <fnf@be.com>
693 Jason Merrill <jason@cygnus.com>
695 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
696 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
697 * i386/beos-elf.h, i386/beos-pe.h: New files.
699 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
700 * cross-make (SYSTEM_HEADER_DIR): Define using
701 CROSS_SYSTEM_HEADER_DIR.
703 * gcc.c (LIBRARY_PATH_ENV): Provide default.
704 (process_command): Use it.
705 (main): Likewise. Kill trailing = from env vars.
706 (build_search_list): Put it back.
707 * collect2.c (main): Use LIBRARY_PATH_ENV.
709 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
710 * toplev.c: Use NEED_DECLARATION_ENVIRON.
712 * tm.texi (Frame Layout): Document SMALL_STACK.
713 * c-common.c (c_common_nodes_and_builtins): Check it.
715 * system.h: Undef alloca after including glibc's <stdlib.h>,
716 if USE_C_ALLOCA is defined.
718 * gcc.c (set_input): New fn.
719 (main): After all input files are compiled, reset the input file
722 * aclocal.m4 (rindex, index): If already defined, don't attempt
725 * ginclude/varargs.h: (__va_list__): Define ifndef.
726 * ginclude/stdarg.h: Likewise.
728 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
729 instead of unsigned char.
731 * hash.h (true, false, boolean): Undef before enum.
733 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
734 proper type of "HOST_WIDE_INT *", rather than their natural type of
735 "unsigned HOST_WIDE_INT *".
737 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
739 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
741 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
743 * regclass.c (choose_hard_reg_mode): Likewise.
745 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
747 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
749 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
751 * c-common.c: PROTO -> PARAMS.
752 * c-common.h: Likewise.
753 * c-decl.c: Likewise.
754 * c-iterate.c: Likewise.
755 * c-lang.c: Likewise.
758 * c-parse.in: Likewise.
759 * c-pragma.c: Likewise.
760 * c-pragma.h: Likewise.
761 * c-tree.h: Likewise.
762 * c-typeck.c: Likewise.
763 * objc/objc-act.c: Likewise.
764 * objc/objc-act.h: Likewise.
766 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
768 * m88k-protos.h: New file.
770 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
773 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
777 * tekXD88.h: Likewise.
779 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
781 * m68k-protos.h: New file.
783 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
786 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
788 * mot3300.h: Likewise.
790 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
792 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
794 (extract_bitlist): Declare bitlen.
796 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
798 * cccp.c: Accept and ignore -lang-fortran.
800 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
801 qualifiers don't match at any level of pointerness.
803 2000-01-12 Robert Lipe <robertl@sco.com>
805 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
807 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
809 * reload1.c (reload_reg_unavailable): New static variable.
810 (reload_reg_free_p): Test it.
811 (reload_reg_free_for_value_p): Test it instead of
813 (choose_reload_regs_init): Compute it.
815 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
817 * reorg.c (fill_slots_from_thread): Check modified_in_p
820 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
822 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
823 these nodes even if INTERNALS is not set.
825 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
827 * gcse.c (delete_null_pointer_checks_1): Cope when
828 get_condition cannot determine the condition.
830 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
832 * toplev.h (set_message_length): Declare.
834 * diagnostic.c (obstack_chunk_alloc): Define macro.
835 (obstack_chunk_free): Likewise.
836 (struct output_buffer): New data structure.
838 (output_maximum_width): New variable.
839 (doing_line_wrapping, set_message_length, init_output_buffer,
840 get_output_prefix, output_space_left, emit_output_prefix,
841 output_newline, output_append, output_puts, dump_output,
842 vbuild_message_string, build_message_string, build_location_prefix,
843 voutput_notice, output_printf, line_wrapper_printf,
844 vline_wrapper_message_with_location): New functions. Implement
845 automatic line wrapping.
846 (v_message_with_decl): Make it handle automatic line wrapping.
847 (v_error_with_file_and_line): Likewise.
848 (v_warning_with_file_and_line): Likewise.
849 (announce_function): Likewise.
850 (default_print_error_function): Likewise.
852 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
854 * cpplib.h (struct cpp_options): Change lang_asm to char.
856 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
857 done in cpp_handle_option now.
858 (initialize_builtins): Take out special case code used only by
860 (cpp_handle_option): Turn off trigraphs and trigraph warnings
861 if -traditional. Recognize -lang-fortran and set
862 lang_fortran, also turn off cplusplus_comments.
863 (print_help): Document -lang-fortran.
864 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
865 lang_asm. Ignore all directives other than `# 123 "file"' if
867 (cpp_get_token): If -traditional, don't recognize directives
868 unless the # is in column 1.
869 (parse_string): If lang_fortran or lang_asm, silently
870 terminate strings ('' or "") at end of line.
871 Remove unnecessary braces.
873 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
874 Richard Henderson <rth@cygnus.com>
876 * resource.c (mark_referenced_resources): Mark a set strict_low_part
878 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
879 strict_low_part when possible.
881 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
883 * alias.c: PROTO -> PARAMS.
884 * basic-block.h: Likewise.
885 * bitmap.c: Likewise.
886 * bitmap.h: Likewise.
887 * builtins.c: Likewise.
888 * c-aux-info.c: Likewise.
889 * caller-save.c: Likewise.
892 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
894 * Makefile.in (toplev.o): Depend on regs.h.
896 * output.h (tdesc_section): Prototype.
898 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
900 * sdbout.c: Include "tm_p.h".
902 * toplev.c: Include "regs.h".
904 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
906 * unroll.c (unroll_loop): Add EH support.
908 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
910 * pa-protos.h: New file.
912 * pa.c: Include recog.h and tm_p.h.
913 (compute_zdepwi_operands, compute_movstrsi_length,
914 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
915 find_addr_reg, import_milli): Add static prototypes.
916 (pa_cpu_string, pa_arch_string): Constify a char*.
917 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
918 (read_only_operand): Add argument `mode'.
919 (singlemove_string, output_move_double, output_fp_move_double,
920 output_block_move, output_and, output_ior, output_ascii,
921 remove_useless_addtr_insns, milli_names, output_mul_insn,
922 output_div_insn, output_mod_insn, output_arg_descriptor,
923 output_cbranch, output_bb, output_bvb, output_dbra, ,
924 output_millicode_call, output_call, hppa_encode_label,
925 output_parallel_movb, output_parallel_addb): Constify a char*.
926 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
927 (output_parallel_addb): Remove extra arg to `constrain_operands'
929 * pa.h: Move all prototypes to pa-protos.h.
930 (pa_cpu_string, pa_arch_string): Constify a char*.
931 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
933 * pa.md: Call `function_label_operand' with mode argument.
934 Likewise for `read_only_operand'.
935 Fix nesting of parens in call to `symbolic_operand'.
937 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
939 * i860-protos.h: New file.
941 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
944 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
948 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
950 * i386.md (movstrsi expander): Rewrite.
951 (movstrsi_1 insn): Deleted.
952 (strmovhi, strmovqi expander): New expanders.
953 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
954 * i386.c (x86_single_stringop): New global variable.
955 * i386.h (x86_single_stringop): Declare.
956 (TARGET_SINGLE_STRINGOP): New macro.
958 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
960 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
961 integer vararg POSTINCREMENT before the destination of the jump
962 for the hard fp case.
963 (function_arg_pass_by_reference): Pass a copy of CUM to
966 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
967 for CONSTANT_ADDRESS_P above while loop for subreg.
969 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
971 * flow.c (propagate_block): When a prologue/epilogue insn
972 is marked dead, unconditionally clear libcall_is_dead and
973 insn_is_dead, and only dump rtl if warnings aren't being
976 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
978 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
979 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
980 (FIXED_REGISTERS): Set dirflag as fixed.
981 (CALL_USED_REGISTERS): Set dirflag as used.
982 (REG_ALLOC_ORDER): Set dirflag as last one.
983 (DIRFLAG_REG): New macro.
984 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
985 (HI_REGISTER_NAMES): Add dirflag.
986 (DEBUF_PRINT_REG): Handle dirflag.
987 * i386.md (type attribute): New cld and str types.
988 (length_opcode attribute): Set cld and str to 1.
989 (memory attribute): Set str to unknown - it is not clear from the
991 (pent_np function unit): Prefixed string operations takes 12 cycles
992 minimally; cld takes 2 cycles.
993 (ppro_uops attribute): Str is "many" and cld is "few".
994 (ppro_p0 unit): Handle cld here.
995 (k6_alux unit): Handle cld and str types.
996 (k6_load unit): It is ocupied by str opcodes.
997 (k6_store unit): It is ocupied by str opcodes.
998 (athlon_decode): Str is vector decoded.
999 (athlon_ieu): Handle str and cld.
1001 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
1002 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
1003 cmpstrsi_nz_1 insn): Do not output cld instruction
1005 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
1007 * gcc.texi (G++ and GCC): Add Java and Chill.
1008 (Bug Critera): Don't list languages.
1010 * gcc.texi (Incompatibilities): No longer claim most C compilers
1013 * gcc.texi (G++ and GCC): Update other front-ends list.
1015 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
1017 * i386.c (ix86_expand_setcc): Fix typo.
1018 (ix86_expand_movcc): Similarly.
1020 * Band-aid until haifa's bitset implementation is nuked.
1021 * haifa-sched.c (extract_bitlst): New parameter for size of the
1022 bitset in bits. All callers changed. Avoid looking at undefined
1024 (edgeset_bitsize): New variable.
1025 (schedule_region): Initialize edgeset_bitsize.
1027 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1029 * Makefile.in (optabs.o): Depend on real.h
1030 (resource.o): Depend on insn-attr.h
1032 * builtins.c (result_vector): Wrap prototype in macro conditions
1033 governing definition and use.
1035 * c-common.c: Include tm_p.h.
1037 * c-lex.c: Likewise.
1039 * elfos.h: Constify a char*.
1041 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
1042 (get_attr_length, shorten_branches, profile_after_prologue): Mark
1043 parameter with ATTRIBUTE_UNUSED.
1045 * fold-const.c (exact_real_inverse): Wrap variable `i' in
1048 * haifa-sched.c (schedule_insns): Mark parameter with
1051 * optabs.c: Include real.h.
1053 * real.h (ereal_atof): Add prototype arguments.
1055 * resource.c: Include insn-attr.h.
1057 * sdbout.c (sdbout_queue_anonymous_type,
1058 sdbout_dequeue_anonymous_types): Wrap in macro
1059 SDB_ALLOW_FORWARD_REFERENCES.
1060 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
1063 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
1065 * stupid.c: Include tm_p.h.
1067 * tree.c (real_value_from_int_cst): Mark parameter with
1070 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1072 * i960-protos.h: New file.
1074 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
1077 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
1079 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1081 * combine.c (expand_field_assignment): Do not discard SUBREGs
1082 while computing nonzero_bits.
1084 2000-01-09 Nick Clifton <nickc@cygnus.com>
1086 * config/arm/arm.c: Fix compile time warnings about signed vs
1088 * config/arm/arm.h: Fix compile time warnings about signed vs
1091 2000-01-09 Philip Blundell <philb@gnu.org>
1093 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
1094 than `ldm' with only one register.
1095 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
1098 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
1101 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
1103 * config/ns32k/ns32k.md (load or push effective address): Operand 1
1106 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1108 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1109 assignment used as truth value.
1111 * function.c (assign_temp): Mark parameter `dont_promote' with
1112 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
1113 PROMOTE_FOR_CALL_ONLY.
1115 * genrecog.c (write_subroutine): Mark variable `operands' with
1118 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
1121 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
1122 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
1124 * toplev.c (note_deferral_of_defined_inline_function): Likewise
1127 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1129 * config/c4x.h: Tidy up comments.
1130 * config/c4x.c: Likewise.
1132 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
1134 * fold-const.c (lshift_double, rshift_double): Handle
1135 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
1137 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1139 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
1140 in prepare_function_start().
1142 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
1144 * config/v850/v850.c (expand_epilogue): Interrupt functions no
1145 longer allocate extra stack for function calls.
1147 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1149 * config/c4x/c4x.md (*subqf3_set): Fix typo.
1151 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1153 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
1155 2000-01-07 David Edelsohn <edelsohn@gnu.org>
1157 * rs6000.c (processor_target_table): Add power3 as alias for 630.
1158 * aix43.h: Revert Aug 2 change.
1159 (HAS_INIT_SECTION): Define, not visible yet.
1160 (LD_INIT_SWITCH): Define, not visible yet.
1161 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
1163 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
1165 * collect2.c (main): Expand ld2 size further.
1166 (export_object_lst): Cast assignment to avoid warning.
1167 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
1168 (scan_prog_file, COFF): Do not collect initialization or
1169 finalization functions generated for entire shared object if
1170 init/fini support present.
1172 2000-01-07 Nick Clifton <nickc@cygnus.com>
1174 * config/elfos.h: Tidy up formatting of marcos. Make sure
1175 that .section directives are always prefixed by a tab.
1177 * config/svr4.h: Add #include "elfos.h" and remove duplicate
1180 2000-01-07 Matt Austern <austern@sgi.com>
1182 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
1185 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
1187 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
1189 (crtbegin.o, s-crtS): Likewise.
1191 2000-01-06 Richard Henderson <rth@cygnus.com>
1193 * alpha.md (adddi_2+1): Limit offset such that it will be
1194 loadable with a single ldah+lda pair.
1195 (adddi_2+2): Explicitly fail split if we can't make it work.
1197 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
1199 * protoize.c: Conditionally include unistd.h.
1200 (IS_SAME_PATH_CHAR): New macro.
1201 (IS_SAME_PATH): New macro.
1202 (CPLUS_FILE_SUFFIX): New macro.
1203 (cplus_suffix): New static variable.
1204 (is_abspath): New static function.
1205 (in_system_include_dir): Handle DOS style pathnames.
1206 (file_could_be_converted): Likewise.
1207 (file_normally_convertible): Likewise.
1208 (directory_specified_p): Likewise.
1209 (file_excluded_p): Likewise.
1210 (abspath): Likewise.
1211 (shortpath): Likewise.
1212 (referenced_file_is_newer): Likewise.
1213 (save_def_or_dec): Likewise.
1214 (do_processing): Likewise.
1216 (edit_file): Likewise. Use rename instead of link.
1217 (rename_c_file): Likewise. Don't rename syscalls file.
1218 (munge_compile_params): Define null device for DOS based systems.
1219 (process_aux_info_file): Use binary mode if appliable.
1220 (edit_file): Likewise.
1221 * invoke.texi (Running Protoize): Document C++ suffixes used.
1223 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
1224 IS_DIR_SEPARATOR macros.
1225 * collect2.c: Likewise.
1226 * cppinit.c: Likewise.
1227 * dwarf2out.c: Likewise.
1230 * prefix.c: Likewise.
1232 * toplev.c: Likewise.
1233 * system.h: And move to here.
1235 * prefix.c (update_path): Fix typo in variable name.
1237 2000-01-06 Richard Henderson <rth@cygnus.com>
1239 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
1240 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
1241 (count_reg_sets_1, count_reg_references): Likewise.
1242 (flow_loops_level_compute): Start counting actual loop depth at 1.
1243 (flow_loops_find): Likewise.
1244 * local-alloc.c (update_equiv_regs): Likewise.
1245 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
1247 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1249 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
1250 FIRST_PSEUDO_REGISTER
1251 * dwarf2out.c: Don't include frame.h
1252 * dwarfout.c: Likewise
1253 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
1256 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
1258 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1261 * i386.c (movsf splitter): Fix typo in my last checkin.
1263 2000-01-05 Nick Clifton <nickc@cygnus.com>
1265 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
1266 own definition of this macro.
1267 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
1268 flag_data_sections or UNIQUE_SECTION_P are true.
1270 * tm.texi (UNIQUE_SECTION): Document that it can be called for
1271 unitialised data decls.
1273 * config/i386/winnt.c (i386_pe_unique_section): Cope with
1274 being called for uninitialised data.
1276 * config/i386/interix.c (i386_pe_unique_section): Cope with
1277 being called for uninitialised data.
1279 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
1280 for uninitialised data.
1282 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
1283 for uninitialised data.
1285 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
1286 for uninitialised data.
1288 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
1289 (UNIQUE_SECTION_P): Always generate a unique section if
1290 flag_data_sections is true.
1291 (UNIQUE_SECTION): Also generate unique sections for
1293 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
1294 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
1297 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1299 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
1302 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1304 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
1305 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
1306 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
1307 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
1308 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
1310 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
1312 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
1314 * c-decl.c (finish_enum): Simplify code to determine minimum and
1315 maximum values of the enum, and calculate the type. Remove check
1316 for FUNCTION_DECLs in the values list, which cannot happen. Replace
1317 the DECL_INITIAL of each enumeration constant with a copy converted
1318 to the enumeration type. When updating variant types, don't bother
1319 updating the type itself.
1321 * c-typeck.c (build_binary_op): Simplify conditional expressions
1322 when weeding out spurious signed-unsigned warnings. Add new
1323 spurious warning category: if the unsigned quantity is an enum
1324 and its maximum value fits in signed_type(result_type). Update
1326 (build_conditional_expr): Warn here if one alternative is signed
1327 and the other is unsigned.
1329 2000-01-05 Nick Clifton <nickc@cygnus.com>
1331 * config/fr30/fr30.h: Remove extraneous comments.
1333 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
1335 * reload1.c (choose_reload_regs): When disabling a reload, also
1336 set reload_spill_index to -1.
1338 2000-01-04 Joel Sherrill (joel@OARcorp.com>
1340 * configure.in (m68*-*-rtemscoff*): New target, formal name for
1342 (m68*-*-rtemself*): New target.
1343 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
1344 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
1345 (sparc*-*-rtemself*): New target.
1346 (sparc*-*-rtems*): Now elf not a.out.
1347 * config/i386/rtems.h: Include config/rtems.h.
1348 * config/i386/rtemself.h: Include config/rtems.h.
1349 * config/i960/rtems.h: Include config/rtems.h.
1350 * config/m68k/rtems.h: Include config/rtems.h.
1351 * config/m68k/rtemself.h: Include config/rtems.h.
1352 * config/mips/rtems64.h: Include config/rtems.h.
1353 * config/pa/rtems.h: Include config/rtems.h.
1354 * config/rs6000/rtems.h: Include config/rtems.h.
1355 * config/sh/rtems.h: Include config/rtems.h.
1356 * config/sh/rtemself.h: Include config/rtems.h.
1357 * config/sparc/rtems.h: Include config/rtems.h.
1358 * config/sparc/rtemself.h: Include config/rtems.h
1360 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
1362 * final.c (shorten_branches): Correctly compute length of
1363 asms without operands.
1365 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
1367 * configure.in: Add pj target.
1368 * configure: Regenerate.
1369 * config/pj: New directory.
1370 * config/pj/lib1funcs.S: New file.
1371 * config/pj/linux.h: New file.
1372 * config/pj/pj.c: New file.
1373 * config/pj/pj.md: New file.
1374 * config/pj/pjl.h: New file.
1375 * config/pj/t-pj: New file.
1376 * config/pj/xm-pj.h: New file
1378 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
1380 * toplev.c (rest_of_compilation): Run shorten-branches before
1383 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1385 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
1386 macros so that they're consistent with their names.
1387 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1388 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1390 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1392 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
1393 modified inadvertently.
1395 2000-01-04 Joel Sherrill <joel@OARcorp.com>
1397 * configure.in (v850*-*-rtems*): New target.
1398 * configure: Regenerate.
1399 * config/v850/rtems.h: New file.
1401 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1403 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
1404 (__gthread_key_create): Likewise.
1405 (__gthread_key_dtor): Likewise.
1406 (__gthread_once): Fix logic.
1407 (__gthread_key_delete): Cast away constness.
1409 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
1410 * invoke.texi: Document.
1411 * i386/mingw32.h (CPP_SPEC): Use.
1412 (LIBGCC_SPEC): Likewise.
1413 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
1415 2000-01-04 David Edelsohn <edelsohn@gnu.org>
1417 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
1418 (HANDLE_PRAGMA_PACK): Undefine.
1419 (SLOW_UNALIGNED_ACCESS): Define.
1421 2000-01-04 David Edelsohn <edelsohn@gnu.org>
1423 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1424 to default definition.
1425 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
1426 (store_fixed_bit_field): Call macro with word_mode and alignment.
1427 (extract_bit_field): Call macro with relevant mode and alignment.
1428 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1429 to default definition.
1430 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
1432 (move_by_pieces_ninsns): Likewise.
1433 (clear_by_pieces): Likewise.
1434 (emit_push_insn): Likewise.
1435 (store_field): Call macro with relevant mode and alignment.
1436 (expand_expr): Likewise.
1437 (expand_expr_unaligned): Likewise.
1439 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
1440 (SLOW_UNALIGNED_ACCESS): Define.
1441 (CASE_VECTOR_MODE): Always use 32-bit offsets.
1442 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
1443 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
1444 (toc_section): Likewise and .toc pseudo-op.
1445 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
1447 (TEXT_SECTION_ASM_OP): Likewise.
1448 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
1451 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
1452 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
1453 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
1454 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
1455 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
1457 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
1459 * regclass.c: Revert my Jan 4 change to loop cost computation.
1461 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1463 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
1466 2000-01-04 Stan Cox <scox@cygnus.com>
1468 * haifa-sched.c (build_control_flow): Change unreachable simple
1469 loop test to check if current block has only one predecessor.
1470 (find_rgns): Initialize degree. Use dest as degree index, not src.
1472 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1474 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
1476 * calls.c (expand_call): Likewise for
1477 `old_stack_arg_under_construction'.
1479 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
1481 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
1484 * gcc.c (execute): Likewise for `ut' and `st'.
1486 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
1488 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
1490 * jump.c (jump_optimize_1): Likewise for `temp2'.
1492 * local-alloc.c (block_alloc): Likewise for `r1'.
1494 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
1496 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
1497 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
1499 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
1502 * reload.c (find_reloads): Likewise for `goal_alternative_number'
1503 and `goal_earlyclobber'.
1505 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
1507 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
1509 * stupid.c (stupid_life_analysis): Likewise for `chain'.
1511 * unroll.c (copy_loop_body): Likewise for `copy'.
1513 * varasm.c (output_constructor): Likewise for `byte'.
1515 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1517 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
1518 all FP constants for constant->reg moves.
1519 (ix86_split_to_parts): Try to convert memory address into immediate
1520 when available in the constant pool.
1521 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
1523 (LEGITIMATE_CONSTANT_P): Return 1.
1524 * i386.md (pushsf): New splitter to convert constant pool memory
1525 reference to immediate.
1526 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
1529 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
1531 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
1532 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
1533 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
1534 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
1535 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
1537 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
1539 * ginclude/stdbool.h: Support compilation as C++.
1541 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1543 * fold-const.c (make_range): Don't try to reverse an unbounded range.
1545 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
1547 * regclass.c (regclass): Properly compute loop_cost. Adjust
1550 * regclass.c: Fix minor whitespace problems.
1552 2000-01-03 Anthony Green <green@cygnus.com>
1554 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
1555 Restore the pic register if required.
1557 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1559 * c-common.c (format_char_info): Update comment.
1560 (check_format_info): Recognize 'z' modifier in the same way 'Z'
1561 was recognized. Emit warning for formats new in ISO C99 only
1562 if flag_isoc9x is not set.
1564 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
1566 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
1568 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1570 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
1571 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
1572 (make_compound_operation): Choose cheaper alternative between
1573 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
1575 * regclass.c (op_costs): Remove global variable.
1576 (record_reg_classes): New parameter "op_costs" and "reg_pref".
1577 (record_operand_costs): Break out from ...
1578 (scan_one_insn): ... here.
1579 (dump_regclass): Make dumps nicer.
1580 (regclass): Dump preferrences choosed and changes done during passes.
1582 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1584 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
1586 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1588 * config/sparc/sparc.c (gen_df_reg): New function.
1589 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
1590 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
1591 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
1592 movtf_cc_reg_sp64+1): Use it.
1594 2000-01-02 Mark Mitchell <mark@codesourcery.com>
1596 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
1599 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
1601 * config/i386/i386.c (ix86_expand_unary_operator): Function
1602 definition made void.
1603 (ix86_expand_binary_operator): Update outdated preceding comment.
1604 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
1607 * config/i386/i386.c (override_options): Fix option-name typo.
1609 2000-01-02 Mark Mitchell <mark@codesourcery.com>
1611 * system.h (CEIL): Define.
1612 * builtins.c (CEIL): Remove.
1613 * expmed.c (CEIL): Likewise.
1614 * expr.c (CEIL): Likewise.
1615 * stor-layout.c (CEIL): Likewise.
1617 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1619 * expr.c (store_constructor_field): Fix typo introduced with last
1622 2000-01-01 Mark Mitchell <mark@codesourcery.com>
1624 * tree.h (BINFO_N_BASETYPES): New macro.
1626 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
1628 * expmed.c (emit_store_flag): Prevent losing a pending stack
1629 adjust the same way we prevent losing queued increments.
1631 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1633 * function.c (update_temp_slot_address): Handle case where sum of
1634 temporary address plus offset in register is a valid address.
1636 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1638 * genrecog.c (change_state) Corrected typo.
1640 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1642 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
1643 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
1644 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
1646 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
1648 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
1649 case, expand GT comparisons correctly. Fix a comment before this
1652 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1654 * dwarfout.c: Include "frame.h"
1655 * dwarf2out.c: Likewise.
1656 * Makefile.in (dwarfout.o): Depend on frame.h
1657 (dwarf2out.o): Likewise.
1659 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
1661 Restore i386 binary compatibility in Dwarf EH info.
1662 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
1663 value of FIRST_PSEUDO_REGISTER.
1664 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
1665 (struct frame_state): Use DWARF_FRAME_REGISTERS.
1666 * dwarfout.c (output_reg_number): Ditto.
1667 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
1668 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
1670 1999-12-29 Bruce Korb <autogen@linuxbox.com>
1672 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
1673 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
1674 (<hack>_RE_CT): not needed
1675 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
1676 rewritten to scan the file text once only
1677 "template<..." test added
1678 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
1679 (is_cxx_header): declaration added
1680 * fixinc/fixtests.c(is_cxx_header): removed
1681 (apply_fix_p_t): removed
1682 (double_slash_test): is_cxx_header is only called once now
1683 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
1684 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
1685 within the templates.
1686 The borken spelling of "broken" was fixed.
1687 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
1688 The default level depends on FIXINC_DEBUG.
1690 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1692 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
1693 Otherwise provide a declaration for atexit.
1694 (init_dummy): Make sure dummy call to atexit is nevertheless
1695 called with correct number of args.
1697 * frame.c: Update comments referring to other files.
1699 * libgcc2.c: Likewise.
1701 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1703 * cse.c (free_element, get_element): Remove unused prototypes.
1705 * fold-const.c (extract_muldiv): Initialize variables `op0' and
1708 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
1711 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
1713 * configure.in,configure: case arm for mn10200-*-* now sets
1714 float_format=i32 so that float.h will correctly claim "double"
1715 to be 32 bits. Ran autoconf to generate configure from .in file.
1717 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
1719 * pa.md (conditional zero): If op1 is a register, force it into
1720 the same register as op0.
1722 1999-12-28 Mark Mitchell <mark@codesourcery.com>
1724 * tree.h (BINFO_BASETYPES): Improve documentation.
1726 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1728 * configure.in (--enable-checking): Use a more portable `for'
1731 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1733 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
1734 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
1736 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
1739 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
1740 Delete descriptions.
1742 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
1743 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
1744 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
1745 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
1746 xm-svr4.h: Remove all instances of sys_siglist handling.
1748 1999-12-27 Jakub Jelinek <jakub@redhat.com>
1750 * config/sparc/sparc.md (cmp_zero_qi,
1751 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
1752 cmp_zero_extendqidi2_andcc_set): New patterns.
1754 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
1756 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
1757 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
1758 (fpgnulib.c, xfgnulib.c): Add rules.
1759 * m68k/t-mot3300-gas: Likewise.
1761 1999-12-27 Ian Lance Taylor <ian@zembu.com>
1763 * configure.in: Avoid [[ by using test and changequote. Add
1764 changequote required by 1999-12-14 change.
1765 * configure: Rebuild.
1767 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
1769 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
1771 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
1773 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
1774 * flow.c (find_use_as_address): Likewise.
1775 * function.c (fixup_var_refs_1): Likewise.
1776 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
1777 * jump.c (invert_exp, redirect_exp): Likewise.
1778 * loop.c (replace_call_address): Likewise.
1779 (count_nonfixed_reads): Likewise.
1780 * rtlanal.c (modified_between_p): Likewise.
1781 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
1782 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
1783 * unroll.c (remap_split_bivs): Likewise.
1785 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1787 * diagnostic.c (v_message_with_decl): Use .* format specifier
1788 instead of building the format specifier width manually.
1790 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
1791 determining whether to provide a prototype. Remove the
1792 sys_siglist clause in the conditional.
1794 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1796 * fold-const.c (operand_equal_p): Use memcmp to compare string
1798 Suggested by D. J. Bernstein
1800 1999-12-17 Jakub Jelinek <jakub@redhat.com>
1802 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
1803 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
1805 * config/mips/mips.h (TARGET_64BIT): Likewise.
1806 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
1807 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
1808 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
1809 dsps. Give routines proper names if SI/DI modes are not used.
1810 * longlong.h: Use DWunion instead of DIunion.
1812 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
1814 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
1815 GC_CHECKING, GC_ALWAYS_COLLECT.
1816 * configure.in: Allow --enable-checking with an argument
1817 listing check modes to enable.
1818 * config.in, configure: Rebuilt.
1819 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
1820 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
1821 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
1822 ENABLE_GC_ALWAYS_COLLECT.
1823 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
1825 * tree.h, tree.c: Change ENABLE_CHECKING to
1826 ENABLE_TREE_CHECKING throughout.
1828 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1830 * fold-const.c (fold_truthop): Properly check for FP RHS.
1832 1999-12-24 Mark Mitchell <mark@codesourcery.com>
1834 * toplev.h (note_deferall_of_defined_inline_function): Declare.
1835 * toplev.c (note_deferral_of_defined_inline_function): New
1836 function, split out from ...
1837 (rest_of_compilation): ... here. Use it.
1839 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1841 * expr.c (store_constructor): Don't call clear_storage if size is
1844 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1846 * Makefile.in (toplev.o): Depend on loop.h.
1848 * dwarfout.c: Include tm_p.h.
1850 * emit-rtl.c (restore_emit_status): Mark parameter with
1853 * final.c (final_scan_insn): Likewise.
1855 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
1856 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
1857 flow_depth_first_order_compute, flow_loop_pre_header_find,
1858 flow_loop_tree_node_add, flow_loops_tree_build,
1859 flow_loop_level_compute, flow_loops_level_compute,
1860 flow_loop_outside_edge_p): Add prototypes.
1861 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
1863 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
1864 Mark with ATTRIBUTE_NORETURN.
1866 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
1868 * local-alloc.c (no_conflict_p): Likewise.
1870 * loop.c (insert_bct): Hide definitions of variables with hidden
1872 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
1874 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
1875 with ATTRIBUTE_UNUSED.
1876 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
1877 (reg_scan): Likewise.
1879 * reload.c (find_reloads): Remove unused variables `changed'.
1881 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
1883 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
1884 Remove unused variable `insn'.
1886 * toplev.c: Include loop.h.
1887 (report_file_and_line): Remove unnecessary prototype.
1889 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
1891 * unroll.c (biv_total_increment): Likewise.
1893 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1895 * reload1.c (emit_input_reload_insns): Restore old behaviour
1896 wrt. 'special' reloads.
1898 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
1900 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
1901 hash.h. (cse.c): Don't depend on hashtab.h.
1903 * cse.c: Don't include hashtab.h.
1904 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
1906 * ggc-simple.c: Don't include hash.h.
1908 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
1910 * dwarf2out.c (add_abstract_origin_attribute): Call
1911 gen_abstract_function on our function context.
1913 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
1915 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
1917 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1919 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
1922 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1924 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
1925 constraints to "a!r".
1927 1999-12-21 Mark Mitchell <mark@codesourcery.com>
1929 * Makefile.in (calls.o): Depend on function.h.
1930 (alias.o): Likewise.
1932 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
1934 * reload1.c (emit_reload_insns): Break out code and variables into...
1935 (input_reload_insns, other_input_address_reload_insns,
1936 other_input_reload_insns, input_address_reload_insns,
1937 inpaddr_address_reload_insns, output_reload_insns,
1938 output_address_reload_insns, outaddr_address_reload_insns,
1939 operand_reload_insns, other_operand_reload_insns,
1940 other_output_reload_insns): ... new static variables, and...
1941 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
1942 do_output_reload): ... new functions.
1944 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1946 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
1948 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1950 * md.texi: Add c4x constraints documentation.
1952 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1954 * config/i386/dgux.c (struct option): Rename to
1955 lang_independent_option.
1956 (struct m_options): Add description field.
1957 (output_options): Rename option type, add sep declaration, output
1958 ix86_cpu_string and ix86_arch_string only if set.
1959 (output_file_start): Rename option type.
1961 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
1963 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
1965 (libgcc2.a): Similarly.
1967 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
1969 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
1970 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
1971 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
1973 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
1975 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
1976 Remove redundant initialization of "frexpon" and "expon".
1978 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1980 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
1982 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
1983 (store_constructor_field, expand_expr): Pass new arg.
1985 1999-12-20 Mark Mitchell <mark@codesourcery.com>
1987 * Makefile.in (explow.o): Depend on function.h.
1989 * stor-layout.c (set_sizetype): Fix typo.
1991 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
1993 * function.c (cfun): Renamed from current_function. All users
1995 * function.h (cfun): Rename declaration as well.
1997 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
1998 to be of type regset_head, not regset. All users changed by adding
2000 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
2002 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2004 * config/c4x/rtems.h: New file.
2006 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
2008 * reload1.c (spill_failure): Take class of failed reload as argument
2009 and print it. Caller changed.
2011 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2013 * rs6000.h (SUBTARGET_DEFAULT): New macro.
2014 (TARGET_SWITCHES): Allow subtargets to default switches.
2015 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
2017 1999-12-18 Mark Mitchell <mark@codesourcery.com>
2019 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
2022 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
2024 * cccp.c (main): Define __STDC_VERSION__ as necessary.
2025 * cppinit.c (cpp_handle_option): Likewise.
2027 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
2028 determine when to define.
2030 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
2032 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
2033 cmove with mismatched test and data modes.
2035 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
2037 * c-typeck.c (c_expand_start_case): Don't warn for long switch
2040 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2042 * alias.c: Minor reformatting.
2045 * stor-layout.c: Likewise.
2046 * fold-const.c: Likewise.
2047 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
2048 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
2050 (size_int_wide): Cache nodes even if garbage collecting.
2051 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
2052 of SAVE_EXPR has no side effects.
2053 * cse.c: Move a comment.
2054 * tree.c: Minor reformatting.
2055 (int_size_in_bytes): Return -1 if constant overflows.
2057 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2059 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
2061 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
2063 * objc/objc-parse.c: Regenerate. This file must be rebuilt
2064 after any change to c-parse.in, even if objc-parse.y didn't
2067 1999-12-18 David S. Miller <davem@redhat.com>
2069 * toplev.c (rest_of_compilation): Restore BLOCK tree
2070 reconstruction and branch shortening changes lost in
2071 December 18th change.
2073 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
2075 * config/arm/linux-elf.h: Change all instances of
2076 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
2077 * config/arm/uclinux-elf.h: Likewise.
2079 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
2081 * toplev.c (notice, vmessage, v_message_with_file_and_line,
2082 v_message_with_decl, file_and_line_for_asm,
2083 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
2084 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
2085 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
2086 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
2087 pfatal_with_name, fatal_io_error, need_error_newline,
2088 last_error_function, last_error_tick, announce_function,
2089 default_print_error_function, print_error_function,
2090 report_error_function, fnotice, error_with_file_and_line,
2091 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
2092 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
2093 warning_with_decl, warning_for_asm, warning, pedwarn,
2094 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
2096 (compile_file): Use fnotice instead of notice. Adjust call.
2098 * diagnostic.c: New file.
2100 * Makefile.in (OBJS): Include diagnostic.o
2101 (diagnostic.o): Define dependence.
2103 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2105 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
2108 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2110 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
2112 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2114 * fixtests.c (is_cxx_header): New fn, split out of
2116 (else_endif_label): Allow "#endif // comment" in C++ headers,
2117 as determined by is_cxx_header.
2118 * fixfixes.c (else_endif_label_fix): Update comment.
2119 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
2121 * genfixes: Correct double thinko in commandline parsing.
2122 * hackshell.tpl: Generate correct sh syntax for bypass
2125 * inclhack.def (all): Whenever an inserted preprocessor
2126 conditional is split over multiple lines, use double
2127 backslashes in this file so the fixed header will be readable.
2129 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
2130 and add bypass entry for correct version of this header.
2131 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
2132 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
2134 (hpux8_bogus_inlines): New fix, split from...
2135 (ultrix_atof_param) ... here.
2136 (math_expression): Add bypass entry keyed to glibc comment
2137 indicating the problem has been dealt with; disable
2138 unnecessary sed operations; update commentary.
2139 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
2140 add select and bypass entries, simplify shell operation.
2141 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
2143 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
2144 ultrix_atof_param): Add select entry.
2145 (stdio_va_list, sunos_mather_decl): Add bypass entry.
2146 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
2147 comments with the fixes they describe.
2149 * c-parse.in (string action): Do not warn about ANSI string
2150 concatenation in system headers. Affects C parser only.
2151 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
2153 1999-12-16 Jakub Jelinek <jakub@redhat.com>
2155 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
2156 compiling libgcc2 the macro depends always on arch cpp defines.
2158 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
2160 * loop.c (insert_loop_mem): Don't record MEMs from inside
2163 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
2165 * regclass.c (regclass): Do not use flowgraph when not optimizing.
2167 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
2168 notes too, create one when replacement failed, attempt to simplify
2170 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
2173 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2175 * crtstuff.c (__dso_handle): Declare.
2176 (__cxa_finalize): Likewise.
2177 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
2180 * invoke.texi: Document -fuse-cxa-atexit.
2182 * tree.h (ptr_type_node): Document.
2183 (const_ptr_type_node): Likewise.
2185 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2187 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
2188 (optimize_reg_copy_2): Likewise.
2189 (optimize_reg_copy_3): Likewise.
2190 (fixup_match_2): Likewise.
2191 (regmove_optimize): Likewise.
2192 (fixup_match_1): Liekwise.
2194 * i386.md (HI to SImode promoting splitters): Rewrite.
2195 (pushsf mem peep2): New.
2196 (testhi to andhi peep2): Remove.
2197 * i386.h (x86_promote_QImode): New.
2198 (TARGET_PROMOTE_QImode): New.
2199 (PREDICATE_CODES): Add promotable_binary_operator.
2200 * i386.c (x86_promote_QImode0: New.
2201 (promotable_binary_operator): New.
2202 * i386-protos.h (promotable_binary_operator): New.
2204 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
2206 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
2208 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2210 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
2211 * function.c (insert_block_after_note): Remove.
2212 (retrofit_block): Likewise.
2213 (identify_blocks): Fix indentation.
2214 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
2215 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
2216 * function.h (insert_block_after_note): Remove prototype.
2217 (retrofit_block): Likewise.
2218 * integrate.c (expand_inline_function): Don't call
2219 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
2220 just expand_start_bindings. Use the block_map to remap old
2221 NOTE_BLOCKs to new ones.
2222 (integrate_decl_tree): Keep track of remapped blocks.
2223 * integrate.h (struct inline_remap): Add block_map.
2224 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
2225 NOTE_BLOCK on the notes.
2226 (expand_start_bindings): Rename to ...
2227 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
2228 (expand_end_bindings): Set NOTE_BLOCK.
2229 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
2230 reconstruct the BLOCK tree.
2231 * tree.h (expand_start_bindings): Macroize. Call ...
2232 (expand_start_bindings_and_block): New function.
2234 1999-12-16 Jakub Jelinek <jakub@redhat.com>
2236 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
2237 to match the format.
2239 1999-12-16 David S. Miller <davem@redhat.com>
2241 * expr.c (emit_move_insn_1): Only emit clobbers if one of
2242 the outputs is a SUBREG.
2243 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
2246 * config/sparc/sparc.c (epilogue_renumber): Add default case
2249 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2251 * toplev.c (rest_of_compilation): Run branch shortening after
2254 * regclass.c (loop_depth): Remove
2255 (scan_one_insn): Do not handle LOOP_NOTE insns.
2256 (regclass): Go through basic blocks and set loop_cost
2258 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
2260 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
2262 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2264 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
2265 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
2266 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
2268 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
2270 * loop.c (insert_loop_mem): Ignore memory clobbers.
2272 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
2275 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
2277 * profile.c: Remove redundant #include "output.h".
2279 * h8300.md (HImode preinc peephole): Fix typo.
2281 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2283 * function.c (retrofit_block): Abort if we don't find a suitable insn.
2284 (insert_block_after_note): Abort if we don't have a previous block.
2285 Remove FN parameter.
2286 * function.h: Adjust.
2288 1999-12-15 Mark Mitchell <mark@codesourcery.com>
2290 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
2291 argument more than once.
2293 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2295 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
2297 1999-12-15 Jakub Jelinek <jakub@redhat.com>
2299 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
2301 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2303 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
2304 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
2305 update stack_alignment_needed.
2306 (prepare_function_start): Initialize stack_alignment_needed
2307 * function.h (struct function): Add field stack_alignment_needed.
2309 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2311 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
2312 Handle live_throughout / dead_or_set instead of live_before /
2314 (save_call_clobbered_regs): Get register livenessinformation from
2315 chain->live_throughout.
2316 (add_stored_regs): New function.
2317 (insert_restore, insert_save): Add restored / saved registers to
2319 * global.c (reg_dies): New parameter chain.
2320 (reg_becomes_live): Third parameter is regs_set now.
2321 Changed all callers.
2322 (reg_dies): New parameter chain. Changed all callers.
2323 (build_insn_chain): Set live_throughout instead of
2324 live_before / live_after.
2325 * reload.h (struct insn_chain): Replace members live_before /
2326 live_after with live_throughout / dead_or_set.
2327 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
2328 instead of live_before / live_after.
2329 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
2330 (order_regs_for_reload, find_reg, finish_spills): Likewise.
2331 (choose_reload_regs_init): Likewise.
2332 * stupid.c (current_chain, find_clobbered_regs): Delete.
2333 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
2334 instead of chain->live_before / chain->live_after.
2335 (mark_hard_ref): New function.
2336 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
2338 1999-12-15 David S. Miller <davem@redhat.com>
2340 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
2342 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2344 * flow.c (calculate_loop_depth): Make global, remove prototype,
2345 rewrite to use new loop infrastructure.
2346 (find_basic_block): Remove calculate_loop_depth call.
2347 * toplev.c (rest_of_compilation): Call find_basic_block.
2348 * output.h (calculate_loop_depth): Declare.
2350 * flow.c (dump_flow_info): Dump loop_depth.
2351 (flow_loops_nodes_find): Increase loop_depth for basic block in the
2353 (flow_loops_find): Initialize the loop_depth for each basic block.
2355 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2357 * tree.c (decl_function_context): Handle virtual functions.
2359 * tlink.c (scan_linker_output): Don't look in demangled name when
2360 looking for linker output keywords.
2362 * dwarfout.c (output_type): We can defer namespace-scope classes.
2364 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
2366 * regclass.c (record_reg_classes): Update comment for merging
2367 register class preferences in reg->reg copies. Tighten conditions
2368 for merging register class preferences in reg->reg copies.
2370 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
2372 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
2374 1999-12-14 Geoff Keating <geoffk@cygnus.com>
2376 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
2377 (INIT_SECTION_ASM_OP): Delete.
2378 (FINI_SECTION_ASM_OP): Delete.
2379 (STARTFILE_SPEC): Define to hold just crtbegin.o.
2381 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
2383 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
2384 the abstract origin wasn't emitted.
2386 * dwarf2out.c (class_scope_p): New fn.
2387 (gen_subprogram_die): Use it.
2388 (gen_variable_die): Use it. Tweak logic.
2389 (gen_struct_or_union_type_die): Check context_die to determine
2390 if we're function-local.
2391 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
2393 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2395 * loop.c (check_dbra_loop): Can't reverse a biv that has
2398 1999-12-14 Nick Clifton <nickc@cygnus.com>
2400 * config/arm/arm.c: Add support for -mcpu=arm720 command line
2403 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2405 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
2406 for givs made from biv increments.
2408 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
2410 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
2411 * alpha.c (override_options): Recognize -mcpu=ev67.
2412 * alpha.h (CPP_CPU_EV67_SPEC): New.
2413 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
2414 (EXTRA_SPECS): Update.
2416 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
2418 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
2419 appropriate for -lang-c89 and -std=*.
2420 * cppinit.c (cpp_handle_option): Likewise.
2421 (new_pending_define): New, split out from cpp_handle_option.
2422 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
2423 or enable trigraphs for -ansi/-std=*.
2425 * ginclude/stdarg.h (__va_copy): New.
2426 (va_copy): Don't define for C89.
2428 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
2430 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
2431 for long long multiply-accumulate.
2433 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2435 * regclass.c (scan_one_insn): Set loop_cost to 1 when
2436 optimizing for size.
2438 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2440 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
2441 if something changed. Back out that part of yesterday's changes.
2443 * loop.c (loop_max_reg): New static variable.
2444 (loop_optimize): Initialize it. Eliminate one unnecessary call to
2446 (scan_loop): Call reg_scan_update whenever we may have added new
2447 registers, and update loop_max_reg.
2449 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2451 * regclass.c (record_reg_classes): Do not do the copying preferrencing
2452 when source does not die.
2454 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
2456 1999-12-14 Jakub Jelinek <jakub@redhat.com>
2458 * config/sparc/linux64.h (TARGET_LIVE_G0,
2459 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
2461 * config/sparc/linux.h (TARGET_LIVE_G0,
2462 TARGET_BROKEN_SAVERESTORE): Likewise.
2463 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2464 TARGET_BROKEN_SAVERESTORE): Likewise.
2466 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
2467 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
2469 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
2470 as sparc64 block profiling register.
2471 * config/sparc/sparc.c (sparc_override_options): Allow block
2472 profiling with -m32.
2473 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
2475 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
2476 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
2477 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
2479 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
2481 * config/sparc/sparc.h: Likewise.
2482 * config/sparc/xm-sysv4-64.h: Likewise.
2483 * config/float-sparc.h: Likewise.
2484 * glimits.h: Likewise.
2485 * longlong.h: Likewise.
2487 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
2488 (ASM_IDENTIFY_GCC): Remove.
2490 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2492 * combine.c (combine_simplify_rtx): Don't make shared rtl.
2493 (simplify_logical): Likewise.
2495 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
2497 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
2498 * cppfiles.c (INO_T_EQ): Likewise.
2500 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
2502 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
2503 * i386/mingw32.h (LIB_SPEC): Likewise.
2504 (STARTFILE_SPEC): Likewise.
2505 * i386/uwin.h (LIB_SPEC): Likewise.
2506 (STARTFILE_SPEC): Likewise.
2508 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
2509 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
2511 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
2513 * combine.c (combine_simplify_rtx): Fix order of checks for
2514 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
2516 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
2518 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
2519 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
2521 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
2523 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
2525 * regclass.c (inv_reg_alloc_order): New array.
2526 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
2528 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
2529 counted_for_groups, counted_for_nongroups. Add fields rld and
2531 * reload.c (push_secondary_reload): Don't set nongroup field of
2533 (push_reload): Likewise.
2534 (find_reloads): Delete code to compute nongroup fields.
2535 * reload1.c (reload_insn_firstobj): New static variable.
2536 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
2538 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
2539 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
2540 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
2542 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
2544 (struct hard_reg_n_uses): Deleted.
2545 (potential_reload_regs): Deleted.
2546 (init_reload): Initialize spilled_pseudos and pseudos_counted.
2547 (reload): Don't try to allocate reload registers if we already know
2548 we have to make another pass. Call select_reload_regs. Free memory
2549 starting with reload_firstobj when starting another pass.
2550 Don't allocate spilled_pseudos.
2551 (calculate_needs_all_insns): Call copy_reloads for an insn that
2552 needs reloads; don't call calculate_needs.
2553 (spill_cost): New static array.
2554 (used_spill_regs_local): New static variable.
2555 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
2556 to compute potential_reload_regs.
2557 (find_reload_regs): Completely rewritten to use find_reg.
2558 (allocate_reload_reg): Don't test counted_for_groups or
2559 counted_for_nongroups. Lose NOERROR arg and code to give an error;
2561 (choose_reload_regs): Add fallback code that uses the existing
2562 register allocation from find_reload_regs.
2564 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
2566 * flow.c (create_edge_list): Cast xmalloc return value.
2568 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
2570 * doprnt.c: Remove incorrect comment closure.
2572 * cse.c: Fix a few minor whitespace goofs.
2574 1999-12-13 Don Bowman <don@pixstream.com>
2576 * mips/vxworks.h: Fix problem with comment termination.
2577 (EXTRA_SECTIONS): Add in_sbss.
2578 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
2580 1999-12-12 David S. Miller <davem@redhat.com>
2582 * cse.c (struct cse_reg_info): Add hash_next member,
2583 reorder rest of struct for better packing on 64-bit
2585 (cse_reg_info_tree): Kill.
2586 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
2587 REGHASH_FN): New custom pow2 hash mechanism.
2589 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
2590 use a pow2 hash table.
2591 (get_cse_reg_info): Rework to use new REGHASH.
2592 (new_basic_block): Likewise, use HASH_SIZE, and inline
2594 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
2595 and inline free_element call.
2596 (lookup_as_function, insert, flush_hash_table, invalidate,
2597 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
2598 invalidate_for_call, use_related_value, find_comparison_args,
2599 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
2600 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
2603 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
2605 * cse.c (cse_basic_block): Free qty_table consistently.
2607 1999-12-12 David S. Miller <davem@redhat.com>
2608 Jakub Jelinek <jakub@redhat.com>
2610 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
2611 SUBREGs by hand, gen the appropriate hard reg directly.
2612 (movtf reg/mem split): Likewise and alter_subreg on destination
2614 (movtf mem/reg split): Similarly.
2615 (movdf_cc_sp64): Rename from hidden pattern.
2616 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
2617 (movtf_cc_sp64, following split): New pattern and splitter.
2618 (movdf_cc_reg_sp64): Rename from hidden pattern.
2619 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
2621 (movtf_cc_reg_sp64, following split): New pattern and splitter.
2623 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
2625 * loop.c (load_mems): Don't hoist written floating point mem
2628 1999-12-12 Mark Mitchell <mark@codesourcery.com>
2630 * except.h (struct eh_queue): Add `next' pointer.
2631 (struct eh_status): Make x_ehqueue a pointer.
2632 (push_ehqueue): Declare.
2633 (pop_ehqueue): Likewise.
2634 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
2636 (expand_fixup_region_end): Likewise.
2637 (expand_leftover_cleanups): Likewise.
2638 (push_ehqueue): Define.
2639 (pop_ehqueue): Likewise.
2640 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
2641 than doing it inline.
2642 (expand_start_all_catch): Adjust now that ehqueue is a
2644 (mark_eh_queue): Mark all level of the queue.
2645 (mark_eh_status): Adjust now that ehqueue is a
2647 (init_eh_for_function): Allocate ehqueue.
2648 (free_eh_status): Free it.
2649 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
2650 expansion for a fixup.
2652 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2654 * gthr-single.h (__gthread_active_p): Add prototype arguments.
2656 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
2657 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
2658 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
2659 function_ptr, getpagesize, __enable_execute_stack,
2660 __enable_execute_stack, __clear_insn_cache,
2661 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
2662 _cleanup, _exit, __default_terminate, __terminate_func,
2663 __terminate, __empty, __throw, new_eh_context,
2664 eh_context_initialize, eh_context_static, eh_context_specific,
2665 get_eh_context, __get_eh_context, __get_eh_info,
2666 init_reg_size_table, eh_threads_initialize,
2667 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
2668 __unwinding_cleanup, throw_helper, __throw, __rethrow,
2669 __pure_virtual): Add prototype arguments.
2670 (__bb_exit_func): Cast a sizeof to long when comparing against one.
2671 Cast a signed value to unsigned long when comparing against one.
2672 (new_eh_context): Wrap in _GTHREADS macro.
2673 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
2675 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
2676 (throw_helper): Initialize variables `handler_p' and `pc_p'.
2678 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2680 * combine.c (record_promoted_value): Remove unused variable
2683 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
2685 * global.c (record_conflicts): Likewise for `j'.
2687 * genoutput.c (output_insn_data): Don't unnecessarily cast away
2690 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2692 * i386-protos.h (output_387_binary_op, output_fix_trunc,
2693 output_fp_compare): Constify a char*.
2695 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
2697 (override_options, ix86_comp_type_attributes, print_operand,
2698 output_387_binary_op, output_fix_trunc, output_fp_compare):
2700 (ix86_sched_reorder): Mark parameter `clock_var' with
2703 * i386.h (DEBUG_PRINT_REG): Constify a char*.
2705 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
2707 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
2708 operand, for use in the Java front-end.
2710 1999-12-10 Ben Collins <bcollins@debian.org>
2712 * configure.in: Fix typo for "-64" in 64bit as check.
2713 * configure: Rebuilt.
2715 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2717 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
2720 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2722 * c-parse.in (string): With -Wtraditional, warn if ANSI string
2723 concatenation is utilized.
2725 * invoke.texi (-Wtraditional): Document it.
2727 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2729 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
2730 Cast a ptrdiff_t to long and pass it to printf with %ld.
2732 1999-12-10 Geoff Keating <geoffk@cygnus.com>
2734 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
2735 68881, we have no 68881 registers at all.
2736 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
2737 value in a 68881 register if it is available.
2739 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
2741 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
2742 for long long multiply-accumulate.
2744 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
2746 * loop.c (insert_loop_mem): Undo last change.
2748 1999-12-10 David S. Miller <davem@redhat.com>
2750 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
2752 * config/sparc/sparc-protos.h: Add them.
2753 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
2754 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
2755 constraints which use those helpers.
2756 (EXTRA_CONSTRAINT): Use this new macro.
2757 * md.texi: Update sparc target constraints documentation.
2758 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
2759 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
2760 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
2761 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
2762 (movsf high/lo_sum split): Rework for new patterns.
2763 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
2765 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
2767 * c-common.c (c_common_nodes_and_builtins):
2768 Create __builtin_ptrdiff_t and __builtin_size_t.
2770 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
2772 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
2774 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2776 * regclass.c (globalize_reg): Re-instate test that allows
2777 fixed registers to be declared as a variable even after functions
2780 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2782 * i386.md (cpu attribute): Add "athlon".
2783 (athlon_decode): New attribute.
2784 (Athlon scheduling units definitions): New.
2785 (fcmp and shld patterns): Set athlon_decode to "vector".
2786 * i386.c (athlon_cost): New.
2788 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
2789 x86_use_sahf): Set for Athlon.
2790 (x86_use_fiop): Unset for Athlon.
2791 (override_options): Define Athlon alignments and "athlon" name.
2792 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
2793 * i386.h (TARGET_ATHLON): New.
2794 (enum processor_type): Add PROCESSOR_ATHLON.
2795 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
2797 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
2799 1999-12-09 Andreas Jaeger <aj@suse.de>
2801 * loop.c (record_biv): Declare parameter as int.
2803 * config/i386/i386-protos.h: Declare long_memory_operand.
2805 1999-12-09 Mark Mitchell <mark@codesourcery.com>
2807 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
2808 EXPR_WITH_FILE_LOCATION.
2810 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2812 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
2815 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
2817 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
2820 1999-12-09 Jakub Jelinek <jakub@redhat.com>
2822 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
2823 default on linux64 again.
2824 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
2825 models for multilibing.
2826 * genmultilib: Accept | as alternative separator within a set in
2829 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
2831 * calls.c (precompute_arguments): Make sure initial_value contains
2832 value pseudo which CSE expects.
2833 * cse.c (struct set): New entry orig_src.
2834 (cse_insn): Set it early on entry, use it for libcall EQUIV note
2837 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
2839 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
2841 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
2843 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
2845 1999-12-08 Jakub Jelinek <jakub@redhat.com>
2847 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
2848 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
2850 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
2853 * longlong.h: Merge in changes from glibc.
2854 Also don't clobber %g2 register in 32bit SPARC assembly, so that
2855 -mno-app-regs libgcc can be compiled.
2856 * libgcc2.c: Add defines so that the updated longlong.h
2857 can be used in libgcc2.a. Also, make sure on most architectures
2858 (at least on all which have optimized code in longlong.h defined
2859 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
2861 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2863 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
2864 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
2865 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
2867 * configure: Rebuilt.
2869 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
2871 * alpha.c (secondary_reload_class): For !BWX, sub-simode
2872 outputs require a register.
2874 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
2876 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
2877 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
2878 functions like dptoul will be resolved.
2879 (libgcc2.a): Make sure that the object files from DPBIT are named
2880 differently (prefix `_dp') from those that would be coming from
2883 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
2885 * configure.in: When target is sparc* and tm_file contains 64,
2886 test for 64bit support in assembler. If not supported, remove
2887 sparc/t-sol2-64 from target-dependent Makefile fragments.
2888 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
2889 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
2890 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
2891 * acconfig.h (AS_SPARC64_FLAG): Added.
2892 * configure, config.in: Rebuilt.
2893 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
2894 support. Use AS_SPARC64_FLAG.
2896 1999-12-07 Jakub Jelinek <jakub@redhat.com>
2898 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
2899 suitable for holding OFmode values so that gcc works with complex
2901 (hard_64bit_mode_classes): Likewise.
2903 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
2904 so that it is actually matched.
2905 (sethi_di_medlow): Likewise.
2907 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
2908 as legitimate constant if -mvis.
2909 * config/sparc/sparc.md (movtf): Likewise.
2910 (clear_sf): Use const_double_operand.
2911 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
2913 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
2914 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
2915 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
2916 routines, _Qp_* cannot be handled like that now.
2917 (INIT_TARGET_OPTABS): Likewise.
2918 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
2919 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
2920 sparc_emit_float_lib_cmp if ARCH64 and soft float.
2921 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
2922 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
2923 divtf3, sqrttf3): New expanders.
2924 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
2925 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
2926 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
2929 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
2930 * configure: Rebuilt.
2931 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
2932 -mcpu is given and we're doing 64bit compiles.
2934 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
2936 * loop.h (struct induction): Add multi_insn_incr.
2937 * loop.c (basic_induction_var): New multi_insn_incr argument.
2938 Set it if we search back through previous insns for the biv.
2939 (record_biv): New multi_insn_incr argument; fill in struct induction.
2940 (strength_reduce): Discard an iv with multiple bivs, any of
2941 which require multiple insns to increment.
2943 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2945 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
2948 1999-12-06 David S. Miller <davem@redhat.com>
2950 * combine.c (check_promoted_subreg): Do not conditionalize this upon
2951 PROMOTE_FUNCTION_RETURN.
2953 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
2955 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
2956 and handle REG_UNUSED note on insn.
2958 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
2959 inner_mask instead of mask.
2961 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
2963 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
2964 zero if there was an error.
2966 1999-12-06 Jakub Jelinek <jakub@redhat.com>
2968 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
2971 * longlong.h: Fix clobbers in SPARC asm statements.
2973 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
2974 valid sethi operations when TARGET_ARCH64.
2976 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
2977 always use move_by_pieces to avoid infinite recursion.
2978 (restore_fixed_argument_area): Likewise.
2980 * combine.c (check_promoted_subreg, record_promoted_value): New
2982 (combine_instructions): Use them to retain nonzero and sign bit
2983 information after SUBREGs are eliminated by optimizations in
2984 this pass if PROMOTE_FUNCTION_RETURN.
2986 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
2987 .register declaration. Don't use variables with __ prefixes.
2989 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2991 * fold-const.c (optimize_bit_field_compare): Only use one mode
2992 for both RHS and LHS in non-constant case.
2994 1999-12-06 Nathan Sidwell <nathan@acm.org>
2996 * frame.c (start_fde_sort): Only allocate erratic array, if
2997 linear one was allocated. Return allocated flag.
2998 (fde_insert): Only insert, if there's a valid array.
2999 (fde_end_sort): Split, sort and merge if linear and erratic
3000 arrays exist, else just sort linear one.
3001 (search_fdes): New function. Linear search through original fde
3003 (frame_init): Permit multiple initializations. Cope with
3005 (find_fde): Fallback on linear search, if failed to sort array.
3006 (__deregister_frame_info): Only free sorted array, if we
3009 1999-12-06 Jakub Jelinek <jakub@redhat.com>
3011 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
3013 1999-12-05 Jakub Jelinek <jakub@redhat.com>
3015 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
3017 1999-12-05 Mark Mitchell <mark@codesourcery.com>
3019 * tree.h (special_function_p): Declare.
3020 * calls.c (special_function_p): Make it global. Don't take `name'
3021 as a parameter. Fix typo in 1999-11-28 change.
3022 (expand_cal): Adjust.
3024 1999-12-04 Mark Mitchell <mark@codesourcery.com>
3026 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
3027 * tree.h (EXPR_WFL_FILENAME): Define in terms of
3028 EXPR_WFL_FILENAME_NODE.
3029 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
3031 * print-tree.c (print_note): Print TREE_PRIVATE and
3034 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
3035 the original die cannot be found.
3037 * varray.h (varray_head_tag): Add elements_used.
3038 (VARRAY_PUSH): New macro.
3039 (VARRAY_POP): Likewise.
3040 (VARRAY_TOP): Likewise.
3041 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
3043 * varray.c (varray_init): Initialize elements_used.
3044 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
3045 (INTEGRATE_H): New variable.
3046 (integrate.o): Depend on INTEGRATE_H.
3047 (unroll.o): Likewise.
3049 * function.h (insert_block_after_note): Declare.
3050 * function.c (insert_block_after_note): Split out from ...
3051 (retrofit_block): ... here.
3053 * stmt.c (expand_fixup): Fix typo in comment.
3055 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3057 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
3058 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
3059 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
3060 (regmove_optimize, fixup_match_1): Likewise.
3062 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3064 * flow.c (flow_loops_dump): Add missing argument when calling
3067 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
3068 Greg McGary <gkm@gnu.org>
3070 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
3071 (init_attributes): Add A_NO_LIMIT_STACK.
3072 (decl_attributes): Handle A_NO_LIMIT_STACK.
3073 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
3074 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
3075 Handle stack bounds checking.
3076 * flags.h (flag_stack_check): Use the word 'probe' rather than
3077 'check', because the flag doesn't actually cause any checking to
3079 * function.c (expand_function_start): Set
3080 current_function_limit_stack.
3081 * function.h (struct function): Add limit_stack.
3082 (current_function_limit_stack): Define.
3083 * invoke.texi (Code Gen Options): Document new options.
3084 * rtl.h: Declare stack_limit_rtx.
3085 * toplev.c (stack_limit_rtx): New variable.
3086 (decode_f_option): Handle new options -fstack-limit-register=REG,
3087 -fstack-limit-symbol=IDENT, -fno-stack-limit.
3088 (main): Add stack_limit_rtx as GC root.
3089 * tree.h (DECL_NO_LIMIT_STACK): New macro.
3090 (struct tree_decl): New member no_limit_stack.
3092 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
3094 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
3095 (conditional_trap+1): Get new mnemonic correct.
3096 (conditional_trap+2): New pattern for DImode traps.
3098 * config/m68k/m68k.c (output_function_prologue): Handle
3100 * config/m68k/m68k.md (trap): New insn.
3101 (conditional_trap): New insn.
3102 * md.texi (Standard Names): Document `trap' and
3104 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
3105 so a cc0 setter doesn't get emitted at some random place in the
3108 * config/i960/i960.md (trap): New insn.
3109 (conditional_trap): New expander.
3110 (conditional_trap+1, conditional_trap+2): New insns for signed
3112 * config/i960/i960.c (i960_function_prologue): Use
3113 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
3115 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
3116 Geoffrey Keating <geoffk@cygnus.com>
3118 * flags.h (warn_padded, warn_packed): Add global var decls.
3119 * toplev.c (warn_padded, warn_packed): Add global var defns.
3120 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
3121 * stor-layout.c (layout_record): Add local variable `type'
3122 to hold often-used TREE_TYPE (field). Add local variable
3123 `unpacked_align' to hold alignment that would be in force
3124 if no `packed' attribute were present. Warn if `packed' attribute
3125 is unnecessary, or even harmful. Warn when gcc inserts padding
3126 to satisfy alignment requirements of members. Use NULL_TREE
3127 when checking whether var_size is set.
3128 * invoke.texi: Document new flags.
3130 1999-12-03 Nathan Sidwell <nathan@acm.org>
3132 * frame.c (fde_split): Reimplement to avoid variable sized array.
3134 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3136 * combine.c (try_combine): Before fixing up LOG_LINKS for the
3137 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
3139 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
3141 * invoke.texi: Document the mips option -mno-crt0
3143 1999-12-02 Mike Karr <mkarr@mathworks.com>
3145 * cccp.c (argdata): Added free_ptr member.
3146 (macroexpand): Initialize free_ptr of each argument. When an
3147 argument's buffers are freed, if the argument's free_ptr corresponds
3148 to a buffer on the input stack, then return the free_ptr to that stack
3149 frame, otherwise, free it.
3150 (macarg): If an argument begins and ends on the same input stack level,
3151 then transfer the free_ptr of that buffer to the argument in case
3152 the stack is popped during the processing of a subsequent argument.
3154 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
3156 * loop.c (note_reg_stored): New function.
3157 (struct note_reg_stored_arg): New structure.
3158 (try_copy_prop): Change to be more conservative; only replace within
3159 one extended basic block and stop replacing if a store to the
3160 replacement reg is seen.
3162 1999-12-02 Nick Clifton <nickc@cygnus.com>
3164 * config/fp-bit.c: Initialise all fields of the NAN
3167 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
3170 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
3172 * i386.md (extend?f?f2): Force the input into a register, not
3175 1999-12-01 Jakub Jelinek <jakub@redhat.com>
3177 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
3179 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
3180 alternative because setting up 64bit constant is usually costly,
3181 especially when reload is in progress or completed.
3182 (movdf_const_intreg_sp64): Likewise.
3183 (movdf_const_intreg split): Fix building up constants when
3184 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
3186 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
3188 * combine.c (if_then_else_cond): Use const_true_rtx instead of
3189 const1_rtx for return values in EQ/NE comparison against (const_int 0)
3192 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
3193 (asm_file_start): Emit .am33 into assembly file when compiling for
3195 (print_operand_address): Handle POST_INC addresses.
3196 (can_use_return_insn, initial_offset): Check AM33 registers too.
3197 (expand_prologue): Check & save AM33 registers too.
3198 (expand_epilogue): Similarly.
3199 (secondary_reload_class): Handle AM33 specific secondary reloads.
3200 (output_tst): Emit efficient code for the AM33 too.
3201 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
3202 (TARGET_SWITCHES): Add -mam33 switch.
3203 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
3204 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
3205 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
3206 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
3207 (enum reg_class, REG_CLASS_NAMES): Likewise.
3208 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
3209 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
3210 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
3211 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
3212 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
3213 (HAVE_POST_INCREMENT): Define.
3214 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
3215 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
3216 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
3217 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
3218 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
3219 (zero_extend to SI from QI/HI): Likewise.
3220 (sign_extend to SI from QI/HI): Likewise.
3221 (mulsidi3, umulsidi3): New patterns for the AM33.
3222 (tstsi with zero extension from QI/HI): Add AM33 variants.
3223 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
3224 (return_internal_regs, store_movm): Handle new AM33 registers.
3225 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
3226 (LIBGCC, INSTALL_LIBGCC): Likewise.
3227 * invoke.texi: Document new flags.
3229 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3231 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
3232 (addsi3_carry): Likewise.
3233 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
3234 (sbbsi3_carry): Likewise.
3235 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
3237 (test?i_1): Ensure that only one operand is memory.
3238 (conditional move patterns): likewise.
3239 (shift and rotate patterns): Rewrite to expander, add
3240 "binary_operator_ok" to the condition.
3242 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
3243 * i386.h (procesor_costs): Add movzbl_load field.
3244 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
3245 non-Q registers, accept DImode registers anywhere.
3247 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
3248 * i386.c (*_cost): Set value for movxbl_load field.
3250 * (addsi): New add to lea splitter.
3252 (lea to add/shift peep2): New.
3254 1999-12-01 Mark Salter <msalter@cygnus.com>
3256 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
3257 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
3258 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
3260 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3262 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
3263 * i386.md (movsi_xor): New.
3265 (movsi_1, movhi_1, movqi_1): Remove.
3266 (movsi_2): Rename to movsi_1.
3267 (movhi_2): Rename to movhi_1.
3268 (movqi_2): Rename to movqi_1.
3269 (movdi_1): Remove; remove splitter.
3270 (movdi_2): Rename to movdi_1.
3271 (divmodsi4 splitter): Do not emit clobbers for move patterns.
3272 (long move peep2): Do not create QI or HI mode mov0s
3273 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
3275 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
3278 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
3279 (abs?f2_if): Likewise.
3281 1999-11-30 Alex Samuel <samuel@codesourcery.com>
3283 * ggc.h (ggc_test_and_set_mark): New macro.
3284 (ggc_mark_rtx): Use ggc_test_and_set_mark.
3285 (ggc_mark_tree): Likewise.
3286 (ggc_mark_rtvec): Likewise.
3287 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
3289 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
3291 * dwarf2out.c (scope_die_for): Only handle types. Only search for
3293 (decl_scope_table): Just an array of trees now.
3294 (push_decl_scope): Simplify.
3295 (dwarf2out_init): Adjust.
3296 (local_scope_p): New fn.
3297 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
3298 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
3299 (gen_typedef_die): Likewise.
3300 (gen_lexical_block_die): Don't call push/pop_decl_scope.
3301 (gen_inlined_subroutine_die): Likewise.
3302 (gen_abstract_function): Set current_function_decl temporarily.
3303 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
3304 Handle block extern declarations. Don't call push/pop_decl_scope.
3305 (gen_decl_die): Fix logic for block externs.
3307 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3309 * calls.c (special_function_p): Remove `realloc' and add `strdup'
3310 to the list of functions which have attribute malloc by default.
3312 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3314 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
3315 integer constant does not match the traditional type, limit the
3316 warnings to cases where the base of the type is ten.
3318 * invoke.texi (-Wtraditional): Document it.
3320 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3322 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
3323 * rs6000.md: Only access a CONST_INT with INTVAL
3325 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
3327 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
3328 (compute_nearerout): Likewise.
3329 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
3330 size_t to unsigned long for formatting.
3332 1999-11-30 Jakub Jelinek <jakub@redhat.com>
3334 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
3335 Allow the user to override call-used/fixed state of %g2-5
3336 registers from the command line (with the exception of %g4 for
3338 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
3339 there is a higher chance of having a leaf function.
3340 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
3341 for ARCH64 which has %ccr register.
3342 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
3344 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
3345 insn accept into delay slot any insn which does not use %[ol]
3346 registers. Accept some LO_SUM and shift left by 1 for the normal
3348 (output_function_epilogue): Likewise.
3349 (epilogue_renumber): Added argument which inhibits any renumbering
3350 and just tests if the rtx does not use any %[ol] registers.
3351 (output_return): Reflect above change.
3353 1999-11-30 Jakub Jelinek <jakub@redhat.com>
3355 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
3356 aggregate passing for sizes <= 16 bytes.
3358 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
3360 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
3361 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
3362 * reload.c (find_dummy_reload): Likewise.
3363 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
3364 * reload1.c (reload_as_needed): Likewise.
3365 * stupid.c (stupid_find_reg): Likewise.
3366 * tm.texi (Obsolete Register Macros): Delete section.
3367 * gmicro.h: Remove all traces of the two macros.
3372 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
3374 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
3375 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
3376 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
3377 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
3378 units for the sparclite86x chip.
3379 (flush): Revert October 14th change; add SImode specifically.
3380 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
3381 * invoke.texi: Document it.
3383 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
3385 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
3386 psimode_truncation_operand.
3388 * config/mn10200/mn10200.c (psimode_truncation_operand): New
3389 function. Return true if the operand is either a MEM valid
3390 for a PSImode address or not a MEM at all.
3392 * config/mn10200/mn10200.md (truncsipsi2): Use
3393 psimode_truncation_operand.
3395 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3397 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
3398 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
3399 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
3400 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
3401 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
3402 (flow_loop_level_compute, low_loops_level_compute): Likewise.
3403 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
3404 * basic-block.h: Protect from multiple inclusion.
3405 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
3406 (struct loops, struct loop): Define structures.
3407 * sbitmap.c (sbitmap_a_subset_b_p): New function.
3408 * sbitmap.h: Protect from multiple inclusion.
3409 (sbitmap_a_subset_b_p): Add prototype.
3410 * Makefile.in (LOOP_H): New macro.
3411 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
3413 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
3415 * cppinit.c (CAT): The argument list of this macro may not contain
3418 1999-11-29 David S. Miller <davem@redhat.com>
3420 Move quantity tables and register equivalence chains into
3421 per-qty and per-register structure arrays respectively.
3422 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
3423 qty_const_insn, qty_comparison_code, qty_comparison_const,
3424 qty_comparison_qty): Delete, replace with...
3425 (qty_table): this structure table.
3426 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
3427 (reg_eqv_table): this structure table.
3428 (make_new_qty): Add argument MODE. Caller updated.
3429 Update to use qty_table and reg_eqv_table.
3430 (make_regs_eqv, delete_reg_equiv, insert_regs,
3431 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
3432 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
3433 cse_process_notes, cse_main, cse_basic_block): Likewise.
3435 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3437 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
3438 operation if C is negative.
3439 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
3440 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
3441 law for some divisions if constant is negative and change other
3442 divisions to the opposite rounding.
3444 * expr.c (store_constructor_field): If bit position is not multiple
3445 of alignment of TARGET's mode, use BLKmode.
3447 * expr.c (expand_expr_unaligned): Add more code from full case
3448 that is needed when OP0 is in a register.
3450 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3452 * dwarfout.c (field_byte_offset): Size can be zero if there was
3455 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
3457 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
3458 (associate_trees): Delete unused var TEM.
3459 (extract_muldiv): Delete unused var CANCEL_P.
3461 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
3462 (target_isinf, target_isnan, target_negative): Add return types to
3463 function definitions.
3465 1999-11-29 Bruce Korb <autogen@linuxbox.com>
3467 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
3468 * fixinc/hackshell.tpl: ditto
3469 * fixinc/fixtests.c(double_slash_test): more C++ header testing
3470 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
3472 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
3474 * reload.c (push_reload): When looking for a register to put into
3475 reg_rtx, make sure all hard regs in a multi-reg register are in the
3476 right class and nonfixed.
3478 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
3479 pending_read_insns, pending_write_insns, pending_read_mems,
3480 pending_write_mems, pending_list_length, last_pending_memory_flush,
3481 last_function_call, sched_before_next_call): Move static variables
3483 (bb_ prefixed versions): Replace with single array bb_deps.
3484 (struct deps): New structure.
3485 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
3486 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
3487 argument of type "struct deps *"; use that instead of global
3488 variables. All callers changed.
3489 (init_rgn_data_dependencies): Delete function.
3490 (init_rtx_vector): Delete function.
3491 (init_deps): New function.
3493 (free_pending_lists): Simplify, we always use the bb_deps array even
3494 if only one basic block.
3495 (compute_block_backward_dependences): Likewise.
3496 (schedule_region): Likewise.
3498 (propagate_deps): New function, broken out of
3499 compute_block_backward_dependences.
3500 (compute_block_backward_dependences): Use it.
3502 * alpha.md: Delete useless patterns that tried to work around
3503 register elimination problems.
3505 * unroll.c (loop_iterations): Don't abort if iteration variable
3508 From Joern Rennecke:
3509 * reload1.c (reloads_conflict): Reverse test comparing operand
3510 numbers when testing for conflict between output/outaddr reloads.
3512 1999-11-29 David S. Miller <davem@redhat.com>
3514 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
3516 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
3518 1999-11-28 Robert Lipe <robertl@cygnus.com>
3520 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
3521 table from .fini into .dtor.
3523 1999-11-28 Anthony Green <green@cygnus.com>
3525 * tree.h (struct tree_decl): Add malloc_flag.
3526 (DECL_IS_MALLOC): Define.
3527 * c-common.c (attrs): Add A_MALLOC attribute.
3528 (init_attributes): Add this attribute to the table.
3529 (decl_attributes): Handle malloc attribute.
3530 * calls.c (special_function_p): Check for the malloc attribute.
3531 * extend.texi (Function Attributes): Document malloc attribute.
3533 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
3535 * pa.md (reload shift-add patterns): Remove.
3537 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3539 * reorg.c (dbr_schedule) Print more statistics. Corrected
3540 problem when printing info when 3 delay slots are filled.
3542 1999-11-28 Jakub Jelinek <jakub@redhat.com>
3544 * combine.c (setup_incoming_promotions): Pass an outgoing
3545 regno to FUNCTION_ARG_REGNO_P which it expects.
3547 1999-11-28 Andreas Jaeger <aj@suse.de>
3549 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
3551 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
3553 * cccp.c (do_include): Avoid initialization of automatic variable.
3555 * integrate.c (mark_stores): Function definition made void, to match
3556 previous declaration.
3557 * regclass.c (dump_regclass): Ditto.
3558 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
3560 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3562 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
3563 known to be multiple of divisor.
3565 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
3567 * combine.c (try_combine): Add code to try to merge a set of a
3568 two-word pseudo to a constant with a setting of one of those words
3571 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
3572 (split_tree): Completely rework to make more general.
3573 (make_range, fold): Call negate_expr.
3574 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
3575 (fold, associate): Call new split_tree and associate_trees.
3576 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
3578 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
3580 * loop.c (try_copy_prop): Avoid GNU C extension.
3582 1999-11-25 Mark Mitchell <mark@codesourcery.com>
3584 * except.c (init_eh_for_function): Still zero eh_return_context,
3585 eh_return_stack_adjust, and eh_return_handler.
3587 * except.h (eh_status): Adjust documentation for x_protect_list.
3588 (begin_protect_partials): New function.
3589 * except.c (enqueue_eh_entry): Fix formatting.
3590 (get_first_handler): Add consistency check.
3591 (add_partial_entry): Adjust usage of protect_list.
3592 (emit_cleanup_handler): Save and restore ehqueue.
3593 (expand_start_all_catch): Add comment.
3594 (begin_protect_partials): New function.
3595 (end_protect_partials): Adjust usage of protect_list.
3596 (init_eh_for_function): Use xcalloc.
3598 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3600 * c-common.c (check_format_info): Don't call a variadic function
3601 with a non-literal format string.
3603 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
3605 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
3606 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
3609 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
3612 * collect2.c (collect_wait): Likewise.
3614 * dbxout.c (dbxout_type): Likewise.
3616 * gcc.c (do_spec_1): Likewise.
3618 * genemit.c (gen_insn, gen_expand): Likewise.
3620 * genrecog.c (write_switch, write_subroutine): Likewise.
3622 * mips-tfile.c (catch_signal, botch): Likewise.
3624 * print-rtl.c (print_rtx): Likewise.
3626 * toplev.c (default_print_error_function, report_error_function,
3627 _fatal_insn): Likewise.
3629 1999-11-25 Mark Mitchell <mark@codesourcery.com>
3631 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
3633 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3635 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
3636 operations when needed.
3637 * i386.md (fop_?f_comm): New.
3638 (fop_?f_1): Do not accept commutative operands.
3640 1999-11-25 Andreas Jaeger <aj@suse.de>
3642 * config/mips/mips.md (casesi_internal): Add missing brace.
3644 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
3646 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
3647 (splice_child_die): Handle moving a child DIE from the declaration
3648 DIE of a class to its specification.
3649 (gen_struct_or_union_type_die): Use 'complete' consistently.
3650 (gen_decl_die): Generate the virtual context DIE first.
3651 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
3653 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
3655 * config/mips/mips.md (call_value_multiple_interanal1): New.
3657 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3659 * dwarf2out.c (free_AT, free_die): New fns.
3660 (remove_children): Call them.
3661 (output_line_info): Disable removal of duplicate notes.
3663 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
3664 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
3665 means pretend the type isn't defined.
3666 Don't defer emitting types.
3667 (gen_type_die_for_member): New fn.
3668 (gen_decl_die): Call it.
3669 (splice_child_die): New fn.
3670 (gen_member_die): Call it rather than generate duplicate dies.
3672 Defer emitting information for the abstract instance of an inline
3673 until we either inline it or emit an out-of-line copy.
3674 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
3675 from output_inline_function if DECL_ABSTRACT is also set.
3676 (block_ultimate_origin): Likewise.
3677 (gen_abstract_function): New fn.
3678 (gen_decl_die, gen_inlined_subroutine_die): Call it.
3679 (gen_subprogram_die): An abstract instance is not a declaration
3680 just because it doesn't match current_function_decl. Don't abort
3681 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
3682 has an abstract origin.
3683 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
3684 abstract instance here.
3686 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
3688 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
3689 where we need to reload fpul from a system register.
3691 1999-11-24 Andreas Jaeger <aj@suse.de>
3693 * config/mips/linux.h (CPP_PREDEFINES): Added.
3694 (LINK_SPEC): Remove -Y since this is only needed on sparc.
3696 1999-11-24 Andreas Jaeger <aj@suse.de>
3698 * config/mips/linux.h (TARGET_VERSION): Added.
3699 (HANDLE_SYSV_PRAGMA): Added.
3700 (DEFAULT_VTABLE_THUNKS): Added.
3702 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3704 * local-alloc.c (qty): New structure and static variable.
3705 (qty_phys_reg): Remove, all references changed to qty.
3706 (qty_n_refs): Likewise.
3707 (qty_min_class): Likewise.
3708 (qty_birth): Likewise.
3709 (qty_death): Likewise.
3710 (qty_size): Likewise.
3711 (qty_mode): Likewise.
3712 (qty_n_calls_crossed): Likewise.
3713 (qty_alternate_class): Likewise.
3714 (qty_changes_size): Likewise.
3715 (qty_first_reg): Likewise.
3716 (alloc_qty): Rename variable QTY to QTYNO.
3717 (finf_free_reg): Likewise.
3718 (local_alloc): Allocate qty, do not allocate the removed variables.
3720 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
3722 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
3723 when -membedded-pic is passed.
3725 * config/mips/mips.md (casesi): Handle 64-bit case too.
3726 (casesi_internal_di): New insn.
3728 * config/mips/mips.c (embedded_pic_offset): Always make the
3729 embedded-pic subtractions relative to the name of the current
3730 function by use of the magic string "..CURRENT_FUNCTION".
3731 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
3733 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
3735 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
3736 of (const_int 0), when what we really care about is
3737 whether it's a zero constant anyway.
3738 (div_trap_mips16): Likewise.
3740 1999-11-23 Mark Mitchell <mark@codesourcery.com>
3742 * loop.c (loop_optimize): Always find_loop_tree_blocks and
3743 unroll_block_trees when generating debuggable code.
3745 * tree.h (unsave_expr_1): New function.
3746 (lang_unsave): New variable.
3747 (get_callee_fndecl): New function.
3748 * tree.c (unsave_expr_now_r): New function.
3749 (lang_unsave): Define.
3750 (unsave_expr_1): Likewise.
3751 (unsave_expr_now_r): Split out from unsave_expr_now.
3752 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
3753 call unsave_expr_now_r.
3754 (get_callee_fndecl): Define.
3756 * Makefile.in (gencheck): Don't depend on lang_tree_files.
3757 (gencheck.o): Do depend on lang_tree_files.
3759 * integrate.h (copy_decl_for_inlining): New declaration.
3760 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
3761 (copy_decl_for_inlining): New function.
3762 (integrate_parm_decls): Use it.
3763 (integrate_decl_tree): Likewise.
3765 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
3767 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
3768 the second two from the first.
3769 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
3770 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
3771 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
3773 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
3774 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
3777 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
3779 * pa.md (call_internal_symref, call_value_internal_symref): No mode
3780 needed on the address operand.
3781 * pa.c (call_operand_address): Check for the correct mode.
3783 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
3785 * loop.c: Include "basic-block.h".
3786 (try_copy_prop, replace_loop_reg): New functions.
3787 (load_mems): Detect registers that just hold copies of the hoisted
3788 mem, and call try_copy_prop to eliminate them.
3789 * Makefile.in (loop.o): Update dependencies.
3791 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
3793 * Makefile.in (gencheck.o): Depend on gencheck.h.
3794 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
3795 (insn-peep.o): Depend on except.h and function.h.
3796 (insn-attrtab.o): Depend on RECOG_H.
3797 (insn-output.o): Depend on toplev.h and flags.h.
3798 (gengenrtl.o): Depend on real.h.
3799 (gen-protos.o): Depend on cpplib.h and cpphash.h.
3800 Unify all dependencies to be on RECOG_H rather than recog.h.
3802 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3804 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
3805 * configure.in: Try building a bi-arch 32/64-bit compiler on
3806 sparc-*-solaris2.7 and higher.
3807 * configure: Rebuild.
3809 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
3811 * config/freebsd.h: New, FreeBSD architecture independent file.
3812 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
3814 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
3815 directly by i386/freebsd.h.
3816 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
3817 independent configuration file.
3818 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
3819 directly by i386/freebsd.h.
3820 * configure: Rebuilt.
3822 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
3823 which is in the user's namespace.
3824 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
3825 `i386' which is not in our namespace.
3827 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
3829 * invoke.texi (ARM Options): Add in -mno-alignment-traps
3831 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
3833 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
3834 (add_dwarf_attr, add_child_die): Just push onto the front.
3835 (reverse_die_lists): New fn.
3836 (add_sibling_attributes): Use it.
3837 (push_decl_scope): Reorganize.
3838 (add_name_and_src_coords_attributes): Don't set file and line for
3840 (gen_subprogram_die): An artificial function doesn't need to match
3842 (gen_compile_unit_die): Return the generated die. Only add
3843 AT_comp_dir if the filename is relative.
3844 (remove_AT): Simplify loop. Also free string values.
3845 (output_die): A DIE ref can't be null.
3846 (output_value_format, value_format): Take a dw_attr_ref.
3847 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
3848 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3849 AT_addr, AT_lbl): New fns.
3850 (various): Use them.
3851 (various): Constify.
3853 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3855 * combine.c (combine_simplify_rtx): When handling a SUBREG,
3856 take SUBREG_WORD into account.
3857 (if_then_else_cond): Likewise.
3859 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
3861 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
3862 clause from BSD license, pursuant with
3864 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
3866 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
3868 * loop.c (load_mems): Reformat slightly.
3869 * basic-block.h (regset_head): New typedef.
3870 (INIT_REG_SET): New macro.
3872 1999-11-22 Bruce Korb <autogen@linuxbox.com
3874 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
3875 (mips-dec-bsd*): non-functional code
3876 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
3878 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
3879 added three replacement fixes
3880 (no_double_slash): removed comments that are not (any longer) pertinent
3881 (bad_lval): this fix currently runs against many files.
3882 The comment seems to indicate that we should select for files
3883 containing 'pragma extern_prefix'.
3885 * fixinc/fixinc.x86-linux-gnu: deleted
3886 * fixinc/inclhack.sh: regen
3887 * fixinc/fixincl.x: regen
3888 * fixinc/fixincl.sh: regen
3890 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
3892 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
3893 its code is INSN and it has no notes.
3895 1999-11-22 Andrew Haley <aph@cygnus.com>
3897 * varasm.c (function_defined): Remove.
3898 (make_function_rtl): Don't set function_defined.
3899 (make_decl_rtl): Remove global register warning.
3900 * regclass.c (no_global_reg_vars): New variable.
3901 (globalize_reg): Warn if function has already been defined.
3902 (regclass_init): Set no_global_reg_vars.
3904 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3906 * regclass.c (reg_pref): New structure and static variable
3907 (prefclass): Delete.
3909 (all uses of prefclass and altclass): Use reg_pref instead.
3911 1999-11-21 Nick Clifton <nickc@cygnus.com>
3913 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
3915 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
3916 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3917 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3919 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
3921 * varasm.c (output_constructor): Solve problem with long long
3922 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
3924 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3926 * global.c (allocno): New structure and static variable.
3927 (allocno_reg): Remove, all references replaced by allocno.
3928 (allocno_size): Likewise.
3929 (hard_reg_conflicts): Likewise.
3930 (hard_reg_preferences): Likewise.
3931 (hard_reg_copy_preferences): Likewise.
3932 (hard_reg_full_preferences): Likewise.
3933 (regs_someone_prefers): Likewise.
3934 (allocno_calls_crossed): Likewise.
3935 (allocno_n_refs): Likewise.
3936 (allocno_live_length): Likewise.
3937 (find_reg): Rename ALLOCNO to NUM.
3939 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
3941 (may_move_out_cost): New variable.
3942 (init_reg_sets_1): Initialize may_move_out_cost.
3943 (record_reg_classes): Use may_move_out_cost.
3945 * regclass.c (dump_regclass): New function.
3946 (regclass): New parameter DUMP, call DUMP_REGCLASS.
3947 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
3948 pass rtl_dump_file to regclass.
3949 * rtl.h (regclass): Update prototype.
3951 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3953 * i386.md (neg, not and abs patterns): Revmap to use
3954 ix86_expand_unary_operator and ix86_unary_operator_ok.
3955 (add?f and sub?f expanders): Force operand 1 to register.
3956 * i386.c (ix86_expand_unary_operator): Rewrite.
3957 (ix86_unary_operator_ok): Ensure that memory operands
3959 (ix86_binary_operator_ok): Do not allow operand 1 to
3960 come into memory and operand 0 not.
3961 (ix86_expand_binary_operator): Ensure that
3962 src1 is not non-matching memory.
3964 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
3965 to support integer registers and memory.
3966 (abss?2_integer): Likewise.
3968 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
3969 (REG_CLASS_NAMES): Likewise.
3970 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
3972 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
3973 (movsf): Likewise; unify 4th and 5th alternative.
3975 (movdf_1): Likewise; rename to movdf_integer.
3976 (pushxf): Likewise; rename to pushxf_integer; fix output template;
3977 remove redundant splitter.
3978 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
3979 (movdf_nointeger): New.
3980 (movxf_nointeger): New.
3981 (pushxf_nointeger): New.
3983 * i386.md (extend?f?f): Split to expander and pattern, refuse two
3984 memory operands in patterns.
3985 (fop*): Refuse two memory operands.
3987 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
3988 on !TARGET_USE_CLTD CPUs.
3990 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
3992 * extend.texi: Document C++ restricted pointers and references.
3994 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
3996 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
3997 (invalidate_skipped_set): Call it unconditionally.
3998 (cse_set_around_loop): Likewise.
4000 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
4002 * rtl.texi (mem): Add documentation for alias-set argument
4005 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4007 * i386.h (struct_processor_costs): New fields int_load, int_store,
4008 fp_move, fp_load and fp_store
4009 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
4011 (MEMORY_MOVE_COST): New macro.
4012 * i386.c (386_cost): Define new fields.
4013 (i486_cost): Likewise.
4014 (pentium_cost): Likewise.
4015 (pentiumpro_cost): Likewise.
4016 (k6_cost): Likewise.
4018 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
4019 Geoffrey Keating <geoffk@cygnus.com>
4021 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
4023 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
4026 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
4027 (TARGET_STRICT_ALIGNMENT): New macro.
4028 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
4029 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
4030 * invoke.texi (M680x0 Options): Document -mstrict-align.
4032 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
4033 Richard Henderson <rth@cygnus.com>
4035 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
4036 (ix86_split_long_move): Declare.
4037 * i386.c (split_xf, ix86_split_movdi): Remove.
4038 (ix86_split_to_parts, ix86_split_long_move): New.
4039 * i386.md (dimode move splitters): Use ix86_split_long_move.
4040 (dfmode move splitters): Likewise.
4041 (xfmode move splitters): Likewise.
4042 (movsf_1): Allow F->r.
4043 (movdf_1, movxf_1): Allow F->ro.
4045 1999-11-17 Mark Mitchell <mark@codesourcery.com>
4047 * except.h (struct eh_entry): Add goto_entry_p.
4048 (eh_region_from_symbol): Remove prototype.
4049 * except.c (find_func_region_from_symbol): New function.
4050 (emit_cleanup_handler): Likewise.
4051 (eh_region_from_symbol): Make it static.
4052 (add_new_handler): Verify the argument.
4053 (find_func_region): Update comment.
4054 (expand_eh_region_end): Expand handlers here, rater than waiting
4055 until expand_leftover_cleanups or start_all_catch.
4056 (expand_leftover_cleanups): Don't expand here.
4057 (expand_start_all_catch): Or here.
4058 (expand_rethrow): Check the return value from find_func_region.
4059 * function.c (expand_function_end): Emit the catch_clauses.
4061 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
4063 * integrate.c (expand_inline_function): Add necessary check for NULL.
4065 1999-11-18 Nick Clifton <nickc@cygnus.com>
4067 * toplev.c (main): Correctly detect an unrecognised option.
4069 * cppinit.c (cpp_handle_option): Do not claim to have consumed
4070 a -f option if it has not been recognised.
4072 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
4074 * basic-block.h (update_life_extent): Remove trailing comma on
4075 enumeration type list.
4077 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4079 * varasm.c (output_constructor) Solved problem with long long
4080 bitfields. Corrected calculating this_time and shift. Also
4081 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
4083 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
4085 * flow.c (split_edge): Take looping structure into account when
4086 determining where to put the new block note.
4088 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
4090 * Makefile.in (ggc-none.o): Provide host specific version if
4093 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
4095 * cse.c (delete_trivially_dead_insns): Identify no-op insns
4096 containing subregs too.
4098 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
4100 * invoke.texi: Add documentation for -muninit-const-in-rodata.
4101 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
4102 (TARGET_UNINIT_CONST_IN_RODATA): Define.
4103 (text_section): Add switches -munint-const-in-rodata and
4104 -mno-uninit-const-in-rodata.
4105 (ASM_OUTPUT_COMMON): Remove.
4106 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
4107 const objects should be placed in read-only data. Otherwise declare
4110 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
4112 * jump.c (jump_optimize_1): Revert last change.
4114 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
4116 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
4117 test if optimizing for size.
4119 1999-11-17 Mark Mitchell <mark@codesourcery.com>
4121 * Makefile.in (toplev.o): Depend on except.h.
4122 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
4124 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4126 * i386.md (divmodsi4): Rewrite to expander.
4127 (*divmodsi4_nocltd): New.
4128 (*divmodsi4_cltd): New.
4129 (divmodsi4 splitter): Handle the case when input comes in edx.
4130 (udivmodhi4): Do not use constraints in exander.
4131 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
4133 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
4135 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
4136 for the common case.
4138 1999-11-16 Jakub Jelinek <jakub@redhat.com>
4140 * explow.c (hard_function_value): Add outgoing argument.
4141 * expr.h (hard_function_value): Declare it.
4142 * calls.c (expand_call, emit_library_call_value): Update callers.
4143 * function.c (aggregate_value_p): Ditto.
4144 (diddle_return_value): Must look at the outgoing registers
4145 on archs with register windows.
4147 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
4149 * alpha.c (alpha_build_va_list): Use make_lang_type and
4150 initialize TYPE_NAME for the va_list record.
4152 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
4154 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
4156 * ggc.h (struct ggc_statistics): Rearrange elements for better
4157 packing on 64-bit hosts.
4158 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
4159 (compute_nearerout): Likewise.
4161 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
4163 * config/rs6000/rs6000.c (first_reg_to_save): Save
4164 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
4166 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
4168 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
4169 notion of nesting to find the DIE for a type or function.
4170 DIEs can go in limbo even if we got a context_die.
4171 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
4172 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
4174 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
4175 (gen_type_die): Writing out the context doesn't cause member class
4176 template instantiations to be written out as well.
4178 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
4180 * rs6000.h (ASM_OUTPUT_DEF): New.
4181 Based on proposed addition from David Edelsohn.
4183 1999-11-15 Robert Lipe <RobertLipe@usa.net>
4184 Bruce Korb <autogen@linuxbox.com>
4186 * fixinc/inclhack.def
4187 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
4188 (unixware7_byteorder_fix): added. Removes conflicts for new defs
4190 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
4191 (svr4_endian): enabled with SVR5
4192 (svr4_mkdev): simplified syntax and enabled with SVR5
4194 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
4196 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
4197 * configure: Rebuilt.
4198 * config/t-freebsd-thread: New file.
4200 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
4202 * i386.c (ix86_decompose_address): Verify the base is a REG
4203 before trying to examine its register number.
4205 * basic-block.h: Remove all #defines and prototypes related to
4207 (free_bb_mem, compute_preds_succs): Remove prototype.
4208 * rtl.h (free_bb_mem): Remove prototype.
4209 * flow.c (alloc_int_list_node); Remove function.
4210 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
4211 (compute_preds_succs, free_bb_mem): Likewise.
4212 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
4213 * toplev.c (rest_of_compilation): Likewise.
4214 * haifa-sched.c (build_control_flow): Use flow generated edge
4215 list to build the haifa specific edge list.
4216 (find_rgns): Use new CFG data structures instead of pred/succ lists.
4217 (schedule_insns): Do not build pred/succ lists anymore. Instead
4218 build the edge table.
4220 * basic-block.h (dump_bb_data): Remove declaration.
4221 * flow.c (dump_bb_data): Remove function.
4222 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
4223 (sbitmap_union_of_predsucc): Likewise.
4225 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
4226 argument. All callers changed.
4227 (delete_null_pointer_checks_1): No longer need to compute the
4230 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
4231 All callers changed.
4232 (pre_expr_reaches_here_p_work): Likewise.
4233 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
4234 * lcm.c (compute_laterin): Fix initialization of LATER.
4235 (compute_nearerout): Similarly for NEARER.
4237 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4239 * cse.c (set_nonvarying_address_components): Delete unused function.
4240 (refers_to_p): Likewise.
4242 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
4244 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
4247 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4249 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
4250 definition in do while (0).
4252 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
4254 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
4256 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
4258 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
4260 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
4262 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
4263 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
4264 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
4265 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
4267 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
4268 saved on the stack. Output more accurate stack frame statistics
4269 into assembler file.
4271 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
4273 * genextract.c (record_insn_name): New function.
4274 (get_insn_name): No longer a stub.
4275 (main): Call record_insn_name for each insn. After each label
4276 written, print the insn name in a comment.
4278 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4280 * output.h (const_section, init_section, fini_section): Add
4283 * alpha/elf.h (const_section): Delete declaration.
4285 * svr4.h (const_section): Likewise.
4287 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
4289 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
4290 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
4291 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
4293 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
4294 variable-sized array bounds.
4296 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
4298 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
4301 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4303 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
4304 addresses the same way GO_IF_LEGITIMATE_INDEX does.
4306 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4308 * cse.c (hash_arg_in_struct): Delete.
4309 (struct table_elt): Delete elt in_struct.
4310 (struct set): Delete elt src_in_struct.
4311 (merge_equiv_classes): Don't set either hash_arg_in_struct or
4312 the corresponding in_struct elts.
4313 (canon_hash): Likewise.
4314 (safe_hash): Likewise.
4315 (find_best_addr): Likewise.
4316 (record_jump_cond): Likewise.
4317 (cse_insn): Likewise.
4319 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
4321 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
4323 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
4326 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
4328 * function.c (diddle_return_value): Put back check that the DECL_RTL
4329 for the function is a register.
4331 * function.c (diddle_return_value): Use hard_function_value to
4332 get an rtx suitable for use in the USE/CLOBBER insn.
4334 * global.c (global_conflicts): Update comments.
4335 (record_conflicts): No need to record conflicts between pseudos here.
4337 1999-11-11 Bruce Korb <autogen@linuxbox.com>
4339 * fixinc/fixincl.c: Added verbose levels for status messages
4341 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4343 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
4344 operand as argument to expand_and or expand_binop.
4346 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
4348 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
4349 gcc_add_string_root.
4351 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
4353 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
4355 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
4357 * flow.c (compute_flow_dominators): Initially put all blocks on
4359 * lcm.c (compute_antinout_edge, compute_available): Similarly.
4360 * gcse.c (compute_cprop_avinout): Remove.
4361 (compute_cprop_data): Use compute_available.
4362 (delete_null_pointer_checks_1): Use compute_available.
4364 * basic-block.h (compute_available): Returns a void now.
4365 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
4366 to return a value anymore.
4367 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
4368 worklists. Fix boundary cases. Compute maximal solutions.
4369 (compute_laterin, compute_nearerout): Similarly.
4371 * dwarf2out.c (add_AT_location_description): Allow
4372 (mem (plus (pseudo) (...)) too.
4374 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
4376 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
4378 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
4379 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4381 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
4383 * gansidecl.h: Likewise.
4389 * toplev.h: Likewise.
4395 * varray.c: Likewise.
4397 * varray.h: Likewise.
4399 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
4401 * gcov.c (struct arcdata): Add hits and total, remove prob.
4402 (output_branch_counts): New.
4403 (process_args): Set output_branch_counts if -c.
4404 (calculate_branch_probs): Store hits and total instead of
4406 (output_data): Emit counts if output_branch_counts is true.
4407 * gcov.texi (Invoking Gcov): Document -c switch..
4409 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
4411 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
4412 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
4414 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
4416 * invoke.texi (C Dialect Options): Add missing builtins from
4418 * extend.texi (Other Builtins): Copy to this list.
4420 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4422 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
4423 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
4426 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
4428 * flow.c (compute_flow_dominators): No longer treat basic block 0
4429 or (n_basic_blocks - 1) specially. Clear the AUX field before
4430 starting computation of doms/pdoms. Fix initial state for pdoms.
4432 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4434 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
4435 match rtl.o's: added ggc.h and toplev.h
4436 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
4437 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
4438 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
4440 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
4442 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
4443 from HAVE_DOS_BASED_FILESYSTEM.
4444 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
4445 HAVE_DOS_BASED_FILESYSTEM.
4447 (split_directories): Only special-case DOS file names if
4448 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
4449 instead of explicit tests. Conditionalize on !VMS.
4450 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
4451 tests. Conditionalize on !VMS.
4452 (process_command): Only use make_relative_prefix if !VMS.
4453 (free_split_directories): Conditionalize on !VMS.
4454 (DIR_UP): Conditionalize on !VMS.
4456 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
4458 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
4460 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
4462 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
4465 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
4467 * invoke.texi (Environment Variables): Document relative path
4469 * gcc.c (DIR_UP): If not defined, define as "..".
4470 (standard_bindir_prefix): New static, holds target location to
4472 (split_directories): New function to split a filename into
4473 component directories.
4474 (free_split_directories): New function, release memory allocated
4475 by split_directories.
4476 (make_relative_prefix): New function, make a relative pathname if
4477 the compiler is not in the expected location.
4478 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
4479 can figure out an appropriate prefix from argv[0].
4480 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
4481 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
4482 STANDARD_BINDIR_PREFIX.
4484 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4486 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
4488 * config/c4x/c4x.h: Moved prototypes to c4x.h.
4489 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
4490 c4x_secondary_memory_needed) Delete.
4491 (fp_zero_operand): Add mode argument.
4493 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
4495 * reload1.c (reload_reg_free_for_value_p): Don't use a register
4496 that is in reload_reg_used.
4498 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
4500 * config/arm/arm-protos.h: New file: Prototypes for functions
4501 defined in arm.c and pe.c.
4502 * config/arm/arm.h: Fix compile time warnings.
4503 * config/arm/arm.c: Fix compile time warnings.
4504 * config/arm/pe.h: Fix compile time warnings.
4505 * config/arm/aout.h: Fix compile time warnings.
4507 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
4509 * config/m32r/m32r-protos.h: New file: Prototypes for functions
4512 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
4513 Add support for subtargets.
4514 Add prototypes for new predicates.
4515 Add scheduling macros.
4517 * config/m32r/m32r.c: Fix compile time warnings.
4518 (int8_operand): New predicate function.
4519 (reg_or_cmp_int16_operand): New predicate function.
4520 (extend_operand): New predicate function.
4521 (m32r_adjust_code): New scheduling function.
4522 (m32r_adjust_priorty): New scheduling function.
4523 (m32r_sched_init): New scheduling function.
4524 (m32r_sched_reorder): New scheduling function.
4525 (m32r_sched_variable_issue): New scheduling function.
4526 (direct_return): New codegen function.
4527 (m32r_not_same_reg): New rtl testsing function.
4529 * config/m32r/m32r.md: Fix compile time warnings.
4530 Add support for pre decrement and post increment memory
4535 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4537 * global.c (EXECUTE_IF_CONFLICT): Don't define.
4538 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
4539 (find_reg): Likewise.
4541 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
4543 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
4544 to avoid assembler errors.
4546 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
4548 * config/v850/v850-protos.h: New file: Prototypes for functions
4550 * config/v850/v850.h: Move prototypes to v850-protos.h
4551 * config/v850/v850.c: Move prototypes to v850-protos.h
4552 * config/v850/v850.md: Fix compile time warnings.
4554 * config/fr30/fr30-protos.h: New file: Prototypes for functions
4556 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
4557 * config/fr30/fr30.c: Fix compile time warnings.
4558 * config/fr30/fr30.md: Fix compile time warnings.
4560 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
4562 * tree.h (get_containing_scope): Declare it.
4563 * tree.c (get_containing_scope): New fucntion.
4564 (decl_function_context): Use it.
4565 * toplev.c (rest_of_compilation): Use get_containing_scope.
4567 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4569 * Makefile.in (rtl.o): Depend on toplev.h.
4571 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
4573 * cse.c (delete_trivially_dead_insns): Replace alloca with
4575 * except.c (update_rethrow_references): Likewise.
4576 (init_eh_nesting_info): Likewise.
4577 * function.c (identify_blocks): Likewise.
4578 * gcse.c (dump_hash_table): Likewise.
4579 * graph.c (print_rtl_graph_with_bb): Likewise.
4580 * loop.c (combine_movables): Likewise.
4581 (move_movables): Likewise.
4582 (count_loop_regs_set): Likewise.
4583 (strength_reduce): Likewise.
4584 * profile.c (compute_branch_probabilities): New function, split
4586 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
4587 * regclass.c (regclass): Likewise.
4588 * regmove.c (regmove_optimize): Likewise.
4589 * toplev.c (compile_file): Likewise.
4590 (main): Don't mess with the stack rlimit.
4592 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
4594 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
4595 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
4597 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
4599 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
4601 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
4603 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
4604 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
4607 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
4609 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
4611 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
4613 * gcse.c (post_dominators): Kill.
4614 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
4615 (compute_code_hoist_data): Use compute_flow_dominators. Do not
4616 pass in a pdom array since we do not need pdoms.
4617 * haifa-sched.c (schedule_insns): Similarly.
4618 * flow.c (compute_dominators): Remove dead function.
4619 (compute_flow_dominators): Do not compute doms or pdoms if the
4620 caller does not request them. Split up loop to build doms and
4621 pdoms. Use a worklist to compute doms and pdoms.
4622 * basic-block.h (compute_dominators): Remove prototype.
4624 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
4626 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
4627 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
4628 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
4629 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
4630 (cant_move, fed_by_spec_load, is_load_insn): Remove.
4631 (schedule_region): Remove unused variable.
4632 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
4634 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
4636 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
4637 (update_equiv_regs): Likewise.
4638 (block_alloc): Likewise.
4639 * reg-stack.c (reg_to_stack): Likewise.
4640 (convert_regs_2): Likewise.
4641 * reload1.c (reload_as_needed): Likewise.
4643 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
4645 * Makefile.in (dbxout.o): Depend on ggc.h.
4646 (dwarf2out.o): Likewise.
4647 (xcoffout.o): Likewise.
4648 * dbxout.c: Include ggc.h.
4649 (dbxout_init): Register lastfile as a root.
4650 * dwarf2out.c: Include ggc.h.
4651 (dwarf2out_line): Register lastfile as a root.
4652 * xcoffout.c: Include ggc.h.
4653 (xcoffout_source_line): Register xcoff_lastfile as a root.
4655 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
4657 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
4659 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
4661 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
4663 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
4665 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4667 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
4668 (EXECUTE_IF_CONFLICT): Likewise.
4669 (ALLOCNO_LIVE_P): Avoid signed division.
4670 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
4671 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
4672 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
4674 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
4676 * haifa-sched.c (schedule_block): Don't crash if there's no
4677 next insn for an interblock movement.
4678 (add_branch_dependences): Don't allow clobber insns to move either.
4680 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
4682 * i386.c (split_xf): New.
4683 * i386-protos.h: Declare it.
4684 * i386.md (movxf_1): Add general regs alternatives.
4685 (movxf_1+1): New splitter for same.
4687 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
4689 * function.c (purge_addressof_1): Add missing return values.
4691 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
4693 * function.c (is_addressof): New function. Returns true if
4694 the given piece of RTL is an ADDRESSOF.
4695 (purge_addressof_1): Make boolean. Return false if the
4696 ADDRESSOFs could not be purged.
4697 (purge_addressof): If ADDRESSOFs could not be purged from the
4698 notes attached to an insn, remove the offending note(s),
4699 unless they are attached to a libcall.
4701 1999-11-05 Andreas Jaeger <aj@suse.de>
4703 * genoutput.c (null_operand =): Initialize all fields.
4705 * errors.h: Add extern to prototypes.
4707 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
4709 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
4710 * configure: Rebuilt.
4712 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4714 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
4715 (mirror_conflicts): New function.
4716 (global_alloc): Call it.
4717 (expand_preferences): Remove redundant CONFLICTP test.
4718 (find_reg, dump_conflicts): Likewise.
4719 (prune_preferences): Process conflicts one word at a time.
4721 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
4723 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
4724 instead of an explicit loop.
4726 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
4728 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
4729 if REG_RETVAL check succeeds, then put classp in src_elt.
4731 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
4733 * function.c (pad_to_arg_alignment): Only update argument_pad
4734 if the argument's alignment is greater than STACK_BOUNDARY.
4736 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
4738 * bitmap.h (BITMAP_XFREE): New.
4739 * flow.c (life_analysis): Use it.
4740 (life_analysis_1): Free blocks.
4742 * combine.c (undo_commit): New.
4743 (try_combine): Use it. Don't zap undobuf.undos.
4744 (combine_instructions): Don't zap undobuf.undos; free the
4747 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
4749 * stmt.c (cost_table_): New.
4750 (estimate_case_costs): Use it instead of xmalloc.
4752 * toplev.c (compile_file): Reuse dumpname memory instead
4755 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
4757 * reg-stack.c (convert_regs_1): Initialize target_stack->top
4758 after verifying an EH edge.
4760 * haifa-sched.c (init_rgn_data_dependences): Correctly
4761 size bb_pending_lists_length when zeroing.
4763 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
4765 * function.c (diddle_return_value): New.
4766 (expand_function_end): Use it.
4767 * stmt.c (expand_null_return): Likewise.
4768 (expand_value_return): Likewise.
4770 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
4772 * reload1.c (reload): Don't remove return value clobbers.
4774 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
4776 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
4778 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
4780 * cse.c (cse_main): Use xmalloc, not alloca.
4781 (cse_basic_block): Likewise.
4782 * local-alloc.c (local_alloc): Likewise.
4784 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
4785 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4787 * rtl.c: Include toplev.h.
4788 (fatal): Remove declaration.
4790 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
4792 * haifa-sched.c (schedule_block): Fix thinko.
4794 1999-11-03 James McKelvey <mckelvey@fafnir.com>
4796 * fixinc/fixincl.c(create_file): Allow for systems that do not have
4797 S_IR* defined values
4799 1999-11-03 Philippe De Muyter <phdm@macqel.be>
4801 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
4802 call `malloc' instead.
4804 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
4806 * flags.h (flag_renumber_insns): Declare.
4807 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
4809 * rtl.h (renumber_insns): Change prototype.
4810 * toplev.c (flag_renumber_insns): Define.
4811 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
4813 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
4815 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
4816 and fpsqrtd. Use them and create fdiv function unit to more
4817 accurately represent fpu sqrt pipeline semantics on UltraSparc.
4818 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
4820 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
4822 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
4824 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
4825 insn into ready list, do not use just a raw swap.
4827 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
4829 * rtl.h (renumber_insns): New function.
4830 (remove_unnecessary_notes): Likewise.
4831 * emit-rtl.c (renumber_insns): Define.
4832 (remove_unncessary_notes): Likewise.
4833 * toplev.c (rest_of_compilation): Remove dead code.
4834 Use renumber_insns and remove_unncessary_notes.
4836 * gcse.c (struct null_pointer_info): New type.
4837 (get_bitmap_width): New function.
4838 (current_block): Remove.
4839 (nonnull_local): Likewise.
4840 (nonnull_killed): Likewise.
4841 (invalidate_nonnull_info): Take a null_pointer_info as input.
4842 (delete_null_pointer_checks_1): New function.
4843 (delete_null_pointer_checks): Use it.
4845 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
4846 (split_edges): Likewise.
4847 (schedule_block): Likewise.
4848 (compute_block_backward_dependencies): Likewise.
4849 (schedule_region): Likewise.
4850 (schedule_insns): Likewise.
4852 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
4854 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
4855 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
4856 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
4857 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
4858 * jump.c (delete_unreferenced_labels): Don't delete if
4859 LABEL_ALTERNATE_NAME is set.
4860 * print-rtl.c (print_rtx): Dump alternate name.
4861 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
4862 * rtl.h (LABEL_ALTERNATE_NAME): Define.
4863 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
4864 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
4866 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4868 * fix-header.c (recognized_extern, recognized_function): Constify
4871 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
4872 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4873 (compute_available): Remove unused variable `last'.
4874 (compute_nearerout): Remove unused variable `temp_bitmap'.
4875 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4876 Remove unused variable `x'.
4878 * scan.h (recognized_function, recognized_extern): Constify a
4881 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
4883 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4885 * varasm.c (decode_rtx_const): Use XSTR to access the string
4888 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
4890 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
4892 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4894 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
4896 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
4898 * pa.c (ireg_operand): New function.
4899 * pa.h (PREDICATE_CODES): Handle ireg_operand.
4900 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
4901 Fix out of date comment.
4903 * pa.md (negdi2): Turn into expander + anonymous pattern.
4905 * reload.c (find_reloads): Fix typos in recent change.
4907 * dwarf2out.c: Do not include ctype.h.
4909 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4911 * regclass.c (record_reg_classes): Always use may_move_cost when
4912 seeing how operand fits with various register classes.
4914 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
4916 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
4917 * toplev.c: Revert Nov 1 13:22 change.
4919 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
4921 * config/pa/pa.md (height reduction patterns): Add checks for
4922 overlapping operands to avoid semantic-destroying splits for
4923 height reduction patterns.
4925 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4927 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
4928 have been an hyphen, fixed.
4929 * configure: Rebuilt.
4931 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
4933 * config/arm/tpe.h: Add prototypes for exported functions.
4934 * config/arm/pe.c: Fix compile time warnings.
4935 * config/arm/semi.h: Fix compile time warnings.
4936 * config/arm/arm.c: Fix compile time warnings.
4937 * config/arm/arm.h: Fix compile time warnings.
4938 * config/arm/arm.md: Fix compile time warnings.
4939 * config/arm/thumb.c: Fix compile time warnings.
4940 * config/arm/thumb.h: Fix compile time warnings.
4941 * config/arm/thumb.md: Fix compile time warnings.
4943 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
4945 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
4948 * unroll.c (unroll_loop): Remove LOOP notes when loop is
4949 completely unrolled.
4951 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4953 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
4955 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
4957 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
4958 * rtl.h (rtx_equal_p): Move prototype.
4959 * rtl.c (rtx_equal_function_value_matters): Move from
4961 (rtx_equal_p): Likewise.
4962 * rtlanal.c (rtx_equal_function_value_matters): Delete.
4963 (rtx_equal_p): Likewise.
4965 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
4967 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
4970 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
4972 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
4974 * pa.h (ADDR_VEC_ALIGN): Define.
4976 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
4977 notes when presented with "if (foo) break; end_of_loop" and
4978 the break sequence gets moved out of the loop.
4980 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
4981 Remove explicit zero initializations of entries within MAP.
4983 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
4985 * reg-stack.c (convert_regs_1): Handle EH edges specially.
4987 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
4989 * bitmap.h (BITMAP_XMALLOC): New macro.
4990 * flow.c (CLEAN_ALLOCA): Remove.
4991 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
4992 (life_analysis): Likewise.
4993 (update_life_info): Don't use CLEAN_ALLOCA.
4994 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
4995 (calculate_global_regs_live): Likewise.
4996 (print_rtl_with_bb): Likewise.
4997 (verify_flow_info): Likewise.
4998 * global.c (global_alloc): Likewise.
4999 (global_conflicts): Likewise.
5000 * integrate.c (save_for_inline_nocopy): Likewise.
5001 (expand_inline_function): Likewise.
5002 * jump.c (jump_optimize_1): Likewise.
5003 (duplicate_loop_exit_test): Likewise.
5004 (thread_jumps): Likewise.
5005 * loop.c (loop_optimize): Likewise.
5006 (combine_givs): Likewise.
5007 (recombine_givs): Likewise.
5008 * reorg.c (dbr_schedule): Likewise.
5009 * unroll.c (unroll_loop): Likewise.
5011 * combine.c (combine_instructions): Use xmalloc instead of alloca.
5013 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
5015 * toplev.c (rest_of_compilation): Don't optimize the CFG
5016 when rebuilding, just before dbr.
5018 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5020 * output.h (assemble_end_function, assemble_destructor,
5021 assemble_constructor, assemble_gc_entry, assemble_global,
5022 assemble_label, output_constant_pool) Constify a char*.
5024 * varasm.c (assemble_destructor, assemble_constructor,
5025 assemble_gc_entry, assemble_end_function, assemble_global,
5026 assemble_label, output_constant_pool): Likewise.
5028 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
5030 * config/arm/thumb.c (thumb_expand_prologue): Add comments
5031 explaining what is goin on in this function.
5033 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5035 * regclass.c (record_reg_classes): In matching case, recompute
5036 costs since the direction of movement is different.
5038 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5040 * resource.c (mark_target_live_regs): For unconditional branches,
5041 the resources found at the branch target should be added to the
5042 resources found so far, not intersected.
5044 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
5046 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
5048 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
5049 (sys/mman.h): Include this file only if #HAVE_MMAP.
5050 (run_compiles): Initialize `esac_fmt' with one old KR string, not
5051 with automatically concatenated ANSI strings.
5053 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
5055 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
5056 (DIV_ROUND_UP): Robustify.
5057 (ggc_recalculate_in_use_p): New function.
5058 (release_pages): Don't inline it.
5059 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
5061 (ggc_pop_context): Use ggc_recalculate_in_use_p.
5062 (clear_marks): Always save in_use_p.
5063 (sweep_pages): Use ggc_recalculate_in_use_p.
5064 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
5065 Release pages before counting statistics.
5067 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
5069 * toplev.c (rest_of_compilation): Fix thinko in this change:
5071 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
5073 (rest_of_compilation): If inside an inlined external function,
5074 pretend we are just being declared.
5076 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
5078 * flow.c (calculate_global_regs_live): Fix thinko.
5080 * integrate.c (expand_inline_function): Fix bugs in previous
5081 change from Oct 28, 1999.
5083 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
5085 * stmt.c (expand_value_return): Fix typo in this change:
5087 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5088 (expand_value_return): Correctly convert VAL when promoting function
5089 return; support RETURN_REG being a PARALLEL.
5091 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
5093 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
5095 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5097 * hard-reg-set.h (reg_names): Constify a char*.
5099 * regclass.c (reg_names): Likewise.
5101 * regs.h (reg_names): Likewise
5103 * a29k/a29k.c (reg_names): Delete declaration.
5105 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
5107 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
5108 arc_output_function_epilogue): Likewise.
5110 * elxsi/elxsi.c (reg_names): Likewise.
5112 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
5114 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
5117 * m88k/m88k.c (output_function_profiler): Likewise.
5119 * sparc/sparc.c (sparc_flat_output_function_prologue,
5120 sparc_flat_output_function_epilogue): Likewise.
5122 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
5124 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
5125 warning from -Wuninitialized and put it under -W.
5126 * function.c (uninitialized_vars_warning): Warn only when the
5127 corresponding flag is set.
5129 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
5131 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
5132 is nonzero and the single set does not have an elt, then assign
5135 * simplify-rtx.c: New file.
5136 * Makefile.in (OBJS): Add simplify-rtx.o
5137 (simplify-rtx.o): Add dependencies.
5138 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
5139 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
5140 (cse_gen_binary, simplify_unary_operation): Delete.
5141 (simplify_binary_operation, simplify_plus_minus): Likewise.
5142 (check_fold_consts, simplify_relation_operation): Likewise.
5143 (simplify_ternary_operation): Likewise.
5144 (delete_trivially_dead_insns): Simplify the contents of the
5145 REG_EQUAL note before trying to substitute it into the source
5146 of the reg-reg copy at the end of a libcall sequence.
5148 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
5149 references/callers changed.
5151 * mn10200.c (mn10200_va_arg): Force the return value into a
5154 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
5156 * cccp.c (macroexpand): Avoid out of range accesses for omitted
5159 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
5161 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
5163 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
5165 * fold-const.c (fold): Fix thinko when optimizing comparisons
5168 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
5170 * gcc.texi (Passes): Update front-end files to their current
5173 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
5175 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
5176 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
5177 (PREDICATE_CODES): Add addition_operation.
5178 * alpha-protos.h (addition_operation): Declare.
5179 (secondary_reload_class): Likewise.
5180 * alpha.c (addition_operation): New.
5181 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
5182 * alpha.md (adddi3): Turn into expander.
5183 (*lda, *adddi_2): New.
5184 (movsf, movdf patterns): Don't preference integer regs.
5185 (movsi, movdi patterns): Don't preference fp regs.
5187 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
5189 * genrecog.c (write_switch): Check for duplicate CODE cases.
5191 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
5193 * ggc-common.c: Update pre-function commentary.
5194 * ggc-page.c: Likewise.
5196 (poison_pages): Use memset directly.
5197 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
5198 (ggc_collect): Poison before sweeping.
5199 * ggc-simple.c: Update pre-function commentary.
5200 (ggc_alloc_obj): Poison non-zeroed memory.
5202 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
5204 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
5205 match format string, even on 64-bit hosts.
5206 * gcc-page.c (ggc_page_print_statistics): Likewise.
5208 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
5210 * config/i386/i386.c (ix86_cpu): Revert last patch.
5211 * config/i386/i386.h (ix86_cpu): Ditto.
5213 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
5215 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
5216 TYPE_SIZE, convert type of result to sizetype.
5218 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
5220 * flow.c (count_or_remove_death_notes): Equate NULL with the
5223 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
5224 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
5227 * i386.c (pic_label_no): Delete.
5228 (ix86_attr_length_default): Don't use single_set to peek
5231 * recog.c (peephole2_optimize): Allow recog_next_insn to index
5232 the first insn after bb->end.
5233 * i386.md (push mem peeps): Scratch is live after evaluation
5235 (cmp mem peep): Similarly.
5237 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
5239 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
5240 * function.c (pad_to_arg_alignment): Add missing braces.
5242 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5244 * alpha/alpha-protos.h (literal_section): Add prototype.
5245 (alpha_need_linkage, alpha_start_function,alpha_end_function):
5248 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
5250 (alpha_start_function, alpha_end_function, float_strings,
5251 alpha_need_linkage): Constify a char*
5253 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
5255 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
5257 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5259 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5261 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5263 * flow.c (debug_flow_info): Add prototype.
5265 * gcc.c (main): Likewise.
5267 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
5270 * reload1.c (failed_reload, set_reload_reg): Likewise.
5272 * mips-tfile.c (main): Likewise.
5273 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
5274 with ATTRIBUTE_NORETURN.
5276 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
5278 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
5279 DECL is not a memory ref.
5281 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
5283 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
5284 * config/i386/i386.c (ix86_cpu): Add extern attribute.
5286 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
5288 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
5289 * config/mips/elf64.h: ditto.
5291 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
5293 * expr.c (emit_push_insn): New argument alignment_pad.
5294 Update all callers. Adjust stack pointer based on alignment pad.
5295 * function.c (pad_to_arg_alignment): New argument alignment_pad.
5296 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
5297 (locate_and_pad_parm): New argument alignment_pad. Update all
5299 * expr.h (emit_push_insn): Update prototype.
5300 (locate_and_pad_parm): Update prototype.
5301 * calls.c (arg_data): Add new field alignment_pad.
5302 (initialize_argument_information): Initialize alignment_pad.
5304 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
5306 * except.c (free_eh_nesting_info): Free the info itself.
5307 * function.c (free_after_compilation): Don't free NULL.
5308 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
5309 (pre_edge_insert): Free inserted.
5310 * stmt.c (free_stmt_status): Don't free NULL.
5312 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
5314 * gcov.c (DIR_SEPARATOR): Provide default.
5315 (output_data): Add test for MS-DOS format absolute filename.
5316 (fancy_abort): Correct program name.
5317 (open_files): Open all files in binary mode.
5318 * libgcc2.c (__bb_exit_func): Likewise.
5320 * profile.c (init_branch_prob): Specify binary when opening files.
5322 * flags.h (flag_unwind_tables): New decl.
5323 * toplev.c (flag_unwind_table): New definition.
5324 (f_options): Add -funwind-tables.
5325 (decode_g_option): Clarify warning when unknown -g option is given.
5326 (rest_of_compilation): If inside an inlined external function,
5327 pretend we are just being declared.
5329 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
5330 (dwarf2out_frame_finish): Likewise.
5332 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
5334 * fold-const.c (merge_ranges): If not in0, but in1, handle
5335 upper bounds equal like subset case.
5337 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
5339 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
5340 passed in a register but moved to the stack.
5342 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
5344 * gcc.c (pass_exit_codes, greatest_status): New variables.
5345 (struct option_map): Add entry for "--pass-exit-codes".
5346 (execute): Update greatest_status if error.
5347 (display_help): Add documentation for -pass-exit-codes.
5348 (process_command): Handle -pass-exit-codes.
5349 (main): Look at pass_exit_codes and greatest_status on call to exit.
5351 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5353 * reload.c (find_reloads): Refine test for no input reload
5354 case to not includes reloads emitted after insn.
5356 * function.c (find_temp_slots_from_address): Handle sum involving
5357 a register that points to a temp slot.
5358 (update_temp_slot_address): Make recursive call if both old and
5359 new are PLUS with a common operand.
5360 * calls.c (expand_call): Mark temp slot for result as having
5363 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
5365 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
5366 component as well as "BINUTILS".
5368 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
5369 * integrate.c (copy_rtx_and_substitute): Likewise.
5370 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
5371 All callers changed.
5372 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
5374 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
5375 gdb extensions, write size of type; also be more consistent
5376 in using references when this is a subtype.
5378 * pa.md (extv, extzv, insv): Use define_expand to reject constant
5379 that is out of range.
5381 * loop.c (unknown_constant_address_altered): New variable.
5382 (prescan_loop): Initialize it.
5383 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
5384 (invariant_p, case MEM): Remove handling for volatile and readonly;
5385 check new variable if readonly.
5386 (check_dbra_loop): Chdeck unknown_constant_address_altered.
5388 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
5389 (addr_affects_sp_p): Removed from note_mem_written and only
5390 define #ifdef AUTO_INC_DEC.
5392 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
5394 * regclass.c (record_reg_classes): Properly handle register move
5397 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
5398 Don't think valid if both operands are invalid.
5399 (struct constant_descriptor): New field RTL.
5400 (mark_const_hash_entry): Mark it.
5401 (record_constant{,_rtx}): Initialize it.
5402 (output_constant_def): Allocate RTL in permanent obstack and
5404 ({record,compare}_constant_1): Modes must match for
5405 CONSTRUCTOR of ARRAY_TYPE.
5407 * c-common.h (initializer_constant_valid_p): Delete decl from here.
5408 * output.h (initializer_constant_valid_p): Move decl to here.
5409 * c-common.c (initializer_constant_valid_p): Delete function from here.
5410 * varasm.c (initializer_constant_valid_p): Move function to here.
5412 * tree.h (STRIP_SIGN_NOPS): New macro.
5413 * fold-const.c (optimize_minmax_comparison): New function.
5414 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
5415 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
5416 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
5417 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
5418 widening conversions.
5419 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
5420 to look at size of mode, not precision of type; also add missing cases.
5421 (optimize_bit_field_compare, decode_field_reference): Don't try to
5422 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
5424 * dwarf2out.c (ctype.h): Include.
5425 (dwarf2out_set_demangle_name_func): New function.
5426 (size_of_line_info): Deleted.
5427 (output_line_info): Compute size of line info table from difference
5429 (base_type_die, add_name_attribute): Call demangle function, if any.
5430 (field_byte_offset): Use bits per word for variable length fields.
5431 (gen_array_type_die): Add array name.
5432 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
5433 (dwarf2out_add_library_unit_info): New function.
5435 * explow.c (set_stack_check_libfunc): New function.
5436 (stack_check_libfunc): New static variable.
5437 (probe_stack_range): Allow front-end to set up a libfunc to call.
5439 * combine.c (simplify_comparison): When making comparison in wider
5440 mode, check for having commuted an AND and a SUBREG.
5441 (contains_muldiv): New function.
5442 (try_combine): Call it when dividing a PARALLEL.
5443 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
5444 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
5446 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
5447 use one of the CLOBBERs instead.
5448 (if_then_else_cond): If comparing against zero, just return thing
5451 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
5452 Don't generate shifts and subtract if have conditional arithmetic.
5454 * rtl.h (delete_barrier): New declaration.
5455 * jump.c (jump_optimize): Set up to handle conditional call.
5456 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
5457 (delete_barrier): New function.
5459 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
5461 * recog.c (nonmemory_operand): Accept ADDRESSOF.
5463 * tree.c (build_type_attribute_variant): Push to obstack of
5464 ttype around type_hash_canon call.
5466 * expr.c (placeholder_list): Move decl to file scope.
5467 (expand_expr): Don't force access to volatile just because its
5469 If ignoring reference operations, just expand the operands.
5470 (expand_expr, case COMPONENT_REF): Propagate
5471 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
5472 Refine test for using bitfield operations vs pointer punning.
5473 (expand_expr, case CONVERT_EXPR): If converting to
5474 BLKmode UNION_TYPE from BLKmode, just return inner object.
5475 Use proper mode in store_field call.
5476 Properly set sizes of object to store and total size in store_field
5477 call for convert to union.
5478 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
5479 memory (like for ADDR_EXPR). Also, don't put constant in register if
5480 we'll want it in memory.
5481 (readonly_fields_p): New function.
5482 (expand_expr, case INDIRECT_REF): Call it if LHS.
5483 (expand_assignment): Handle a RESULT_DECL where
5484 DECL_RTL is a PARALLEL.
5485 (do_jump, case WITH_RECORD_EXPR): New case.
5486 (get_inner_reference): Always go inside a CONVERT_EXPR
5487 and NOP_EXPR if both modes are the same.
5488 (store_field): Use bitfield operations if size of bitsize is not same
5489 as size of RHS's type.
5490 Check for bitpos not a multiple of alignment in BLKmode case.
5491 Do block move in largest possible alignment.
5492 (store_constructor): Set BITSIZE to -1 for variable size and properly
5493 in case of array of BLKmode.
5494 (expand_expr_unaligned): New function.
5495 (do_compare_and_jump): Call it.
5497 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
5498 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
5499 does not include 'o'.
5501 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
5502 both SET_DEST and SET_SRC reference a virtual register.
5503 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
5505 * integrate.c (expand_inline_function): Handle case of setting
5506 virtual stack vars register (from built in setjmp); when parameter
5507 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
5508 (subst_constant): Add new parm, MEMONLY.
5509 (expand_inline_function, integrate_parm_decls): Pass new parm.
5510 (integrate_decl_tree): Likewise.
5511 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
5512 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
5513 (copy_rtx_and_substitute, case SET): Add explicit calls to
5514 copy_rtx_and_substitute for both sides.
5516 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
5518 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
5519 within INDEX_TYPE, instead of before.
5520 (fixup_gotos): Use f->target_rtl, not the next insn,
5521 since latter may be from a later fixup.
5522 (expand_value_return): Correctly convert VAL when promoting function
5523 return; support RETURN_REG being a PARALLEL.
5524 (expand_return): When checking for result in regs and having
5525 cleanup, consider PARALLEL in DECL_RTL as being in regs.
5527 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
5529 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
5530 last_nominal_fname): Mark const.
5531 (struct include_hash: name, nshort, control_macro): Mark
5533 (struct macrodef: symnam): Mark const.
5534 (struct if_stack: fname): Mark const.
5535 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
5536 (IStable): New character-syntax array which encompasses all
5537 the old is_foo arrays.
5538 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
5539 is_space): New macros for interrogating IStable.
5540 (check_macro_name): Kill last argument. All callers changed.
5542 * cppinit.c (initialize_char_syntax): Delete.
5543 (is_idchar, is_idstart, is_hor_space, is_space,
5544 trigraph_table): Delete.
5545 (IStable): New. Initialize with clever macros to avoid
5546 information duplication.
5547 (builtin_array): Table of builtins to get rid of explicit list
5548 in initialize_builtins.
5549 (initialize_builtins): Use builtins_array.
5550 (cpp_start_read): Call init_IStable, and set IStable['$'] if
5551 opts->dollars_in_ident.
5553 * cppexp.c: Change all refs to is_xyz[] arrays to use new
5555 (cpp_parse_expr): Avoid 'format string is not constant'
5556 warning. Use ISGRAPH to identify printable chars.
5557 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
5559 (read_and_prescan): Map trigraphs to chars with open-coded
5560 if-else-if-... sequence, not a lookup table.
5561 * cpphash.c: Change all refs to is_xyz[] arrays to use new
5563 * cpplib.c: Change all refs to is_xyz[] arrays to use new
5564 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
5565 (check_macro_name): Remove ability to report an invalid
5566 assertion name, which is never used.
5567 (do_line): Constify a couple of char *'s.
5568 * cppmain.c (main): Call cpp_cleanup before returning.
5570 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
5572 * ggc.h (struct ggc_statistics): New type.
5573 (ggc_get_size): New function.
5574 (ggc_print_statistics): Likewise.
5575 * ggc-common.c (ggc_stats): New variable.
5576 (ggc_mark_rtx_children): Keep statistics.
5577 (ggc_mark_tree_children): Likewise.
5578 (ggc_print_statistics): New function.
5579 * ggc-page.c (struct globals): Add bytes_mapped field.
5580 (alloc_anon): Update it.
5581 (release_pages): Likewise.
5582 (ggc_get_size): New function.
5583 (ggc_page_print_statistics): New function.
5584 * ggc-simple.c (ggc_get_size): New function.
5586 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
5588 * flow.c (propagate_block): When the last reference to a label
5589 before an ADDR_VEC is deleted because the reference is a dead
5590 store, delete the ADDR_VEC.
5592 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
5594 * resource.c (find_free_register): Don't use the frame pointer
5595 if frame_pointer_needed.
5597 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
5599 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
5600 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
5602 * config/i960/i960.c (i960_va_start): New locals base, num.
5603 Use INDIRECT_REF instead of ARRAY_REF on valist.
5604 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
5606 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
5608 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
5610 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
5612 * tree.def (PLACEHOLDER_EXPR): Update comments.
5614 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5616 * c-common.c (check_format_info): Avoid non-literal format string
5617 warnings when `first_arg_num' is zero.
5619 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5621 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
5623 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
5625 * arm.md (casesi_insn): Add a clobber of the condition code
5628 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
5630 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
5631 used by both cc1 and cc1plus.
5633 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
5635 * config/arm/arm.c: Initialise arm_structure_size_boundary to
5636 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
5637 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
5638 to the value 32 if it has not already been defined.
5639 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
5640 Override definition in arm.h with a value of 8.
5642 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
5644 * c-pragma.c (push_alignment): Don't check the return value
5647 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
5649 * sparc.h (ADJUST_COST): Fix thinko.
5651 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
5653 * cccp.c (rescan): Fixed obp pointer handling around call to
5654 check_expand subroutine.
5656 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
5658 * gcse.c (delete_null_pointer_checks): Only record non-null info
5659 for pseudos when examining stores.
5661 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
5662 splitters for these patterns. Use "#" for output templates.
5663 (addsi3_carryin_shift): New pattern.
5665 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
5667 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
5668 of the function return register into a plain REG until
5669 after function inlining is done.
5671 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
5673 * jump.c (jump_optimize_1): If we did cross-jumping, and
5674 the data will matter, rebuild the CFG.
5675 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
5676 not optimizing. Don't run shorten_branches.
5677 * toplev.c (rest_of_compilation): Run shorten_branches after
5680 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
5682 * rtl.h (note_stores): Add additional paramter.
5683 * rtlanal.c (reg_set_p_1): Take additional paramter.
5684 (reg_set_last_1): Likewise.
5685 (reg_set_p): Adjust call to note_stores.
5686 (reg_set_last): Likewise.
5687 (note_stores): Pass data parameter to worker function.
5688 * alias.c (record_set): Take additional parameter.
5689 (init_alias_analysis): Pass it.
5690 * caller-save.c (mark_set_regs): Take additional parameter.
5691 (save_call_clobbered_regs): Pass NULL to note_stores.
5692 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
5694 (record_dead_and_set_regs_1): Likewise.
5695 (reg_dead_at_p_1): Likewise.
5696 (combine_instructions): Adjust calls to note_stores.
5697 (try_combine): Likewise.
5698 (record_dead_insn): Remove.
5699 (record_dead_and_set_regs): Adjust calls to note_stores.
5700 (reg_dead_at_p): Likewise.
5701 * cse.c (invalidate_skipped_set): Take additional parameter.
5702 (cse_check_loop_start): Likewise.
5703 (cse_check_loop_start_value): Remove.
5704 (cse_set_around_loop): Adjust calls to note_stores.
5705 * flow.c (notice_stack_pointer_modification): Take additional
5706 parameter. Remove duplicate declaration.
5707 (record_volatile_insns): Adjust calls to note_stores.
5708 * gcse.c (record_set_info): Take additional parameter.
5709 (record_last_set_info): Likewise.
5710 (invalidate_nonnull_info): Likewise.
5711 (record_set_insn): Remove.
5712 (compute_sets): Adjust calls to note_stores.
5713 (last_set_insn): Remove.
5714 (compute_hash_table): Adjust calls to note_stores.
5715 (insert_insn_end_bb): Likewise.
5716 (delete_null_pointer_checks): Likewise.
5717 * global.c (mark_reg_store): Take additional parameter.
5718 (mark_reg_clobber): Likewise.
5719 (reg_becomes_live): Likewise.
5720 (global_conflicts): Adjust calls to note_stores.
5721 (build_insn_chain): Likewise.
5722 * integrate.c (note_modified_parmregs): Take additional parameter.
5723 (mark_stores): Likewise. Make it static.
5724 (save_for_inline_nocopy): Adjust calls to note_stores.
5725 (try_constants): Likewise.
5726 * integrate.h (mark_stores): Remove declaration.
5727 * jump.c (mark_modified_reg): Take additional parameter.
5728 (thread_jumps): Adjust calls to note_stores.
5729 * local-alloc.c (validate_equiv_mem_from_store): Take additional
5731 (no_equiv): Likewise.
5732 (reg_is_set): Likewise.
5733 (validate_equiv_mem): Adjust calls to note_stores.
5734 (update_equiv_regs): Likewise.
5735 (block_alloc): Likewise.
5736 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
5737 (note_addr_stored): Take additional parameter.
5738 (note_set_pseudo_multiple_uses): Likewise.
5739 (record_initial): Likewise.
5740 (prescan_loop): Adjust calls to note_stores.
5741 (strength_reduce): Likewise.
5742 (check_dbra_loop): Likewise.
5743 * regmove.c (flags_set_1): Take additional paramter.
5744 (mark_flags_life_zones): Adjust calls to note_stores.
5745 * reload1.c (mark_not_eliminable): Take additional parameter.
5746 (forget_old_reloads_1): Likewise.
5747 (reload_cse_invalidate_rtx): Likewise.
5748 (reload_cse_check_clobber): Likewise.
5749 (reload_combine_note_store): Likewise.
5750 (move2add_note_store): Likewise.
5751 (reload): Adjust calls to note_stores.
5752 (reload_as_needed): Likewise.
5753 (emit_reload_insns): Likewise.
5754 (reload_cse_regs_1): Likewise.
5755 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
5756 (reload_combine): Adjust calls to note_stores.
5757 * resource.c (update_live_status): Take additional paramter.
5758 (mark_target_live_regs): Adjust calls to note_stores.
5759 * stupid.c (find_clobbered_regs): Take additional parameter.
5760 (stupid_life_analysis): Adjust calls to note_stores.
5762 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
5764 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
5767 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
5770 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
5771 of the variable arm_structure_size_boundary.
5773 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
5775 * alias.c (init_alias_analysis): Allocate reg_known_value and
5776 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
5778 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
5779 * cse.c (cse_main): Call end_alias_analysis.
5780 * haifa-sched.c (schedule_insns): Likewise.
5781 * local-alloc. (update_equiv_regs): Likewise.
5782 * reload1.c (reload_cse_regs): Likewise.
5784 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5786 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
5787 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
5788 mapping from MASK_FPU.
5790 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
5792 * sparc.md (call): Don't bound structure return size to 0xfff.
5794 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
5796 * resource.c (mark_target_live_regs): Check that the target
5797 insn wasn't created after compute_bb_for_insn.
5799 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
5801 * ggc-page.c (poison_pages): Don't be overzealous.
5803 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
5805 * alias.c: Update comments for ADDRESS.
5806 (nonlocal_reference_p): Look inside the ADDRESS to determine if
5807 it is a local memory reference.
5809 * c-typeck.c (build_function_call): Check that the built-in
5810 function is of class BUILT_IN_NORMAL before trying to recongize
5812 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
5813 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
5815 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
5817 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
5819 (pre_gcse): Likewise.
5820 (hoist_expr_reaches_here_p): Likewise.
5821 (hoist_code): Likewise.
5822 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
5824 (pre_expr_reaches_here_p_work): ... here.
5825 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
5827 (expr_reaches_here_p_work): ... here.
5829 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
5831 * resource.c (find_basic_block): Delete.
5832 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
5833 (init_resource_info): Call compute_bb_for_insn.
5835 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
5837 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
5838 with already adjacent blocks, but no fallthru.
5839 (merge_blocks_move_successor_nojumps): Simplify.
5840 (debug_flow_info): New.
5842 * toplev.c (rest_of_compilation): Open jump1 dump file before
5843 jump and close after, as opposed to just using dump_rtl.
5845 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5847 * reload.h (earlyclobber_operand_p): Declare.
5848 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
5849 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
5850 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
5851 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
5853 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
5854 Richard Henderson <rth@cygnus.com>
5856 * emit-rtl.c (emit_block_insn_before): New.
5857 (emit_block_insn_after): New.
5858 * basic-block.h: Declare them.
5860 * bitmap.h: Protect from multiple inclusion.
5862 * recog.c (scratch_operand): Handle VOIDmode correctly.
5864 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
5866 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
5867 * function.c (assign_parms): Likewise.
5868 * global.c (global_conflicts): Clarify STACK_REGS commentary.
5870 * reg-stack.c (max_uid): Remove.
5871 (blocks, block_begin, block_end, block_drops_in): Remove.
5872 (block_stack_in, block_out_reg_set, block_number): Remove.
5873 (struct block_info_def, BLOCK_INFO): New.
5874 (enum emit_where): New.
5875 (current_block): New.
5876 (BLOCK_NUM): Remove.
5877 (mark_regs_pat, record_label_references): Remove.
5878 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
5880 (goto_block_pat, print_blocks, dump_stack_info): Remove.
5881 (reg_to_stack): Simplified test for existance of fp code. Use
5882 flow.c code. Call shorten_branches after cross-jump opt.
5883 (check_asm_stack_operands): Renamed from record_asm_reg_life.
5884 Return false if the asm doesn't use stack regs. Don't do life
5885 analysis on the asm.
5886 (emit_pop_insn): Replace function pointer arg `when' with
5887 enum `where'. Update all callers.
5888 (change_stack): Likewise. Update basic block end.
5889 (emit_swap_insn): Use current_block->head to limit reverse search
5890 for start of block. Use emit_block_insn_after.
5891 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
5892 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
5893 structure assignment instead of bcopy.
5895 (convert_regs_entry, convert_regs_exit): New.
5896 (convert_regs_1, convert_regs_2): Split out from convert_regs.
5897 Work on basic blocks and the CFG.
5898 (convert_regs): Use them.
5900 * i386.c (output_fix_trunc): Remove code for DImode input operand
5901 not at top-of-stack.
5902 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
5904 (fix_truncdi_1): Allow any mode scratch.
5906 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
5908 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
5909 * linux.h, netbsd.h, vms.h: Not here.
5911 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
5913 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
5914 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
5915 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
5916 CONDITIONAL_REGISTER_USEAGE): Use them.
5917 * config/mips/mips.c (mips_move_1word,mips_move_2words,
5918 gen_conditional_branch,override_options) : Use them.
5919 * config/mips/mips.md : Use them.
5921 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
5923 * i386.md (zero_extendqihi2): Use SImode register name with andl.
5925 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
5927 * integrate.c (function_cannot_inline_p): Don't allow inlining
5930 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5932 * c-parse.in (cast_expr): Constify.
5934 * cccp.c (special_symbol): Likewise.
5936 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
5938 * dwarf2out.c (base_type_die): Likewise.
5940 * global.c (allocno_compare): Likewise.
5942 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
5944 * regclass.c (fix_register): Likewise.
5946 * rtl.h (fix_register): Likewise.
5948 * stupid.c (stupid_reg_compare): Likewise.
5950 * toplev.c (decode_f_option): Likewise.
5952 * tree.c (build_complex_type): Likewise.
5954 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
5956 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
5958 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5960 * reload.c (find_reloads): Compute mode and nregs fields of all
5962 * reload1.c (calculate_needs_all_insns): Simplify a bit.
5963 (calculate_needs): Use precomputed mode/nregs values.
5964 (allocate_reload_reg): Likewise.
5966 (failed_reload, set_reload_reg): ... new functions.
5967 (choose_reload_regs_init): New function, mostly broken out from...
5968 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
5969 Also lose one #if 0 block.
5971 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
5973 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
5976 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
5978 * tree.h (BLOCK_TYPE_TAGS): Remove.
5979 (BLOCK_END_NOTE): Likewise.
5980 (BLOCK_LIVE_RANGE_FLAG): Likewise.
5981 (BLOCK_LIVE_RANGE_START): Likewise.
5982 (BLOCK_LIVE_RANGE_END): Likewise.
5983 (tree_block): Remove live_range_flag, live_range_var_flag, and
5984 type_tags. Remove end_note, live_range_start, and live_range_end.
5985 (remember_end_note): Remove prototype.
5986 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
5987 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
5989 * ggc-common.c (ggc_mark_tree_children): Don't mark
5990 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
5991 * integrate.c (adjust_copied_decl_tree): Remove.
5992 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
5993 * stmt.c (last_block_end_note): Remove.
5994 (init_stmt): Don't add a GC root for it.
5995 (expand_fixup): Don't set it.
5996 (remember_end_note): Remove.
5997 (expand_end_bindings): Don't set last_block_end_note.
5999 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6001 * reload1.c (reload_reg_free_for_value_p): Show
6002 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
6005 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
6007 * expmed.c (extract_bit_field): Allow for the case of non-integer
6008 objects that are smaller than a word (like SFmode on a 64-bit
6011 * loop.c (basic_induction_var): A non-integer variable which is
6012 being set by a paradoxical subreg is probably not a biv.
6014 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6016 * prefix.c (translate_name) Check for empty prefix string.
6018 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
6020 * Makefile.in (CPP_CROSS_NAME): New variable.
6021 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
6023 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
6024 names of the files to be uninstalled.
6026 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
6028 * collect2.c (IS_DIR_SEPARATOR): Define.
6029 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
6031 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
6034 * haifa-sched.c (add_dependence): Update the true dependency
6035 cache the first time we add a true dependence to the LOG_LINKS chain.
6037 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
6039 * fold-const.c (fold): Fix comment.
6041 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6043 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
6044 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
6045 dbxout_start_new_source_file, dbxout_source_file,
6046 dbxout_source_line, dbxout_finish, dbxout_type_fields,
6047 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
6049 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
6050 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
6051 (dbxout_block): Initialize variable `blocknum'.
6053 * dbxout.h (dbxout_init, dbxout_finish,
6054 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
6055 dbxout_args, dbxout_source_line): Constify a char*.
6057 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
6058 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
6059 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
6060 low_pc_attribute, high_pc_attribute, body_begin_attribute,
6061 body_end_attribute, comp_dir_attribute, sf_names_attribute,
6062 src_info_attribute, mac_info_attribute, producer_attribute,
6063 lookup_filename, generate_macinfo_entry, fundamental_type_code,
6064 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
6065 dwarfout_undef): Constify a char*.
6066 (add_incomplete_type, retry_incomplete_types): Add prototypes.
6068 * dwarfout.h (dwarfout_define, dwarfout_undef,
6069 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
6071 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
6073 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
6074 (MULTILIB_ISA_DEFAULT): New.
6075 (MULTILIB_DEFAULTS): Use it.
6076 * config/mips/mips.c (): Remove the now unnecessary definition
6077 of MIPS_ISA_DEFAULT.
6078 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
6079 unnecessary definition.
6081 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
6083 * arm.md (pic_load_addr): Add constraints to operand 1.
6085 1999-10-25 Bruce Korb <autogen@linuxbox.com>
6087 * fixinc/genfixes: Provide a means for specifying -D options to
6090 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
6092 * arm.c (arm_override_options): Correct initialization of
6093 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
6094 arm_is_strong, and arm_is_6_or_7.
6096 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
6097 (note_set_pseudo_multiple_uses): New function.
6098 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
6099 if a pseudo set in the loop exit is used elsewhere.
6101 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
6103 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
6105 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
6107 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
6108 a single load-address pattern.
6110 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
6112 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
6113 depending on whether or not line-number notes are present.
6115 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6117 * cccp.c (progname, file_buf, default_include, include_file,
6118 macrodef, definition, hashval, wchar_type, user_label_prefix,
6119 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
6120 expand_to_temp_buffer, is_system_include, base_name,
6121 absolute_filename, read_name_map, open_include_file,
6122 record_control_macro, check_precompiled, check_preconditions,
6123 pcfinclude, pass_thru_directive, create_definition,
6124 check_macro_name, comp_def_part, collect_expansion,
6125 check_assertion, read_token_list, assertion_install,
6126 assertion_lookup, eval_if_expression, conditional_skip,
6127 validate_else, skip_quoted_string, quote_string, macarg1,
6128 error_from_errno, install, lookup, hashf, dump_defn_1,
6129 perror_with_name, pfatal_with_name, main, trigraph_pcp,
6130 check_white_space, rescan, handle_directive, monthnames,
6131 special_symbol, do_include, remap_include_file, write_output,
6132 arglist, do_assert, do_unassert, do_line, do_error, do_once,
6133 do_ident, do_sccs, do_xifdef, skip_if_group,
6134 output_line_directive, macroexpand, macarg, change_newlines,
6135 initialize_builtins, make_definition): Constify a char*.
6137 * pcp.h (stringdef): Likewise.
6139 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
6141 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
6144 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
6145 Richard Henderson <rth@cygnus.com>
6147 * alias.c: Include ggc.h.
6148 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
6149 (record_set): Verify enough room in reg_base_value.
6150 (init_alias_analysis): Allocate reg_base_value with xcalloc.
6151 Register it as a GC root.
6152 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
6153 * Makefile.in (alias.o): Depend on ggc.h.
6155 * unroll.c (unroll_loop): Verify the insn before a barrier
6156 is a JUMP_INSN before checking JUMP_LABEL.
6158 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6160 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
6161 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
6162 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
6163 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
6164 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
6165 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
6167 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6169 * output.h (ctors_section, dtors_section, bss_section): Prototype.
6171 * alpha/alpha-interix.h (text_section): Delete prototype.
6172 * alpha/elf.h (text_section): Likewise.
6173 * arm/linux-elf.h (text_section): Likewise.
6174 * arm/linux-telf.h (text_section): Likewise.
6175 * c4x/c4x.h (text_section): Likewise.
6176 * dsp16xx/dsp16xx.h (bss_section): Likewise.
6177 * elfos.h (text_section): Likewise.
6178 * i386/aix386ng.h (text_section): Likewise.
6179 * i386/i386-interix.h (text_section): Likewise.
6180 * i386/sco5.h (text_section): Likewise.
6181 * i386/svr3gas.h (text_section): Likewise.
6182 * nextstep.h (text_section): Likewise.
6183 * psos.h (text_section): Likewise.
6184 * ptx4.h (text_section): Likewise.
6185 * svr3.h (text_section): Likewise.
6186 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
6188 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6190 * final.c (peephole): Delete prototype.
6192 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
6193 (pre_insert_copies): Remove unused variable `bb'.
6195 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
6198 * output.h (peephole): Add prototype.
6200 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
6202 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
6205 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
6207 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
6208 for inlined declarations.
6210 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
6212 * arm.c (logical_binary_operator): New fucntion.
6213 * arm.h (logical_binary_operator): Declare it.
6214 (PREDICATE_CODES): Handle logical_binary_operator.
6215 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
6216 output constraints. Add appropriate splitters.
6217 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
6218 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
6219 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
6221 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6223 * genoutput.c (struct operand_data): New elt eliminable.
6224 (output_operand_data): Write it.
6225 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
6226 (compare_operands): Take it into account.
6227 * recog.h (struct insn_operand_data): New elt eliminable.
6228 * reload1.c (check_eliminable_occurrences, elimination_effects): New
6230 (old_asm_operands_vec, new_asm_operands_vec): Delete.
6231 (eliminate_regs): Move code that detects changes to elimination
6232 target regs into new function elimination_effects.
6233 Delete one #if 0 block.
6234 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
6235 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
6236 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
6237 Only call eliminate_regs for real operands of the insn, not for parts
6238 of its structure or parts matched by things like match_operator.
6239 Use elimination_effects and check_eliminable_occurrences. Use
6240 copy_insn to duplicate the pattern when not in the final pass.
6242 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
6244 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
6247 1999-10-22 Bruce Korb <autogen@linuxbox.com>
6249 * fixinc/README: document the "mach" machine matching test
6250 * fixinc/fixfixes.c: Implement the #else/#endif label fix
6251 * fixinc/fixtests.c: Implement the #else/#endif label test
6252 * fixinc/inclhack.def: utilize these tests and fixes
6253 * fixinc/inclhack.sh: regen
6254 * fixinc/fixincl.x: regen
6255 * fixinc/fixincl.sh: regen
6257 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
6259 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
6262 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
6264 * gcc.1: Document exit codes.
6266 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6268 * calls.c: Include tm_p.h later, so everything we need is defined.
6270 * function.c: Likewise.
6272 * except.c: Include tm_p.h.
6274 * sparc.c: Likewise.
6275 (dwarf2out_cfi_label): Don't prototype.
6276 (check_return_regs, epilogue_renumber,
6277 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
6278 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
6279 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
6280 ultra_schedule_insn): Add static prototype.
6281 (data_segment_operand, text_segment_operand): Call itself with the
6282 proper number of arguments.
6283 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
6285 * sparc.h: Move all declarations to sparc-protos.h.
6286 (SELECT_RTX_SECTION): Pass a missing MODE argument to
6289 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
6291 * config/svr4.h (text_section, ctors_section, dtors_section): Add
6293 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
6294 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6295 ASM_OUTPUT_ASCII): Constify a char*.
6297 * sparc-protos.h: New file for sparc prototypes.
6299 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6301 * function.c (record_insns, contains): Always declare and define.
6302 (record_insns): Mark with ATTRIBUTE_UNUSED.
6304 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
6306 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
6307 to .section when outputting a .bss section to deal with multiple
6308 .bss input sections (as happens with -fdata-sections)
6309 Also output %progbits, not @progbits so the assembler doesn't treat as
6311 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
6313 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
6314 thumb parts even when building with non-thumb CPUs, by forcing
6317 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
6319 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
6320 (movdf_const_intreg_sp64): Similarly.
6322 * local-alloc.c (update_equiv_regs): Check the correct insn
6323 for pre-existing REG_EQUIV notes.
6325 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
6327 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
6328 block reached by a branch if we're not going to actually process
6331 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
6333 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
6334 a local extern function declaration.
6336 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
6338 * i386.c (ix86_expand_prologue): Properly wrap USE around
6339 reg for CALL_INSN_FUNCTION_USAGE.
6341 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
6343 * config/mips/mips.md (movdf_internal1a): Allow floating-point
6344 move between GP_REGs.
6346 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
6348 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
6349 the mode size when finding out if an offset is legal.
6351 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
6353 * basic-block.h (PROP_*): Move constants from ...
6355 (compute_bb_for_insn): Free the array before reallocating.
6356 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
6357 (allocate_reg_life_data): Reset all reg variables collected by
6359 (get_block_head_tail): Don't convert from bb to block.
6360 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
6361 (find_insn_reg_weight): Take block not bb.
6362 (schedule_block): Don't set block num for moved insns.
6363 (schedule_region): Don't update_life_info or find_insn_reg_weight.
6364 (schedule_insns): Do it here instead.
6365 * combine.c (combine_instructions): Invoke compute_bb_for_insn
6366 before update_life_info.
6367 * recog.c (split_all_insns, peephole2_optimize): Update for
6368 new arg to update_life_info.
6369 * rtlanal.c (remove_note): Cope with NULL note.
6370 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
6373 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
6375 * jump.c (jump_optimize_1): More accurately detect casesi insns.
6377 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
6378 block records so that merge_blocks_nomove will clean up correctly.
6379 (split_edge): Handle casesi insns.
6381 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
6383 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
6385 * pa.md (call, call_value): Do not emit a blockage after restoring
6388 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
6390 * c-typeck.c (c_expand_asm_operands): Fix typo.
6392 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6394 * arm.c (fpu_rhs_operand): Verify modes.
6395 (fpu_add_operand): Likewise.
6396 (di_operand): Likewise.
6397 (soft_df_operand): Likewise.
6399 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
6401 * arm.c (arm_return_in_memory): APCS rules state that the elements
6402 of a structure returned in a register must be 'integer-like'.
6404 1999-10-19 Bruce Korb <autogen@linuxbox.com>
6406 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
6407 in the source tree when the generated targets are out of date
6408 * fixinc/genfixes: Alter it to run individual fixes for make.
6409 * fixinc/README: rewrite
6410 * fixinc/inclhack.def: moved initial comments to README
6412 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
6414 * toplev.c (main): Do not generate an error message if an
6415 unrecognised command line switch is recognisable by another
6416 language. If extra_warnings are enabled, then generate a
6417 warning message instead.
6419 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
6421 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
6422 (insert_pack_attributes): Delete prototype.
6424 * c-pragma.c (default_alignment): New static variable.
6425 (push_alignment): Initialize to current effective alignment.
6426 (pop_alignment): Use to set new alignment.
6427 (insert_pack_attributes): Delete function.
6428 (handle_pragma_token): Set default_alignment as well each time
6429 a #pragma pack(<n>) is encountered.
6431 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
6433 * reg-stack.c (stack_result): Aggregates are not returned in
6436 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
6438 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
6440 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
6442 * basic-block.h (set_block_num): Declare.
6443 * flow.c (update_life_info): Don't call compute_bb_for_insn
6444 or free_basic_block_vars.
6445 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
6446 (insn_orig_block): Remove.
6447 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
6448 (schedule_block): Keep BLOCK_NUM up-to-date.
6449 (schedule_insns): Use compute_bb_for_insn.
6450 * recog.c (split_all_insns): Likewise.
6451 (peephole2_optimize): Likewise.
6453 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
6455 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
6456 if the pic register is used.
6458 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6460 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
6461 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
6462 if that tests TREE_PERMANENT.
6464 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
6466 * cse.c (invalidate_for_call): Do not remove memory references from
6467 the table here. It's handled elsewhere.
6469 * haifa-sched.c (add_dependence): Protect references to the
6470 true dependency cache with #ifdef INSN_SCHEDULING.
6471 (remove_dependence): Similarly.
6473 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
6474 to the cfg code that this is a return instruction.
6475 * mn10300.md (return_internal): Similarly.
6477 * combine.c (get_last_value): If the last set of a register
6478 is after subst_low_cuid, then we can not use it to determine
6479 the register's last value.
6481 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
6483 * Makefile.in: Back out previous change.
6485 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
6487 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
6489 * haifa-sched.c (add_dependence): Only check/update the cache
6491 (remove_dependence): Likewise.
6492 (schedule_insns): Only create the true_dependency_cache if the
6493 average number of instructions in a basic block is very large.
6495 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
6497 * Makefile.in (ggc-common.o): Depend on genrtl.h.
6498 (ggc-simple.o): Likewise.
6499 (ggc-page.o): Likewise.
6501 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
6503 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
6504 Prototype for exported functions.
6505 (pre_lcm, pre_rev_lcm): Remove prototypes.
6506 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
6507 (compute_available): Move to lcm.c, and change parameter order.
6508 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
6509 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
6510 (gcse_main): No longer call compute_preds_succs. Rebuild the
6511 set table after reach pre pass.
6512 (pre_insert_map, pre_delete_map, edge_list): New.
6513 (alloc_pre_mem): Allocate edge vectors.
6514 (free_pre_mem): Delete edge vectors.
6515 (compute_pre_data): Call new edge based lcm routines.
6516 (process_insert_insn): New function.
6517 (insert_insn_end_bb): Use it.
6518 (pre_edge_insert): New function.
6519 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
6521 (pre_insert_copies): Revamp using new edge based lcm outputs.
6522 (pre_delete): Likewise.
6523 (one_pre_gcse_pass): Insert & remove fake edges to the exit
6525 (compute_code_hoist_vbeinout): New new edge based routines.
6526 * lcm.c: Remove all the old LCM functions. Replace with new ones
6527 that work with the new cfg datastructures and work with edges
6530 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6532 * reload.h (struct reload): Add new fields "mode" and "nregs".
6533 * reload1.c: Change all occurrences of reload_mode and reload_nregs
6534 to reference the "mode" and "nregs" field within struct reload.
6536 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
6538 * haifa-sched.c (true_dependency_cache): New.
6539 (add_dependence): Use the true dependency cache to avoid expensive
6540 walks down the LOG_LINKS dependency list. Add entries to the
6542 (remove_dependence): Remove entries from the true dependency cache
6544 (schedule_insns): Allocate and initialize and free the true
6547 * haifa-sched.c (schedule_insns): Do not remove inter-block
6548 dependencies anymore.
6550 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
6552 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
6553 * i386/t-winnt: Likewise.
6555 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
6557 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
6559 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
6561 * Makefile.in (LANGUAGES): Omit "proto".
6562 (clean): Remove stale comment about removing unprotoize.c.
6564 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6566 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
6567 using arithmetic on void pointers.
6569 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
6571 * haifa-sched.c (compute_block_forward_dependencies): Only check
6572 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
6574 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
6576 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
6577 (expr_equiv_p): Reject memories with different alias sets.
6579 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
6581 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
6582 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
6583 (f_options): Add "bounded-pointers" and "bounds-check" entries.
6584 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
6585 (lang_init): Set default for flag_bounds_check if still "unspecified".
6587 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6589 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
6591 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6593 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
6596 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6598 * config/c4x/c4x.md (*db_noclobber,
6599 *decrement_and_branch_until_zero_noclobber): New patterns and
6600 associated splitters.
6602 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6604 * config/c4x/c4x.md (parallel instruction patterns): Rework
6605 constraints to keep reload happy.
6607 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6609 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
6610 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
6611 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
6612 Add new patterns and associated post-reload splitters.
6614 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6616 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
6618 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6620 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
6622 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
6624 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6626 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
6629 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
6631 * pa.c (move_operand): Rely on memory_address_p to determine the
6632 validity of non-indexed memory addresses.
6633 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
6634 operand in DFmode and SFmode when generating PA2.0 code.
6636 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
6638 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
6640 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
6642 * mips.c (function_prologue): Fix argument types.
6643 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
6644 (casesi_internal): Write to the scratch register.
6646 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
6648 * cppexp.c (cpp_parse_escape): Make static. Change second arg
6650 (parse_charconst): Delete unnecessary cast when calling
6652 (cpplib.h): Kill prototype of cpp_parse_escape.
6654 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
6656 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
6657 * unroll.c (unroll_loop): Cast return value of alloca.
6658 * i370/i370.c: Include function.h and toplev.h.
6659 (i370_label_scan): Remove c++ commented abort.
6660 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
6661 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
6662 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
6663 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
6665 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
6667 * config/t-freebsd: Do not override USER_H.
6668 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
6670 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
6671 Mumit Khan <khan@xraylith.wisc.edu>
6673 * c-parse.in (component_decl): Support anonymous struct/union.
6675 * c-parse.y: Regenerate.
6676 * c-parse.c: Likewise.
6677 * objc/objc-parse.y: Likewise.
6678 * objc/objc-parse.c: Likewise.
6679 * c-decl.c (finish_struct): Don't sort the fields.
6680 (field_decl_cmp): Delete unused function.
6682 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
6684 * sparc.md (movsf_const_intreg): Revert last constraint change.
6685 (movdf_const_intreg_sp32): Likewise.
6687 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
6689 * cse.c: Include hashtab.h instead of splay-tree.h
6690 (struct cse_reg_info): No longer use variant union. Add new
6691 field "regno". All references changed to avoid union.
6692 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
6693 (free_cse_reg_info): Remove.
6694 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
6695 (get_cse_reg_info): Revamp to use expandable hash tables instead
6696 of splay trees. Initialize new fields in cse_reg_info structure.
6697 (new_basic_block): Similarly.
6699 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
6701 * genrecog.c (message_with_line): Prototype.
6702 (validate_pattern): Pass along the set for the dest, not a flag.
6703 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
6704 Check for PC/CC0 as sources.
6705 (nodes_identical): Check for children position match before
6706 allowing the combination.
6708 * rtl.c (read_rtx): Track line number across \\\n.
6710 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
6712 * mips.h (SPECIAL_MODE_PREDICATES): New.
6713 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
6714 (movdi+1, movsi+1): Add output reload constraint.
6715 (casesi_internal): Likewise. Fix commentary.
6716 (return_internal): Use pmode_register_operand.
6718 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
6720 * 1750a.md (movstrqi): Add missing output reload constraint.
6721 (call_value): Likewise.
6722 * a29k.md (cpxxx patterns): Add missing match_operator mode.
6723 (jmpfdec): Add missing inout reload constraint.
6724 * elxsi.md (addsi patterns): Add missing output reload constraint.
6725 (move from sp): Use @ alternates.
6726 (call_value): No constraint on output.
6727 * fr30.md (movsi_pop): Add missing output reload constraint.
6728 (movsf_constant_store): Likewise.
6729 (splits): Remove constraints.
6730 (subsi3): Add missing mode.
6731 * i370.md (cmpstrsi+1): Add missing output reload constraint.
6732 (call_value): Likewise.
6733 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
6734 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
6735 * m32r.md (movsicc_internal): Add output reload constraint.
6736 (movstrsi_internal): Add inout reload constraints.
6737 * m88k.h (reg_names): Don't declare.
6738 (SPECIAL_MODE_PREDICATES): New.
6739 * m88k.md (*): Use register_operand not reg_or_0_operand
6741 * mn10200.h (PREDICATE_CODES): New.
6742 * ns32k.md (ffs pattern): Add output reload constraint.
6743 * pdp11.md (sob pattern): Add inout reload constraint.
6744 * sh.md (splits): Remove constraints.
6745 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
6746 * v850.md (pattern_is_ok_for_epilogue): Likewise.
6747 * vax.md (jgequ pattern): Add inout reload constraint.
6749 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
6751 * configure.in (djgpp): Revert previous patch.
6752 * configure: Rebuit.
6753 * config/i386/djgpp.h: Revert previous patch.
6755 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
6757 * fixinc/inclhack.def: Restore patch lost during last merge of
6758 "no_bogosity" branch.
6759 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
6761 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
6763 * fixincludes: Add a HPUX 11 fix for inttypes.h.
6764 * fixinc/inclhack.def: Same.
6765 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
6767 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
6769 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
6770 as the base of a PLUS.
6772 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6774 * config/c4x/c4x.md: Define mode for remaining unspec operators.
6775 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
6777 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
6779 * pa.md (post_stw+1): Use pmode_register_operand.
6780 (dcacheflush, icacheflush): Likewise.
6782 * i386.md (movstricthi_1): Allow r/r.
6784 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
6786 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
6787 to (not (and (arg0) (arg1))). Similary for and.
6789 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
6790 fallthrough to associate code.
6791 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
6794 * combine.c (simplify_logical): Convert XOR to IOR if operands have
6795 no bits in common; remove XOR to ROTATE conversion.
6797 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6799 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
6801 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6803 * config/c4x/c4x.c (dst_operand): New.
6804 (PREDICATE_CODES): Update.
6805 * config/c4x/c4x.h (dst_operand): Declare it.
6806 * config/c4x/c4x.md: Define mode for each unspec usage.
6807 (move patterns): Use dst_operand predicate instead of src_operand.
6808 (movqi_update, movqf_update): Delete.
6810 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
6812 * recog.c (pmode_register_operand): New.
6813 * recog.h: Declare it.
6814 * genrecog.c (pred_codes): Likewise.
6815 (special_mode_pred_table): Likewise.
6816 (validate_pattern): Don't warn no mode for address_operand.
6818 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
6819 if the operand is not insn-like.
6821 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
6822 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
6824 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
6826 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
6828 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
6829 instead of general_operand in a SET_DEST. Use const_double_operand
6830 instead of an explicit test against CONST_DOUBLE.
6831 (movsf_const_lo): Add missing register mode.
6832 (goto_handler_and_restore): Add auxiliary test for Pmode.
6833 (flush): Adjust to use address_operand.
6834 (return_sf_no_fpu): Add missing output constraint.
6836 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
6838 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
6839 for call return value.
6840 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
6842 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
6844 * toplev.c (main): Only warn about options for other languages.
6845 * collect2.c (main): Pass -w to sub-gcc.
6847 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
6849 * flow.c (propagate_block): Add call-clobbered registers to
6852 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
6853 zapping mem_set_list.
6854 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
6855 (mark_set_1, mark_used_regs): Likewise.
6857 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
6859 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
6861 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6863 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
6864 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
6865 options. Also add a new item "C-only Warning Options" to the
6868 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
6870 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
6871 from multiple calls.
6873 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
6875 * i386.md (call value patterns): Move to the end of the file.
6876 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
6878 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
6880 * configure.in (djgpp configuration): Define extra_objects..
6881 * configure: Rebuilt.
6882 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
6883 (DTORS_SECTION_ASM_OP): Define.
6884 (INIT_SECTION_ASM_OP): Define.
6885 (FINI_SECTION_ASM_OP): Define.
6886 (DATA_SECTION_ASM_OP): Define.
6887 (TEXT_SECTION_ASM_OP): Define.
6888 (EH_FRAME_SECTION_ASM_OP): Define.
6889 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
6890 (STARTFILE_SPEC): Add crtbegin.o.
6891 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
6892 to here from LINK_COMMAND_SPEC.
6893 (DO_GLOBAL_CTORS_BODY): Define.
6894 (CRTSTUFF_USE_FINI_SECTION): Define
6895 (HAS_INIT_SECTION): Delete.
6897 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
6899 * Makefile.in (all.cross): Depend on xcpp$(exeext).
6901 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
6903 * pa.h (PREDICATE_CODES): New.
6905 * genrecog.c (validate_pattern): Condense the destination
6908 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
6910 * alpha.md (call-1): Supply missing mode for operator.
6911 (*): Add missing output reload constraints. Remove constraints
6914 * i386.h (SPECIAL_MODE_PREDICATES): New.
6915 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
6916 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
6917 (addsi_lea_3): Add missing mode for op 3.
6918 (prologue_set_got, prologue_get_pc): Add missing modes.
6919 (*) Add missing output reload constraints.
6921 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
6923 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
6924 check for member bit-size overflow and use var_size if it occurs.
6925 (layout_record): Use bitsize_int() to define the type size in bits.
6926 Likewise for computation and assignment to DECL_FIELD_BITPOS.
6927 (layout_decl): Likewise when assigning to DECL_SIZE.
6929 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
6931 * genrecog.c (validate_pattern): Typo last change. Verify
6932 that output operands have output reloads.
6934 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
6936 * genrecog.c (special_mode_pred_table): New.
6937 (NUM_SPECIAL_MODE_PREDS): New.
6938 (find_operand): New.
6939 (validate_pattern): New argument `insn'. Warn for assignment to
6940 any predicate accepting non-lvalues. Conditionaly warn for
6941 match_operand without a mode. Try much harder to match source
6942 and destination modes on a set.
6943 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
6945 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
6947 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
6949 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
6951 * combine.c (simplify_logical): Recognize xor pattern that encodes
6954 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6956 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
6959 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
6961 * ggc-page.c (MAP_FAILED): Provide default.
6963 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
6965 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
6966 * sparc.h (PREDICATE_CODES): Update.
6968 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
6970 * alpha.c (some_ni_operand): New.
6971 * alpha-protos.h: Declare it.
6972 * alpha.h (PREDICATE_CODES): Update.
6973 * alpha.md (sXaddq reload insns): Use some_ni_operand
6974 for SET_DEST instead of some_operand.
6976 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
6977 Jim Wilson <wilson@cygnus.com>
6979 * genrecog.c (maybe_both_true_2): Don't compare modes of
6981 (process_tree): Elide peephole2_insns. Invoke simplify_tests
6982 after find_afterward.
6983 (debug_decision_1): Dump next and afterward codes.
6985 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
6987 * rtl.c (dump_and_abort): Remove.
6988 (fatal_with_file_and_line): New.
6989 (fatal_expected_char): New.
6990 (read_rtx_lineno, read_rtx_filename): New.
6991 (read_skip_spaces): Track line number.
6992 (read_name): Use fatal_with_file_and_line.
6993 (read_rtx): Use fatal_expected_char. Track line number.
6994 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
6996 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
6997 if it isn't a CODE_LABEL.
6999 * genattr.c (main): Set read_rtx_filename.
7000 * genattrtab.c (main): Likewise.
7001 * gencodes.c (main): Likewise.
7002 * genconfig.c (main): Likewise.
7003 * genemit.c (main): Likewise.
7004 * genextract.c (main): Likewise.
7005 * genflags.c (main): Likewise.
7006 * genopinit.c (main): Likewise.
7007 * genoutput.c (main): Likewise.
7008 * genpeep.c (main): Likewise.
7010 * genrecog.c (decision_test.u.insn): Add `lineno'.
7011 (pattern_lineno, error_count): New variables.
7012 (message_with_line): New.
7013 (add_to_sequence): Break out checking code to ...
7014 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
7015 (merge_insn): Use message_with_line.
7016 (make_insn_sequence): Use validate_pattern. Record insn lineno.
7017 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
7019 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7021 * expr.c (store_constructor): Clear union if constructor is empty.
7023 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
7025 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
7026 Add !endian checks. Change %{...} to %(...).
7028 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
7030 * i386.md (*addsi3_cc): Renamed from addcsi3.
7031 (*addsi3_carry): Renamed from addxsi3.
7032 (*subsi3_cc): Renamed from subcsi3.
7033 (*subsi3_carry): Renamed from subxsi3.
7034 (*xorqi_cc_1): Renamed from xorcqi_1.
7035 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
7036 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
7038 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
7040 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
7041 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
7043 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
7045 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
7046 climb up the chain of insns.
7048 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
7050 * genrecog.c (write_subroutine): Careful for null trees.
7051 (process_tree): Don't elide empty functions.
7053 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
7055 * Makefile.in (genrtl.o): Depend on ggc.h.
7056 * configure.in (valloc): Probe for it.
7057 (with-gc): Use ggc-page if valloc present.
7058 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
7059 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
7060 (ggc_alloc_string): Moved from ggc-page.c.
7061 * ggc-none.c (ggc_alloc_obj): New.
7062 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
7063 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
7064 (struct globals): Likewise for dev_zero_fd.
7065 (init_ggc): Likewise for it's initialization.
7066 (ggc_allocated_p): Move careful dereference from ...
7067 (ggc_lookup_page_table): ... here. Delete.
7068 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
7069 (alloc_anon): Use valloc if no mmap.
7070 (release_pages): Use free if using valloc.
7071 (ggc_alloc_obj): Renamed from alloc_obj.
7072 (ggc_set_mark): Renamed from mark_obj.
7073 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
7074 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
7075 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
7076 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
7077 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
7078 (ggc_collect): Use fp printing instead of our own rounding.
7079 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
7080 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
7081 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
7082 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
7083 (struct ggc_string, struct ggc_any): Delete.
7084 (offsetof): Provide default definition.
7085 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
7087 (struct ggc_mem): New, from corpse of ggc_any.
7088 (struct ggc_status): Delete.
7089 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
7090 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
7091 (n_strings_collected, n_anys_collected): Delete.
7092 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
7093 (ggc_alloc_string, ggc_alloc): Delete.
7094 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
7095 (ggc_free_string, ggc_free_any): Delete.
7096 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
7097 (ggc_compare_addresses, ggc_mark_string): Delete.
7098 (ggc_mark_string_if_gcable, ggc_mark): Delete.
7099 (search_data): Delete.
7100 (struct globals): New.
7101 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
7102 (tree_insert, tree_lookup): New.
7103 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
7104 (clear_marks, sweep_objs): New.
7105 (ggc_collect): Gut. Use clear_marks, sweep_objs.
7106 (init_ggc): Set allocated_last_gc.
7107 (ggc_push_context): Gut. Use G.context.
7108 (ggc_pop_context): Likewise.
7109 (ggc_pop_context_1): New.
7110 (debug_ggc_tree): New.
7111 (debug_ggc_balance, tally_leaves): New.
7112 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
7113 (ggc_mark_string_if_gcable): Remove decl.
7114 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
7115 (ggc_mark_rtvec_children): New.
7116 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
7117 (ggc_mark_if_gcable): New decl.
7118 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
7119 (ggc_alloc_tree, ggc_alloc): Likewise.
7120 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
7121 (ggc_alloc_obj): New decl.
7122 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
7123 (ggc_alloc_tree, ggc_alloc): Likewise.
7124 (ggc_set_mark): New decl.
7125 * rtl.h (struct rtx_def): Remove gc_mark.
7126 (struct rtvec_def): Likewise.
7127 * tree.h (struct tree_common): Likewise.
7129 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
7131 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
7132 float_format and thread_file definitions.
7133 * configure: Rebuilt.
7135 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
7137 * extend.texi (Function Names): Document types of function names.
7139 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7141 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
7142 an earlyclobbered output conflict with RELOAD_INPUT reloads.
7144 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7146 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
7148 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7150 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
7152 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
7154 * collect2.c (main): Do prelimnary link on AIX if rflag.
7156 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7158 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
7159 __CTOR_LIST__ in opposite order, which is the correct order for sorted
7161 (__do_global_dtors): similarly for __DTOR_LIST__.
7163 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7164 Diego Novillo <dnovillo@cygnus.com>
7166 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
7169 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
7171 * fixincl/*: Merged "no_bogosity" branch
7172 * fixincl/fixlib.h: protect against doubly defining t_bool
7173 * fixincl/server.h: protect against doubly defining t_bool
7175 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
7177 * genoutput.c: Include toplev.h.
7179 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
7181 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7183 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
7184 * configure: Regenerate.
7186 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
7188 * gcse.c (delete_null_pointer_checks): Returns void.
7190 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7192 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
7193 * emit-rtl.c (copy_insn_1): Likewise.
7195 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
7197 * config/mips/mips.c (mips_build_va_list): Correct
7198 TREE_CHAIN setting when hard-float.
7199 (mips_va_start): Use corrected setting.
7200 (mips_va_arg): Likewise. Also pass a tree to build of
7201 POSTINCREMENT_EXPR rather than a naked 'int'.
7203 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
7205 * ggc.h (ggc_push_context): Fix comment.
7206 (ggc_pop_context): Likewise.
7207 (mark_string_if_gcable): Likewise.
7208 * ggc-common.c (ggc_mark_rtx_children): Use
7209 ggc_mark_string_if_gcable.
7210 * ggc-page.c (ggc_lookup_page_table): New function.
7211 (ggc_allocated_p): Likewise.
7212 (mark_obj): Fix formatting.
7213 (ggc_mark_string_if_gcable): New function.
7214 * ggc-simple.c (ggc_allocated_strings): New variable.
7215 (ggc_strings_used): Likewise.
7216 (ggc_compare_addresses): New function.
7217 (ggc_pop_context): Pop the `any' memory too.
7218 (ggc_mark_string_if_gcable): New function.
7219 (ggc_collect): Initialize and tear down ggc_allocated_strings.
7221 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
7223 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
7224 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
7225 * rs6000.c (expand_block_move): Match movstrsi_?reg register
7228 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
7230 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
7231 (sched_reg_live_length, sched_reg_basic_block): Delete.
7232 (current_block_num, bb_live_regs, old_live_regs): Delete.
7233 (dead_notes, struct sometimes): Delete.
7234 (sched_note_set, birthing_insn_p): Delete.
7235 (adjust_priority): Gut useless reg lifetime code.
7236 (create_reg_dead_note, attach_deaths): Delete.
7237 (attach_deaths_insn, new_sometimes_live): Delete.
7238 (finish_sometimes_live): Delete.
7239 (find_pre_sched_live, find_post_sched_live): Delete.
7240 (update_reg_usage): Delete.
7241 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
7242 (schedule_insns): Delete reg lifetime code.
7243 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
7244 (unlink_other_notes): Adjust REG_NOTE commentary.
7245 (reemit_notes): Use REG_SAVE_NOTE.
7246 (schedule_block): Likewise.
7247 (schedule_region): Allocate bitmap of blocks in region. Use
7248 count_or_remove_death_notes. Use update_life_info.
7250 * rtl.h (REG_SAVE_NOTE): New.
7251 * rtl.c (reg_note_name): Update.
7253 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
7255 * combine.c (refresh_blocks, need_refresh): New.
7256 (combine_instructions): Allocate refresh_blocks. Invoke
7257 update_life_info if needed.
7258 (distribute_notes): Mark refresh_blocks instead of installing
7260 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
7261 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
7263 * Makefile.in (recog.o): Depend on basic-block.h.
7265 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
7267 * genrecog.c (add_to_sequence): Thinko last change: delete
7268 shadowing allow_const_int variable.
7270 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7272 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
7273 __GNUC__ and __GNUC_MINOR__.
7275 * gansidecl.h: Likewise.
7281 * toplev.h: Likewise.
7287 * varray.c: Likewise.
7289 * varray.h: Likewise.
7291 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7293 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
7294 use one before a jump table.
7296 * rtl.def (ADDRESS): Change documentation to match reality.
7297 * md.texi: Don't document it.
7298 * gmicro.md (load address pattern): Use 'p' constraint, delete use
7301 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
7303 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
7305 * genrecog.c (add_to_sequence): Move allow_const_int test outside
7306 known predicate block; default allow_const_int true.
7307 (debug_decision_list): New.
7309 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
7311 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
7313 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
7315 * gcse.c (gcse_main): Avoid global optimizations if we have a
7316 large number of basic blocks and the ratio of edges to blocks
7318 (delete_null_pointer_checks): Likewise.
7320 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
7322 * c-common.c (check_format_info): Warn if format string isn't a
7325 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7327 * configure.in (arm*-*-*): Don't let autoconf remove brackets
7328 * configure: regenerate
7330 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
7332 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
7333 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
7334 (peepholes): Re-enable.
7336 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
7338 * Makefile.in (flow.o): Depend on TREE_H.
7339 * basic-block.h (REG_SET_EQUAL_P): New.
7342 (free_regset_vector): Remove declaration.
7343 (flow_delete_insn_chain): Declare.
7344 (enum update_life_extent): New.
7345 (update_life_info, count_or_remove_death_notes): Declare.
7346 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
7347 Verify register live at bb->global_live_at_start before adding USE.
7348 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
7349 (CLEAN_ALLOCA): New.
7351 (PROP_*): New flags.
7352 (find_basic_blocks_1): Use alloc_EXPR_LIST.
7353 (clear_edges): Zero n_edges.
7354 (make_edge): Increment n_edges.
7355 (split_edge): Don't allocate bb->local_set. Increment n_edges.
7356 (flow_delete_insn_chain): Export.
7357 (delete_block): Decrement n_edges.
7358 (merge_blocks_nomove): Likewise.
7359 (life_analysis): Give life_analysis_1 PROP flags.
7360 (verify_wide_reg_1, verify_wide_reg): New.
7361 (verify_local_live_at_start): New.
7362 (update_life_info): Rewrite to call into propogate_block.
7364 (mark_regs_live_at_end): After reload, if epilogue as rtl,
7365 always mark stack pointer. Conditionally mark PIC register.
7366 After reload, mark call-saved registers, return regsiters.
7367 (life_analysis_1): Accept PROP flags not remove_dead_code.
7368 Call mark_regs_live_at_end before zeroing regs_ever_live.
7369 Use calculate_global_regs_live. Copy global_live_at_end before
7370 calling final propagate_block. Zero reg_next_use on exit.
7371 (calculate_global_regs_live): New.
7372 (allocate_bb_life_data): Don't allocate bb->local_set.
7373 (init_regset_vector, free_regset_vector): Remove.
7374 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
7375 Test flags before every operation. Warn if prologue/epilogue insn
7376 would have been deleted.
7377 (mark_set_regs, mark_set_1): Accept and use FLAGS.
7378 Use alloc_EXPR_LIST.
7379 (mark_used_regs): Accept and use FLAGS, not FINAL.
7380 Remove special handling for RETURN.
7381 (try_pre_increment): Use alloc_EXPR_LIST.
7382 (dump_flow_info): Dump n_edges.
7383 (unlink_insn_chain, split_hard_reg_notes): Remove.
7384 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
7385 (find_insn_with_note, new_insn_dead_notes): Remove.
7386 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
7387 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
7388 (replace_insns): Remove.
7389 (count_or_remove_death_notes): New.
7390 (verify_flow_info): Abort on error after all checks.
7391 (remove_edge): Decrement n_edges.
7392 (remove_fake_edges): Tweek format.
7393 * haifa-sched.c (schedule_insns): Use split_all_insns.
7394 * output.h (update_life_info): Remove declaration.
7395 * recog.c (split_all_insns): From the corpse of split_block_insns,
7396 do the whole function block by block. Use update_life_info.
7397 (recog_last_allowed_insn): New.
7398 (recog_next_insn): Mind it.
7399 (peephole2_optimize): Set it. Walk backwards through blocks.
7400 Use update_life_info.
7401 * rtl.h (update_flow_info, replace_insns): Remove declarations.
7402 (split_all_insns): Declare.
7403 * toplev.c (rest_of_compilation): Thread prologue before flow2.
7404 Use split_all_insns.
7406 * i386.md (or -1 peep2s): Disable.
7408 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
7410 * config/mips/mips.md (movstrsi+[123]) : Combine these into
7411 a single pattern. Scrap the 'd' versions as unnecessary.
7413 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
7414 tablejump_mips162,tablejump_internal4): The operands to a
7415 label_ref must be VOIDmode.
7417 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7419 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
7421 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
7423 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
7425 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
7427 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
7428 cache every function if ggc_p.
7430 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7432 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
7433 instead of copy_rtx. Accept sequences that contain asm statements.
7434 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
7435 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
7436 orig_asm_operands_vector, copy_asm_operands_vector,
7437 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
7439 * rtl.h (copy_insn, copy_insn_1): Declare.
7441 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7443 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
7445 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
7446 arguments to `current_file_function_operand'.
7448 * genrecog.c: Include hard-reg-set.h and resource.h in the
7449 generated output file.
7451 * real.c: Include tm_p.h.
7453 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7455 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
7458 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
7460 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
7461 before the fctiwz insn.
7463 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7464 Mark Mitchell <mark@codesourcery.com>
7466 * tree.c (make_lang_type_fn): New funtion pointer.
7467 (make_lang_type): Call it.
7468 * tree.h (make_lang_type): Declare.
7469 (make_lang_type_fn): Likewise.
7470 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
7472 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
7474 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
7475 make sure that HIGH instructions are copied into BASE_REGS.
7477 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
7479 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
7481 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
7483 * c-decl.c (finish_struct): Use simpler method of
7484 removing elements of a singly-linked list.
7486 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
7488 * alpha.md (peephole2's): Comment out peephole2's that generate
7491 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
7493 * genrecog.c (add_to_sequence): Disable mode check for
7496 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7498 * ggc-simple.c (init_ggc): Set empty_string.
7500 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
7502 * configure.in: Detect mmap. Add --with-gc=foo to select
7503 garbage collector; default to page if mmap available.
7504 * Makefile.in (GGC): Substitute.
7506 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
7508 * c-decl.c (ggc_p): Enable.
7510 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7512 * flow.c (verify_flow_info): Make it extern & unconditionally define.
7514 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
7516 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
7517 string for little-endian-data.
7519 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
7521 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
7522 case somebody tries to compile --enable-checking code with gcc
7525 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
7527 * genrecog.c (add_to_sequence): Verify operand to label_ref is
7530 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
7532 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
7533 * jump.c (jump_optimize_1): Document why.
7535 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7537 * collect2.c (scan_prog_file, scan_libraries): Prototype function
7538 pointers and casts for `int_handler' and `quit_handler'.
7540 * flow.c (verify_flow_info, split_hard_reg_notes,
7541 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
7542 remove_edge, remove_fake_successors): Add static prototypes.
7543 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
7544 (mark_set_1): Initialize variable `regno'.
7545 (unlink_insn_chain): Likewise for variable `curr'.
7546 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
7548 * loop.c (strength_reduce): Initialize variable
7549 `unrolled_insn_copies'.
7550 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
7551 prototypes. Change these functions to take const PTR parameters
7552 to avoid prototype conflict when used as the comparson argument
7554 (check_dbra_loop): Initialize variable `comparison_val'.
7556 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
7557 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
7558 (find_valid_class): Initialize variable `best_class'.
7559 (find_reloads): Call memcpy, not bcopy.
7561 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
7562 (hard_reg_use_compare): Don't needlessly cast away const.
7563 (reload_reg_class_lower): Likewise.
7564 (choose_reload_regs): Initialize variable `regno'.
7566 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
7568 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
7570 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
7572 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
7573 ({,d}discard): Add forward declarations. Declare parameter as
7575 (main_without_main): Explicitly declare return type to be int.
7576 (memcpy): Properly declare.
7578 * libgcc2.c (toplevel): If inhibit_libc is defined and not
7579 building the trampoline support, declare malloc, free, and
7581 (__clear_cache): Mark arguments as potentially unused.
7583 * frame.c (toplevel): If inhibit_libc is defined, declare
7586 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
7588 * flow.c (make_edge): Accept an optional 2D bitmap in which
7589 to cache edge existence. Update all callers.
7590 (make_label_edge, make_eh_edge): Pass through the edge cache.
7591 (make_edges): Provide the cache.
7593 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7595 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
7597 (local_mbtowc): Change the type of variable `i' from int to size_t.
7599 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
7600 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
7602 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
7604 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
7605 after other includes that define the appropriate types. Include
7606 tm_p.h for getting user prototypes.
7607 * ggc-callbacks.c (toplevel): Ditto.
7608 * ggc-none.c (toplevel): Ditto.
7609 * gcc-page.c (toplevel): Ditto.
7610 * ggc-simple.c (toplevel): Ditto.
7612 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
7613 Jonathan Larmour <jlarmour@cygnus.co.uk>
7615 * config/mips/mips.c (mips_move_2words): Split doubles if
7616 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
7618 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
7620 * genrecog.c (struct decision_test): New.
7621 (struct decision): Remove test-related members, sort the rest by size.
7622 (IS_SPLIT): Simplify.
7623 (new_decision, new_decision_test): New.
7624 (add_to_sequence): Use them. No special handling for args of
7626 (maybe_both_true): Renamed from not_both_true; return sense changed.
7627 (maybe_both_true_1, maybe_both_true_2): New. Broken out
7628 of maybe_both_true and adjusted for decision_test.
7629 (position_merit): Remove.
7630 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
7631 (merge_accept_insn): New, broken out of merge_trees.
7632 (merge_trees): Use them. No special case for c_test; no node
7633 splitting; use test type instead of position_merit.
7634 (factor_tests): New.
7635 (simplify_tests): New.
7636 (break_out_subroutines): Don't write code now.
7637 (find_afterward): New.
7638 (write_afterward, write_switch, write_cond): New.
7639 (write_action, is_unconditional): New.
7640 (write_node): New. Use them.
7641 (write_tree_1): Rewrite. Use the new functions above.
7642 (write_tree): Remove afterward processing.
7643 (write_subroutine): Simplify function variant emission.
7644 (write_subroutines): New.
7645 (same_codes, clear_codes): Remove.
7646 (same_modes, clear_modes): Remove.
7647 (write_header): New, broken out of main.
7648 (make_insn_sequence): Use new_decision and new_decision_test.
7649 (process_tree): New, broken out of main.
7650 (main): Adjust for merge_trees interface change.
7651 Don't #define operands in the output file.
7652 (record_insn_name): New, broken out of make_insn_sequence.
7653 (debug_decision_2, debug_decision_1, debug_decision_0): New.
7654 (debug_decision): New.
7656 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
7658 * resource.c (find_free_register): Mark class_str argument const.
7659 * resource.h: Update prototype to match.
7661 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
7662 * i386.md: Give all anonymous insns names.
7664 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
7666 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
7669 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
7671 * toplev.c (dbr_sched_time): Unconditional.
7672 (peephole2_time): New.
7673 (compile_file): Add pass numbers to all of the dump file suffixes.
7674 Dump peephole2_time. Don't dump times for non-applicable passes.
7675 (rest_of_compilation): Add pass numbers to dump file suffixes.
7676 Conditionalize calls to the scheduler.
7677 * invoke.texi: Update.
7679 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
7681 * flow.c (make_edges): Fix insn iteration.
7682 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
7683 (find_basic_blocks_1): Fix spelling mistake.
7685 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
7687 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
7688 always have side-effects. Use memset not bzero.
7689 (make_node): Likewise.
7691 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
7693 * stmt.c (expand_anon_union_decl): When any of the elements of the
7694 union is addressable, so is the entire union.
7696 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
7698 * sbitmap.c (sbitmap_ones): Don't set too many bits.
7700 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
7701 * bitmap.c (bitmap_operation): Return true iff TO changed.
7702 (bitmap_equal_p): New.
7703 (bitmap_bit_p): Tidy arithmetic.
7704 (debug_bitmap_file): Likewise.
7706 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
7708 * toplev.c (rest_of_compilation): Turn on cse_not_expected
7709 before cse2 instead of after.
7711 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
7713 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
7716 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7718 * cppinit.c (is_idchar initializer): Loosen tests to accept
7721 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
7723 * mips.md: Define conditional move patterns for floating point
7724 operands and DI mode conditions.
7726 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
7728 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
7729 always have side-effects.
7731 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
7733 * mn10200.c (asm_file_start): Fix typo.
7735 * cppinit.c (is_idchar initializer): Tighten tests for when
7736 to put the table into initialized memory.
7738 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
7739 not an array of rtunion.
7740 * gcc-page.c (ggc_alloc_rtvec): Similarly.
7741 * gcc-simple (ggc_free_rtvec): Similarly.
7743 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
7746 * mbchar.h: Add missing #endif.
7748 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
7749 (FPBIT, DPBIT): Define.
7751 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7753 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
7755 * profile.c (instrument_arcs, output_gcov_string,
7756 tablejump_entry_p): Add static prototypes.
7757 (output_gcov_string): Constify a char*.
7759 * regmove.c (replacement_quality, fixup_match_2): Add static
7762 * resource.h (reg_dead_p): Add extern prototype.
7764 * rtl.c (trim_filename): Add static prototype.
7766 * scan-decls.c (skip_to_closing_brace): Likewise.
7768 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
7769 (expand_end_case): Initialize variable `range'.
7770 (emit_case_nodes): Remove unused prototype `rtx_fn'.
7772 * varasm.c (asm_emit_uninitialised): Add static prototype.
7773 (asm_emit_uninitialised, assemble_variable): Mark parameter with
7776 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7778 * cpplib.c (if_directive_nameo): Add static prototype.
7780 * cse.c (cse_insn): Remove unused variable `p'.
7782 * except.c (create_rethrow_ref, push_entry,
7783 receive_exception_label, new_eh_region_entry, find_func_region,
7784 clear_function_eh_region, process_nestinfo): Add static prototypes.
7785 (get_reg_for_handler): Hide definition.
7786 (process_nestinfo): Initialize variable `extra_handlers'.
7788 * expr.h (expand_builtin_longjmp): Add extern prototype.
7790 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
7792 * function.c (prepare_function_start): Likewise.
7793 (pop_function_context_from): Mark parameter `context' with
7795 (push_temp_slots_for_block, flush_addressof): Hide definition.
7797 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
7798 solve_program_flow_graph, calculate_branch_probs,
7799 function_summary, main, fancy_abort): Add prototypes.
7801 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
7802 (add_hash): Constify a char*.
7804 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
7805 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
7806 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
7808 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
7810 * lists.c (free_list, zap_lists): Likewise.
7812 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7814 * alias.c (nonlocal_reference_p): Add static prototype.
7816 * bitmap.c (bitmap_element_allocate): Prototype args in function
7819 * builtins.c (stabilize_va_list): Add static prototype.
7820 (expand_builtin_va_arg): Constify a char*.
7822 * c-lex.c (getch, put_back, extend_token_buffer_to,
7823 read_line_number, token_getch, token_put_back): Add static
7826 * c-parse.gperf (hash, is_reserved_word): Likewise.
7828 * cccp.c (is_dir_separator): Likewise.
7830 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7832 * graph.h: New file to prototype functions exported by graph.c.
7834 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
7836 * graph.c: Include graph.h.
7838 * toplev.c: Likewise. Remove redundant prototypes.
7840 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
7842 * invoke.texi: Removed duplicated description for -Q.
7844 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
7846 * extend.texi: Grammar fix in __extension__ text.
7848 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
7850 * md.texi (define_peephole2): New section.
7852 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
7854 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
7855 (mov $-1 to or peepholer): Enable for pentium when optimizing for
7858 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
7860 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
7862 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
7864 * i386.md (ffs expander): Emit Pentium friendly code for
7867 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
7869 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
7873 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7875 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
7877 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
7879 * config/m68k/m68k.c (use_return_insn): Return false if the pic
7882 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7884 * md.texi (No Constraints): Delete section.
7885 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
7886 * final.c (final_scan_insn): We always have register constraints.
7887 * genattrtab.c: Don't include "insn-config.h".
7888 (write_attr_case): We always have register constraints.
7889 * genconfig.c (register_constraint_flag): Delete.
7890 (walk_insn_part): Don't check whether we have register constraints.
7891 (main): Don't write out "#define REGISTER_CONSTRAINTS".
7892 * genoutput.c (have_constraints): Delete.
7893 (main): Don't set it.
7894 (output_operand_data): We always have constraints.
7895 (scan_operands): Likewise.
7896 (compare_operands): Likewise.
7897 * local-alloc.c (block_alloc): We always have constraints.
7898 (requires_inout): Always compile this function.
7899 * recog.c (extract_insn): We always have constraints.
7900 (constrain_operands, reg_fits_class_p): Always compile these
7902 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
7904 (struct insn_operand_data): Likewise.
7905 * regclass.c (regclass): We always have constraints.
7906 (record_reg_classes, copy_cost, record_address_regs,
7907 auto_inc_dec_reg_p): Always compile these functions.
7908 * regmove.c (regmove_optimize): We always have constraints.
7909 * reload.c (find_reloads): Likewise.
7910 * reload1.c (reload): Likewise.
7911 (reload_cse_simplify_operands): Likewise.
7912 * i860.c (output_delay_insn): Likewise.
7914 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
7916 * iris6.h (BUILD_VA_LIST_TYPE): Define.
7918 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7920 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
7921 for the va_list record.
7923 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
7925 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
7928 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
7930 * alias.c: Include insn-flags.h.
7931 * Makefile.in (alias.o): Update.
7933 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
7935 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
7936 to LTU and GEU. Handle more cases using sbb.
7938 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
7940 * i386.md (truncatexfdf splitters): Do not use subreg.
7941 (fop XFmode patterns): Fix mode in operand testing.
7943 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
7945 * jump.c (jump_optimize_1): Amend last change to test only the
7946 form of the operand, not the insn.
7948 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
7949 not register_operand to determine when B may need preloading.
7951 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
7953 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
7954 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
7955 (call-value patterns): Move to end of file.
7956 (*): Remove mode from label_ref in (pc) context.
7957 (movstrqi): Use memory not general_operand for BLKmode operands.
7958 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
7959 to register_operand operands.
7960 (peep2 patterns): Convert from commented-out peephole patterns.
7962 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7964 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
7965 to BUILT_IN_INIT_DWARF_REG_SIZES.
7966 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
7967 Renamed from BUILT_IN_DWARF_REG_SIZE; call
7968 expand_builtin_init_dwarf_reg_sizes.
7969 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
7970 with __builtin_init_dwarf_reg_size_table.
7971 * dwarf2out.c (struct reg_size_range): Delete.
7972 (expand_builtin_init_dwarf_reg_sizes): New function.
7973 (expand_builtin_dwarf_reg_size): Delete.
7974 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
7975 (expand_builtin_dwarf_reg_size): Don't declare.
7976 * libgcc2.c (dwarf_reg_size_table_initialized): New.
7977 (dwarf_reg_size_table): New.
7978 (init_reg_size_table): New function.
7979 (copy_reg): Use dwarf_reg_size_table.
7980 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
7983 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
7985 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
7986 Correctly build argument list to constructor and destructor functions.
7988 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
7990 * c-tree.h (warn_float_equal): Declare.
7991 * c-decl.c (warn_float_equal): Define.
7992 (c_decode_option): Recognize -W[no-]float-equal.
7993 * c-typeck.c (build_binary_op): Conditionally warn
7994 about equality tests of floating point types.
7995 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
7996 * invoke.texi: Add docs for -Wfloat-equal warning.
7998 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
8000 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
8001 generating RTL directly.
8002 * mips.h (INIT_TARGET_OPTABS): Likewise.
8003 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
8005 * expr.h (init_mov_optab): Delete declaration
8007 * h8300.c (WORD_REG_USED): Update to avoid useless register
8008 saves in interrupt functions and functions which never return.
8010 * cse.c (struct set): Delete inner_dest_loc field.
8011 (cse_insn): Remove assignments to inner_dest_loc field.
8013 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
8015 * ggc-page.c: Don't include <unistd.h> etc taken care of
8016 by "system.h". Include <sys/mman.h> afterward.
8018 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
8020 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
8023 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
8025 * xcoffout.c (xcoffout_declare_function): Add documentation.
8026 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
8027 TARGET_64BIT. Compare constant to -1, not bit pattern.
8028 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
8029 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
8032 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
8034 * dwarf2out.c (add_abstract_origin_attribute): Abort if
8036 (gen_inlined_enumeration_type_die): Do not abort if the type has
8037 not been writeen out.
8038 (gen_inlined_structure_type_die): Do not abort if the type has
8039 not been writeen out.
8040 (gen_inlined_union_type_die): Do not abort if the type has
8041 not been writeen out.
8042 (gen_tagged_type_instantiation_die): Do not abort if the type
8043 has not been written out.
8045 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8047 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
8049 * reg-stack.c (straighten_stack): Copy hard reg set with
8052 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
8054 * builtins.c (stabilize_va_list): Stabilize array type va_list
8055 to a pointer type, not the base record type.
8056 (expand_builtin_va_copy): Dereference the pointers explicitly;
8057 use the correct size for the copy.
8059 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
8060 (rs6000_va_arg): Likewise.
8062 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
8064 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
8066 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
8068 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
8070 (DECL_BUILT_IN_CLASS): Adjust accordingly.
8072 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
8074 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
8075 (init_ggc): Use it instead of a constant.
8076 (ggc_collect): Bound allocated_last_gc by it.
8078 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
8080 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
8083 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
8085 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
8086 (mips*-*-openbsd*): Let big endian configuration be a fragment.
8088 * config/mips/openbsd.h: New, OpenBSD little endian target.
8089 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
8090 * config/mips/xm-openbsd.h: New, OpenBSD host.
8092 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
8094 * config/m68k/m68k.c (output_function_prologue,
8095 output_function_epilogue): Use
8096 current_function_uses_pic_offset_table instead of regs_ever_live
8097 to decide whether to save/restore pic register.
8098 (legitimize_pic_address): Don't modify regs_ever_live any more.
8100 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
8102 * function.h (struct function): Add x_dont_save_pending_sizes_p.
8103 * stor-layout.c (variable_size): Don't add sizes to the pending
8104 sizes list if x_dont_save_pending_sizes_p is set.
8106 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
8108 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
8109 for symbolic_operand().
8110 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
8112 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8114 * combine.c (gen_rtx_combine): Add missing call to va_end().
8116 * final.c (asm_fprintf): Likewise.
8118 * genattrtab.c (attr_rtx): Likewise.
8120 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
8122 * cse.c: Update comments.
8123 (cse_insn): When converting a conditional/computed jump into
8124 an unconditional jump, always make sure a BARRIER immediately
8125 follows the converted jump. Do not delete unreachable code.
8126 (cse_basic_block): Do not delete unreachable code.
8127 * toplev.c (rest_of_compilation): Move call to
8128 delete_trivially_dead_insns after the conditional call to
8131 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8133 * collect2.c (make_temp_file): Don't prototype.
8135 * gcc.c (make_temp_file): Likewise.
8137 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
8139 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
8141 * varasm.c (asm_emit_uninitialised): New function: Generate
8142 the assembler statements necessary to declare an uninitialised
8144 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
8146 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
8147 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
8149 (assemble_variable): Use asm_emit_uninitialised to emit an
8150 uninitialised variable.
8152 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
8154 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
8155 constant on a 64 bit host. Patch supplied by Geoffrey Keating
8156 <geoffk@cygnus.com>.
8158 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8160 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
8161 * c-common.h (builtin_function): Don't declare.
8163 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
8165 (pushdecl): Likewise.
8166 (finish_decl): Likewise.
8167 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
8168 int. All callers changed.
8169 Set the builtin's DECL_BUILT_IN_CLASS.
8170 * tree.h (enum built_in_class): New.
8171 (enum built_in_function): Delete NOT_BUILT_IN.
8172 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
8174 (DECL_SET_FUNCTION_CODE): Likewise.
8175 (DECL_BUILT_IN_CLASS): New macro.
8176 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
8177 (struct tree_decl): Split builtin function code field into a
8179 (builtin_function): Declare.
8181 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
8183 * optabs.c (init_traps): Fix typo in last change.
8185 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
8187 * toplev.c (rest_of_decl_compilation): Update comment.
8189 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
8191 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
8192 in .sbss if appropriate.
8193 (EXTRA_SECTION_FUNCTIONS): Add sbss.
8194 (SBSS_SECTION_ASM_OP): New macro.
8195 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
8196 (EXTRA_SECTIONS): Add in_sbss.
8197 * config/mips/mips.h: Prototype sbss_section.
8199 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
8201 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
8204 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
8206 * optabs.c (init_traps): Register trap_rtx as a GC root.
8208 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8210 * config/mips/mips.c (function_arg_pass_by_reference): Define
8211 unconditionally, since it's called unconditionally.
8213 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
8215 * toplev.c (documented_lang_options): Add -fshort-wchar.
8216 * c-decl.c (c_decode_option): Likewise.
8217 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
8219 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
8220 * gcc.c (default_compilers): If -fshort-wchar,
8221 override __WCHAR_TYPE__.
8222 * tm.texi (C Dialect Options): Add -fshort-wchar.
8224 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
8225 symbol for a variable.
8227 * cpplib.h (CPP_PREPROCESSED): New macro.
8228 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
8229 we're seeing this input for a second time.
8231 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
8233 * emit-rtl.c (init_emit_once): Initialize modes first.
8235 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
8237 * config/i386/i386.c (pic_label_name): Change to char pointer.
8238 (global_offset_table): New variable.
8239 (load_pic_register): Fill global_offset_table if it hasn't
8240 already been done. Allocate pic_label_name dynamically.
8241 * ggc.h (empty_string): New variable.
8242 * ggc-simple.c (empty_string): Likewise.
8243 (init_ggc): Allocate empty_string and add as root.
8244 * stmt.c (digit_strings): New variable.
8245 (init_stmt): Add last_block_end_note as root. Allocate and
8246 initialize digit_strings.
8247 (expand_asm_operands): Use empty_string instead of string
8248 constant. Use digit_strings instead of string constants.
8249 * profile.c (init_arc_profiler): Allocate string with
8250 ggc_alloc_string instead of xmalloc.
8251 (output_func_start_profiler): Likewise.
8252 * c-typeck.c (digest_init): Check if init is error_mark_node.
8254 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
8255 Richard Henderson <rth@cygnus.com>
8257 * ggc-page.c: New file.
8258 * Makefile.in (ggc-page.o): New.
8260 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
8262 * invoke.texi: Document -fdelete-null-pointer-checks
8263 * toplev.c (flag_delete_null_pointer_checks): New.
8264 (f_options): Add entry for -fdelete-null-pointer-checks.
8265 (rest_of_compilation): Conditionalize null pointer check
8266 elimination on flag_delete_null_pointer_checks.
8267 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
8269 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
8271 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
8272 copyright notice and special exception to GPL.
8274 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8276 * abi64.h (mips_function_value): Add prototype arguments.
8278 * mips-protos.h: New file with mips prototypes.
8280 * mips.c: Include "tm_p.h".
8281 (mktemp, lookup_name): Add prototype arguments.
8282 (extern_list, string_constant, mips_fill_delay_slot,
8283 mips_output_external, mips_output_external_libcall,
8284 mips_output_filename, mips_declare_object, function_prologue,
8285 mips_expand_prologue, function_epilogue, mips16_constant,
8286 build_mips16_function_stub, mips_output_conditional_branch):
8288 (mips_va_start): Remove unused variable `u'.
8289 (mips_va_arg): Cast value to unsigned when comparing against one.
8291 (save_restore_insns, mips_expand_prologue): Add missing arg in
8292 call to `large_int'.
8294 * mips.h: Move prototypes to mips-protos.h.
8295 (data_section, memory_address_p, rdata_section,
8296 readonly_data_section, simple_epilogue_p, text_section): Delete
8297 prototypes delcared elsewhere.
8298 (mips_epilogue_delay_slots, print_options): Delete unused decls.
8300 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
8302 * mips.md: Delete extra args in call to `mips_move_2words'.
8304 * xm-iris6.h (alloca): Add prototype argument.
8306 * genpeep.c: Include "tm_p.h" in generated output file.
8308 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8310 * basic-block.h (find_edge_index): Change parameters.
8311 * flow.c (verify_edge_list): Pass basic_block parameters to
8312 find_edge_index instead of integers.
8314 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
8316 * combine.c (simplify_comparison): Use an unsigned shift to adjust
8319 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
8321 * gcc.1: Fix a formatting error.
8323 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8325 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
8326 i786, mn10200, mn10300, pdp11, v850.
8328 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
8330 * libgcc2.c (num_digits): Add prototype with
8331 __attribute__((const)).
8332 (__terminate): Add prototype.
8334 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
8336 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
8338 * alpha/alpha.c (print_operand): Fix type of `code'.
8339 (alpha_output_filename): Constify.
8340 * alpha/alpha.h: Move all function declarations ...
8341 * alpha/alpha-protos.h: ... here. New file.
8342 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
8343 (SECTION_FUNCTION_TEMPLATE): Likewise.
8345 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8347 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
8348 * expr.c (expand_expr): Likewise.
8349 (do_jump): Likewise.
8350 (do_store_flag): Pass ccp_store_flag to can_compare_p.
8351 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
8353 (enum can_compare_purpose): New.
8354 (can_compare_p): Adjust prototype.
8355 (prepare_cmp_insn, prepare_operand): Declare.
8356 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
8357 * optabs.c (cmp_available_p): Deleted.
8358 (expand_abs): Pass ccp_jump to can_compare_p.
8359 (can_compare_p): New arg PURPOSE. Check for combined optabs.
8360 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
8361 Call can_compare_p rather than cmp_available_p.
8362 (prepare_operand): No longer static.
8363 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
8364 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
8365 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
8366 sequence to use emit_cmp_and_jump_insns.
8367 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
8369 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
8371 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
8372 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
8373 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
8374 (plus (reg) (const_int 0))
8375 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
8377 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
8379 * rs6000.c (expand_block_move): DImode loads and stores require
8380 word-aligned displacements. Increment address registers with
8381 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
8383 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
8385 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
8386 is no name for the base type, rather than segfault. If we are
8387 writing out a complex integer type, use DW_ATE_lo_user.
8389 * expr.c (emit_move_insn_1): If we are copying a complex that fits
8390 in one word or less (complex char, complex short, or on 64 bit
8391 systems complex float) to/from a hard register, copy it through
8392 memory instead of dying in gen_{real,imag}part. If we have a
8393 short complex type, prevent inlining since it allocates stack
8396 * tree.c (build_complex_type): If we are writing dwarf2 output,
8397 generate a name for complex integer types.
8399 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8401 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
8402 * flow.c (remove_edge): Remove extra whitespace.
8403 (remove_fake_edges): Fix comment.
8404 (add_noreturn_fake_exit_edges): Use the correct name.
8406 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
8408 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
8409 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
8410 (clean): Depend on INTL_CLEAN.
8411 (maintainer-clean): Adjust.
8413 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8415 * configure.in (AC_PREREQ): Bump to 2.13.
8416 (AC_C_STRINGIZE): Call this instead of using a custom macro.
8418 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
8420 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
8422 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
8424 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
8425 (HAVE_STRINGIZE): Define.
8427 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
8429 * c-parse.in: save and restore warn_pointer_arith on __extension__
8430 along with pedantic.
8431 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
8432 Set the type of extension to itype rather than $<itype>1 kludge.
8433 * extend.texi (Alternate Keywords): Adjust documentation.
8434 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
8436 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
8438 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
8439 most assembler templates.
8441 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
8442 FP loads and stores.
8443 (following_call): Always return zero for the PA8000.
8444 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
8445 FP loads and stores.
8446 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
8448 * pa.h (BRANCH_COST): Define.
8450 * pa.md (return, return_internal): Use bve for PA2.0.
8452 * pa.md (fused multiply): Add variants which reduce height for the
8453 fused multiply, but which still generate 2 insns.
8454 (fnegabs): Similarly.
8456 * pa.md (subsi3): Turn into an expander. Create two anonymous
8457 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
8458 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
8460 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
8462 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
8464 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
8465 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
8467 * regclass.c (init_regs): Add "top_of_stack" as a garbage
8470 * flow.c (record_active_eh_regions): Terminate loop after finding
8471 the last insn in the last basic block.
8473 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8475 * config/c4x/c4x.md: Delete parallel instruction peepholes.
8477 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8479 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
8481 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8483 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
8484 splitting to not use output template.
8486 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8488 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
8489 * config/c4x/c4x.c (c4x_va_start): New function.
8491 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
8493 * genrecog.c (not_both_true): Handle correctly cases when called for
8494 tests with different positions in the insn.
8496 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8498 * machmode.h (HOST_PTR_PRINTF): Move from here ...
8500 * system.h (HOST_PTR_PRINTF): ... to here.
8502 * mips-tfile.c: Don't include machmode.h.
8504 * Makefile.in (MACHMODE_H): New variable. Update to use it.
8505 (mips-tfile.o): Don't depend on machmode.h.
8507 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8509 * haifa-sched.c (sched_analyze): Rename local variable `region' to
8510 avoid conflicts with typedef struct `region' at the top level scope.
8512 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
8514 * basic-block.h (basic_block): Add eh_beg, eh_end.
8515 * flow.c (entry_exit_blocks): Update.
8516 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
8518 (find_basic_blocks_1): Don't record eh_list at each bb. Use
8519 lists.c functions to allocate insn lists.
8520 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
8522 (make_eh_edge): ... here. New.
8523 (move_stray_eh_region_notes): New.
8524 (record_active_eh_regions): New.
8525 (delete_unreachable_blocks): Split out block merging ...
8526 (try_merge_blocks): ... here. New.
8527 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
8528 Dump debugging data.
8529 (merge_blocks_move_successor_nojumps): Likewise.
8530 (merge_blocks): Use eh_beg+eh_end to validate block movement.
8532 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8534 * extend.texi (Bound member functions): Document unbound pmf
8537 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8539 * flow.c (split_edge): Handle insertion on a fallthrough edge which
8540 has the EXIT_BLOCK as a dest.
8542 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8544 * flow.c (remove_edge): New function to remove an edge from the
8546 (remove_fake_successors): New function to remove fake successor edges.
8547 (remove_fake_edges): New function to remove all fake edges from the
8549 (add_fake_exit_edges): New function to add fake edges from all blocks
8550 with no successors to the exit block.
8551 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
8552 prototypes for new functions.
8554 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8556 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
8557 Use Pmode to determine whether to output .dword or .word.
8559 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
8561 * tree.c (built_in_filename): New variable.
8562 (BUILT_IN_FILENAME): New macro.
8563 (init_tree_codes): Allocate built_in_filename.
8564 (make_node): Use built_in_filename instead of string constant.
8566 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
8568 * configure.in: Add fr30 target.
8569 * configure: Regenerate.
8570 * config/fr30: New directory.
8571 * config/fr30/crti.asm: New file.
8572 * config/fr30/fr30.c: New file.
8573 * config/fr30/crtn.asm: New file.
8574 * config/fr30/fr30.h: New file.
8575 * config/fr30/fr30.md: New file.
8576 * config/fr30/lib1funcs.asm: New file.
8577 * config/fr30/t-fr30: New file.
8578 * config/fr30/xm-fr30.h: New file.
8580 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
8582 * flow.c (merge_blocks_move_successor_nojumps): Delete the
8583 BARRIER at the end of the successor, not the BARRIER before
8586 * pa.c (pa_add_gc_roots): Fix thinko in last change.
8588 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
8590 * stmt.c (any_pending_cleanups): Don't crash when
8591 current_function->stmt is unset.
8593 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8595 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
8596 other initializations that may use it for relative offsets.
8598 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8600 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
8601 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
8602 * config/i386/sol2dbg.h: Removed.
8603 * config/i386/sol2gas.h: New file, to enable gas work-around.
8604 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
8605 Don't use sol2dbg.h.
8606 * configure: Rebuilt.
8608 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
8610 * invoke.texi (-fthis-is-variable): Remove documentation.
8612 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
8614 * basic-block.h (compute_bb_for_insn): Declare.
8615 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
8616 to use; set size of basic_block_for_insn directly.
8617 (find_basic_blocks): Update.
8619 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8621 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
8623 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8625 * crtstuff.c (ON_EXIT): Delete empty macro definition.
8626 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
8628 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
8630 * c-decl.c (c_decode_option): Extend comment.
8632 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
8634 * toplev.c (progname): Make 'const char *'
8635 (flag_print_mem): Move out of main.
8636 (version_flag): Move out of main.
8637 (filename): Move out of main.
8638 (debug_args): Remove g prefix from options.
8639 (documented_lang_options): Remove cpplib specific options.
8640 (display_help): Add g prefix to debug options.
8641 (check_lang_option): Delete this function.
8642 (decode_d_option): New function: Decode -d... option.
8643 (decode_f_option): New function: Decode -f... option.
8644 (decode_W_option): New function: Decode -W... option.
8645 (decode_g_option): New function: Decode -g... option.
8646 (independent_decode_option): New function: Decode a language
8647 independent command line option.
8648 (main): Invoke lang_decode_option and then
8649 independent_decode_option on each command line option in
8652 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
8654 Revert this change. Gavin's patch to operand_equal_p is a better fix.
8655 * fold-const.c (fold_range_test): Do not try to fold the range
8656 test if the rhs or lhs has side effects.
8658 * basic-block.h (compute_flow_dominators): Declare.
8660 * gcse.c (alloc_code_hoist_mem): New function.
8661 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
8662 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
8663 (hoist_code, one_code_hoisting_pass): Likewise.
8664 (gcse_main): If optimizing for size, then hoist expressions
8665 computed in multiple dominated basic blocks.
8667 * gcse.c (invalid_nonnull_info): New function.
8668 (delete_null_pointer_checks): Likewise.
8669 * rtl.h (delete_null_pointer_checks): Declare.
8670 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
8672 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
8673 (merge-blocks_move_successor_nojumps): Likewise.
8674 (merge_blocks): Allow merging of some blocks, even if it requires
8675 physical movement of the blocks, but not if it requires new jumps.
8677 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
8678 Callers and prototype changed.
8679 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
8681 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8683 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
8684 -YP when both -p and -pg are present. From i386/sol2.h.
8686 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8688 * Makefile.in (distclean): Delete tm_p.h.
8689 * configure.in: Create a new file, "tm_p.h", from a list in
8690 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
8691 "i386/i386-protos.h".
8693 * alias.c: Include "tm_p.h".
8694 * c-typeck.c: Likewise.
8695 * calls.c: Likewise.
8697 * emit-rtl.c: Likewise.
8698 * explow.c: Likewise.
8699 * expmed.c: Likewise.
8701 * final.c: Likewise.
8703 * fold-const.c: Likewise.
8704 * function.c: Likewise.
8706 * global.c: Likewise.
8707 * haifa-sched.c: Likewise.
8708 * integrate.c: Likewise.
8710 * local-alloc.c: Likewise.
8712 * optabs.c: Likewise.
8713 * recog.c: Likewise.
8714 * reg-stack.c: Likewise.
8715 * regclass.c: Likewise.
8716 * regmove.c: Likewise.
8717 * reload.c: Likewise.
8718 * reload1.c: Likewise.
8719 * reorg.c: Likewise.
8720 * resource.c: Likewise.
8722 * stor-layout.c: Likewise.
8723 * toplev.c: Likewise.
8725 * unroll.c: Likewise.
8726 * genattrtab.c (main): Make generated file include "tm_p.h".
8727 * genemit.c (main): Likewise.
8728 * genoutput.c (main): Likewise.
8729 * genrecog.c (main): Likewise.
8731 * i386.h: Delete all prototypes.
8732 * i386.c: Include "tm_p.h".
8733 (ix86_attr_length_default): Call constant_call_address_operand
8734 with correct number of arguments.
8735 * i386-protos.h: New file.
8736 * i386.md (unnamed patterns): Call constant_call_address_operand
8737 with correct number of arguments.
8738 (exception_receiver): Call load_pic_register with correct number
8741 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
8743 * c-pragma.c (mark_align_stack): Dereference the void* properly.
8745 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
8747 * rtl.h (insns_safe_to_move_p): New function.
8748 * loop.c (find_and_verify_loops): Use it.
8749 * rtlanal.c (insns_safe_to_move_p): Define it.
8751 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
8753 * c-pragma.c: Include ggc.h.
8754 * Makefile.in (c-pragma.o): Update.
8756 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8758 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
8759 (LIB_SPEC): Likewise.
8760 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
8761 Reindent -YP/-p/-pg.
8762 Copied from config/sparc/sol2.h.
8764 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
8766 * c-pragma.c (mark_align_stack): New.
8768 * c-pragma.h (init_pragma): Declare it.
8769 * c-lex.c (init_parse): Call it.
8771 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8773 * configure.in: Pick up thread library on Solaris/x86 just
8774 like on Solaris/sparc.
8775 * configure: Rebuilt.
8777 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
8779 * rtl.h (global_rtx_index): New enum.
8780 (global_rtl): Change to array of rtx.
8781 (pc_rtx, cc0_rtx): Redefine accordingly.
8782 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
8783 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
8784 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
8785 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
8786 (const_int_rtx): Change to array of rtx.
8787 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
8789 * emit-rtl.c (global_rtl): Change to array of rtx.
8790 (const_int_rtx): Change to aray of rtx.
8791 (gen_rtx_CONST_INT): Redefine accordingly.
8792 (init_emit_once): Allocate and initialize global_rtl. Likewise
8793 for const_int_rtx. Add both as GC roots.
8794 * genattrtab.c (global_rtl): Update declaration.
8796 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
8798 * Makefile (USER_H): Add iso646.h back.
8800 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
8802 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
8803 zapping the LOG_LINKS of sched_before_next_call.
8805 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
8806 * pa.c (insn_refs_are_delayed): Renamed from
8807 insn_sets_and_refs_are_delayed.
8809 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
8811 * functiion.h (struct function): Add x_whole_function_mode_p.
8812 (retrofit_block): Declare.
8813 * function.c (retrofit_block): New function.
8814 (identify_blocks): Add assertions. Allow an incomplete set of
8815 block notes if we're still generating code for the function.
8816 * integrate.c: Include loop.h.
8817 (expand_inline_function): Call find_loop_tree_blocks to map block
8818 notes to blocks when in whole-function mode. Use retrofit_block
8819 to insert new BLOCKs for the inlined function, rather than
8821 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
8822 * Makefile.in (integrate.o): Depend on loop.h.
8824 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
8826 * tree.h (warn_about_unused_variables): Declare.
8827 * stmt.c (warn_about_unused_variables): New function, split out
8829 (expand_end_bindings): Here.
8831 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
8833 * stmt.c (preserve_subexpressions_p): Don't crash when
8834 current_function->stmt is unset.
8836 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
8838 * stmt.c (expand_start_bindings): Allow callers to pass a flag
8839 indicating that no NOTE_INSN_BLOCK_BEG note is required.
8840 (expand_start_target_temps): Use it.
8841 * except.c (expand_eh_region_start_for_decl): Likewise.
8842 * expr.c (expand_expr): Likewise.
8844 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
8846 * fold-const.c (operand_equal_p): Pay attention to side effects.
8848 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
8850 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
8851 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
8853 * tlink.c (scan_linker_output): Look for keywords before accepting
8854 a mangled name in quotes.
8856 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
8858 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
8859 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
8861 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
8863 * alpha.md: Revert Thu Nov 26 change that came in through the
8864 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
8865 Avoid earlyclobber when possible.
8867 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8869 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
8871 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
8872 Define HAVE_ON_EXIT.
8874 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8876 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
8877 CTYPE_CONV in all ctype macros.
8879 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
8882 * cexp.y (initialize_random_junk): Likewise.
8884 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
8886 * i370.c (handle_pragma): Likewise.
8888 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
8890 * v850.c (override_options): Likewise.
8892 * doprint.c (_doprnt): Likewise.
8894 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
8897 * fixinc/server.c (load_data): Likewise.
8899 * fold-const.c (real_hex_to_f): Likewise.
8901 * genattr.c (write_upcase, gen_attr): Likewise.
8903 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
8904 write_upcase): Likewise.
8906 * genemit.c (print_code): Likewise.
8908 * genopinit.c (gen_insn): Likewise.
8910 * genpeep.c (print_code): Likewise.
8912 * genrecog.c (print_code): Likewise.
8914 * optabs.c (init_libfuncs): Likewise.
8916 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
8918 * haifa-sched.c (sched_analyze): Keep the list of notes organized
8920 (reemit_notes): Likewise.
8922 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
8924 * ggc.h (ggc_root): Move to ggc-common.c.
8926 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
8927 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
8928 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
8929 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
8930 * ggc-common.c (ggc_root): Move from ggc.h.
8931 (roots): Declare, static.
8932 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
8933 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
8934 null or check/set mark bit.
8935 (ggc_mark_roots): New.
8936 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
8938 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
8940 * m32r.c: Include toplev.h.
8941 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
8942 (gen_compare): Rename swap_p to must_swap to match uses.
8943 Add default abort case.
8944 (m32r_output_function_epilogue): Remove unused variables.
8945 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
8946 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
8947 define to empty parameter list. Update all uses.
8948 (predicate decls): Use enum machine_mode not int.
8949 * m32r.md (movsi): Call abort, not fatal_insn.
8950 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
8952 1999-09-14 Andrew Haley <aph@cygnus.com>
8954 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
8955 use $0 instead of 0.
8957 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8959 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
8960 computation out of loop over hard regs.
8962 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
8964 * function.c (identify_blocks): Don't shadow a variable in an
8966 * integrate.c (integrate_decl_tree): Don't use pushlevel,
8967 pushdecl, or poplevel to build up the new BLOCK tree.
8968 (expand_inline_function): Likewise.
8969 (integrate_parm_decls): Likewise.
8971 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
8973 * c-typeck.c (qualify_type): Merge qualifiers from both types.
8975 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
8977 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
8978 * invoke.texi: Document this change.
8980 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
8982 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
8984 (mark_emit_status): Renamed from mark_emit_state.
8985 * except.c (mark_eh_status): Renamed from mark_eh_state.
8986 Check not null before marking.
8987 (free_eh_status): New.
8988 * expr.c (mark_expr_status, free_expr_status): New.
8989 * function.c (free_machine_status): New.
8990 (free_after_parsing): New.
8991 (free_after_compilation): Move bits to free_after_parsing; call
8992 free_eh_status, free_expr_status; zero the marked members of the
8994 (prepare_function_start): No can_garbage_collect.
8995 Call init_eh_for_function.
8996 (expand_dummy_function_end): Free up current_function state.
8997 (mark_function_status): Renamed from mark_function_state.
8998 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
8999 * function.h (struct function): No can_garbage_collect.
9000 (free_machine_status, free_after_parsing): Declare.
9001 (free_eh_status, free_expr_status): Declare.
9002 * ggc.h (mark_expr_status): Declare.
9003 * stmt.c (free_stmt_status): Free the struct.
9004 (mark_stmt_status): Renamed from mark_stmt_state.
9005 (init_stmt): Don't call init_eh.
9006 (init_stmt_for_function): Don't call init_eh_for_function.
9007 * toplev.c (compile_file): Call init_eh.
9008 (rest_of_compilation): Free basic block info before ggc_collect.
9009 Call free_after_parsing; conditionally call free_after_compilation.
9010 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
9011 Check not null before marking.
9012 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
9014 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
9016 * c-lex.c (yylex): Initialize warn.
9018 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
9020 * pa.c (emit_move_sequence): Properly set the mode of the scratch
9021 register when performing secondary reloads for the SAR register.
9023 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
9025 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
9026 (NOTE_BLOCK): New macro.
9027 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
9028 * function.h (identify_blocks): Change prototype.
9029 * function.c (identify_blocks): Simplify.
9030 (reorder_blocks): Likewise.
9031 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
9032 NOTE_INSN_BLOCK_{BEG,END}.
9033 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
9034 the list of saved notes if the note isn't a
9035 NOTE_INSN_BLOCK_{BEG,END}.
9036 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
9038 (reemit_notes): Adjust recreation of notes to reflect new saved
9040 * print-rtl.c (print_rtx): Print the address of the BLOCK when
9041 printing a block note.
9042 * stmt.c (block_vector): Remove.
9043 (find_loop_tree_blocks): Simplify.
9044 (unroll_block_trees): Likewise.
9045 * tree.h (reorder_block): Change prototype.
9047 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
9049 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
9050 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
9051 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
9052 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
9053 (atexit, exit): Simplify.
9054 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
9055 * config/lots: Remove defns of HAVE_ATEXIT.
9057 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
9059 * calls.c (precompute_arguments): Fix typo in comment.
9060 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
9063 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
9065 * dsp16xx.c (override_options): Fix typos in GC root registration.
9067 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
9069 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
9071 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
9072 (FUNCTION_PROFILER): Redefine appropriately for Linux.
9073 (CC1_SPEC): Likewise.
9075 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9077 * genattr.c (main): Add extern prototype. Call return, not exit.
9078 * genattrtab.c (main): Likewise.
9079 * gencheck.c (main): Likewise.
9080 * gencodes.c (main): Likewise.
9081 * genconfig.c (main): Likewise.
9082 * genemit.c (main): Likewise.
9083 * genextract.c (main): Likewise.
9084 * genflags.c (main): Likewise.
9085 * gengenrtl.c (main): Likewise.
9086 * genopinit.c (main): Likewise.
9087 * genoutput.c (main): Likewise.
9088 * genpeep.c (main): Likewise.
9089 * genrecog.c (main): Likewise.
9091 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
9092 * genattrtab.c (get_insn_name): Likewise.
9093 * gencodes.c (get_insn_name): Likewise.
9094 * genconfig.c (get_insn_name): Likewise.
9095 * genemit.c (get_insn_name): Likewise.
9096 * genextract.c (get_insn_name): Likewise.
9097 * genflags.c (get_insn_name): Likewise.
9098 * genopinit.c (get_insn_name): Likewise.
9099 * genpeep.c (get_insn_name): Likewise.
9101 * gencheck.c (usage): Add static prototype.
9102 * genextract.c (print_path): Constify a char*.
9103 * genopinit.c (optabs): Likewise.
9104 * genoutput.c (operand_data, data, output_predicate_decls,
9105 compare_operands): Likewise.
9106 * genrecog.c (write_tree): Add default case in switch.
9108 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9110 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
9112 * print-rtl.c (get_insn_name): Remove prototype.
9114 * toplev.h (progname): Declare const.
9116 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
9117 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
9118 dump_sched_info, dump_local_alloc, regset_release_memory,
9119 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
9120 error_with_file_and_line, error_with_decl, error_for_asm, error,
9121 fatal, warning_with_file_and_line, warning_with_decl, warning,
9122 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
9123 Remove redundant prototypes.
9125 (notice, check_lang_option, report_file_and_line, vnotice,
9126 mark_file_stack): Add static prototype.
9127 (set_fatal_function): Add prototype.
9128 (vnotice, report_file_and_line, set_fatal_function,
9129 check_lang_option): Constify a char*.
9130 (main): Prototype. Call return, not exit.
9132 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9134 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
9136 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
9138 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
9140 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
9142 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9144 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
9145 behave as if it's zero in all cases.
9146 (expand_function_start): Adjust call to assign_parms.
9147 * tree.h (assign_parms): Adjust prototype.
9148 * objc/objc-act.c (hack_method_prototype): Adjust call to
9151 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
9153 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
9154 arg_pointer_rtx fixed if the argument pointer register is
9156 (NONZERO_BASE_PLUS_P): Likewise.
9158 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
9160 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
9161 match_insn2 to match_insn.
9162 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
9164 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
9166 * Makefile.in (USER_H): Remove va-foo.h.
9168 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
9169 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
9170 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
9171 va-spur.h,va-v850.h}: Remove.
9173 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
9175 * sparc/sparc.md (eligible_for_return_delay): New attribute.
9176 (in_return_delay): Use it instead of match_insn.
9178 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9180 * config/alpha/va_list.h (va-alpha.h): Do not include.
9181 (__gnuc_va_list): Typedef as in varargs.h.
9183 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
9185 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
9186 DECL_LIVE_RANGE_RTL.
9188 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
9190 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
9191 not NOTE_BLOCK_NUMBER.
9192 (expand_eh_region_end): Likewise.
9193 (find_exception_handler_labels): Likewise.
9194 (scan_region): Likewise.
9195 (exception_optimize): Likewise.
9196 (update_rethrow_references): Likewise.
9197 (set_insn_eh_region): Likewise.
9198 * final.c (final_scan_insn): Likewise.
9199 * flow.c (make_edges): Likewise.
9200 * integrate.c (expand_inline_function): Likewise.
9201 * print-rtl.c (print_rtx): Likewise.
9203 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
9205 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
9206 terms of builtin functions and types.
9208 * mips.c (mips_build_va_list): New.
9209 (mips_va_start, mips_va_arg): New.
9210 * mips.h (BUILD_VA_LIST_TYPE): New.
9211 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9213 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
9214 (sh_build_va_list, sh_va_start, sh_va_arg): New.
9215 * sh.h (BUILD_VA_LIST_TYPE): New.
9216 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9218 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
9220 * recog.h (struct recog_data): Make dup_num, operand_address_p,
9221 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
9222 (struct insn_data): Likewise with n_operands, n_dups,
9223 n_alternatives, output_format.
9224 * regclass.c (scan_one_insn): Cast n_operands to int before
9225 arithmetic inside comparison.
9227 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
9229 * toplev.c (compile_function): Unconditionally emit nop.
9231 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9233 * haifa-sched.c (actual_hazard): Move declaration of variable
9234 `this_cost' into the scope where it is used.
9236 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9238 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
9239 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
9240 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
9242 * genrecog.c (make_insn_sequence): Call memset, not bzero.
9244 * jump.c (find_insert_position): Don't declare or define unless
9245 !HAVE_conditional_arithmetic.
9246 (returnjump_p_1, delete_prior_computation): Add static prototypes.
9248 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
9250 * recog.c (offsettable_address_p): Prototype function pointer.
9251 (preprocess_constraints): Call memset, not bzero.
9253 * tree.c (tree_node_kind_names): Constify a char*. Make static.
9254 (gcc_obstack_init): Don't declare.
9255 (fix_sizetype): Add static prototype.
9256 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
9257 (tree_cons): Call memset, not bzero.
9259 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
9260 definition in macro ASM_WEAKEN_LABEL.
9261 (mark_const_hash_entry): Add static prototype.
9263 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9265 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
9267 * unroll.c (find_common_reg_term, subtract_reg_term,
9268 loop_find_equiv_value): Add static prototypes.
9269 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
9270 (copy_loop_body): Remove unreachable break statement.
9272 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
9274 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
9276 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9278 Undo some changes from the gcc2 merge:
9279 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
9280 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
9284 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
9285 * emit-rtl.c (gen_lowpart_common): Disable optimization of
9286 initialized float-int union if the value is a NaN.
9288 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
9290 * gthr-win32.h: New file.
9292 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
9293 shared as a valid attribute.
9294 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
9295 * extend.texi: Document `shared' variable attribute.
9297 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
9299 * configure.in: Handle --enable-threads on FreeBSD.
9300 * configure: Rebuit.
9302 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9304 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
9306 * configure: Rebuilt.
9308 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
9309 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
9310 Rosimildo DaSilva <rdasilva@connecttel.com>
9312 * configure.in (m68k-*-rtemscoff*): Added.
9313 * configure.in (mips64orion-*-rtems*): Converted to ELF.
9314 * configure.in (sparc-*-rtemsaout*): Added as alias for old
9315 sparc-rtems configuration.
9316 * configure.in (sparc-*-rtemself*): Added.
9317 * configure.in (sparc-*-rtems*): Now ELF not a.out.
9318 * config/i386/rtems.h: Added comment.
9319 * config/sparc/rtemself.h: New file.
9321 * configure.in (m68k-rtemself): Added.
9322 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
9323 and DWARF_DEBUGGING_INFO.
9324 * config/m68k/crti.s: New file.
9325 * config/m68k/crtn.s: New file.
9326 * config/m68k/t-crtstuff: New file.
9327 * config/m68k/rtemself.h: New file.
9329 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
9330 global ctor/dtor and C++ exception handling.
9331 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
9332 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
9334 * config/i386/t-rtems-i386: New File.
9336 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
9338 * stmt.c (expand_end_case): Return right away if the case stack is
9341 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
9343 * Makefile.in (version.c): Remove rule incorrectly brought in from
9346 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
9348 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
9349 * msdos/top.sed: Take into account a prepended $(SHELL) to
9351 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
9353 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
9355 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9357 * regmove.c (fixup_match_1): Don't change an unchanging register.
9358 (stable_but_for_p): Renamed to:
9359 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
9360 Changed all callers.
9362 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
9364 * loop.c (strength_reduce): Don't call reg_used_between_p if the
9365 insn from BL2 is after the insn from BL.
9367 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
9369 * recog.h (INSN_OUTPUT_FORMAT_*): New.
9370 (struct insn_data): Merge `template' and `outfun' into `output'.
9371 Add `output_format'.
9372 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
9373 (struct data): Remove `outfun'; add `output_format'.
9374 (name_for_index): Remove declaration.
9375 (output_insn_data): Handle output formats.
9376 (process_template): Emit the bare array for @.
9377 (gen_expand, gen_split): Set output_format to NONE.
9378 * output.h (get_insn_template): Declare.
9379 * final.c (get_insn_template): New.
9380 (final_scan_insn): Use it.
9381 * toplev.c (compile_file): Likewise.
9383 * c4x/c4x.c (c4x_process_after_reload): Likewise.
9384 * i860/i860.c (output_delayed_branch): Likewise.
9385 (output_delay_insn): Likewise.
9387 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9389 * rtl.c (obstack_alloc_rtx): Removed.
9391 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
9393 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
9395 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
9397 * i386.c (call_insn_operand): Reject const_int.
9398 (expander_call_insn_operand): Use call_insn_operand.
9400 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9402 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
9404 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
9406 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
9407 Use DImode operation.
9409 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
9411 * gcc.c: Include sys/resource.h.
9412 (report_times): New flag.
9413 (execute): If report_times is set, calculate and report the
9414 CPU time consumed by each subprocess.
9416 (rus, prus): New globals.
9417 (option_map): Add --time.
9418 (display_help): Document -time.
9419 (process_command): Set report_times if -time is given.
9420 Turn off -pipe if -time is given.
9422 * invoke.texi: Document new option -time.
9424 * configure.in: Check for getrusage. Check if we have to
9425 prototype getrusage.
9426 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
9427 * configure: Regenerate.
9428 * config.in: Regenerate.
9430 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
9432 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
9435 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
9437 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
9438 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
9439 (nan): Return _thenan_sf or _thenan_df as appropriate.
9440 (L_thenan_sf): Define _thenan_sf.
9441 (L_thenan_df): Define _thenan_df.
9443 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
9444 (DPBIT_FUNCS): Add _thenan_df.
9446 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
9448 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
9451 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9453 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
9456 (lang_specific_driver): Don't take a function pointer parameter.
9457 All callers changed.
9459 * gcc.c: Include gcc.h.
9460 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
9461 lang_specific_extra_outfiles, fatal): Don't declare.
9462 (multilib_defaults_raw): Constify.
9463 (read_specs): Call memset, rather than bzero.
9464 (main): Call return, not exit.
9465 (lookup_compiler): Call memcpy, not bcopy.
9466 (fatal): Make extern.
9468 * cppspec.c: Include gcc.h.
9469 (lang_specific_driver): Initialize variable `quote'. Constify a
9470 char*. All calls to the function pointer parameter now
9471 explicitly call `fatal'.
9473 * gccspec.c (lang_specific_driver): Include gcc.h.
9475 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
9477 * arm.c (note_invalid_constants): Use recog_data.operand_type
9480 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9482 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
9485 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
9486 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9487 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9488 reload_secondary_in_reload, reload_secondary_out_reload,
9489 reload_secondary_in_icode, reload_secondary_out_icode,
9490 reload_reg_rtx, reload_when_needed): Delete declarations.
9491 (struct reload): New structure.
9492 (rld): Declare new array.
9493 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
9494 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9495 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9496 reload_secondary_in_reload, reload_secondary_out_reload,
9497 reload_secondary_in_icode, reload_secondary_out_icode,
9498 reload_reg_rtx, reload_when_needed): Delete definitions.
9500 (whole file): Replace uses of the deleted arrays with uses of rld.
9501 * reload1.c (whole file): Replace uses of the deleted arrays with
9503 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
9504 explicit loops, not with bcopy.
9506 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
9508 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
9509 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
9510 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
9511 insn_name): Delete and consolidate into new structures.
9512 (insn_operand_predicate_fn): New.
9513 (insn_output_fn): New.
9515 (struct insn_operand_data): New.
9516 (struct insn_data): New.
9518 (OUT_FCN): Update for insn_data change.
9519 * builtins.c (expand_builtin_strlen): Likewise.
9520 (expand_builtin_memcmp): Likewise.
9521 * combine.c (make_extraction, simplify_comparison): Likewise.
9522 * cse.c (canon_reg, cse_insn): Likewise.
9523 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
9524 * expmed.c (store_bit_field, extract_bit_field): Likewise.
9525 (emit_store_flag): Likewise.
9526 * expr.c (convert_move, emit_block_move): Likewise.
9527 (clear_storage, emit_push_insn, expand_increment): Likewise.
9528 (do_store_flag): Likewise.
9529 * expr.h (GEN_FCN): Likewise.
9530 (insn_gen_function): Die.
9531 * final.c (final_scan_insn): Update for insn_data change.
9532 (output_asm_name): Likewise.
9533 * function.c (fixup_var_refs_1): Likewise.
9534 * loop.c (check_dbra_loop): Likewise.
9535 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
9536 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
9537 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
9538 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
9539 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
9540 * regmove.c (gen_add3_insn): Likewise.
9541 * reload.c (push_secondary_reload, combine_reloads): Likewise.
9542 (find_reloads, find_reloads_address_1): Likewise.
9543 (debug_reload_to_stream): Likewise.
9544 * reload1.c (emit_reload_insns, gen_reload): Likewise.
9545 * stmt.c (expand_end_case): Likewise.
9546 * toplev.c (compile_file): Likewise.
9548 * c4x/c4x.c (c4x_process_after_reload): Likewise.
9549 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9551 * print-rtl.c (insn_name_ptr): Remove declaration.
9552 (get_insn_name): Declare.
9553 (print_rtx): Use it.
9554 * genoutput.c (insn_name_ptr): Remove.
9555 (next_operand_number): New.
9556 (struct operand_data): New.
9557 (null_operand, odata, odata_end): New.
9558 (struct data): Use struct operand_data.
9559 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
9560 (get_insn_name): Renamed from name_for_index.
9561 (output_prologue): Define NO_MD_PROTOTYPES.
9562 (output_predicate_decls): Break out from output_epilogue.
9563 Iterate over the operands list.
9564 (output_operand_data): Break out from output_epilogue. Emit
9565 just the operands list.
9566 (output_insn_data): Break out from output_epilogue. Emit just
9568 (output_epilogue): Remove.
9569 (output_get_insn_name): New.
9570 (constraints, op_n_alternatives, predicates, address_p): Die.
9571 (modes, strict_low, seen): Die.
9572 (scan_operands): Take new param `d' instead of writing to
9573 seven global variables.
9574 (compare_operands): New.
9575 (place_operands): New.
9576 (validate_insn_alternatives): Update for struct data change.
9577 (gen_insn): Don't zero or copy 7 global arrays. Update for
9578 scan_operands; call place_operands.
9579 (gen_peephole, gen_expand, gen_split): Likewise.
9580 (main): Update for new output routines.
9582 * genattr.c (insn_name_ptr): Remove.
9583 (get_insn_name): New function.
9584 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
9585 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
9586 * genrecog.c: Likewise.
9588 * alpha.md (adddi3): Make `pattern' array static.
9590 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9592 * config/c4x/c4x.h (c4x_rpts_cycles_string,
9593 c4x_cpu_version_string): Constify char *.
9594 * config/c4x/c4x.c (c4x_rpts_cycles_string,
9595 c4x_cpu_version_string): Likewise.
9597 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
9599 * tree.c (save_tree_status): Revert 10 Sep change.
9600 (restore_tree_status): Likewise. Call obstack_free with NULL
9601 before freeing the obstack proper.
9603 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
9605 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
9607 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
9608 surrounding context.
9610 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
9612 * tree.c (type_hash_canon): Put all types in the hash-table, when
9615 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
9617 * recog.h (struct recog_data, recog_data): New.
9618 (recog_foo variables): Kill.
9619 * recog.c (recog_operand, recog_operand_loc): Kill.
9620 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
9621 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
9622 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
9623 (recog_data): Define.
9624 (extract_insn): Update all recog_foo references to use recog_data.
9625 (preprocess_constraints, constrain_operands): Likewise.
9626 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
9627 * genattrtab.c (main): Likewise.
9628 * genextract.c (main): Likewise.
9629 * genoutput.c: Likewise.
9630 * genrecog.c (write_subroutine, main): Likewise.
9631 * local-alloc.c (block_alloc): Likewise.
9632 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
9633 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
9634 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
9635 * reload.c (find_reloads, find_reloads_toplev): Likewise.
9636 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
9637 (reload_cse_simplify_operands): Likewise.
9639 * arc/arc.c (arc_final_prescan_insn): Likewise.
9640 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
9641 * h8300/h8300.c (notice_update_cc): Likewise.
9642 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
9643 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9644 * mn10200/mn10200.c (notice_update_cc): Likewise.
9645 * mn10300/mn10300.c (notice_update_cc): Likewise.
9646 * romp/romp.c (update_cc): Likewise.
9647 * sparc/sparc.c (check_pic): Likewise.
9648 * v850/v850.c (notice_update_cc): Likewise.
9650 * genemit.c (main): Don't declare recog_operand.
9652 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
9654 * ggc.h (rtvec_def): Forward declare.
9655 (tree_node): Likewise.
9658 (ggc_set_mark_rtx): Add prototype.
9659 (ggc_set_mark_rtvec): Likewise.
9660 (ggc_set_mark_tree): Likewise.
9661 * ggc-simple.c (ggc_root): Don't define.
9662 (roots): Don't declare.
9663 (ggc_mark_rtx): Remove.
9664 (ggc_mark_rtvec): Likewise.
9665 (ggc_mark_tree): Likewise.
9666 (ggc_mark_varray): Likewise.
9667 (ggc_mark_tree_hash_table_entry): Likewise.
9668 (ggc_mark_tree_hash_table): Likewise.
9669 (ggc_set_mart_rtx): New function.
9670 (ggc_set_mark_rtvec): Likewise.
9671 (ggc_set_mark_tree): Likewise.
9672 (ggc_add_root): Remove.
9673 (ggc_add_rtx_root): Likewise.
9674 (ggc_remove_tree_root): Likewise.
9675 (ggc_add_string_root): Likewise.
9676 (ggc_add_tree_varray_root): Likewise.
9677 (ggc_add_tree_hash_table_root): Likewise.
9678 (ggc_del_root): Likewise.
9679 (ggc_mark_rtx_ptr): Likewise.
9680 (ggc_mark_tree_ptr): Likewise.
9681 (ggc_mark_string_ptr): Likewise.
9682 (ggc_mark_tree_varray_ptr): Likewise.
9683 (ggc_mark_tree_hash_table_ptr): Likewise.
9684 * ggc-common.c: New file.
9685 * Makefile.in (OBJS): Add ggc-common.o.
9686 (ggc-common.o): List dependencies.
9688 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
9690 * cppalloc.c (xstrdup): Use memcpy.
9691 * cpperror.c (cpp_print_containing_files): Don't use
9693 * cpplib.c (conditional_skip): Set temp->lineno.
9694 (do_endif): Make error message less obscure.
9695 (if_directive_name): New function.
9696 (cpp_get_token [case EOF]): Unwind the if stack and generate
9697 error messages for each unterminated conditional in this file.
9698 (parse_string): Do not behave differently if -traditional.
9700 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
9702 * builtins.c (expand_builtin_va_arg): Cope with an array-type
9703 va_list decomposing to pointer-type.
9704 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
9705 (rs6000_va_arg): Likewise.
9707 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
9709 * except.c (start_dynamic_handler): Compute size using
9710 STACK_SAVEAREA_MODE.
9712 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9714 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
9715 include directory headers. Don't define strrchr. Don't provide
9716 my_* replacement functions. Prefer PTR over `pointer_type'.
9717 Don't prototype system functions. Don't redefine getopt.
9719 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
9720 safe_read, safe_write, save_pointers, restore_pointers,
9721 is_id_char, in_system_include_dir, directory_specified_p,
9722 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
9723 find_corresponding_lparen, referenced_file_is_newer,
9724 save_def_or_dec, munge_compile_params, gen_aux_info_file,
9725 process_aux_info_file, identify_lineno, check_source,
9726 seek_to_line, forward_to_next_token_char, output_bytes,
9727 output_string, output_up_to, other_variable_style_function,
9728 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
9729 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
9730 find_static_definition, connect_defs_and_decs, add_local_decl,
9731 add_global_decls, needs_to_be_converted, visit_each_hash_node,
9732 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
9733 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
9734 scan_for_missed_items, edit_file, string_list_cons): Add static
9736 (standard_exec_prefix, target_machine, target_version,
9737 default_syscalls_dir, string_list, string_list_cons, find_file,
9738 do_cleaning): Constify a char*.
9739 (safe_read, safe_write): Use PTR, not a char*.
9740 (is_id_char): Take an int, not a char.
9741 (main): Add prototype. Call return, not exit.
9743 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
9745 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
9746 when comparing types.
9748 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
9750 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
9751 (strength_reduce): Release the varrays from the no-bivs early exit.
9753 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
9754 the loop over the registers.
9756 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
9758 (restore_tree_status): Check that instead when freeing the obstack.
9760 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
9762 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
9765 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9767 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
9768 operand size modifiers.
9770 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9772 * c-common.c (c_common_nodes_and_builtins): Don't build
9774 * c-common.h (enum c_tree_index and related accesor macros): Remove
9775 everything now declared in tree.h.
9776 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9777 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
9778 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
9779 (error_mark_node, void_type_node, char_type_node, integer_type_node,
9780 unsigned_type_node, ptr_type_node, va_list_type_node,
9781 integer_zero_node, null_pointer_node, integer_one_node): Delete.
9782 (init_decl_processing): Call build_common_tree_nodes and
9783 build_common_tree_nodes_2 instead of building their nodes here.
9784 Don't add roots for these nodes.
9785 * stor-layout.c (size_zero_node, size_one_node): Delete.
9786 (set_sizetype): Make a new node for bitsizetype each time.
9787 * tree.c (global_trees): New variable.
9788 (init_obstacks): Add a gc root for it.
9789 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9790 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
9791 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
9792 (build_common_tree_nodes): New function.
9793 (fix_sizetype): New function.
9794 (build_common_tree_nodes_2): New function.
9795 * tree.h (enum tree_index): New.
9796 (global_trees): Declare.
9797 Add accessor macros for all nodes now moved to global_trees.
9798 Delete their declarations.
9800 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
9802 * c-decl.c (finish_function): When processing a nested function,
9803 push and pop GC context around rest_of_compilation.
9805 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
9807 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
9808 Default ix86_arch to PROCESSOR_I386.
9809 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
9810 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
9811 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
9812 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
9813 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
9814 (EXTRA_SPECS): Remove deleted specs.
9816 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
9818 * function.c (assign_stack_local_1): Allocate from
9819 function->x_frame_offset, not frame_offset.
9821 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
9823 * ggc.h (lang_cleanup_tree): Remove.
9824 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
9825 * ggc-callbacks.c (lang_cleanup_tree): Remove.
9827 * c-decl.c (finish_struct): Use ggc_alloc to allocate
9828 TYPE_LANG_SPECIFIC when garbage collecting.
9829 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
9830 (lang_cleanup_tree): Remove.
9832 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
9834 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
9835 * crtstuff.c: Not here.
9836 * dwarf2out.c: Or here.
9837 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
9840 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
9842 * function.h (free_after_compilation): Remove decl parameter.
9843 (free_varasm_status0: Likewise.
9844 (free_emit_status): Likewise.
9845 (free_stmt_status): Likewise.
9846 (free_after_compilation): Likewise.
9847 (init_lang_status): New variable.
9848 (free_lang_status): Likewise.
9849 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
9850 * function.c (init_lang_status): New variable.
9851 (free_lang_status): Likewise.
9852 (push_function_context_to): Don't set function::decl here.
9853 (free_after_copmilation): Make decl parameter implicit. Call
9854 free_lang_status if defined.
9855 (prepare_function_start): Call init_lang_status if defined.
9856 (init_function_start): Set function::decl here.
9857 * profile.c (output_func_start_profiler): Don't call pushdecl
9858 until we've actually started the function.
9859 * stmt.c (free_stmt_status): Make decl parameter implicit.
9860 * toplev.c (rest_of_compilation): Don't pass decl to
9861 free_after_compilation.
9862 * varasm.c (free_varasm_status): Likewise.
9864 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9866 * except.c (call_get_eh_context): Add root when allocating static
9869 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
9871 * arm.c: Include "ggc.h".
9872 (arm_add_gc_roots): New function.
9873 (arm_override_options): Call it.
9874 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
9876 * arm.md (define_asm_attributes): Add a pool_range attribute.
9878 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
9880 * extend.texi (Volatiles): New node.
9882 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
9884 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
9885 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
9886 (struct ggc_any): Replace `mark' with `magic_mark'.
9887 (ggc_alloc_string): Use memcpy, not bcopy.
9888 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
9889 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
9890 (ggc_free_any): New.
9891 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
9892 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
9893 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
9894 Use IS_MARKED. Use ggc_free_any.
9896 1999-09-09 Scott Bambrough <scottb@netwinder.org>
9898 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
9900 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
9902 * toplev.c (main): Always init_ggc.
9904 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
9906 * except.c (find_all_handler_type_matches): Free the list if
9907 we found no matches.
9909 * combine.c (SUBST): Break out to a real function do_SUBST.
9910 (SUBST_INT): Likewise.
9911 * gcse.c (free_pre_mem): Free `temp_bitmap'.
9912 (pre_insert): Free `inserted'.
9913 * loop.c (basic_induction_var): Always set `location'.
9915 * function.c (expand_function_end): Add initial_trampoline as a root.
9916 * rtl.h (init_varasm_once): Declare.
9917 * toplev.c (compile_file): Call it.
9918 * ggc-simple.c (ggc_mark_string_ptr): New.
9919 (ggc_add_string_root): New.
9920 (ggc_collect): Disable collection avoidance temporarily.
9921 * ggc.h (ggc_add_string_root): Declare.
9922 * except.c (create_rethrow_ref): Use ggc_alloc_string.
9923 * optabs.c (init_libfuncs): Likewise.
9924 * varasm.c (named_section): Use ggc_alloc_string.
9925 (make_function_rtl): Likewise.
9926 (make_decl_rtl): Likewise.
9927 (assemble_static_space): Likewise.
9928 (assemble_trampoline_template): Likewise.
9929 (output_constant_def): Likewise.
9930 (force_const_mem): Likewise.
9931 (mark_const_hash_entry): New.
9932 (mark_pool_sym_hash_table): New.
9933 (mark_varasm_state): Use it.
9934 (init_varasm_once): New.
9936 * expr.h (init_one_libfunc): Declare.
9937 * optabs.c (init_one_libfunc): New.
9938 (init_optabs): Use it.
9939 * config/gofast.h: Likewise.
9940 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
9941 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
9943 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
9945 * Makefile.in (cppexp.o): Depend on cpphash.h.
9946 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
9948 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
9949 * cpplib.c (do_define): Generalise to handle poisoned definitions,
9950 redefining poisoned identifiers, etc.
9951 (do_undef): Don't allow poisoned identifiers to be undefined.
9952 (do_pragma): Add #pragma poison.
9953 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9955 * cccp.c: Add T_POISON node type.
9956 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
9958 (do_define): Generalise to handle poisoned definitions,
9959 redefining poisoned identifiers, etc.
9960 (do_undef): Don't allow poisoned identifiers to be undefined.
9961 (do_pragma): Add #pragma poison.
9962 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9964 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
9965 * c-pragma.h: Add ps_poison state. We now always have generic
9968 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
9970 * ggc.h (ggc_alloc): New function.
9971 (ggc_mark): Likewise.
9972 * ggc-simple.c (ggc_any): New structure.
9973 (ggc_status): Add anys.
9974 (n_anys_collected): New variable.
9975 (ggc_alloc): Define.
9976 (ggc_mark): Likewise.
9977 (ggc_collect): Collect the anys.
9979 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9981 * c-decl.c (mark_binding_level): Make static to match prototype.
9983 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
9985 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
9987 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
9989 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
9990 will use into account. Expand the max width to 5.
9993 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
9995 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
9998 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
10000 * alpha.md (call value patterns): Remove the result predicates.
10002 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
10004 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
10007 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10009 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
10010 changed from extern char *, to extern PTR. Also fix typo in
10011 NEED_DECLARATION_REALLOC test.
10013 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
10015 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10017 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
10018 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
10019 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
10020 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
10022 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
10024 * cccp.c (pcfinclude): Likewise.
10026 * global.c (allocno_compare): Likewise.
10028 * haifa-sched.c (rank_for_schedule): Likewise.
10030 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
10032 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
10034 * stupid.c (stupid_reg_compare): Likewise.
10036 * tree.c (_obstack_allocated_p): Likewise.
10038 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
10040 1999-09-08 Bruce Korb autogen@linuxbox.com
10042 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
10043 why "gperf -F" fails.
10044 * gcc/cp/Makefile.in: ditto
10045 * gcc/Makefile.in: ditto
10046 * gcc/java/Makefile.in: ditto
10048 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
10050 * lists.c: Include ggc.h.
10052 (init_EXPR_INSN_LIST_cache): Install it.
10054 * ggc-simple.c (init_ggc): Absorb the old init.
10055 (ggc_push_context): Use xcalloc.
10056 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
10057 (ggc_collect): Add [rvts] tags to the collection stats.
10059 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
10061 * cccp.c (main): Fix handling of -include and -imacros options.
10063 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
10065 * cpplib.c (cpp_push_buffer): Fix order of arguments.
10067 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10069 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
10072 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
10074 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
10075 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
10076 and SET_DEST. Update comment.
10078 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10080 * config/c4x/c4x.c: Include ggc.h.
10081 (c4x_add_gc_roots): New function.
10082 (c4x_override_options): Call c4x_add_gc_roots.
10084 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
10086 * defaults.h (TARGET_ESC): Move ...
10087 * system.h: ... here, where Linas had it in the first place. Silly me.
10089 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
10091 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
10092 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
10093 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
10094 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
10095 * defaults.h (TARGET_ESC): Add default.
10097 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
10099 * configure.in: add i370-*-openedition, i370-*-mvs and
10100 i370-*-linux targets
10102 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
10104 * dsp16xxx.c: Include ggc.h
10105 (override_options): Mark GC roots.
10106 * mn10200.c: Include ggc.h.
10107 (asm_file_start): Mark GC roots.
10108 * tahoe.c: Include ggc.h.
10109 (extensible_operand): Mark GC roots.
10111 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
10113 * README: Add section discussing status of ELF ABI.
10114 * i370.c: Fix misc spelling mistakes.
10115 (i370_label_scan): Updated notes, exception handling.
10116 (i370_function_prolog): Simplify ELF stack handling.
10117 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
10118 (STACK_GROWS_DOWNWARD): ELF stack grows down.
10119 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
10120 * i370.md: (movdi): Add notes.
10121 (floatsidf2): Use stack not rtca for scratch float area.
10122 (iorsi3): Correct operand constraints.
10123 * x-oe: Restore TAROUTOPTS which are used by pax.
10125 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
10127 * rs6000.c: Include ggc.h.
10128 (rs6000_add_gc_roots): New function.
10129 (override_options): Call it.
10131 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
10133 * alpha.h (alpha_compare): New.
10134 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
10135 * alpha.c: Likewise for the definitions.
10136 (alpha_emit_conditional_branch): Update for alpha_compare.
10137 (alpha_emit_conditional_move): Likewise.
10138 * alpha.md (cmpdf, cmpdi): Likewise.
10139 (setcc patterns): Likewise. Zero alpha_compare after use.
10140 (sne): Optimize (x != 0) into (0U < x).
10142 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
10144 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
10145 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
10146 (INIT_EXPANDERS): Remove.
10147 * alpha.c: Include ggc.h.
10148 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
10149 (alpha_init_machine_status, alpha_mark_machine_status): New.
10150 (override_options): Install them.
10151 (struct machine_function): Moved to alpha.h.
10152 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
10153 (alpha_init_expanders): Remove.
10154 (alpha_return_addr): Adjust to use current_function->machine.
10155 (alpha_ra_ever_killed): Likewise.
10156 (alpha_expand_epilogue): Likewise.
10157 * alpha.md (eh_epilogue): Likewise.
10159 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
10160 Melissa O'Neill <oneill@cs.sfu.ca>
10161 Geoffrey Keating <geoffk@cygnus.com>
10163 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
10164 call-used registers (call-saved registers must still be contiguous
10165 and end with r31, of course).
10167 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
10169 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
10170 (self_promoting_type_p): Delete.
10171 (self_promoting_args_p): Move ...
10172 * c-common.c: ... here.
10173 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
10174 (simple_type_promotes_to): New.
10175 * builtins.c (lang_type_promotes_to): New.
10176 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
10177 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
10178 * c-common.h: ... here.
10179 (self_promoting_args_p, simple_type_promotes_to): Declare.
10180 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
10181 (grokdeclarator): Likewise.
10182 * tree.h (lang_type_promotes_to): Declare.
10184 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
10186 Add some machine-dependent GC roots.
10187 * sparc.c: Include ggc.h.
10188 (sparc_add_gc_roots): New function.
10189 (mark_ultrasparc_pipeline_state): Likewise.
10190 (override_options): Call sparc_add_gc_roots.
10191 * pa.c: Include ggc.h.
10192 (pa_add_gc_roots): New function.
10193 (mark_deferred_plabels): Likewise.
10194 (override_options): Call pa_add_gc_roots.
10195 * mips.c: Include ggc.h.
10196 (mips_add_gc_roots): New function.
10197 (override_options): Use it.
10199 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10201 * cpperror.c (cpp_file_line_for_message): Constify a char*.
10203 * cppexp.c (parse_number, parse_charconst, cpp_lex,
10204 cpp_parse_expr): Add static prototypes.
10205 (parse_charconst): Don't cast away const-ness.
10206 (token): Constify a char*.
10208 * cppfiles.c (file_name_list, include_hash, find_include_file,
10209 finclude, initialize_input_buffer): Constify a char*.
10210 (file_cleanup, find_position): Add static prototypes.
10212 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
10213 collect_expansion): Add static prototypes.
10214 (cpp_install, create_definition, monthnames): Constify a char*.
10216 * cpphash.h (cpp_install): Likewise.
10218 * cppinit.c (known_suffixes, default_include,
10219 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
10220 (base_name, dump_special_to_buffer, initialize_dependency_output):
10221 Add static prototypes.
10223 * cpplib.c (my_strerror): Constify a char*.
10224 (null_underflow, null_cleanup, skip_comment, copy_comment,
10225 copy_rest_of_line, handle_directive, pass_thru_directive,
10226 get_directive_token, read_line_number, cpp_print_file_and_line,
10227 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
10228 v_cpp_warning_with_line, detect_if_not_defined,
10229 consider_directive_while_skipping): Add static prototypes.
10230 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
10231 cpp_pedwarn_with_file_and_line): Constify a char*.
10233 * cpplib.h (cpp_options, include_hash, progname, definition,
10234 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
10235 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
10236 find_include_file, deps_output, include_hash): Constify a char*.
10238 * cppmain.c (progname): Constify.
10239 (main): Add prototype. Use return, not exit.
10241 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
10242 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
10243 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
10244 check_protection): Add static prototype.
10246 (progname, recognized_macrom, recognized_extern): Constify a char*.
10247 (main): Add prototype.
10249 * gen-protos.c (progname): Constify a char*.
10251 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
10253 * emit-rtl.c (free_emit_status): Take decl as a parameter.
10254 (init_emit_once): Add more GC roots.
10255 * except.c (mark_func_eh_entry): New function.
10256 (mark_eh_node): Mark false_label and rethrow_label.
10257 (init_eh): Add more GC roots.
10258 * function.c (free_after_compilation): Take decl as a paramter.
10259 Call free_stmt_status.
10260 (mark_function_state): Don't assume x_parm_reg_stack_loc is
10262 * function.h (free_after_compilation): Change prototype.
10263 (free_varasm_status): Likewise.
10264 (free_emit_status): Likewise.
10265 (free_stmt_status): New function.
10266 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
10267 Remove, replacing with ...
10268 (ggc_status): New structure.
10269 (ggc_chain): New variable.
10270 (init_gcc): Define.
10271 (ggc_push_context): New function.
10272 (ggc_pop_context): Likewise.
10273 (ggc_alloc_rtx): Adjust for use of ggc_chain.
10274 (ggc_alloc_rtvec): Likewise.
10275 (ggc_alloc_tree): Likewise.
10276 (ggc_alloc_string): Likewise.
10277 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
10278 (ggc_mark_tree): Give language-dependent code a chance to mark
10280 (ggc_mark_tree_varray): Handle empty arrays.
10281 (ggc_collect): Adjust for use of ggc_chain. Clear
10282 bytes_alloced_since_last_gc.
10283 * ggc.h (ggc_pop_context): New function.
10284 (ggc_push_context): Likewise.
10285 * print-tree.c (print_node): Don't print obstacks when GC'ing.
10286 * stmt.c (free_stmt_status): New function.
10287 (init_stmt_for_function): Clear last_expr_value.
10288 * toplev.c (rest_of_compilation): Always call free_after_compilation.
10289 Conditionalize call to ggc_collect.
10290 (main): Call init_ggc.
10291 * tree.c (push_obstacks): Do the push, even when GC'ing.
10292 (push_obstacks_nochange): Likewise.
10293 (pop_obstacks): Liekwise.
10294 * varasm.c (free_varasm_status): Take decl as a parameter.
10296 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
10298 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
10299 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
10300 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
10301 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
10303 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
10305 * pa/x-pa-mpeix: New file for the MPE port.
10307 * pa/quadlib.asm: New file for long double support.
10309 * configure.in: Add hppa1.0-*-mpeix for MPE port.
10310 * configure: Rebuilt.
10312 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
10314 * final.c (shorten_branches): Fix last change.
10316 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
10318 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
10320 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
10322 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
10325 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10327 * c-aux-info.c (concat): Don't define.
10329 * cccp.c (my_strerror): Likewise. All callers changed to use
10331 (do_include): Call xstrdup, not xmalloc/strcpy.
10332 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
10333 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
10335 * collect2.c (my_strsignal): Likewise. All callers changed to use
10337 (locatelib): Call xstrdup, not xmalloc/strcpy.
10339 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
10341 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
10343 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
10345 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
10347 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
10349 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
10351 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
10353 (find_all_handler_type_matches): Likewise. Don't check return
10355 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
10356 xmalloc, not malloc.
10357 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
10359 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
10360 (init_spec): Call xcalloc, not xmalloc/bzero.
10361 (set_spec): Call xstrdup, not save_string.
10362 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
10363 (find_a_file): Call xstrdup, not xmalloc/strcpy.
10364 (process_command): Call xstrdup, not save_string.
10365 (main): Call xcalloc, not xmalloc/bzero.
10367 * gcov.c (xmalloc): Don't define.
10368 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
10369 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
10370 (output_data): Call xcalloc, not xmalloc/bzero.
10372 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
10374 * mips-tdump.c (xmalloc): Don't define.
10375 (print_symbol): Call xmalloc, not malloc.
10376 (read_tfile): Call xcalloc, not calloc.
10378 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
10379 Don't define. All callers of xfree/my_strsignal changed to use
10380 free/strsignal instead.
10381 (allocate_cluster): Call xcalloc, not calloc.
10383 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
10384 Fix memory leak, free allocated memory.
10386 * prefix.c (translate_name): Call xstrdup, not save_string.
10387 (update_path): Likewise.
10389 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
10391 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
10392 Don't define. Callers of xfree/savestring2 changed to use
10393 free/concat instead.
10395 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
10396 (init_elim_table): Likewise.
10398 * resource.c (init_resource_info): Likewise.
10400 * stupid.c (stupid_life_analysis): Likewise.
10402 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
10403 (open_dump_file): Call concat, not xmalloc/strcpy/...
10404 (clean_dump_file): Likewise.
10405 (compile_file): Call xstrdup, not xmalloc/strcpy.
10407 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
10409 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
10410 * v850.c (v850_va_arg): New.
10412 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10414 * haifa-sched.c: Tidy comments.
10416 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10418 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
10419 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
10420 $(out_object_file)): Depend on ggc.h.
10421 * c-common.c: Include "ggc.h".
10422 (combine_strings): If doing GC, use ggc_alloc_string.
10423 * c-decl.c: Include "ggc.h".
10424 (ggc_p): Define with value 0.
10425 (mark_binding_level): New function.
10426 (init_decl_processing): Add GC roots.
10427 (mark_c_function_context): New function.
10428 (lang_mark_false_label_stack): New function.
10429 (lang_mark_tree): New function.
10430 (lang_cleanup_tree): New function.
10431 * c-lang.c: Include "ggc.h".
10432 (lang_init): Call c_parse_init.
10433 * c-lex.c: Include "ggc.h".
10434 (check_linenum): If doing GC, don't copy filenames to permanent
10436 * c-parse.in: Include "ggc.h".
10437 (c_parse_init): New function.
10438 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
10439 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
10441 * except.c (mark_eh_state): Mark more state.
10442 * function.c (mark_function_state): Likewise.
10443 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
10444 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
10445 * toplev.c (mark_file_stack): New function.
10446 (compile_file): If doing GC, use ggc_alloc_string on input filename.
10447 (main): Add root for input_file_stack.
10449 * i386.c: Include "ggc.h".
10450 (ix86_mark_machine_status): New function.
10451 (override_options): Set mark_machine_status.
10453 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10455 * tree.c (copy_node): Copy node contents also if doing GC.
10457 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10459 * collect2.c (scan_libraries): Fix double-thinko :-).
10461 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
10463 * collect2.c (scan_libraries): Fix thinko.
10465 * cse.c (delete_trivially_dead_insns): Do not skip the last
10466 insn if it is a real insn.
10468 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
10470 * Makefile.in (ggc-simple.o): Depend on hash.h.
10471 * ggc.h (ggc_add_tree_hash_table_root): Declare.
10472 (ggc_mark_tree_varray): Likewise.
10473 (ggc_mark_tree_hash_table): Likewise.
10474 * ggc-simple.c: Include hash.h.
10475 (ggc_mark_tree_hash_table_ptr): New function.
10476 (ggc_mark_tree_hash_table_entry): Likewise.
10477 (ggc_mark_tree_hash_table): Likewise.
10478 (ggc_add_tree_hash_table_root): Likewise.
10479 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
10480 rtx, when defining fields.
10482 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10484 * profile.c (output_func_start_profiler): Remove apparently
10485 nonsensical call to start_sequence.
10487 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
10489 * clipper/clipper.c (clipper_va_start): Fix typos.
10491 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
10492 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
10493 (spur_va_arg): New stub.
10495 * configure.in: Comment out pyramid.
10497 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
10499 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
10500 don't conflict with the bits that win32, cygwin, and dgux
10503 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
10504 Bernd Schmidt <bernds@cygnus.co.uk>
10506 * integrate.c (function_cannot_inline_p): Do not inline
10507 functions with forced labels.
10509 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
10510 Bernd Schmidt <bernds@cygnus.co.uk>
10511 Mark Mitchell <mark@codesourcery.com>
10513 * Makefile.in (ggc-simple.o): Depend on varray.h.
10514 (rtl.o): Depend on ggc.h.
10515 (genattrtab.o): Depend on ggc.h.
10516 (print-tree.o): Likewise.
10517 (fold-const.o): Likewise.
10518 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
10519 (make_insn_raw): Don't cache insns when GC'ing.
10520 (emit_insn_before): Likewise.
10521 (emit_insn_after): Likewise.
10522 (emit_insn): Likewise.
10523 (start_sequence): Use xmalloc to allocate the sequence_stack.
10524 (end_sequence): Add free to free it.
10525 (gen_sequence): Don't cache insns when GC'ing.
10526 (clear_emit_caches): Don't use sequence_element_free_list.
10527 (init_emit): Use xcalloc, not xmalloc+bzero.
10528 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
10529 * function.c (pop_function_context_from): Use free to free the
10530 fixup_var_refs_queue.
10531 (put_reg_into_stack): Allocate it with xmalloc.
10532 * genattrtab.c: Include ggc.h.
10533 (operate_exp): Don't use obstack_free when GC'ing.
10534 (simplify_cond): Likewise.
10535 (simplify_text_exp): Likewise.
10536 (optimize_attrs): Likewise.
10537 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
10539 (gencode): Generate a #include for ggc.h.
10540 * ggc-callbacks.c (ggc_p): Define it to zero.
10541 * ggc-none.c (ggc_p): Likewise.
10542 * ggc-simple.c: Include varray.h.
10543 (ggc_mark_tree_varray): New function.
10544 (ggc_add_tree_varray_root): Likewise.
10545 (ggc_mark_tree_varray_ptr): Likewise.
10546 * ggc.h (ggc_p): Declare.
10547 (varray_head_tag): Likewise.
10548 (ggc_add_tree_varray_root): Declare.
10549 * print-tree.c (print_node): Don't check for TREE_PERMANENT
10550 inconsistencies when GC'ing.
10551 * rtl.c: Include ggc.h.
10552 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
10553 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
10554 (rtx_free): Don't call obstack_free when GC'ing.
10555 * toplev.c (rest_of_compilation): Call ggc_collect after every
10557 * tree.c (push_obstacks): Do nothing, if GC'ing.
10558 (pop_obstacks_nochange): Likewise.
10559 (pop_obstacks): Likewise.
10560 (make_node): Use ggc_alloc_tree when GC'ing.
10561 (copy_node): Likewise.
10562 (get_identifier): Use ggc_alloc_string when GC'ing.
10563 (build_string): Likewise.
10564 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
10565 (tree_cons): Likewise.
10566 (build1): Likewise.
10567 (type_hash_canon): Don't call obstack_free when GC'ing.
10569 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
10571 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
10572 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
10574 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
10575 Bernd Schmidt <bernds@cygnus.co.uk>
10576 Mark Mitchell <mark@codesourcery.com>
10578 * Makefile.in (stor-layout.o): Depend on ggc.h.
10579 (expr.o): Depend on ggc.h.
10580 (profile.o): Depend on ggc.h.
10581 (stor-layout.o): Depend on ggc.h.
10582 * emit-rtl.c (init_emit_once): Add gc roots.
10583 * expr.c: Include ggc.h.
10584 (emit_block_move): Add gc roots.
10585 (clear_storage): Likewise.
10586 * expr.h (init_stor_layout_once): New function.
10587 * profile.c: Include ggc.h.
10588 (init_arc_profiler): profiler_label is a root.
10589 * scan.c (make_sstring_space): Trust xrealloc to function
10590 correctly with first parameter NULL.
10591 * stor-layout.c: Include ggc.h.
10592 (set_sizetype): Add gc root.
10593 (init_stor_layout_once): New function.
10594 * toplev.c (compile_file): Call it.
10596 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
10597 Bernd Schmidt <bernds@cygnus.co.uk>
10598 Mark Mitchell <mark@codesourcery.com>
10600 * Makefile.in (tree.o): Depend on ggc.h.
10601 (varasm.o): Likewise.
10602 (function.o): Likewise.
10603 (stmt.o): Likewise.
10604 (except.o): Likewise.
10605 (optabs.o): Likewise.
10606 (emit-rtl.o): Likewise.
10607 * emit-rtl.c: Include ggc.h.
10608 (sequence_element_free_list): Remove, and all references.
10609 (mark_sequence): New functions.
10610 (mark_emit_state): New function.
10611 * except.c: Include ggc.h.
10612 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
10613 (mark_tree_label_node): New functions.
10614 (mark_eh_state): New function.
10615 * function.c: Include ggc.h.
10616 (mark_temp_slot, mark_function_chain): New functions.
10617 (mark_function_state): New function.
10618 (init_function_once): New function.
10619 * function.h (init_function_once): New function.
10620 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
10621 * ggc.h (label_node): Declare.
10622 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
10623 (lang_mark_false_label_stack): New function.
10624 (mark_temp_slot): Remove declaration.
10625 (mark_function_chain): Likewise.
10626 (mark_eh_state): Adjust prototype.
10627 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
10629 * optabs.c: Include ggc.h.
10630 (mark_optab): New function.
10631 (init_optabs): Add gc roots.
10632 * stmt.c: Include ggc.h.
10633 (mark_cond_nesting, mark_loop_nesting): New functions.
10634 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
10635 (mark_stmt_state): New function.
10636 * toplev.c (compile_file): Call init_function_once.
10637 * tree.c: Include ggc.h.
10638 (type_hash): Move declaration earlier in file.
10639 (TYPE_HASH_SIZE, type_hash_table): Likewise.
10640 (init_obstacks): Add gc roots.
10641 (mark_type_hash): New function.
10642 * varasm.c: Include ggc.h.
10643 (mark_pool_constant): New function.
10644 (mark_varasm_state): New function.
10646 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10648 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
10650 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10652 * c-decl.c (struct language_function): Renamed from struct c_function.
10654 (c_function_chain): Delete.
10655 (push_c_function_context): New arg F. Don't warn about nested
10656 functions here. Fill LANGUAGE elt of F. Delete code to update
10657 c_function_chain. Don't call push_function_context.
10658 (pop_c_function_context): New arg F. Restore from there instead of
10659 from c_function_chain. Don't call pop_function_context. Clear out
10660 LANGUAGE field of F when done.
10661 * c-lang.c: Include "function.h"
10662 (lang_init): Initialize save_lang_status and restore_lang_status.
10663 * c-parse.in (nested_function, nested_function_notype): Warn about
10664 nested functions. Call push_function_context/pop_function_context
10665 instead of the _c_ variants.
10666 * c-tree.h (push_c_function_context, pop_c_function_context): Update
10668 * Makefile.in (c-lang.o): Update dependencies.
10670 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
10671 regno_pointer_flag, regno_pointer_align.
10672 (gen_reg_rtx): Use xrealloc to enlarge them.
10673 (free_emit_status): New function.
10674 * function.c (mark_machine_status, mark_lang_status): New variables.
10675 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
10676 in some bits from assign_stack_local. All callers changed to use new
10678 (assign_stack_local): Just call assign_stack_local_1.
10679 (free_after_compilation): New function.
10680 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
10681 (trampoline_address): Likewise.
10682 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
10683 (prepare_function_start): Explicitly clear some more variables.
10684 * function.h (struct function): New elt can_garbage_collect.
10685 (mark_machine_status, mark_lang_status): Declare variables.
10686 (free_after_compilation, free_emit_status, free_varasm_status,
10687 init_varasm_status): Declare functions.
10688 * toplev.c (rest_of_compilation): Call free_after_compilation when
10689 done with the current function.
10690 * varasm.c (free_varasm_status): New function.
10692 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
10694 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
10695 (EXPAND_BUILTIN_VA_ARG): Define.
10696 * sparc.c (sparc_va_start): New.
10697 (sparc_va_arg): New.
10699 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10701 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
10703 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10705 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
10707 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
10709 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
10710 (OBJS): Add $(GGC).
10711 (ggc-callbacks.o): New target.
10712 * ggc-callbacks.c: New file.
10714 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10716 * expr.h: Collapse individual optab and libfunc vars to arrays.
10717 (optab_index, libfunc_index): New enumerations.
10718 (optab_table, libfunc_table): New arrays.
10719 Add accessor macros for both.
10721 * optabs.c (optab_table, libfunc_table): New.
10722 Delete declarations for individual optab and libfunc vars.
10724 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
10726 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
10728 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
10730 * Makefile.in (GGC, GGC_LIB): New.
10731 (HOST_RTL): Include ggc-none.o.
10732 (ggc-simple.o): New target.
10733 (ggc-none.o): Likewise.
10734 * tree.h (tree_common): Add gc_mark.
10735 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
10736 (struct rtvec_def): Add gc_mark.
10737 * emit-rtl.c (global_rtl): Update static initializers to contain
10738 enough initializers.
10739 * ggc.h, ggc-none.c, ggc-simple.c: New files.
10740 * toplev.c (gc_time): New variable.
10741 (all_time): New variable.
10742 (compile_file): Print gc time.
10743 (print_time): Calculate percentage of the whole.
10745 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10747 Change obstack memory management and varasm constant pool handling so
10748 that nested functions are treated like any other functions.
10749 * function.c (init_machine_status): New variable.
10750 (push_function_context_to): Set contains_functions for the outer
10751 function. Don't call save_varasm_status.
10752 (pop_function_context_from): Don't call restore_varasm_status. Don't
10753 set current_function_contains_functions.
10754 (prepare_function_start): Call init_varasm_status rather than
10755 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
10757 * function.h (struct function) Add field varasm. Delete fields
10758 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
10759 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
10760 (init_machine_status): Declare.
10761 (save_varasm_status, restore_varasm_status): Delete declarations.
10762 (save_tree_status, restore_tree_status): Delete last argument.
10763 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
10764 code. All callers changed.
10765 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
10766 save_constants_in_decl_trees, restore_constants, save_constants,
10767 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
10769 (inlining): New variable.
10770 (reg_map, label_map, insn_map, orig_asm_operands_vector,
10771 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
10773 (save_for_inline_nocopy): Don't save constants.
10774 Don't set inl_emit field in current_function.
10775 (expand_inline_function): Use emit field, not inl_emit, of the inlined
10776 function. Set new variable inlining before
10777 calling copy_rtx_and_substitute.
10778 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
10779 constant pool references if inlining is nonzero.
10780 Delete ADDRESS and (most of the) CONST cases.
10781 (output_inline_function): Save and restore current_function/
10782 current_function_decl. Delete restore_constants code. Don't call
10783 init_const_rtx_hash_table.
10784 * output.h (init_const_rtx_hash_table): Don't declare.
10785 * rtl.h (struct function): Declare.
10786 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
10787 * toplev.c (rest_of_compilation): Don't treat nested functions or
10788 functions containing them specially. Delete all code to deal with
10789 save_for_inline_copying.
10790 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
10791 inline_obstacks): Delete variables.
10792 (save_tree_status): Lose arg CONTEXT. All callers changed.
10793 Simply allocate a new function_maybepermanent_obstack for the new
10794 function, delete all the special cases.
10795 Don't save inline_obstacks.
10796 (restore_tree_status): Lose arg CONTEXT. All callers changed.
10797 Delete special handling for function_maybepermanent_obstack; simply
10799 Don't restore inline_obstacks.
10800 (permanent_allocation): Delete code that frees inline_obstacks.
10801 (print_inline_obstack_statistics): Delete function.
10802 (dump_tree_statistics): Don't call it.
10803 * varasm.c (struct varasm_status): New.
10804 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
10805 last_pool, pool_offset, const_double_chain): Delete global
10806 variables, replace with accessor macros.
10807 (immed_double_const): Don't walk const_double_chain outside a
10808 function, but don't treat nested functions specially anymore.
10809 (immed_real_const_1): Likewise.
10810 (clear_const_double_mem): Don't treat nested functions specially.
10811 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
10812 (save_varasm_status, restore_varasm_status): Delete functions.
10813 (init_varasm_status): New function.
10814 (force_const_mem): Don't treat nested functions specially.
10815 (find_pool_constant): Accept new arg F, search for constants in
10816 that function's pool rather than the current one. All callers
10818 (get_pool_constant_for_function, get_pool_mode_for_function): New
10821 * i386.c (init_386_machine_status): New function, mostly from
10822 clear_386_stack_locals.
10823 (struct machine_functions): Rename element names to avoid name
10825 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
10826 macros, replacing global variables.
10827 (clear_386_stack_locals, save_386_machine_status,
10828 restore_386_machine_status): Delete functions.
10829 (override_options): Initialize init_machine_status.
10830 * i386.h (INIT_EXPANDERS): Delete macro.
10831 (save_386_machine_status, restore_386_machine_status,
10832 clear_386_stack_locals): Delete declarations.
10834 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10836 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
10837 (doloop_begin): Simplify pattern and use emit_jump_insn.
10838 (doloop_end): Simplify pattern, switch operand order,
10839 and use emit_jump_insn.
10841 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10843 * function.h (struct function): Add new element LANGUAGE.
10844 (save_lang_status): Declare new variable.
10845 (restore_lang_status): Likewise.
10846 * function.c (save_lang_status): Define.
10847 (restore_lang_status): Likewise.
10848 (push_function_context_to): Call language-specific save function.
10849 (pop_function_context_from): Call language-specific restore function.
10851 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
10853 * i386.md (movsf_1): Check REG_P before use of REGNO.
10854 (movdf_1): Likewise.
10855 (movxf_1): Likewise.
10856 (extendsfdf2): Likewise.
10857 (extendsfxf2): Likewise.
10858 (extenddfxf2): Likewise.
10860 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10862 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
10863 constants into memory.
10864 (c4x_shiftable_constant): New function.
10865 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
10866 (c4x_shiftable_constant): Declare.
10867 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
10868 ashlqi3_noclobber): Add new patterns and associated splitters.
10870 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
10872 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
10873 * dwarf2out.c (dwarf2out_frame_init): Likewise.
10874 * final.c (shorten_branches): Likewise.
10875 * global.c (global_alloc): Likewise.
10876 * haifa-sched.c (build_control_flow): Likewise.
10877 * stmt.c (check_for_full_enumeration_handling): Likewise.
10878 (estimate_case_costs): Likewise.
10880 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
10882 * rtl.h (RTL_CHECKC2): Fix typo in last change.
10884 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
10886 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
10887 (recompute_reg_usage): Likewise.
10888 * rtlanal.c (find_regno_fusage): Likewise.
10890 * rtl.c (rtl_check_failed_code1): New function.
10891 (rtl_check_failed_code2): New.
10892 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
10893 (RTL_CHECKC1, RTL_CHECKC2): New.
10894 (XC*): New accessor macros.
10895 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
10896 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
10897 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
10898 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
10899 (TRAP_*, RANGE_INFO_*): Likewise.
10901 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10903 * Makefile.in (tlink.o): Don't depend on toplev.h.
10905 * collect2.c (c_file, o_file, export_file, import_file, ldout,
10906 output_file, nm_file_name, ldd_file_name, strip_file_name,
10907 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
10908 add_prefix, prefix_from_env, prefix_from_string, do_wait,
10909 fork_execute, maybe_unlink, add_to_list,
10910 extract_init_priority, write_list, dump_list,
10911 dump_prefix_list, write_list_with_asm, write_c_file,
10912 write_c_file_stat, write_c_file_glob, scan_prog_file,
10913 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
10914 ignore_library, extract_string, notice, dump_file, target_machine,
10915 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
10916 read_file, print_load_command): Constify a char*.
10917 (fdopen, error, fatal, fatal_perror): Don't prototype.
10918 (my_strerror): Remove. All callers use xstrerror instead.
10919 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
10920 (main): Add prototype. Constify lots of char* ptrs. Change calls
10921 to xcalloc/strcpy/strcat/... to one call to concat.
10922 (main, scan_prog_file, scan_libraries): Use an intermediate
10923 `const char **' to build an argv array.
10924 (mapfile, libselect, libcompare, locatelib): Add prototypes.
10926 * collect2.h (collect_execute, collect_wait, dump_file,
10927 file_exists): Constify a char*.
10928 (ldout, c_file_name, temporary_obstack, permanent_obstack,
10929 temporary_firstobj, vflag, debug): Add extern declarations.
10930 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
10932 * tlink.c: Don't include toplev.h.
10933 (vflag, debug, ldout, c_file_name, temporary_obstack,
10934 permanent_obstack, temporary_firstobj): Don't declare.
10935 (tlink_execute, frob_extension, symbol_hash_lookup,
10936 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
10937 recompile_files, read_repo_files, demangle_new_symbols,
10938 scan_linker_output): Constify a char*.
10939 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
10940 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
10942 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
10944 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
10945 (relative) rather than jsr (absolute) subroutine call insns.
10946 * config/m68k/m68k-coff.h: Ditto.
10948 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
10950 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
10951 now rework these too.
10952 (arm_reorg): If an insn can't reach the end of the current pool,
10953 ensure that we emit that pool before the insn.
10955 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
10957 * tlink.c (scan_linker_output): Skip the initial underscore in
10958 a mangled name if appropriate.
10960 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10962 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
10963 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
10964 error_with_ivar, gen_declarator, create_builtin_decl,
10965 my_build_string, generate_descriptor_table, generate_ivars_list,
10966 generate_dispatch_table, check_protocols, TAG_GETCLASS,
10967 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
10968 dump_base_name, lang_decode_option, build_encode_expr,
10969 start_class, finish_class, encode_pointer, really_start_method,
10970 gen_declaration, dump_interface, handle_class_ref, handle_impent):
10972 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
10973 Add static prototypes.
10974 (build_objc_string_decl, build_selector_reference_decl,
10975 encode_bitfield, build_class_reference_decl): Remove unused
10976 parameter, all callers changed.
10977 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
10978 (objc_printable_name): Likewise. Change second parameter to type int.
10979 (init_objc): Use memcpy, not bcopy, to avoid casts.
10981 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
10983 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
10984 reg notes on a deleted insn.
10985 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
10987 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
10989 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
10991 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10993 * stmt.c (expand_asm_operands): Fix index into inout_mode when
10996 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
10998 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
10999 * tm.texi (MD_ASM_CLOBBERS): Document it.
11001 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
11003 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
11004 * except.c (expand_rethrow): Remove unused variable.
11005 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
11006 * flow.c (replace_insns): Likewise.
11007 (create_edge_list, verify_edge_list): Likewise.
11008 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
11010 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
11011 is special code to run.
11012 (main): Don't define operands to emit_operand.
11013 * genrecog.c (main): Don't emit an empty peephole2_insn function.
11015 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
11017 * alpha/alpha.h (normal_memory_operand): Declare.
11018 (reg_no_subreg_operand): Declare.
11019 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
11021 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
11023 * c-parse.in (compstmt_primary_start): New, broken out of first
11024 part of compstmt handling in primary.
11025 (primary): Use it. Add an error clause.
11026 (compstmt_nostart): Renamed from compstmt; remove all
11027 initial invocations of compstmt_start.
11030 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
11032 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
11035 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
11037 * combine.c (simplify_shift_const): Remove extra semicolon.
11038 * dwarf2out.c (remove_AT): Likewise.
11039 * expmed.c (expand_mult): Likewise.
11040 * gcov.c (create_program_flow_graph): Likewise.
11041 * reorg.c (mostly_true_jump): Likewise.
11043 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
11045 * fold-const.c (fold_range_test): Do not try to fold the range
11046 test if the rhs or lhs has side effects.
11048 * combine.c (simplify_rtx): Recognize another case of a synthesized
11051 * varasm.c (mark_constant_pool): When marking indirect references,
11052 only look at SYMBOL_REFs.
11054 * except.c (expand_fixup_region_end): Do not peek at
11055 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
11057 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
11059 * flags.h: New variables align_loops, align_loops_log,
11060 align_jumps, align_jumps_log, align_labels, align_labels_log,
11061 align_functions, align_functions_log.
11062 * toplev.c: Define them.
11063 (f_options): Handle -falign-* when they have no argument.
11064 (main): Add logic to set variables for -falign-functions,
11065 -falign-jumps, -falign-labels, -falign-loops.
11066 Make it -fsched-verbose=<n> and -finline-limit=<n>.
11067 (display_help): Change help to match options.
11068 * final.c (LABEL_ALIGN): Default to align_labels_log.
11069 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
11070 (LOOP_ALIGN): Default to align_loops_log.
11071 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
11072 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
11073 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
11074 * varasm.c (assemble_start_function): Handle align_functions.
11076 * config/sparc/sparc.h: Don't declare sparc_align_*.
11077 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
11078 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
11080 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
11082 * config/sparc/sparc.c: Delete sparc_align_loops,
11083 sparc_align_jumps, sparc_align_funcs and the corresponding string
11085 (sparc_override_options): Default align_functions on ultrasparc.
11086 Delete -malign-* handling.
11088 * config/mips/mips.c (override_options): On 64-bit targets,
11089 try to align code to 64-bit boundaries.
11090 (print_operand): New substitution, %~,
11091 which aligns labels to align_labels_log.
11092 * config/mips/mips.md (div_trap_normal): Use %~.
11093 (div_trap_mips16): Likewise.
11095 (absdi2): Likewise.
11096 (ffssi2): Likewise.
11097 (ffsdi2): Likewise.
11098 (ashldi3_internal): Likewise.
11099 (ashrdi3_internal): Likewise.
11100 (lshrdi3_internal): Likewise.
11101 (casesi_internal): Likewise.
11103 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
11105 Merge new ia32 backend from the branch!
11107 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
11108 See ChangeLog.P2 on new_ia32_branch for details.
11110 * rtl.h (stack_regs_mentioned_p): Delete prototype.
11111 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
11112 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11113 * i386/gas.h (ASM_FILE_START): Define.
11114 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
11115 for name change of ix86_valid_decl_attribute_p.
11116 (i386_pe_valid_type_attribute_p): Similarly.
11118 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
11120 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
11121 to step through CC modes.
11123 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11125 * regmove.c (fixup_match_1): Don't move INSN in front of P if
11126 it would end up in the shadow of a live flags regsiter.
11128 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11130 * reload1.c: Fix many indentation problems.
11131 * reload.c: Likewise.
11133 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
11135 * alias.c (non_local_reference_p): Constify fmt.
11137 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
11139 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
11141 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
11143 * cse.c (delete_trivially_dead_insns): Do not delete stores to
11144 the internal_arg_pointer.
11146 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
11148 Merge peephole2 from new_ia32_branch:
11149 * Makefile.in (STAGESTUFF): Add *.peephole2.
11150 (mostlyclean): Likewise.
11151 (recog.o): Depend on resource.h.
11153 * final.c (peephole): Conditionalize decl on HAVE_peephole.
11154 (final_scan_insn): Likewise for the invocation of peephole.
11155 * genconfig.c (main): Look for peephole and peephole2 patterns.
11156 Emit HAVE_peephole* accordingly.
11157 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
11158 * flags.h (flag_peephole2): Declare.
11159 * toplev.c: New pass peephole2. New flag -fpeephole2.
11161 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
11162 * gencodes.c (main): Likewise.
11163 * genextract.c (main): Likewise.
11164 * genoutput.c (main): Likewise.
11165 * genemit.c (max_operand_1): Look for the max scratch operand.
11166 (gen_rtx_scratch): New.
11167 (gen_exp): Use it, and pass on new arg subroutine_type.
11168 (gen_expand): Take max scratch into account.
11169 (gen_split): Emit peephole2 functions.
11170 (output_peephole2_scratch): New.
11171 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
11172 * genrecog.c (routine_type): Add PEEPHOLE2.
11174 (make_insn_sequence): Match outer parallel for peep2. Discard
11175 top level scratches and dups.
11176 (add_to_sequence): New args insn_type and top. Update all callers.
11177 Handle toplevel peep2 matching insns.
11178 (write_subroutine): Handle peep2.
11179 (write_tree_1): Likewise.
11180 (write_tree): Likewise.
11182 (change_state): New arg afterward. Update all callers.
11183 Handle matching separate insns.
11184 * recog.c (recog_next_insn): New.
11185 (peephole2_optimize): New.
11186 * rtl.def (DEFINE_PEEPHOLE2): New.
11187 * resource.c (find_free_register): New argument last_insn. Use it
11188 to find a register available through the entire span.
11189 * resource.h (find_free_register): Update prototype.
11191 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
11193 * i386.c (output_strlen_unroll): Don't write xops[7]
11194 label if it wasn't set.
11196 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
11198 * cpplib.c (struct directive): Const-ify name pointer and
11199 function pointer prototype.
11200 (validate_else, do_define, do_line, do_include, do_undef,
11201 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
11202 do_elif, do_endif, do_sccs, do_assert, do_unassert,
11203 do_warning): Const-ify second arg.
11204 (directive_table): Mark const. Reorder entries by frequency
11205 of usage, record statistics.
11207 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
11209 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
11210 bounds- check RTL accesses if --enable-checking.
11211 (RTVEC_ELT): Bounds check if --enable-checking.
11212 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
11213 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
11214 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
11216 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
11217 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
11219 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
11220 (NOTE_SOURCE_FILE): Use X0STR.
11221 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
11222 MEM_ALIAS_SET): Use X0INT.
11223 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
11224 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
11226 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
11227 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
11228 (rtl_check_failed_bounds, rtl_check_failed_type1,
11229 rtl_check_failed_type2, rtvec_check_failed_bounds): New
11231 (fancy_abort): Fix comment.
11233 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
11234 (cse_insn): Decrement LABEL_NUSES for jump target before
11235 deleting jump insn.
11236 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
11237 * final.c (alter_subreg): Compute regno before changing x to
11238 REG; set REGNO(x) after changing it.
11239 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
11240 notes containing CONST_INTs.
11241 (delete_eh_regions): Use NOTE_EH_HANDLER.
11242 * function.c (put_reg_into_stack): Make reg a MEM before
11244 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
11246 (gen_mem_addressof): Make reg a MEM before initializing it.
11247 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
11249 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
11250 deleting an insn, not after.
11251 (block_alloc): Only look at PATTERN(insn) if we have to, and
11252 only if it's format class 'i'.
11253 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
11254 CONST_INT before using its INTVAL.
11255 * print-rtl.c (print_rtx): Use X0STR.
11256 * regmove.c (fixup_match_1): Don't look at PATTERN of
11257 non-class-'i' insn chain elements.
11258 * reload.c (loc_mentioned_in_p): Take address of
11259 in->fld[1].rtx directly.
11260 * reload1.c (reload): Change reg to a MEM before initializing
11262 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
11264 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
11266 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
11268 * config/mips/mips.c (machine_dependent_reorg): Force a
11269 barrier to output the local constant pool if a barrier hasn't
11270 been found at a natural point in the instruction stream.
11272 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11274 * c-parse.in (language_string): Constify.
11276 * dwarf2out.c (language_string): Remove declaration.
11278 * dwarfout.c (language_string): Likewise.
11280 * toplev.c (language_string, init_parse, finish_parse): Likewise.
11282 * tree.h (language_string, init_parse, finish_parse): Declare.
11284 * i386/sun386.h (language_string): Remove declaration.
11286 * mips.h (language_string): Likewise.
11288 * nextstep.h (language_string): Likewise.
11290 * nextstep21.h (language_string): Likewise.
11292 * rs6000.c (language_string): Likewise.
11294 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11296 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
11297 (getpwd.o): Remove target.
11299 * getpwd.c: Delete file. Its in libiberty now.
11301 * dbxout.c (getpwd): Don't prototype.
11302 * dwarf2out.c (getpwd): Likewise
11303 * dwarfout.c (getpwd): Likewise
11304 * final.c (getpwd): Likewise.
11305 * protoize.c (getpwd): Likewise.
11307 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11309 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
11311 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
11313 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
11314 mark_set_resources.
11316 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
11318 * fixinc/Makefile.in (subdir): New.
11319 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
11322 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
11324 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
11325 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
11328 * invoke.texi: Fix typo.
11330 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
11331 changed. Handle autoincrement addressing modes.
11333 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
11334 just like we would the virtual incoming args register when
11337 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
11339 * rs6000.h (ASM_FILE_START): Specify complete filename, including
11340 path, in .file directive.
11342 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
11344 * gcc.texi (External Bugs): Remove obsolete note about Perl on
11347 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
11349 * stdbool.h: Make the typedef name _Bool, with bool a #defined
11352 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11354 * tree.c (tree_code_name): Constify a char*.
11356 * tree.h (tree_code_name, decl_printable_name): Likewise.
11358 * function.h (struct function): Likewise.
11360 * toplev.c (decl_name, decl_printable_name): Likewise.
11362 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
11364 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
11365 (init_objc): Remove function pointer cast.
11367 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
11369 * pa.md (interspace_jump): New pattern.
11370 (builtin_longjmp): New expander.
11372 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
11374 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
11375 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
11376 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
11378 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
11380 * jump.c (delete_prior_computation): Also check calls
11381 to constant functions. Don't bother checking for a
11382 REG_UNUSED note before adding it.
11383 (delete_computation): Handle multi-word hard registers
11384 when synthesizing missing REG_DEAD notes for a register
11385 which is both set and used by an insn.
11387 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11389 * loop.c (this_loop_info): New variable.
11390 (loop_has_call, loop_has_volatile, loop_has_tablejump,
11391 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
11393 (prescan_loop, strength_reduce): New argument loop_info. All callers
11395 (scan_loop): New variable loop_info, initialise to address of
11397 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
11398 Delete variable loop_has_multiple_exit targets and replace with
11399 field in this_loop_info.
11400 (find_and_verify_loops): Rename this_loop to this_loop_num.
11401 (strength_reduce): Delete loop_iteration_info. Replace variable
11402 loop_info with function argument of same name.
11403 (insert_bct): Rework test for loop being completely unrolled.
11405 * loop.h (struct loop_info): New fields num, loops_enclosed,
11406 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
11407 has_indirect_jump, and cont. Redefine use of unroll_number.
11408 (loop_unroll_number): Delete.
11410 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
11411 field of loop_info.
11412 (loop_iterations): Delete variable vtop and instead use
11413 loop_info->vtop computed in prescan_loop.
11415 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
11417 * fix-header.c (main): Do not pass a null pointer to strcmp.
11419 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
11421 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
11423 * configure: Rebuilt.
11425 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
11427 * jump.c (jump_optimize_1): Do not delete assignments to
11428 internal_arg_pointer.
11429 * cse.c (delete_trivially_dead_insns): Always consider a set of
11430 the internal_arg_pointer live.
11432 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
11434 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
11435 (update_life_info) [REG_WAS_0]: Search the original insns rather
11436 than the new insns for the note. Fix typos finding note_dest.
11437 If no dest found, discard the note rather than abort.
11438 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
11439 (replace_insns): Remove the old insn list after update_life_info
11442 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
11444 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
11445 sched_analyze_insn.
11446 (sched_analyze_1): Let add_dependence care for not adding dups.
11447 (sched_analyze_2): Likewise.
11448 (add_branch_dependences): Likewise.
11450 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
11452 * i386/winnt.c (export_list): New type.
11453 (exports_head): Rename to
11454 (export_head): this.
11455 (i386_pe_record_exported_symbol): Add is_data flag.
11456 (i386_pe_asm_file_end): Emit directive for exported variables.
11457 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
11459 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
11460 (ASM_DECLARE_OBJECT_NAME): Likewise.
11461 (ASM_DECLARE_FUNCTION_NAME): Likewise.
11462 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11464 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
11466 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
11468 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
11471 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
11473 * config/openbsd.h: Define SET_ASM_OP.
11474 * tm.texi: cross-reference SET_ASM_OP in the index.
11476 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
11478 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
11479 for a CONST_DOUBLE, at compile time. Initialize rtx_length
11480 and class_narrowest_mode at compile time. Kill init_rtl.
11481 Mark rtx_length, mode_class, mode_size, mode_unit_size,
11482 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
11483 rtx_format as const. Kill all references to EXTRA_CC_MODES or
11485 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
11487 * rtl.h: Declare rtx_length and rtx_format as const.
11488 * machmode.def: Define CC(). Use CC() to define CCmode. If
11489 EXTRA_CC_MODES is defined, expand it here.
11490 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
11491 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
11492 const. Kill all references to EXTRA_CC_MODES.
11494 * toplev.c: Don't prototype or call init_rtl.
11495 * optabs.c: Don't call init_mov_optab.
11496 * genemit.c: Don't generate init_mov_optab. Don't call
11498 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
11500 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
11501 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
11502 genrecog.c: Don't call init_rtl.
11504 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
11505 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
11506 definition of EXTRA_CC_MODES.
11508 * md.texi: Kill ref to EXTRA_CC_NAMES.
11509 * tm.texi: Document new way to define EXTRA_CC_MODES.
11511 * genrecog.c: Do not look up the name of a define_split.
11512 (Unrelated bugfix.)
11514 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
11516 * config/v850/v850.md: Fix typo introduced by previous delta.
11518 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11520 * gcc.c (fatal): Make definition static to match prototype.
11522 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11524 * combine.c (get_last_value): Don't look for earlier sets if the last
11525 known set is somewhere in between the insns being combined.
11527 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
11529 * configure.in: Don't use shell ! to negate exit codes
11530 * configure: Regenerate
11532 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
11534 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
11535 the fact that ALIGN is measured in bits, not bytes.
11537 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
11539 * errors.c: New file; defines functions error, warning, and
11540 fatal, variables have_error and progname.
11541 * errors.h: New file; prototypes and decls for stuff in errors.c.
11543 * Makefile: Add rules to build errors.o and
11544 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
11545 genopinit, genrecog, genextract, genpeep, genattr, and
11546 genoutput with errors.o. Add errors.h to deps of genconfig.o,
11547 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
11548 genpeep.o, genattr.o, and genoutput.o.
11550 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
11551 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
11552 define or prototype fatal. Set progname at beginning of main.
11553 * genoutput.c: Likewise, and don't define or prototype error
11556 * c-typeck.c (c_expand_start_case): Return immediately if exp
11558 * fold-const.c (operand_equal_p): Return immediately if arg1
11559 or arg0 are ERROR_MARKs.
11560 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
11561 fields of type ERROR_MARK when calculating if the record can
11564 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
11565 with much help from Jeffrey A Law and Richard Henderson
11567 * i386.md: In the 6 insns which call output_fix_trunc,
11568 earlyclobber operands[0].
11570 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
11572 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
11573 creating new registers.
11575 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
11577 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
11578 i386_reg_alloc_order, i386_regparm_string,
11579 i386_align_loops_string, i386_align_jumps_string,
11580 i386_align_funcs_string, i386_preferred_stack_boundary_string,
11581 and i386_branch_cost_string as type "const char *".
11582 * i386.c: Define all above strings as type "const char *".
11584 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
11586 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
11587 when emitting alignment padding. Emit padding byte of 0 instead of 4.
11589 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
11591 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
11592 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
11594 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
11596 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
11597 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
11598 (dwarf2out_line, dwarf2out_finish): Likewise.
11599 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
11601 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
11603 * tree.c (lang_unsave_expr_now) : Correct return type.
11604 * tree.h (lang_unsave_expr_now) : Same.
11606 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
11608 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
11609 instead of duplicating code.
11611 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11613 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
11615 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
11617 * tree.h: fancy_abort always takes three args.
11618 * resource.c: Move include of system.h before toplev.h.
11620 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
11622 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
11625 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
11627 * system.h: Don't redefine abort or trim_filename.
11628 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
11629 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
11630 whether or not __FUNCTION__ is available.
11631 * tree.h: Duplicate rtl.h's definition of abort, for files
11632 that don't include rtl.h. Delete all code to perform type
11633 checking with a compiler other than GCC.
11634 * varray.h: Delete all code to perform type checking with a
11635 compiler other than GCC. Make VARRAY_CHECK() always evaluate
11636 its arguments exactly once, using a statement expression.
11637 Adjust the VARRAY_<type> accessor macros to match.
11638 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
11639 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
11640 caller's location. Define fatal_insn and fatal_insn_not_found
11641 as macros that use _fatal_insn and _fatal_insn_not_found.
11642 (fancy_abort, trim_filename): Kill prototypes.
11644 * rtl.c (trim_filename): Move here from toplev.c.
11645 (fancy_abort): New function.
11646 (DIR_SEPARATOR): Provide default definition.
11647 * tree.c (tree_check_failed, tree_class_check_failed): Go
11648 through fancy_abort.
11649 (tree_check, tree_class_check, cst_or_constructor_check,
11650 expr_check): Delete.
11651 * varray.c (varray_check_failed): New function.
11652 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
11653 _fatal_insn and _fatal_insn_not_found. Go through
11655 (trim_filename, fancy_abort): Delete.
11657 * builtins.c (expand_builtin_args_info): Report ICE with abort.
11658 * except.c (start_catch_handler): Report ICE with error/abort
11660 * final.c (output_operand_lossage): Likewise.
11661 * flow.c (verify_flow_info): Likewise.
11663 * gcc.c: Prototype fatal.
11664 * gengenrtl.c: Undef abort after including rtl.h not system.h.
11665 * genattr.c, genattrtab.c, genemit.c, genextract.c,
11666 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
11667 Don't define fancy_abort.
11669 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
11671 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
11674 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
11676 * m88k.h (VERSION_INFO2): Kill.
11677 (VERSION_STRING): Kill.
11679 (VERSION_INFO1): Tidy.
11680 (TARGET_VERSION): Update.
11681 * m88k/dgux.h (VERSION_INFO2): Kill.
11682 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
11683 * m88k/luna.h (VERSION_INFO1): Tidy.
11684 * m88k/sysv4.h (VERSION_INFO1): Likewise.
11685 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
11686 (output_file_start): Adjust for death of VERSION_STRING.
11688 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
11690 * cpplib.c (detect_if_not_defined): New function.
11691 (do_if): Use it to detect potential once-only headers.
11693 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
11695 * c-common.c (combine_strings): Always set TREE_CONSTANT.
11697 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
11699 * combine.c (nonzero_bits) : Allow single-ly set registers to be
11700 anywere in the function only if they are pseudos and set before
11701 being used (not live at the start of the function).
11702 (num_sign_bit_copies) : Same.
11703 (get_last_value_validate) : Same.
11704 (get_last_value) : Same.
11706 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
11708 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
11709 where N and M are constant and N is an integer multiple of M.
11711 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11713 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
11714 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
11715 sbitmap_union_of_preds): Add prototypes.
11716 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
11717 the intersection of successors with the new flow graph structures.
11718 (sbitmap_intersection_of_preds): New function to compute the
11719 intersection of predecessors with the new flow graph structures.
11720 (sbitmap_union_of_succs): New function to compute the union of
11721 successors with the new flow graph structures.
11722 (sbitmap_union_of_preds): New function to compute the union of
11723 predecessors with the new flow graph structures.
11724 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
11725 (expr_reaches_here_p): Use edge and basic_block structures instead
11726 of s_preds and s_succs.
11727 (compute_cprop_avinout): Use new sbitmap routines.
11728 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
11729 of s_preds and s_succs.
11730 * flow.c (compute_flow_dominators): Compute dominators using
11731 edges and basic blocks instead of s_preds and s_succs.
11733 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11735 * lists.c (unused_insn_list, unused_expr_list): New file for
11736 maintaining various types of lists. New statics for maintaining a
11737 cache of available INSN_LIST and EXPR_LIST nodes.
11738 (free_list): Static function for freeing a list of INSN/EXPR nodes.
11739 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
11740 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
11741 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
11742 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
11743 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
11744 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
11745 (free_INSN_LIST_node): Free an individual INSN_LIST node.
11746 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
11747 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
11748 (remove_dependence, free_pending_lists): Use new global routines.
11749 (flush_pending_lists, sched_analyze_insn): Use new global routines.
11750 (sched_analyze, compute_block_backward_dependences): Use new routines.
11751 (sched_analyze_1, sched_analyze_2): Use new routines.
11752 (schedule_insns): Use new global routines.
11753 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
11755 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
11756 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
11758 * toplev.c (rest_of_compilation): Initialize node cache.
11759 * Makefile.in (OBJS): Add lists.o to list of object files.
11760 (lists.o): Add dependancies.
11762 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
11764 * config/v850/v850.md: Fix compile time warning messages.
11765 * config/v850/v850.c: Fix compile time warning messages.
11766 * config/v850/v850.h: Fix compile time warning messages.
11768 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11770 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
11771 Remove unused prototype for `init_lengths'.
11773 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11775 * calls.c (emit_call_1): Mark parameter `stack_size' with
11777 (expand_call): Initialize variable `insn'.
11778 (emit_library_call): Likewise for variable `high_to_save'.
11779 (emit_library_call_value): Likewise.
11780 (store_one_arg): Likewise for variables `lower_bound' and
11783 * combine.c (try_combine): Likewise for variables `i2_code_number'
11784 and `other_code_number'.
11785 (find_split_point): Likewise for variables `pos', `unsignedp' and
11787 (simplify_if_then_else): Likewise for variables `op' and `c1'.
11788 (simplify_and_const_int): Remove unused variable `width'.
11789 (merge_outer_ops): Likewise.
11791 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
11792 HOST_WIDE_INT' when comparing against one.
11793 (simplify_relational_operation): Likewise.
11794 (cse_insn): Initialize variables `src_eqv_volatile',
11795 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
11797 * final.c (init_final): Constify parameter `filename'.
11798 (final_start_function): Mark parameter `optimize' with
11800 (profile_function): Likewise for parameters `first' and `optimize'.
11801 (output_source_line): Likewise for parameter `file'.
11803 * integrate.c (subst_constants): Cast a value to `size_t' when
11804 comparing against one.
11805 (mark_stores): Initialize variable `mode'. Cast a value to
11806 `size_t' when comparing against one.
11808 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
11810 * loop.c (move_movables): Initialize variable `first'.
11811 (strength_reduce): Likewise for variable `increment'.
11812 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
11813 value to `size_t' when comparing against one.
11814 (load_mems): Initialize variable `end_label'.
11816 * output.h (init_final): Constify parameter.
11818 * reload.c (decompose): Initialize variable `base'.
11820 * reload1.c (reload): Likewise for variable `is_scalar'.
11821 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
11822 (choose_reload_regs): Initialize variable `mode'.
11823 (emit_reload_insns): Likewise for variable `store_insn'.
11824 (reload_cse_noop_set_p): Mark parameter `insn' with
11826 (reload_combine): Initialize variable `set'.
11828 * unroll.c (unroll_loop): Likewise for variable `local_label'.
11829 (copy_loop_body): Cast a value to `size_t' when comparing against
11832 * varasm.c (assemble_variable): Initialize variable `size_tree'.
11833 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
11834 (remove_from_pending_weak_list): Mark parameter `name' with
11837 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11839 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
11842 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
11844 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
11845 (ASM_DECLARE_FUNCTION_NAME): Define.
11846 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
11847 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
11848 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
11849 not already defined.
11851 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
11853 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
11854 of n_popped when call/call_value are not defined.
11856 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
11858 * tm.texi: GNU CC -> GCC conversion.
11859 (CC1_SPEC): Indicate it is used for all language front ends.
11861 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
11863 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
11864 NOTE_INSN_EH_REGION_END correctly.
11866 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
11867 Jeff Law <law@cygnus.com>
11869 * loop.c (strength_reduce): Automatically unroll loops if the
11870 unrolled loop size is smaller than the rolled loop size.
11872 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
11873 and delete comment that code should be rewritten.
11875 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
11877 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
11880 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
11882 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
11884 * fixinc/mkfixinc.sh: Don't fix uwin headers.
11885 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
11886 (LINK_SPEC): Add -u _main when building executables.
11887 (ASM_DECLARE_FUNCTION): Update from Cygwin.
11888 (ASM_FILE_END): Use the default for ix86-pe.
11889 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
11891 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
11893 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
11894 and ASM_CLOSE_PAREN are empty strings.
11896 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
11897 Geoffrey Keating <geoffk@cygnus.com>
11899 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
11900 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
11901 (unprotoize.o): Ditto.
11902 (test-protoize-simple): Don't define STD_PROTO_DIR.
11903 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
11904 changes to make 'test-protoize-simple' pass.
11905 (STD_PROTO_DIR): Remove define.
11906 (STANDARD_EXEC_PREFIX): Supply default define.
11907 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
11908 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
11909 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
11910 (GET_ENV_PATH_LIST): New macro.
11911 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
11912 (do_processing): Initialize default_syscalls_dir using new
11913 macros. Use it to initialize syscalls_absolute_filename.
11915 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
11917 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
11918 B into a register before emit_conditional_move.
11920 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
11922 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
11923 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
11924 multiplicand out of (+ (* a b) (* c d)).
11926 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
11927 Richard Henderson <rth@cygnus.com>
11929 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
11930 (new_insn_dead_notes): Likewise.
11931 (update_n_sets): Likewise.
11932 (update_flow_info): Move to flow.c, renamed to update_life_info;
11933 extend to handle multiple source insns.
11934 * flow.c: Include resource.h
11935 (unlink_insn_chain): New.
11936 (split_hard_reg_notes): New.
11937 (maybe_add_dead_note): New.
11938 (maybe_add_dead_note_use): New.
11939 (find_insn_with_note): New.
11940 (new_insn_dead_notes): New.
11941 (update_n_sets): New.
11942 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
11943 (maybe_remove_dead_notes): New.
11944 (update_life_info): New.
11945 (prepend_reg_notes): New.
11946 (replace_insns): New.
11947 * output.h (update_life_info): Declare.
11948 * recog.c (split_block_insns): Use update_life_info.
11949 * resource.c (find_free_register): Use reg_alloc_order, don't use
11950 fixed regs, make sure the mode is supported, don't use new regs.
11952 * rtl.h (replace_insns): Declare.
11954 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
11956 * expr.c (expand_expr): Cope with COND_EXPRs with one
11957 non-returning branch.
11959 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
11961 * expr.c (store_expr): Always pass down the target, even when not
11964 1999-08-24 Nick Clifton <nickc@cygnus.com>
11966 * configure.in: Define target_cpu_default for v850 targets.
11967 * configure: Regenerate
11969 * config/v850/v850.h (TARGET_CPU_generic): Define.
11970 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
11971 addresses are 4 byte aligned.
11973 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
11976 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11978 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
11979 (main): Add prototypes.
11981 * genattrtab.c (substitute_address, write_const_num_delay_slots,
11982 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
11983 (write_attr_get): Emit prototypes along with function definition.
11984 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
11985 (write_complex_function): Emit static prototype along with
11986 function definition.
11988 * genemit.c (gen_split): Emit prototypes along with function
11991 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
11992 Likewise for predicates and `insn_operand_predicate'.
11993 (process_template): Emit static prototype along with function
11996 * genrecog.c (make_insn_sequence): Constify a char*. Add
11997 prototypes for get_split_*().
11998 (write_subroutine): Emit prototypes along with function
12001 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12003 * gcse.c (find_avail_set): Follow chains of register-register copies.
12004 Use oprs_not_set_p to guarantee that the returned value can be
12006 (cprop_insn): Don't verify the return value of find_avail_set with
12009 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
12010 (cprop_cc0_jump): New function.
12011 (cprop_insn): Break out new function cprop_jump and use it.
12012 Also use cprop_cc0_jump for machines with CC0.
12013 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
12015 * tree.h (current_function_calls_setjmp,
12016 current_function_calls_longjmp): Delete declarations.
12017 * dsp16xx.c: Include "function.h".
12018 * elxsi.c: Likewise.
12019 * gmicro.c: Likewise.
12020 * h8300.c: Likewise.
12021 * i370.c: Likewise.
12022 * m32r.c: Likewise.
12023 * mn10200.c: Likewise.
12024 * mn10300.c: Likewise.
12025 * ns32k.c: Likewise.
12026 * spur.c: Likewise.
12027 * v850.c: Likewise.
12029 * rtl.h (rtx_equal_function_value_matters): Declare.
12030 * toplev.c (rtx_equal_function_value_matters): Don't declare.
12032 * function.c: Likewise.
12033 * emit-rtl.c: Likewise.
12035 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
12037 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
12040 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12042 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
12045 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
12047 * cpp.texi: Add a node documenting macro varargs (copied
12050 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
12052 * cppspec.c: Put a null pointer at the end of the new argv.
12054 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
12056 * configure.in: Remove code to select/de-select the haifa
12057 scheduler. Every scheduled port gets haifa now.
12058 * configure: Rebuilt.
12059 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
12061 * Makefile.in: Corresponding changes.
12063 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12065 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
12066 All callers changed.
12067 (prepare_float_lib_cmp): Likewise.
12068 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
12069 * expr.h (emit_float_lib_cmp): Delete declaration.
12070 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
12071 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
12072 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
12074 (cmptf): Now conditional on TARGET_HARD_QUAD.
12076 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
12078 * resource.c (mark_target_live_regs): Use
12079 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
12081 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12083 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
12085 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
12087 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
12089 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12091 * rtl.h (rtx_format): Constify a char*.
12093 * rtl.c (rtx_format): Likewise.
12094 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
12095 (init_rtl): Use accessor macro, not `rtx_format'.
12097 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
12100 * caller-save.c (mark_referenced_regs): Likewise.
12102 * combine.c (subst, make_compound_operation, known_cond,
12103 gen_rtx_combine, update_table_tick, get_last_value_validate,
12104 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
12106 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
12107 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
12108 count_reg_usage): Likewise.
12110 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
12113 * final.c (leaf_renumber_regs_insn): Likewise.
12115 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
12116 dump_edge_info, count_reg_references): Likewise.
12118 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
12119 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
12122 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
12123 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
12124 add_label_notes): Likewise.
12126 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
12127 clear_struct_flag, count_sub_rtxs, count_alternatives,
12128 compares_alternatives_p, contained_in_p, walk_attr_value,
12129 write_expr_attr_cache): Likewise.
12131 * genconfig.c (walk_insn_part): Likewise.
12133 * genemit.c (max_operand_1, gen_exp): Likewise.
12135 * genextract.c (walk_rtx): Likewise.
12137 * genflags.c (num_operands): Likewise.
12139 * genoutput.c (scan_operands): Likewise.
12141 * genpeep.c (match_rtx): Likewise.
12143 * genrecog.c (add_to_sequence): Likewise.
12145 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
12148 * integrate.c (save_constants, copy_for_inline,
12149 copy_rtx_and_substitute, subst_constants, restore_constants):
12152 * jump.c (mark_jump_label, invert_exp, redirect_exp,
12153 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
12155 * local-alloc.c (contains_replace_regs, memref_referenced_p):
12158 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
12159 add_label_notes, replace_call_address, count_nonfixed_reads,
12160 invariant_p, find_single_use_in_loop, find_mem_givs,
12161 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
12164 * print-rtl.c (reg_names, print_rtx): Likewise.
12166 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
12168 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
12169 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
12170 print_blocks): Likewise.
12172 * regclass.c (fix_register, record_address_regs,
12173 reg_scan_mark_refs): Likewise.
12175 * regmove.c (stable_but_for_p): Likewise.
12177 * reload.c (loc_mentioned_in_p, operands_match_p,
12178 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
12179 copy_replacements, refers_to_regno_for_reload_p,
12180 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
12181 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
12184 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
12185 delete_address_reloads_1, count_occurrences,
12186 reload_cse_mem_conflict_p, reload_combine_note_use,
12187 add_auto_inc_notes): Likewise.
12189 * resource.c (mark_referenced_resources, mark_set_resources):
12192 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
12193 reg_mentioned_p, regs_set_between_p, modified_between_p,
12194 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
12195 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
12196 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
12197 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
12199 * sched.c (sched_analyze_2, attach_deaths): Likewise.
12201 * stupid.c (stupid_mark_refs): Likewise.
12203 * unroll.c (remap_split_bivs): Likewise.
12205 * varasm.c (mark_constants): Likewise.
12207 * a29k/a29k.c (uses_local_reg_p): Likewise.
12209 * alpha/alpha.c (summarize_insn): Likewise.
12211 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
12212 eliminate_lr2ip): Likewise.
12214 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
12216 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
12217 reg_mentioned_in_mem): Likewise.
12219 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
12220 symbolic_reference_mentioned_p): Likewise.
12222 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
12224 * sh/sh.c (regs_used, mark_use): Likewise.
12226 * vax/vax.c (vax_rtx_cost): Likewise.
12228 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12230 * machmode.h (mode_name): Constify a char*.
12232 * rtl.c (mode_name): Likewise.
12234 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
12236 * optabs.c (init_libfuncs): Constify a char*.
12238 * print-tree.c (mode_name): Remove redundant declaration.
12239 (print_node): Use accessor macro, not `mode_name'.
12241 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
12243 (new_spill_reg): Constify a char*.
12245 * tree.c (mode_name): Remove redundant declaration.
12247 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12249 * rtl.c (rtx_name): Constify a char*.
12251 * rtl.h (rtx_name, fix_sched_param): Likewise.
12253 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
12254 (mypr): Use accessor macro, not `rtx_name'.
12256 * genemit.c (print_code): Constify a char*.
12258 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
12260 * genpeep.c (print_code): Constify a char*.
12262 * genrecog.c (print_code): Likewise.
12264 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
12265 end_bb): Add static prototype.
12266 (draw_edge): Constify a char*.
12267 (end_bb): Remove unused parameter.
12269 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
12270 print_block_visualization): Constify a char*.
12272 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
12274 * c-common.c (c_get_alias_set): Update comment.
12276 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12278 * linux.h (LIB_SPEC): Added.
12280 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12282 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
12284 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
12286 * tree.c (expr_check): Fix typo in last change.
12288 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
12290 * rtl.def (NOTE): Change format to "iuu0n".
12291 (ADDR_DIFF_VEC): Change format to "eEee0".
12292 (ADDRESSOF): Change format to "eit".
12294 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
12295 (RTVEC_ELT): Change to match.
12296 (XVECEXP): Use XVEC and RTVEC_ELT.
12297 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
12298 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
12299 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
12300 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
12301 TRAP_CONDITION, TRAP_CODE): Use XEXP.
12302 (INTVAL): Use XWINT.
12303 (ADDRESSOF_DECL): Use XTREE.
12304 (SET_ADDRESSOF_DECL): Delete.
12305 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
12306 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
12307 ifdefed out since 2.6 at least.
12308 (gen_rtvec_vv): Delete prototype.
12310 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
12312 (copy_most_rtx): Handle 't' format letter.
12313 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
12314 (gen_rtvec_vv): Delete function. All callers changed to use
12315 gen_rtvec_v instead.
12316 * print-rtl.c (print_rtx): Move special casing of NOTEs to
12317 the '0' format letter.
12319 * function.c (gen_mem_addressof): Don't use
12320 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
12322 * integrate.c (copy_rtx_and_substitute): Likewise.
12323 Copy 't' slots with XTREE.
12324 (subst_constants): Treat 't' slots like '[swi]' slots.
12325 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
12326 * jump.c (rtx_equal_for_thread_p): Likewise.
12327 * rtlanal.c (rtx_equal_p): Likewise.
12328 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
12329 only four arguments.
12330 * gengenrtl.c (type_from_format): Provide correct types for
12334 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
12335 If a recent gcc is in use (always in stage2 and beyond), use
12336 statement expressions, so we don't make a function call unless
12337 the check fails. Evaluate arguments exactly once.
12338 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
12339 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
12341 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
12342 they evaluate their arguments exactly once, irrespective of
12343 the compiler in use.
12345 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
12346 is used by the currently-enabled check macros. This is:
12347 (tree_check_failed, tree_class_check_failed): For gcc.
12348 (tree_check, tree_class_check, cst_or_constructor_check,
12349 expr_check): For other compilers.
12351 * gencheck.c: Do not define any *_CHECK1 macros.
12353 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
12354 Mark Mitchell <mark@codesourcery.com>
12356 * c-common.c (c_get_alias_set): Fix support for poitners and
12359 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
12361 * alias.c: Include tree.h.
12362 (nonlocal_reference_p, mark_constant_function): New functions.
12363 * flow.c (life_analysis): Call mark_constant_function.
12364 * rtl.h (mark_constant_function): Declare it.
12366 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
12368 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
12369 unrecognisable switches.
12371 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12373 * loop.c (recombine_givs): Set ix field after sorting.
12374 (recombine_givs): Remove bogus index / giv lockstep looping.
12376 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12378 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
12380 (emit_store_flag_force): Use do_compare_rtx_and_jump.
12381 (do_cmp_and_jump): Formatting fixes.
12382 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
12383 do_compare_rtx_and_jump instead of compare_from_rtx.
12384 (do_compare_rtx_and_jump): New function; mostly copied from
12386 (do_jump_for_compare): Delete.
12387 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
12389 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
12390 of compare/do_jump_for_compare pairs.
12391 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
12392 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
12393 compare_from_rtx/do_jump_for_compare pairs.
12394 (do_jump_by_parts_equality): Likewise.
12395 (do_jump_by_parts_equality_rtx): Likewise.
12396 * expr.h (do_compare_rtx_and_jump): Declare.
12397 * optabs.c (prepare_cmp_insn): New function, contains most of the code
12398 that used to be in emit_cmp_insn.
12399 (cmp_available_p): New function.
12400 (prepare_operand): New function.
12401 (emit_cmp_and_jump_insn_1): New function, contains some code that used
12402 to be in emit_cmp_insn.
12403 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
12404 parameters to be pointers; don't emit final compare but modify some of
12405 the values pointed to by the args so the caller can perform the
12406 correct comparison.
12407 (expand_binop): Call emit_store_flag_force with signed forms of
12409 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
12410 emit_jump_insn pair.
12411 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
12412 emit_cmp_and_jump_insn_1. Call emit_queue.
12413 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
12415 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
12416 jump sets cc0 before deleting it.
12417 * integrate.c (expand_inline_function): Likewise.
12418 * unroll.c (unroll_loop): Similar changes in several places.
12419 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
12420 before deleting it.
12422 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12424 * Makefile.in (insn-recog.o): Update dependencies.
12425 * genrecog.c (main): Make generated file include "function.h".
12427 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
12429 * cse.c (cse_insn): Call never_reached_warning when a jump is
12430 changed to be unconditional.
12431 * flags.h: Declare warn_notreached.
12432 * flow.c (delete_block): Call never_reached_warning when
12433 a block is deleted.
12434 * jump.c (delete_barrier_successors): Call never_reached_warning
12435 when we delete everything after a BARRIER.
12436 (never_reached_warning): New function.
12437 * rtl.h: Declare never_reached_warning.
12438 * toplev.c (warn_notreached): New variable.
12439 (lang_independent_options): Set warn_notreached
12440 when -Wunreachable-code.
12441 (compile_file): We need line numbers for -Wunreachable-code.
12443 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
12445 * haifa-sched.c (insn_unit): Fix typo on out of range test.
12446 * sched.c (insn_unit): Likewise.
12448 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
12450 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
12452 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12454 * flow.c (create_edge_list): Use xmalloc, not malloc.
12456 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
12458 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
12459 C-style comments. Do not lose the character before double slash.
12461 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12463 * basic-block.h (struct edge_list): Stucture to maintain a vector
12465 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
12466 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
12467 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
12468 New function prototypes.
12469 * flow.c (create_edge_list): Function to create an edge list.
12470 (free_edge_list): Discards memory used by an edge list.
12471 (print_edge_list): Debug output showing an edge list.
12472 (verify_edge_list): Internal consistency check for an edge list.
12473 (find_edge_index): Function to find an edge index for a pred and succ.
12475 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
12477 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
12480 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
12482 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
12484 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12486 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
12488 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
12490 * toplev.c (rest_of_compilation): Allow machine dependent
12491 reorganisation pass to place information into the RTL dump
12492 file if it so wishes.
12494 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
12496 * explow.c (hard_function_value): Use VOIDmode instead of
12498 * stmt.c (expand_return): Likewise.
12499 * stor-layout.c (get_best_mode): Likewise.
12501 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
12502 emit call instead of emit_insn call.
12504 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
12506 * configure.in: Handle --disable/enable-win32-registry.
12507 * install.texi: Document --disable/enable-win32-registry.
12508 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
12509 (WIN32_REGISTRY_KEY): New macro.
12510 * prefix.c: Use to enable/disable win32-specific code.
12511 (lookup_key): Use versioned key.
12512 * configure: Regenerate.
12513 * config.in: Likewise.
12515 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
12517 * cpplib.c (read_line_number): New fn, split out of...
12520 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
12522 tree.c (lang_unsave_expr_now) : New.
12523 (unsave_expr_now): Call lang_unsave_expr_now.
12524 tree.h (lang_unsave_expr_now) : New.
12526 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
12528 * toplev.c (flag_new_exceptions): On by default.
12530 1999-08-13 Michael Meissner <meissner@cygnus.com>
12532 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
12534 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12536 * dwarfout.c (fundamental_type_code): Return FT_boolean for
12537 INTEGER_TYPE with precision==1, it's __java_boolean.
12539 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12541 * global.c (prune_preferences): Move some invariants out of the
12544 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
12546 * configure.in (alpha*-dec-osf*): Add osf5.
12548 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
12550 * configure.in: Rework handling of ARM GNU/Linux slightly.
12551 (arm*-*-linux-gnuoldld): New target.
12552 * configure: Regenerate.
12553 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
12554 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
12555 * config/arm/linux-oldld.h: New file.
12556 * config/arm/linux-elf26.h: Don't include linux-elf.h.
12557 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
12559 * config/arm/linux-elf.h (ASM_SPEC): Define.
12560 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
12561 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
12562 for 26-bit APCS and old linker.
12563 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
12565 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
12566 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
12567 don't define `arm' or `arm_elf'.
12568 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
12569 MULTILIB_DIRNAMES): Define. Fix typo in comment.
12571 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
12573 * rtl.texi: Fix typo.
12575 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
12577 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
12579 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
12581 * extend.texi (C++ Signatures): Remove node.
12582 * invoke.texi: Remove discussion of -fhandle-signatures,
12583 signature, sigof, __signature__, and __sigof__.
12585 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
12587 * Makefile.in (JAVAGC): Removed.
12589 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
12591 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12593 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
12595 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12597 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
12599 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
12600 a register that is already known to be a pointer.
12602 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
12604 * fixinc/inclhack.tpl: Only install assert.h conditionally.
12605 * fixinc/inclhack.sh: Regenerated.
12606 * fixinc/fixincl.sh: Regenerated.
12608 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
12610 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
12611 Fix documentation of -ansi flag to describe its C++ behavior.
12612 Remove bogus reference to GCC 2.9.
12614 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
12616 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
12617 note if it is non-NULL.
12619 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12621 * except.h (eh_nesting_info): Add new structure defintion.
12622 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
12623 (reachable_handlers, update_rethrow_references): Add function
12625 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
12626 a rethrow symbol instead of an integer exception region number.
12627 * flow.c (Make_edges): Use new exception nesting routines to determine
12628 which handlers are reachable from a CALL or asynchronous insn.
12629 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
12631 (delete_eh_regions): Update rethrow labels, and don't delete
12632 regions which are the target of a rethrow.
12633 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
12634 avoid overloading the SYMBOL_REF_USED flag.
12635 (rethrow_symbol_map): Use new rethrow_ref field.
12636 (rethrow_used): Use new rethrow_ref field.
12637 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
12638 of an integer. Fix formatting.
12639 (output_exception_table_entry): Use new rethrow_ref field.
12640 (can_throw): Check for EH_REGION_NOTE before deciding
12641 whether a CALL can throw or not.
12642 (scan_region): Call rethrow_used() instead of accessing data structure.
12643 (update_rethrow_references): New function to make sure only regions
12644 which are still targets of a rethrow are flagged as such.
12645 (process_nestinfo): New static function to initialize a handler
12646 list for a specific region.
12647 (init_eh_nesting_info): New function to allocate and initialize
12648 the list of all EH handlers reachable from all regions.
12649 (reachable_handlers): New function to retrieve the list of handlers
12650 reachable from a specific region and insn.
12651 (free_eh_nesting_info): New function to dispose of a list of
12652 reachable handlers.
12654 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12656 * flow.c (split_edge): Set JUMP_LABEL field.
12657 (commit_one_edge_insertion): Set head correctly for insert_before.
12658 When inserting insns, update insn block numbers if allocated.
12660 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12662 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
12663 retry_incomplete_types): Add static prototype.
12664 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
12665 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
12666 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
12667 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
12668 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
12671 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
12672 dwarf2out_start_source_file, dwarf2out_line): Likewise.
12674 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12676 * output.h (assemble_name): Constify a char*.
12678 * varasm.c (UNIQUE_SECTION, assemble_start_function,
12679 assemble_variable, assemble_name): Likewise.
12681 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
12683 * arm/pe.c (arm_pe_unique_section): Likewise.
12685 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
12687 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
12689 * i386/interix.c (i386_pe_unique_section): Likewise.
12691 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
12693 * i386/winnt.c (i386_pe_unique_section): Likewise.
12695 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
12697 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
12699 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
12701 * pa/pa.c (output_call): Likewise.
12703 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
12705 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
12707 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
12710 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
12713 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
12715 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
12716 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
12718 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
12720 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12722 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
12724 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12726 * tree.h (lang_identify): Constify a char*.
12727 (print_error_function): Add extern prototype. Constify a char*.
12729 * c-lang.c (lang_identify): Constify a char*.
12731 * objc/objc-act.c (lang_identify): Constify a char*.
12733 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12735 * genpeep.c (main): Make generated file include "function.h".
12736 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
12738 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12740 * Makefile.in: Update dependencies.
12741 * alias.c: Include "function.h"
12742 * c-decl.c: Likewise.
12743 * caller-save.c: Likewise.
12744 * calls.c: Likewise.
12745 * combine.c: Likewise.
12747 * explow.c: Likewise.
12748 * final.c: Likewise.
12749 * global.c: Likewise.
12750 * graph.c: Likewise.
12751 * local-alloc.c: Likewise.
12752 * loop.c: Likewise.
12753 * optabs.c: Likewise.
12754 * profile.c: Likewise.
12755 * recog.c: Likewise.
12756 * regclass.c: Likewise.
12757 * regmove.c: Likewise.
12758 * reload.c: Likewise.
12759 * reorg.c: Likewise.
12760 * resource.c: Likewise.
12761 * sched.c: Likewise.
12762 * stupid.c: Likewise.
12763 * config/1750a/1750a.c: Likewise.
12764 * config/a29k/a29k.c: Likewise.
12765 * config/arc/arc.c: Likewise.
12766 * config/arm/arm.c: Likewise.
12767 * config/arm/thumb.c: Likewise.
12768 * config/c4x/c4x.c: Likewise.
12769 * config/clipper/clipper.c: Likewise.
12770 * config/convex/convex.c: Likewise.
12771 * config/fx80/fx80.c: Likewise.
12772 * config/i860/i860.c: Likewise.
12773 * config/m68k/m68k.c: Likewise.
12774 * config/m88k/m88k.c: Likewise.
12775 * config/mips/mips.c: Likewise.
12776 * config/pdp11/pdp11.c: Likewise.
12777 * config/pyr/pyr.c: Likewise.
12778 * config/romp/romp.c: Likewise.
12779 * config/sh/sh.c: Likewise.
12780 * config/tahoe/tahoe.c: Likewise.
12781 * config/vax/vax.c: Likewise.
12782 * config/we32k/we32k.c: Likewise.
12783 * config/sparc/sparc.c: Include "function.h".
12784 (mem_min_alignment): Test current_function rather than
12785 regno_pointer_align.
12786 * config/pa/pa.c: Likewise.
12787 (compute_frame_size): Delete declaration of
12788 current_function_outgoing_args_size.
12789 * config/arc/arc.h (current_function_varargs): Delete declaration.
12790 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
12792 * config/i370/i370.h (current_function_outgoing_args_size): Delete
12794 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
12795 current_function_uses_pic_offset_table.
12796 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
12797 of current_function_returns_pointer.
12798 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12799 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12800 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12801 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12802 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12803 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12804 * config/m88k/m88k.c: Include "function.h"
12805 (call_used_regs, current_function_pretend_args_size,
12806 current_function_outgoing_args_size, frame_pointer_needed): Delete
12808 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
12810 * config/mips/mips.h (current_function_calls_alloca): Delete
12812 * config/mn10200/mn10200.h (current_function_needs_context,
12813 rtx_equal_function_value_matters): Delete declarations.
12814 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
12815 flag_pic): Delete declarations.
12816 * config/pa/pa.h (current_function_pretend_args_size,
12817 current_function_decl): Delete declarations.
12818 * config/pa/som.h (current_function_varargs): Delete declaration.
12819 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
12821 * config/pyr/pyr.h (current_function_pretend_args_size,
12822 current_function_args_size, current_function_calls_alloca): Delete
12824 * config/sh/sh.h (current_function_varargs): Delete declaration.
12825 * config/sparc/sparc.h (current_function_outgoing_args_size,
12826 current_function_calls_alloca, current_function_decl): Delete
12828 * config/spur/spur.h (current_function_pretend_args_size,
12829 current_function_calls_alloca): Delete declarations.
12830 * config/v850/v850.c (current_function_outgoing_args_size): Delete
12832 * config/vax/vms.h (current_function_name): Delete declaration.
12833 * gcse.c: Include "function.h".
12834 (current_function_name, current_function_calls_setjmp): Delete
12836 * haifa-sched.c: Include "function.h".
12837 (forced_labels): Delete declaration.
12838 * jump.c: Likewise.
12839 * reg-stack.c: Likewise.
12840 * reload1.c: Likewise.
12841 * genemit.c (main): Make generated file include function.h.
12842 * genoutput.c (output_prologue): Likewise.
12844 * builtins.c (saveregs_value, apply_args_value): Delete variables.
12845 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
12846 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
12847 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
12848 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
12849 macros for some of them.
12850 (emit_filename, emit_lineno): Delete declarations.
12851 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
12852 regno_pointer_* variables through current_function.
12853 (gen_inline_header_rtx): Delete function.
12854 (save_emit_status): Delete function.
12855 (set_new_last_label_num): New function.
12856 (clear_emit_caches): New function.
12857 (restore_emit_status): Just clear last_labelnum and call
12859 (get_last_insn_anywhere): Variable sequence_stack is now accessed
12860 through macro seq_stack.
12861 (add_insn_after): Likewise.
12862 (add_insn_before): Likewise.
12863 (remove_insn): Likewise.
12864 (pop_topmost_sequence): Likewise.
12865 (in_sequence_p): Likewise.
12866 (start_sequence_for_rtl_expr): Likewise.
12867 (start_sequence): Likewise, and likewise for
12868 sequence_rtl_expr/seq_rtl_expr.
12869 (push_topmost_sequence): Likewise.
12870 (end_sequence): Likewise.
12871 (init_virtual_regs): Now takes a "struct emit_status *" argument.
12872 All callers changed. Store into that pointer instead of globals.
12873 (init_emit): Allocate emit elt of current_function.
12874 Changes for sequence_rtl_expr/sequence_stack renaming.
12875 Call clear_emit_caches instead of doing it in-line.
12876 Access regno_pointer_* variables through current_function.
12877 (init_emit_once) Don't clear sequence_stack.
12879 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
12881 (arg_pointer_save_area): Delete declaration.
12882 (finish_expr_for_function): Renamed from init_queue; no longer static.
12883 (init_expr): Don't call init_queue.
12884 (save_expr_status, restore_expr_status): Delete functions.
12885 (expand_expr): Changes to reflect new layout of struct function.
12886 Don't access current_function_check_memory_usage when current_function
12888 * expr.h (forced_labels, save_expr_regs, saveregs_value,
12889 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
12890 current_function_outgoing_args_size, current_function_arg_offset_rtx,
12891 current_function_uses_const_pool, function_call_count,
12892 current_function_uses_pic_offset_table, nonlocal_labels,
12893 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
12894 current_function_check_memory_usage, nonlocal_goto_handler_slots,
12895 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
12897 (finish_expr_for_function): Declare.
12898 * flags.h (current_function_has_nonlocal_label,
12899 current_function_has_nonlocal_goto, current_function_is_thunk,
12900 current_function_has_computed_jump): Delete declarations.
12901 * flow.c (forced_labels): Delete declaration.
12902 * function.c (current_function_pops_args,
12903 current_function_returns_struct, current_function_returns_pcc_struct,
12904 current_function_needs_context, current_function_calls_setjmp,
12905 current_function_calls_longjmp, current_function_has_nonlocal_label,
12906 current_function_has_nonlocal_goto, current_function_is_thunk,
12907 current_function_has_computed_jump, current_function_calls_alloca,
12908 current_function_contains_functions, current_function_returns_pointer,
12909 current_function_epilogue_delay_list, current_function_args_size,
12910 current_function_pretend_args_size, current_function_arg_offset_rtx,
12911 current_function_outgoing_args_size, current_function_varargs,
12912 current_function_stdarg, current_function_args_info, cleanup_label,
12913 current_function_name, current_function_uses_const_pool,
12914 current_function_instrument_entry_exit, current_function_return_rtx,
12915 current_function_uses_pic_offset_table, nonlocal_labels,
12916 current_function_internal_arg_pointer, current_function_cannot_inline,
12917 current_function_check_memory_usage, function_call_count,
12918 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
12919 nonlocal_goto_stack_level, return_label, save_expr_regs,
12920 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
12921 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
12922 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
12923 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
12924 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
12926 (push_function_context_to): Don't save them. Don't call
12927 save_storage_status, save_emit_status or save_expr_status.
12928 (pop_function_context_from): Don't restore them. Don't call
12929 restore_storage_status or restore_expr_status.
12930 (get_func_frame_size): New function.
12931 (get_frame_size): Use it.
12932 (assign_outer_stack_local): Reflect some member name changes in struct
12934 (put_reg_into_stack): Likewise.
12935 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
12937 (fixup_var_refs): Likewise.
12938 (fix_lexical_addr): Likewise.
12939 (trampoline_address): Likewise.
12940 (prepare_function_start): Clear field inlinable of current_function.
12941 (init_function_for_compilation): New function.
12942 (expand_dummy_function_end): New function.
12943 (expand_function_end): Call finish_expr_for_function.
12944 * function.h (struct emit_status): New; fields moved here from struct
12945 function and from global variables. Add accessor macros for some of
12947 (struct expr_status): Likewise.
12948 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
12949 (struct function): Add fields expr and emit, inlinable, inl_emit,
12950 original_arg_vector, original_decl_initial, inl_last_parm_insn,
12951 inl_max_label_num. Add many comments.
12952 Add accessor macros for all elts of struct function that no longer
12953 have a global variable.
12954 (cleanup_label, return_label, frame_offset, tail_recursion_label,
12955 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
12956 stack_slot_list): Delete declarations.
12957 (get_func_frame_size): Declare.
12958 (save_expr_status, restore_expr_status, save_emit_status,
12959 save_storage_status, restore_storage_status): Delete declarations.
12960 (init_virtual_regs): Declare.
12961 * output.h (current_function_pops_args,
12962 current_function_returns_struct, current_function_returns_pcc_struct,
12963 current_function_needs_context, current_function_calls_setjmp,
12964 current_function_calls_longjmp, current_function_calls_alloca,
12965 current_function_has_nonlocal_label, current_function_varargs,
12966 current_function_has_computed_jump, current_function_returns_pointer,
12967 current_function_contains_functions, current_function_args_size,
12968 current_function_pretend_args_size, current_function_stdarg,
12969 current_function_outgoing_args_size, current_function_args_info,
12970 current_function_name, current_function_return_rtx,
12971 current_function_epilogue_delay_list,
12972 current_function_uses_const_pool, current_function_cannot_inline):
12973 Delete declarations.
12974 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
12975 regno_reg_rtx): Delete declaration.
12976 (REGNO_POINTER_FLAG): Delete macro.
12977 * stmt.c (expand_goto): Changes to reflect that some fields in struct
12978 function were renamed.
12979 * stor-layout.c (save_storage_status, restore_storage_status): Delete
12981 * toplev.c: Include "function.h".
12982 (current_function_decl): Delete declaration.
12983 (compile_file): Call init_dummy_function_start and
12984 expand_dummy_function_end around some initializations that need to
12986 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
12987 Call init_function_for_compilation.
12988 * unroll.c: Include "function.h"
12989 (unroll_loop): Access regno_pointer_* variables through
12992 * tree.h (struct tree_decl): Add elt f to saved_insns member.
12993 (DECL_SAVED_INSNS): use it.
12994 (expand_dummy_function_end): Declare.
12995 (init_function_for_compilation): Declare.
12996 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
12997 that it's no longer an INLINE_HEADER.
12998 (expand_call): Likewise.
12999 * integrate.c (finish_inline): Delete function.
13000 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
13001 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
13002 args. Don't generate an INLINE_HEADER rtx, just return the arg
13003 vector. All callers changed.
13004 (save_for_inline_copying): Create a duplicate struct emit_status to
13005 hold the emit state for compiling the current function. Use this and
13006 the other new fields in struct function that are for integration
13007 instead of an INLINE_HEADER.
13008 Use memcpy instead of bcopy.
13009 Store the current struct function in DECL_SAVED_INSNS of fndecl.
13010 (save_for_inline_nocopy): Similar changes, except no new emit_status
13012 (expand_inline_function): Get information from function structure,
13013 not from an inline header rtx.
13014 (output_inline_function): Lose code to extract the necessary
13015 information from an inline header; simply put back the function
13016 structure into current_function. Clear its inlinable elt.
13017 * rtl.def (INLINE_HEADER): Delete.
13018 * rtl.h: Delete all accessors for an INLINE_HEADER.
13019 (gen_inline_header_rtx): Delete declaration.
13020 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
13021 Delete declarations.
13022 (REGNO_POINTER_ALIGN): Delete.
13023 (clear_emit_caches): Declare.
13024 (set_new_last_label_num): Declare.
13026 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
13028 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
13030 * except.c (expand_eh_region_start_for_decl): Always start a new block.
13031 * stmt.c (is_eh_region): Make sure current_function is present, too.
13033 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
13035 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
13036 for 64bit PA targets.
13038 * pa.h (SELECT_SECTION): Define.
13039 * som.h (SELECT_SECTION): Delete.
13041 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13043 * alias.c (init_alias_analysis): Wrap call to
13044 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
13046 1999-08-07 Bruce Korb <autogen@linuxbox.com>
13048 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
13049 <sys/asm.h> contains an asm comment with an apostrophe
13050 * fixinc/inclhack.sh: regen
13051 * fixinc/fixincl.x: regen
13053 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
13055 * function.c (init_function_start): Clear prologue & epilogue.
13056 (prologue_epilogue_contains): New function.
13057 * alias.c (init_alias_analysis): Use it.
13058 * rtl.h (prologue_epilogue_contains): Declare it.
13060 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
13062 * jump.c (onlyjump_p): New function.
13063 * rtl.h: Declare it.
13064 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
13065 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
13067 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
13069 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
13070 to invert loops. Simplify block scanning.
13072 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13074 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
13075 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
13077 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
13079 * config/sparc/liteelf.h: New file to support sparclite-elf target
13080 * config/sparc/t-sp86x: New file to support sparc86x targets
13081 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
13082 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
13083 * configure.in: Support above target triplets
13084 * configure: Regenerated
13086 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
13088 * fixinc/server.c (server_setup): Do not prefix function used as
13089 parameter with `&'.
13091 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
13093 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
13094 Remove fp reg alternatives.
13096 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
13098 * Makefile.in (TAROUTOPTS): Kill.
13099 (install-headers-tar): Use "xpf" for tar headerfile extraction
13100 * i370/x-oe (TAROUTOPTS): Delete.
13101 * m68k/x-apollo68 (TAROUTOPTS): Delete.
13102 * m68k/x-hp320 (TAROUTOPTS): Delete.
13103 * m68k/x-hp320g (TAROUTOPTS): Delete.
13104 * gcc.texi: Update bug reporting text.
13106 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13108 * reg-stack.c (change_stack) Fixed problem with negative array index.
13110 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
13112 * extend.texi, install.texi: Fix spelling mistakes.
13114 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
13115 (s-attrtab); No longer try to use pre-made insn-attrtab file.
13116 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
13117 PREMADE_ATTRTAB_MD.
13118 * mips/t-ecoff: Likewise.
13119 * mips/t-elf: Likewise.
13120 * mips/t-mips: Likewise.
13121 * mips/t-osfrose: Likewise.
13122 * mips/t-r3900: Likewise.
13123 * mips/t-svr3: Likewise.
13124 * mips/t-svr4: Likewise.
13125 * mips/t-ultrix: Likewise.
13127 * gcc.texi: Document recommend means to provide software floating
13128 point libraries in libgcc.a
13130 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
13132 * c-lex.c (yylex): We can have a number with no digits.
13134 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
13136 * jump.c (delete_prior_computation): New function, broken
13137 out of delete_computation. Check for side effects with
13138 side_effects_p instead of FIND_REG_INC_NOTE. Handle
13139 multi-word hard registers.
13140 (delete_computation): Use it. Check for side effects with
13141 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
13142 missing REG_DEAD note for a register which is both set and
13145 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
13147 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
13148 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
13149 (ASM_FILE_START): Import _mcount with the right type.
13150 (ASM_DECLARE_FUNCTION_NAME): Define.
13151 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
13152 * pa.c (output_function_prologue): Always emit the function's label
13154 * pa.h (TEXT_SPACE_P): Define.
13155 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13156 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
13157 * som.h (TEXT_SPACE_P): Delete.
13158 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13159 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
13161 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
13163 * expr.c (emit_group_load): Allow src to be a CONCAT.
13165 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13167 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
13168 (___mulsi3): Use '!' comment character.
13170 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13172 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
13174 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
13176 * gcc.c: Update URLs and mail addresses.
13177 * gcc.texi: Likewise.
13179 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
13181 * rs6000.c (current_file_function_operand): Return zero for
13183 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
13185 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
13188 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
13190 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
13191 allocate space in the stack frame for the PIC register.
13193 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
13195 * m68k.md (xordi3, anddi3): These patterns are not available on
13198 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
13200 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
13201 (PUT_REAL): Likewise.
13203 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13205 * final.c (shorten_branches): Don't add an alignment for loops
13206 that have no label inside.
13208 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13210 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
13211 prototypes in macro HAVE_cmpstrsi.
13213 * cpplib.c (cpp_get_token): Remove unused label `op3'.
13215 * emit-rtl.c (operand_subword): Remove unused variable
13218 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
13220 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
13222 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
13224 * cpphash.c (macroexpand): Delete leading whitespace when arg
13225 is concatenated before.
13226 (unsafe_chars): Correct test for whether + and - can extend a
13229 * cppinit.c (cpp_start_read): Do dependencies for
13230 -include/-imacros files also.
13232 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
13233 tokenizing non-directive lines.
13234 (cpp_expand_to_buffer): Temporarily disable no-output mode.
13235 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
13238 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
13240 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
13242 * c-lex.c: Sync with C++ frontend.
13243 (linemode): New variable.
13244 (parse_float): imag, conversion_errno, and type are output only.
13245 (yylex): Adjust. Move initial '.' case into main switch.
13247 (handle_generic_pragma): Just deal with tokens.
13248 (readescape): Use ISXDIGIT and ISGRAPH.
13249 * c-parse.in: Add END_OF_LINE token.
13251 * c-lex.c (lang_init): Generalize.
13252 (nextchar): Remove. Replace uses with UNGETC.
13253 (skip_white_space): Handle linemode here. Optimize for cpplib.
13254 (skip_white_space_on_line): Remove.
13255 (extend_token_buffer_to): New fn.
13256 (extend_token_buffer): Use it.
13257 (read_line_number, check_newline): Just deal with tokens.
13258 (token_getch, token_put_back): New fns.
13259 (yylex): Use them. More cpplib optimizations. Simplify.
13261 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
13262 Jason Merrill <jason@yorick.cygnus.com>
13264 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
13265 (consume_string): Make this smart about USE_CPPLIB.
13266 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
13267 (yylex): Rewrite to be intelligent about USE_CPPLIB.
13268 Also, clean up cases where we redundantly set token_buffer[0].
13269 (read_line_number): New fn.
13270 (ignore_escape_flag): New variable.
13272 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
13274 * a29k/t-a29kbare: Fix some comments.
13275 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
13276 (FPBIT, DPBIT): Define.
13277 * a29k/t-vx29k: Likewise.
13278 * arc/t-arc: Likewise.
13279 * arm/t-arm-elf: Likewise.
13280 * arm/t-bare: Likewise.
13281 * arm/t-pe: Likewise.
13282 * arm/t-pe-thumb: Likewise.
13283 * arm/t-semi: Likewise.
13284 * arm/t-thumb: Likewise.
13285 * arm/t-thumb-elf: Likewise.
13286 * arm/t-thumb-linux: Likewise.
13287 * h8300/t-h8300: Likewise.
13288 * i960/t-i960: Likewise.
13289 * i960/t-vxworks960: Likewise.
13290 * m32r/t-m32r: Likewise.
13291 * mips/t-ecoff: Likewise.
13292 * mips/t-elf: Likewise.
13293 * mips/t-r3900: Likewise.
13294 * pa/t-pro: Likewise.
13295 * rs6000/t-aix43: Likewise.
13296 * rs6000/t-beos: Likewise.
13297 * rs6000/t-newas: Likewise.
13298 * rs6000/t-ppccomm: Likewise.
13299 * rs6000/t-rs6000: Likewise.
13300 * rs6000/t-winnt: Likewise.
13301 * rs6000/t-xnewas: Likewise.
13302 * rs6000/t-xrs6000: Likewise.
13303 * sh/t-sh: Likewise.
13304 * sparc/t-elf: Likewise.
13305 * sparc/t-sparcbare: Likewise.
13306 * sparc/t-sparclite: Likewise.
13307 * sparc/t-splet: Likewise.
13308 * v850/t-v850: Likewise.
13309 * mn10200/t-mn10200: Fix comments.
13310 * mn10300/t-mn10300: Likewise.
13312 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
13313 dummy operand. Allocate a new pseudo for the dummy operand.
13314 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
13316 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
13318 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
13320 * configure: Rebuilt.
13321 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
13323 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
13325 * recog.c (preproces_constraints): Zero recog_op_alt before
13326 processing the constraints.
13328 * arm.c (typedef minipool_node): Renamed from pool_node.
13329 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
13330 (add_minipool_constant): New function.
13331 (dump_minipool): New function.
13332 (find_barrier): Remove special case for getting the insn size of
13333 an insn that references the constant pool.
13334 (minipool_fixup): New structure.
13335 (push_minipool_barrier): New function.
13336 (push_minipool_fix): New function.
13337 (note_invalid_constants): New function.
13338 (add_pool_constant, dump_table, fixit, broken_move): Delete.
13339 (arm_reorg): Rewrite code to fix up the constant pool into a
13340 series of mini-pools embedded in the insn stream.
13341 (arm_output_epilogue): New function, made mainly from the body
13342 of output_func_epilogue.
13343 (output_func_epilogue): Move insn generation part of epilogue code
13344 to arm_output_epilogue.
13345 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
13346 * arm.md (pool_range): New attribute.
13347 (zero_extendqidi2): Add attribute pool_range.
13348 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
13349 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
13350 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
13351 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
13352 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
13353 (epilogue): New expand.
13354 (epilogue_insn): New insn. Call arm_output_epilogue.
13356 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
13357 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
13359 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
13361 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13363 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
13365 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
13367 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
13369 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
13371 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
13373 * global.c: Fix comment.
13375 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
13377 * gcc.c (access_check): New static function.
13378 (find_a_file): Use it when searching a directory list.
13379 * collect2.c (find_a_file): Don't accept directories found when
13380 searching a directory list.
13382 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
13384 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
13385 function parameters with `&'.
13386 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
13388 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
13390 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
13391 or tidy_fallthru_edge if the last insn in the block is not
13392 an unconditional jump or a simple conditional jump.
13394 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13396 * Makefile.in (c-decl.o): Depends on defaults.h.
13398 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
13400 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
13402 (CLASS_MAX_NREGS): Likewise.
13404 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
13406 * cse.c (cse_insn): Fix dumb thinko in last change.
13408 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13410 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
13413 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
13415 * dwarf2out.c (add_location_or_const_value_attribute): Correct
13416 test for sizes of passed and declared parameter types.
13418 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13420 * fixincludes: Fix the return type of bsearch, char* -> void*.
13422 * fixinc/inclhack.def: Likewise.
13424 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
13426 * invoke.texi (-fdump-translation-unit): New option.
13428 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
13430 * expr.h (PROMOTE_PROTOTYPES): Move ...
13431 * defaults.h: ... to here.
13432 * c-decl.c: Include defaults.h instead of expr.h.
13433 * c-typeck.c: Include defaults.h.
13435 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
13437 * toplev.h (errorcount): Declare.
13438 (warningcount): Likewise.
13439 (sorrycount): Likewise.
13440 * c-lex.c (errorcount): Don't declare.
13441 * dwarf2out.c (errorcount): Don't declare.
13443 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
13445 * config/libgloss.h: Add a note discouraging use with ELF.
13446 * configure.in: Don't use libgloss.h for ELF targets.
13447 Always use_collect2 on a.out targets.
13449 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
13451 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
13452 (force_to_mode, case ASHIFTRT): Add shiftrt label.
13454 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13456 * loop.c (strength_reduce): When doing biv->giv conversion, update
13457 reg note of NEXT->insn.
13459 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13461 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
13463 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13465 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
13466 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
13467 Ensure expr.h is included.
13468 * c-typecheck.c (convert_arguments): Ditto.
13470 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
13472 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
13473 * config/convex/convex.h: Ditto.
13474 * config/dsp16xx/dsp16xx.h: Ditto.
13475 * config/fx80/fx80.h: Ditto.
13476 * config/gmicro/gmicro.h: Ditto.
13477 * config/i370/i370.h: Ditto.
13478 * config/i386/i386.h: Ditto.
13479 * config/m32r/m32r.h: Ditto.
13480 * config/m68k/m68k.h: Ditto.
13481 * config/m88k/m88k.h: Ditto.
13482 * config/mips/mips.h: Ditto.
13483 * config/pa/pa.h: Ditto.
13484 * config/pyr/pyr.h: Ditto.
13485 * config/tahoe/tahoe.h: Ditto.
13486 * config/we32k/we32k.h: Ditto.
13488 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
13489 based on arch size.
13491 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
13493 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
13496 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
13498 1999-08-02 Richard Henderson <rth@cygnus.com>
13500 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
13501 for the register spill block.
13502 (m32r_va_arg): New.
13503 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
13504 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
13506 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
13507 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
13508 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
13510 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13512 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
13513 MAX_WCHAR_TYPE defined in sparc.h.
13514 * config/sparc/linuxaout.h: Likewise.
13515 * config/sparc/linux64.h: Likewise.
13516 Also default to -mvis if CPU is UltraSPARC.
13518 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13520 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
13521 (RTX_OK_FOR_OLO10): Likewise.
13522 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
13523 %lo(), allow it in addresses...
13524 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
13525 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
13526 does not make sense.
13527 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
13528 (sparc_output_scratch_registers): New function.
13529 (output_function_prologue, sparc_flat_output_function_prologue): Use
13531 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
13533 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
13534 * configure.in: Add check for .register pseudo-op support in as and
13535 check for offsetable %lo().
13536 * acconfig.h: Add templates for the above checks.
13537 * configure: Regenerate.
13539 1999-08-02 Richard Henderson <rth@cygnus.com>
13541 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
13542 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
13543 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
13545 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13547 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
13550 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13552 * config/float-sparc.h: New file.
13553 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
13554 sparc-*-linux-gnu and sparc64-*-linux*.
13556 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13558 * rs6000.c (rs6000_va_list): Type is an array.
13559 (rs6000_va_start): Don't doubly adjust for varargs.
13560 (rs6000_va_arg): Evaluate long long GPR adjustment.
13562 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
13564 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
13565 -maix64 and -maix32.
13566 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
13567 LINK_SPEC): Change appropriately.
13568 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
13569 (u_short_cint_operand): Likewise.
13570 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
13572 * rs6000/t-aix43 (MULTILIB): Change to -m64.
13574 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
13576 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
13578 * rs6000/rs6000.c (num_insns_constant_wide): Correct
13579 for type promotion.
13580 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
13581 (non_add_cint_operand): Likewise.
13582 (logical_operand): Likewise.
13583 (non_logical_cint_operand): Likewise.
13584 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
13585 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
13586 (rs6000_select_rtx_section): Suppress warning.
13587 (small_data_operand): Suppress warning.
13588 (rs6000_got_register): Suppress warning.
13589 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
13590 type, so `J' is generally the wrong constraint for a SImode value;
13592 (andsi3_internal2): Likewise.
13593 (andsi3_internal3): Likewise.
13594 (iorsi3_internal1): Likewise.
13595 (xorsi3_internal1): Likewise.
13597 (movsf_softfloat): Likewise.
13598 (scc insns): Likewise.
13599 (movsi+2): Preserve sign bits of SImode constant.
13600 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
13601 (movdf+1): Sign-extend properly.
13602 (movdi_32+1): Sign-extend properly.
13603 (scc insns): Sign-extend properly.
13605 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
13608 1999-08-02 Richard Henderson <rth@cygnus.com>
13610 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
13611 -mcpu parsing code.
13612 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
13613 * alpha.md (all fp insns): Likewise.
13615 1999-08-02 Nick Clifton <nickc@cygnus.com>
13617 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
13620 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
13622 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
13623 pic_load_label generator directly.
13624 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
13625 No longer a named pattern.
13627 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
13629 * explow.c (force_reg): Call force_operand if X does not
13630 satisfy general_operand.
13632 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
13634 * fix-header.c (main): When testing for CONTINUED, use string
13635 equality, not pointer equality.
13637 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
13639 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
13641 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
13643 * cse.c (cse_insn): Fix loop which deletes insns after a jump
13644 that has become an unconditional jump.
13646 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
13647 (output_function_epilogue): Similarly.
13649 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13651 * tree.h (init_dummy_function_start): Declare.
13653 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13655 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
13656 last_expr_type, last_expr_value, block_start_count, block_stack,
13657 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
13658 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
13659 dynamically in stmt elt of struct function for each function.
13660 (struct nesting): Rename function_call_count elt to n_function_calls,
13661 target_temp_slot_level to block_target_temp_slot_level. All users
13663 (struct stmt_status): New structure definition.
13664 Add many accessor macros for stmt_status elements which previously
13665 were global variables.
13666 (init_stmt_for_function): Allocate stmt elt for current_function.
13667 Reflect that block_start_count was renamed to
13668 current_block_start_count.
13669 (save_stmt_status, restore_stmt_status): Delete functions.
13670 (preserve_subexpressions_p): Don't access loop_stack when outside
13672 (expand_start_bindings): Reflect that block_start_count was renamed to
13673 current_block_start_count.
13674 (expand_fixup): Likewise.
13675 (expand_decl): Don't access block_stack when outside a function.
13676 (expand_decl_cleanup): Likewise.
13677 (expand_dcc_cleanup): Likewise.
13678 (expand_dhc_cleanup): Likewise.
13679 (expand_anon_union_decl): Likewise.
13680 (set_file_and_line_for_stmt): New function.
13681 (in_control_zone_p): New function.
13683 * function.h (struct function): Add new elt stmt.
13684 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
13685 case_stack, nesting_stack, nesting_depth, block_start_count,
13686 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
13687 emit_lineno, goto_fixup_chain.
13688 (save_eh_status, restore_eh_status, save_stmt_status,
13689 restore_stmt_status): Delete declarations.
13690 * function.c (push_function_context_to): Don't call save_stmt_status.
13691 (pop_function_context_to): Don't call restore_stmt_status.
13692 * tree.h (in_control_zone_p): Declare.
13693 * rtl.h (set_file_and_line_for_stmt): Declare.
13695 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
13696 call set_file_and_line_for_stmt.
13698 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
13700 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
13701 Also update copyright.
13703 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13705 * c-pragma.c: Don't include "except.h".
13706 * emit-rtl.c: Likewise.
13707 * stor-layout.c: Likewise.
13708 * tree.c: Likewise.
13709 * varasm.c: Likewise.
13711 * flow.c: Include "function.h".
13712 * tree.h (init_dummy_function_start): Declare new function.
13714 * except.h (struct eh_status): New structure.
13715 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
13717 (eh_return_stub_label, ehstack, catchstack, ehqueue,
13718 catch_clauses, false_label_stack, caught_return_label_stack,
13719 protect_list, current_function_ehc): Add accessor macros for the
13720 corresponding fields in current_function->eh; delete declarations
13721 for all items that used to be declared here.
13722 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
13723 catch_clauses, false_label_stack, caught_return_label_stack,
13724 protect_list, current_function_ehc): Delete variables.
13725 (init_eh_for_function): Allocate current_function->eh.
13726 (save_eh_status, restore_eh_status): Delete functions.
13728 * function.h (struct function): Add fields next_global and eh.
13729 Delete all exception handling related fields.
13730 * function.c (current_function): New variable.
13731 (all_functions): New variable.
13732 (push_function_context_to): Don't allocate a struct function,
13733 use current_function instead. Call init_dummy_function_start when
13734 outside a function. Clear current_function before returning.
13735 (pop_function_context_from): Restore current_function.
13736 Don't free the restored struct function.
13737 (prepare_function_start): New function.
13738 (init_dummy_function_start): New function.
13739 (init_function_start): Break out some code into prepare_function_start
13742 * stmt.c (save_stmt_status): Don't call save_eh_status.
13743 (restore_stmt_status): Don't call restore_eh_status.
13745 * Makefile.in: Update dependencies.
13747 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
13749 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
13750 of depending on a magic constant value. Update comments.
13751 (hppa_expand_prologue): Similarly.
13753 * pa.md (reload_indi, reload_outdi): Allow any register for the
13754 original reload register.
13756 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
13758 * cccp.c (print_help): Change marcos to macros.
13760 1999-07-30 Richard Henderson <rth@cygnus.com>
13762 * c-typeck.c (initializer_constant_valid_p): Move ...
13763 * c-common.c (initializer_constant_valid_p): ... here. Use
13764 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
13765 of label addresses.
13766 * c-common.h (initializer_constant_valid_p): Declare.
13767 * c-tree.h (initializer_constant_valid_p): Remove.
13769 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
13771 * config/i386/sol2-c1.asm: Align the stack.
13772 * config/i386/sol2-gc1.asm: Likewise.
13774 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
13776 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
13777 -Asparclite for sparc86x.
13778 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
13780 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
13782 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
13784 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
13785 the user if using the non-default arch size in BI_ARCH configuration.
13786 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
13788 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
13789 Fix patterns so that they actually match.
13790 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
13791 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
13792 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
13794 (mulsidi3): Reflect this in the expand.
13795 (smulsi3_highpart): Only on TARGET_ARCH32.
13796 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
13797 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
13798 (umulsidi3): Reflect this in the expand.
13799 (umulsi3_highpart): Only on TARGET_ARCH32.
13800 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
13801 don't require g0 to be zero.
13802 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
13803 ({,u}divsi3): New expands.
13804 ({,u}divsi3_sp64): New patterns.
13805 (after lshrdi3_v8plus): Four new patterns to help combiner
13806 optimizing nested mixed mode shifts.
13808 * config/sparc/sparc.c (sparc_override_options): Use deprecated
13809 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
13810 speed things up. Don't use them by default on plain v9 in 64bit
13811 mode, according to what SPAMv9 sais.
13813 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
13814 top 32 bits of %[og][0-7] in signal handlers.
13815 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
13817 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
13819 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
13820 (ashlsi3): Corresponding changes.
13822 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
13824 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
13826 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
13828 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13830 * arm.h (Hint): Delete macro.
13831 Substitute HOST_WIDE_INT for Hint in some prototypes.
13832 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
13834 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
13836 * builtins.c (expand_builtin_setjmp): Use force_operand to
13837 make sure that the buffer address is in a suitable form to be
13838 passed to force_reg.
13840 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
13842 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
13845 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
13847 * pa.md (indirect_jump): Remove mode from match_operand. Verify
13848 proper mode in the condition string.
13849 (icacheflush, dcacheflush): Remove modes from match_operands.
13851 * pa.c (emit_move_sequence): Always convert scratch_reg to the
13852 proper mode before using it.
13854 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
13857 * pa.c (store_reg): Do not call add_high_const generator directly.
13858 (load_reg, set_reg_plus_d): Likewise.
13859 * pa.md (add_high_const): No longer a named pattern.
13861 * pa.c (legitimize_address): Consistently use Pmode rather than
13862 SImode. Do not call gen_pic2_highpart directly anymore.
13863 * pa.md (pic2_highpart): No longer a named pattern.
13864 (pic2_lo_sum): Similarly. Reformat to make more readable.
13866 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
13871 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13873 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
13875 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
13877 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
13878 and tag the spill mems.
13879 (hppa_va_start): New.
13880 (hppa_va_arg): New.
13881 * pa.h (EXPAND_BUILTIN_VA_START): New.
13882 (EXPAND_BUILTIN_VA_ARG): New.
13884 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
13886 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
13887 and tag the spill mems.
13888 (mn10300_va_start): New.
13889 (mn10300_va_arg): New.
13890 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
13891 (EXPAND_BUILTIN_VA_ARG): New.
13893 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
13895 * mn10200.c (mn10200_va_arg): New.
13896 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
13898 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
13900 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
13901 rather than play with TREE_INT_CST_LOW.
13903 1999-07-27 Philip Blundell <pb@nexus.co.uk>
13905 * config/arm/telf.h: Include dbxelf.h.
13906 (CPP_PREDEFINES): Only define if not already defined.
13907 (ASM_IDENTIFY_GCC): Likewise.
13908 (SUBTARGET_EXTRA_SECTIONS): Likewise.
13909 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
13910 * config/arm/thumb.h (LINK_SPEC): Only define if not already
13912 (DBX_DEBUGGING_INFO): Don't define.
13913 * config/arm/linux-telf.h: New file.
13914 * config/arm/linux-tgas.h: New file.
13915 * config/arm/t-thumb-linux: New file.
13916 * config/arm/uclinux-elf.h: New file.
13917 * config/arm/uclinux-telf.h: New file.
13918 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
13919 thumb-*-uclinux): New targets.
13920 * configure: Regenerate.
13922 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
13924 * pa.md (post_store, pre_load): New expanders.
13925 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
13926 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
13927 need to directly generate RTL for them.
13928 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
13931 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
13933 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
13934 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
13935 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
13936 (secndary_reload_class): Make TARGET_ELF conditional compile.
13937 (print_operand_address): Similar.
13938 (output_toc): Print all values as hex.
13939 (get_issue_rate): Rearrange and add RS64A and PPC630.
13940 * rs6000.h (processor_type): Add RS64A and PPC630.
13941 (PROCESSOR_POWERPC64): New.
13942 (PROMOTE_MODE): Use word_mode.
13943 (RTX_COSTS): Add RS64A and PPC630.
13944 * rs6000.md (scheduling information): Add lmul and ldiv
13945 representing 64-bit integer multiply and divide. Add rs64a and
13946 PPC630 information.
13947 (ashldi3): Add support for "rldic" instruction.
13948 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
13950 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
13952 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
13953 instead of V8 for sparclite86x in cpu_table.
13955 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13957 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
13958 output_file_directive.
13960 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
13962 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
13963 tree for op1, not the rtl.
13965 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
13967 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
13968 to m88k_va_start, leaving only the register spill.
13969 (m88k_build_va_list): New.
13970 (m88k_va_start): New.
13971 (m88k_va_arg): New.
13972 * m88k.h (BUILD_VA_LIST_TYPE): New.
13973 (EXPAND_BUILTIN_VA_START): New.
13974 (EXPAND_BUILTIN_VA_ARG): New.
13976 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
13978 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
13979 Rename from expand_builtin_saveregs.
13980 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
13982 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
13984 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
13985 for the register spill block.
13986 (i960_build_va_list): New.
13987 (i960_va_start): New.
13988 (i960_va_arg): New.
13989 * i960.h (BUILD_VA_LIST_TYPE): New.
13990 (EXPAND_BUILTIN_VA_START): New.
13991 (EXPAND_BUILTIN_VA_ARG): New.
13992 * i960.md (store_multiple): Use change_address on individul mems.
13994 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
13996 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
13998 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
13999 (expand_builtin_va_end): Evaluate arg for side effects.
14000 * c-common.c (c_common_nodes_and_builtins): Construct a
14001 va_list_arg_type_node to handle array decomposition to pointer.
14003 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
14005 * except.c (start_dynamic_cleanup): Use force_operand on the
14008 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
14010 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
14011 * c4x.c (c4x_va_arg): New.
14013 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
14015 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
14016 has manual_pop set.
14018 1999-07-26 Nathan Sidwell <nathan@acm.org>
14020 * eh-common.h (__eh_matcher): Prototype correctly.
14022 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
14024 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
14025 (TARGET_SINGLE_PIC_BASE): Likewise.
14026 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
14028 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
14029 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
14030 (TARGET_OPTIONS): Add -mpic-register=N.
14031 (OUTPUT_INT_ADDR_CONST): New macro.
14032 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
14033 LEGITIMATE_PIC_OPERAND_P): Likewise.
14034 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
14035 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
14036 output_addr_const directly.
14037 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
14039 (thumb_pic_register, thumb_pic_register_string): Declare.
14041 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
14043 (label_mentioned_p): New function: Imported from arm.c.
14044 (legitimize_pic_address): New function: Imported from arm.c.
14045 (is_pic):New function: Imported from arm.c.
14046 (thumb_finalize_pic):New function: Imported from arm.c.
14047 (add_constant): Cope with PIC constants.
14048 (fixit): Cope with PIC constants.
14049 (output_return): Do not treat the PIC register as live if
14050 TARGET_SINGLE_PIC_BASE is true.
14051 (thumb_function_prologue): Do not treat the PIC register as live if
14052 TARGET_SINGLE_PIC_BASE is true.
14053 (thumb_expand_prologue): Do not treat the PIC register as live if
14054 TARGET_SINGLE_PIC_BASE is true.
14055 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
14056 TARGET_SINGLE_PIC_BASE is true.
14057 (thumb_print_operand): Accept '|'.
14058 (thumb_override_options): Process PIC options.
14060 * config/arm/thumb.md (movsi): Support PIC.
14061 (call_insn): Change "i" constraint to "X".
14062 (call_value_insn): Likewise.
14063 (consttable_4, consttable_8, consttable_end): Set and clear
14064 "making_const_table" as appropriate.
14065 (pic_load_addr, pic_add_dot_plus_four): New insns.
14067 * invoke.texi (Thumb Options): Fix spelling. Document new
14068 options -msingle-pic-base and -mpic-register=.
14070 1999-07-26 Andrew Haley <aph@cygnus.com>
14072 * config/m32r/initfini.c (__init): Use a full word immediate for
14073 __fini: this allows it to be placed in any memory region.
14075 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
14076 -mmodel=medium. This is OK for all memory models.
14078 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
14080 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
14081 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
14083 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
14085 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
14088 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
14090 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
14092 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
14093 (BUILD_VA_LIST_TYPE): New.
14094 (EXPAND_BUILTIN_VA_START): New.
14095 (EXPAND_BUILTIN_VA_ARG): New.
14096 * i860.c (output_delayed_branch): Disable.
14097 (output_delay_insn): Likewise.
14098 (i860_saveregs): New.
14099 (i860_build_va_list): New.
14100 (i860_va_start): New.
14101 (i860_va_arg): New.
14102 * i860.md: Disable all peepholes using output_delayed_branch.
14103 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
14105 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
14107 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
14108 (BUILD_VA_LIST_TYPE): New.
14109 (EXPAND_BUILTIN_VA_START): New.
14110 (EXPAND_BUILTIN_VA_ARG): New.
14111 * clipper.c (clipper_builtin_saveregs): Only dump registers.
14112 Return the address of the save area.
14113 (clipper_build_va_list): New.
14114 (clipper_va_start): New.
14115 (clipper_va_arg): New.
14117 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
14119 * arc.h (EXPAND_BUILTIN_VA_START): New.
14120 (EXPAND_BUILTIN_VA_ARG): New.
14121 * arc.c (arc_setup_incoming_varargs): Set alias set of
14123 (arc_va_start): New.
14126 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
14128 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
14129 (BUILD_VA_LIST_TYPE): New.
14130 (EXPAND_BUILTIN_VA_START): New.
14131 (EXPAND_BUILTIN_VA_ARG): New.
14132 * alpha.c (alpha_builtin_saveregs): Delete.
14133 (alpha_build_va_list): New.
14134 (alpha_va_start): New.
14135 (alpha_va_arg): New.
14137 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
14139 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
14141 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
14142 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
14144 * gcc.texi: More changes related to list conversion.
14145 * invoke.texi: Likewise.
14147 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
14149 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
14150 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
14151 (expand_builtin_next_arg): Accept ARGLIST not EXP.
14152 (stabilize_va_list): New function.
14153 (std_expand_builtin_va_start): New function.
14154 (expand_builtin_va_start): New function.
14155 (get_varargs_alias_set): New function.
14156 (std_expand_builtin_va_arg): New function.
14157 (expand_builtin_va_arg): New function.
14158 (expand_builtin_va_end): New function.
14159 (expand_builtin_va_copy): New function.
14160 (expand_builtin): Call them.
14161 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
14162 __builtin_{varargs_start,stdarg_start,end,copy}.
14163 (build_va_arg): New function.
14164 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
14165 (build_va_arg): Declare.
14166 * c-decl.c (ptr_type_node, va_list_type_node): New.
14167 * c-parse.gperf (__builtin_va_arg): New.
14168 * c-parse.in (VA_ARG): New token.
14169 (unary_expr): Recognize it.
14170 * expr.c (expand_expr): Expand VA_ARG_EXPR.
14171 * expr.h (std_expand_builtin_va_start): Declare.
14172 (std_expand_builtin_va_arg): Declare.
14173 (expand_builtin_va_arg): Declare.
14174 (get_varargs_alias_set): Declare.
14175 * tree.def (VA_ARG_EXPR): New.
14176 * tree.h (BUILT_IN_VARARGS_START): New.
14177 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
14178 (ptr_type_node, va_list_type_node): Declare.
14179 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
14180 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
14181 * m88k.h, m88k.c: Likewise.
14182 * mn10300.h, mn10300.c: Likewise.
14183 * pa.h, pa.c: Likewise.
14184 * rs6000.h, rs6000.c: Likewise.
14185 * sh.h, sh.c: Likewise.
14186 * sparc.h, sparc.c: Likewise.
14188 * emit-rtl.c (operand_subword): Copy alias set.
14189 (change_address): Likewise.
14191 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
14193 * pa.c (compute_frame_size): Scan all the used callee saved registers,
14194 not just the first one.
14196 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
14198 * config/arm/arm.h (TARGET_SWITCHES): Add
14199 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
14200 (TARGET_OPTIONS): Add -mpic-register=.
14201 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
14202 (arm_pic_register_string): Declare.
14203 (NEED_PLT_GOT): Delete, replace with ...
14204 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
14205 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
14206 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
14207 * config/arm/arm.c (arm_override_options): Add new option
14209 (arm_pic_register_string): New variable.
14210 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
14211 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
14212 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
14213 (output_return_instruction): Likewise.
14214 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
14215 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
14216 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
14218 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
14219 mention of -msched-prolog. Document new options -msingle-pic-base
14220 and -mpic-register=.
14222 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
14224 * haifa-sched.c (reemit_notes): Tidy.
14225 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
14228 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
14230 * explow.c (trunc_int_for_mode): New function.
14231 (plus_constant_wide): Use it.
14232 * combine.c (simplify_and_const_int): Likewise.
14233 (merge_outer_ops): Likewise.
14234 (simplify_shift_const): Likewise.
14235 * cse.c (simplify_unary_operation): Likewise.
14236 (simplify_binary_operation): Likewise.
14237 * emit-rtl.c (operand_subword): Likewise.
14238 * rtl.h: Declare it.
14240 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14242 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
14243 (use NUM_REGS instead of NUM_INTS).
14245 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14247 * builtins.c: New file.
14248 * expr.c (saveregs_value, apply_args_value): Delete definition,
14249 moved into builtins.c.
14250 (string_constant): No longer static.
14251 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
14252 apply_args_size, apply_result_size, result_vector,
14253 expand_builtin_apply_args, expand_builtin_apply,
14254 expand_builtin_return): Delete functions, moved into builtins.c.
14255 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
14256 * expr.h (saveregs_value, apply_args_value): Declare variables.
14257 (expand_builtin, string_constant): Declare functions.
14258 * Makefile.in: Update to build builtin.o.
14260 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
14262 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
14263 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
14264 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
14265 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
14267 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
14270 1999-07-21 Michael Meissner <meissner@cygnus.com>
14272 * print-rtl.c (print_rtx): Print the names of the virtual
14275 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
14277 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
14278 introduced in previous delta.
14280 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14282 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
14283 to avoid name clash.
14285 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
14287 * c-lex.c (yylex) : Correct the test for overflow when lexing
14290 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
14292 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
14293 (adjust_priority): Always call ADJUST_PRIORITY.
14294 (schedule_insn): Only put insns into the ready at cost 0.
14295 (schedule_block): Remove redundant initial sort. Give clock_var
14296 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
14298 * tm.texi (MD_SCHED_REORDER): Update docs.
14300 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
14301 * sparc.c (ultra_reorder_called_this_block): Delete.
14302 (ultrasparc_sched_init): Don't set it.
14303 (ultrasparc_sched_reorder): Don't check it.
14305 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
14307 * rs6000.h (struct rs6000_args): Add sysv_gregno.
14308 * rs6000.c (init_cumulative_args): Init sysv_gregno.
14309 (function_arg_boundary): Align DFmode.
14310 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
14311 to get fp reg and stack overflow correct.
14312 (function_arg): Likewise.
14313 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
14314 (setup_incoming_varargs): Restructure for ABI_V4; use
14315 function_arg_advance to skip final named argument.
14316 (expand_builtin_saveregs): Properly unskip the last integer arg
14317 when doing varargs. Adjust overflow location calculation.
14319 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
14320 explicitly unsigned.
14321 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
14322 (__VA_GP_REGSAVE): Similarly.
14323 (__va_longlong_p): Delete.
14324 (__va_arg_type_violation): New declaration.
14325 (va_arg): Restructure. Flag promotion errors. Align double.
14326 TFmode passed by reference.
14328 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
14329 in the HOST_BITS_PER_WIDE_INT > 32 case.
14331 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
14333 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
14335 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
14337 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
14338 * toplev.c (documented_lang_options): Add -fpreprocessed.
14339 * cpplib.h (struct cpp_buffer): Add preprocessed.
14340 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
14341 (cpp_start_read): Don't expand macros or emit an initial #line
14342 directive if -fpreprocessed.
14344 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14346 * cpplib.h (struct cpp_buffer): Added manual_pop for
14347 better C++ tokenization.
14348 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
14349 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
14350 * c-common.c (cpp_token): Make non-static.
14352 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14354 * c-common.h: New file.
14355 * c-common.c (permanent_obstack): Delete unused declaration.
14356 (c_global_trees): New array.
14357 (c_common_nodes_and_builtins): New function; split off common code
14358 from init_decl_processing in both c-decl.c and cp/decl.c.
14359 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
14360 c_global_trees and accessor macros defined in c-common.h.
14361 Include c-common.h.
14362 * c-decl.c: Delete definitions for tree nodes that were replaced by
14364 (init_decl_processing): Build void_list_node.
14365 Call c_common_nodes_and_builtins; delete code to generate the common
14367 * objc/objc-act.c (build_module_descriptor): Rename variable
14368 void_list_node to avoid clash with c-common.h.
14370 * Makefile.in: Update dependencies.
14371 * objc/Make-lang.in: Likewise.
14373 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
14375 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
14376 (UNIQUE_SECTION_P): Likewise.
14377 (UNIQUE_SECTION): Likewise.
14379 1999-07-19 Linas Vepstas <linas@linas.org>
14381 * config/i370/README: New file.
14382 * config/i370/linux.h: New file.
14383 * config/i370/mvs.h: New file.
14384 * config/i370/oe.h: New file.
14385 * config/i370/t-linux: New file.
14386 * config/i370/t-mvs: New file.
14387 * config/i370/t-oe: New file.
14388 * config/i370/x-oe: New file.
14389 * config/i370/xm-linux.h: New file.
14390 * config/i370/xm-mvs.h: New file.
14391 * config/i370/xm-oe.h: New file.
14393 * i370.c (label_node_t): Add first_ref_page, label_addr,
14394 label_first_ref, label_last_ref members.
14395 (mvs_need_base_reload): Renamed from mvs_label_emitted.
14396 (MAX_MVS_LABEL_SIZE): Define.
14397 (MAX_LONG_LABEL_SIZE): Define.
14398 (alias_node_t, alias_anchor, alias_number): New.
14399 (mvs_function_table): Reorder for EBCDIC.
14400 (ascebc, ebcasc): Unconditionally define.
14401 (i370_branch_dest, i370_branch_length): New functions.
14402 (i370_short_branch, i370_label_scan): New functions.
14403 (mvs_get_label): Renamed from mvs_add_label. Search for
14404 an existing label before creating a new one.
14405 (mvs_add_label): New function.
14406 (mvs_get_label_page): New function.
14407 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
14408 over the entire list.
14409 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
14410 (mvs_check_page) [TARGET_ELF_ABI]: New function.
14411 (mvs_add_alias, mvs_need_alias): New functions.
14412 (mvs_get_alias, mvs_check_alias): New functions.
14413 (handle_pragma): New function.
14414 (mvs_function_check): New function.
14415 (unsigned_jump_follows_p): Search harder.
14416 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
14417 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
14418 * i370.h (TARGET_VERSION): Delete.
14419 (CPP_SPEC, CPP_PREDEFINES): Delete.
14420 (mvs_label_emitted): Delete.
14421 (TARGET_EBCDIC): Delete.
14422 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
14423 (HANDLE_PRAGMA): Define.
14424 (HARD_REGNO_NREGS): Handle complex modes.
14425 (HARD_REGNO_MODE_OK): Likewise.
14426 (CLASS_MAX_NREGS): Likewise.
14427 (RET_REG): Likewise.
14428 (EXTRA_CONSTRAINT): Define.
14429 (RETURN_IN_MEMORY): True for DImode.
14430 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
14431 (FUNCTION_PROFILER): Delete.
14432 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
14433 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
14434 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
14435 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
14436 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
14437 (ASM_FILE_START): Add "RMODE ANY".
14438 (ASM_OUTPUT_EXTERNAL): Check for aliases.
14439 (ASM_GLOBALIZE_LABEL): Likewise.
14440 (ASM_OUTPUT_LABELREF): Likewise.
14441 (ASM_OUTPUT_COMMON): Likewise.
14442 (PRINT_OPERAND): Handle 'K', 'W', default.
14443 (PRINT_OPERAND_ADDRESS): New.
14444 (Lots of defines): Add support for TARGET_ELF_ABI.
14445 * i370.md (attr length): New. Define for all patterns.
14446 (*): Lots of tweeks to assembly output and constraints.
14448 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
14450 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
14451 Disable patterns performing SImode comparisons with SImode values
14452 if TARGET_POWERPC64 and instruction does not sign-extend or does
14453 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
14454 differ for signed quantities.
14455 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
14456 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
14457 (decrement_and_branch_on_count): Add 64-bit variant.
14459 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14461 * final.c (output_asm_insn): When searching for the matching string
14462 for a given dialect, don't run past the end of the list of
14463 alternatives if there are fewer alternatives in the template than
14466 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
14468 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
14469 Removed paragraph about compression of files and size limitation,
14470 duplicated in the FAQ. Use gcc-patches for posting patches.
14471 * gcc.c (main): Updated URL with bug reporting instructions to
14472 gcc.gnu.org. Removed e-mail address.
14473 * system.h (abort): Likewise.
14475 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14477 * Makefile.in (stmp-multilib-sub): Make the files extracted
14478 from $(LIBGCC1) writable.
14480 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
14482 * config/arm/aout.h: Reformat for improved readability.
14484 * config/arm/arm.h: Reformat for improved readability.
14485 Replace uses of fprintf with asm_fprintf where appropriate.
14486 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
14487 function declaration assembler actions.
14488 (NUM_INTS): New macro: Convert from bytes to words.
14489 (NUM_REGS): New macro: Compute number of registers required to
14490 hold a quanitity of tyep MODE.
14491 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
14493 (NUM_ARG_REGS): New macro: The number of argument registers
14495 (ARG_REGISTER): New macro: Compute the register number of the Nth
14497 (LAST_ARG_REGNUM): New macro: The number of the last argument
14499 (SP_REGNUM): New macro: Register number of the stack pointer.
14500 (FP_REGNUM): New macro: Register number of the frame pointer.
14501 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
14502 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
14503 CUMULATIVE_ARGS so that it counts registers not bytes.
14505 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
14507 Replace uses of fprintf with asm_fprintf where appropriate.
14508 (output_ascii_pseudo_op): Replace with version from thumb.c
14510 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
14512 * config/arm/elf.h (CPP_PREDEFINES): Replace with
14513 SUBTARGET_CPP_SPEC.
14514 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
14515 (ASM_FILE_START): Emit ASM_APP_OFF.
14517 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
14519 * pa.c (compute_frame_size): Round frame according to
14520 STACK_BOUNDARY rather than a hardwired value.
14522 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
14524 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
14526 * configure: Rebuilt.
14528 * configure.in (hppa*-*-linux*): New configuration.
14529 * configure: Rebuilt.
14530 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
14531 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
14532 * pa/pa-linux.h: New file.
14533 * pa/t-linux: New file.
14534 * pa/xm-linux.h: New file.
14536 * pa.c (hppa_legitimize_address): Change references from SImode to
14537 either Pmode or word_mode as appropriate.
14538 (emit_move_sequence, store_reg, load_reg): Likewise.
14539 (set_reg_plus_d, hppa_expand_prologue): Likewise.
14540 (output_mul_insn): Likewise.
14541 * pa.h (PROMOTE_MODE): Likewise.
14542 (INITIALZE_TRAMPOLINE): Likewise.
14543 (Pmode): Define to word_mode.
14545 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
14546 value of 4. Allocate 8 bytes for each FP register save.
14547 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
14549 (hppa_expand_prologue): Likewise.
14550 * pa.h (PROMOTE_MODE): Likewise.
14551 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
14552 (FUNCTION_ARG_BOUNDARY): Likewise.
14554 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
14556 * pa.c (out_of_line_prologue_epilogue): Delete.
14557 (override_options): Remove -mspace related code.
14558 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
14559 (compute_frame_size): Only allocate space for register that
14560 actually need to be saved.
14561 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
14562 (TARGET_SWITCHES): Remove -mspace, -mno-space
14563 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
14564 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
14565 * pa/ee.asm, pa/ee_fp.asm: Delete.
14567 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
14569 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
14570 directive in column zero.
14572 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
14574 * m68k.c (output_function_prologue): Fix computation of save mask
14575 when generating PIC code.
14577 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
14579 * tree.c (build_type_attribute_variant): Move current_obstack restore
14580 after build_qualified_type call.
14582 1999-07-15 Mark Mitchell <mark@codesourcery.com>
14584 * configure.in: Use t-iris6, even with GNU LD.
14585 * config/mips/iris6gld.h: Fix typo in linker spec.
14586 * config/mips/t-iris6gld: Remove.
14588 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
14590 * rs6000.md (insv, extzv): Remove SImode dependence in named
14591 patterns. Explicitly generate DImode RTL if PowerPC64 and
14593 (insvdi): Reverse start and size in instruction template.
14595 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
14597 * invoke.texi: Typo fixes.
14599 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
14601 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
14602 handle at this time instead of silently generating incorrect code.
14603 (gen_imagpart): Likewise.
14605 * reload.c (find_reloads): Emit a USE for a pseudo register without
14606 a hard register if we could not create an optional reload for the
14609 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14611 * c-typeck.c (output_init_element, process_init_element):
14612 When advancing constructor_unfilled_fields for a RECORD_TYPE,
14613 check for nameless bit fields.
14615 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
14617 * regclass.c (scan_one_insn): Notice subregs that change the
14618 size of their operand.
14619 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
14621 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
14623 * configure.in (alpha*-*-*): Include alpha/t-ieee.
14624 * configure: Rebuilt.
14625 * alpha/t-ieee: New file.
14627 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
14629 * rs6000.c (find_addr_reg): Do not select r0 as an address
14632 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
14634 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
14636 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
14638 * rs6000.md (movsf): Do not force easy FP constants into memory.
14640 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
14641 immed_double_const to ensure they are properly truncated then
14644 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
14646 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
14647 always unless NO_DEBUG is used. Compile this code
14649 (replace_symbols_in_block): Compile it unconditionally.
14651 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
14653 * configure.in (i?86-*-elf*): New target.
14654 * configure: Rebuilt.
14655 * i386/i386elf.h, i386/t-i386elf: New files.
14657 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14659 * toplev.c (main): Don't complain about saying -gdwarf.
14660 (rest_of_compilation): Remove redundant code.
14662 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
14664 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
14666 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
14668 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
14669 "Li960R:", to avoid name clash.
14671 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14673 * loop.c (check_dbra_loop): When reversing a loop, delete all
14674 REG_EQUAL notes referencing the reversed biv except those which are
14675 for a giv based on it.
14677 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
14679 * version.c: Drop "gcc-" prefix from version #.
14681 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
14683 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
14684 the label if we're being verbose.
14686 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
14688 * m68k.c (output_function_prologue): Add pic register to mask
14689 if live and flag_pic.
14690 (output_function_epilogue): Likewise.
14692 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
14694 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
14695 directives in column zero.
14697 * pa/elf.h (ASM_FILE_START): Define.
14698 * pa/som.h (ASM_FILE_START): Include .level directives.
14699 * pa/hpux10.h (ASM_FILE_START): Delete.
14700 * pa/hpux11.h (ASM_FILE_START): Delete.
14702 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
14704 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14706 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
14707 when reload_out equals reload_in.
14709 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
14711 * invoke.texi (Spec Files): New node: Describe the contents of
14714 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
14716 * invoke.texi (DEC Alpha Options): Put @end table at
14717 beginning of line, to avoid confusing texi2html.
14719 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
14721 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
14722 introduced in previous delta.
14724 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14726 * reload1.c (gen_reload): When synthesizing a 3 operand add
14727 sequence, improve test for when to reload OP1 into the reload
14728 register instead of OP0.
14730 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
14732 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
14734 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
14736 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
14739 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
14741 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
14742 (va_dcl): Use __builtin_va_alist_t.
14744 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
14746 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
14747 on the permanent_obstack.
14748 * dwarfout.c (output_type): Likewise.
14750 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
14752 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14753 Merged from c-typeck.c and cp/typeck.c.
14754 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14755 Merged into c-common.
14757 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
14759 * c-lex.c (errorcount): Declare it.
14760 (finish_parse): Update errorcount when using CPPLIB.
14762 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
14764 * fixinc/inclhack.def(end_else_label): Double the backslash so
14765 sed gets a chance to see it.
14766 * fixinc/inclhack.sh: regen
14767 * fixinc/fixincl.x: regen
14769 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
14771 Add framework to support armv5 architecture when it becomes
14774 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
14775 (arm_arch5): New variable.
14776 (all_architectures): Add armv5 line.
14777 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
14778 -march=armv5 is specified on the command line.
14779 (arm_arch5): Export this variable.
14780 * invoke.texi: Document new string accepted by -march= switch for
14783 * config/arm/arm.h: Replace use of constant 12 as a register
14784 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
14785 * config/arm/arm.c: Replace use of constant 12 as a register
14786 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
14788 * config/arm/elf.h: Tidy up.
14789 * config/arm/coff.h: Tidy up.
14791 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
14793 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
14794 * gcc/config/mips/t-iris6gld: New file.
14795 * gcc/config/mips/iris6gld.h: Likewise.
14797 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
14799 * c-decl.c (widest_integer_literal_type_node,
14800 widest_unsigned_literal_type) : New.
14801 (init_decl_processing): Handle/use the two new types.
14802 * c-common.c (type_for_size,type_for_mode) : Same.
14803 * c-lex.c (yylex) : Same.
14804 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14806 * c-tree.h (widest_integer_literal_type_node,
14807 widest_unsigned_literal_type) : New.
14809 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
14811 * dwarfout.c (field_byte_offset): Correctly compute the object's
14812 byte offset for the first bit of a field which crosses an alignment
14813 boundary on a !BYTES_BIG_ENDIAN target.
14815 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
14817 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
14820 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
14821 Jeff Law <law@cygnus.com>
14823 * ginclude/varargs.h (va_dcl): Use word_mode for type of
14826 * except.c: Include intl.h.
14827 (expand_eh_return): Set current_function_cannot_inline.
14828 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
14829 * function.h (struct function): Add eh_return_stub_label.
14830 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
14831 * Makefile.in (except.o): Depend on intl.h.
14833 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
14835 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
14836 same as offsettable in cases 1 and 2.
14838 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
14840 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
14841 (extlh, extwh): Likewise.
14843 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
14845 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
14847 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
14849 * configure.in: Add arm-pe and thumb-pe targets.
14850 * configure: Regenerate.
14852 * thumb.c (arm_naked_function_p): New function: Determines if
14853 a function is naked (has no gcc generated prologue/epilogue).
14854 (is_called_in_ARM_mode): Return true if the func has the
14855 interfacearm attribute.
14856 (output_return): Do not generate a return for naked functions.
14857 (thumb_function_prologue): Do not generate a prologue for
14859 (thumb_expand_prologue): Do not generate a prologue for naked
14861 (thumb_expand_epilogue): Do not generate an epilogue for naked
14863 (arm_valid_machine_decl_attribute): New function, copied from
14864 arm.c: Permit naked and interfacearm attributes.
14866 * config/arm/pe.c: New file: Support code for arm-pe target.
14867 * config/arm/pe.h: New file: Header file for arm-pe target.
14868 * config/arm/tpe.h: New file: Header file for thumb-pe target.
14869 * config/arm/t-thumb-pe: New file: Makefile fragment for
14872 1999-07-01 Mark Kettenis <kettenis@gnu.org>
14874 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
14875 -fPIC or -fpic is specified.
14877 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
14879 * expr.c (emit_block_move): Use copy_to_mode_reg for
14880 !TARGET_MEM_FUNCTIONS case too.
14882 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
14884 * configure: Rebuilt.
14885 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
14886 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
14887 definitions made redundant by dbxelf.h inclusion. Delete
14888 lots of definitions related to assembly output that are
14889 specific to the SOM object format.
14890 * pa.c (output_function_prologue): Do not emit the function's
14892 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
14893 * pa-pro.h: Deleted.
14894 * som.h: New file with SOM specific definitions.
14895 * elf.h: New file with ELF specific definitions.
14897 * elfos.h (const_section): Output a tab before assembler directives.
14898 (ctors_section, dtors_section): Likewise.
14899 (ASM_OUTPUT_SECTION_NAME): Likewise.
14901 * pa/pa1.h: Delete unused file.
14903 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
14905 * configure.in (hppa*-hp-hpux11*): New configuration.
14906 * configure: Rebuilt.
14907 * pa/pa-hpux11.h: New file.
14908 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
14911 * mips.md (leasi, leadi): New patterns.
14913 * expr.c (emit_block_move): Properly handle case where one of the
14914 block move arguments has a queued increment or decrement.
14915 (clear_storage): Similarly. Fix formatting goof.
14917 1999-06-28 "David O'Brien" <obrien@NUXI.com>
14919 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
14920 semicolon from the BSD VA_LIST replacement expression.
14922 * fixinc/inclhack.sh: regen
14923 * fixinc/fixincl.x: regen
14925 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
14926 now use the fixincl program.
14928 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
14930 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
14931 case. Also make the PIC register call_used.
14933 * m68k.h (FINALIZE_PIC): Delete.
14934 * m68k.c (finalize_pic): Delete.
14936 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
14938 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
14941 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
14943 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
14945 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
14947 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
14949 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
14951 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
14953 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
14955 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
14957 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
14959 * rs6000.c (output_toc): Always use hex values for floating-point
14960 constants. Store single-precision values in upper-half of TOC
14961 entry in 64-bit mode.
14962 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
14963 to final constraints.
14964 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
14965 (fctiwz): Improve accuracy of RTL for pattern.
14967 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
14969 * expr.c (expand_expr): Allow RTL_EXPR's through the
14970 MAX_INTEGER_COMPUTATION_MODE checks.
14972 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
14974 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
14975 such that MASK_SUPPORT_ARCH is not negative.
14977 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
14979 * loop.c (verify_dominator): Properly handle ADDR_VEC and
14980 ADDR_DIFF_VEC insns that appear inside loops.
14982 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
14983 Jeff Law <law@cygnus.com>
14985 * rs6000.md (movdf_hardfloat32): Revert previous patch.
14986 Handle LO_SUM the same as offsettable in cases 1 and 2.
14987 * rs6000.c (find_addr_reg): Revert previous patch.
14989 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
14991 * system.h (strstr): New external function declaration.
14992 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
14993 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
14994 * config.in, configure: Rebuilt.
14996 1999-06-24 Tom Tromey <tromey@cygnus.com>
14998 * gcc.c (main): Read user-specified specs files after computing
14999 additional startfile_prefixes.
15001 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
15003 Revert these two patches:
15005 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15006 * loop.c (strength_reduce): When doing biv->giv conversion, update
15007 reg note of NEXT->insn.
15009 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15010 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15012 (recombine_givs): Set ix field after sorting.
15014 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15016 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
15017 for the parts of an UNSPEC / UNSPEC_VOLATILE.
15019 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
15021 *fixinc/inclhack.def: Add fix development commentary
15022 (read_ret_type): reactivate and add selection clause
15023 (zzz_*): tweak output file name to match what is used in hackshell.tpl
15024 *fixinc/{fixincl.x|inclhack.sh}: regen
15026 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
15028 * expr.c (expand_expr): STRIP_NOPS before checking against
15029 MAX_INTEGER_COMPUTATION_MODE
15030 (check_max_integer_computation_mode): Likewise.
15032 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
15034 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
15036 1999-06-22 Jim Wilson <wilson@cygnus.com>
15038 * expr.c (store_expr): When target is a promoted subreg, return a
15039 promoted subreg as a result.
15041 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
15043 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
15045 (dwarf2out_define): Mark unused parameters appropriately.
15046 (gen_unspecified_parameters_die): Ditto.
15047 (gen_subprogram_die): Fix signed/unsigned warnings.
15048 (gen_variable_die): Ditto.
15050 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
15052 * fixinc/inclhack.def(end_else_label): combined else_label
15053 and endif_label and fixed the sed expression.
15054 *fixinc/{fixincl.x|inclhack.sh}: regen
15056 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
15058 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
15059 'x' when handling non-offsettable addresses
15061 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
15063 * final.c (shorten_branches): Don't try to split an insn that has
15066 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
15068 * config/mips/mips.c (symbolic_expression_p): New function.
15069 (mips_select_rtx_section): Put symbolic expressions in the
15070 data section, not the read-only data section.
15072 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
15074 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
15076 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
15078 * collect2.c (main): Log frame table count.
15079 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
15080 (scan_prog_file) [COFF]: Handle frame tables.
15082 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
15083 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
15084 * alpha/elf.h: Undef them again.
15085 * alpha/vms.h: Remove their definitions.
15087 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15089 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
15090 remove the clobber of r0 and change the REG_UNUSED note to
15093 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
15095 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
15096 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
15097 fits in HOST_WIDE_INT and one uses union to access a long constant
15100 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
15102 * sparc.c (sparc_override_options): Don't allow profiling for
15103 code models other than medlow.
15104 (sparc_function_profiler): New function from old FUNCTION_PROFILER
15105 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
15106 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
15107 (sparc_block_profiler): Likewise.
15108 (sparc_function_block_profiler_exit): Likewise.
15109 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
15110 (FUNCTION_BLOCK_PROFILER): Likewise.
15111 (BLOCK_PROFILER): Likewise.
15112 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
15113 (MCOUNT_FUNCTION): New.
15114 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
15115 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
15116 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
15117 (MCOUNT_FUNCTION): New.
15118 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
15119 (BLOCK_PROFILER): Delete.
15120 (MCOUNT_FUNCTION): New.
15122 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
15124 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
15126 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
15128 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15131 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15134 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15137 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15140 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
15142 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
15145 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
15147 * i386/djgpp.h (LIB_SPEC): New.
15148 (STARTFILE_SPEC): New.
15150 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
15152 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
15154 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
15157 * system.h (WSTOPSIG): New macro.
15159 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
15161 * c-pragma.c (push_alignment): Don't ignore alignments greater than
15163 (insert_pack_attributes): Take into account member natural
15166 * i386/winnt.c (exports_head): New static variable.
15167 (i386_pe_record_exported_symbol): New function.
15168 (i386_pe_asm_file_end): Use.
15169 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
15170 symbols to be emitted at end of assembly.
15171 (ASM_DECLARE_OBJECT_NAME): Likewise.
15172 (ASM_DECLARE_FUNCTION_NAME): Likewise.
15174 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
15177 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
15179 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
15182 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
15184 * haifa-sched.c (sched_analyze_1): Use free_list instead of
15185 zapping reg_last_uses directly.
15186 (sched_analyze_2, sched_analyze_insn): Likewise.
15187 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
15189 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
15191 * rs6000.md (movdf_hardfloat32): Use worst case insn length
15192 attributes for cases 1 and 2.
15194 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
15196 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
15199 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
15201 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
15203 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
15205 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
15206 PIC_OFFSET_TABLE_REGNUM for general alloaction.
15207 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
15208 must be stacked if it is used for PIC accesses.
15209 * arm.c (use_return_insn): Handle PIC register specially.
15210 (output_return_instruction): Likewise.
15211 (output_func_{prologue,epilogue}): Likewise.
15212 (output_expand_prologue): Likewise.
15214 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
15215 (*strsi_predec): Renamed from *strqi_predec.
15216 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
15217 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
15219 * arm.c (arm_override_options): Remove warning about PIC code
15220 not being supported.
15222 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
15224 * rs6000.c (find_addr_reg): New function.
15225 * rs6000.h (find_addr_reg): Declare.
15226 (offsettable_addr_operand): Delete.
15227 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
15228 from and stores to GPRs.
15230 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
15232 * alpha.c (alpha_expand_block_move): Use get_insns rather than
15233 gen_sequence as argument to emit_no_conflict_block.
15235 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15237 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
15238 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
15239 *fixinc/fixincl.x: regen
15240 *fixinc/inclhack.sh: regen
15242 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
15244 * added support for -mpcrel (PC relative addressing for m68k)
15245 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
15246 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
15247 * m68k.c (print_operand_address): Handle 32-bit PIC case.
15248 (comments for general_src_operand): Add some explanation
15249 about EXTRA_CONSTRAINTS.
15250 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
15251 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
15252 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
15253 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
15254 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
15255 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
15256 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
15257 if not already set.
15258 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
15259 * m68k.h (TARGET_PCREL): New target flag.
15260 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
15261 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
15262 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
15263 contains a SYMBOL_REF. Relax this constraint during reload, since
15264 we want to use the predicates, not reload's built-in concept of a
15265 valid memory address, to control what insns need reloading.
15266 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
15267 operands (essentially 'g', 'm', and 's' under normal circumstances).
15268 * m68k.c (print_operand): Cause printing of pc-relative addresses
15269 to include pc register.
15270 (print_operand_address): Ditto.
15271 (general_src_operand): Accept operands that are not only
15272 general_operands, but are also valid when used as a pc-relative
15274 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
15275 (memory_src_operand): Similar, for memory_operands.
15276 (pcrel_address): New predicate to accept the special case of a
15277 pc-relative address.
15278 * m68k.md (many patterns): Rewrite common SImode, HImode, and
15279 QImode insns to accept *_src_operand instead of *_operand where
15280 pc-relative operands can fit. For example, a pc-relative operand
15281 can be used as a memory source operand for addsi3, but not as a
15282 memory destination.
15283 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
15285 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
15287 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
15288 .thumb_set pseudo op to mark aliases of thumb functions.
15290 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
15292 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
15293 preference to ASM_OUTPUT_DEF, if it is defined.
15295 * tm.texi: Document new, optional target macro
15296 ASM_OUTPUT_DEF_FROM_DECLS.
15298 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15300 * fixincludes: ISCNTL patch
15301 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
15302 (dgux_int_varargs): new for DG/UX
15303 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
15305 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
15307 * invoke.texi (ia32 options): Fix typo.
15309 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15311 * loop.c (strength_reduce): When doing biv->giv conversion, update
15312 reg note of NEXT->insn.
15314 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
15316 * loop.c (move_movables): Note issues with replacing REGs with
15318 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
15320 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
15322 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
15324 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
15325 the reference to `mcount' was not correct for the ELF on FreeBSD.
15327 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15329 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15332 (recombine_givs): Set ix field after sorting.
15334 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
15336 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
15337 to safe to extract a subword out of a REG.
15339 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15341 * sh.md (mulsi3): Don't add a no-op move at the end.
15343 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15345 * cse.c (cse_insn): Don't put hard register source into tables for
15346 the last insn of a libcall.
15348 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15350 * loop.c (strength_reduce): Insert sets of derived givs at every
15351 biv increment, even if it's the only one.
15353 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
15355 * dwarfout.c (add_incomplete_type): New fn.
15356 (output_type): Call it.
15357 (retry_incomplete_types): New fn.
15358 (dwarfout_finish): Call it.
15360 From Eric Raskin <ehr@listworks.com>:
15361 (output_type): Output types for bases.
15363 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15365 * mips.c (mips_output_conditional_branch): Add `break'
15366 between `default' label and `close braces'.
15368 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
15370 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
15371 specifications and make it realistic.
15372 (LIB_SPEC): Likewise.
15374 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
15376 * config/mips/mips.c (mips_secondary_reload_class): Check for
15377 (PLUS (SP) (REG)) and return appropriate register class.
15378 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
15379 Handle (PLUS (SP) (REG)).
15380 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
15381 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
15382 of emit_insn for tablejump.
15384 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
15386 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
15387 asm_fprintf format string by itself.
15388 (output_function_profiler): Likewise.
15390 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
15392 * combine.c (simplify_logical, case AND): Only call
15393 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
15394 or the constant is positive.
15396 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
15398 * configure.in: Fix typo in rs6000-ibm-aix4 case.
15399 * configure: Regenerate.
15401 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
15403 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
15404 require a sub-version #.
15405 * configure: Rebuilt.
15407 1999-06-14 Robert Lipe (robertlipe@usa.net)
15409 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
15411 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
15413 * c-typeck.c (process_init_element): Detect excess elements in
15414 char array initializer.
15416 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
15418 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
15420 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
15422 * invoke.texi (Option Summary): Add -fpermissive flag.
15424 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
15426 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
15427 that require PIC code sequences.
15429 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
15431 * configure.in: Add new target: thumb-elf.
15432 * configure: Regenerate.
15433 * config/arm/t-thumb-elf: New file: Makefile fragment for
15435 * config/arm/telf.h: New file: Header file for thumb-elf
15438 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
15440 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
15441 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
15442 initializers is some circumstances.
15444 * fixinc/inclhack.def (endif_label): Add additional selector for
15445 more bogus stuff after #endif statements.
15446 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15448 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
15450 * i386/cygwin.h (SET_ASM_OP): Define.
15452 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
15454 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
15456 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15458 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
15461 * sh.md (ic_invalidate_line_i): Remove second alternative.
15463 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15465 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
15466 test for the presence of valid prototypes. Delete bypass expr.
15467 (ioctl_fix_ctrl): Correct the selection expression.
15468 (no_double_slash): Correct quoting rules
15469 *fixinc/fixincl.x: regen
15470 *fixinc/inclhack.sh: regen
15472 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
15474 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
15476 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15478 * rs6000.md (movsi_got_internal_mem): Delete.
15479 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
15480 (GOT_TOC_REGNUM): Delete.
15481 (PIC_OFFSET_TABLE_REGNUM): Define.
15482 (FINALIZE_PIC): Disable.
15483 * rs6000.c (rs6000_got_register): New code for fixed pic register.
15484 (rs6000_replace_regno): Delete.
15485 (rs6000_finalize_pic): Likewise.
15486 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
15488 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15490 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
15491 is a note; use <= for the compare; advance P while it is
15494 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
15496 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
15497 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
15499 * varasm.c (remove_from_pending_weak_list): Verify t->name
15500 is non-NULL before passing it to strcmp.
15502 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15504 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
15505 the typed arguments are not part of a comment
15506 (ioctl_fix_ctrl): Added a purpose comment
15507 *fixinc/fixincl.x: regenerate
15508 *fixinc/inclhack.sh: regenerate
15510 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15512 * invoke.texi: Add C4x invocation docs.
15514 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15516 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
15518 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
15520 (c4x_legitimize_reload_address): New function.
15521 * config/c4x/c4x.md: Update docs.
15523 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
15525 * fixincludes: Avoid removing '.'.
15526 * fixinc/fixinc.svr4: Likewise.
15527 * fixinc/fixinc.winnt: Likewise.
15528 * fixinc/inclhack.tpl: Likewise.
15529 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
15531 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15533 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
15535 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
15537 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
15539 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
15542 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
15544 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
15545 * configure: Regenerate.
15547 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
15549 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
15552 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
15554 * fixinc/inclhack.def (avoid_bool): Also catch
15555 "typedef [unsigned] int bool".
15556 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15558 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
15559 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
15560 * configure: Rebuilt.
15562 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
15564 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
15565 such that we can override its definitions if necessary.
15566 (CPP_SPEC): New define. Support processor specific predefines via
15568 (CC1_SPEC): New define. Support processor specific compiler
15569 options via %(cc1_cpu).
15570 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
15573 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15575 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
15576 between sed's -e flag, and the open-quote following it.
15577 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15579 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
15580 Jeffrey A Law (law@cygnus.com)
15582 * varasm.c (assemble_start_function): Remove the function
15583 from the pending weak decls list when we define a function.
15584 (assemble_variable): Similarly for variables.
15585 (weak_finish): Ignore items on the list with a NULL name.
15586 (remove_from_ending_weak_list); New function to "remove" an item
15587 from the pending weak declarations list.
15589 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
15591 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
15593 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
15595 * c-lex.c (GETC): Redefine to call getch.
15596 (UNGETC): Redefine to call put_back.
15597 (putback_buffer): New structure type.
15598 (putback): New static structure.
15599 (getch): New function.
15600 (put_back): New function.
15601 (yylex): Replace unused bytes from bad multibyte character.
15603 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
15605 * cpplib.c (do_define): Cast `alloca' return value.
15606 (do_include, do_undef, do_pragma): Likewise.
15607 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
15609 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
15610 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
15612 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
15614 * sparc.md (abstf2): This should be an expand.
15615 (split after abstf2_notv9): Fix mode.
15616 (abstf2_hq_v9): New pattern.
15617 (abstf2_v9): Only use when no hard quad.
15618 (absdf2_v9): Fix if target is not the same as source.
15619 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
15620 Add correct output constraints.
15622 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
15624 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
15625 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
15627 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
15629 * mips.h (mips_output_conditional_branch): New function.
15630 (mips_adjust_insn_length): Likewise.
15631 (ASSEMBLER_SCRATCH_REGNUM): New macro.
15632 (ADJUST_INSN_LENGTH): Likewise.
15633 * mips.c (print_operand): Add `F' and `W' for floating-point
15634 comparison opcodes.
15635 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
15637 (mips_adjust_insn_length): New function.
15638 (mips_output_conditional_branch): New function.
15639 * mips.md (length): Adjust attribute definition to handle
15640 conditional branches. Change lengths to bytes, rather than
15641 instructions throughout. Remove length attribute from
15642 instructions whose length is four bytes, and rely on the default
15644 (dslot): Fix typo in comment.
15645 Reword conditional branch patterns to use
15646 mips_output_conditional_branch.
15648 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15650 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
15651 (LIB_SPEC): Likewise.
15652 Link with -lprof1_r for -g/-pg.
15654 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
15656 * loop.c (check_dbra_loop): Fix change of Jan 19.
15658 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
15660 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
15661 (STARTFILE_SPEC): Define, override the svr4.h version.
15662 (ENDFILE_SPEC): Likewise.
15664 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
15666 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
15667 * fixinc/fixincl.x: Regenerated.
15668 * fixinc/inclhack.sh: Regenerated.
15670 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15672 * sh.c (barrier_align): Don't return early for normal branch/barrier
15673 when optimizing for SH2.
15675 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
15677 * i386/udk.h (LINK_SPEC): Correct linker search path for
15680 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15682 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
15683 (braf_label_ref_operand): Delete.
15684 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
15685 * sh.md (casesi_jump_2): Operand1 is now the inside of a
15686 label_ref, and has no predicate.
15687 The patten has a predicate to guard against invalid substitutions.
15688 (dummy_jump): Delete.
15689 (casesi): Update use of casesi_jump_2.
15691 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15693 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
15694 *fixinc/fixincl.x: regenerate
15695 *fixinc/inclhack.sh: regenerate
15697 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
15699 * dwarf2out.c (add_incomplete_type): New fn.
15700 (gen_struct_or_union_type_die): Call it.
15701 (retry_incomplete_types): New fn.
15702 (dwarf2out_finish): Call it.
15704 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
15706 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
15707 current block starts with a CODE_LABEL and ends with a CALL and
15708 we can not find all the argument setup instructions for the CALL.
15710 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
15712 Revert this change:
15713 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15714 something is a candidate for optimize_bit_field_compare.
15716 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15718 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
15720 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
15722 * alpha.c (override_options): Thinko in last patch.
15724 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
15725 (LIB_SPEC): Recognize -pthread.
15727 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
15729 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
15730 definition in config/arm/coff.h
15731 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
15733 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15735 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
15736 fixes that need "file=xxx\n" prepended before invocation
15737 (start_fixer - new): starting the fixer process is complex enough
15738 to warrent its own routine. It prepends the "file=xxx\n" stuff.
15739 (process): uses the new routine; omit usage of putenv()
15740 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
15741 * fixinc/fixincl.x: regenerate
15743 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
15745 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
15746 and version #s (1.1 -> 2.96) as needed.
15747 * README.g77: Kill way out of date file in the toplevel directory.
15749 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
15751 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
15752 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
15753 * configure: Rebuilt.
15754 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
15755 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
15756 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
15757 (SWITCH_TAKES_ARG): Likewise.
15758 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
15759 * config/t-freebsd: Moved from config/i386/ so it can used for all
15762 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
15764 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
15766 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
15768 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
15769 * configure: Rebuilt.
15771 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
15773 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
15774 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
15775 * rs6000/rs6000.c (rs6000_file_start): Use putc.
15776 (rs6000_output_load_toc_table): Same.
15777 (output_prolog, output_mi_thunk): Same.
15778 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
15779 (ASM_GLOBALIZE_LABEL): Use putc.
15781 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
15783 * alpha.md (reload_*_help): New patterns and splitters.
15784 (reload_*): Use them.
15785 (mov[qh]i): Likewise.
15787 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
15789 * cccp.c (handle_directive): Handle backslash-newlines in quoted
15792 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
15794 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
15796 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
15798 * flow.c (mark_regs_live_at_end, insn_dead_p,
15799 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
15800 and HARD_FRAME_POINTER_REGNUM special treatment if reload
15801 hasn't run or the frame pointer is needed.
15802 * haifa-sched.c (attach_deaths): Likewise.
15803 * sched.c (attach_deaths): Likewise.
15805 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
15807 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
15808 calculate_can_reach_end returns nonzero.
15810 * configure.in (native gas tests): Search for an assembler in the
15811 same manner that the installed compiler will.
15812 * configure: Rebuilt.
15813 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
15815 * alias.c (find_base_term): Improve handling of addresses
15816 constructed from binary operations.
15818 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
15820 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
15822 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
15824 * function.h (cleanup_label, frame_offset): Declare.
15825 (tail_recursion_label, tail_recursion_reentry): Likewise.
15826 (arg_pointer_save_area, rtl_expr_chain): Likewise.
15827 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
15828 (tail_recursion_label, tail_recursion_reentry): Likewise.
15829 (arg_pointer_save_area, rtl_expr_chain): Likewise.
15831 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
15833 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
15835 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
15836 (MAX_OFILE_ALIGNMENT): Define.
15838 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
15840 * fixincl.c: Replace local include scheme with #includes of
15841 gansidecl.h and system.h.
15842 * procopen.c: Likewise.
15843 * server.c: Likewise.
15845 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
15847 * i386/t-dgux (EXTRA_PARTS): Add crti.o
15848 (crti.o): Add build rule and dependencies.
15849 * fixinc/fixinc.dgux: Use modified _int_varargs.h
15851 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15853 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
15854 (LIB_LINUX_SPEC): Likewise.
15855 (LIB_LINUX_SPEC): Add support for -pthread
15856 (CPP_OS_LINUX_SPEC): Likewise.
15857 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
15860 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
15862 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
15864 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
15865 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
15866 for IEEE math and CC_FCOMI.
15867 (put_jump_code): No IEEE if CC_FCOMI is set.
15869 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
15871 * fold-const.c (fold_truthop): Make the field reference unsigned
15872 when converting a single bit compare.
15874 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15876 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
15878 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
15880 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
15881 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
15884 * reload.c (push_reload): Do not call remove_address_replacements
15885 when presented with identical optional reloads.
15887 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
15889 * alpha.h (MASK_FIX, TARGET_FIX): New.
15890 (MASK_*): Reorganize constants.
15891 (CPP_AM_FIX_SPEC): New.
15892 (TARGET_SWITCHES): Add FIX.
15893 (EXTRA_SPECS): Likewise.
15894 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
15895 (SECONDARY_MEMORY_NEEDED): Likewise.
15896 (REGISTER_MOVE_COST): Likewise.
15897 * alpha.c (override_options): Add FIX support. Always use
15898 ALPHA_TP_PROG for ev6.
15899 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
15900 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
15901 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
15903 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
15905 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15906 something is a candidate for optimize_bit_field_compare.
15908 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
15910 * gcc.texi (Passes): Document branch-shortening.
15911 * invoke.texi (Debugging Options): Document the fact that `-dp'
15912 outputs length information for instructions.
15914 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
15916 * flow.c: Revert previous delta.
15918 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
15920 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
15921 FRAME_POINTER_REGNUM.
15922 (mark_set_1): Ditto.
15923 (mark_used_regs): Ditto.
15925 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
15927 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
15928 (GOT_PCREL): New macro. Define to 1 if not already defined.
15929 * arm/elf.h (GOT_PCREL): Define to 0.
15930 * arm.c (arm_finalize_pic): Take into account the setting of
15933 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
15935 * output.h (STRIP_NAME_ENCODING): Provide default definition.
15936 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
15938 * flow.c (mark_set_1): Do not record BLKmode stores as dead
15939 store elimination candidates.
15941 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
15943 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
15946 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
15948 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
15949 Add use of x-aix41-gld.
15951 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
15953 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
15954 (ASM_OUTPUT_DESTRUCTOR): Define.
15956 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
15958 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
15959 last CODE_LABEL in a loop if we have previously passed a jump
15960 to the top of the loop.
15962 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
15964 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
15965 applying Philip's patch.
15967 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
15969 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
15972 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
15974 * loop.c (strength_reduce): Grow reg_single_usage as needed.
15976 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
15978 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
15979 Also remove a useless comment.
15981 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
15983 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
15985 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
15987 * collect2.c (main): Only generate import or export file and add
15988 to link arguments if non-empty. Use xmalloc not alloca.
15989 (write_{export,import}_file): Delete.
15990 (write_aix_file): New function.
15991 (locatelib): Use xmalloc not malloc.
15992 (GCC_OK_SYMBOL): Do not check type if aix64.
15994 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
15996 Based on patch by Scott Bambrough and Pat Beirne:
15997 * config/arm/arm.c (making_const_table): New variable.
15998 * config/arm/arm.h (making_const_table): Declare.
15999 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
16001 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
16002 Keep track of when we are building the constant table.
16004 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
16006 * config/arm/arm.c (arm_override_options): Fix erroneous warning
16009 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
16011 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
16014 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
16016 * tm.texi (FUNCTION_ARG): Correct description of a stack element
16019 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
16021 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
16023 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16025 * rs6000.c (output_mi_thunk): Enable full support again.
16027 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16029 * sh.h (BRANCH_COST): Define.
16031 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
16033 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
16035 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
16037 * function.c (assign_stack_local): Align stack slot propertly.
16038 (assign_outer_stack_local): Likewise.
16040 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
16042 * expr.h (lang_expand_constant): Declare.
16043 * toplev.c (lang_expand_constant): Define it.
16044 * varasm.c (output_constant): Use it.
16046 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16048 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
16049 Change function definitions to K&R style.
16051 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16053 * fixinc/fixincl.c: We must not ignore SIGCLD now.
16055 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
16057 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
16058 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
16059 (several places): omit static initialization
16060 (process): use single fd, since only the read fd is used
16061 * fixinc/gnu-regex.c: define 'const' away, if not supported
16062 * fixinc/procopen.c(several places): omit static initialization
16063 * fixinc/server.c: define 'volitile' away, if not supported
16065 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16067 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
16068 asm_fprintf and %L to generate the label name.
16069 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
16070 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
16072 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
16074 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
16075 insn for a conditional jump can not be found.
16077 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
16079 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
16080 on variables in specific sections other than .sbss and .sdata.
16082 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
16084 * stmt.c (expand_return): Call start_cleanup_deferral and
16085 end_cleanup_deferral around conditional code.
16087 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16089 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
16090 filename lists. Utilizes new "krstr" AutoGen function.
16091 * fixinc/fixincl.x: Rebuilt.
16093 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
16095 * i386.c (output_float_compare): Avoid GNU-C extensions.
16097 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
16099 * version.c: Bump to distinguish mainline tree from the
16102 See ChangeLog.1 for earlier changes.