1 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
3 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
5 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7 * cppinit.c (cpp_handle_option): Recognize C++ comments under
9 * cpplib.c (skip_block_comment, skip_line_comment): Split code
11 (skip_comment) ... here. Permit C++ comments in system
12 headers always. Warn about C++ comments in user code under
14 (copy_comment): Use skip_comment.
15 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
17 (consider_directive_while_skipping, do_else, do_endif): Call
18 validate_else unconditionally.
19 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
20 text after the conditional in a system header.
21 * cpplib.h (struct cpp_buffer): Add flag
22 warned_cplusplus_comments.
24 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
26 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
27 Use unshare_all_rtl_1.
28 (unshare_all_rtl_again): New function.
29 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
31 * function.c (purge_addressof_1): Use unshare_all_rtl_again
32 rather than resetting the 'used' flags ourself.
34 * toplev.c (rest_of_compilation): Add current_function_decl
35 to the unshare_all_rtl call.
36 * tree.h: Prototype unshare_all_rtl.
37 * rtl.h: Prototype unshare_all_rtl_again here.
39 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
41 * genoutput.c (output_prologue): Include ggc.h in generated
43 * Makefile.in (insn-output.o): Depends on ggc.h.
45 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
46 Hans-Peter Nilsson <hp@bitrange.com>
48 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
49 Remove redundant include of xm-ns32k.h.
50 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
51 Remove redundant include of xm-ns32k.h.
52 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
53 Remove redundant include of xm-ns32k.h.
54 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
56 * ns32k/ns32k.h: Update comment on multiply-add instructions.
57 (TARGET_SWITCHES): Add documentation strings.
58 (DWARF_FRAME_REGNUM): Override default definition.
59 (REG_CLASS_CONTENTS): Add comments.
60 (SUBSET_P): Format to reduce line length.
61 (SMALL_REGISTER_CLASSES): Make a run time option.
62 (GO_IF_NONINDEXED_ADDRESS): Reformat.
63 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
64 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
65 (regclass_map): fix typo in comment.
66 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
67 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
68 (trace, reg_or_mem_operand): Delete, unused function.
69 (calc_address_cost): Small offsets are cheaper than large ones.
70 (expand_block_move): Generate more efficient code when bytes is a
71 known at compile time.
72 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
73 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
74 instead of reg_or_mem_operand. Use VOIDmode for load or push
77 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
78 not general_operand. Similarly use "=rm" or stricter, not "=g".
79 For input operands, use stricter constraints than "g" if not
80 general_operand. Similarly use stricter predicate than
81 "general_operand" when stricter constraints than "g" are present,
82 except for matching constraints.
83 (movstrsi): Use "memory_operand" for operands 0 and 1.
84 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
85 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
86 not reg_or_mem_operand.
87 (udivmoddisi4): Ditto.
88 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
89 Use nonimmediate_operand for operand 3, not register_operand.
90 (udivmoddiqi4_internal): Use register_operand for operand 1, not
93 2000-01-27 Fred Fish <fnf@be.com>
95 * gthr-posix.h: Fix typo; compatibily -> compatibility.
96 * gthr-single.h: Likewise.
97 * gthr-solaris.h: Likewise.
98 * gthr-vxworks.h: Likewise.
99 * gthr-win32.h: Likewise.
102 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
104 * cppinit.c: Add " (cpplib)" to end of string printed by
107 2000-01-27 Richard Henderson <rth@cygnus.com>
109 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
110 testing for a signed comparison.
111 (alpha_emit_floatuns): New.
112 * alpha-protos.h: Declare it.
113 * alpha.md (floatunsdisf2, floatunsdidf2): New.
116 2000-01-27 Jakub Jelinek <jakub@redhat.com>
118 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
119 no -g option specifying debugging format, default to -gstabs+.
121 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
123 * calls.c (special_function_p): New argument fork_or_exec.
124 (expand_call): When profile_arc_flag is set and the function
125 is in the fork_or_exec group, call __bb_fork_func first.
126 * libgcc2.c, _bb module (__bb_fork_func): New function.
127 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
129 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
130 * tree.h (special_function_p): Update prototype.
132 2000-01-26 Richard Henderson <rth@cygnus.com>
134 * alpha.c (alpha_split_tfmode_pair): New.
135 * alpha-protos.h: Declare it.
136 * alpha.md (abstf2, negtf2): New.
137 (movtf insn): Add input G constraint.
138 (movtf splitter): Use alpha_split_tfmode_pair.
140 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
142 * i386/cygwin.h: PROTO -> PARAMS.
144 2000-01-26 Jakub Jelinek <jakub@redhat.com>
146 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
147 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
148 using _Qp_cmp/_Q_cmp and testing the return value.
149 (print_operand): Call reverse_condition_maybe_unordered if
150 we are handling CCFPmode or CCFPEmode.
151 Handle ORDERED, UN* and LTGT comparisons.
152 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
153 if not TARGET_HARD_QUAD.
154 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
155 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
156 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
157 Adjust gen_b* calls so that they reflect return comparison of
158 sparc_emit_float_lib_cmp.
160 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
162 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
163 incoming operands array is large enough for one more operand.
164 (alpha_emit_xfloating_arith): Likewise.
166 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
168 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
169 file with one line and no trailing newline.
170 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
171 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
172 checking if the match is on the line.
173 * fixinc/gnu-regex.c: Provide regerror not __regerror.
175 2000-01-25 Richard Henderson <rth@cygnus.com>
177 * sparc.c (output_cbranch): Fix accidental squashing of the
178 fp branch pre-delay nop.
180 2000-01-25 Richard Henderson <rth@cygnus.com>
182 * tree.def (UNNE_EXPR): Remove.
183 * c-typeck.c (build_binary_op): Don't handle it.
184 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
186 * rtl.def (UNNE): Remove.
188 * jump.c (reverse_condition): Update accordingly.
189 (swap_condition): Likewise.
190 (comparison_dominates_p): Handle unordered comparisons.
191 (reverse_condition_maybe_unordered): New.
192 * rtl.h (reverse_condition_maybe_unordered): Declare.
194 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
195 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
196 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
197 * sparc.md (bltgt): New.
199 2000-01-25 Nick Clifton <nickc@redhat.com>
201 * emit-rtl.c (emit_insn): Only check machine class insns for
202 improper emission of a RETURN.
204 2000-01-25 Richard Henderson <rth@cygnus.com>
206 * Makefile.in (flow.o): Depend on $(EXPR_H).
207 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
208 duplicate the structure of diddle_return_value for keeping regs live.
210 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
212 * loop.c (current_loop_info): Delete.
213 (consec_sets_invariant_p): Add loop argument, update callers.
214 (get_condition_for_loop): Likewise.
215 (count_nonfixed_reads, update_giv_derive): Likewise.
216 (simplify_giv_expr, general_induction_var): Likewise.
217 (consec_sets_giv, recombine_givs): Likewise.
218 (move_movables): Delete loop_start and loop_end arguments,
219 add loop argument, and update callers.
220 (find_mem_givs, check_final_value): Likewise.
221 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
222 (loop_invariant_p): Rename from invariant_p, add loop argument, and
224 (basic_induction_var): Add loop argument, delete loop_level argument,
226 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
227 add loop argument, and update callers.
228 (find_splittable_regs, find_splittable_givs): Likewise.
229 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
230 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
231 (biv_total_increment): Delete loop_start and loop_end arguments;
233 (precondition_loop_p): Delete loop_start and loop_info arguments;
235 * loop.h (get_condition_for_loop): Add loop argument.
236 (biv_total_increment): Delete loop_start and loop_end arguments.
237 (precondition_loop_p): Delete loop_start and loop_info arguments;
239 (final_biv_value): Delete loop_start and loop_end arguments;
241 (final_giv_value, back_branch_in_range_p): Likewise.
243 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
245 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
247 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
249 * Makefile.in (c-gperf.h) : Change the "See" pointer to
250 point to the new "generated_files" doc.
252 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
254 * config/fp-bit.c (_unord_f2): Fix typo.
256 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
258 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
259 c-typeck.c, objc/objc-act.c: Remove all references to obstack
260 functions obsoleted by GC, such as push_obstacks_nochange,
261 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
262 and code which existed only to decide whether or not to call
263 them. Remove now-unused NESTED argument from start_function;
264 all callers changed. Do not change behavior based on ggc_p.
265 The use of the ixp_obstack in c-iterate.c and the util_obstack
266 in objc/objc-act.c remain; these are not obsoleted by garbage
268 * c-tree.h: Update prototype for start_function.
270 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
272 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
274 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
277 2000-01-25 Richard Henderson <rth@cygnus.com>
279 * sparc-protos.h (select_cc_mode): Declare.
280 * sparc.c (select_cc_mode): New. Handle unordered compares.
281 (output_cbranch): Always reverse via code change. Handle
282 unordered compares. Factor tests and string updates.
283 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
284 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
285 * sparc.md (bunordered, bordered): New.
286 (bungt, bunlt, buneq, bunge, bunle): New.
288 2000-01-25 Richard Henderson <rth@cygnus.com>
290 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
291 * ggc-common.c (ggc_add_rtx_varray_root): New.
292 (ggc_mark_rtx_varray): New.
293 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
294 functions down below ggc_mark_foo.
295 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
297 2000-01-25 Richard Henderson <rth@cygnus.com>
299 * alpha.c (secondary_reload_class): Don't allocate a secondary
300 for integral mode memories into FLOAT_REGS. Rearrange the more
301 complicated memory expression inward.
303 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
305 * inclhack.def: Fixes to play nicer with FreeBSD, and
306 corrections to comments.
307 (cxx_unready): Add select expression.
308 (irix_sockaddr): Add bypass expression.
309 (machine_ansi_h_va_list): New fix.
310 (stdio_va_list): No need to edit _BSD_VA_LIST_.
311 Split out addition of "#include <stdarg.h>" to...
312 (stdio_stdarg_h): ... here.
313 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
314 to stdlib.h also. Do not munge _BSD_SIZE_T_.
315 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
317 (ultrix_ifdef): Tighten up select expression.
319 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
320 re_ct and max_mach to avoid use of shell. Make printed names
321 match names in inclhack.def. Use static copyright date.
322 Don't count c_test and test expressions as requiring regex_t
323 slots. Add some commentary.
324 * inclhack.tpl: Do not include the 'This script contains N
325 fixup scripts' line if PROGRAM is defined. Use static
328 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
330 * dwarf2out.c: include "varray.h", not dyn-string.h.
331 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
332 (addr_const_to_string, addr_to_string): Lose.
333 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
334 (struct dw_val_struct): val_addr is now an rtx.
335 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
336 (used_rtx_varray): New varray.
337 (dwarf2out_init): Initialize it.
339 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
341 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
342 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
343 * Makefile.in (dwarf2out.o): Update dependencies.
345 2000-01-24 Richard Henderson <rth@cygnus.com>
347 * i386.c (i386_dwarf_output_addr_const): New.
348 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
350 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
352 * dwarfout.c (output_mem_loc_descriptor): Likewise.
353 * i386.c (i386_simplify_dwarf_addr): New.
354 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
356 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
358 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
359 TYPE_STUB_DECL is NULL.
361 2000-01-24 Richard Henderson <rth@cygnus.com>
363 * builtins.c (expand_tree_builtin): Move ...
364 * c-common.c (expand_tree_builtin): ... here.
366 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
368 * loop.h (LOOP_INFO): New accessor macro.
369 * basic-block.h (struct loop): Rename field `info' to `aux'.
370 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
371 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
372 * unroll.c (loop_iterations, unroll_loop): Likewise.
374 2000-01-24 Christopher Faylor <cgf@cygnus.com>
376 * config/i386/t-cygwin: Accomodate new winsup directory layout
377 when searching for include files.
379 2000-01-24 Richard Henderson <rth@cygnus.com>
381 * rtl.def: Add unordered fp comparisions.
382 * tree.def: Likewise.
383 * tree.h: Add ISO C 9x unordered fp comparision builtins.
385 * builtins.c (expand_tree_builtin): New function.
386 * c-typeck.c (build_function_call): Use it.
387 (build_binary_op): Support unordered compares.
388 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
390 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
391 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
392 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
393 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
394 * jump.c (reverse_condition): Don't abort for UNLE etc, but
396 (swap_condition): Handle unordered compares.
397 (thread_jumps): Check can_reverse before reversing.
398 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
401 * optabs.c (can_compare_p): New argument CODE. Verify branch or
402 setcc is present before acking for cmp_optab. Update all callers.
403 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
404 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
405 * expr.c (expand_expr): Likewise. Support unordered compares.
406 (do_jump, do_store_flag): Likewise.
407 * expr.h (enum libfunc_index): Add unordered compares.
409 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
410 (DPBIT_FUNCS): Add _unord_df.
411 * config/fp-bit.c (_unord_f2): New.
412 * fp-test.c (main): Try unordered compare builtins.
414 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
415 * alpha.c (alpha_comparison_operator): Check mode properly.
416 (alpha_swapped_comparison_operator): Likewise.
417 (signed_comparison_operator): Likewise.
418 (alpha_fp_comparison_operator): New.
419 (alpha_emit_conditional_branch): Handle unordered compares.
420 * alpha.h (PREDICATE_CODES): Update.
421 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
422 (bunordered, bordered): New.
424 2000-01-24 Richard Henderson <rth@cygnus.com>
426 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
427 * alpha.md (movtf): New expander, insn, and splitter.
429 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
431 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
434 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
436 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
437 (FIXED_REGISTERS, CALL_USED_REGISTERS,
438 REG_ALLOC_ORDER): Add frame pointer
439 (FRAME_POINTER_REGNUM): Set to 20
440 (HARD_FRAME_POINTER_REGNUM): New macro.
441 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
442 to HARD_FRAME_POINTER.
443 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
444 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
445 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
446 (HI_REGISTER_NAMES): Add "frame".
447 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
448 (debug_reg): Handle FRAME_POINTER_REGNUM.
449 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
450 GENERAL_REGS and INDEX_REGS.
451 * i386.c (SAVED_REGS_FIRST): new macro.
452 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
453 (ix86_decompose_address, memory_address_length): Likewise.
454 (regclass_map): Add frame pointer.
455 (call_insn_operand): Handle frame_pointer_rtx.
456 (reg_no_sp_operand): Likewise.
457 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
458 (print_operand, legitimize_pic_address): Fix formating.
459 (ix86_compute_frame_size): Make static, update prototype, new
460 parameters padding1, padding2, use ix86_nsaved_regs, use
461 stack_alignment_needed.
462 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
463 to HARD_FRAME_POINTER_REGNUM conversions.
464 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
465 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
466 (print_reg): Abort on FRAME_POINTER_REGNUM
468 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
470 * i386.h (PREDICATE_CODES): Add aligned_operand.
471 * i386.c (aligned_operand): New function.
472 (ix86_aligned_p): Kill.
473 * i386.md (movhi_1): Emit mov for aligned operands.
474 (promoting peep2s): Use aligned_operand.
476 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
478 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
479 expression to allow underscores in macro names.
480 (fix_char_macro_defines): Increment scanning pointer.
482 2000-01-23 Richard Henderson <rth@cygnus.com>
484 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
485 * alpha/osf5.h: New file.
486 * configure.in (alpha-*-osf5): Add it to tm_file.
488 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
490 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
491 (alpha_emit_xfloating_cvt, function_arg): Declare.
492 * alpha.c (alpha_emit_conditional_branch): Call
493 alpha_emit_xfloating_compare for TFmode compares.
494 (alpha_lookup_xfloating_lib_func): New.
495 (alpha_compute_xfloating_mode_arg): New.
496 (alpha_emit_xfloating_libcall): New.
497 (alpha_emit_xfloating_arith): New.
498 (alpha_emit_xfloating_compare): New.
499 (alpha_emit_xfloating_cvt): New.
500 (print_operand): Add default abort case.
501 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
502 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
503 (BIGGEST_ALIGNMENT): Increase to 128 bits.
504 (RETURN_IN_MEMORY): True for TF/TCmode.
505 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
506 (FUNCTION_ARG): Move to function_arg.
507 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
508 (ASM_OUTPUT_LONG_DOUBLE): New.
509 (ASM_OUTPUT_DOUBLE): Always output bits.
510 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
511 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
512 (extenddftf2, trunctfdf2): New.
514 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
516 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
517 * config/sparc/sol2.h: ... here.
519 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
521 * basic-block.h (struct loops): New field `levels'.
522 * flow.c (flow_loops_level_compute): Traverse all outer loops.
523 (flow_loop_level_compute): Initialise level to 1.
524 (flow_loops_find): Set loops->levels.
525 (flow_loops_dump): Print loops->levels.
527 2000-01-23 Richard Henderson <rth@cygnus.com>
529 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
530 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
532 2000-01-23 Richard Henderson <rth@cygnus.com>
534 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
535 * i386.h (DBX_REGISTER_NUMBER): Use them.
536 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
537 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
538 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
539 * i386/sequent.h: Kill incorrect comment.
541 2000-01-23 Mark Mitchell <mark@codesourcery.com>
543 * ggc-page.c (struct page_entry): Make `context_depth' an
545 (struct globals): Likewise.
547 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
549 * loop.c (check_dbra_loop): When checking a loop for
550 reversability, check the source of any stores to ensure
551 they don't depend on an initial value.
553 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
555 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
557 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
559 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
560 'pz_scan' into scope of entire function. Only affects
561 compiles with -DDEBUG.
563 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
565 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
566 section naming to that prior to 2000-01-07 patch.
567 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
568 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
569 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
570 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
571 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
573 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
575 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
578 2000-01-21 Jim Wilson <wilson@cygnus.com>
580 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
581 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
583 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
585 * cpphash.c (change_newlines): Delete function.
586 (struct argdata): Delete 'newlines' and 'use_count' fields.
587 (macroexpand): Remove code referencing those fields.
589 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
591 * loop.c (loops_info): New variable.
592 (loop_optimize): Allocate loops->array and free it on exit.
593 Allocate memory for loops_info and assign to each loop,
595 (find_and_verify_loops): Do not allocate loops->array.
597 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
599 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
601 2000-01-21 Jakub Jelinek <jakub@redhat.com>
603 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
604 pseudos if expanded after first flow.
605 (movdi_pic_label_ref): Likewise.
607 2000-01-20 Richard Henderson <rth@cygnus.com>
609 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
611 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
613 * Makefile.in (fixinc.sh): Depend on specs.
614 * fixinc/Makefile.in: Add rule to create machname.h.
615 (fixlib.o): Depend on machname.h.
616 * fixinc/fixtests.c (machine_name): New test.
617 * fixinc/fixfixes.c (machine_name): New fix.
618 * fixinc/fixlib.c (mn_get_regexps): New helper function for
619 the machine_name test and fix.
620 * fixinc/fixlib.h: Prototype it.
621 * fixinc/inclhack.def (machine_name): Use the C test and fix.
622 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
624 * gcc.c (do_spec_1) [case P]: Take care not to create
625 identifiers with three leading or trailing underscores.
627 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
628 (fixincl): Don't specify libraries twice on link line.
629 (gnu-regex.o): Remove special rule.
630 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
631 defined by config.h. Do not define _REGEX_RE_COMP.
632 (regcomp): Allocate and initialize a fastmap.
633 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
635 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
637 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
639 2000-01-19 Richard Henderson <rth@cygnus.com>
641 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
642 arguments with BB. Update all callers. Tidy line wrapping.
644 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
646 * emit-rtl.c (try_split): Return last_insn if we split the
649 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
651 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
652 (ix86_initial_elimination_offset): Declare.
653 * i386.c (ix86_nsaved_regs): Break out from ...
654 (ix86_can_use_return_insn_p): ... here.
655 (ix86_emit_save_regs): Break out from ...
656 (ix86_expand_prologue): ... here.
657 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
659 (ix86_expand_epilogue): ... here.
660 (ix86_compute_frame_size): Make static, add prototype.
661 (ix86_initial_elimination_offset): Break out from ...
662 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
664 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
666 * recog.h (OUT_FCN): Delete.
668 * vax.md: Call `get_insn_template' instead of OUT_FCN.
670 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
672 * cppalloc.c: PROTO -> PARAMS.
673 * cpperror.c: Likewise.
674 * cppfiles.c: Likewise.
675 * cpplib.c: Likewise.
676 * cpplib.h: Likewise.
678 * config/arm/arm-protos.h: PROTO -> PARAMS.
679 * config/arm/arm.c: Likewise.
680 * config/c4x/c4x.c: Likewise.
681 * config/fr30/fr30-protos.h: Likewise.
682 * config/nextstep.c: Likewise.
683 * config/pa/pa.c: Likewise.
684 * config/pj/pj.c: Likewise.
685 * config/rs6000/rs6000.c: Likewise.
686 * config/v850/v850-protos.h: Likewise.
687 * config/v850/v850.c: Likewise.
689 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
691 * i370-protos.h: New file.
693 * i370.c: Include tm_p.h. Fix compile time warnings.
695 * i370.h: Move prototypes to i370-protos.h. Fix compile time
700 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
702 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
703 (target_isinf, target_isnan, eisnan): Mark parameter with
705 (eiisinf): Wrap in INFINITY.
706 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
707 (ibmtoe): Remove unused variable `rndsav'.
709 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
711 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
712 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
714 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
716 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
717 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
718 (fix_char_macro_defines, fix_char_macro_uses): New functions.
720 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
721 Recognize Emacs mode markers also.
722 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
723 C++ comments in C++ headers. Call is_cxx_header only if
726 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
728 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
729 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
730 ... these, which use the new C fixes.
731 (math_exception): Escape literal '+' in bypass expression.
733 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
736 2000-01-19 Geoff Keating <geoffk@cygnus.com>
738 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
741 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
743 * loop.c (loop_optimize): Allocate loop_info structure for each loop
744 prior to calling scan_loop.
746 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
748 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
749 (split_branches, calc_live_regs): Likewise.
751 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
753 * sh.md (fpu_single, fp_mode): New attributes.
755 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
757 * loop.c (current_loop_info): Renamed from loop_info_data
758 and changed to a pointer.
759 (loop_optimize): Allocate loop_info structure for each loop
760 and initialise to zero.
761 (scan_loop): Set current_loop_info.
763 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
766 2000-01-19 Richard Henderson <rth@cygnus.com>
768 * stupid.c: Die die die.
769 * Makefile.in (OBJS): Remove stupid.o.
770 (stupid.o): Likewise.
772 * except.c (emit_eh_context): Don't emit USEs for stupid.
773 * explow.c (probe_stack_range): Likewise.
774 * flags.h (obey_regdecls): Remove.
775 * flow.c (find_basic_blocks): Don't run try_merge_blocks
777 (life_analysis): Limit data collection when not optimizing.
778 (mark_regs_live_at_end): Always mark the return value registers.
779 (mark_used_regs): Remove dummy RETURN case.
780 (print_rtl_with_bb): Don't consult obey_regdecls.
781 * function.c (use_variable, use_variable_after): Remove.
782 (assign_parms): Consult optimize not obey_regdecls.
783 (expand_function_start): Don't emit USEs for stupid.
784 (expand_function_end): Likewise.
785 * global.c (build_insn_chain): Export.
786 * integrate.c (expand_inline_function): Kill return-value USE
788 * jump.c (jump_optimize_1): Do simple jump optimizations and
789 dead code elimination.
790 (calculate_can_reach_end): Remove check_deleted argument.
791 (delete_insn): Patch out insns even when not optimizing.
792 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
793 * rtl.h (use_variable, use_variable_after): Remove declarations.
794 (build_insn_chain): Declare.
795 * stmt.c (expand_value_return): Don't emit USEs for stupid.
796 (expand_end_bindings): Likewise.
797 (expand_decl): Likewise. Consult optimize not obey_regdecls.
798 * toplev.c (obey_regdecls): Remove.
799 (rest_of_compilation): Don't set it. Kill stupid in favour of
800 flow1, local-alloc, and reload.
801 (main): Don't set obey_regdecls.
803 * config/nextstep.c (handle_pragma): Likewise.
805 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
807 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
809 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
811 * alpha-protos.h: PROTO -> PARAMS.
815 * i386-protos.h: Likewise.
817 * m32r-protos.h: Likewise.
821 * gmon-sol2.c: Likewise.
824 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
826 * ns32k-protos.h: New file.
828 * ns32k.c: Fix compile time warnings.
830 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
833 * ns32k.md: Likewise.
835 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
837 * vax-protos.h: New file.
839 * vax.c: Fix compile time warnings.
841 * vax.h: Move prototypes to vax-protos.h. Fix compile time
848 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
850 * romp-protos.h: New file.
852 * romp.c: Fix compile time warnings.
854 * romp.h: Move prototypes to romp-protos.h. Fix compile time
859 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
861 * we32k-protos.h: New file.
863 * we32k.c: Fix compile time warnings.
865 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
868 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
870 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
872 * except.c (eh_regs): Likewise.
874 * final.c (output_operand): Likewise.
876 * fold-const.c (target_isinf, target_isnan): Likewise.
878 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
880 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
881 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
883 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
886 (strsethi, strsetqi): New expanders.
887 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
888 (cmpstrsi): Emit compare insn before cmpstrsi_1
889 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
890 (strlensi_1): Likewise.
891 (cmpstrsi_1): Likewise; do not output compare.
892 (strlen expander): Do not unroll when optimizing for size.
893 (*subsi3_carry): Rename to subsi3_carry
894 (addqi3_cc): New pattern.
895 * i386.h (processor_costs): Add move_ratio field.
896 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
897 * i386.c (*_cost): Set move_ratio.
898 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
899 (x86_expand_strlensi_1): Rewrite the main loop.
901 2000-01-17 Richard Henderson <rth@cygnus.com>
903 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
904 * cse.c (find_comparison_args, fold_rtx): Likewise.
905 * integrate.c (subst_constants): Likewise.
906 * loop.c (get_condition): Likewise.
908 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
910 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
912 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
914 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
915 (RESTORE_WARN_FLAGS): Unpack it.
916 Change semantic type of extension to ttype.
917 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
918 * c-parse.y, c-parse.c, objc/objc-parse.y,
919 objc/objc-parse.c: Regenerate.
921 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
923 * fixinc/fixlib.c: Add copyright notice.
924 (compile_re): New function.
925 * fixinc/fixlib.h: Prototype compile_re.
927 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
928 Use compile_re to compile regular expressions.
930 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
931 where the pattern matched.
933 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
935 (ultrix_ansi_compat): Likewise.
936 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
938 (interactv_add2, interactv_add3): Delete.
939 (x11_sprintf): Don't use filename glob.
940 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
943 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
945 * print-rtl.c: PROTO -> PARAMS.
947 * reg-stack.c: Likewise.
948 * resource.c: Likewise.
949 * sdbout.h: Likewise.
950 * simplify-rtx.c: Likewise.
951 * stor-layout.c: Likewise.
952 * stupid.c: Likewise.
953 * xcoffout.c: Likewise.
954 * xcoffout.h: Likewise.
956 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
958 * toplev.c: PROTO -> PARAMS.
959 * toplev.h: Likewise.
962 * unroll.c: Likewise.
963 * varasm.c: Likewise.
964 * varray.c: Likewise.
965 * varray.h: Likewise.
967 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
969 * reload.c: PROTO -> PARAMS.
970 * reload.h: Likewise.
971 * reload1.c: Likewise.
973 * resource.h: Likewise.
976 * rtlanal.c: Likewise.
977 * sbitmap.h: Likewise.
978 * sdbout.c: Likewise.
981 * system.h: Likewise.
983 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
985 * machmode.h: PROTO -> PARAMS.
986 * mbchar.h: Likewise.
987 * mips-tdump.c: Likewise.
988 * mips-tfile.c: Likewise.
989 * optabs.c: Likewise.
990 * output.h: Likewise.
991 * prefix.c: Likewise.
992 * profile.c: Likewise.
993 * protoize.c: Likewise.
997 * regclass.c: Likewise.
998 * regmove.c: Likewise.
1001 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1003 * ggc-common.c: PROTO -> PARAMS.
1004 * ggc-page.c: Likewise.
1005 * ggc-simple.c: Likewise.
1007 * global.c: Likewise.
1008 * graph.c: Likewise.
1009 * gthr-win32.h: Likewise.
1010 * haifa-sched.c: Likewise.
1011 * halfpic.h: Likewise.
1012 * integrate.c: Likewise.
1013 * integrate.h: Likewise.
1016 * local-alloc.c: Likewise.
1020 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1022 * genattr.c: PROTO -> PARAMS.
1023 * genattrtab.c: Likewise.
1024 * gencheck.c: Likewise.
1025 * gencodes.c: Likewise.
1026 * genconfig.c: Likewise.
1027 * genemit.c: Likewise.
1028 * genextract.c: Likewise.
1029 * genflags.c: Likewise.
1030 * gengenrtl.c: Likewise.
1031 * genopinit.c: Likewise.
1032 * genoutput.c: Likewise.
1033 * genpeep.c: Likewise.
1034 * genrecog.c: Likewise.
1036 2000-01-16 Mark Mitchell <mark@codesourcery.com>
1038 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
1040 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1042 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
1043 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
1044 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
1045 * configure, config.in: Rebuilt.
1047 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
1049 * config/i386/i386.md: Add peephole to merge successive stack
1052 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
1054 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
1055 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
1056 when walking backwards to find all the parameter loads when
1057 the basic block ends in a call.
1059 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1061 * loop.c (this_loop_info): Delete.
1062 (uid_loop): Add in place of uid_loop_num. All uses updated.
1063 (loop_number_exit_count): Delete and replace with entry in loop
1064 structure. All uses updated.
1065 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1066 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1067 (loop_outer_loop): Likewise.
1068 (loop_invalid, loop_number_exit_labels): Likewise.
1069 (loop_used_count_register): Delete and replace with entry in
1070 loop_info structure.
1071 (find_and_verify_loops): Add loops argument.
1072 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
1073 loop_end, etc. arguments with loop structure pointer. All callers
1075 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
1076 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
1077 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
1078 (insert_bct): Likewise.
1079 (basic_induction_var): New argument level.
1080 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
1081 vtop, and cont. Add used_count_register.
1082 (uid_loop): Delete declaration.
1083 (loop_number_exit_count): Likewise.
1084 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1085 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1086 (loop_outer_loop, loop_used_count_register): Likewise.
1087 (loop_invalid, loop_number_exit_labels): Likewise.
1088 (unroll_loop): Replace loop_start and loop_end arguments
1089 with loop structure pointer.
1090 (loop_precondition_p, loop_iterations): Likewise.
1091 Include basic-block.h.
1092 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
1093 with loop structure pointer.
1094 (loop_precondition_p, loop_iterations): Likewise.
1095 * basic-block.h (struct loop): New entries vtop, cont,
1096 cont_dominator, start, end, top, scan_start, exit_labels,
1098 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
1100 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1102 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
1104 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
1106 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
1108 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1110 * pdp11-protos.h: New file.
1112 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
1115 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
1118 * pdp11.md: Likewise.
1122 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1124 * mn10300-protos.h: New file.
1126 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
1129 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
1132 * mn10300.md: Likewise.
1134 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1136 * mn10200-protos.h: New file.
1138 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
1141 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
1144 * mn10200.md: Likewise.
1146 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1148 * h8300-protos.h: New file.
1150 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
1153 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
1156 * h8300.md: Likewise.
1158 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1160 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
1161 (asm_emit_uninitialised): Likewise.
1163 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
1165 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
1166 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
1168 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1170 * config/mips/mips.c (override_options): Don't turn on extra
1171 alignment for mips16.
1173 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1175 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
1176 eabi, and make sure queued POSTINCREMENT rtl is emitted at
1179 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1181 * builtins.c (PAD_VARARGS_DOWN): Define.
1182 (std_expand_builtin_va_arg): Use the above macro.
1183 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
1184 * tm.texi (Register Arguments): Document the above macro.
1186 2000-01-14 Nick Clifton <nickc@cygnus.com>
1188 * emit-rtl.c (emit_insn): If checking is enabled, make sure
1189 that this function has not been used to emit a jump
1192 * jump.c (return_jump_1): Cope with being passed a null rtx.
1194 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1196 * eh-common.h: PROTO -> PARAMS.
1197 * emit-rtl.c: Likewise.
1198 * errors.c: Likewise.
1199 * errors.h: Likewise.
1200 * except.c: Likewise.
1201 * except.h: Likewise.
1202 * explow.c: Likewise.
1203 * expmed.c: Likewise.
1206 * final.c: Likewise.
1207 * fix-header.c: Likewise.
1209 * fold-const.c: Likewise.
1210 * function.c: Likewise.
1211 * function.h: Likewise.
1213 * gcov-io.h: Likewise.
1217 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1219 * sh-protos.h: New file.
1221 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
1222 Add static prototypes. Fix compile time warnings.
1224 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
1228 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1230 * arc-protos.h: New file.
1232 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
1235 * arc.h: Move prototypes to arc-protos.h. Fix compile time
1240 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1242 * dsp16xx-protos.h: New file.
1244 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
1247 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
1250 * dsp16xx.md: Likewise.
1252 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1254 * convex-protos.h: New file.
1256 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
1259 * convex.h: Move prototypes to convex-protos.h. Fix compile time
1262 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1264 * elxsi-protos.h: New file.
1266 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
1269 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
1272 * elxsi.md: Likewise.
1274 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1276 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
1277 case for moving from HI/LO/HI_LO_REG. This makes the behavior
1278 match the comment for MIPS16.
1280 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
1282 * flow.c (split_edge): Do not call set_block_for_insn if we
1283 do not have a basic_block_for_insn structure.
1285 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
1286 and destination functions are 32bit aligned within the trampoline.
1287 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
1288 (TRAMPOLINE_ALIGNMENT): Define.
1290 * cse.c (cse_insn): When changing (set (pc) (reg)) to
1291 (set (pc) (label_ref)), verify the change creates a valid insn.
1293 * fr30.c (call_operand): Tighten and rework to match rules for
1294 call RTL expressions.
1295 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
1296 * fr30.md (call patterns): Improve constraints.
1298 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
1300 * fr30.c (fr30_expand_epilogue): Revert last change.
1301 Use emit_jump_insn for the return insn.
1303 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
1304 Stan Cox <scox@cygnus.com>
1306 * predict.c: New file. Preliminary infrastructure work for static
1307 branch prediction and basic block reordering.
1308 * basic-block.h: Add prototype for estimate_probability.
1309 * Makefile.in: Add rules for predict.o.
1311 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
1313 * fixincludes (va_list): Use __not_va_list__ for the dummy.
1314 * fixinc/*: Likewise.
1316 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1318 * cccp.c: PROTO -> PARAMS.
1320 * collect2.c: Likewise.
1321 * combine.c: Likewise.
1322 * convert.h: Likewise.
1324 * dbxout.c: Likewise.
1325 * dbxout.h: Likewise.
1326 * diagnostic.c: Likewise.
1327 * doprint.c: Likewise.
1328 * dwarf2out.c: Likewise.
1329 * dwarf2out.h: Likewise.
1330 * dwarfout.c: Likewise.
1331 * dwarfout.h: Likewise.
1332 * dyn-string.h: Likewise.
1334 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1336 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
1337 macro conditionals guarding use.
1339 * dwarf2out.c: Include "tm_p.h".
1341 * function.c (locate_and_pad_parm): Mark parameter with
1343 (expand_function_end): Likewise for variable `context'.
1345 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
1347 2000-01-13 Nick Clifton <nickc@cygnus.com>
1349 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
1350 register to prevent compile time warnings.
1352 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
1354 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
1355 to avoid -Wtraditional warning.
1357 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1359 * 1750a-protos.h: New file.
1361 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
1364 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
1367 * 1750a.md: Likewise.
1369 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1371 * a29k-protos.h: New file.
1373 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
1376 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
1379 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1381 * clipper-protos.h: New file.
1383 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
1386 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
1389 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1391 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
1393 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
1395 * configure.in (--enable-new-gxx-abi): New option.
1396 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
1397 * Makefile.in (GXX_ABI_FLAG): New variable.
1398 * configure: Regenerate.
1400 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1402 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
1403 * tm.texi (FORCE_STRUCT_BLK): Document.
1404 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
1406 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
1408 * config/ns32k/ns32k.md: Revert Jan 9 change.
1410 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
1411 to a mode-test, if the predicate is address_operand.
1413 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
1415 * combine.c (if_then_else_cond): Be careful about what kinds
1416 of RTL expressions are passed to operand_subword.
1418 * flow.c (split_edge): If we have to insert a new jump, make
1419 sure to associate it with a basic block.
1421 * flow.c (commit_one_edge_insertion): A block with one successor
1422 can end in a JUMP_INSN that is not a simplejump.
1424 2000-01-12 Robert Lipe <robertl@sco.com>
1426 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
1427 (BUILD_VA_LIST_TYPE): Define.
1428 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
1431 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
1433 * cccp.c (do_pragma): Add cast to (char *).
1435 2000-01-12 Richard Henderson <rth@cygnus.com>
1436 Fred Fish <fnf@be.com>
1437 Jason Merrill <jason@cygnus.com>
1439 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
1440 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
1441 * i386/beos-elf.h, i386/beos-pe.h: New files.
1443 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
1444 * cross-make (SYSTEM_HEADER_DIR): Define using
1445 CROSS_SYSTEM_HEADER_DIR.
1447 * gcc.c (LIBRARY_PATH_ENV): Provide default.
1448 (process_command): Use it.
1449 (main): Likewise. Kill trailing = from env vars.
1450 (build_search_list): Put it back.
1451 * collect2.c (main): Use LIBRARY_PATH_ENV.
1453 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
1454 * toplev.c: Use NEED_DECLARATION_ENVIRON.
1456 * tm.texi (Frame Layout): Document SMALL_STACK.
1457 * c-common.c (c_common_nodes_and_builtins): Check it.
1459 * system.h: Undef alloca after including glibc's <stdlib.h>,
1460 if USE_C_ALLOCA is defined.
1462 * gcc.c (set_input): New fn.
1463 (main): After all input files are compiled, reset the input file
1466 * aclocal.m4 (rindex, index): If already defined, don't attempt
1469 * ginclude/varargs.h: (__va_list__): Define ifndef.
1470 * ginclude/stdarg.h: Likewise.
1472 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
1473 instead of unsigned char.
1475 * hash.h (true, false, boolean): Undef before enum.
1477 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
1478 proper type of "HOST_WIDE_INT *", rather than their natural type of
1479 "unsigned HOST_WIDE_INT *".
1481 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1483 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
1485 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
1487 * regclass.c (choose_hard_reg_mode): Likewise.
1489 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
1491 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
1493 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1495 * c-common.c: PROTO -> PARAMS.
1496 * c-common.h: Likewise.
1497 * c-decl.c: Likewise.
1498 * c-iterate.c: Likewise.
1499 * c-lang.c: Likewise.
1500 * c-lex.c: Likewise.
1501 * c-lex.h: Likewise.
1502 * c-parse.in: Likewise.
1503 * c-pragma.c: Likewise.
1504 * c-pragma.h: Likewise.
1505 * c-tree.h: Likewise.
1506 * c-typeck.c: Likewise.
1507 * objc/objc-act.c: Likewise.
1508 * objc/objc-act.h: Likewise.
1510 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1512 * m88k-protos.h: New file.
1514 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
1517 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
1519 * m88k.md: Likewise.
1521 * tekXD88.h: Likewise.
1523 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1525 * m68k-protos.h: New file.
1527 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
1530 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
1532 * mot3300.h: Likewise.
1534 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
1536 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
1538 (extract_bitlist): Declare bitlen.
1540 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
1542 * cccp.c: Accept and ignore -lang-fortran.
1544 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
1545 qualifiers don't match at any level of pointerness.
1547 2000-01-12 Robert Lipe <robertl@sco.com>
1549 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
1551 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
1553 * reload1.c (reload_reg_unavailable): New static variable.
1554 (reload_reg_free_p): Test it.
1555 (reload_reg_free_for_value_p): Test it instead of
1557 (choose_reload_regs_init): Compute it.
1559 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
1561 * reorg.c (fill_slots_from_thread): Check modified_in_p
1564 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
1566 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
1567 these nodes even if INTERNALS is not set.
1569 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
1571 * gcse.c (delete_null_pointer_checks_1): Cope when
1572 get_condition cannot determine the condition.
1574 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
1576 * toplev.h (set_message_length): Declare.
1578 * diagnostic.c (obstack_chunk_alloc): Define macro.
1579 (obstack_chunk_free): Likewise.
1580 (struct output_buffer): New data structure.
1582 (output_maximum_width): New variable.
1583 (doing_line_wrapping, set_message_length, init_output_buffer,
1584 get_output_prefix, output_space_left, emit_output_prefix,
1585 output_newline, output_append, output_puts, dump_output,
1586 vbuild_message_string, build_message_string, build_location_prefix,
1587 voutput_notice, output_printf, line_wrapper_printf,
1588 vline_wrapper_message_with_location): New functions. Implement
1589 automatic line wrapping.
1590 (v_message_with_decl): Make it handle automatic line wrapping.
1591 (v_error_with_file_and_line): Likewise.
1592 (v_warning_with_file_and_line): Likewise.
1593 (announce_function): Likewise.
1594 (default_print_error_function): Likewise.
1596 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
1598 * cpplib.h (struct cpp_options): Change lang_asm to char.
1600 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
1601 done in cpp_handle_option now.
1602 (initialize_builtins): Take out special case code used only by
1604 (cpp_handle_option): Turn off trigraphs and trigraph warnings
1605 if -traditional. Recognize -lang-fortran and set
1606 lang_fortran, also turn off cplusplus_comments.
1607 (print_help): Document -lang-fortran.
1608 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
1609 lang_asm. Ignore all directives other than `# 123 "file"' if
1611 (cpp_get_token): If -traditional, don't recognize directives
1612 unless the # is in column 1.
1613 (parse_string): If lang_fortran or lang_asm, silently
1614 terminate strings ('' or "") at end of line.
1615 Remove unnecessary braces.
1617 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1618 Richard Henderson <rth@cygnus.com>
1620 * resource.c (mark_referenced_resources): Mark a set strict_low_part
1622 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
1623 strict_low_part when possible.
1625 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1627 * alias.c: PROTO -> PARAMS.
1628 * basic-block.h: Likewise.
1629 * bitmap.c: Likewise.
1630 * bitmap.h: Likewise.
1631 * builtins.c: Likewise.
1632 * c-aux-info.c: Likewise.
1633 * caller-save.c: Likewise.
1634 * calls.c: Likewise.
1636 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1638 * Makefile.in (toplev.o): Depend on regs.h.
1640 * output.h (tdesc_section): Prototype.
1642 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
1644 * sdbout.c: Include "tm_p.h".
1646 * toplev.c: Include "regs.h".
1648 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
1650 * unroll.c (unroll_loop): Add EH support.
1652 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1654 * pa-protos.h: New file.
1656 * pa.c: Include recog.h and tm_p.h.
1657 (compute_zdepwi_operands, compute_movstrsi_length,
1658 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
1659 find_addr_reg, import_milli): Add static prototypes.
1660 (pa_cpu_string, pa_arch_string): Constify a char*.
1661 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
1662 (read_only_operand): Add argument `mode'.
1663 (singlemove_string, output_move_double, output_fp_move_double,
1664 output_block_move, output_and, output_ior, output_ascii,
1665 remove_useless_addtr_insns, milli_names, output_mul_insn,
1666 output_div_insn, output_mod_insn, output_arg_descriptor,
1667 output_cbranch, output_bb, output_bvb, output_dbra, ,
1668 output_millicode_call, output_call, hppa_encode_label,
1669 output_parallel_movb, output_parallel_addb): Constify a char*.
1670 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
1671 (output_parallel_addb): Remove extra arg to `constrain_operands'
1673 * pa.h: Move all prototypes to pa-protos.h.
1674 (pa_cpu_string, pa_arch_string): Constify a char*.
1675 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
1677 * pa.md: Call `function_label_operand' with mode argument.
1678 Likewise for `read_only_operand'.
1679 Fix nesting of parens in call to `symbolic_operand'.
1681 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1683 * i860-protos.h: New file.
1685 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
1688 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
1690 * i860.md: Likewise.
1692 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
1694 * i386.md (movstrsi expander): Rewrite.
1695 (movstrsi_1 insn): Deleted.
1696 (strmovhi, strmovqi expander): New expanders.
1697 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
1698 * i386.c (x86_single_stringop): New global variable.
1699 * i386.h (x86_single_stringop): Declare.
1700 (TARGET_SINGLE_STRINGOP): New macro.
1702 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
1704 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
1705 integer vararg POSTINCREMENT before the destination of the jump
1706 for the hard fp case.
1707 (function_arg_pass_by_reference): Pass a copy of CUM to
1710 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
1711 for CONSTANT_ADDRESS_P above while loop for subreg.
1713 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
1715 * flow.c (propagate_block): When a prologue/epilogue insn
1716 is marked dead, unconditionally clear libcall_is_dead and
1717 insn_is_dead, and only dump rtl if warnings aren't being
1720 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
1722 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
1723 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
1724 (FIXED_REGISTERS): Set dirflag as fixed.
1725 (CALL_USED_REGISTERS): Set dirflag as used.
1726 (REG_ALLOC_ORDER): Set dirflag as last one.
1727 (DIRFLAG_REG): New macro.
1728 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
1729 (HI_REGISTER_NAMES): Add dirflag.
1730 (DEBUF_PRINT_REG): Handle dirflag.
1731 * i386.md (type attribute): New cld and str types.
1732 (length_opcode attribute): Set cld and str to 1.
1733 (memory attribute): Set str to unknown - it is not clear from the
1735 (pent_np function unit): Prefixed string operations takes 12 cycles
1736 minimally; cld takes 2 cycles.
1737 (ppro_uops attribute): Str is "many" and cld is "few".
1738 (ppro_p0 unit): Handle cld here.
1739 (k6_alux unit): Handle cld and str types.
1740 (k6_load unit): It is ocupied by str opcodes.
1741 (k6_store unit): It is ocupied by str opcodes.
1742 (athlon_decode): Str is vector decoded.
1743 (athlon_ieu): Handle str and cld.
1745 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
1746 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
1747 cmpstrsi_nz_1 insn): Do not output cld instruction
1749 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
1751 * gcc.texi (G++ and GCC): Add Java and Chill.
1752 (Bug Critera): Don't list languages.
1754 * gcc.texi (Incompatibilities): No longer claim most C compilers
1757 * gcc.texi (G++ and GCC): Update other front-ends list.
1759 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
1761 * i386.c (ix86_expand_setcc): Fix typo.
1762 (ix86_expand_movcc): Similarly.
1764 * Band-aid until haifa's bitset implementation is nuked.
1765 * haifa-sched.c (extract_bitlst): New parameter for size of the
1766 bitset in bits. All callers changed. Avoid looking at undefined
1768 (edgeset_bitsize): New variable.
1769 (schedule_region): Initialize edgeset_bitsize.
1771 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1773 * Makefile.in (optabs.o): Depend on real.h
1774 (resource.o): Depend on insn-attr.h
1776 * builtins.c (result_vector): Wrap prototype in macro conditions
1777 governing definition and use.
1779 * c-common.c: Include tm_p.h.
1781 * c-lex.c: Likewise.
1783 * elfos.h: Constify a char*.
1785 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
1786 (get_attr_length, shorten_branches, profile_after_prologue): Mark
1787 parameter with ATTRIBUTE_UNUSED.
1789 * fold-const.c (exact_real_inverse): Wrap variable `i' in
1792 * haifa-sched.c (schedule_insns): Mark parameter with
1795 * optabs.c: Include real.h.
1797 * real.h (ereal_atof): Add prototype arguments.
1799 * resource.c: Include insn-attr.h.
1801 * sdbout.c (sdbout_queue_anonymous_type,
1802 sdbout_dequeue_anonymous_types): Wrap in macro
1803 SDB_ALLOW_FORWARD_REFERENCES.
1804 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
1807 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
1809 * stupid.c: Include tm_p.h.
1811 * tree.c (real_value_from_int_cst): Mark parameter with
1814 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1816 * i960-protos.h: New file.
1818 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
1821 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
1823 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1825 * combine.c (expand_field_assignment): Do not discard SUBREGs
1826 while computing nonzero_bits.
1828 2000-01-09 Nick Clifton <nickc@cygnus.com>
1830 * config/arm/arm.c: Fix compile time warnings about signed vs
1832 * config/arm/arm.h: Fix compile time warnings about signed vs
1835 2000-01-09 Philip Blundell <philb@gnu.org>
1837 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
1838 than `ldm' with only one register.
1839 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
1842 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
1845 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
1847 * config/ns32k/ns32k.md (load or push effective address): Operand 1
1850 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1852 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1853 assignment used as truth value.
1855 * function.c (assign_temp): Mark parameter `dont_promote' with
1856 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
1857 PROMOTE_FOR_CALL_ONLY.
1859 * genrecog.c (write_subroutine): Mark variable `operands' with
1862 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
1865 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
1866 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
1868 * toplev.c (note_deferral_of_defined_inline_function): Likewise
1871 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1873 * config/c4x.h: Tidy up comments.
1874 * config/c4x.c: Likewise.
1876 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
1878 * fold-const.c (lshift_double, rshift_double): Handle
1879 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
1881 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1883 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
1884 in prepare_function_start().
1886 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
1888 * config/v850/v850.c (expand_epilogue): Interrupt functions no
1889 longer allocate extra stack for function calls.
1891 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1893 * config/c4x/c4x.md (*subqf3_set): Fix typo.
1895 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1897 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
1899 2000-01-07 David Edelsohn <edelsohn@gnu.org>
1901 * rs6000.c (processor_target_table): Add power3 as alias for 630.
1902 * aix43.h: Revert Aug 2 change.
1903 (HAS_INIT_SECTION): Define, not visible yet.
1904 (LD_INIT_SWITCH): Define, not visible yet.
1905 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
1907 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
1909 * collect2.c (main): Expand ld2 size further.
1910 (export_object_lst): Cast assignment to avoid warning.
1911 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
1912 (scan_prog_file, COFF): Do not collect initialization or
1913 finalization functions generated for entire shared object if
1914 init/fini support present.
1916 2000-01-07 Nick Clifton <nickc@cygnus.com>
1918 * config/elfos.h: Tidy up formatting of marcos. Make sure
1919 that .section directives are always prefixed by a tab.
1921 * config/svr4.h: Add #include "elfos.h" and remove duplicate
1924 2000-01-07 Matt Austern <austern@sgi.com>
1926 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
1929 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
1931 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
1933 (crtbegin.o, s-crtS): Likewise.
1935 2000-01-06 Richard Henderson <rth@cygnus.com>
1937 * alpha.md (adddi_2+1): Limit offset such that it will be
1938 loadable with a single ldah+lda pair.
1939 (adddi_2+2): Explicitly fail split if we can't make it work.
1941 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
1943 * protoize.c: Conditionally include unistd.h.
1944 (IS_SAME_PATH_CHAR): New macro.
1945 (IS_SAME_PATH): New macro.
1946 (CPLUS_FILE_SUFFIX): New macro.
1947 (cplus_suffix): New static variable.
1948 (is_abspath): New static function.
1949 (in_system_include_dir): Handle DOS style pathnames.
1950 (file_could_be_converted): Likewise.
1951 (file_normally_convertible): Likewise.
1952 (directory_specified_p): Likewise.
1953 (file_excluded_p): Likewise.
1954 (abspath): Likewise.
1955 (shortpath): Likewise.
1956 (referenced_file_is_newer): Likewise.
1957 (save_def_or_dec): Likewise.
1958 (do_processing): Likewise.
1960 (edit_file): Likewise. Use rename instead of link.
1961 (rename_c_file): Likewise. Don't rename syscalls file.
1962 (munge_compile_params): Define null device for DOS based systems.
1963 (process_aux_info_file): Use binary mode if appliable.
1964 (edit_file): Likewise.
1965 * invoke.texi (Running Protoize): Document C++ suffixes used.
1967 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
1968 IS_DIR_SEPARATOR macros.
1969 * collect2.c: Likewise.
1970 * cppinit.c: Likewise.
1971 * dwarf2out.c: Likewise.
1974 * prefix.c: Likewise.
1976 * toplev.c: Likewise.
1977 * system.h: And move to here.
1979 * prefix.c (update_path): Fix typo in variable name.
1981 2000-01-06 Richard Henderson <rth@cygnus.com>
1983 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
1984 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
1985 (count_reg_sets_1, count_reg_references): Likewise.
1986 (flow_loops_level_compute): Start counting actual loop depth at 1.
1987 (flow_loops_find): Likewise.
1988 * local-alloc.c (update_equiv_regs): Likewise.
1989 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
1991 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1993 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
1994 FIRST_PSEUDO_REGISTER
1995 * dwarf2out.c: Don't include frame.h
1996 * dwarfout.c: Likewise
1997 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
2000 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
2002 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2005 * i386.c (movsf splitter): Fix typo in my last checkin.
2007 2000-01-05 Nick Clifton <nickc@cygnus.com>
2009 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
2010 own definition of this macro.
2011 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
2012 flag_data_sections or UNIQUE_SECTION_P are true.
2014 * tm.texi (UNIQUE_SECTION): Document that it can be called for
2015 unitialised data decls.
2017 * config/i386/winnt.c (i386_pe_unique_section): Cope with
2018 being called for uninitialised data.
2020 * config/i386/interix.c (i386_pe_unique_section): Cope with
2021 being called for uninitialised data.
2023 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
2024 for uninitialised data.
2026 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
2027 for uninitialised data.
2029 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
2030 for uninitialised data.
2032 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
2033 (UNIQUE_SECTION_P): Always generate a unique section if
2034 flag_data_sections is true.
2035 (UNIQUE_SECTION): Also generate unique sections for
2037 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
2038 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
2041 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2043 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
2046 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2048 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
2049 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
2050 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
2051 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
2052 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
2054 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
2056 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2058 * c-decl.c (finish_enum): Simplify code to determine minimum and
2059 maximum values of the enum, and calculate the type. Remove check
2060 for FUNCTION_DECLs in the values list, which cannot happen. Replace
2061 the DECL_INITIAL of each enumeration constant with a copy converted
2062 to the enumeration type. When updating variant types, don't bother
2063 updating the type itself.
2065 * c-typeck.c (build_binary_op): Simplify conditional expressions
2066 when weeding out spurious signed-unsigned warnings. Add new
2067 spurious warning category: if the unsigned quantity is an enum
2068 and its maximum value fits in signed_type(result_type). Update
2070 (build_conditional_expr): Warn here if one alternative is signed
2071 and the other is unsigned.
2073 2000-01-05 Nick Clifton <nickc@cygnus.com>
2075 * config/fr30/fr30.h: Remove extraneous comments.
2077 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
2079 * reload1.c (choose_reload_regs): When disabling a reload, also
2080 set reload_spill_index to -1.
2082 2000-01-04 Joel Sherrill (joel@OARcorp.com>
2084 * configure.in (m68*-*-rtemscoff*): New target, formal name for
2086 (m68*-*-rtemself*): New target.
2087 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
2088 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
2089 (sparc*-*-rtemself*): New target.
2090 (sparc*-*-rtems*): Now elf not a.out.
2091 * config/i386/rtems.h: Include config/rtems.h.
2092 * config/i386/rtemself.h: Include config/rtems.h.
2093 * config/i960/rtems.h: Include config/rtems.h.
2094 * config/m68k/rtems.h: Include config/rtems.h.
2095 * config/m68k/rtemself.h: Include config/rtems.h.
2096 * config/mips/rtems64.h: Include config/rtems.h.
2097 * config/pa/rtems.h: Include config/rtems.h.
2098 * config/rs6000/rtems.h: Include config/rtems.h.
2099 * config/sh/rtems.h: Include config/rtems.h.
2100 * config/sh/rtemself.h: Include config/rtems.h.
2101 * config/sparc/rtems.h: Include config/rtems.h.
2102 * config/sparc/rtemself.h: Include config/rtems.h
2104 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
2106 * final.c (shorten_branches): Correctly compute length of
2107 asms without operands.
2109 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
2111 * configure.in: Add pj target.
2112 * configure: Regenerate.
2113 * config/pj: New directory.
2114 * config/pj/lib1funcs.S: New file.
2115 * config/pj/linux.h: New file.
2116 * config/pj/pj.c: New file.
2117 * config/pj/pj.md: New file.
2118 * config/pj/pjl.h: New file.
2119 * config/pj/t-pj: New file.
2120 * config/pj/xm-pj.h: New file
2122 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
2124 * toplev.c (rest_of_compilation): Run shorten-branches before
2127 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2129 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
2130 macros so that they're consistent with their names.
2131 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2132 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2134 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2136 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
2137 modified inadvertently.
2139 2000-01-04 Joel Sherrill <joel@OARcorp.com>
2141 * configure.in (v850*-*-rtems*): New target.
2142 * configure: Regenerate.
2143 * config/v850/rtems.h: New file.
2145 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2147 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
2148 (__gthread_key_create): Likewise.
2149 (__gthread_key_dtor): Likewise.
2150 (__gthread_once): Fix logic.
2151 (__gthread_key_delete): Cast away constness.
2153 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
2154 * invoke.texi: Document.
2155 * i386/mingw32.h (CPP_SPEC): Use.
2156 (LIBGCC_SPEC): Likewise.
2157 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
2159 2000-01-04 David Edelsohn <edelsohn@gnu.org>
2161 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
2162 (HANDLE_PRAGMA_PACK): Undefine.
2163 (SLOW_UNALIGNED_ACCESS): Define.
2165 2000-01-04 David Edelsohn <edelsohn@gnu.org>
2167 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2168 to default definition.
2169 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
2170 (store_fixed_bit_field): Call macro with word_mode and alignment.
2171 (extract_bit_field): Call macro with relevant mode and alignment.
2172 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2173 to default definition.
2174 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
2176 (move_by_pieces_ninsns): Likewise.
2177 (clear_by_pieces): Likewise.
2178 (emit_push_insn): Likewise.
2179 (store_field): Call macro with relevant mode and alignment.
2180 (expand_expr): Likewise.
2181 (expand_expr_unaligned): Likewise.
2183 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
2184 (SLOW_UNALIGNED_ACCESS): Define.
2185 (CASE_VECTOR_MODE): Always use 32-bit offsets.
2186 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
2187 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
2188 (toc_section): Likewise and .toc pseudo-op.
2189 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
2191 (TEXT_SECTION_ASM_OP): Likewise.
2192 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
2195 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
2196 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
2197 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
2198 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
2199 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
2201 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
2203 * regclass.c: Revert my Jan 4 change to loop cost computation.
2205 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2207 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
2210 2000-01-04 Stan Cox <scox@cygnus.com>
2212 * haifa-sched.c (build_control_flow): Change unreachable simple
2213 loop test to check if current block has only one predecessor.
2214 (find_rgns): Initialize degree. Use dest as degree index, not src.
2216 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2218 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
2220 * calls.c (expand_call): Likewise for
2221 `old_stack_arg_under_construction'.
2223 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
2225 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
2228 * gcc.c (execute): Likewise for `ut' and `st'.
2230 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
2232 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
2234 * jump.c (jump_optimize_1): Likewise for `temp2'.
2236 * local-alloc.c (block_alloc): Likewise for `r1'.
2238 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
2240 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
2241 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
2243 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
2246 * reload.c (find_reloads): Likewise for `goal_alternative_number'
2247 and `goal_earlyclobber'.
2249 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
2251 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
2253 * stupid.c (stupid_life_analysis): Likewise for `chain'.
2255 * unroll.c (copy_loop_body): Likewise for `copy'.
2257 * varasm.c (output_constructor): Likewise for `byte'.
2259 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2261 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
2262 all FP constants for constant->reg moves.
2263 (ix86_split_to_parts): Try to convert memory address into immediate
2264 when available in the constant pool.
2265 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
2267 (LEGITIMATE_CONSTANT_P): Return 1.
2268 * i386.md (pushsf): New splitter to convert constant pool memory
2269 reference to immediate.
2270 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
2273 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
2275 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
2276 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
2277 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
2278 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
2279 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
2281 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
2283 * ginclude/stdbool.h: Support compilation as C++.
2285 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2287 * fold-const.c (make_range): Don't try to reverse an unbounded range.
2289 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
2291 * regclass.c (regclass): Properly compute loop_cost. Adjust
2294 * regclass.c: Fix minor whitespace problems.
2296 2000-01-03 Anthony Green <green@cygnus.com>
2298 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
2299 Restore the pic register if required.
2301 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
2303 * c-common.c (format_char_info): Update comment.
2304 (check_format_info): Recognize 'z' modifier in the same way 'Z'
2305 was recognized. Emit warning for formats new in ISO C99 only
2306 if flag_isoc9x is not set.
2308 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
2310 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
2312 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2314 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
2315 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
2316 (make_compound_operation): Choose cheaper alternative between
2317 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
2319 * regclass.c (op_costs): Remove global variable.
2320 (record_reg_classes): New parameter "op_costs" and "reg_pref".
2321 (record_operand_costs): Break out from ...
2322 (scan_one_insn): ... here.
2323 (dump_regclass): Make dumps nicer.
2324 (regclass): Dump preferrences choosed and changes done during passes.
2326 2000-01-03 Jakub Jelinek <jakub@redhat.com>
2328 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
2330 2000-01-03 Jakub Jelinek <jakub@redhat.com>
2332 * config/sparc/sparc.c (gen_df_reg): New function.
2333 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
2334 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
2335 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
2336 movtf_cc_reg_sp64+1): Use it.
2338 2000-01-02 Mark Mitchell <mark@codesourcery.com>
2340 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
2343 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
2345 * config/i386/i386.c (ix86_expand_unary_operator): Function
2346 definition made void.
2347 (ix86_expand_binary_operator): Update outdated preceding comment.
2348 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
2351 * config/i386/i386.c (override_options): Fix option-name typo.
2353 2000-01-02 Mark Mitchell <mark@codesourcery.com>
2355 * system.h (CEIL): Define.
2356 * builtins.c (CEIL): Remove.
2357 * expmed.c (CEIL): Likewise.
2358 * expr.c (CEIL): Likewise.
2359 * stor-layout.c (CEIL): Likewise.
2361 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2363 * expr.c (store_constructor_field): Fix typo introduced with last
2366 2000-01-01 Mark Mitchell <mark@codesourcery.com>
2368 * tree.h (BINFO_N_BASETYPES): New macro.
2370 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
2372 * expmed.c (emit_store_flag): Prevent losing a pending stack
2373 adjust the same way we prevent losing queued increments.
2375 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2377 * function.c (update_temp_slot_address): Handle case where sum of
2378 temporary address plus offset in register is a valid address.
2380 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2382 * genrecog.c (change_state) Corrected typo.
2384 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2386 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
2387 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
2388 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
2390 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
2392 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
2393 case, expand GT comparisons correctly. Fix a comment before this
2396 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2398 * dwarfout.c: Include "frame.h"
2399 * dwarf2out.c: Likewise.
2400 * Makefile.in (dwarfout.o): Depend on frame.h
2401 (dwarf2out.o): Likewise.
2403 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
2405 Restore i386 binary compatibility in Dwarf EH info.
2406 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
2407 value of FIRST_PSEUDO_REGISTER.
2408 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
2409 (struct frame_state): Use DWARF_FRAME_REGISTERS.
2410 * dwarfout.c (output_reg_number): Ditto.
2411 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
2412 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
2414 1999-12-29 Bruce Korb <autogen@linuxbox.com>
2416 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
2417 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
2418 (<hack>_RE_CT): not needed
2419 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
2420 rewritten to scan the file text once only
2421 "template<..." test added
2422 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
2423 (is_cxx_header): declaration added
2424 * fixinc/fixtests.c(is_cxx_header): removed
2425 (apply_fix_p_t): removed
2426 (double_slash_test): is_cxx_header is only called once now
2427 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
2428 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
2429 within the templates.
2430 The borken spelling of "broken" was fixed.
2431 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
2432 The default level depends on FIXINC_DEBUG.
2434 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2436 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
2437 Otherwise provide a declaration for atexit.
2438 (init_dummy): Make sure dummy call to atexit is nevertheless
2439 called with correct number of args.
2441 * frame.c: Update comments referring to other files.
2443 * libgcc2.c: Likewise.
2445 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2447 * cse.c (free_element, get_element): Remove unused prototypes.
2449 * fold-const.c (extract_muldiv): Initialize variables `op0' and
2452 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
2455 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
2457 * configure.in,configure: case arm for mn10200-*-* now sets
2458 float_format=i32 so that float.h will correctly claim "double"
2459 to be 32 bits. Ran autoconf to generate configure from .in file.
2461 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
2463 * pa.md (conditional zero): If op1 is a register, force it into
2464 the same register as op0.
2466 1999-12-28 Mark Mitchell <mark@codesourcery.com>
2468 * tree.h (BINFO_BASETYPES): Improve documentation.
2470 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2472 * configure.in (--enable-checking): Use a more portable `for'
2475 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2477 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
2478 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
2480 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
2483 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
2484 Delete descriptions.
2486 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
2487 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
2488 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
2489 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
2490 xm-svr4.h: Remove all instances of sys_siglist handling.
2492 1999-12-27 Jakub Jelinek <jakub@redhat.com>
2494 * config/sparc/sparc.md (cmp_zero_qi,
2495 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
2496 cmp_zero_extendqidi2_andcc_set): New patterns.
2498 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
2500 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
2501 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
2502 (fpgnulib.c, xfgnulib.c): Add rules.
2503 * m68k/t-mot3300-gas: Likewise.
2505 1999-12-27 Ian Lance Taylor <ian@zembu.com>
2507 * configure.in: Avoid [[ by using test and changequote. Add
2508 changequote required by 1999-12-14 change.
2509 * configure: Rebuild.
2511 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
2513 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
2515 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
2517 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
2518 * flow.c (find_use_as_address): Likewise.
2519 * function.c (fixup_var_refs_1): Likewise.
2520 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
2521 * jump.c (invert_exp, redirect_exp): Likewise.
2522 * loop.c (replace_call_address): Likewise.
2523 (count_nonfixed_reads): Likewise.
2524 * rtlanal.c (modified_between_p): Likewise.
2525 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
2526 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
2527 * unroll.c (remap_split_bivs): Likewise.
2529 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2531 * diagnostic.c (v_message_with_decl): Use .* format specifier
2532 instead of building the format specifier width manually.
2534 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
2535 determining whether to provide a prototype. Remove the
2536 sys_siglist clause in the conditional.
2538 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2540 * fold-const.c (operand_equal_p): Use memcmp to compare string
2542 Suggested by D. J. Bernstein
2544 1999-12-17 Jakub Jelinek <jakub@redhat.com>
2546 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
2547 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
2549 * config/mips/mips.h (TARGET_64BIT): Likewise.
2550 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
2551 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
2552 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
2553 dsps. Give routines proper names if SI/DI modes are not used.
2554 * longlong.h: Use DWunion instead of DIunion.
2556 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
2558 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
2559 GC_CHECKING, GC_ALWAYS_COLLECT.
2560 * configure.in: Allow --enable-checking with an argument
2561 listing check modes to enable.
2562 * config.in, configure: Rebuilt.
2563 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
2564 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
2565 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
2566 ENABLE_GC_ALWAYS_COLLECT.
2567 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
2569 * tree.h, tree.c: Change ENABLE_CHECKING to
2570 ENABLE_TREE_CHECKING throughout.
2572 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2574 * fold-const.c (fold_truthop): Properly check for FP RHS.
2576 1999-12-24 Mark Mitchell <mark@codesourcery.com>
2578 * toplev.h (note_deferall_of_defined_inline_function): Declare.
2579 * toplev.c (note_deferral_of_defined_inline_function): New
2580 function, split out from ...
2581 (rest_of_compilation): ... here. Use it.
2583 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2585 * expr.c (store_constructor): Don't call clear_storage if size is
2588 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2590 * Makefile.in (toplev.o): Depend on loop.h.
2592 * dwarfout.c: Include tm_p.h.
2594 * emit-rtl.c (restore_emit_status): Mark parameter with
2597 * final.c (final_scan_insn): Likewise.
2599 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
2600 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
2601 flow_depth_first_order_compute, flow_loop_pre_header_find,
2602 flow_loop_tree_node_add, flow_loops_tree_build,
2603 flow_loop_level_compute, flow_loops_level_compute,
2604 flow_loop_outside_edge_p): Add prototypes.
2605 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
2607 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
2608 Mark with ATTRIBUTE_NORETURN.
2610 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
2612 * local-alloc.c (no_conflict_p): Likewise.
2614 * loop.c (insert_bct): Hide definitions of variables with hidden
2616 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
2618 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
2619 with ATTRIBUTE_UNUSED.
2620 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
2621 (reg_scan): Likewise.
2623 * reload.c (find_reloads): Remove unused variables `changed'.
2625 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
2627 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
2628 Remove unused variable `insn'.
2630 * toplev.c: Include loop.h.
2631 (report_file_and_line): Remove unnecessary prototype.
2633 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
2635 * unroll.c (biv_total_increment): Likewise.
2637 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2639 * reload1.c (emit_input_reload_insns): Restore old behaviour
2640 wrt. 'special' reloads.
2642 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
2644 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
2645 hash.h. (cse.c): Don't depend on hashtab.h.
2647 * cse.c: Don't include hashtab.h.
2648 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
2650 * ggc-simple.c: Don't include hash.h.
2652 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
2654 * dwarf2out.c (add_abstract_origin_attribute): Call
2655 gen_abstract_function on our function context.
2657 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
2659 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
2661 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2663 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
2666 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2668 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
2669 constraints to "a!r".
2671 1999-12-21 Mark Mitchell <mark@codesourcery.com>
2673 * Makefile.in (calls.o): Depend on function.h.
2674 (alias.o): Likewise.
2676 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
2678 * reload1.c (emit_reload_insns): Break out code and variables into...
2679 (input_reload_insns, other_input_address_reload_insns,
2680 other_input_reload_insns, input_address_reload_insns,
2681 inpaddr_address_reload_insns, output_reload_insns,
2682 output_address_reload_insns, outaddr_address_reload_insns,
2683 operand_reload_insns, other_operand_reload_insns,
2684 other_output_reload_insns): ... new static variables, and...
2685 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
2686 do_output_reload): ... new functions.
2688 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2690 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
2692 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2694 * md.texi: Add c4x constraints documentation.
2696 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2698 * config/i386/dgux.c (struct option): Rename to
2699 lang_independent_option.
2700 (struct m_options): Add description field.
2701 (output_options): Rename option type, add sep declaration, output
2702 ix86_cpu_string and ix86_arch_string only if set.
2703 (output_file_start): Rename option type.
2705 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
2707 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
2709 (libgcc2.a): Similarly.
2711 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
2713 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
2714 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
2715 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
2717 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
2719 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
2720 Remove redundant initialization of "frexpon" and "expon".
2722 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2724 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
2726 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
2727 (store_constructor_field, expand_expr): Pass new arg.
2729 1999-12-20 Mark Mitchell <mark@codesourcery.com>
2731 * Makefile.in (explow.o): Depend on function.h.
2733 * stor-layout.c (set_sizetype): Fix typo.
2735 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
2737 * function.c (cfun): Renamed from current_function. All users
2739 * function.h (cfun): Rename declaration as well.
2741 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
2742 to be of type regset_head, not regset. All users changed by adding
2744 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
2746 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2748 * config/c4x/rtems.h: New file.
2750 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
2752 * reload1.c (spill_failure): Take class of failed reload as argument
2753 and print it. Caller changed.
2755 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2757 * rs6000.h (SUBTARGET_DEFAULT): New macro.
2758 (TARGET_SWITCHES): Allow subtargets to default switches.
2759 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
2761 1999-12-18 Mark Mitchell <mark@codesourcery.com>
2763 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
2766 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
2768 * cccp.c (main): Define __STDC_VERSION__ as necessary.
2769 * cppinit.c (cpp_handle_option): Likewise.
2771 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
2772 determine when to define.
2774 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
2776 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
2777 cmove with mismatched test and data modes.
2779 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
2781 * c-typeck.c (c_expand_start_case): Don't warn for long switch
2784 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2786 * alias.c: Minor reformatting.
2789 * stor-layout.c: Likewise.
2790 * fold-const.c: Likewise.
2791 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
2792 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
2794 (size_int_wide): Cache nodes even if garbage collecting.
2795 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
2796 of SAVE_EXPR has no side effects.
2797 * cse.c: Move a comment.
2798 * tree.c: Minor reformatting.
2799 (int_size_in_bytes): Return -1 if constant overflows.
2801 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2803 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
2805 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
2807 * objc/objc-parse.c: Regenerate. This file must be rebuilt
2808 after any change to c-parse.in, even if objc-parse.y didn't
2811 1999-12-18 David S. Miller <davem@redhat.com>
2813 * toplev.c (rest_of_compilation): Restore BLOCK tree
2814 reconstruction and branch shortening changes lost in
2815 December 18th change.
2817 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
2819 * config/arm/linux-elf.h: Change all instances of
2820 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
2821 * config/arm/uclinux-elf.h: Likewise.
2823 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
2825 * toplev.c (notice, vmessage, v_message_with_file_and_line,
2826 v_message_with_decl, file_and_line_for_asm,
2827 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
2828 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
2829 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
2830 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
2831 pfatal_with_name, fatal_io_error, need_error_newline,
2832 last_error_function, last_error_tick, announce_function,
2833 default_print_error_function, print_error_function,
2834 report_error_function, fnotice, error_with_file_and_line,
2835 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
2836 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
2837 warning_with_decl, warning_for_asm, warning, pedwarn,
2838 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
2840 (compile_file): Use fnotice instead of notice. Adjust call.
2842 * diagnostic.c: New file.
2844 * Makefile.in (OBJS): Include diagnostic.o
2845 (diagnostic.o): Define dependence.
2847 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2849 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
2852 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2854 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
2856 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2858 * fixtests.c (is_cxx_header): New fn, split out of
2860 (else_endif_label): Allow "#endif // comment" in C++ headers,
2861 as determined by is_cxx_header.
2862 * fixfixes.c (else_endif_label_fix): Update comment.
2863 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
2865 * genfixes: Correct double thinko in commandline parsing.
2866 * hackshell.tpl: Generate correct sh syntax for bypass
2869 * inclhack.def (all): Whenever an inserted preprocessor
2870 conditional is split over multiple lines, use double
2871 backslashes in this file so the fixed header will be readable.
2873 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
2874 and add bypass entry for correct version of this header.
2875 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
2876 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
2878 (hpux8_bogus_inlines): New fix, split from...
2879 (ultrix_atof_param) ... here.
2880 (math_expression): Add bypass entry keyed to glibc comment
2881 indicating the problem has been dealt with; disable
2882 unnecessary sed operations; update commentary.
2883 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
2884 add select and bypass entries, simplify shell operation.
2885 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
2887 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
2888 ultrix_atof_param): Add select entry.
2889 (stdio_va_list, sunos_mather_decl): Add bypass entry.
2890 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
2891 comments with the fixes they describe.
2893 * c-parse.in (string action): Do not warn about ANSI string
2894 concatenation in system headers. Affects C parser only.
2895 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
2897 1999-12-16 Jakub Jelinek <jakub@redhat.com>
2899 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
2900 compiling libgcc2 the macro depends always on arch cpp defines.
2902 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
2904 * loop.c (insert_loop_mem): Don't record MEMs from inside
2907 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
2909 * regclass.c (regclass): Do not use flowgraph when not optimizing.
2911 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
2912 notes too, create one when replacement failed, attempt to simplify
2914 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
2917 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2919 * crtstuff.c (__dso_handle): Declare.
2920 (__cxa_finalize): Likewise.
2921 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
2924 * invoke.texi: Document -fuse-cxa-atexit.
2926 * tree.h (ptr_type_node): Document.
2927 (const_ptr_type_node): Likewise.
2929 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2931 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
2932 (optimize_reg_copy_2): Likewise.
2933 (optimize_reg_copy_3): Likewise.
2934 (fixup_match_2): Likewise.
2935 (regmove_optimize): Likewise.
2936 (fixup_match_1): Liekwise.
2938 * i386.md (HI to SImode promoting splitters): Rewrite.
2939 (pushsf mem peep2): New.
2940 (testhi to andhi peep2): Remove.
2941 * i386.h (x86_promote_QImode): New.
2942 (TARGET_PROMOTE_QImode): New.
2943 (PREDICATE_CODES): Add promotable_binary_operator.
2944 * i386.c (x86_promote_QImode0: New.
2945 (promotable_binary_operator): New.
2946 * i386-protos.h (promotable_binary_operator): New.
2948 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
2950 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
2952 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2954 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
2955 * function.c (insert_block_after_note): Remove.
2956 (retrofit_block): Likewise.
2957 (identify_blocks): Fix indentation.
2958 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
2959 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
2960 * function.h (insert_block_after_note): Remove prototype.
2961 (retrofit_block): Likewise.
2962 * integrate.c (expand_inline_function): Don't call
2963 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
2964 just expand_start_bindings. Use the block_map to remap old
2965 NOTE_BLOCKs to new ones.
2966 (integrate_decl_tree): Keep track of remapped blocks.
2967 * integrate.h (struct inline_remap): Add block_map.
2968 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
2969 NOTE_BLOCK on the notes.
2970 (expand_start_bindings): Rename to ...
2971 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
2972 (expand_end_bindings): Set NOTE_BLOCK.
2973 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
2974 reconstruct the BLOCK tree.
2975 * tree.h (expand_start_bindings): Macroize. Call ...
2976 (expand_start_bindings_and_block): New function.
2978 1999-12-16 Jakub Jelinek <jakub@redhat.com>
2980 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
2981 to match the format.
2983 1999-12-16 David S. Miller <davem@redhat.com>
2985 * expr.c (emit_move_insn_1): Only emit clobbers if one of
2986 the outputs is a SUBREG.
2987 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
2990 * config/sparc/sparc.c (epilogue_renumber): Add default case
2993 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2995 * toplev.c (rest_of_compilation): Run branch shortening after
2998 * regclass.c (loop_depth): Remove
2999 (scan_one_insn): Do not handle LOOP_NOTE insns.
3000 (regclass): Go through basic blocks and set loop_cost
3002 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
3004 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
3006 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3008 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
3009 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
3010 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
3012 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
3014 * loop.c (insert_loop_mem): Ignore memory clobbers.
3016 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
3019 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
3021 * profile.c: Remove redundant #include "output.h".
3023 * h8300.md (HImode preinc peephole): Fix typo.
3025 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3027 * function.c (retrofit_block): Abort if we don't find a suitable insn.
3028 (insert_block_after_note): Abort if we don't have a previous block.
3029 Remove FN parameter.
3030 * function.h: Adjust.
3032 1999-12-15 Mark Mitchell <mark@codesourcery.com>
3034 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
3035 argument more than once.
3037 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3039 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
3041 1999-12-15 Jakub Jelinek <jakub@redhat.com>
3043 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
3045 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3047 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
3048 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
3049 update stack_alignment_needed.
3050 (prepare_function_start): Initialize stack_alignment_needed
3051 * function.h (struct function): Add field stack_alignment_needed.
3053 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3055 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
3056 Handle live_throughout / dead_or_set instead of live_before /
3058 (save_call_clobbered_regs): Get register livenessinformation from
3059 chain->live_throughout.
3060 (add_stored_regs): New function.
3061 (insert_restore, insert_save): Add restored / saved registers to
3063 * global.c (reg_dies): New parameter chain.
3064 (reg_becomes_live): Third parameter is regs_set now.
3065 Changed all callers.
3066 (reg_dies): New parameter chain. Changed all callers.
3067 (build_insn_chain): Set live_throughout instead of
3068 live_before / live_after.
3069 * reload.h (struct insn_chain): Replace members live_before /
3070 live_after with live_throughout / dead_or_set.
3071 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
3072 instead of live_before / live_after.
3073 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
3074 (order_regs_for_reload, find_reg, finish_spills): Likewise.
3075 (choose_reload_regs_init): Likewise.
3076 * stupid.c (current_chain, find_clobbered_regs): Delete.
3077 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
3078 instead of chain->live_before / chain->live_after.
3079 (mark_hard_ref): New function.
3080 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
3082 1999-12-15 David S. Miller <davem@redhat.com>
3084 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
3086 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3088 * flow.c (calculate_loop_depth): Make global, remove prototype,
3089 rewrite to use new loop infrastructure.
3090 (find_basic_block): Remove calculate_loop_depth call.
3091 * toplev.c (rest_of_compilation): Call find_basic_block.
3092 * output.h (calculate_loop_depth): Declare.
3094 * flow.c (dump_flow_info): Dump loop_depth.
3095 (flow_loops_nodes_find): Increase loop_depth for basic block in the
3097 (flow_loops_find): Initialize the loop_depth for each basic block.
3099 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3101 * tree.c (decl_function_context): Handle virtual functions.
3103 * tlink.c (scan_linker_output): Don't look in demangled name when
3104 looking for linker output keywords.
3106 * dwarfout.c (output_type): We can defer namespace-scope classes.
3108 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
3110 * regclass.c (record_reg_classes): Update comment for merging
3111 register class preferences in reg->reg copies. Tighten conditions
3112 for merging register class preferences in reg->reg copies.
3114 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
3116 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
3118 1999-12-14 Geoff Keating <geoffk@cygnus.com>
3120 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
3121 (INIT_SECTION_ASM_OP): Delete.
3122 (FINI_SECTION_ASM_OP): Delete.
3123 (STARTFILE_SPEC): Define to hold just crtbegin.o.
3125 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
3127 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
3128 the abstract origin wasn't emitted.
3130 * dwarf2out.c (class_scope_p): New fn.
3131 (gen_subprogram_die): Use it.
3132 (gen_variable_die): Use it. Tweak logic.
3133 (gen_struct_or_union_type_die): Check context_die to determine
3134 if we're function-local.
3135 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
3137 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3139 * loop.c (check_dbra_loop): Can't reverse a biv that has
3142 1999-12-14 Nick Clifton <nickc@cygnus.com>
3144 * config/arm/arm.c: Add support for -mcpu=arm720 command line
3147 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3149 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
3150 for givs made from biv increments.
3152 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
3154 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
3155 * alpha.c (override_options): Recognize -mcpu=ev67.
3156 * alpha.h (CPP_CPU_EV67_SPEC): New.
3157 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
3158 (EXTRA_SPECS): Update.
3160 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
3162 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
3163 appropriate for -lang-c89 and -std=*.
3164 * cppinit.c (cpp_handle_option): Likewise.
3165 (new_pending_define): New, split out from cpp_handle_option.
3166 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
3167 or enable trigraphs for -ansi/-std=*.
3169 * ginclude/stdarg.h (__va_copy): New.
3170 (va_copy): Don't define for C89.
3172 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
3174 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
3175 for long long multiply-accumulate.
3177 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3179 * regclass.c (scan_one_insn): Set loop_cost to 1 when
3180 optimizing for size.
3182 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3184 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
3185 if something changed. Back out that part of yesterday's changes.
3187 * loop.c (loop_max_reg): New static variable.
3188 (loop_optimize): Initialize it. Eliminate one unnecessary call to
3190 (scan_loop): Call reg_scan_update whenever we may have added new
3191 registers, and update loop_max_reg.
3193 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3195 * regclass.c (record_reg_classes): Do not do the copying preferrencing
3196 when source does not die.
3198 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
3200 1999-12-14 Jakub Jelinek <jakub@redhat.com>
3202 * config/sparc/linux64.h (TARGET_LIVE_G0,
3203 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
3205 * config/sparc/linux.h (TARGET_LIVE_G0,
3206 TARGET_BROKEN_SAVERESTORE): Likewise.
3207 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3208 TARGET_BROKEN_SAVERESTORE): Likewise.
3210 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
3211 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
3213 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
3214 as sparc64 block profiling register.
3215 * config/sparc/sparc.c (sparc_override_options): Allow block
3216 profiling with -m32.
3217 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
3219 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
3220 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
3221 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
3223 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
3225 * config/sparc/sparc.h: Likewise.
3226 * config/sparc/xm-sysv4-64.h: Likewise.
3227 * config/float-sparc.h: Likewise.
3228 * glimits.h: Likewise.
3229 * longlong.h: Likewise.
3231 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
3232 (ASM_IDENTIFY_GCC): Remove.
3234 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3236 * combine.c (combine_simplify_rtx): Don't make shared rtl.
3237 (simplify_logical): Likewise.
3239 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
3241 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
3242 * cppfiles.c (INO_T_EQ): Likewise.
3244 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
3246 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
3247 * i386/mingw32.h (LIB_SPEC): Likewise.
3248 (STARTFILE_SPEC): Likewise.
3249 * i386/uwin.h (LIB_SPEC): Likewise.
3250 (STARTFILE_SPEC): Likewise.
3252 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
3253 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
3255 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
3257 * combine.c (combine_simplify_rtx): Fix order of checks for
3258 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
3260 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
3262 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
3263 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
3265 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
3267 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
3269 * regclass.c (inv_reg_alloc_order): New array.
3270 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
3272 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
3273 counted_for_groups, counted_for_nongroups. Add fields rld and
3275 * reload.c (push_secondary_reload): Don't set nongroup field of
3277 (push_reload): Likewise.
3278 (find_reloads): Delete code to compute nongroup fields.
3279 * reload1.c (reload_insn_firstobj): New static variable.
3280 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
3282 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
3283 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
3284 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
3286 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
3288 (struct hard_reg_n_uses): Deleted.
3289 (potential_reload_regs): Deleted.
3290 (init_reload): Initialize spilled_pseudos and pseudos_counted.
3291 (reload): Don't try to allocate reload registers if we already know
3292 we have to make another pass. Call select_reload_regs. Free memory
3293 starting with reload_firstobj when starting another pass.
3294 Don't allocate spilled_pseudos.
3295 (calculate_needs_all_insns): Call copy_reloads for an insn that
3296 needs reloads; don't call calculate_needs.
3297 (spill_cost): New static array.
3298 (used_spill_regs_local): New static variable.
3299 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
3300 to compute potential_reload_regs.
3301 (find_reload_regs): Completely rewritten to use find_reg.
3302 (allocate_reload_reg): Don't test counted_for_groups or
3303 counted_for_nongroups. Lose NOERROR arg and code to give an error;
3305 (choose_reload_regs): Add fallback code that uses the existing
3306 register allocation from find_reload_regs.
3308 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
3310 * flow.c (create_edge_list): Cast xmalloc return value.
3312 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
3314 * doprnt.c: Remove incorrect comment closure.
3316 * cse.c: Fix a few minor whitespace goofs.
3318 1999-12-13 Don Bowman <don@pixstream.com>
3320 * mips/vxworks.h: Fix problem with comment termination.
3321 (EXTRA_SECTIONS): Add in_sbss.
3322 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
3324 1999-12-12 David S. Miller <davem@redhat.com>
3326 * cse.c (struct cse_reg_info): Add hash_next member,
3327 reorder rest of struct for better packing on 64-bit
3329 (cse_reg_info_tree): Kill.
3330 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
3331 REGHASH_FN): New custom pow2 hash mechanism.
3333 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
3334 use a pow2 hash table.
3335 (get_cse_reg_info): Rework to use new REGHASH.
3336 (new_basic_block): Likewise, use HASH_SIZE, and inline
3338 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
3339 and inline free_element call.
3340 (lookup_as_function, insert, flush_hash_table, invalidate,
3341 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
3342 invalidate_for_call, use_related_value, find_comparison_args,
3343 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
3344 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
3347 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
3349 * cse.c (cse_basic_block): Free qty_table consistently.
3351 1999-12-12 David S. Miller <davem@redhat.com>
3352 Jakub Jelinek <jakub@redhat.com>
3354 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
3355 SUBREGs by hand, gen the appropriate hard reg directly.
3356 (movtf reg/mem split): Likewise and alter_subreg on destination
3358 (movtf mem/reg split): Similarly.
3359 (movdf_cc_sp64): Rename from hidden pattern.
3360 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
3361 (movtf_cc_sp64, following split): New pattern and splitter.
3362 (movdf_cc_reg_sp64): Rename from hidden pattern.
3363 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
3365 (movtf_cc_reg_sp64, following split): New pattern and splitter.
3367 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
3369 * loop.c (load_mems): Don't hoist written floating point mem
3372 1999-12-12 Mark Mitchell <mark@codesourcery.com>
3374 * except.h (struct eh_queue): Add `next' pointer.
3375 (struct eh_status): Make x_ehqueue a pointer.
3376 (push_ehqueue): Declare.
3377 (pop_ehqueue): Likewise.
3378 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
3380 (expand_fixup_region_end): Likewise.
3381 (expand_leftover_cleanups): Likewise.
3382 (push_ehqueue): Define.
3383 (pop_ehqueue): Likewise.
3384 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
3385 than doing it inline.
3386 (expand_start_all_catch): Adjust now that ehqueue is a
3388 (mark_eh_queue): Mark all level of the queue.
3389 (mark_eh_status): Adjust now that ehqueue is a
3391 (init_eh_for_function): Allocate ehqueue.
3392 (free_eh_status): Free it.
3393 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
3394 expansion for a fixup.
3396 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3398 * gthr-single.h (__gthread_active_p): Add prototype arguments.
3400 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
3401 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
3402 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
3403 function_ptr, getpagesize, __enable_execute_stack,
3404 __enable_execute_stack, __clear_insn_cache,
3405 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
3406 _cleanup, _exit, __default_terminate, __terminate_func,
3407 __terminate, __empty, __throw, new_eh_context,
3408 eh_context_initialize, eh_context_static, eh_context_specific,
3409 get_eh_context, __get_eh_context, __get_eh_info,
3410 init_reg_size_table, eh_threads_initialize,
3411 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
3412 __unwinding_cleanup, throw_helper, __throw, __rethrow,
3413 __pure_virtual): Add prototype arguments.
3414 (__bb_exit_func): Cast a sizeof to long when comparing against one.
3415 Cast a signed value to unsigned long when comparing against one.
3416 (new_eh_context): Wrap in _GTHREADS macro.
3417 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
3419 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
3420 (throw_helper): Initialize variables `handler_p' and `pc_p'.
3422 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3424 * combine.c (record_promoted_value): Remove unused variable
3427 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
3429 * global.c (record_conflicts): Likewise for `j'.
3431 * genoutput.c (output_insn_data): Don't unnecessarily cast away
3434 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3436 * i386-protos.h (output_387_binary_op, output_fix_trunc,
3437 output_fp_compare): Constify a char*.
3439 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
3441 (override_options, ix86_comp_type_attributes, print_operand,
3442 output_387_binary_op, output_fix_trunc, output_fp_compare):
3444 (ix86_sched_reorder): Mark parameter `clock_var' with
3447 * i386.h (DEBUG_PRINT_REG): Constify a char*.
3449 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
3451 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
3452 operand, for use in the Java front-end.
3454 1999-12-10 Ben Collins <bcollins@debian.org>
3456 * configure.in: Fix typo for "-64" in 64bit as check.
3457 * configure: Rebuilt.
3459 1999-12-10 Jakub Jelinek <jakub@redhat.com>
3461 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
3464 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3466 * c-parse.in (string): With -Wtraditional, warn if ANSI string
3467 concatenation is utilized.
3469 * invoke.texi (-Wtraditional): Document it.
3471 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3473 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
3474 Cast a ptrdiff_t to long and pass it to printf with %ld.
3476 1999-12-10 Geoff Keating <geoffk@cygnus.com>
3478 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
3479 68881, we have no 68881 registers at all.
3480 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
3481 value in a 68881 register if it is available.
3483 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
3485 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
3486 for long long multiply-accumulate.
3488 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
3490 * loop.c (insert_loop_mem): Undo last change.
3492 1999-12-10 David S. Miller <davem@redhat.com>
3494 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
3496 * config/sparc/sparc-protos.h: Add them.
3497 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
3498 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
3499 constraints which use those helpers.
3500 (EXTRA_CONSTRAINT): Use this new macro.
3501 * md.texi: Update sparc target constraints documentation.
3502 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
3503 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
3504 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
3505 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
3506 (movsf high/lo_sum split): Rework for new patterns.
3507 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
3509 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
3511 * c-common.c (c_common_nodes_and_builtins):
3512 Create __builtin_ptrdiff_t and __builtin_size_t.
3514 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
3516 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
3518 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3520 * regclass.c (globalize_reg): Re-instate test that allows
3521 fixed registers to be declared as a variable even after functions
3524 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3526 * i386.md (cpu attribute): Add "athlon".
3527 (athlon_decode): New attribute.
3528 (Athlon scheduling units definitions): New.
3529 (fcmp and shld patterns): Set athlon_decode to "vector".
3530 * i386.c (athlon_cost): New.
3532 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
3533 x86_use_sahf): Set for Athlon.
3534 (x86_use_fiop): Unset for Athlon.
3535 (override_options): Define Athlon alignments and "athlon" name.
3536 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
3537 * i386.h (TARGET_ATHLON): New.
3538 (enum processor_type): Add PROCESSOR_ATHLON.
3539 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
3541 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
3543 1999-12-09 Andreas Jaeger <aj@suse.de>
3545 * loop.c (record_biv): Declare parameter as int.
3547 * config/i386/i386-protos.h: Declare long_memory_operand.
3549 1999-12-09 Mark Mitchell <mark@codesourcery.com>
3551 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
3552 EXPR_WITH_FILE_LOCATION.
3554 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3556 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
3559 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
3561 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
3564 1999-12-09 Jakub Jelinek <jakub@redhat.com>
3566 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
3567 default on linux64 again.
3568 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
3569 models for multilibing.
3570 * genmultilib: Accept | as alternative separator within a set in
3573 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
3575 * calls.c (precompute_arguments): Make sure initial_value contains
3576 value pseudo which CSE expects.
3577 * cse.c (struct set): New entry orig_src.
3578 (cse_insn): Set it early on entry, use it for libcall EQUIV note
3581 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
3583 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
3585 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
3587 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
3589 1999-12-08 Jakub Jelinek <jakub@redhat.com>
3591 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
3592 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
3594 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
3597 * longlong.h: Merge in changes from glibc.
3598 Also don't clobber %g2 register in 32bit SPARC assembly, so that
3599 -mno-app-regs libgcc can be compiled.
3600 * libgcc2.c: Add defines so that the updated longlong.h
3601 can be used in libgcc2.a. Also, make sure on most architectures
3602 (at least on all which have optimized code in longlong.h defined
3603 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
3605 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3607 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
3608 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
3609 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
3611 * configure: Rebuilt.
3613 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
3615 * alpha.c (secondary_reload_class): For !BWX, sub-simode
3616 outputs require a register.
3618 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
3620 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
3621 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
3622 functions like dptoul will be resolved.
3623 (libgcc2.a): Make sure that the object files from DPBIT are named
3624 differently (prefix `_dp') from those that would be coming from
3627 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
3629 * configure.in: When target is sparc* and tm_file contains 64,
3630 test for 64bit support in assembler. If not supported, remove
3631 sparc/t-sol2-64 from target-dependent Makefile fragments.
3632 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
3633 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
3634 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
3635 * acconfig.h (AS_SPARC64_FLAG): Added.
3636 * configure, config.in: Rebuilt.
3637 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
3638 support. Use AS_SPARC64_FLAG.
3640 1999-12-07 Jakub Jelinek <jakub@redhat.com>
3642 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
3643 suitable for holding OFmode values so that gcc works with complex
3645 (hard_64bit_mode_classes): Likewise.
3647 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
3648 so that it is actually matched.
3649 (sethi_di_medlow): Likewise.
3651 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
3652 as legitimate constant if -mvis.
3653 * config/sparc/sparc.md (movtf): Likewise.
3654 (clear_sf): Use const_double_operand.
3655 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
3657 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
3658 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
3659 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
3660 routines, _Qp_* cannot be handled like that now.
3661 (INIT_TARGET_OPTABS): Likewise.
3662 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
3663 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
3664 sparc_emit_float_lib_cmp if ARCH64 and soft float.
3665 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
3666 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
3667 divtf3, sqrttf3): New expanders.
3668 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
3669 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
3670 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
3673 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
3674 * configure: Rebuilt.
3675 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
3676 -mcpu is given and we're doing 64bit compiles.
3678 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
3680 * loop.h (struct induction): Add multi_insn_incr.
3681 * loop.c (basic_induction_var): New multi_insn_incr argument.
3682 Set it if we search back through previous insns for the biv.
3683 (record_biv): New multi_insn_incr argument; fill in struct induction.
3684 (strength_reduce): Discard an iv with multiple bivs, any of
3685 which require multiple insns to increment.
3687 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3689 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
3692 1999-12-06 David S. Miller <davem@redhat.com>
3694 * combine.c (check_promoted_subreg): Do not conditionalize this upon
3695 PROMOTE_FUNCTION_RETURN.
3697 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
3699 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
3700 and handle REG_UNUSED note on insn.
3702 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
3703 inner_mask instead of mask.
3705 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
3707 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
3708 zero if there was an error.
3710 1999-12-06 Jakub Jelinek <jakub@redhat.com>
3712 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
3715 * longlong.h: Fix clobbers in SPARC asm statements.
3717 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
3718 valid sethi operations when TARGET_ARCH64.
3720 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
3721 always use move_by_pieces to avoid infinite recursion.
3722 (restore_fixed_argument_area): Likewise.
3724 * combine.c (check_promoted_subreg, record_promoted_value): New
3726 (combine_instructions): Use them to retain nonzero and sign bit
3727 information after SUBREGs are eliminated by optimizations in
3728 this pass if PROMOTE_FUNCTION_RETURN.
3730 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
3731 .register declaration. Don't use variables with __ prefixes.
3733 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3735 * fold-const.c (optimize_bit_field_compare): Only use one mode
3736 for both RHS and LHS in non-constant case.
3738 1999-12-06 Nathan Sidwell <nathan@acm.org>
3740 * frame.c (start_fde_sort): Only allocate erratic array, if
3741 linear one was allocated. Return allocated flag.
3742 (fde_insert): Only insert, if there's a valid array.
3743 (fde_end_sort): Split, sort and merge if linear and erratic
3744 arrays exist, else just sort linear one.
3745 (search_fdes): New function. Linear search through original fde
3747 (frame_init): Permit multiple initializations. Cope with
3749 (find_fde): Fallback on linear search, if failed to sort array.
3750 (__deregister_frame_info): Only free sorted array, if we
3753 1999-12-06 Jakub Jelinek <jakub@redhat.com>
3755 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
3757 1999-12-05 Jakub Jelinek <jakub@redhat.com>
3759 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
3761 1999-12-05 Mark Mitchell <mark@codesourcery.com>
3763 * tree.h (special_function_p): Declare.
3764 * calls.c (special_function_p): Make it global. Don't take `name'
3765 as a parameter. Fix typo in 1999-11-28 change.
3766 (expand_cal): Adjust.
3768 1999-12-04 Mark Mitchell <mark@codesourcery.com>
3770 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
3771 * tree.h (EXPR_WFL_FILENAME): Define in terms of
3772 EXPR_WFL_FILENAME_NODE.
3773 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
3775 * print-tree.c (print_note): Print TREE_PRIVATE and
3778 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
3779 the original die cannot be found.
3781 * varray.h (varray_head_tag): Add elements_used.
3782 (VARRAY_PUSH): New macro.
3783 (VARRAY_POP): Likewise.
3784 (VARRAY_TOP): Likewise.
3785 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
3787 * varray.c (varray_init): Initialize elements_used.
3788 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
3789 (INTEGRATE_H): New variable.
3790 (integrate.o): Depend on INTEGRATE_H.
3791 (unroll.o): Likewise.
3793 * function.h (insert_block_after_note): Declare.
3794 * function.c (insert_block_after_note): Split out from ...
3795 (retrofit_block): ... here.
3797 * stmt.c (expand_fixup): Fix typo in comment.
3799 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3801 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
3802 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
3803 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
3804 (regmove_optimize, fixup_match_1): Likewise.
3806 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3808 * flow.c (flow_loops_dump): Add missing argument when calling
3811 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
3812 Greg McGary <gkm@gnu.org>
3814 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
3815 (init_attributes): Add A_NO_LIMIT_STACK.
3816 (decl_attributes): Handle A_NO_LIMIT_STACK.
3817 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
3818 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
3819 Handle stack bounds checking.
3820 * flags.h (flag_stack_check): Use the word 'probe' rather than
3821 'check', because the flag doesn't actually cause any checking to
3823 * function.c (expand_function_start): Set
3824 current_function_limit_stack.
3825 * function.h (struct function): Add limit_stack.
3826 (current_function_limit_stack): Define.
3827 * invoke.texi (Code Gen Options): Document new options.
3828 * rtl.h: Declare stack_limit_rtx.
3829 * toplev.c (stack_limit_rtx): New variable.
3830 (decode_f_option): Handle new options -fstack-limit-register=REG,
3831 -fstack-limit-symbol=IDENT, -fno-stack-limit.
3832 (main): Add stack_limit_rtx as GC root.
3833 * tree.h (DECL_NO_LIMIT_STACK): New macro.
3834 (struct tree_decl): New member no_limit_stack.
3836 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
3838 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
3839 (conditional_trap+1): Get new mnemonic correct.
3840 (conditional_trap+2): New pattern for DImode traps.
3842 * config/m68k/m68k.c (output_function_prologue): Handle
3844 * config/m68k/m68k.md (trap): New insn.
3845 (conditional_trap): New insn.
3846 * md.texi (Standard Names): Document `trap' and
3848 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
3849 so a cc0 setter doesn't get emitted at some random place in the
3852 * config/i960/i960.md (trap): New insn.
3853 (conditional_trap): New expander.
3854 (conditional_trap+1, conditional_trap+2): New insns for signed
3856 * config/i960/i960.c (i960_function_prologue): Use
3857 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
3859 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
3860 Geoffrey Keating <geoffk@cygnus.com>
3862 * flags.h (warn_padded, warn_packed): Add global var decls.
3863 * toplev.c (warn_padded, warn_packed): Add global var defns.
3864 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
3865 * stor-layout.c (layout_record): Add local variable `type'
3866 to hold often-used TREE_TYPE (field). Add local variable
3867 `unpacked_align' to hold alignment that would be in force
3868 if no `packed' attribute were present. Warn if `packed' attribute
3869 is unnecessary, or even harmful. Warn when gcc inserts padding
3870 to satisfy alignment requirements of members. Use NULL_TREE
3871 when checking whether var_size is set.
3872 * invoke.texi: Document new flags.
3874 1999-12-03 Nathan Sidwell <nathan@acm.org>
3876 * frame.c (fde_split): Reimplement to avoid variable sized array.
3878 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3880 * combine.c (try_combine): Before fixing up LOG_LINKS for the
3881 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
3883 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
3885 * invoke.texi: Document the mips option -mno-crt0
3887 1999-12-02 Mike Karr <mkarr@mathworks.com>
3889 * cccp.c (argdata): Added free_ptr member.
3890 (macroexpand): Initialize free_ptr of each argument. When an
3891 argument's buffers are freed, if the argument's free_ptr corresponds
3892 to a buffer on the input stack, then return the free_ptr to that stack
3893 frame, otherwise, free it.
3894 (macarg): If an argument begins and ends on the same input stack level,
3895 then transfer the free_ptr of that buffer to the argument in case
3896 the stack is popped during the processing of a subsequent argument.
3898 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
3900 * loop.c (note_reg_stored): New function.
3901 (struct note_reg_stored_arg): New structure.
3902 (try_copy_prop): Change to be more conservative; only replace within
3903 one extended basic block and stop replacing if a store to the
3904 replacement reg is seen.
3906 1999-12-02 Nick Clifton <nickc@cygnus.com>
3908 * config/fp-bit.c: Initialise all fields of the NAN
3911 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
3914 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
3916 * i386.md (extend?f?f2): Force the input into a register, not
3919 1999-12-01 Jakub Jelinek <jakub@redhat.com>
3921 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
3923 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
3924 alternative because setting up 64bit constant is usually costly,
3925 especially when reload is in progress or completed.
3926 (movdf_const_intreg_sp64): Likewise.
3927 (movdf_const_intreg split): Fix building up constants when
3928 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
3930 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
3932 * combine.c (if_then_else_cond): Use const_true_rtx instead of
3933 const1_rtx for return values in EQ/NE comparison against (const_int 0)
3936 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
3937 (asm_file_start): Emit .am33 into assembly file when compiling for
3939 (print_operand_address): Handle POST_INC addresses.
3940 (can_use_return_insn, initial_offset): Check AM33 registers too.
3941 (expand_prologue): Check & save AM33 registers too.
3942 (expand_epilogue): Similarly.
3943 (secondary_reload_class): Handle AM33 specific secondary reloads.
3944 (output_tst): Emit efficient code for the AM33 too.
3945 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
3946 (TARGET_SWITCHES): Add -mam33 switch.
3947 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
3948 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
3949 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
3950 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
3951 (enum reg_class, REG_CLASS_NAMES): Likewise.
3952 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
3953 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
3954 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
3955 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
3956 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
3957 (HAVE_POST_INCREMENT): Define.
3958 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
3959 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
3960 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
3961 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
3962 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
3963 (zero_extend to SI from QI/HI): Likewise.
3964 (sign_extend to SI from QI/HI): Likewise.
3965 (mulsidi3, umulsidi3): New patterns for the AM33.
3966 (tstsi with zero extension from QI/HI): Add AM33 variants.
3967 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
3968 (return_internal_regs, store_movm): Handle new AM33 registers.
3969 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
3970 (LIBGCC, INSTALL_LIBGCC): Likewise.
3971 * invoke.texi: Document new flags.
3973 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3975 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
3976 (addsi3_carry): Likewise.
3977 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
3978 (sbbsi3_carry): Likewise.
3979 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
3981 (test?i_1): Ensure that only one operand is memory.
3982 (conditional move patterns): likewise.
3983 (shift and rotate patterns): Rewrite to expander, add
3984 "binary_operator_ok" to the condition.
3986 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
3987 * i386.h (procesor_costs): Add movzbl_load field.
3988 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
3989 non-Q registers, accept DImode registers anywhere.
3991 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
3992 * i386.c (*_cost): Set value for movxbl_load field.
3994 * (addsi): New add to lea splitter.
3996 (lea to add/shift peep2): New.
3998 1999-12-01 Mark Salter <msalter@cygnus.com>
4000 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
4001 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
4002 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
4004 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4006 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
4007 * i386.md (movsi_xor): New.
4009 (movsi_1, movhi_1, movqi_1): Remove.
4010 (movsi_2): Rename to movsi_1.
4011 (movhi_2): Rename to movhi_1.
4012 (movqi_2): Rename to movqi_1.
4013 (movdi_1): Remove; remove splitter.
4014 (movdi_2): Rename to movdi_1.
4015 (divmodsi4 splitter): Do not emit clobbers for move patterns.
4016 (long move peep2): Do not create QI or HI mode mov0s
4017 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
4019 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
4022 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4023 (abs?f2_if): Likewise.
4025 1999-11-30 Alex Samuel <samuel@codesourcery.com>
4027 * ggc.h (ggc_test_and_set_mark): New macro.
4028 (ggc_mark_rtx): Use ggc_test_and_set_mark.
4029 (ggc_mark_tree): Likewise.
4030 (ggc_mark_rtvec): Likewise.
4031 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
4033 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
4035 * dwarf2out.c (scope_die_for): Only handle types. Only search for
4037 (decl_scope_table): Just an array of trees now.
4038 (push_decl_scope): Simplify.
4039 (dwarf2out_init): Adjust.
4040 (local_scope_p): New fn.
4041 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
4042 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
4043 (gen_typedef_die): Likewise.
4044 (gen_lexical_block_die): Don't call push/pop_decl_scope.
4045 (gen_inlined_subroutine_die): Likewise.
4046 (gen_abstract_function): Set current_function_decl temporarily.
4047 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
4048 Handle block extern declarations. Don't call push/pop_decl_scope.
4049 (gen_decl_die): Fix logic for block externs.
4051 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4053 * calls.c (special_function_p): Remove `realloc' and add `strdup'
4054 to the list of functions which have attribute malloc by default.
4056 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4058 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
4059 integer constant does not match the traditional type, limit the
4060 warnings to cases where the base of the type is ten.
4062 * invoke.texi (-Wtraditional): Document it.
4064 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4066 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
4067 * rs6000.md: Only access a CONST_INT with INTVAL
4069 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
4071 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
4072 (compute_nearerout): Likewise.
4073 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
4074 size_t to unsigned long for formatting.
4076 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4078 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
4079 Allow the user to override call-used/fixed state of %g2-5
4080 registers from the command line (with the exception of %g4 for
4082 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
4083 there is a higher chance of having a leaf function.
4084 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
4085 for ARCH64 which has %ccr register.
4086 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
4088 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
4089 insn accept into delay slot any insn which does not use %[ol]
4090 registers. Accept some LO_SUM and shift left by 1 for the normal
4092 (output_function_epilogue): Likewise.
4093 (epilogue_renumber): Added argument which inhibits any renumbering
4094 and just tests if the rtx does not use any %[ol] registers.
4095 (output_return): Reflect above change.
4097 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4099 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
4100 aggregate passing for sizes <= 16 bytes.
4102 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
4104 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
4105 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
4106 * reload.c (find_dummy_reload): Likewise.
4107 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
4108 * reload1.c (reload_as_needed): Likewise.
4109 * stupid.c (stupid_find_reg): Likewise.
4110 * tm.texi (Obsolete Register Macros): Delete section.
4111 * gmicro.h: Remove all traces of the two macros.
4116 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
4118 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
4119 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
4120 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
4121 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
4122 units for the sparclite86x chip.
4123 (flush): Revert October 14th change; add SImode specifically.
4124 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
4125 * invoke.texi: Document it.
4127 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
4129 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
4130 psimode_truncation_operand.
4132 * config/mn10200/mn10200.c (psimode_truncation_operand): New
4133 function. Return true if the operand is either a MEM valid
4134 for a PSImode address or not a MEM at all.
4136 * config/mn10200/mn10200.md (truncsipsi2): Use
4137 psimode_truncation_operand.
4139 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4141 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
4142 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
4143 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
4144 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
4145 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
4146 (flow_loop_level_compute, low_loops_level_compute): Likewise.
4147 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
4148 * basic-block.h: Protect from multiple inclusion.
4149 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
4150 (struct loops, struct loop): Define structures.
4151 * sbitmap.c (sbitmap_a_subset_b_p): New function.
4152 * sbitmap.h: Protect from multiple inclusion.
4153 (sbitmap_a_subset_b_p): Add prototype.
4154 * Makefile.in (LOOP_H): New macro.
4155 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
4157 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
4159 * cppinit.c (CAT): The argument list of this macro may not contain
4162 1999-11-29 David S. Miller <davem@redhat.com>
4164 Move quantity tables and register equivalence chains into
4165 per-qty and per-register structure arrays respectively.
4166 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
4167 qty_const_insn, qty_comparison_code, qty_comparison_const,
4168 qty_comparison_qty): Delete, replace with...
4169 (qty_table): this structure table.
4170 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
4171 (reg_eqv_table): this structure table.
4172 (make_new_qty): Add argument MODE. Caller updated.
4173 Update to use qty_table and reg_eqv_table.
4174 (make_regs_eqv, delete_reg_equiv, insert_regs,
4175 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
4176 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
4177 cse_process_notes, cse_main, cse_basic_block): Likewise.
4179 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4181 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
4182 operation if C is negative.
4183 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
4184 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
4185 law for some divisions if constant is negative and change other
4186 divisions to the opposite rounding.
4188 * expr.c (store_constructor_field): If bit position is not multiple
4189 of alignment of TARGET's mode, use BLKmode.
4191 * expr.c (expand_expr_unaligned): Add more code from full case
4192 that is needed when OP0 is in a register.
4194 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4196 * dwarfout.c (field_byte_offset): Size can be zero if there was
4199 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
4201 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
4202 (associate_trees): Delete unused var TEM.
4203 (extract_muldiv): Delete unused var CANCEL_P.
4205 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
4206 (target_isinf, target_isnan, target_negative): Add return types to
4207 function definitions.
4209 1999-11-29 Bruce Korb <autogen@linuxbox.com>
4211 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
4212 * fixinc/hackshell.tpl: ditto
4213 * fixinc/fixtests.c(double_slash_test): more C++ header testing
4214 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
4216 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
4218 * reload.c (push_reload): When looking for a register to put into
4219 reg_rtx, make sure all hard regs in a multi-reg register are in the
4220 right class and nonfixed.
4222 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
4223 pending_read_insns, pending_write_insns, pending_read_mems,
4224 pending_write_mems, pending_list_length, last_pending_memory_flush,
4225 last_function_call, sched_before_next_call): Move static variables
4227 (bb_ prefixed versions): Replace with single array bb_deps.
4228 (struct deps): New structure.
4229 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
4230 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
4231 argument of type "struct deps *"; use that instead of global
4232 variables. All callers changed.
4233 (init_rgn_data_dependencies): Delete function.
4234 (init_rtx_vector): Delete function.
4235 (init_deps): New function.
4237 (free_pending_lists): Simplify, we always use the bb_deps array even
4238 if only one basic block.
4239 (compute_block_backward_dependences): Likewise.
4240 (schedule_region): Likewise.
4242 (propagate_deps): New function, broken out of
4243 compute_block_backward_dependences.
4244 (compute_block_backward_dependences): Use it.
4246 * alpha.md: Delete useless patterns that tried to work around
4247 register elimination problems.
4249 * unroll.c (loop_iterations): Don't abort if iteration variable
4252 From Joern Rennecke:
4253 * reload1.c (reloads_conflict): Reverse test comparing operand
4254 numbers when testing for conflict between output/outaddr reloads.
4256 1999-11-29 David S. Miller <davem@redhat.com>
4258 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
4260 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
4262 1999-11-28 Robert Lipe <robertl@cygnus.com>
4264 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
4265 table from .fini into .dtor.
4267 1999-11-28 Anthony Green <green@cygnus.com>
4269 * tree.h (struct tree_decl): Add malloc_flag.
4270 (DECL_IS_MALLOC): Define.
4271 * c-common.c (attrs): Add A_MALLOC attribute.
4272 (init_attributes): Add this attribute to the table.
4273 (decl_attributes): Handle malloc attribute.
4274 * calls.c (special_function_p): Check for the malloc attribute.
4275 * extend.texi (Function Attributes): Document malloc attribute.
4277 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
4279 * pa.md (reload shift-add patterns): Remove.
4281 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4283 * reorg.c (dbr_schedule) Print more statistics. Corrected
4284 problem when printing info when 3 delay slots are filled.
4286 1999-11-28 Jakub Jelinek <jakub@redhat.com>
4288 * combine.c (setup_incoming_promotions): Pass an outgoing
4289 regno to FUNCTION_ARG_REGNO_P which it expects.
4291 1999-11-28 Andreas Jaeger <aj@suse.de>
4293 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
4295 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
4297 * cccp.c (do_include): Avoid initialization of automatic variable.
4299 * integrate.c (mark_stores): Function definition made void, to match
4300 previous declaration.
4301 * regclass.c (dump_regclass): Ditto.
4302 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
4304 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4306 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
4307 known to be multiple of divisor.
4309 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
4311 * combine.c (try_combine): Add code to try to merge a set of a
4312 two-word pseudo to a constant with a setting of one of those words
4315 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
4316 (split_tree): Completely rework to make more general.
4317 (make_range, fold): Call negate_expr.
4318 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
4319 (fold, associate): Call new split_tree and associate_trees.
4320 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
4322 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
4324 * loop.c (try_copy_prop): Avoid GNU C extension.
4326 1999-11-25 Mark Mitchell <mark@codesourcery.com>
4328 * except.c (init_eh_for_function): Still zero eh_return_context,
4329 eh_return_stack_adjust, and eh_return_handler.
4331 * except.h (eh_status): Adjust documentation for x_protect_list.
4332 (begin_protect_partials): New function.
4333 * except.c (enqueue_eh_entry): Fix formatting.
4334 (get_first_handler): Add consistency check.
4335 (add_partial_entry): Adjust usage of protect_list.
4336 (emit_cleanup_handler): Save and restore ehqueue.
4337 (expand_start_all_catch): Add comment.
4338 (begin_protect_partials): New function.
4339 (end_protect_partials): Adjust usage of protect_list.
4340 (init_eh_for_function): Use xcalloc.
4342 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4344 * c-common.c (check_format_info): Don't call a variadic function
4345 with a non-literal format string.
4347 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
4349 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
4350 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
4353 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
4356 * collect2.c (collect_wait): Likewise.
4358 * dbxout.c (dbxout_type): Likewise.
4360 * gcc.c (do_spec_1): Likewise.
4362 * genemit.c (gen_insn, gen_expand): Likewise.
4364 * genrecog.c (write_switch, write_subroutine): Likewise.
4366 * mips-tfile.c (catch_signal, botch): Likewise.
4368 * print-rtl.c (print_rtx): Likewise.
4370 * toplev.c (default_print_error_function, report_error_function,
4371 _fatal_insn): Likewise.
4373 1999-11-25 Mark Mitchell <mark@codesourcery.com>
4375 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
4377 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4379 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
4380 operations when needed.
4381 * i386.md (fop_?f_comm): New.
4382 (fop_?f_1): Do not accept commutative operands.
4384 1999-11-25 Andreas Jaeger <aj@suse.de>
4386 * config/mips/mips.md (casesi_internal): Add missing brace.
4388 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
4390 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
4391 (splice_child_die): Handle moving a child DIE from the declaration
4392 DIE of a class to its specification.
4393 (gen_struct_or_union_type_die): Use 'complete' consistently.
4394 (gen_decl_die): Generate the virtual context DIE first.
4395 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
4397 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
4399 * config/mips/mips.md (call_value_multiple_interanal1): New.
4401 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
4403 * dwarf2out.c (free_AT, free_die): New fns.
4404 (remove_children): Call them.
4405 (output_line_info): Disable removal of duplicate notes.
4407 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
4408 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
4409 means pretend the type isn't defined.
4410 Don't defer emitting types.
4411 (gen_type_die_for_member): New fn.
4412 (gen_decl_die): Call it.
4413 (splice_child_die): New fn.
4414 (gen_member_die): Call it rather than generate duplicate dies.
4416 Defer emitting information for the abstract instance of an inline
4417 until we either inline it or emit an out-of-line copy.
4418 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
4419 from output_inline_function if DECL_ABSTRACT is also set.
4420 (block_ultimate_origin): Likewise.
4421 (gen_abstract_function): New fn.
4422 (gen_decl_die, gen_inlined_subroutine_die): Call it.
4423 (gen_subprogram_die): An abstract instance is not a declaration
4424 just because it doesn't match current_function_decl. Don't abort
4425 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
4426 has an abstract origin.
4427 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
4428 abstract instance here.
4430 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
4432 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
4433 where we need to reload fpul from a system register.
4435 1999-11-24 Andreas Jaeger <aj@suse.de>
4437 * config/mips/linux.h (CPP_PREDEFINES): Added.
4438 (LINK_SPEC): Remove -Y since this is only needed on sparc.
4440 1999-11-24 Andreas Jaeger <aj@suse.de>
4442 * config/mips/linux.h (TARGET_VERSION): Added.
4443 (HANDLE_SYSV_PRAGMA): Added.
4444 (DEFAULT_VTABLE_THUNKS): Added.
4446 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4448 * local-alloc.c (qty): New structure and static variable.
4449 (qty_phys_reg): Remove, all references changed to qty.
4450 (qty_n_refs): Likewise.
4451 (qty_min_class): Likewise.
4452 (qty_birth): Likewise.
4453 (qty_death): Likewise.
4454 (qty_size): Likewise.
4455 (qty_mode): Likewise.
4456 (qty_n_calls_crossed): Likewise.
4457 (qty_alternate_class): Likewise.
4458 (qty_changes_size): Likewise.
4459 (qty_first_reg): Likewise.
4460 (alloc_qty): Rename variable QTY to QTYNO.
4461 (finf_free_reg): Likewise.
4462 (local_alloc): Allocate qty, do not allocate the removed variables.
4464 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
4466 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
4467 when -membedded-pic is passed.
4469 * config/mips/mips.md (casesi): Handle 64-bit case too.
4470 (casesi_internal_di): New insn.
4472 * config/mips/mips.c (embedded_pic_offset): Always make the
4473 embedded-pic subtractions relative to the name of the current
4474 function by use of the magic string "..CURRENT_FUNCTION".
4475 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
4477 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
4479 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
4480 of (const_int 0), when what we really care about is
4481 whether it's a zero constant anyway.
4482 (div_trap_mips16): Likewise.
4484 1999-11-23 Mark Mitchell <mark@codesourcery.com>
4486 * loop.c (loop_optimize): Always find_loop_tree_blocks and
4487 unroll_block_trees when generating debuggable code.
4489 * tree.h (unsave_expr_1): New function.
4490 (lang_unsave): New variable.
4491 (get_callee_fndecl): New function.
4492 * tree.c (unsave_expr_now_r): New function.
4493 (lang_unsave): Define.
4494 (unsave_expr_1): Likewise.
4495 (unsave_expr_now_r): Split out from unsave_expr_now.
4496 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
4497 call unsave_expr_now_r.
4498 (get_callee_fndecl): Define.
4500 * Makefile.in (gencheck): Don't depend on lang_tree_files.
4501 (gencheck.o): Do depend on lang_tree_files.
4503 * integrate.h (copy_decl_for_inlining): New declaration.
4504 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
4505 (copy_decl_for_inlining): New function.
4506 (integrate_parm_decls): Use it.
4507 (integrate_decl_tree): Likewise.
4509 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
4511 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
4512 the second two from the first.
4513 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
4514 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
4515 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
4517 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
4518 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
4521 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
4523 * pa.md (call_internal_symref, call_value_internal_symref): No mode
4524 needed on the address operand.
4525 * pa.c (call_operand_address): Check for the correct mode.
4527 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
4529 * loop.c: Include "basic-block.h".
4530 (try_copy_prop, replace_loop_reg): New functions.
4531 (load_mems): Detect registers that just hold copies of the hoisted
4532 mem, and call try_copy_prop to eliminate them.
4533 * Makefile.in (loop.o): Update dependencies.
4535 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
4537 * Makefile.in (gencheck.o): Depend on gencheck.h.
4538 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
4539 (insn-peep.o): Depend on except.h and function.h.
4540 (insn-attrtab.o): Depend on RECOG_H.
4541 (insn-output.o): Depend on toplev.h and flags.h.
4542 (gengenrtl.o): Depend on real.h.
4543 (gen-protos.o): Depend on cpplib.h and cpphash.h.
4544 Unify all dependencies to be on RECOG_H rather than recog.h.
4546 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4548 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
4549 * configure.in: Try building a bi-arch 32/64-bit compiler on
4550 sparc-*-solaris2.7 and higher.
4551 * configure: Rebuild.
4553 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
4555 * config/freebsd.h: New, FreeBSD architecture independent file.
4556 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
4558 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
4559 directly by i386/freebsd.h.
4560 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
4561 independent configuration file.
4562 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
4563 directly by i386/freebsd.h.
4564 * configure: Rebuilt.
4566 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
4567 which is in the user's namespace.
4568 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
4569 `i386' which is not in our namespace.
4571 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
4573 * invoke.texi (ARM Options): Add in -mno-alignment-traps
4575 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
4577 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
4578 (add_dwarf_attr, add_child_die): Just push onto the front.
4579 (reverse_die_lists): New fn.
4580 (add_sibling_attributes): Use it.
4581 (push_decl_scope): Reorganize.
4582 (add_name_and_src_coords_attributes): Don't set file and line for
4584 (gen_subprogram_die): An artificial function doesn't need to match
4586 (gen_compile_unit_die): Return the generated die. Only add
4587 AT_comp_dir if the filename is relative.
4588 (remove_AT): Simplify loop. Also free string values.
4589 (output_die): A DIE ref can't be null.
4590 (output_value_format, value_format): Take a dw_attr_ref.
4591 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
4592 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
4593 AT_addr, AT_lbl): New fns.
4594 (various): Use them.
4595 (various): Constify.
4597 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4599 * combine.c (combine_simplify_rtx): When handling a SUBREG,
4600 take SUBREG_WORD into account.
4601 (if_then_else_cond): Likewise.
4603 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
4605 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
4606 clause from BSD license, pursuant with
4608 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
4610 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
4612 * loop.c (load_mems): Reformat slightly.
4613 * basic-block.h (regset_head): New typedef.
4614 (INIT_REG_SET): New macro.
4616 1999-11-22 Bruce Korb <autogen@linuxbox.com
4618 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
4619 (mips-dec-bsd*): non-functional code
4620 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
4622 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
4623 added three replacement fixes
4624 (no_double_slash): removed comments that are not (any longer) pertinent
4625 (bad_lval): this fix currently runs against many files.
4626 The comment seems to indicate that we should select for files
4627 containing 'pragma extern_prefix'.
4629 * fixinc/fixinc.x86-linux-gnu: deleted
4630 * fixinc/inclhack.sh: regen
4631 * fixinc/fixincl.x: regen
4632 * fixinc/fixincl.sh: regen
4634 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
4636 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
4637 its code is INSN and it has no notes.
4639 1999-11-22 Andrew Haley <aph@cygnus.com>
4641 * varasm.c (function_defined): Remove.
4642 (make_function_rtl): Don't set function_defined.
4643 (make_decl_rtl): Remove global register warning.
4644 * regclass.c (no_global_reg_vars): New variable.
4645 (globalize_reg): Warn if function has already been defined.
4646 (regclass_init): Set no_global_reg_vars.
4648 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4650 * regclass.c (reg_pref): New structure and static variable
4651 (prefclass): Delete.
4653 (all uses of prefclass and altclass): Use reg_pref instead.
4655 1999-11-21 Nick Clifton <nickc@cygnus.com>
4657 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
4659 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
4660 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
4661 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
4663 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
4665 * varasm.c (output_constructor): Solve problem with long long
4666 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
4668 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4670 * global.c (allocno): New structure and static variable.
4671 (allocno_reg): Remove, all references replaced by allocno.
4672 (allocno_size): Likewise.
4673 (hard_reg_conflicts): Likewise.
4674 (hard_reg_preferences): Likewise.
4675 (hard_reg_copy_preferences): Likewise.
4676 (hard_reg_full_preferences): Likewise.
4677 (regs_someone_prefers): Likewise.
4678 (allocno_calls_crossed): Likewise.
4679 (allocno_n_refs): Likewise.
4680 (allocno_live_length): Likewise.
4681 (find_reg): Rename ALLOCNO to NUM.
4683 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
4685 (may_move_out_cost): New variable.
4686 (init_reg_sets_1): Initialize may_move_out_cost.
4687 (record_reg_classes): Use may_move_out_cost.
4689 * regclass.c (dump_regclass): New function.
4690 (regclass): New parameter DUMP, call DUMP_REGCLASS.
4691 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
4692 pass rtl_dump_file to regclass.
4693 * rtl.h (regclass): Update prototype.
4695 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4697 * i386.md (neg, not and abs patterns): Revmap to use
4698 ix86_expand_unary_operator and ix86_unary_operator_ok.
4699 (add?f and sub?f expanders): Force operand 1 to register.
4700 * i386.c (ix86_expand_unary_operator): Rewrite.
4701 (ix86_unary_operator_ok): Ensure that memory operands
4703 (ix86_binary_operator_ok): Do not allow operand 1 to
4704 come into memory and operand 0 not.
4705 (ix86_expand_binary_operator): Ensure that
4706 src1 is not non-matching memory.
4708 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
4709 to support integer registers and memory.
4710 (abss?2_integer): Likewise.
4712 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
4713 (REG_CLASS_NAMES): Likewise.
4714 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
4716 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
4717 (movsf): Likewise; unify 4th and 5th alternative.
4719 (movdf_1): Likewise; rename to movdf_integer.
4720 (pushxf): Likewise; rename to pushxf_integer; fix output template;
4721 remove redundant splitter.
4722 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
4723 (movdf_nointeger): New.
4724 (movxf_nointeger): New.
4725 (pushxf_nointeger): New.
4727 * i386.md (extend?f?f): Split to expander and pattern, refuse two
4728 memory operands in patterns.
4729 (fop*): Refuse two memory operands.
4731 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
4732 on !TARGET_USE_CLTD CPUs.
4734 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
4736 * extend.texi: Document C++ restricted pointers and references.
4738 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
4740 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
4741 (invalidate_skipped_set): Call it unconditionally.
4742 (cse_set_around_loop): Likewise.
4744 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
4746 * rtl.texi (mem): Add documentation for alias-set argument
4749 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4751 * i386.h (struct_processor_costs): New fields int_load, int_store,
4752 fp_move, fp_load and fp_store
4753 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
4755 (MEMORY_MOVE_COST): New macro.
4756 * i386.c (386_cost): Define new fields.
4757 (i486_cost): Likewise.
4758 (pentium_cost): Likewise.
4759 (pentiumpro_cost): Likewise.
4760 (k6_cost): Likewise.
4762 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
4763 Geoffrey Keating <geoffk@cygnus.com>
4765 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
4767 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
4770 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
4771 (TARGET_STRICT_ALIGNMENT): New macro.
4772 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
4773 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
4774 * invoke.texi (M680x0 Options): Document -mstrict-align.
4776 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
4777 Richard Henderson <rth@cygnus.com>
4779 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
4780 (ix86_split_long_move): Declare.
4781 * i386.c (split_xf, ix86_split_movdi): Remove.
4782 (ix86_split_to_parts, ix86_split_long_move): New.
4783 * i386.md (dimode move splitters): Use ix86_split_long_move.
4784 (dfmode move splitters): Likewise.
4785 (xfmode move splitters): Likewise.
4786 (movsf_1): Allow F->r.
4787 (movdf_1, movxf_1): Allow F->ro.
4789 1999-11-17 Mark Mitchell <mark@codesourcery.com>
4791 * except.h (struct eh_entry): Add goto_entry_p.
4792 (eh_region_from_symbol): Remove prototype.
4793 * except.c (find_func_region_from_symbol): New function.
4794 (emit_cleanup_handler): Likewise.
4795 (eh_region_from_symbol): Make it static.
4796 (add_new_handler): Verify the argument.
4797 (find_func_region): Update comment.
4798 (expand_eh_region_end): Expand handlers here, rater than waiting
4799 until expand_leftover_cleanups or start_all_catch.
4800 (expand_leftover_cleanups): Don't expand here.
4801 (expand_start_all_catch): Or here.
4802 (expand_rethrow): Check the return value from find_func_region.
4803 * function.c (expand_function_end): Emit the catch_clauses.
4805 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
4807 * integrate.c (expand_inline_function): Add necessary check for NULL.
4809 1999-11-18 Nick Clifton <nickc@cygnus.com>
4811 * toplev.c (main): Correctly detect an unrecognised option.
4813 * cppinit.c (cpp_handle_option): Do not claim to have consumed
4814 a -f option if it has not been recognised.
4816 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
4818 * basic-block.h (update_life_extent): Remove trailing comma on
4819 enumeration type list.
4821 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4823 * varasm.c (output_constructor) Solved problem with long long
4824 bitfields. Corrected calculating this_time and shift. Also
4825 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
4827 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
4829 * flow.c (split_edge): Take looping structure into account when
4830 determining where to put the new block note.
4832 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
4834 * Makefile.in (ggc-none.o): Provide host specific version if
4837 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
4839 * cse.c (delete_trivially_dead_insns): Identify no-op insns
4840 containing subregs too.
4842 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
4844 * invoke.texi: Add documentation for -muninit-const-in-rodata.
4845 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
4846 (TARGET_UNINIT_CONST_IN_RODATA): Define.
4847 (text_section): Add switches -munint-const-in-rodata and
4848 -mno-uninit-const-in-rodata.
4849 (ASM_OUTPUT_COMMON): Remove.
4850 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
4851 const objects should be placed in read-only data. Otherwise declare
4854 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
4856 * jump.c (jump_optimize_1): Revert last change.
4858 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
4860 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
4861 test if optimizing for size.
4863 1999-11-17 Mark Mitchell <mark@codesourcery.com>
4865 * Makefile.in (toplev.o): Depend on except.h.
4866 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
4868 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4870 * i386.md (divmodsi4): Rewrite to expander.
4871 (*divmodsi4_nocltd): New.
4872 (*divmodsi4_cltd): New.
4873 (divmodsi4 splitter): Handle the case when input comes in edx.
4874 (udivmodhi4): Do not use constraints in exander.
4875 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
4877 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
4879 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
4880 for the common case.
4882 1999-11-16 Jakub Jelinek <jakub@redhat.com>
4884 * explow.c (hard_function_value): Add outgoing argument.
4885 * expr.h (hard_function_value): Declare it.
4886 * calls.c (expand_call, emit_library_call_value): Update callers.
4887 * function.c (aggregate_value_p): Ditto.
4888 (diddle_return_value): Must look at the outgoing registers
4889 on archs with register windows.
4891 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
4893 * alpha.c (alpha_build_va_list): Use make_lang_type and
4894 initialize TYPE_NAME for the va_list record.
4896 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
4898 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
4900 * ggc.h (struct ggc_statistics): Rearrange elements for better
4901 packing on 64-bit hosts.
4902 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
4903 (compute_nearerout): Likewise.
4905 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
4907 * config/rs6000/rs6000.c (first_reg_to_save): Save
4908 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
4910 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
4912 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
4913 notion of nesting to find the DIE for a type or function.
4914 DIEs can go in limbo even if we got a context_die.
4915 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
4916 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
4918 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
4919 (gen_type_die): Writing out the context doesn't cause member class
4920 template instantiations to be written out as well.
4922 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
4924 * rs6000.h (ASM_OUTPUT_DEF): New.
4925 Based on proposed addition from David Edelsohn.
4927 1999-11-15 Robert Lipe <RobertLipe@usa.net>
4928 Bruce Korb <autogen@linuxbox.com>
4930 * fixinc/inclhack.def
4931 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
4932 (unixware7_byteorder_fix): added. Removes conflicts for new defs
4934 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
4935 (svr4_endian): enabled with SVR5
4936 (svr4_mkdev): simplified syntax and enabled with SVR5
4938 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
4940 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
4941 * configure: Rebuilt.
4942 * config/t-freebsd-thread: New file.
4944 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
4946 * i386.c (ix86_decompose_address): Verify the base is a REG
4947 before trying to examine its register number.
4949 * basic-block.h: Remove all #defines and prototypes related to
4951 (free_bb_mem, compute_preds_succs): Remove prototype.
4952 * rtl.h (free_bb_mem): Remove prototype.
4953 * flow.c (alloc_int_list_node); Remove function.
4954 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
4955 (compute_preds_succs, free_bb_mem): Likewise.
4956 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
4957 * toplev.c (rest_of_compilation): Likewise.
4958 * haifa-sched.c (build_control_flow): Use flow generated edge
4959 list to build the haifa specific edge list.
4960 (find_rgns): Use new CFG data structures instead of pred/succ lists.
4961 (schedule_insns): Do not build pred/succ lists anymore. Instead
4962 build the edge table.
4964 * basic-block.h (dump_bb_data): Remove declaration.
4965 * flow.c (dump_bb_data): Remove function.
4966 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
4967 (sbitmap_union_of_predsucc): Likewise.
4969 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
4970 argument. All callers changed.
4971 (delete_null_pointer_checks_1): No longer need to compute the
4974 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
4975 All callers changed.
4976 (pre_expr_reaches_here_p_work): Likewise.
4977 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
4978 * lcm.c (compute_laterin): Fix initialization of LATER.
4979 (compute_nearerout): Similarly for NEARER.
4981 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4983 * cse.c (set_nonvarying_address_components): Delete unused function.
4984 (refers_to_p): Likewise.
4986 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
4988 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
4991 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4993 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
4994 definition in do while (0).
4996 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
4998 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
5000 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
5002 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
5004 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
5006 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
5007 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
5008 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5009 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
5011 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
5012 saved on the stack. Output more accurate stack frame statistics
5013 into assembler file.
5015 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
5017 * genextract.c (record_insn_name): New function.
5018 (get_insn_name): No longer a stub.
5019 (main): Call record_insn_name for each insn. After each label
5020 written, print the insn name in a comment.
5022 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5024 * output.h (const_section, init_section, fini_section): Add
5027 * alpha/elf.h (const_section): Delete declaration.
5029 * svr4.h (const_section): Likewise.
5031 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
5033 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
5034 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
5035 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
5037 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
5038 variable-sized array bounds.
5040 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
5042 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
5045 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5047 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
5048 addresses the same way GO_IF_LEGITIMATE_INDEX does.
5050 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5052 * cse.c (hash_arg_in_struct): Delete.
5053 (struct table_elt): Delete elt in_struct.
5054 (struct set): Delete elt src_in_struct.
5055 (merge_equiv_classes): Don't set either hash_arg_in_struct or
5056 the corresponding in_struct elts.
5057 (canon_hash): Likewise.
5058 (safe_hash): Likewise.
5059 (find_best_addr): Likewise.
5060 (record_jump_cond): Likewise.
5061 (cse_insn): Likewise.
5063 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
5065 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
5067 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
5070 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
5072 * function.c (diddle_return_value): Put back check that the DECL_RTL
5073 for the function is a register.
5075 * function.c (diddle_return_value): Use hard_function_value to
5076 get an rtx suitable for use in the USE/CLOBBER insn.
5078 * global.c (global_conflicts): Update comments.
5079 (record_conflicts): No need to record conflicts between pseudos here.
5081 1999-11-11 Bruce Korb <autogen@linuxbox.com>
5083 * fixinc/fixincl.c: Added verbose levels for status messages
5085 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5087 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
5088 operand as argument to expand_and or expand_binop.
5090 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
5092 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
5093 gcc_add_string_root.
5095 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
5097 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
5099 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
5101 * flow.c (compute_flow_dominators): Initially put all blocks on
5103 * lcm.c (compute_antinout_edge, compute_available): Similarly.
5104 * gcse.c (compute_cprop_avinout): Remove.
5105 (compute_cprop_data): Use compute_available.
5106 (delete_null_pointer_checks_1): Use compute_available.
5108 * basic-block.h (compute_available): Returns a void now.
5109 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
5110 to return a value anymore.
5111 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
5112 worklists. Fix boundary cases. Compute maximal solutions.
5113 (compute_laterin, compute_nearerout): Similarly.
5115 * dwarf2out.c (add_AT_location_description): Allow
5116 (mem (plus (pseudo) (...)) too.
5118 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
5120 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
5122 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
5123 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5125 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
5127 * gansidecl.h: Likewise.
5133 * toplev.h: Likewise.
5139 * varray.c: Likewise.
5141 * varray.h: Likewise.
5143 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
5145 * gcov.c (struct arcdata): Add hits and total, remove prob.
5146 (output_branch_counts): New.
5147 (process_args): Set output_branch_counts if -c.
5148 (calculate_branch_probs): Store hits and total instead of
5150 (output_data): Emit counts if output_branch_counts is true.
5151 * gcov.texi (Invoking Gcov): Document -c switch..
5153 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
5155 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
5156 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
5158 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
5160 * invoke.texi (C Dialect Options): Add missing builtins from
5162 * extend.texi (Other Builtins): Copy to this list.
5164 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5166 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
5167 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
5170 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
5172 * flow.c (compute_flow_dominators): No longer treat basic block 0
5173 or (n_basic_blocks - 1) specially. Clear the AUX field before
5174 starting computation of doms/pdoms. Fix initial state for pdoms.
5176 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5178 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
5179 match rtl.o's: added ggc.h and toplev.h
5180 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
5181 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
5182 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
5184 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
5186 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
5187 from HAVE_DOS_BASED_FILESYSTEM.
5188 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
5189 HAVE_DOS_BASED_FILESYSTEM.
5191 (split_directories): Only special-case DOS file names if
5192 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
5193 instead of explicit tests. Conditionalize on !VMS.
5194 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
5195 tests. Conditionalize on !VMS.
5196 (process_command): Only use make_relative_prefix if !VMS.
5197 (free_split_directories): Conditionalize on !VMS.
5198 (DIR_UP): Conditionalize on !VMS.
5200 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
5202 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
5204 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
5206 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
5209 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
5211 * invoke.texi (Environment Variables): Document relative path
5213 * gcc.c (DIR_UP): If not defined, define as "..".
5214 (standard_bindir_prefix): New static, holds target location to
5216 (split_directories): New function to split a filename into
5217 component directories.
5218 (free_split_directories): New function, release memory allocated
5219 by split_directories.
5220 (make_relative_prefix): New function, make a relative pathname if
5221 the compiler is not in the expected location.
5222 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
5223 can figure out an appropriate prefix from argv[0].
5224 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
5225 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
5226 STANDARD_BINDIR_PREFIX.
5228 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5230 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
5232 * config/c4x/c4x.h: Moved prototypes to c4x.h.
5233 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
5234 c4x_secondary_memory_needed) Delete.
5235 (fp_zero_operand): Add mode argument.
5237 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
5239 * reload1.c (reload_reg_free_for_value_p): Don't use a register
5240 that is in reload_reg_used.
5242 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
5244 * config/arm/arm-protos.h: New file: Prototypes for functions
5245 defined in arm.c and pe.c.
5246 * config/arm/arm.h: Fix compile time warnings.
5247 * config/arm/arm.c: Fix compile time warnings.
5248 * config/arm/pe.h: Fix compile time warnings.
5249 * config/arm/aout.h: Fix compile time warnings.
5251 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
5253 * config/m32r/m32r-protos.h: New file: Prototypes for functions
5256 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
5257 Add support for subtargets.
5258 Add prototypes for new predicates.
5259 Add scheduling macros.
5261 * config/m32r/m32r.c: Fix compile time warnings.
5262 (int8_operand): New predicate function.
5263 (reg_or_cmp_int16_operand): New predicate function.
5264 (extend_operand): New predicate function.
5265 (m32r_adjust_code): New scheduling function.
5266 (m32r_adjust_priorty): New scheduling function.
5267 (m32r_sched_init): New scheduling function.
5268 (m32r_sched_reorder): New scheduling function.
5269 (m32r_sched_variable_issue): New scheduling function.
5270 (direct_return): New codegen function.
5271 (m32r_not_same_reg): New rtl testsing function.
5273 * config/m32r/m32r.md: Fix compile time warnings.
5274 Add support for pre decrement and post increment memory
5279 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5281 * global.c (EXECUTE_IF_CONFLICT): Don't define.
5282 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
5283 (find_reg): Likewise.
5285 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
5287 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
5288 to avoid assembler errors.
5290 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
5292 * config/v850/v850-protos.h: New file: Prototypes for functions
5294 * config/v850/v850.h: Move prototypes to v850-protos.h
5295 * config/v850/v850.c: Move prototypes to v850-protos.h
5296 * config/v850/v850.md: Fix compile time warnings.
5298 * config/fr30/fr30-protos.h: New file: Prototypes for functions
5300 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
5301 * config/fr30/fr30.c: Fix compile time warnings.
5302 * config/fr30/fr30.md: Fix compile time warnings.
5304 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
5306 * tree.h (get_containing_scope): Declare it.
5307 * tree.c (get_containing_scope): New fucntion.
5308 (decl_function_context): Use it.
5309 * toplev.c (rest_of_compilation): Use get_containing_scope.
5311 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5313 * Makefile.in (rtl.o): Depend on toplev.h.
5315 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
5317 * cse.c (delete_trivially_dead_insns): Replace alloca with
5319 * except.c (update_rethrow_references): Likewise.
5320 (init_eh_nesting_info): Likewise.
5321 * function.c (identify_blocks): Likewise.
5322 * gcse.c (dump_hash_table): Likewise.
5323 * graph.c (print_rtl_graph_with_bb): Likewise.
5324 * loop.c (combine_movables): Likewise.
5325 (move_movables): Likewise.
5326 (count_loop_regs_set): Likewise.
5327 (strength_reduce): Likewise.
5328 * profile.c (compute_branch_probabilities): New function, split
5330 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
5331 * regclass.c (regclass): Likewise.
5332 * regmove.c (regmove_optimize): Likewise.
5333 * toplev.c (compile_file): Likewise.
5334 (main): Don't mess with the stack rlimit.
5336 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
5338 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
5339 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
5341 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
5343 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
5345 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
5347 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
5348 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
5351 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
5353 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
5355 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
5357 * gcse.c (post_dominators): Kill.
5358 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
5359 (compute_code_hoist_data): Use compute_flow_dominators. Do not
5360 pass in a pdom array since we do not need pdoms.
5361 * haifa-sched.c (schedule_insns): Similarly.
5362 * flow.c (compute_dominators): Remove dead function.
5363 (compute_flow_dominators): Do not compute doms or pdoms if the
5364 caller does not request them. Split up loop to build doms and
5365 pdoms. Use a worklist to compute doms and pdoms.
5366 * basic-block.h (compute_dominators): Remove prototype.
5368 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
5370 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
5371 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
5372 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
5373 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
5374 (cant_move, fed_by_spec_load, is_load_insn): Remove.
5375 (schedule_region): Remove unused variable.
5376 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
5378 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
5380 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
5381 (update_equiv_regs): Likewise.
5382 (block_alloc): Likewise.
5383 * reg-stack.c (reg_to_stack): Likewise.
5384 (convert_regs_2): Likewise.
5385 * reload1.c (reload_as_needed): Likewise.
5387 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
5389 * Makefile.in (dbxout.o): Depend on ggc.h.
5390 (dwarf2out.o): Likewise.
5391 (xcoffout.o): Likewise.
5392 * dbxout.c: Include ggc.h.
5393 (dbxout_init): Register lastfile as a root.
5394 * dwarf2out.c: Include ggc.h.
5395 (dwarf2out_line): Register lastfile as a root.
5396 * xcoffout.c: Include ggc.h.
5397 (xcoffout_source_line): Register xcoff_lastfile as a root.
5399 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
5401 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
5403 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
5405 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
5407 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
5409 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5411 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
5412 (EXECUTE_IF_CONFLICT): Likewise.
5413 (ALLOCNO_LIVE_P): Avoid signed division.
5414 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
5415 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
5416 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
5418 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
5420 * haifa-sched.c (schedule_block): Don't crash if there's no
5421 next insn for an interblock movement.
5422 (add_branch_dependences): Don't allow clobber insns to move either.
5424 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
5426 * i386.c (split_xf): New.
5427 * i386-protos.h: Declare it.
5428 * i386.md (movxf_1): Add general regs alternatives.
5429 (movxf_1+1): New splitter for same.
5431 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
5433 * function.c (purge_addressof_1): Add missing return values.
5435 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
5437 * function.c (is_addressof): New function. Returns true if
5438 the given piece of RTL is an ADDRESSOF.
5439 (purge_addressof_1): Make boolean. Return false if the
5440 ADDRESSOFs could not be purged.
5441 (purge_addressof): If ADDRESSOFs could not be purged from the
5442 notes attached to an insn, remove the offending note(s),
5443 unless they are attached to a libcall.
5445 1999-11-05 Andreas Jaeger <aj@suse.de>
5447 * genoutput.c (null_operand =): Initialize all fields.
5449 * errors.h: Add extern to prototypes.
5451 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
5453 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
5454 * configure: Rebuilt.
5456 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5458 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
5459 (mirror_conflicts): New function.
5460 (global_alloc): Call it.
5461 (expand_preferences): Remove redundant CONFLICTP test.
5462 (find_reg, dump_conflicts): Likewise.
5463 (prune_preferences): Process conflicts one word at a time.
5465 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
5467 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
5468 instead of an explicit loop.
5470 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
5472 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
5473 if REG_RETVAL check succeeds, then put classp in src_elt.
5475 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
5477 * function.c (pad_to_arg_alignment): Only update argument_pad
5478 if the argument's alignment is greater than STACK_BOUNDARY.
5480 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
5482 * bitmap.h (BITMAP_XFREE): New.
5483 * flow.c (life_analysis): Use it.
5484 (life_analysis_1): Free blocks.
5486 * combine.c (undo_commit): New.
5487 (try_combine): Use it. Don't zap undobuf.undos.
5488 (combine_instructions): Don't zap undobuf.undos; free the
5491 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
5493 * stmt.c (cost_table_): New.
5494 (estimate_case_costs): Use it instead of xmalloc.
5496 * toplev.c (compile_file): Reuse dumpname memory instead
5499 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
5501 * reg-stack.c (convert_regs_1): Initialize target_stack->top
5502 after verifying an EH edge.
5504 * haifa-sched.c (init_rgn_data_dependences): Correctly
5505 size bb_pending_lists_length when zeroing.
5507 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
5509 * function.c (diddle_return_value): New.
5510 (expand_function_end): Use it.
5511 * stmt.c (expand_null_return): Likewise.
5512 (expand_value_return): Likewise.
5514 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
5516 * reload1.c (reload): Don't remove return value clobbers.
5518 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
5520 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
5522 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
5524 * cse.c (cse_main): Use xmalloc, not alloca.
5525 (cse_basic_block): Likewise.
5526 * local-alloc.c (local_alloc): Likewise.
5528 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
5529 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5531 * rtl.c: Include toplev.h.
5532 (fatal): Remove declaration.
5534 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
5536 * haifa-sched.c (schedule_block): Fix thinko.
5538 1999-11-03 James McKelvey <mckelvey@fafnir.com>
5540 * fixinc/fixincl.c(create_file): Allow for systems that do not have
5541 S_IR* defined values
5543 1999-11-03 Philippe De Muyter <phdm@macqel.be>
5545 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
5546 call `malloc' instead.
5548 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
5550 * flags.h (flag_renumber_insns): Declare.
5551 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
5553 * rtl.h (renumber_insns): Change prototype.
5554 * toplev.c (flag_renumber_insns): Define.
5555 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
5557 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
5559 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
5560 and fpsqrtd. Use them and create fdiv function unit to more
5561 accurately represent fpu sqrt pipeline semantics on UltraSparc.
5562 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
5564 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
5566 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
5568 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
5569 insn into ready list, do not use just a raw swap.
5571 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
5573 * rtl.h (renumber_insns): New function.
5574 (remove_unnecessary_notes): Likewise.
5575 * emit-rtl.c (renumber_insns): Define.
5576 (remove_unncessary_notes): Likewise.
5577 * toplev.c (rest_of_compilation): Remove dead code.
5578 Use renumber_insns and remove_unncessary_notes.
5580 * gcse.c (struct null_pointer_info): New type.
5581 (get_bitmap_width): New function.
5582 (current_block): Remove.
5583 (nonnull_local): Likewise.
5584 (nonnull_killed): Likewise.
5585 (invalidate_nonnull_info): Take a null_pointer_info as input.
5586 (delete_null_pointer_checks_1): New function.
5587 (delete_null_pointer_checks): Use it.
5589 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
5590 (split_edges): Likewise.
5591 (schedule_block): Likewise.
5592 (compute_block_backward_dependencies): Likewise.
5593 (schedule_region): Likewise.
5594 (schedule_insns): Likewise.
5596 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
5598 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
5599 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
5600 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
5601 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
5602 * jump.c (delete_unreferenced_labels): Don't delete if
5603 LABEL_ALTERNATE_NAME is set.
5604 * print-rtl.c (print_rtx): Dump alternate name.
5605 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
5606 * rtl.h (LABEL_ALTERNATE_NAME): Define.
5607 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
5608 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
5610 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5612 * fix-header.c (recognized_extern, recognized_function): Constify
5615 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
5616 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
5617 (compute_available): Remove unused variable `last'.
5618 (compute_nearerout): Remove unused variable `temp_bitmap'.
5619 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
5620 Remove unused variable `x'.
5622 * scan.h (recognized_function, recognized_extern): Constify a
5625 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
5627 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5629 * varasm.c (decode_rtx_const): Use XSTR to access the string
5632 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
5634 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
5636 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5638 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
5640 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
5642 * pa.c (ireg_operand): New function.
5643 * pa.h (PREDICATE_CODES): Handle ireg_operand.
5644 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
5645 Fix out of date comment.
5647 * pa.md (negdi2): Turn into expander + anonymous pattern.
5649 * reload.c (find_reloads): Fix typos in recent change.
5651 * dwarf2out.c: Do not include ctype.h.
5653 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5655 * regclass.c (record_reg_classes): Always use may_move_cost when
5656 seeing how operand fits with various register classes.
5658 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
5660 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
5661 * toplev.c: Revert Nov 1 13:22 change.
5663 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
5665 * config/pa/pa.md (height reduction patterns): Add checks for
5666 overlapping operands to avoid semantic-destroying splits for
5667 height reduction patterns.
5669 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5671 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
5672 have been an hyphen, fixed.
5673 * configure: Rebuilt.
5675 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
5677 * config/arm/tpe.h: Add prototypes for exported functions.
5678 * config/arm/pe.c: Fix compile time warnings.
5679 * config/arm/semi.h: Fix compile time warnings.
5680 * config/arm/arm.c: Fix compile time warnings.
5681 * config/arm/arm.h: Fix compile time warnings.
5682 * config/arm/arm.md: Fix compile time warnings.
5683 * config/arm/thumb.c: Fix compile time warnings.
5684 * config/arm/thumb.h: Fix compile time warnings.
5685 * config/arm/thumb.md: Fix compile time warnings.
5687 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
5689 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
5692 * unroll.c (unroll_loop): Remove LOOP notes when loop is
5693 completely unrolled.
5695 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5697 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
5699 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
5701 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
5702 * rtl.h (rtx_equal_p): Move prototype.
5703 * rtl.c (rtx_equal_function_value_matters): Move from
5705 (rtx_equal_p): Likewise.
5706 * rtlanal.c (rtx_equal_function_value_matters): Delete.
5707 (rtx_equal_p): Likewise.
5709 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
5711 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
5714 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
5716 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
5718 * pa.h (ADDR_VEC_ALIGN): Define.
5720 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
5721 notes when presented with "if (foo) break; end_of_loop" and
5722 the break sequence gets moved out of the loop.
5724 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
5725 Remove explicit zero initializations of entries within MAP.
5727 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
5729 * reg-stack.c (convert_regs_1): Handle EH edges specially.
5731 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
5733 * bitmap.h (BITMAP_XMALLOC): New macro.
5734 * flow.c (CLEAN_ALLOCA): Remove.
5735 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
5736 (life_analysis): Likewise.
5737 (update_life_info): Don't use CLEAN_ALLOCA.
5738 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
5739 (calculate_global_regs_live): Likewise.
5740 (print_rtl_with_bb): Likewise.
5741 (verify_flow_info): Likewise.
5742 * global.c (global_alloc): Likewise.
5743 (global_conflicts): Likewise.
5744 * integrate.c (save_for_inline_nocopy): Likewise.
5745 (expand_inline_function): Likewise.
5746 * jump.c (jump_optimize_1): Likewise.
5747 (duplicate_loop_exit_test): Likewise.
5748 (thread_jumps): Likewise.
5749 * loop.c (loop_optimize): Likewise.
5750 (combine_givs): Likewise.
5751 (recombine_givs): Likewise.
5752 * reorg.c (dbr_schedule): Likewise.
5753 * unroll.c (unroll_loop): Likewise.
5755 * combine.c (combine_instructions): Use xmalloc instead of alloca.
5757 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
5759 * toplev.c (rest_of_compilation): Don't optimize the CFG
5760 when rebuilding, just before dbr.
5762 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5764 * output.h (assemble_end_function, assemble_destructor,
5765 assemble_constructor, assemble_gc_entry, assemble_global,
5766 assemble_label, output_constant_pool) Constify a char*.
5768 * varasm.c (assemble_destructor, assemble_constructor,
5769 assemble_gc_entry, assemble_end_function, assemble_global,
5770 assemble_label, output_constant_pool): Likewise.
5772 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
5774 * config/arm/thumb.c (thumb_expand_prologue): Add comments
5775 explaining what is goin on in this function.
5777 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5779 * regclass.c (record_reg_classes): In matching case, recompute
5780 costs since the direction of movement is different.
5782 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5784 * resource.c (mark_target_live_regs): For unconditional branches,
5785 the resources found at the branch target should be added to the
5786 resources found so far, not intersected.
5788 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
5790 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
5792 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
5793 (sys/mman.h): Include this file only if #HAVE_MMAP.
5794 (run_compiles): Initialize `esac_fmt' with one old KR string, not
5795 with automatically concatenated ANSI strings.
5797 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
5799 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
5800 (DIV_ROUND_UP): Robustify.
5801 (ggc_recalculate_in_use_p): New function.
5802 (release_pages): Don't inline it.
5803 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
5805 (ggc_pop_context): Use ggc_recalculate_in_use_p.
5806 (clear_marks): Always save in_use_p.
5807 (sweep_pages): Use ggc_recalculate_in_use_p.
5808 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
5809 Release pages before counting statistics.
5811 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
5813 * toplev.c (rest_of_compilation): Fix thinko in this change:
5815 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
5817 (rest_of_compilation): If inside an inlined external function,
5818 pretend we are just being declared.
5820 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
5822 * flow.c (calculate_global_regs_live): Fix thinko.
5824 * integrate.c (expand_inline_function): Fix bugs in previous
5825 change from Oct 28, 1999.
5827 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
5829 * stmt.c (expand_value_return): Fix typo in this change:
5831 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5832 (expand_value_return): Correctly convert VAL when promoting function
5833 return; support RETURN_REG being a PARALLEL.
5835 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
5837 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
5839 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5841 * hard-reg-set.h (reg_names): Constify a char*.
5843 * regclass.c (reg_names): Likewise.
5845 * regs.h (reg_names): Likewise
5847 * a29k/a29k.c (reg_names): Delete declaration.
5849 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
5851 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
5852 arc_output_function_epilogue): Likewise.
5854 * elxsi/elxsi.c (reg_names): Likewise.
5856 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
5858 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
5861 * m88k/m88k.c (output_function_profiler): Likewise.
5863 * sparc/sparc.c (sparc_flat_output_function_prologue,
5864 sparc_flat_output_function_epilogue): Likewise.
5866 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
5868 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
5869 warning from -Wuninitialized and put it under -W.
5870 * function.c (uninitialized_vars_warning): Warn only when the
5871 corresponding flag is set.
5873 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
5875 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
5876 is nonzero and the single set does not have an elt, then assign
5879 * simplify-rtx.c: New file.
5880 * Makefile.in (OBJS): Add simplify-rtx.o
5881 (simplify-rtx.o): Add dependencies.
5882 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
5883 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
5884 (cse_gen_binary, simplify_unary_operation): Delete.
5885 (simplify_binary_operation, simplify_plus_minus): Likewise.
5886 (check_fold_consts, simplify_relation_operation): Likewise.
5887 (simplify_ternary_operation): Likewise.
5888 (delete_trivially_dead_insns): Simplify the contents of the
5889 REG_EQUAL note before trying to substitute it into the source
5890 of the reg-reg copy at the end of a libcall sequence.
5892 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
5893 references/callers changed.
5895 * mn10200.c (mn10200_va_arg): Force the return value into a
5898 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
5900 * cccp.c (macroexpand): Avoid out of range accesses for omitted
5903 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
5905 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
5907 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
5909 * fold-const.c (fold): Fix thinko when optimizing comparisons
5912 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
5914 * gcc.texi (Passes): Update front-end files to their current
5917 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
5919 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
5920 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
5921 (PREDICATE_CODES): Add addition_operation.
5922 * alpha-protos.h (addition_operation): Declare.
5923 (secondary_reload_class): Likewise.
5924 * alpha.c (addition_operation): New.
5925 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
5926 * alpha.md (adddi3): Turn into expander.
5927 (*lda, *adddi_2): New.
5928 (movsf, movdf patterns): Don't preference integer regs.
5929 (movsi, movdi patterns): Don't preference fp regs.
5931 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
5933 * genrecog.c (write_switch): Check for duplicate CODE cases.
5935 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
5937 * ggc-common.c: Update pre-function commentary.
5938 * ggc-page.c: Likewise.
5940 (poison_pages): Use memset directly.
5941 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
5942 (ggc_collect): Poison before sweeping.
5943 * ggc-simple.c: Update pre-function commentary.
5944 (ggc_alloc_obj): Poison non-zeroed memory.
5946 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
5948 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
5949 match format string, even on 64-bit hosts.
5950 * gcc-page.c (ggc_page_print_statistics): Likewise.
5952 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
5954 * config/i386/i386.c (ix86_cpu): Revert last patch.
5955 * config/i386/i386.h (ix86_cpu): Ditto.
5957 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
5959 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
5960 TYPE_SIZE, convert type of result to sizetype.
5962 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
5964 * flow.c (count_or_remove_death_notes): Equate NULL with the
5967 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
5968 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
5971 * i386.c (pic_label_no): Delete.
5972 (ix86_attr_length_default): Don't use single_set to peek
5975 * recog.c (peephole2_optimize): Allow recog_next_insn to index
5976 the first insn after bb->end.
5977 * i386.md (push mem peeps): Scratch is live after evaluation
5979 (cmp mem peep): Similarly.
5981 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
5983 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
5984 * function.c (pad_to_arg_alignment): Add missing braces.
5986 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5988 * alpha/alpha-protos.h (literal_section): Add prototype.
5989 (alpha_need_linkage, alpha_start_function,alpha_end_function):
5992 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
5994 (alpha_start_function, alpha_end_function, float_strings,
5995 alpha_need_linkage): Constify a char*
5997 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
5999 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
6001 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6003 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6005 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6007 * flow.c (debug_flow_info): Add prototype.
6009 * gcc.c (main): Likewise.
6011 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
6014 * reload1.c (failed_reload, set_reload_reg): Likewise.
6016 * mips-tfile.c (main): Likewise.
6017 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
6018 with ATTRIBUTE_NORETURN.
6020 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
6022 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
6023 DECL is not a memory ref.
6025 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
6027 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
6028 * config/i386/i386.c (ix86_cpu): Add extern attribute.
6030 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
6032 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
6033 * config/mips/elf64.h: ditto.
6035 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
6037 * expr.c (emit_push_insn): New argument alignment_pad.
6038 Update all callers. Adjust stack pointer based on alignment pad.
6039 * function.c (pad_to_arg_alignment): New argument alignment_pad.
6040 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
6041 (locate_and_pad_parm): New argument alignment_pad. Update all
6043 * expr.h (emit_push_insn): Update prototype.
6044 (locate_and_pad_parm): Update prototype.
6045 * calls.c (arg_data): Add new field alignment_pad.
6046 (initialize_argument_information): Initialize alignment_pad.
6048 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
6050 * except.c (free_eh_nesting_info): Free the info itself.
6051 * function.c (free_after_compilation): Don't free NULL.
6052 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
6053 (pre_edge_insert): Free inserted.
6054 * stmt.c (free_stmt_status): Don't free NULL.
6056 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6058 * gcov.c (DIR_SEPARATOR): Provide default.
6059 (output_data): Add test for MS-DOS format absolute filename.
6060 (fancy_abort): Correct program name.
6061 (open_files): Open all files in binary mode.
6062 * libgcc2.c (__bb_exit_func): Likewise.
6064 * profile.c (init_branch_prob): Specify binary when opening files.
6066 * flags.h (flag_unwind_tables): New decl.
6067 * toplev.c (flag_unwind_table): New definition.
6068 (f_options): Add -funwind-tables.
6069 (decode_g_option): Clarify warning when unknown -g option is given.
6070 (rest_of_compilation): If inside an inlined external function,
6071 pretend we are just being declared.
6073 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
6074 (dwarf2out_frame_finish): Likewise.
6076 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
6078 * fold-const.c (merge_ranges): If not in0, but in1, handle
6079 upper bounds equal like subset case.
6081 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
6083 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
6084 passed in a register but moved to the stack.
6086 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
6088 * gcc.c (pass_exit_codes, greatest_status): New variables.
6089 (struct option_map): Add entry for "--pass-exit-codes".
6090 (execute): Update greatest_status if error.
6091 (display_help): Add documentation for -pass-exit-codes.
6092 (process_command): Handle -pass-exit-codes.
6093 (main): Look at pass_exit_codes and greatest_status on call to exit.
6095 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6097 * reload.c (find_reloads): Refine test for no input reload
6098 case to not includes reloads emitted after insn.
6100 * function.c (find_temp_slots_from_address): Handle sum involving
6101 a register that points to a temp slot.
6102 (update_temp_slot_address): Make recursive call if both old and
6103 new are PLUS with a common operand.
6104 * calls.c (expand_call): Mark temp slot for result as having
6107 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
6109 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
6110 component as well as "BINUTILS".
6112 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
6113 * integrate.c (copy_rtx_and_substitute): Likewise.
6114 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
6115 All callers changed.
6116 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
6118 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
6119 gdb extensions, write size of type; also be more consistent
6120 in using references when this is a subtype.
6122 * pa.md (extv, extzv, insv): Use define_expand to reject constant
6123 that is out of range.
6125 * loop.c (unknown_constant_address_altered): New variable.
6126 (prescan_loop): Initialize it.
6127 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
6128 (invariant_p, case MEM): Remove handling for volatile and readonly;
6129 check new variable if readonly.
6130 (check_dbra_loop): Chdeck unknown_constant_address_altered.
6132 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
6133 (addr_affects_sp_p): Removed from note_mem_written and only
6134 define #ifdef AUTO_INC_DEC.
6136 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
6138 * regclass.c (record_reg_classes): Properly handle register move
6141 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
6142 Don't think valid if both operands are invalid.
6143 (struct constant_descriptor): New field RTL.
6144 (mark_const_hash_entry): Mark it.
6145 (record_constant{,_rtx}): Initialize it.
6146 (output_constant_def): Allocate RTL in permanent obstack and
6148 ({record,compare}_constant_1): Modes must match for
6149 CONSTRUCTOR of ARRAY_TYPE.
6151 * c-common.h (initializer_constant_valid_p): Delete decl from here.
6152 * output.h (initializer_constant_valid_p): Move decl to here.
6153 * c-common.c (initializer_constant_valid_p): Delete function from here.
6154 * varasm.c (initializer_constant_valid_p): Move function to here.
6156 * tree.h (STRIP_SIGN_NOPS): New macro.
6157 * fold-const.c (optimize_minmax_comparison): New function.
6158 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
6159 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
6160 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
6161 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
6162 widening conversions.
6163 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
6164 to look at size of mode, not precision of type; also add missing cases.
6165 (optimize_bit_field_compare, decode_field_reference): Don't try to
6166 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
6168 * dwarf2out.c (ctype.h): Include.
6169 (dwarf2out_set_demangle_name_func): New function.
6170 (size_of_line_info): Deleted.
6171 (output_line_info): Compute size of line info table from difference
6173 (base_type_die, add_name_attribute): Call demangle function, if any.
6174 (field_byte_offset): Use bits per word for variable length fields.
6175 (gen_array_type_die): Add array name.
6176 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
6177 (dwarf2out_add_library_unit_info): New function.
6179 * explow.c (set_stack_check_libfunc): New function.
6180 (stack_check_libfunc): New static variable.
6181 (probe_stack_range): Allow front-end to set up a libfunc to call.
6183 * combine.c (simplify_comparison): When making comparison in wider
6184 mode, check for having commuted an AND and a SUBREG.
6185 (contains_muldiv): New function.
6186 (try_combine): Call it when dividing a PARALLEL.
6187 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
6188 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
6190 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
6191 use one of the CLOBBERs instead.
6192 (if_then_else_cond): If comparing against zero, just return thing
6195 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
6196 Don't generate shifts and subtract if have conditional arithmetic.
6198 * rtl.h (delete_barrier): New declaration.
6199 * jump.c (jump_optimize): Set up to handle conditional call.
6200 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
6201 (delete_barrier): New function.
6203 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
6205 * recog.c (nonmemory_operand): Accept ADDRESSOF.
6207 * tree.c (build_type_attribute_variant): Push to obstack of
6208 ttype around type_hash_canon call.
6210 * expr.c (placeholder_list): Move decl to file scope.
6211 (expand_expr): Don't force access to volatile just because its
6213 If ignoring reference operations, just expand the operands.
6214 (expand_expr, case COMPONENT_REF): Propagate
6215 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
6216 Refine test for using bitfield operations vs pointer punning.
6217 (expand_expr, case CONVERT_EXPR): If converting to
6218 BLKmode UNION_TYPE from BLKmode, just return inner object.
6219 Use proper mode in store_field call.
6220 Properly set sizes of object to store and total size in store_field
6221 call for convert to union.
6222 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
6223 memory (like for ADDR_EXPR). Also, don't put constant in register if
6224 we'll want it in memory.
6225 (readonly_fields_p): New function.
6226 (expand_expr, case INDIRECT_REF): Call it if LHS.
6227 (expand_assignment): Handle a RESULT_DECL where
6228 DECL_RTL is a PARALLEL.
6229 (do_jump, case WITH_RECORD_EXPR): New case.
6230 (get_inner_reference): Always go inside a CONVERT_EXPR
6231 and NOP_EXPR if both modes are the same.
6232 (store_field): Use bitfield operations if size of bitsize is not same
6233 as size of RHS's type.
6234 Check for bitpos not a multiple of alignment in BLKmode case.
6235 Do block move in largest possible alignment.
6236 (store_constructor): Set BITSIZE to -1 for variable size and properly
6237 in case of array of BLKmode.
6238 (expand_expr_unaligned): New function.
6239 (do_compare_and_jump): Call it.
6241 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
6242 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
6243 does not include 'o'.
6245 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
6246 both SET_DEST and SET_SRC reference a virtual register.
6247 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
6249 * integrate.c (expand_inline_function): Handle case of setting
6250 virtual stack vars register (from built in setjmp); when parameter
6251 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
6252 (subst_constant): Add new parm, MEMONLY.
6253 (expand_inline_function, integrate_parm_decls): Pass new parm.
6254 (integrate_decl_tree): Likewise.
6255 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
6256 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
6257 (copy_rtx_and_substitute, case SET): Add explicit calls to
6258 copy_rtx_and_substitute for both sides.
6260 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
6262 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
6263 within INDEX_TYPE, instead of before.
6264 (fixup_gotos): Use f->target_rtl, not the next insn,
6265 since latter may be from a later fixup.
6266 (expand_value_return): Correctly convert VAL when promoting function
6267 return; support RETURN_REG being a PARALLEL.
6268 (expand_return): When checking for result in regs and having
6269 cleanup, consider PARALLEL in DECL_RTL as being in regs.
6271 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
6273 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
6274 last_nominal_fname): Mark const.
6275 (struct include_hash: name, nshort, control_macro): Mark
6277 (struct macrodef: symnam): Mark const.
6278 (struct if_stack: fname): Mark const.
6279 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
6280 (IStable): New character-syntax array which encompasses all
6281 the old is_foo arrays.
6282 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
6283 is_space): New macros for interrogating IStable.
6284 (check_macro_name): Kill last argument. All callers changed.
6286 * cppinit.c (initialize_char_syntax): Delete.
6287 (is_idchar, is_idstart, is_hor_space, is_space,
6288 trigraph_table): Delete.
6289 (IStable): New. Initialize with clever macros to avoid
6290 information duplication.
6291 (builtin_array): Table of builtins to get rid of explicit list
6292 in initialize_builtins.
6293 (initialize_builtins): Use builtins_array.
6294 (cpp_start_read): Call init_IStable, and set IStable['$'] if
6295 opts->dollars_in_ident.
6297 * cppexp.c: Change all refs to is_xyz[] arrays to use new
6299 (cpp_parse_expr): Avoid 'format string is not constant'
6300 warning. Use ISGRAPH to identify printable chars.
6301 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
6303 (read_and_prescan): Map trigraphs to chars with open-coded
6304 if-else-if-... sequence, not a lookup table.
6305 * cpphash.c: Change all refs to is_xyz[] arrays to use new
6307 * cpplib.c: Change all refs to is_xyz[] arrays to use new
6308 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
6309 (check_macro_name): Remove ability to report an invalid
6310 assertion name, which is never used.
6311 (do_line): Constify a couple of char *'s.
6312 * cppmain.c (main): Call cpp_cleanup before returning.
6314 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
6316 * ggc.h (struct ggc_statistics): New type.
6317 (ggc_get_size): New function.
6318 (ggc_print_statistics): Likewise.
6319 * ggc-common.c (ggc_stats): New variable.
6320 (ggc_mark_rtx_children): Keep statistics.
6321 (ggc_mark_tree_children): Likewise.
6322 (ggc_print_statistics): New function.
6323 * ggc-page.c (struct globals): Add bytes_mapped field.
6324 (alloc_anon): Update it.
6325 (release_pages): Likewise.
6326 (ggc_get_size): New function.
6327 (ggc_page_print_statistics): New function.
6328 * ggc-simple.c (ggc_get_size): New function.
6330 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
6332 * flow.c (propagate_block): When the last reference to a label
6333 before an ADDR_VEC is deleted because the reference is a dead
6334 store, delete the ADDR_VEC.
6336 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
6338 * resource.c (find_free_register): Don't use the frame pointer
6339 if frame_pointer_needed.
6341 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
6343 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
6344 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
6346 * config/i960/i960.c (i960_va_start): New locals base, num.
6347 Use INDIRECT_REF instead of ARRAY_REF on valist.
6348 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
6350 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
6352 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
6354 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
6356 * tree.def (PLACEHOLDER_EXPR): Update comments.
6358 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6360 * c-common.c (check_format_info): Avoid non-literal format string
6361 warnings when `first_arg_num' is zero.
6363 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6365 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
6367 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
6369 * arm.md (casesi_insn): Add a clobber of the condition code
6372 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
6374 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
6375 used by both cc1 and cc1plus.
6377 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
6379 * config/arm/arm.c: Initialise arm_structure_size_boundary to
6380 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
6381 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
6382 to the value 32 if it has not already been defined.
6383 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
6384 Override definition in arm.h with a value of 8.
6386 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
6388 * c-pragma.c (push_alignment): Don't check the return value
6391 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
6393 * sparc.h (ADJUST_COST): Fix thinko.
6395 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
6397 * cccp.c (rescan): Fixed obp pointer handling around call to
6398 check_expand subroutine.
6400 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
6402 * gcse.c (delete_null_pointer_checks): Only record non-null info
6403 for pseudos when examining stores.
6405 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
6406 splitters for these patterns. Use "#" for output templates.
6407 (addsi3_carryin_shift): New pattern.
6409 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
6411 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
6412 of the function return register into a plain REG until
6413 after function inlining is done.
6415 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
6417 * jump.c (jump_optimize_1): If we did cross-jumping, and
6418 the data will matter, rebuild the CFG.
6419 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
6420 not optimizing. Don't run shorten_branches.
6421 * toplev.c (rest_of_compilation): Run shorten_branches after
6424 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
6426 * rtl.h (note_stores): Add additional paramter.
6427 * rtlanal.c (reg_set_p_1): Take additional paramter.
6428 (reg_set_last_1): Likewise.
6429 (reg_set_p): Adjust call to note_stores.
6430 (reg_set_last): Likewise.
6431 (note_stores): Pass data parameter to worker function.
6432 * alias.c (record_set): Take additional parameter.
6433 (init_alias_analysis): Pass it.
6434 * caller-save.c (mark_set_regs): Take additional parameter.
6435 (save_call_clobbered_regs): Pass NULL to note_stores.
6436 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
6438 (record_dead_and_set_regs_1): Likewise.
6439 (reg_dead_at_p_1): Likewise.
6440 (combine_instructions): Adjust calls to note_stores.
6441 (try_combine): Likewise.
6442 (record_dead_insn): Remove.
6443 (record_dead_and_set_regs): Adjust calls to note_stores.
6444 (reg_dead_at_p): Likewise.
6445 * cse.c (invalidate_skipped_set): Take additional parameter.
6446 (cse_check_loop_start): Likewise.
6447 (cse_check_loop_start_value): Remove.
6448 (cse_set_around_loop): Adjust calls to note_stores.
6449 * flow.c (notice_stack_pointer_modification): Take additional
6450 parameter. Remove duplicate declaration.
6451 (record_volatile_insns): Adjust calls to note_stores.
6452 * gcse.c (record_set_info): Take additional parameter.
6453 (record_last_set_info): Likewise.
6454 (invalidate_nonnull_info): Likewise.
6455 (record_set_insn): Remove.
6456 (compute_sets): Adjust calls to note_stores.
6457 (last_set_insn): Remove.
6458 (compute_hash_table): Adjust calls to note_stores.
6459 (insert_insn_end_bb): Likewise.
6460 (delete_null_pointer_checks): Likewise.
6461 * global.c (mark_reg_store): Take additional parameter.
6462 (mark_reg_clobber): Likewise.
6463 (reg_becomes_live): Likewise.
6464 (global_conflicts): Adjust calls to note_stores.
6465 (build_insn_chain): Likewise.
6466 * integrate.c (note_modified_parmregs): Take additional parameter.
6467 (mark_stores): Likewise. Make it static.
6468 (save_for_inline_nocopy): Adjust calls to note_stores.
6469 (try_constants): Likewise.
6470 * integrate.h (mark_stores): Remove declaration.
6471 * jump.c (mark_modified_reg): Take additional parameter.
6472 (thread_jumps): Adjust calls to note_stores.
6473 * local-alloc.c (validate_equiv_mem_from_store): Take additional
6475 (no_equiv): Likewise.
6476 (reg_is_set): Likewise.
6477 (validate_equiv_mem): Adjust calls to note_stores.
6478 (update_equiv_regs): Likewise.
6479 (block_alloc): Likewise.
6480 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
6481 (note_addr_stored): Take additional parameter.
6482 (note_set_pseudo_multiple_uses): Likewise.
6483 (record_initial): Likewise.
6484 (prescan_loop): Adjust calls to note_stores.
6485 (strength_reduce): Likewise.
6486 (check_dbra_loop): Likewise.
6487 * regmove.c (flags_set_1): Take additional paramter.
6488 (mark_flags_life_zones): Adjust calls to note_stores.
6489 * reload1.c (mark_not_eliminable): Take additional parameter.
6490 (forget_old_reloads_1): Likewise.
6491 (reload_cse_invalidate_rtx): Likewise.
6492 (reload_cse_check_clobber): Likewise.
6493 (reload_combine_note_store): Likewise.
6494 (move2add_note_store): Likewise.
6495 (reload): Adjust calls to note_stores.
6496 (reload_as_needed): Likewise.
6497 (emit_reload_insns): Likewise.
6498 (reload_cse_regs_1): Likewise.
6499 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
6500 (reload_combine): Adjust calls to note_stores.
6501 * resource.c (update_live_status): Take additional paramter.
6502 (mark_target_live_regs): Adjust calls to note_stores.
6503 * stupid.c (find_clobbered_regs): Take additional parameter.
6504 (stupid_life_analysis): Adjust calls to note_stores.
6506 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
6508 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
6511 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
6514 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
6515 of the variable arm_structure_size_boundary.
6517 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
6519 * alias.c (init_alias_analysis): Allocate reg_known_value and
6520 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
6522 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
6523 * cse.c (cse_main): Call end_alias_analysis.
6524 * haifa-sched.c (schedule_insns): Likewise.
6525 * local-alloc. (update_equiv_regs): Likewise.
6526 * reload1.c (reload_cse_regs): Likewise.
6528 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6530 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
6531 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
6532 mapping from MASK_FPU.
6534 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
6536 * sparc.md (call): Don't bound structure return size to 0xfff.
6538 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
6540 * resource.c (mark_target_live_regs): Check that the target
6541 insn wasn't created after compute_bb_for_insn.
6543 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
6545 * ggc-page.c (poison_pages): Don't be overzealous.
6547 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
6549 * alias.c: Update comments for ADDRESS.
6550 (nonlocal_reference_p): Look inside the ADDRESS to determine if
6551 it is a local memory reference.
6553 * c-typeck.c (build_function_call): Check that the built-in
6554 function is of class BUILT_IN_NORMAL before trying to recongize
6556 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
6557 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
6559 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
6561 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
6563 (pre_gcse): Likewise.
6564 (hoist_expr_reaches_here_p): Likewise.
6565 (hoist_code): Likewise.
6566 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
6568 (pre_expr_reaches_here_p_work): ... here.
6569 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
6571 (expr_reaches_here_p_work): ... here.
6573 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
6575 * resource.c (find_basic_block): Delete.
6576 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
6577 (init_resource_info): Call compute_bb_for_insn.
6579 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
6581 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
6582 with already adjacent blocks, but no fallthru.
6583 (merge_blocks_move_successor_nojumps): Simplify.
6584 (debug_flow_info): New.
6586 * toplev.c (rest_of_compilation): Open jump1 dump file before
6587 jump and close after, as opposed to just using dump_rtl.
6589 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6591 * reload.h (earlyclobber_operand_p): Declare.
6592 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
6593 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
6594 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
6595 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
6597 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
6598 Richard Henderson <rth@cygnus.com>
6600 * emit-rtl.c (emit_block_insn_before): New.
6601 (emit_block_insn_after): New.
6602 * basic-block.h: Declare them.
6604 * bitmap.h: Protect from multiple inclusion.
6606 * recog.c (scratch_operand): Handle VOIDmode correctly.
6608 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
6610 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
6611 * function.c (assign_parms): Likewise.
6612 * global.c (global_conflicts): Clarify STACK_REGS commentary.
6614 * reg-stack.c (max_uid): Remove.
6615 (blocks, block_begin, block_end, block_drops_in): Remove.
6616 (block_stack_in, block_out_reg_set, block_number): Remove.
6617 (struct block_info_def, BLOCK_INFO): New.
6618 (enum emit_where): New.
6619 (current_block): New.
6620 (BLOCK_NUM): Remove.
6621 (mark_regs_pat, record_label_references): Remove.
6622 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
6624 (goto_block_pat, print_blocks, dump_stack_info): Remove.
6625 (reg_to_stack): Simplified test for existance of fp code. Use
6626 flow.c code. Call shorten_branches after cross-jump opt.
6627 (check_asm_stack_operands): Renamed from record_asm_reg_life.
6628 Return false if the asm doesn't use stack regs. Don't do life
6629 analysis on the asm.
6630 (emit_pop_insn): Replace function pointer arg `when' with
6631 enum `where'. Update all callers.
6632 (change_stack): Likewise. Update basic block end.
6633 (emit_swap_insn): Use current_block->head to limit reverse search
6634 for start of block. Use emit_block_insn_after.
6635 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
6636 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
6637 structure assignment instead of bcopy.
6639 (convert_regs_entry, convert_regs_exit): New.
6640 (convert_regs_1, convert_regs_2): Split out from convert_regs.
6641 Work on basic blocks and the CFG.
6642 (convert_regs): Use them.
6644 * i386.c (output_fix_trunc): Remove code for DImode input operand
6645 not at top-of-stack.
6646 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
6648 (fix_truncdi_1): Allow any mode scratch.
6650 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
6652 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
6653 * linux.h, netbsd.h, vms.h: Not here.
6655 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
6657 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
6658 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
6659 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
6660 CONDITIONAL_REGISTER_USEAGE): Use them.
6661 * config/mips/mips.c (mips_move_1word,mips_move_2words,
6662 gen_conditional_branch,override_options) : Use them.
6663 * config/mips/mips.md : Use them.
6665 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
6667 * i386.md (zero_extendqihi2): Use SImode register name with andl.
6669 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
6671 * integrate.c (function_cannot_inline_p): Don't allow inlining
6674 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6676 * c-parse.in (cast_expr): Constify.
6678 * cccp.c (special_symbol): Likewise.
6680 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
6682 * dwarf2out.c (base_type_die): Likewise.
6684 * global.c (allocno_compare): Likewise.
6686 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
6688 * regclass.c (fix_register): Likewise.
6690 * rtl.h (fix_register): Likewise.
6692 * stupid.c (stupid_reg_compare): Likewise.
6694 * toplev.c (decode_f_option): Likewise.
6696 * tree.c (build_complex_type): Likewise.
6698 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
6700 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
6702 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6704 * reload.c (find_reloads): Compute mode and nregs fields of all
6706 * reload1.c (calculate_needs_all_insns): Simplify a bit.
6707 (calculate_needs): Use precomputed mode/nregs values.
6708 (allocate_reload_reg): Likewise.
6710 (failed_reload, set_reload_reg): ... new functions.
6711 (choose_reload_regs_init): New function, mostly broken out from...
6712 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
6713 Also lose one #if 0 block.
6715 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
6717 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
6720 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
6722 * tree.h (BLOCK_TYPE_TAGS): Remove.
6723 (BLOCK_END_NOTE): Likewise.
6724 (BLOCK_LIVE_RANGE_FLAG): Likewise.
6725 (BLOCK_LIVE_RANGE_START): Likewise.
6726 (BLOCK_LIVE_RANGE_END): Likewise.
6727 (tree_block): Remove live_range_flag, live_range_var_flag, and
6728 type_tags. Remove end_note, live_range_start, and live_range_end.
6729 (remember_end_note): Remove prototype.
6730 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
6731 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
6733 * ggc-common.c (ggc_mark_tree_children): Don't mark
6734 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
6735 * integrate.c (adjust_copied_decl_tree): Remove.
6736 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
6737 * stmt.c (last_block_end_note): Remove.
6738 (init_stmt): Don't add a GC root for it.
6739 (expand_fixup): Don't set it.
6740 (remember_end_note): Remove.
6741 (expand_end_bindings): Don't set last_block_end_note.
6743 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6745 * reload1.c (reload_reg_free_for_value_p): Show
6746 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
6749 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
6751 * expmed.c (extract_bit_field): Allow for the case of non-integer
6752 objects that are smaller than a word (like SFmode on a 64-bit
6755 * loop.c (basic_induction_var): A non-integer variable which is
6756 being set by a paradoxical subreg is probably not a biv.
6758 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6760 * prefix.c (translate_name) Check for empty prefix string.
6762 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
6764 * Makefile.in (CPP_CROSS_NAME): New variable.
6765 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
6767 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
6768 names of the files to be uninstalled.
6770 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
6772 * collect2.c (IS_DIR_SEPARATOR): Define.
6773 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
6775 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
6778 * haifa-sched.c (add_dependence): Update the true dependency
6779 cache the first time we add a true dependence to the LOG_LINKS chain.
6781 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
6783 * fold-const.c (fold): Fix comment.
6785 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6787 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
6788 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
6789 dbxout_start_new_source_file, dbxout_source_file,
6790 dbxout_source_line, dbxout_finish, dbxout_type_fields,
6791 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
6793 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
6794 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
6795 (dbxout_block): Initialize variable `blocknum'.
6797 * dbxout.h (dbxout_init, dbxout_finish,
6798 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
6799 dbxout_args, dbxout_source_line): Constify a char*.
6801 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
6802 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
6803 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
6804 low_pc_attribute, high_pc_attribute, body_begin_attribute,
6805 body_end_attribute, comp_dir_attribute, sf_names_attribute,
6806 src_info_attribute, mac_info_attribute, producer_attribute,
6807 lookup_filename, generate_macinfo_entry, fundamental_type_code,
6808 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
6809 dwarfout_undef): Constify a char*.
6810 (add_incomplete_type, retry_incomplete_types): Add prototypes.
6812 * dwarfout.h (dwarfout_define, dwarfout_undef,
6813 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
6815 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
6817 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
6818 (MULTILIB_ISA_DEFAULT): New.
6819 (MULTILIB_DEFAULTS): Use it.
6820 * config/mips/mips.c (): Remove the now unnecessary definition
6821 of MIPS_ISA_DEFAULT.
6822 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
6823 unnecessary definition.
6825 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
6827 * arm.md (pic_load_addr): Add constraints to operand 1.
6829 1999-10-25 Bruce Korb <autogen@linuxbox.com>
6831 * fixinc/genfixes: Provide a means for specifying -D options to
6834 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
6836 * arm.c (arm_override_options): Correct initialization of
6837 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
6838 arm_is_strong, and arm_is_6_or_7.
6840 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
6841 (note_set_pseudo_multiple_uses): New function.
6842 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
6843 if a pseudo set in the loop exit is used elsewhere.
6845 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
6847 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
6849 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
6851 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
6852 a single load-address pattern.
6854 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
6856 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
6857 depending on whether or not line-number notes are present.
6859 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6861 * cccp.c (progname, file_buf, default_include, include_file,
6862 macrodef, definition, hashval, wchar_type, user_label_prefix,
6863 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
6864 expand_to_temp_buffer, is_system_include, base_name,
6865 absolute_filename, read_name_map, open_include_file,
6866 record_control_macro, check_precompiled, check_preconditions,
6867 pcfinclude, pass_thru_directive, create_definition,
6868 check_macro_name, comp_def_part, collect_expansion,
6869 check_assertion, read_token_list, assertion_install,
6870 assertion_lookup, eval_if_expression, conditional_skip,
6871 validate_else, skip_quoted_string, quote_string, macarg1,
6872 error_from_errno, install, lookup, hashf, dump_defn_1,
6873 perror_with_name, pfatal_with_name, main, trigraph_pcp,
6874 check_white_space, rescan, handle_directive, monthnames,
6875 special_symbol, do_include, remap_include_file, write_output,
6876 arglist, do_assert, do_unassert, do_line, do_error, do_once,
6877 do_ident, do_sccs, do_xifdef, skip_if_group,
6878 output_line_directive, macroexpand, macarg, change_newlines,
6879 initialize_builtins, make_definition): Constify a char*.
6881 * pcp.h (stringdef): Likewise.
6883 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
6885 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
6888 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
6889 Richard Henderson <rth@cygnus.com>
6891 * alias.c: Include ggc.h.
6892 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
6893 (record_set): Verify enough room in reg_base_value.
6894 (init_alias_analysis): Allocate reg_base_value with xcalloc.
6895 Register it as a GC root.
6896 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
6897 * Makefile.in (alias.o): Depend on ggc.h.
6899 * unroll.c (unroll_loop): Verify the insn before a barrier
6900 is a JUMP_INSN before checking JUMP_LABEL.
6902 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6904 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
6905 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
6906 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
6907 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
6908 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
6909 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
6911 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6913 * output.h (ctors_section, dtors_section, bss_section): Prototype.
6915 * alpha/alpha-interix.h (text_section): Delete prototype.
6916 * alpha/elf.h (text_section): Likewise.
6917 * arm/linux-elf.h (text_section): Likewise.
6918 * arm/linux-telf.h (text_section): Likewise.
6919 * c4x/c4x.h (text_section): Likewise.
6920 * dsp16xx/dsp16xx.h (bss_section): Likewise.
6921 * elfos.h (text_section): Likewise.
6922 * i386/aix386ng.h (text_section): Likewise.
6923 * i386/i386-interix.h (text_section): Likewise.
6924 * i386/sco5.h (text_section): Likewise.
6925 * i386/svr3gas.h (text_section): Likewise.
6926 * nextstep.h (text_section): Likewise.
6927 * psos.h (text_section): Likewise.
6928 * ptx4.h (text_section): Likewise.
6929 * svr3.h (text_section): Likewise.
6930 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
6932 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6934 * final.c (peephole): Delete prototype.
6936 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
6937 (pre_insert_copies): Remove unused variable `bb'.
6939 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
6942 * output.h (peephole): Add prototype.
6944 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
6946 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
6949 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
6951 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
6952 for inlined declarations.
6954 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
6956 * arm.c (logical_binary_operator): New fucntion.
6957 * arm.h (logical_binary_operator): Declare it.
6958 (PREDICATE_CODES): Handle logical_binary_operator.
6959 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
6960 output constraints. Add appropriate splitters.
6961 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
6962 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
6963 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
6965 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6967 * genoutput.c (struct operand_data): New elt eliminable.
6968 (output_operand_data): Write it.
6969 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
6970 (compare_operands): Take it into account.
6971 * recog.h (struct insn_operand_data): New elt eliminable.
6972 * reload1.c (check_eliminable_occurrences, elimination_effects): New
6974 (old_asm_operands_vec, new_asm_operands_vec): Delete.
6975 (eliminate_regs): Move code that detects changes to elimination
6976 target regs into new function elimination_effects.
6977 Delete one #if 0 block.
6978 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
6979 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
6980 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
6981 Only call eliminate_regs for real operands of the insn, not for parts
6982 of its structure or parts matched by things like match_operator.
6983 Use elimination_effects and check_eliminable_occurrences. Use
6984 copy_insn to duplicate the pattern when not in the final pass.
6986 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
6988 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
6991 1999-10-22 Bruce Korb <autogen@linuxbox.com>
6993 * fixinc/README: document the "mach" machine matching test
6994 * fixinc/fixfixes.c: Implement the #else/#endif label fix
6995 * fixinc/fixtests.c: Implement the #else/#endif label test
6996 * fixinc/inclhack.def: utilize these tests and fixes
6997 * fixinc/inclhack.sh: regen
6998 * fixinc/fixincl.x: regen
6999 * fixinc/fixincl.sh: regen
7001 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
7003 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
7006 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
7008 * gcc.1: Document exit codes.
7010 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7012 * calls.c: Include tm_p.h later, so everything we need is defined.
7014 * function.c: Likewise.
7016 * except.c: Include tm_p.h.
7018 * sparc.c: Likewise.
7019 (dwarf2out_cfi_label): Don't prototype.
7020 (check_return_regs, epilogue_renumber,
7021 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
7022 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
7023 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
7024 ultra_schedule_insn): Add static prototype.
7025 (data_segment_operand, text_segment_operand): Call itself with the
7026 proper number of arguments.
7027 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
7029 * sparc.h: Move all declarations to sparc-protos.h.
7030 (SELECT_RTX_SECTION): Pass a missing MODE argument to
7033 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
7035 * config/svr4.h (text_section, ctors_section, dtors_section): Add
7037 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
7038 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7039 ASM_OUTPUT_ASCII): Constify a char*.
7041 * sparc-protos.h: New file for sparc prototypes.
7043 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7045 * function.c (record_insns, contains): Always declare and define.
7046 (record_insns): Mark with ATTRIBUTE_UNUSED.
7048 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7050 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
7051 to .section when outputting a .bss section to deal with multiple
7052 .bss input sections (as happens with -fdata-sections)
7053 Also output %progbits, not @progbits so the assembler doesn't treat as
7055 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
7057 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
7058 thumb parts even when building with non-thumb CPUs, by forcing
7061 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
7063 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
7064 (movdf_const_intreg_sp64): Similarly.
7066 * local-alloc.c (update_equiv_regs): Check the correct insn
7067 for pre-existing REG_EQUIV notes.
7069 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
7071 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
7072 block reached by a branch if we're not going to actually process
7075 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
7077 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
7078 a local extern function declaration.
7080 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
7082 * i386.c (ix86_expand_prologue): Properly wrap USE around
7083 reg for CALL_INSN_FUNCTION_USAGE.
7085 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
7087 * config/mips/mips.md (movdf_internal1a): Allow floating-point
7088 move between GP_REGs.
7090 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
7092 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
7093 the mode size when finding out if an offset is legal.
7095 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
7097 * basic-block.h (PROP_*): Move constants from ...
7099 (compute_bb_for_insn): Free the array before reallocating.
7100 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
7101 (allocate_reg_life_data): Reset all reg variables collected by
7103 (get_block_head_tail): Don't convert from bb to block.
7104 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
7105 (find_insn_reg_weight): Take block not bb.
7106 (schedule_block): Don't set block num for moved insns.
7107 (schedule_region): Don't update_life_info or find_insn_reg_weight.
7108 (schedule_insns): Do it here instead.
7109 * combine.c (combine_instructions): Invoke compute_bb_for_insn
7110 before update_life_info.
7111 * recog.c (split_all_insns, peephole2_optimize): Update for
7112 new arg to update_life_info.
7113 * rtlanal.c (remove_note): Cope with NULL note.
7114 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
7117 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
7119 * jump.c (jump_optimize_1): More accurately detect casesi insns.
7121 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
7122 block records so that merge_blocks_nomove will clean up correctly.
7123 (split_edge): Handle casesi insns.
7125 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
7127 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
7129 * pa.md (call, call_value): Do not emit a blockage after restoring
7132 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
7134 * c-typeck.c (c_expand_asm_operands): Fix typo.
7136 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7138 * arm.c (fpu_rhs_operand): Verify modes.
7139 (fpu_add_operand): Likewise.
7140 (di_operand): Likewise.
7141 (soft_df_operand): Likewise.
7143 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
7145 * arm.c (arm_return_in_memory): APCS rules state that the elements
7146 of a structure returned in a register must be 'integer-like'.
7148 1999-10-19 Bruce Korb <autogen@linuxbox.com>
7150 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
7151 in the source tree when the generated targets are out of date
7152 * fixinc/genfixes: Alter it to run individual fixes for make.
7153 * fixinc/README: rewrite
7154 * fixinc/inclhack.def: moved initial comments to README
7156 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
7158 * toplev.c (main): Do not generate an error message if an
7159 unrecognised command line switch is recognisable by another
7160 language. If extra_warnings are enabled, then generate a
7161 warning message instead.
7163 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
7165 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
7166 (insert_pack_attributes): Delete prototype.
7168 * c-pragma.c (default_alignment): New static variable.
7169 (push_alignment): Initialize to current effective alignment.
7170 (pop_alignment): Use to set new alignment.
7171 (insert_pack_attributes): Delete function.
7172 (handle_pragma_token): Set default_alignment as well each time
7173 a #pragma pack(<n>) is encountered.
7175 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
7177 * reg-stack.c (stack_result): Aggregates are not returned in
7180 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7182 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
7184 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
7186 * basic-block.h (set_block_num): Declare.
7187 * flow.c (update_life_info): Don't call compute_bb_for_insn
7188 or free_basic_block_vars.
7189 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
7190 (insn_orig_block): Remove.
7191 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
7192 (schedule_block): Keep BLOCK_NUM up-to-date.
7193 (schedule_insns): Use compute_bb_for_insn.
7194 * recog.c (split_all_insns): Likewise.
7195 (peephole2_optimize): Likewise.
7197 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
7199 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
7200 if the pic register is used.
7202 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7204 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
7205 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
7206 if that tests TREE_PERMANENT.
7208 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
7210 * cse.c (invalidate_for_call): Do not remove memory references from
7211 the table here. It's handled elsewhere.
7213 * haifa-sched.c (add_dependence): Protect references to the
7214 true dependency cache with #ifdef INSN_SCHEDULING.
7215 (remove_dependence): Similarly.
7217 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
7218 to the cfg code that this is a return instruction.
7219 * mn10300.md (return_internal): Similarly.
7221 * combine.c (get_last_value): If the last set of a register
7222 is after subst_low_cuid, then we can not use it to determine
7223 the register's last value.
7225 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
7227 * Makefile.in: Back out previous change.
7229 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
7231 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
7233 * haifa-sched.c (add_dependence): Only check/update the cache
7235 (remove_dependence): Likewise.
7236 (schedule_insns): Only create the true_dependency_cache if the
7237 average number of instructions in a basic block is very large.
7239 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
7241 * Makefile.in (ggc-common.o): Depend on genrtl.h.
7242 (ggc-simple.o): Likewise.
7243 (ggc-page.o): Likewise.
7245 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
7247 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
7248 Prototype for exported functions.
7249 (pre_lcm, pre_rev_lcm): Remove prototypes.
7250 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
7251 (compute_available): Move to lcm.c, and change parameter order.
7252 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
7253 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
7254 (gcse_main): No longer call compute_preds_succs. Rebuild the
7255 set table after reach pre pass.
7256 (pre_insert_map, pre_delete_map, edge_list): New.
7257 (alloc_pre_mem): Allocate edge vectors.
7258 (free_pre_mem): Delete edge vectors.
7259 (compute_pre_data): Call new edge based lcm routines.
7260 (process_insert_insn): New function.
7261 (insert_insn_end_bb): Use it.
7262 (pre_edge_insert): New function.
7263 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
7265 (pre_insert_copies): Revamp using new edge based lcm outputs.
7266 (pre_delete): Likewise.
7267 (one_pre_gcse_pass): Insert & remove fake edges to the exit
7269 (compute_code_hoist_vbeinout): New new edge based routines.
7270 * lcm.c: Remove all the old LCM functions. Replace with new ones
7271 that work with the new cfg datastructures and work with edges
7274 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7276 * reload.h (struct reload): Add new fields "mode" and "nregs".
7277 * reload1.c: Change all occurrences of reload_mode and reload_nregs
7278 to reference the "mode" and "nregs" field within struct reload.
7280 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
7282 * haifa-sched.c (true_dependency_cache): New.
7283 (add_dependence): Use the true dependency cache to avoid expensive
7284 walks down the LOG_LINKS dependency list. Add entries to the
7286 (remove_dependence): Remove entries from the true dependency cache
7288 (schedule_insns): Allocate and initialize and free the true
7291 * haifa-sched.c (schedule_insns): Do not remove inter-block
7292 dependencies anymore.
7294 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
7296 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
7297 * i386/t-winnt: Likewise.
7299 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
7301 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
7303 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
7305 * Makefile.in (LANGUAGES): Omit "proto".
7306 (clean): Remove stale comment about removing unprotoize.c.
7308 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7310 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
7311 using arithmetic on void pointers.
7313 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
7315 * haifa-sched.c (compute_block_forward_dependencies): Only check
7316 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
7318 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
7320 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
7321 (expr_equiv_p): Reject memories with different alias sets.
7323 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
7325 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
7326 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
7327 (f_options): Add "bounded-pointers" and "bounds-check" entries.
7328 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
7329 (lang_init): Set default for flag_bounds_check if still "unspecified".
7331 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7333 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
7335 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7337 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
7340 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7342 * config/c4x/c4x.md (*db_noclobber,
7343 *decrement_and_branch_until_zero_noclobber): New patterns and
7344 associated splitters.
7346 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7348 * config/c4x/c4x.md (parallel instruction patterns): Rework
7349 constraints to keep reload happy.
7351 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7353 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
7354 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
7355 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
7356 Add new patterns and associated post-reload splitters.
7358 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7360 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
7362 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7364 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
7366 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
7368 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7370 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
7373 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
7375 * pa.c (move_operand): Rely on memory_address_p to determine the
7376 validity of non-indexed memory addresses.
7377 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
7378 operand in DFmode and SFmode when generating PA2.0 code.
7380 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
7382 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
7384 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
7386 * mips.c (function_prologue): Fix argument types.
7387 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
7388 (casesi_internal): Write to the scratch register.
7390 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
7392 * cppexp.c (cpp_parse_escape): Make static. Change second arg
7394 (parse_charconst): Delete unnecessary cast when calling
7396 (cpplib.h): Kill prototype of cpp_parse_escape.
7398 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
7400 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
7401 * unroll.c (unroll_loop): Cast return value of alloca.
7402 * i370/i370.c: Include function.h and toplev.h.
7403 (i370_label_scan): Remove c++ commented abort.
7404 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
7405 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
7406 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
7407 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
7409 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
7411 * config/t-freebsd: Do not override USER_H.
7412 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
7414 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
7415 Mumit Khan <khan@xraylith.wisc.edu>
7417 * c-parse.in (component_decl): Support anonymous struct/union.
7419 * c-parse.y: Regenerate.
7420 * c-parse.c: Likewise.
7421 * objc/objc-parse.y: Likewise.
7422 * objc/objc-parse.c: Likewise.
7423 * c-decl.c (finish_struct): Don't sort the fields.
7424 (field_decl_cmp): Delete unused function.
7426 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
7428 * sparc.md (movsf_const_intreg): Revert last constraint change.
7429 (movdf_const_intreg_sp32): Likewise.
7431 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
7433 * cse.c: Include hashtab.h instead of splay-tree.h
7434 (struct cse_reg_info): No longer use variant union. Add new
7435 field "regno". All references changed to avoid union.
7436 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
7437 (free_cse_reg_info): Remove.
7438 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
7439 (get_cse_reg_info): Revamp to use expandable hash tables instead
7440 of splay trees. Initialize new fields in cse_reg_info structure.
7441 (new_basic_block): Similarly.
7443 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
7445 * genrecog.c (message_with_line): Prototype.
7446 (validate_pattern): Pass along the set for the dest, not a flag.
7447 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
7448 Check for PC/CC0 as sources.
7449 (nodes_identical): Check for children position match before
7450 allowing the combination.
7452 * rtl.c (read_rtx): Track line number across \\\n.
7454 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
7456 * mips.h (SPECIAL_MODE_PREDICATES): New.
7457 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
7458 (movdi+1, movsi+1): Add output reload constraint.
7459 (casesi_internal): Likewise. Fix commentary.
7460 (return_internal): Use pmode_register_operand.
7462 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
7464 * 1750a.md (movstrqi): Add missing output reload constraint.
7465 (call_value): Likewise.
7466 * a29k.md (cpxxx patterns): Add missing match_operator mode.
7467 (jmpfdec): Add missing inout reload constraint.
7468 * elxsi.md (addsi patterns): Add missing output reload constraint.
7469 (move from sp): Use @ alternates.
7470 (call_value): No constraint on output.
7471 * fr30.md (movsi_pop): Add missing output reload constraint.
7472 (movsf_constant_store): Likewise.
7473 (splits): Remove constraints.
7474 (subsi3): Add missing mode.
7475 * i370.md (cmpstrsi+1): Add missing output reload constraint.
7476 (call_value): Likewise.
7477 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
7478 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
7479 * m32r.md (movsicc_internal): Add output reload constraint.
7480 (movstrsi_internal): Add inout reload constraints.
7481 * m88k.h (reg_names): Don't declare.
7482 (SPECIAL_MODE_PREDICATES): New.
7483 * m88k.md (*): Use register_operand not reg_or_0_operand
7485 * mn10200.h (PREDICATE_CODES): New.
7486 * ns32k.md (ffs pattern): Add output reload constraint.
7487 * pdp11.md (sob pattern): Add inout reload constraint.
7488 * sh.md (splits): Remove constraints.
7489 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
7490 * v850.md (pattern_is_ok_for_epilogue): Likewise.
7491 * vax.md (jgequ pattern): Add inout reload constraint.
7493 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
7495 * configure.in (djgpp): Revert previous patch.
7496 * configure: Rebuit.
7497 * config/i386/djgpp.h: Revert previous patch.
7499 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
7501 * fixinc/inclhack.def: Restore patch lost during last merge of
7502 "no_bogosity" branch.
7503 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
7505 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
7507 * fixincludes: Add a HPUX 11 fix for inttypes.h.
7508 * fixinc/inclhack.def: Same.
7509 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
7511 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
7513 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
7514 as the base of a PLUS.
7516 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7518 * config/c4x/c4x.md: Define mode for remaining unspec operators.
7519 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
7521 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
7523 * pa.md (post_stw+1): Use pmode_register_operand.
7524 (dcacheflush, icacheflush): Likewise.
7526 * i386.md (movstricthi_1): Allow r/r.
7528 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
7530 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
7531 to (not (and (arg0) (arg1))). Similary for and.
7533 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
7534 fallthrough to associate code.
7535 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
7538 * combine.c (simplify_logical): Convert XOR to IOR if operands have
7539 no bits in common; remove XOR to ROTATE conversion.
7541 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7543 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
7545 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7547 * config/c4x/c4x.c (dst_operand): New.
7548 (PREDICATE_CODES): Update.
7549 * config/c4x/c4x.h (dst_operand): Declare it.
7550 * config/c4x/c4x.md: Define mode for each unspec usage.
7551 (move patterns): Use dst_operand predicate instead of src_operand.
7552 (movqi_update, movqf_update): Delete.
7554 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
7556 * recog.c (pmode_register_operand): New.
7557 * recog.h: Declare it.
7558 * genrecog.c (pred_codes): Likewise.
7559 (special_mode_pred_table): Likewise.
7560 (validate_pattern): Don't warn no mode for address_operand.
7562 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
7563 if the operand is not insn-like.
7565 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
7566 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
7568 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
7570 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
7572 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
7573 instead of general_operand in a SET_DEST. Use const_double_operand
7574 instead of an explicit test against CONST_DOUBLE.
7575 (movsf_const_lo): Add missing register mode.
7576 (goto_handler_and_restore): Add auxiliary test for Pmode.
7577 (flush): Adjust to use address_operand.
7578 (return_sf_no_fpu): Add missing output constraint.
7580 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
7582 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
7583 for call return value.
7584 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
7586 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
7588 * toplev.c (main): Only warn about options for other languages.
7589 * collect2.c (main): Pass -w to sub-gcc.
7591 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
7593 * flow.c (propagate_block): Add call-clobbered registers to
7596 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
7597 zapping mem_set_list.
7598 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
7599 (mark_set_1, mark_used_regs): Likewise.
7601 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
7603 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
7605 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7607 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
7608 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
7609 options. Also add a new item "C-only Warning Options" to the
7612 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
7614 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
7615 from multiple calls.
7617 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
7619 * i386.md (call value patterns): Move to the end of the file.
7620 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
7622 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
7624 * configure.in (djgpp configuration): Define extra_objects..
7625 * configure: Rebuilt.
7626 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
7627 (DTORS_SECTION_ASM_OP): Define.
7628 (INIT_SECTION_ASM_OP): Define.
7629 (FINI_SECTION_ASM_OP): Define.
7630 (DATA_SECTION_ASM_OP): Define.
7631 (TEXT_SECTION_ASM_OP): Define.
7632 (EH_FRAME_SECTION_ASM_OP): Define.
7633 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
7634 (STARTFILE_SPEC): Add crtbegin.o.
7635 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
7636 to here from LINK_COMMAND_SPEC.
7637 (DO_GLOBAL_CTORS_BODY): Define.
7638 (CRTSTUFF_USE_FINI_SECTION): Define
7639 (HAS_INIT_SECTION): Delete.
7641 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
7643 * Makefile.in (all.cross): Depend on xcpp$(exeext).
7645 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
7647 * pa.h (PREDICATE_CODES): New.
7649 * genrecog.c (validate_pattern): Condense the destination
7652 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
7654 * alpha.md (call-1): Supply missing mode for operator.
7655 (*): Add missing output reload constraints. Remove constraints
7658 * i386.h (SPECIAL_MODE_PREDICATES): New.
7659 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
7660 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
7661 (addsi_lea_3): Add missing mode for op 3.
7662 (prologue_set_got, prologue_get_pc): Add missing modes.
7663 (*) Add missing output reload constraints.
7665 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
7667 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
7668 check for member bit-size overflow and use var_size if it occurs.
7669 (layout_record): Use bitsize_int() to define the type size in bits.
7670 Likewise for computation and assignment to DECL_FIELD_BITPOS.
7671 (layout_decl): Likewise when assigning to DECL_SIZE.
7673 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
7675 * genrecog.c (validate_pattern): Typo last change. Verify
7676 that output operands have output reloads.
7678 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
7680 * genrecog.c (special_mode_pred_table): New.
7681 (NUM_SPECIAL_MODE_PREDS): New.
7682 (find_operand): New.
7683 (validate_pattern): New argument `insn'. Warn for assignment to
7684 any predicate accepting non-lvalues. Conditionaly warn for
7685 match_operand without a mode. Try much harder to match source
7686 and destination modes on a set.
7687 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
7689 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
7691 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
7693 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
7695 * combine.c (simplify_logical): Recognize xor pattern that encodes
7698 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7700 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
7703 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
7705 * ggc-page.c (MAP_FAILED): Provide default.
7707 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
7709 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
7710 * sparc.h (PREDICATE_CODES): Update.
7712 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
7714 * alpha.c (some_ni_operand): New.
7715 * alpha-protos.h: Declare it.
7716 * alpha.h (PREDICATE_CODES): Update.
7717 * alpha.md (sXaddq reload insns): Use some_ni_operand
7718 for SET_DEST instead of some_operand.
7720 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
7721 Jim Wilson <wilson@cygnus.com>
7723 * genrecog.c (maybe_both_true_2): Don't compare modes of
7725 (process_tree): Elide peephole2_insns. Invoke simplify_tests
7726 after find_afterward.
7727 (debug_decision_1): Dump next and afterward codes.
7729 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
7731 * rtl.c (dump_and_abort): Remove.
7732 (fatal_with_file_and_line): New.
7733 (fatal_expected_char): New.
7734 (read_rtx_lineno, read_rtx_filename): New.
7735 (read_skip_spaces): Track line number.
7736 (read_name): Use fatal_with_file_and_line.
7737 (read_rtx): Use fatal_expected_char. Track line number.
7738 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
7740 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
7741 if it isn't a CODE_LABEL.
7743 * genattr.c (main): Set read_rtx_filename.
7744 * genattrtab.c (main): Likewise.
7745 * gencodes.c (main): Likewise.
7746 * genconfig.c (main): Likewise.
7747 * genemit.c (main): Likewise.
7748 * genextract.c (main): Likewise.
7749 * genflags.c (main): Likewise.
7750 * genopinit.c (main): Likewise.
7751 * genoutput.c (main): Likewise.
7752 * genpeep.c (main): Likewise.
7754 * genrecog.c (decision_test.u.insn): Add `lineno'.
7755 (pattern_lineno, error_count): New variables.
7756 (message_with_line): New.
7757 (add_to_sequence): Break out checking code to ...
7758 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
7759 (merge_insn): Use message_with_line.
7760 (make_insn_sequence): Use validate_pattern. Record insn lineno.
7761 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
7763 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7765 * expr.c (store_constructor): Clear union if constructor is empty.
7767 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
7769 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
7770 Add !endian checks. Change %{...} to %(...).
7772 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
7774 * i386.md (*addsi3_cc): Renamed from addcsi3.
7775 (*addsi3_carry): Renamed from addxsi3.
7776 (*subsi3_cc): Renamed from subcsi3.
7777 (*subsi3_carry): Renamed from subxsi3.
7778 (*xorqi_cc_1): Renamed from xorcqi_1.
7779 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
7780 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
7782 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
7784 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
7785 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
7787 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
7789 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
7790 climb up the chain of insns.
7792 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
7794 * genrecog.c (write_subroutine): Careful for null trees.
7795 (process_tree): Don't elide empty functions.
7797 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
7799 * Makefile.in (genrtl.o): Depend on ggc.h.
7800 * configure.in (valloc): Probe for it.
7801 (with-gc): Use ggc-page if valloc present.
7802 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
7803 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
7804 (ggc_alloc_string): Moved from ggc-page.c.
7805 * ggc-none.c (ggc_alloc_obj): New.
7806 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
7807 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
7808 (struct globals): Likewise for dev_zero_fd.
7809 (init_ggc): Likewise for it's initialization.
7810 (ggc_allocated_p): Move careful dereference from ...
7811 (ggc_lookup_page_table): ... here. Delete.
7812 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
7813 (alloc_anon): Use valloc if no mmap.
7814 (release_pages): Use free if using valloc.
7815 (ggc_alloc_obj): Renamed from alloc_obj.
7816 (ggc_set_mark): Renamed from mark_obj.
7817 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
7818 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
7819 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
7820 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
7821 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
7822 (ggc_collect): Use fp printing instead of our own rounding.
7823 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
7824 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
7825 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
7826 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
7827 (struct ggc_string, struct ggc_any): Delete.
7828 (offsetof): Provide default definition.
7829 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
7831 (struct ggc_mem): New, from corpse of ggc_any.
7832 (struct ggc_status): Delete.
7833 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
7834 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
7835 (n_strings_collected, n_anys_collected): Delete.
7836 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
7837 (ggc_alloc_string, ggc_alloc): Delete.
7838 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
7839 (ggc_free_string, ggc_free_any): Delete.
7840 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
7841 (ggc_compare_addresses, ggc_mark_string): Delete.
7842 (ggc_mark_string_if_gcable, ggc_mark): Delete.
7843 (search_data): Delete.
7844 (struct globals): New.
7845 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
7846 (tree_insert, tree_lookup): New.
7847 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
7848 (clear_marks, sweep_objs): New.
7849 (ggc_collect): Gut. Use clear_marks, sweep_objs.
7850 (init_ggc): Set allocated_last_gc.
7851 (ggc_push_context): Gut. Use G.context.
7852 (ggc_pop_context): Likewise.
7853 (ggc_pop_context_1): New.
7854 (debug_ggc_tree): New.
7855 (debug_ggc_balance, tally_leaves): New.
7856 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
7857 (ggc_mark_string_if_gcable): Remove decl.
7858 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
7859 (ggc_mark_rtvec_children): New.
7860 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
7861 (ggc_mark_if_gcable): New decl.
7862 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
7863 (ggc_alloc_tree, ggc_alloc): Likewise.
7864 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
7865 (ggc_alloc_obj): New decl.
7866 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
7867 (ggc_alloc_tree, ggc_alloc): Likewise.
7868 (ggc_set_mark): New decl.
7869 * rtl.h (struct rtx_def): Remove gc_mark.
7870 (struct rtvec_def): Likewise.
7871 * tree.h (struct tree_common): Likewise.
7873 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
7875 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
7876 float_format and thread_file definitions.
7877 * configure: Rebuilt.
7879 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
7881 * extend.texi (Function Names): Document types of function names.
7883 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7885 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
7886 an earlyclobbered output conflict with RELOAD_INPUT reloads.
7888 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7890 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
7892 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7894 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
7896 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
7898 * collect2.c (main): Do prelimnary link on AIX if rflag.
7900 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7902 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
7903 __CTOR_LIST__ in opposite order, which is the correct order for sorted
7905 (__do_global_dtors): similarly for __DTOR_LIST__.
7907 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7908 Diego Novillo <dnovillo@cygnus.com>
7910 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
7913 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
7915 * fixincl/*: Merged "no_bogosity" branch
7916 * fixincl/fixlib.h: protect against doubly defining t_bool
7917 * fixincl/server.h: protect against doubly defining t_bool
7919 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
7921 * genoutput.c: Include toplev.h.
7923 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
7925 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7927 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
7928 * configure: Regenerate.
7930 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
7932 * gcse.c (delete_null_pointer_checks): Returns void.
7934 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7936 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
7937 * emit-rtl.c (copy_insn_1): Likewise.
7939 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
7941 * config/mips/mips.c (mips_build_va_list): Correct
7942 TREE_CHAIN setting when hard-float.
7943 (mips_va_start): Use corrected setting.
7944 (mips_va_arg): Likewise. Also pass a tree to build of
7945 POSTINCREMENT_EXPR rather than a naked 'int'.
7947 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
7949 * ggc.h (ggc_push_context): Fix comment.
7950 (ggc_pop_context): Likewise.
7951 (mark_string_if_gcable): Likewise.
7952 * ggc-common.c (ggc_mark_rtx_children): Use
7953 ggc_mark_string_if_gcable.
7954 * ggc-page.c (ggc_lookup_page_table): New function.
7955 (ggc_allocated_p): Likewise.
7956 (mark_obj): Fix formatting.
7957 (ggc_mark_string_if_gcable): New function.
7958 * ggc-simple.c (ggc_allocated_strings): New variable.
7959 (ggc_strings_used): Likewise.
7960 (ggc_compare_addresses): New function.
7961 (ggc_pop_context): Pop the `any' memory too.
7962 (ggc_mark_string_if_gcable): New function.
7963 (ggc_collect): Initialize and tear down ggc_allocated_strings.
7965 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
7967 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
7968 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
7969 * rs6000.c (expand_block_move): Match movstrsi_?reg register
7972 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
7974 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
7975 (sched_reg_live_length, sched_reg_basic_block): Delete.
7976 (current_block_num, bb_live_regs, old_live_regs): Delete.
7977 (dead_notes, struct sometimes): Delete.
7978 (sched_note_set, birthing_insn_p): Delete.
7979 (adjust_priority): Gut useless reg lifetime code.
7980 (create_reg_dead_note, attach_deaths): Delete.
7981 (attach_deaths_insn, new_sometimes_live): Delete.
7982 (finish_sometimes_live): Delete.
7983 (find_pre_sched_live, find_post_sched_live): Delete.
7984 (update_reg_usage): Delete.
7985 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
7986 (schedule_insns): Delete reg lifetime code.
7987 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
7988 (unlink_other_notes): Adjust REG_NOTE commentary.
7989 (reemit_notes): Use REG_SAVE_NOTE.
7990 (schedule_block): Likewise.
7991 (schedule_region): Allocate bitmap of blocks in region. Use
7992 count_or_remove_death_notes. Use update_life_info.
7994 * rtl.h (REG_SAVE_NOTE): New.
7995 * rtl.c (reg_note_name): Update.
7997 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
7999 * combine.c (refresh_blocks, need_refresh): New.
8000 (combine_instructions): Allocate refresh_blocks. Invoke
8001 update_life_info if needed.
8002 (distribute_notes): Mark refresh_blocks instead of installing
8004 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
8005 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
8007 * Makefile.in (recog.o): Depend on basic-block.h.
8009 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
8011 * genrecog.c (add_to_sequence): Thinko last change: delete
8012 shadowing allow_const_int variable.
8014 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8016 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
8017 __GNUC__ and __GNUC_MINOR__.
8019 * gansidecl.h: Likewise.
8025 * toplev.h: Likewise.
8031 * varray.c: Likewise.
8033 * varray.h: Likewise.
8035 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8037 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
8038 use one before a jump table.
8040 * rtl.def (ADDRESS): Change documentation to match reality.
8041 * md.texi: Don't document it.
8042 * gmicro.md (load address pattern): Use 'p' constraint, delete use
8045 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
8047 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
8049 * genrecog.c (add_to_sequence): Move allow_const_int test outside
8050 known predicate block; default allow_const_int true.
8051 (debug_decision_list): New.
8053 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
8055 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
8057 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
8059 * gcse.c (gcse_main): Avoid global optimizations if we have a
8060 large number of basic blocks and the ratio of edges to blocks
8062 (delete_null_pointer_checks): Likewise.
8064 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
8066 * c-common.c (check_format_info): Warn if format string isn't a
8069 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8071 * configure.in (arm*-*-*): Don't let autoconf remove brackets
8072 * configure: regenerate
8074 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
8076 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
8077 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
8078 (peepholes): Re-enable.
8080 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
8082 * Makefile.in (flow.o): Depend on TREE_H.
8083 * basic-block.h (REG_SET_EQUAL_P): New.
8086 (free_regset_vector): Remove declaration.
8087 (flow_delete_insn_chain): Declare.
8088 (enum update_life_extent): New.
8089 (update_life_info, count_or_remove_death_notes): Declare.
8090 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
8091 Verify register live at bb->global_live_at_start before adding USE.
8092 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
8093 (CLEAN_ALLOCA): New.
8095 (PROP_*): New flags.
8096 (find_basic_blocks_1): Use alloc_EXPR_LIST.
8097 (clear_edges): Zero n_edges.
8098 (make_edge): Increment n_edges.
8099 (split_edge): Don't allocate bb->local_set. Increment n_edges.
8100 (flow_delete_insn_chain): Export.
8101 (delete_block): Decrement n_edges.
8102 (merge_blocks_nomove): Likewise.
8103 (life_analysis): Give life_analysis_1 PROP flags.
8104 (verify_wide_reg_1, verify_wide_reg): New.
8105 (verify_local_live_at_start): New.
8106 (update_life_info): Rewrite to call into propogate_block.
8108 (mark_regs_live_at_end): After reload, if epilogue as rtl,
8109 always mark stack pointer. Conditionally mark PIC register.
8110 After reload, mark call-saved registers, return regsiters.
8111 (life_analysis_1): Accept PROP flags not remove_dead_code.
8112 Call mark_regs_live_at_end before zeroing regs_ever_live.
8113 Use calculate_global_regs_live. Copy global_live_at_end before
8114 calling final propagate_block. Zero reg_next_use on exit.
8115 (calculate_global_regs_live): New.
8116 (allocate_bb_life_data): Don't allocate bb->local_set.
8117 (init_regset_vector, free_regset_vector): Remove.
8118 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
8119 Test flags before every operation. Warn if prologue/epilogue insn
8120 would have been deleted.
8121 (mark_set_regs, mark_set_1): Accept and use FLAGS.
8122 Use alloc_EXPR_LIST.
8123 (mark_used_regs): Accept and use FLAGS, not FINAL.
8124 Remove special handling for RETURN.
8125 (try_pre_increment): Use alloc_EXPR_LIST.
8126 (dump_flow_info): Dump n_edges.
8127 (unlink_insn_chain, split_hard_reg_notes): Remove.
8128 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
8129 (find_insn_with_note, new_insn_dead_notes): Remove.
8130 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
8131 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
8132 (replace_insns): Remove.
8133 (count_or_remove_death_notes): New.
8134 (verify_flow_info): Abort on error after all checks.
8135 (remove_edge): Decrement n_edges.
8136 (remove_fake_edges): Tweek format.
8137 * haifa-sched.c (schedule_insns): Use split_all_insns.
8138 * output.h (update_life_info): Remove declaration.
8139 * recog.c (split_all_insns): From the corpse of split_block_insns,
8140 do the whole function block by block. Use update_life_info.
8141 (recog_last_allowed_insn): New.
8142 (recog_next_insn): Mind it.
8143 (peephole2_optimize): Set it. Walk backwards through blocks.
8144 Use update_life_info.
8145 * rtl.h (update_flow_info, replace_insns): Remove declarations.
8146 (split_all_insns): Declare.
8147 * toplev.c (rest_of_compilation): Thread prologue before flow2.
8148 Use split_all_insns.
8150 * i386.md (or -1 peep2s): Disable.
8152 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
8154 * config/mips/mips.md (movstrsi+[123]) : Combine these into
8155 a single pattern. Scrap the 'd' versions as unnecessary.
8157 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
8158 tablejump_mips162,tablejump_internal4): The operands to a
8159 label_ref must be VOIDmode.
8161 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8163 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
8165 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
8167 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
8169 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
8171 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
8172 cache every function if ggc_p.
8174 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8176 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
8177 instead of copy_rtx. Accept sequences that contain asm statements.
8178 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
8179 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
8180 orig_asm_operands_vector, copy_asm_operands_vector,
8181 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
8183 * rtl.h (copy_insn, copy_insn_1): Declare.
8185 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8187 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
8189 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
8190 arguments to `current_file_function_operand'.
8192 * genrecog.c: Include hard-reg-set.h and resource.h in the
8193 generated output file.
8195 * real.c: Include tm_p.h.
8197 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8199 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
8202 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
8204 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
8205 before the fctiwz insn.
8207 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8208 Mark Mitchell <mark@codesourcery.com>
8210 * tree.c (make_lang_type_fn): New funtion pointer.
8211 (make_lang_type): Call it.
8212 * tree.h (make_lang_type): Declare.
8213 (make_lang_type_fn): Likewise.
8214 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
8216 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
8218 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
8219 make sure that HIGH instructions are copied into BASE_REGS.
8221 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
8223 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
8225 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
8227 * c-decl.c (finish_struct): Use simpler method of
8228 removing elements of a singly-linked list.
8230 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
8232 * alpha.md (peephole2's): Comment out peephole2's that generate
8235 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
8237 * genrecog.c (add_to_sequence): Disable mode check for
8240 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8242 * ggc-simple.c (init_ggc): Set empty_string.
8244 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
8246 * configure.in: Detect mmap. Add --with-gc=foo to select
8247 garbage collector; default to page if mmap available.
8248 * Makefile.in (GGC): Substitute.
8250 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
8252 * c-decl.c (ggc_p): Enable.
8254 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8256 * flow.c (verify_flow_info): Make it extern & unconditionally define.
8258 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
8260 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
8261 string for little-endian-data.
8263 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
8265 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
8266 case somebody tries to compile --enable-checking code with gcc
8269 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
8271 * genrecog.c (add_to_sequence): Verify operand to label_ref is
8274 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
8276 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
8277 * jump.c (jump_optimize_1): Document why.
8279 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8281 * collect2.c (scan_prog_file, scan_libraries): Prototype function
8282 pointers and casts for `int_handler' and `quit_handler'.
8284 * flow.c (verify_flow_info, split_hard_reg_notes,
8285 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
8286 remove_edge, remove_fake_successors): Add static prototypes.
8287 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
8288 (mark_set_1): Initialize variable `regno'.
8289 (unlink_insn_chain): Likewise for variable `curr'.
8290 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
8292 * loop.c (strength_reduce): Initialize variable
8293 `unrolled_insn_copies'.
8294 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
8295 prototypes. Change these functions to take const PTR parameters
8296 to avoid prototype conflict when used as the comparson argument
8298 (check_dbra_loop): Initialize variable `comparison_val'.
8300 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
8301 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
8302 (find_valid_class): Initialize variable `best_class'.
8303 (find_reloads): Call memcpy, not bcopy.
8305 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
8306 (hard_reg_use_compare): Don't needlessly cast away const.
8307 (reload_reg_class_lower): Likewise.
8308 (choose_reload_regs): Initialize variable `regno'.
8310 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
8312 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
8314 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
8316 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
8317 ({,d}discard): Add forward declarations. Declare parameter as
8319 (main_without_main): Explicitly declare return type to be int.
8320 (memcpy): Properly declare.
8322 * libgcc2.c (toplevel): If inhibit_libc is defined and not
8323 building the trampoline support, declare malloc, free, and
8325 (__clear_cache): Mark arguments as potentially unused.
8327 * frame.c (toplevel): If inhibit_libc is defined, declare
8330 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
8332 * flow.c (make_edge): Accept an optional 2D bitmap in which
8333 to cache edge existence. Update all callers.
8334 (make_label_edge, make_eh_edge): Pass through the edge cache.
8335 (make_edges): Provide the cache.
8337 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8339 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
8341 (local_mbtowc): Change the type of variable `i' from int to size_t.
8343 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
8344 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
8346 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
8348 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
8349 after other includes that define the appropriate types. Include
8350 tm_p.h for getting user prototypes.
8351 * ggc-callbacks.c (toplevel): Ditto.
8352 * ggc-none.c (toplevel): Ditto.
8353 * gcc-page.c (toplevel): Ditto.
8354 * ggc-simple.c (toplevel): Ditto.
8356 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
8357 Jonathan Larmour <jlarmour@cygnus.co.uk>
8359 * config/mips/mips.c (mips_move_2words): Split doubles if
8360 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
8362 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
8364 * genrecog.c (struct decision_test): New.
8365 (struct decision): Remove test-related members, sort the rest by size.
8366 (IS_SPLIT): Simplify.
8367 (new_decision, new_decision_test): New.
8368 (add_to_sequence): Use them. No special handling for args of
8370 (maybe_both_true): Renamed from not_both_true; return sense changed.
8371 (maybe_both_true_1, maybe_both_true_2): New. Broken out
8372 of maybe_both_true and adjusted for decision_test.
8373 (position_merit): Remove.
8374 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
8375 (merge_accept_insn): New, broken out of merge_trees.
8376 (merge_trees): Use them. No special case for c_test; no node
8377 splitting; use test type instead of position_merit.
8378 (factor_tests): New.
8379 (simplify_tests): New.
8380 (break_out_subroutines): Don't write code now.
8381 (find_afterward): New.
8382 (write_afterward, write_switch, write_cond): New.
8383 (write_action, is_unconditional): New.
8384 (write_node): New. Use them.
8385 (write_tree_1): Rewrite. Use the new functions above.
8386 (write_tree): Remove afterward processing.
8387 (write_subroutine): Simplify function variant emission.
8388 (write_subroutines): New.
8389 (same_codes, clear_codes): Remove.
8390 (same_modes, clear_modes): Remove.
8391 (write_header): New, broken out of main.
8392 (make_insn_sequence): Use new_decision and new_decision_test.
8393 (process_tree): New, broken out of main.
8394 (main): Adjust for merge_trees interface change.
8395 Don't #define operands in the output file.
8396 (record_insn_name): New, broken out of make_insn_sequence.
8397 (debug_decision_2, debug_decision_1, debug_decision_0): New.
8398 (debug_decision): New.
8400 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
8402 * resource.c (find_free_register): Mark class_str argument const.
8403 * resource.h: Update prototype to match.
8405 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
8406 * i386.md: Give all anonymous insns names.
8408 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
8410 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
8413 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
8415 * toplev.c (dbr_sched_time): Unconditional.
8416 (peephole2_time): New.
8417 (compile_file): Add pass numbers to all of the dump file suffixes.
8418 Dump peephole2_time. Don't dump times for non-applicable passes.
8419 (rest_of_compilation): Add pass numbers to dump file suffixes.
8420 Conditionalize calls to the scheduler.
8421 * invoke.texi: Update.
8423 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
8425 * flow.c (make_edges): Fix insn iteration.
8426 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
8427 (find_basic_blocks_1): Fix spelling mistake.
8429 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
8431 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
8432 always have side-effects. Use memset not bzero.
8433 (make_node): Likewise.
8435 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
8437 * stmt.c (expand_anon_union_decl): When any of the elements of the
8438 union is addressable, so is the entire union.
8440 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
8442 * sbitmap.c (sbitmap_ones): Don't set too many bits.
8444 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
8445 * bitmap.c (bitmap_operation): Return true iff TO changed.
8446 (bitmap_equal_p): New.
8447 (bitmap_bit_p): Tidy arithmetic.
8448 (debug_bitmap_file): Likewise.
8450 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
8452 * toplev.c (rest_of_compilation): Turn on cse_not_expected
8453 before cse2 instead of after.
8455 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
8457 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
8460 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8462 * cppinit.c (is_idchar initializer): Loosen tests to accept
8465 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
8467 * mips.md: Define conditional move patterns for floating point
8468 operands and DI mode conditions.
8470 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
8472 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
8473 always have side-effects.
8475 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
8477 * mn10200.c (asm_file_start): Fix typo.
8479 * cppinit.c (is_idchar initializer): Tighten tests for when
8480 to put the table into initialized memory.
8482 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
8483 not an array of rtunion.
8484 * gcc-page.c (ggc_alloc_rtvec): Similarly.
8485 * gcc-simple (ggc_free_rtvec): Similarly.
8487 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
8490 * mbchar.h: Add missing #endif.
8492 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
8493 (FPBIT, DPBIT): Define.
8495 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8497 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
8499 * profile.c (instrument_arcs, output_gcov_string,
8500 tablejump_entry_p): Add static prototypes.
8501 (output_gcov_string): Constify a char*.
8503 * regmove.c (replacement_quality, fixup_match_2): Add static
8506 * resource.h (reg_dead_p): Add extern prototype.
8508 * rtl.c (trim_filename): Add static prototype.
8510 * scan-decls.c (skip_to_closing_brace): Likewise.
8512 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
8513 (expand_end_case): Initialize variable `range'.
8514 (emit_case_nodes): Remove unused prototype `rtx_fn'.
8516 * varasm.c (asm_emit_uninitialised): Add static prototype.
8517 (asm_emit_uninitialised, assemble_variable): Mark parameter with
8520 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8522 * cpplib.c (if_directive_nameo): Add static prototype.
8524 * cse.c (cse_insn): Remove unused variable `p'.
8526 * except.c (create_rethrow_ref, push_entry,
8527 receive_exception_label, new_eh_region_entry, find_func_region,
8528 clear_function_eh_region, process_nestinfo): Add static prototypes.
8529 (get_reg_for_handler): Hide definition.
8530 (process_nestinfo): Initialize variable `extra_handlers'.
8532 * expr.h (expand_builtin_longjmp): Add extern prototype.
8534 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
8536 * function.c (prepare_function_start): Likewise.
8537 (pop_function_context_from): Mark parameter `context' with
8539 (push_temp_slots_for_block, flush_addressof): Hide definition.
8541 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
8542 solve_program_flow_graph, calculate_branch_probs,
8543 function_summary, main, fancy_abort): Add prototypes.
8545 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
8546 (add_hash): Constify a char*.
8548 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
8549 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
8550 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
8552 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
8554 * lists.c (free_list, zap_lists): Likewise.
8556 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8558 * alias.c (nonlocal_reference_p): Add static prototype.
8560 * bitmap.c (bitmap_element_allocate): Prototype args in function
8563 * builtins.c (stabilize_va_list): Add static prototype.
8564 (expand_builtin_va_arg): Constify a char*.
8566 * c-lex.c (getch, put_back, extend_token_buffer_to,
8567 read_line_number, token_getch, token_put_back): Add static
8570 * c-parse.gperf (hash, is_reserved_word): Likewise.
8572 * cccp.c (is_dir_separator): Likewise.
8574 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8576 * graph.h: New file to prototype functions exported by graph.c.
8578 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
8580 * graph.c: Include graph.h.
8582 * toplev.c: Likewise. Remove redundant prototypes.
8584 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
8586 * invoke.texi: Removed duplicated description for -Q.
8588 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
8590 * extend.texi: Grammar fix in __extension__ text.
8592 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
8594 * md.texi (define_peephole2): New section.
8596 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
8598 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
8599 (mov $-1 to or peepholer): Enable for pentium when optimizing for
8602 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
8604 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
8606 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
8608 * i386.md (ffs expander): Emit Pentium friendly code for
8611 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
8613 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
8617 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8619 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
8621 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
8623 * config/m68k/m68k.c (use_return_insn): Return false if the pic
8626 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8628 * md.texi (No Constraints): Delete section.
8629 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
8630 * final.c (final_scan_insn): We always have register constraints.
8631 * genattrtab.c: Don't include "insn-config.h".
8632 (write_attr_case): We always have register constraints.
8633 * genconfig.c (register_constraint_flag): Delete.
8634 (walk_insn_part): Don't check whether we have register constraints.
8635 (main): Don't write out "#define REGISTER_CONSTRAINTS".
8636 * genoutput.c (have_constraints): Delete.
8637 (main): Don't set it.
8638 (output_operand_data): We always have constraints.
8639 (scan_operands): Likewise.
8640 (compare_operands): Likewise.
8641 * local-alloc.c (block_alloc): We always have constraints.
8642 (requires_inout): Always compile this function.
8643 * recog.c (extract_insn): We always have constraints.
8644 (constrain_operands, reg_fits_class_p): Always compile these
8646 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
8648 (struct insn_operand_data): Likewise.
8649 * regclass.c (regclass): We always have constraints.
8650 (record_reg_classes, copy_cost, record_address_regs,
8651 auto_inc_dec_reg_p): Always compile these functions.
8652 * regmove.c (regmove_optimize): We always have constraints.
8653 * reload.c (find_reloads): Likewise.
8654 * reload1.c (reload): Likewise.
8655 (reload_cse_simplify_operands): Likewise.
8656 * i860.c (output_delay_insn): Likewise.
8658 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
8660 * iris6.h (BUILD_VA_LIST_TYPE): Define.
8662 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8664 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
8665 for the va_list record.
8667 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
8669 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
8672 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
8674 * alias.c: Include insn-flags.h.
8675 * Makefile.in (alias.o): Update.
8677 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
8679 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
8680 to LTU and GEU. Handle more cases using sbb.
8682 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
8684 * i386.md (truncatexfdf splitters): Do not use subreg.
8685 (fop XFmode patterns): Fix mode in operand testing.
8687 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
8689 * jump.c (jump_optimize_1): Amend last change to test only the
8690 form of the operand, not the insn.
8692 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
8693 not register_operand to determine when B may need preloading.
8695 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
8697 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
8698 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
8699 (call-value patterns): Move to end of file.
8700 (*): Remove mode from label_ref in (pc) context.
8701 (movstrqi): Use memory not general_operand for BLKmode operands.
8702 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
8703 to register_operand operands.
8704 (peep2 patterns): Convert from commented-out peephole patterns.
8706 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8708 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
8709 to BUILT_IN_INIT_DWARF_REG_SIZES.
8710 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
8711 Renamed from BUILT_IN_DWARF_REG_SIZE; call
8712 expand_builtin_init_dwarf_reg_sizes.
8713 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
8714 with __builtin_init_dwarf_reg_size_table.
8715 * dwarf2out.c (struct reg_size_range): Delete.
8716 (expand_builtin_init_dwarf_reg_sizes): New function.
8717 (expand_builtin_dwarf_reg_size): Delete.
8718 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
8719 (expand_builtin_dwarf_reg_size): Don't declare.
8720 * libgcc2.c (dwarf_reg_size_table_initialized): New.
8721 (dwarf_reg_size_table): New.
8722 (init_reg_size_table): New function.
8723 (copy_reg): Use dwarf_reg_size_table.
8724 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
8727 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
8729 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
8730 Correctly build argument list to constructor and destructor functions.
8732 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
8734 * c-tree.h (warn_float_equal): Declare.
8735 * c-decl.c (warn_float_equal): Define.
8736 (c_decode_option): Recognize -W[no-]float-equal.
8737 * c-typeck.c (build_binary_op): Conditionally warn
8738 about equality tests of floating point types.
8739 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
8740 * invoke.texi: Add docs for -Wfloat-equal warning.
8742 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
8744 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
8745 generating RTL directly.
8746 * mips.h (INIT_TARGET_OPTABS): Likewise.
8747 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
8749 * expr.h (init_mov_optab): Delete declaration
8751 * h8300.c (WORD_REG_USED): Update to avoid useless register
8752 saves in interrupt functions and functions which never return.
8754 * cse.c (struct set): Delete inner_dest_loc field.
8755 (cse_insn): Remove assignments to inner_dest_loc field.
8757 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
8759 * ggc-page.c: Don't include <unistd.h> etc taken care of
8760 by "system.h". Include <sys/mman.h> afterward.
8762 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
8764 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
8767 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
8769 * xcoffout.c (xcoffout_declare_function): Add documentation.
8770 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
8771 TARGET_64BIT. Compare constant to -1, not bit pattern.
8772 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
8773 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
8776 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
8778 * dwarf2out.c (add_abstract_origin_attribute): Abort if
8780 (gen_inlined_enumeration_type_die): Do not abort if the type has
8781 not been writeen out.
8782 (gen_inlined_structure_type_die): Do not abort if the type has
8783 not been writeen out.
8784 (gen_inlined_union_type_die): Do not abort if the type has
8785 not been writeen out.
8786 (gen_tagged_type_instantiation_die): Do not abort if the type
8787 has not been written out.
8789 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8791 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
8793 * reg-stack.c (straighten_stack): Copy hard reg set with
8796 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
8798 * builtins.c (stabilize_va_list): Stabilize array type va_list
8799 to a pointer type, not the base record type.
8800 (expand_builtin_va_copy): Dereference the pointers explicitly;
8801 use the correct size for the copy.
8803 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
8804 (rs6000_va_arg): Likewise.
8806 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
8808 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
8810 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
8812 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
8814 (DECL_BUILT_IN_CLASS): Adjust accordingly.
8816 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
8818 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
8819 (init_ggc): Use it instead of a constant.
8820 (ggc_collect): Bound allocated_last_gc by it.
8822 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
8824 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
8827 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
8829 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
8830 (mips*-*-openbsd*): Let big endian configuration be a fragment.
8832 * config/mips/openbsd.h: New, OpenBSD little endian target.
8833 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
8834 * config/mips/xm-openbsd.h: New, OpenBSD host.
8836 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
8838 * config/m68k/m68k.c (output_function_prologue,
8839 output_function_epilogue): Use
8840 current_function_uses_pic_offset_table instead of regs_ever_live
8841 to decide whether to save/restore pic register.
8842 (legitimize_pic_address): Don't modify regs_ever_live any more.
8844 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
8846 * function.h (struct function): Add x_dont_save_pending_sizes_p.
8847 * stor-layout.c (variable_size): Don't add sizes to the pending
8848 sizes list if x_dont_save_pending_sizes_p is set.
8850 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
8852 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
8853 for symbolic_operand().
8854 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
8856 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8858 * combine.c (gen_rtx_combine): Add missing call to va_end().
8860 * final.c (asm_fprintf): Likewise.
8862 * genattrtab.c (attr_rtx): Likewise.
8864 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
8866 * cse.c: Update comments.
8867 (cse_insn): When converting a conditional/computed jump into
8868 an unconditional jump, always make sure a BARRIER immediately
8869 follows the converted jump. Do not delete unreachable code.
8870 (cse_basic_block): Do not delete unreachable code.
8871 * toplev.c (rest_of_compilation): Move call to
8872 delete_trivially_dead_insns after the conditional call to
8875 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8877 * collect2.c (make_temp_file): Don't prototype.
8879 * gcc.c (make_temp_file): Likewise.
8881 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
8883 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
8885 * varasm.c (asm_emit_uninitialised): New function: Generate
8886 the assembler statements necessary to declare an uninitialised
8888 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
8890 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
8891 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
8893 (assemble_variable): Use asm_emit_uninitialised to emit an
8894 uninitialised variable.
8896 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
8898 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
8899 constant on a 64 bit host. Patch supplied by Geoffrey Keating
8900 <geoffk@cygnus.com>.
8902 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8904 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
8905 * c-common.h (builtin_function): Don't declare.
8907 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
8909 (pushdecl): Likewise.
8910 (finish_decl): Likewise.
8911 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
8912 int. All callers changed.
8913 Set the builtin's DECL_BUILT_IN_CLASS.
8914 * tree.h (enum built_in_class): New.
8915 (enum built_in_function): Delete NOT_BUILT_IN.
8916 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
8918 (DECL_SET_FUNCTION_CODE): Likewise.
8919 (DECL_BUILT_IN_CLASS): New macro.
8920 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
8921 (struct tree_decl): Split builtin function code field into a
8923 (builtin_function): Declare.
8925 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
8927 * optabs.c (init_traps): Fix typo in last change.
8929 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
8931 * toplev.c (rest_of_decl_compilation): Update comment.
8933 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
8935 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
8936 in .sbss if appropriate.
8937 (EXTRA_SECTION_FUNCTIONS): Add sbss.
8938 (SBSS_SECTION_ASM_OP): New macro.
8939 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
8940 (EXTRA_SECTIONS): Add in_sbss.
8941 * config/mips/mips.h: Prototype sbss_section.
8943 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
8945 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
8948 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
8950 * optabs.c (init_traps): Register trap_rtx as a GC root.
8952 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8954 * config/mips/mips.c (function_arg_pass_by_reference): Define
8955 unconditionally, since it's called unconditionally.
8957 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
8959 * toplev.c (documented_lang_options): Add -fshort-wchar.
8960 * c-decl.c (c_decode_option): Likewise.
8961 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
8963 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
8964 * gcc.c (default_compilers): If -fshort-wchar,
8965 override __WCHAR_TYPE__.
8966 * tm.texi (C Dialect Options): Add -fshort-wchar.
8968 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
8969 symbol for a variable.
8971 * cpplib.h (CPP_PREPROCESSED): New macro.
8972 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
8973 we're seeing this input for a second time.
8975 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
8977 * emit-rtl.c (init_emit_once): Initialize modes first.
8979 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
8981 * config/i386/i386.c (pic_label_name): Change to char pointer.
8982 (global_offset_table): New variable.
8983 (load_pic_register): Fill global_offset_table if it hasn't
8984 already been done. Allocate pic_label_name dynamically.
8985 * ggc.h (empty_string): New variable.
8986 * ggc-simple.c (empty_string): Likewise.
8987 (init_ggc): Allocate empty_string and add as root.
8988 * stmt.c (digit_strings): New variable.
8989 (init_stmt): Add last_block_end_note as root. Allocate and
8990 initialize digit_strings.
8991 (expand_asm_operands): Use empty_string instead of string
8992 constant. Use digit_strings instead of string constants.
8993 * profile.c (init_arc_profiler): Allocate string with
8994 ggc_alloc_string instead of xmalloc.
8995 (output_func_start_profiler): Likewise.
8996 * c-typeck.c (digest_init): Check if init is error_mark_node.
8998 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
8999 Richard Henderson <rth@cygnus.com>
9001 * ggc-page.c: New file.
9002 * Makefile.in (ggc-page.o): New.
9004 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
9006 * invoke.texi: Document -fdelete-null-pointer-checks
9007 * toplev.c (flag_delete_null_pointer_checks): New.
9008 (f_options): Add entry for -fdelete-null-pointer-checks.
9009 (rest_of_compilation): Conditionalize null pointer check
9010 elimination on flag_delete_null_pointer_checks.
9011 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
9013 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
9015 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
9016 copyright notice and special exception to GPL.
9018 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9020 * abi64.h (mips_function_value): Add prototype arguments.
9022 * mips-protos.h: New file with mips prototypes.
9024 * mips.c: Include "tm_p.h".
9025 (mktemp, lookup_name): Add prototype arguments.
9026 (extern_list, string_constant, mips_fill_delay_slot,
9027 mips_output_external, mips_output_external_libcall,
9028 mips_output_filename, mips_declare_object, function_prologue,
9029 mips_expand_prologue, function_epilogue, mips16_constant,
9030 build_mips16_function_stub, mips_output_conditional_branch):
9032 (mips_va_start): Remove unused variable `u'.
9033 (mips_va_arg): Cast value to unsigned when comparing against one.
9035 (save_restore_insns, mips_expand_prologue): Add missing arg in
9036 call to `large_int'.
9038 * mips.h: Move prototypes to mips-protos.h.
9039 (data_section, memory_address_p, rdata_section,
9040 readonly_data_section, simple_epilogue_p, text_section): Delete
9041 prototypes delcared elsewhere.
9042 (mips_epilogue_delay_slots, print_options): Delete unused decls.
9044 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
9046 * mips.md: Delete extra args in call to `mips_move_2words'.
9048 * xm-iris6.h (alloca): Add prototype argument.
9050 * genpeep.c: Include "tm_p.h" in generated output file.
9052 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9054 * basic-block.h (find_edge_index): Change parameters.
9055 * flow.c (verify_edge_list): Pass basic_block parameters to
9056 find_edge_index instead of integers.
9058 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
9060 * combine.c (simplify_comparison): Use an unsigned shift to adjust
9063 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
9065 * gcc.1: Fix a formatting error.
9067 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9069 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
9070 i786, mn10200, mn10300, pdp11, v850.
9072 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
9074 * libgcc2.c (num_digits): Add prototype with
9075 __attribute__((const)).
9076 (__terminate): Add prototype.
9078 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
9080 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
9082 * alpha/alpha.c (print_operand): Fix type of `code'.
9083 (alpha_output_filename): Constify.
9084 * alpha/alpha.h: Move all function declarations ...
9085 * alpha/alpha-protos.h: ... here. New file.
9086 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
9087 (SECTION_FUNCTION_TEMPLATE): Likewise.
9089 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9091 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
9092 * expr.c (expand_expr): Likewise.
9093 (do_jump): Likewise.
9094 (do_store_flag): Pass ccp_store_flag to can_compare_p.
9095 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
9097 (enum can_compare_purpose): New.
9098 (can_compare_p): Adjust prototype.
9099 (prepare_cmp_insn, prepare_operand): Declare.
9100 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
9101 * optabs.c (cmp_available_p): Deleted.
9102 (expand_abs): Pass ccp_jump to can_compare_p.
9103 (can_compare_p): New arg PURPOSE. Check for combined optabs.
9104 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
9105 Call can_compare_p rather than cmp_available_p.
9106 (prepare_operand): No longer static.
9107 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
9108 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
9109 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
9110 sequence to use emit_cmp_and_jump_insns.
9111 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
9113 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
9115 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
9116 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
9117 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
9118 (plus (reg) (const_int 0))
9119 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
9121 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
9123 * rs6000.c (expand_block_move): DImode loads and stores require
9124 word-aligned displacements. Increment address registers with
9125 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
9127 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
9129 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
9130 is no name for the base type, rather than segfault. If we are
9131 writing out a complex integer type, use DW_ATE_lo_user.
9133 * expr.c (emit_move_insn_1): If we are copying a complex that fits
9134 in one word or less (complex char, complex short, or on 64 bit
9135 systems complex float) to/from a hard register, copy it through
9136 memory instead of dying in gen_{real,imag}part. If we have a
9137 short complex type, prevent inlining since it allocates stack
9140 * tree.c (build_complex_type): If we are writing dwarf2 output,
9141 generate a name for complex integer types.
9143 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9145 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
9146 * flow.c (remove_edge): Remove extra whitespace.
9147 (remove_fake_edges): Fix comment.
9148 (add_noreturn_fake_exit_edges): Use the correct name.
9150 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
9152 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
9153 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
9154 (clean): Depend on INTL_CLEAN.
9155 (maintainer-clean): Adjust.
9157 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9159 * configure.in (AC_PREREQ): Bump to 2.13.
9160 (AC_C_STRINGIZE): Call this instead of using a custom macro.
9162 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
9164 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
9166 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
9168 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
9169 (HAVE_STRINGIZE): Define.
9171 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
9173 * c-parse.in: save and restore warn_pointer_arith on __extension__
9174 along with pedantic.
9175 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
9176 Set the type of extension to itype rather than $<itype>1 kludge.
9177 * extend.texi (Alternate Keywords): Adjust documentation.
9178 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
9180 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
9182 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
9183 most assembler templates.
9185 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
9186 FP loads and stores.
9187 (following_call): Always return zero for the PA8000.
9188 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
9189 FP loads and stores.
9190 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
9192 * pa.h (BRANCH_COST): Define.
9194 * pa.md (return, return_internal): Use bve for PA2.0.
9196 * pa.md (fused multiply): Add variants which reduce height for the
9197 fused multiply, but which still generate 2 insns.
9198 (fnegabs): Similarly.
9200 * pa.md (subsi3): Turn into an expander. Create two anonymous
9201 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
9202 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
9204 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
9206 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
9208 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
9209 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
9211 * regclass.c (init_regs): Add "top_of_stack" as a garbage
9214 * flow.c (record_active_eh_regions): Terminate loop after finding
9215 the last insn in the last basic block.
9217 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9219 * config/c4x/c4x.md: Delete parallel instruction peepholes.
9221 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9223 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
9225 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9227 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
9228 splitting to not use output template.
9230 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9232 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
9233 * config/c4x/c4x.c (c4x_va_start): New function.
9235 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
9237 * genrecog.c (not_both_true): Handle correctly cases when called for
9238 tests with different positions in the insn.
9240 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9242 * machmode.h (HOST_PTR_PRINTF): Move from here ...
9244 * system.h (HOST_PTR_PRINTF): ... to here.
9246 * mips-tfile.c: Don't include machmode.h.
9248 * Makefile.in (MACHMODE_H): New variable. Update to use it.
9249 (mips-tfile.o): Don't depend on machmode.h.
9251 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9253 * haifa-sched.c (sched_analyze): Rename local variable `region' to
9254 avoid conflicts with typedef struct `region' at the top level scope.
9256 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
9258 * basic-block.h (basic_block): Add eh_beg, eh_end.
9259 * flow.c (entry_exit_blocks): Update.
9260 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
9262 (find_basic_blocks_1): Don't record eh_list at each bb. Use
9263 lists.c functions to allocate insn lists.
9264 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
9266 (make_eh_edge): ... here. New.
9267 (move_stray_eh_region_notes): New.
9268 (record_active_eh_regions): New.
9269 (delete_unreachable_blocks): Split out block merging ...
9270 (try_merge_blocks): ... here. New.
9271 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
9272 Dump debugging data.
9273 (merge_blocks_move_successor_nojumps): Likewise.
9274 (merge_blocks): Use eh_beg+eh_end to validate block movement.
9276 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9278 * extend.texi (Bound member functions): Document unbound pmf
9281 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9283 * flow.c (split_edge): Handle insertion on a fallthrough edge which
9284 has the EXIT_BLOCK as a dest.
9286 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9288 * flow.c (remove_edge): New function to remove an edge from the
9290 (remove_fake_successors): New function to remove fake successor edges.
9291 (remove_fake_edges): New function to remove all fake edges from the
9293 (add_fake_exit_edges): New function to add fake edges from all blocks
9294 with no successors to the exit block.
9295 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
9296 prototypes for new functions.
9298 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9300 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
9301 Use Pmode to determine whether to output .dword or .word.
9303 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
9305 * tree.c (built_in_filename): New variable.
9306 (BUILT_IN_FILENAME): New macro.
9307 (init_tree_codes): Allocate built_in_filename.
9308 (make_node): Use built_in_filename instead of string constant.
9310 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
9312 * configure.in: Add fr30 target.
9313 * configure: Regenerate.
9314 * config/fr30: New directory.
9315 * config/fr30/crti.asm: New file.
9316 * config/fr30/fr30.c: New file.
9317 * config/fr30/crtn.asm: New file.
9318 * config/fr30/fr30.h: New file.
9319 * config/fr30/fr30.md: New file.
9320 * config/fr30/lib1funcs.asm: New file.
9321 * config/fr30/t-fr30: New file.
9322 * config/fr30/xm-fr30.h: New file.
9324 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
9326 * flow.c (merge_blocks_move_successor_nojumps): Delete the
9327 BARRIER at the end of the successor, not the BARRIER before
9330 * pa.c (pa_add_gc_roots): Fix thinko in last change.
9332 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
9334 * stmt.c (any_pending_cleanups): Don't crash when
9335 current_function->stmt is unset.
9337 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9339 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
9340 other initializations that may use it for relative offsets.
9342 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9344 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
9345 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
9346 * config/i386/sol2dbg.h: Removed.
9347 * config/i386/sol2gas.h: New file, to enable gas work-around.
9348 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
9349 Don't use sol2dbg.h.
9350 * configure: Rebuilt.
9352 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
9354 * invoke.texi (-fthis-is-variable): Remove documentation.
9356 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
9358 * basic-block.h (compute_bb_for_insn): Declare.
9359 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
9360 to use; set size of basic_block_for_insn directly.
9361 (find_basic_blocks): Update.
9363 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9365 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
9367 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9369 * crtstuff.c (ON_EXIT): Delete empty macro definition.
9370 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
9372 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
9374 * c-decl.c (c_decode_option): Extend comment.
9376 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
9378 * toplev.c (progname): Make 'const char *'
9379 (flag_print_mem): Move out of main.
9380 (version_flag): Move out of main.
9381 (filename): Move out of main.
9382 (debug_args): Remove g prefix from options.
9383 (documented_lang_options): Remove cpplib specific options.
9384 (display_help): Add g prefix to debug options.
9385 (check_lang_option): Delete this function.
9386 (decode_d_option): New function: Decode -d... option.
9387 (decode_f_option): New function: Decode -f... option.
9388 (decode_W_option): New function: Decode -W... option.
9389 (decode_g_option): New function: Decode -g... option.
9390 (independent_decode_option): New function: Decode a language
9391 independent command line option.
9392 (main): Invoke lang_decode_option and then
9393 independent_decode_option on each command line option in
9396 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
9398 Revert this change. Gavin's patch to operand_equal_p is a better fix.
9399 * fold-const.c (fold_range_test): Do not try to fold the range
9400 test if the rhs or lhs has side effects.
9402 * basic-block.h (compute_flow_dominators): Declare.
9404 * gcse.c (alloc_code_hoist_mem): New function.
9405 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
9406 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
9407 (hoist_code, one_code_hoisting_pass): Likewise.
9408 (gcse_main): If optimizing for size, then hoist expressions
9409 computed in multiple dominated basic blocks.
9411 * gcse.c (invalid_nonnull_info): New function.
9412 (delete_null_pointer_checks): Likewise.
9413 * rtl.h (delete_null_pointer_checks): Declare.
9414 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
9416 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
9417 (merge-blocks_move_successor_nojumps): Likewise.
9418 (merge_blocks): Allow merging of some blocks, even if it requires
9419 physical movement of the blocks, but not if it requires new jumps.
9421 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
9422 Callers and prototype changed.
9423 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
9425 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9427 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
9428 -YP when both -p and -pg are present. From i386/sol2.h.
9430 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9432 * Makefile.in (distclean): Delete tm_p.h.
9433 * configure.in: Create a new file, "tm_p.h", from a list in
9434 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
9435 "i386/i386-protos.h".
9437 * alias.c: Include "tm_p.h".
9438 * c-typeck.c: Likewise.
9439 * calls.c: Likewise.
9441 * emit-rtl.c: Likewise.
9442 * explow.c: Likewise.
9443 * expmed.c: Likewise.
9445 * final.c: Likewise.
9447 * fold-const.c: Likewise.
9448 * function.c: Likewise.
9450 * global.c: Likewise.
9451 * haifa-sched.c: Likewise.
9452 * integrate.c: Likewise.
9454 * local-alloc.c: Likewise.
9456 * optabs.c: Likewise.
9457 * recog.c: Likewise.
9458 * reg-stack.c: Likewise.
9459 * regclass.c: Likewise.
9460 * regmove.c: Likewise.
9461 * reload.c: Likewise.
9462 * reload1.c: Likewise.
9463 * reorg.c: Likewise.
9464 * resource.c: Likewise.
9466 * stor-layout.c: Likewise.
9467 * toplev.c: Likewise.
9469 * unroll.c: Likewise.
9470 * genattrtab.c (main): Make generated file include "tm_p.h".
9471 * genemit.c (main): Likewise.
9472 * genoutput.c (main): Likewise.
9473 * genrecog.c (main): Likewise.
9475 * i386.h: Delete all prototypes.
9476 * i386.c: Include "tm_p.h".
9477 (ix86_attr_length_default): Call constant_call_address_operand
9478 with correct number of arguments.
9479 * i386-protos.h: New file.
9480 * i386.md (unnamed patterns): Call constant_call_address_operand
9481 with correct number of arguments.
9482 (exception_receiver): Call load_pic_register with correct number
9485 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
9487 * c-pragma.c (mark_align_stack): Dereference the void* properly.
9489 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
9491 * rtl.h (insns_safe_to_move_p): New function.
9492 * loop.c (find_and_verify_loops): Use it.
9493 * rtlanal.c (insns_safe_to_move_p): Define it.
9495 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
9497 * c-pragma.c: Include ggc.h.
9498 * Makefile.in (c-pragma.o): Update.
9500 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9502 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
9503 (LIB_SPEC): Likewise.
9504 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
9505 Reindent -YP/-p/-pg.
9506 Copied from config/sparc/sol2.h.
9508 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
9510 * c-pragma.c (mark_align_stack): New.
9512 * c-pragma.h (init_pragma): Declare it.
9513 * c-lex.c (init_parse): Call it.
9515 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9517 * configure.in: Pick up thread library on Solaris/x86 just
9518 like on Solaris/sparc.
9519 * configure: Rebuilt.
9521 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
9523 * rtl.h (global_rtx_index): New enum.
9524 (global_rtl): Change to array of rtx.
9525 (pc_rtx, cc0_rtx): Redefine accordingly.
9526 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
9527 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
9528 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
9529 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
9530 (const_int_rtx): Change to array of rtx.
9531 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
9533 * emit-rtl.c (global_rtl): Change to array of rtx.
9534 (const_int_rtx): Change to aray of rtx.
9535 (gen_rtx_CONST_INT): Redefine accordingly.
9536 (init_emit_once): Allocate and initialize global_rtl. Likewise
9537 for const_int_rtx. Add both as GC roots.
9538 * genattrtab.c (global_rtl): Update declaration.
9540 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
9542 * Makefile (USER_H): Add iso646.h back.
9544 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
9546 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
9547 zapping the LOG_LINKS of sched_before_next_call.
9549 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
9550 * pa.c (insn_refs_are_delayed): Renamed from
9551 insn_sets_and_refs_are_delayed.
9553 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
9555 * functiion.h (struct function): Add x_whole_function_mode_p.
9556 (retrofit_block): Declare.
9557 * function.c (retrofit_block): New function.
9558 (identify_blocks): Add assertions. Allow an incomplete set of
9559 block notes if we're still generating code for the function.
9560 * integrate.c: Include loop.h.
9561 (expand_inline_function): Call find_loop_tree_blocks to map block
9562 notes to blocks when in whole-function mode. Use retrofit_block
9563 to insert new BLOCKs for the inlined function, rather than
9565 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
9566 * Makefile.in (integrate.o): Depend on loop.h.
9568 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
9570 * tree.h (warn_about_unused_variables): Declare.
9571 * stmt.c (warn_about_unused_variables): New function, split out
9573 (expand_end_bindings): Here.
9575 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
9577 * stmt.c (preserve_subexpressions_p): Don't crash when
9578 current_function->stmt is unset.
9580 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
9582 * stmt.c (expand_start_bindings): Allow callers to pass a flag
9583 indicating that no NOTE_INSN_BLOCK_BEG note is required.
9584 (expand_start_target_temps): Use it.
9585 * except.c (expand_eh_region_start_for_decl): Likewise.
9586 * expr.c (expand_expr): Likewise.
9588 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
9590 * fold-const.c (operand_equal_p): Pay attention to side effects.
9592 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
9594 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
9595 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
9597 * tlink.c (scan_linker_output): Look for keywords before accepting
9598 a mangled name in quotes.
9600 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
9602 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
9603 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
9605 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
9607 * alpha.md: Revert Thu Nov 26 change that came in through the
9608 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
9609 Avoid earlyclobber when possible.
9611 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9613 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
9615 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
9616 Define HAVE_ON_EXIT.
9618 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9620 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
9621 CTYPE_CONV in all ctype macros.
9623 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
9626 * cexp.y (initialize_random_junk): Likewise.
9628 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
9630 * i370.c (handle_pragma): Likewise.
9632 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
9634 * v850.c (override_options): Likewise.
9636 * doprint.c (_doprnt): Likewise.
9638 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
9641 * fixinc/server.c (load_data): Likewise.
9643 * fold-const.c (real_hex_to_f): Likewise.
9645 * genattr.c (write_upcase, gen_attr): Likewise.
9647 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
9648 write_upcase): Likewise.
9650 * genemit.c (print_code): Likewise.
9652 * genopinit.c (gen_insn): Likewise.
9654 * genpeep.c (print_code): Likewise.
9656 * genrecog.c (print_code): Likewise.
9658 * optabs.c (init_libfuncs): Likewise.
9660 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
9662 * haifa-sched.c (sched_analyze): Keep the list of notes organized
9664 (reemit_notes): Likewise.
9666 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
9668 * ggc.h (ggc_root): Move to ggc-common.c.
9670 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
9671 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
9672 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
9673 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
9674 * ggc-common.c (ggc_root): Move from ggc.h.
9675 (roots): Declare, static.
9676 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
9677 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
9678 null or check/set mark bit.
9679 (ggc_mark_roots): New.
9680 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
9682 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
9684 * m32r.c: Include toplev.h.
9685 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
9686 (gen_compare): Rename swap_p to must_swap to match uses.
9687 Add default abort case.
9688 (m32r_output_function_epilogue): Remove unused variables.
9689 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
9690 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
9691 define to empty parameter list. Update all uses.
9692 (predicate decls): Use enum machine_mode not int.
9693 * m32r.md (movsi): Call abort, not fatal_insn.
9694 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
9696 1999-09-14 Andrew Haley <aph@cygnus.com>
9698 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
9699 use $0 instead of 0.
9701 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9703 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
9704 computation out of loop over hard regs.
9706 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
9708 * function.c (identify_blocks): Don't shadow a variable in an
9710 * integrate.c (integrate_decl_tree): Don't use pushlevel,
9711 pushdecl, or poplevel to build up the new BLOCK tree.
9712 (expand_inline_function): Likewise.
9713 (integrate_parm_decls): Likewise.
9715 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
9717 * c-typeck.c (qualify_type): Merge qualifiers from both types.
9719 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
9721 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
9722 * invoke.texi: Document this change.
9724 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
9726 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
9728 (mark_emit_status): Renamed from mark_emit_state.
9729 * except.c (mark_eh_status): Renamed from mark_eh_state.
9730 Check not null before marking.
9731 (free_eh_status): New.
9732 * expr.c (mark_expr_status, free_expr_status): New.
9733 * function.c (free_machine_status): New.
9734 (free_after_parsing): New.
9735 (free_after_compilation): Move bits to free_after_parsing; call
9736 free_eh_status, free_expr_status; zero the marked members of the
9738 (prepare_function_start): No can_garbage_collect.
9739 Call init_eh_for_function.
9740 (expand_dummy_function_end): Free up current_function state.
9741 (mark_function_status): Renamed from mark_function_state.
9742 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
9743 * function.h (struct function): No can_garbage_collect.
9744 (free_machine_status, free_after_parsing): Declare.
9745 (free_eh_status, free_expr_status): Declare.
9746 * ggc.h (mark_expr_status): Declare.
9747 * stmt.c (free_stmt_status): Free the struct.
9748 (mark_stmt_status): Renamed from mark_stmt_state.
9749 (init_stmt): Don't call init_eh.
9750 (init_stmt_for_function): Don't call init_eh_for_function.
9751 * toplev.c (compile_file): Call init_eh.
9752 (rest_of_compilation): Free basic block info before ggc_collect.
9753 Call free_after_parsing; conditionally call free_after_compilation.
9754 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
9755 Check not null before marking.
9756 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
9758 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
9760 * c-lex.c (yylex): Initialize warn.
9762 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
9764 * pa.c (emit_move_sequence): Properly set the mode of the scratch
9765 register when performing secondary reloads for the SAR register.
9767 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
9769 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
9770 (NOTE_BLOCK): New macro.
9771 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
9772 * function.h (identify_blocks): Change prototype.
9773 * function.c (identify_blocks): Simplify.
9774 (reorder_blocks): Likewise.
9775 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
9776 NOTE_INSN_BLOCK_{BEG,END}.
9777 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
9778 the list of saved notes if the note isn't a
9779 NOTE_INSN_BLOCK_{BEG,END}.
9780 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
9782 (reemit_notes): Adjust recreation of notes to reflect new saved
9784 * print-rtl.c (print_rtx): Print the address of the BLOCK when
9785 printing a block note.
9786 * stmt.c (block_vector): Remove.
9787 (find_loop_tree_blocks): Simplify.
9788 (unroll_block_trees): Likewise.
9789 * tree.h (reorder_block): Change prototype.
9791 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
9793 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
9794 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
9795 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
9796 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
9797 (atexit, exit): Simplify.
9798 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
9799 * config/lots: Remove defns of HAVE_ATEXIT.
9801 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
9803 * calls.c (precompute_arguments): Fix typo in comment.
9804 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
9807 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
9809 * dsp16xx.c (override_options): Fix typos in GC root registration.
9811 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
9813 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
9815 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
9816 (FUNCTION_PROFILER): Redefine appropriately for Linux.
9817 (CC1_SPEC): Likewise.
9819 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9821 * genattr.c (main): Add extern prototype. Call return, not exit.
9822 * genattrtab.c (main): Likewise.
9823 * gencheck.c (main): Likewise.
9824 * gencodes.c (main): Likewise.
9825 * genconfig.c (main): Likewise.
9826 * genemit.c (main): Likewise.
9827 * genextract.c (main): Likewise.
9828 * genflags.c (main): Likewise.
9829 * gengenrtl.c (main): Likewise.
9830 * genopinit.c (main): Likewise.
9831 * genoutput.c (main): Likewise.
9832 * genpeep.c (main): Likewise.
9833 * genrecog.c (main): Likewise.
9835 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
9836 * genattrtab.c (get_insn_name): Likewise.
9837 * gencodes.c (get_insn_name): Likewise.
9838 * genconfig.c (get_insn_name): Likewise.
9839 * genemit.c (get_insn_name): Likewise.
9840 * genextract.c (get_insn_name): Likewise.
9841 * genflags.c (get_insn_name): Likewise.
9842 * genopinit.c (get_insn_name): Likewise.
9843 * genpeep.c (get_insn_name): Likewise.
9845 * gencheck.c (usage): Add static prototype.
9846 * genextract.c (print_path): Constify a char*.
9847 * genopinit.c (optabs): Likewise.
9848 * genoutput.c (operand_data, data, output_predicate_decls,
9849 compare_operands): Likewise.
9850 * genrecog.c (write_tree): Add default case in switch.
9852 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9854 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
9856 * print-rtl.c (get_insn_name): Remove prototype.
9858 * toplev.h (progname): Declare const.
9860 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
9861 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
9862 dump_sched_info, dump_local_alloc, regset_release_memory,
9863 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
9864 error_with_file_and_line, error_with_decl, error_for_asm, error,
9865 fatal, warning_with_file_and_line, warning_with_decl, warning,
9866 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
9867 Remove redundant prototypes.
9869 (notice, check_lang_option, report_file_and_line, vnotice,
9870 mark_file_stack): Add static prototype.
9871 (set_fatal_function): Add prototype.
9872 (vnotice, report_file_and_line, set_fatal_function,
9873 check_lang_option): Constify a char*.
9874 (main): Prototype. Call return, not exit.
9876 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9878 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
9880 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
9882 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
9884 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
9886 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9888 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
9889 behave as if it's zero in all cases.
9890 (expand_function_start): Adjust call to assign_parms.
9891 * tree.h (assign_parms): Adjust prototype.
9892 * objc/objc-act.c (hack_method_prototype): Adjust call to
9895 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
9897 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
9898 arg_pointer_rtx fixed if the argument pointer register is
9900 (NONZERO_BASE_PLUS_P): Likewise.
9902 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
9904 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
9905 match_insn2 to match_insn.
9906 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
9908 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
9910 * Makefile.in (USER_H): Remove va-foo.h.
9912 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
9913 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
9914 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
9915 va-spur.h,va-v850.h}: Remove.
9917 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
9919 * sparc/sparc.md (eligible_for_return_delay): New attribute.
9920 (in_return_delay): Use it instead of match_insn.
9922 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9924 * config/alpha/va_list.h (va-alpha.h): Do not include.
9925 (__gnuc_va_list): Typedef as in varargs.h.
9927 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
9929 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
9930 DECL_LIVE_RANGE_RTL.
9932 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
9934 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
9935 not NOTE_BLOCK_NUMBER.
9936 (expand_eh_region_end): Likewise.
9937 (find_exception_handler_labels): Likewise.
9938 (scan_region): Likewise.
9939 (exception_optimize): Likewise.
9940 (update_rethrow_references): Likewise.
9941 (set_insn_eh_region): Likewise.
9942 * final.c (final_scan_insn): Likewise.
9943 * flow.c (make_edges): Likewise.
9944 * integrate.c (expand_inline_function): Likewise.
9945 * print-rtl.c (print_rtx): Likewise.
9947 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
9949 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
9950 terms of builtin functions and types.
9952 * mips.c (mips_build_va_list): New.
9953 (mips_va_start, mips_va_arg): New.
9954 * mips.h (BUILD_VA_LIST_TYPE): New.
9955 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9957 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
9958 (sh_build_va_list, sh_va_start, sh_va_arg): New.
9959 * sh.h (BUILD_VA_LIST_TYPE): New.
9960 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9962 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
9964 * recog.h (struct recog_data): Make dup_num, operand_address_p,
9965 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
9966 (struct insn_data): Likewise with n_operands, n_dups,
9967 n_alternatives, output_format.
9968 * regclass.c (scan_one_insn): Cast n_operands to int before
9969 arithmetic inside comparison.
9971 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
9973 * toplev.c (compile_function): Unconditionally emit nop.
9975 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9977 * haifa-sched.c (actual_hazard): Move declaration of variable
9978 `this_cost' into the scope where it is used.
9980 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9982 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
9983 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
9984 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
9986 * genrecog.c (make_insn_sequence): Call memset, not bzero.
9988 * jump.c (find_insert_position): Don't declare or define unless
9989 !HAVE_conditional_arithmetic.
9990 (returnjump_p_1, delete_prior_computation): Add static prototypes.
9992 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
9994 * recog.c (offsettable_address_p): Prototype function pointer.
9995 (preprocess_constraints): Call memset, not bzero.
9997 * tree.c (tree_node_kind_names): Constify a char*. Make static.
9998 (gcc_obstack_init): Don't declare.
9999 (fix_sizetype): Add static prototype.
10000 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
10001 (tree_cons): Call memset, not bzero.
10003 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
10004 definition in macro ASM_WEAKEN_LABEL.
10005 (mark_const_hash_entry): Add static prototype.
10007 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10009 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
10011 * unroll.c (find_common_reg_term, subtract_reg_term,
10012 loop_find_equiv_value): Add static prototypes.
10013 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
10014 (copy_loop_body): Remove unreachable break statement.
10016 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
10018 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
10020 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10022 Undo some changes from the gcc2 merge:
10023 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
10024 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
10028 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
10029 * emit-rtl.c (gen_lowpart_common): Disable optimization of
10030 initialized float-int union if the value is a NaN.
10032 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
10034 * gthr-win32.h: New file.
10036 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
10037 shared as a valid attribute.
10038 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
10039 * extend.texi: Document `shared' variable attribute.
10041 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
10043 * configure.in: Handle --enable-threads on FreeBSD.
10044 * configure: Rebuit.
10046 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10048 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
10050 * configure: Rebuilt.
10052 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
10053 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
10054 Rosimildo DaSilva <rdasilva@connecttel.com>
10056 * configure.in (m68k-*-rtemscoff*): Added.
10057 * configure.in (mips64orion-*-rtems*): Converted to ELF.
10058 * configure.in (sparc-*-rtemsaout*): Added as alias for old
10059 sparc-rtems configuration.
10060 * configure.in (sparc-*-rtemself*): Added.
10061 * configure.in (sparc-*-rtems*): Now ELF not a.out.
10062 * config/i386/rtems.h: Added comment.
10063 * config/sparc/rtemself.h: New file.
10065 * configure.in (m68k-rtemself): Added.
10066 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
10067 and DWARF_DEBUGGING_INFO.
10068 * config/m68k/crti.s: New file.
10069 * config/m68k/crtn.s: New file.
10070 * config/m68k/t-crtstuff: New file.
10071 * config/m68k/rtemself.h: New file.
10073 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
10074 global ctor/dtor and C++ exception handling.
10075 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
10076 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
10078 * config/i386/t-rtems-i386: New File.
10080 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
10082 * stmt.c (expand_end_case): Return right away if the case stack is
10085 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
10087 * Makefile.in (version.c): Remove rule incorrectly brought in from
10090 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
10092 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
10093 * msdos/top.sed: Take into account a prepended $(SHELL) to
10095 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
10097 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
10099 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10101 * regmove.c (fixup_match_1): Don't change an unchanging register.
10102 (stable_but_for_p): Renamed to:
10103 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
10104 Changed all callers.
10106 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
10108 * loop.c (strength_reduce): Don't call reg_used_between_p if the
10109 insn from BL2 is after the insn from BL.
10111 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
10113 * recog.h (INSN_OUTPUT_FORMAT_*): New.
10114 (struct insn_data): Merge `template' and `outfun' into `output'.
10115 Add `output_format'.
10116 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
10117 (struct data): Remove `outfun'; add `output_format'.
10118 (name_for_index): Remove declaration.
10119 (output_insn_data): Handle output formats.
10120 (process_template): Emit the bare array for @.
10121 (gen_expand, gen_split): Set output_format to NONE.
10122 * output.h (get_insn_template): Declare.
10123 * final.c (get_insn_template): New.
10124 (final_scan_insn): Use it.
10125 * toplev.c (compile_file): Likewise.
10127 * c4x/c4x.c (c4x_process_after_reload): Likewise.
10128 * i860/i860.c (output_delayed_branch): Likewise.
10129 (output_delay_insn): Likewise.
10131 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10133 * rtl.c (obstack_alloc_rtx): Removed.
10135 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
10137 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
10139 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
10141 * i386.c (call_insn_operand): Reject const_int.
10142 (expander_call_insn_operand): Use call_insn_operand.
10144 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10146 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
10148 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
10150 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
10151 Use DImode operation.
10153 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
10155 * gcc.c: Include sys/resource.h.
10156 (report_times): New flag.
10157 (execute): If report_times is set, calculate and report the
10158 CPU time consumed by each subprocess.
10160 (rus, prus): New globals.
10161 (option_map): Add --time.
10162 (display_help): Document -time.
10163 (process_command): Set report_times if -time is given.
10164 Turn off -pipe if -time is given.
10166 * invoke.texi: Document new option -time.
10168 * configure.in: Check for getrusage. Check if we have to
10169 prototype getrusage.
10170 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
10171 * configure: Regenerate.
10172 * config.in: Regenerate.
10174 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
10176 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
10179 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
10181 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
10182 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
10183 (nan): Return _thenan_sf or _thenan_df as appropriate.
10184 (L_thenan_sf): Define _thenan_sf.
10185 (L_thenan_df): Define _thenan_df.
10187 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
10188 (DPBIT_FUNCS): Add _thenan_df.
10190 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
10192 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
10195 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10197 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
10200 (lang_specific_driver): Don't take a function pointer parameter.
10201 All callers changed.
10203 * gcc.c: Include gcc.h.
10204 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
10205 lang_specific_extra_outfiles, fatal): Don't declare.
10206 (multilib_defaults_raw): Constify.
10207 (read_specs): Call memset, rather than bzero.
10208 (main): Call return, not exit.
10209 (lookup_compiler): Call memcpy, not bcopy.
10210 (fatal): Make extern.
10212 * cppspec.c: Include gcc.h.
10213 (lang_specific_driver): Initialize variable `quote'. Constify a
10214 char*. All calls to the function pointer parameter now
10215 explicitly call `fatal'.
10217 * gccspec.c (lang_specific_driver): Include gcc.h.
10219 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
10221 * arm.c (note_invalid_constants): Use recog_data.operand_type
10224 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10226 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
10229 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
10230 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10231 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10232 reload_secondary_in_reload, reload_secondary_out_reload,
10233 reload_secondary_in_icode, reload_secondary_out_icode,
10234 reload_reg_rtx, reload_when_needed): Delete declarations.
10235 (struct reload): New structure.
10236 (rld): Declare new array.
10237 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
10238 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10239 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10240 reload_secondary_in_reload, reload_secondary_out_reload,
10241 reload_secondary_in_icode, reload_secondary_out_icode,
10242 reload_reg_rtx, reload_when_needed): Delete definitions.
10244 (whole file): Replace uses of the deleted arrays with uses of rld.
10245 * reload1.c (whole file): Replace uses of the deleted arrays with
10247 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
10248 explicit loops, not with bcopy.
10250 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
10252 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
10253 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
10254 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
10255 insn_name): Delete and consolidate into new structures.
10256 (insn_operand_predicate_fn): New.
10257 (insn_output_fn): New.
10258 (insn_gen_fn): New.
10259 (struct insn_operand_data): New.
10260 (struct insn_data): New.
10262 (OUT_FCN): Update for insn_data change.
10263 * builtins.c (expand_builtin_strlen): Likewise.
10264 (expand_builtin_memcmp): Likewise.
10265 * combine.c (make_extraction, simplify_comparison): Likewise.
10266 * cse.c (canon_reg, cse_insn): Likewise.
10267 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
10268 * expmed.c (store_bit_field, extract_bit_field): Likewise.
10269 (emit_store_flag): Likewise.
10270 * expr.c (convert_move, emit_block_move): Likewise.
10271 (clear_storage, emit_push_insn, expand_increment): Likewise.
10272 (do_store_flag): Likewise.
10273 * expr.h (GEN_FCN): Likewise.
10274 (insn_gen_function): Die.
10275 * final.c (final_scan_insn): Update for insn_data change.
10276 (output_asm_name): Likewise.
10277 * function.c (fixup_var_refs_1): Likewise.
10278 * loop.c (check_dbra_loop): Likewise.
10279 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
10280 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
10281 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
10282 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
10283 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
10284 * regmove.c (gen_add3_insn): Likewise.
10285 * reload.c (push_secondary_reload, combine_reloads): Likewise.
10286 (find_reloads, find_reloads_address_1): Likewise.
10287 (debug_reload_to_stream): Likewise.
10288 * reload1.c (emit_reload_insns, gen_reload): Likewise.
10289 * stmt.c (expand_end_case): Likewise.
10290 * toplev.c (compile_file): Likewise.
10292 * c4x/c4x.c (c4x_process_after_reload): Likewise.
10293 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10295 * print-rtl.c (insn_name_ptr): Remove declaration.
10296 (get_insn_name): Declare.
10297 (print_rtx): Use it.
10298 * genoutput.c (insn_name_ptr): Remove.
10299 (next_operand_number): New.
10300 (struct operand_data): New.
10301 (null_operand, odata, odata_end): New.
10302 (struct data): Use struct operand_data.
10303 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
10304 (get_insn_name): Renamed from name_for_index.
10305 (output_prologue): Define NO_MD_PROTOTYPES.
10306 (output_predicate_decls): Break out from output_epilogue.
10307 Iterate over the operands list.
10308 (output_operand_data): Break out from output_epilogue. Emit
10309 just the operands list.
10310 (output_insn_data): Break out from output_epilogue. Emit just
10312 (output_epilogue): Remove.
10313 (output_get_insn_name): New.
10314 (constraints, op_n_alternatives, predicates, address_p): Die.
10315 (modes, strict_low, seen): Die.
10316 (scan_operands): Take new param `d' instead of writing to
10317 seven global variables.
10318 (compare_operands): New.
10319 (place_operands): New.
10320 (validate_insn_alternatives): Update for struct data change.
10321 (gen_insn): Don't zero or copy 7 global arrays. Update for
10322 scan_operands; call place_operands.
10323 (gen_peephole, gen_expand, gen_split): Likewise.
10324 (main): Update for new output routines.
10326 * genattr.c (insn_name_ptr): Remove.
10327 (get_insn_name): New function.
10328 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
10329 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
10330 * genrecog.c: Likewise.
10332 * alpha.md (adddi3): Make `pattern' array static.
10334 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10336 * config/c4x/c4x.h (c4x_rpts_cycles_string,
10337 c4x_cpu_version_string): Constify char *.
10338 * config/c4x/c4x.c (c4x_rpts_cycles_string,
10339 c4x_cpu_version_string): Likewise.
10341 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
10343 * tree.c (save_tree_status): Revert 10 Sep change.
10344 (restore_tree_status): Likewise. Call obstack_free with NULL
10345 before freeing the obstack proper.
10347 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
10349 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
10351 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
10352 surrounding context.
10354 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
10356 * tree.c (type_hash_canon): Put all types in the hash-table, when
10359 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
10361 * recog.h (struct recog_data, recog_data): New.
10362 (recog_foo variables): Kill.
10363 * recog.c (recog_operand, recog_operand_loc): Kill.
10364 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
10365 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
10366 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
10367 (recog_data): Define.
10368 (extract_insn): Update all recog_foo references to use recog_data.
10369 (preprocess_constraints, constrain_operands): Likewise.
10370 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
10371 * genattrtab.c (main): Likewise.
10372 * genextract.c (main): Likewise.
10373 * genoutput.c: Likewise.
10374 * genrecog.c (write_subroutine, main): Likewise.
10375 * local-alloc.c (block_alloc): Likewise.
10376 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
10377 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
10378 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
10379 * reload.c (find_reloads, find_reloads_toplev): Likewise.
10380 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
10381 (reload_cse_simplify_operands): Likewise.
10383 * arc/arc.c (arc_final_prescan_insn): Likewise.
10384 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
10385 * h8300/h8300.c (notice_update_cc): Likewise.
10386 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
10387 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10388 * mn10200/mn10200.c (notice_update_cc): Likewise.
10389 * mn10300/mn10300.c (notice_update_cc): Likewise.
10390 * romp/romp.c (update_cc): Likewise.
10391 * sparc/sparc.c (check_pic): Likewise.
10392 * v850/v850.c (notice_update_cc): Likewise.
10394 * genemit.c (main): Don't declare recog_operand.
10396 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
10398 * ggc.h (rtvec_def): Forward declare.
10399 (tree_node): Likewise.
10400 (ggc_root): Define.
10402 (ggc_set_mark_rtx): Add prototype.
10403 (ggc_set_mark_rtvec): Likewise.
10404 (ggc_set_mark_tree): Likewise.
10405 * ggc-simple.c (ggc_root): Don't define.
10406 (roots): Don't declare.
10407 (ggc_mark_rtx): Remove.
10408 (ggc_mark_rtvec): Likewise.
10409 (ggc_mark_tree): Likewise.
10410 (ggc_mark_varray): Likewise.
10411 (ggc_mark_tree_hash_table_entry): Likewise.
10412 (ggc_mark_tree_hash_table): Likewise.
10413 (ggc_set_mart_rtx): New function.
10414 (ggc_set_mark_rtvec): Likewise.
10415 (ggc_set_mark_tree): Likewise.
10416 (ggc_add_root): Remove.
10417 (ggc_add_rtx_root): Likewise.
10418 (ggc_remove_tree_root): Likewise.
10419 (ggc_add_string_root): Likewise.
10420 (ggc_add_tree_varray_root): Likewise.
10421 (ggc_add_tree_hash_table_root): Likewise.
10422 (ggc_del_root): Likewise.
10423 (ggc_mark_rtx_ptr): Likewise.
10424 (ggc_mark_tree_ptr): Likewise.
10425 (ggc_mark_string_ptr): Likewise.
10426 (ggc_mark_tree_varray_ptr): Likewise.
10427 (ggc_mark_tree_hash_table_ptr): Likewise.
10428 * ggc-common.c: New file.
10429 * Makefile.in (OBJS): Add ggc-common.o.
10430 (ggc-common.o): List dependencies.
10432 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
10434 * cppalloc.c (xstrdup): Use memcpy.
10435 * cpperror.c (cpp_print_containing_files): Don't use
10437 * cpplib.c (conditional_skip): Set temp->lineno.
10438 (do_endif): Make error message less obscure.
10439 (if_directive_name): New function.
10440 (cpp_get_token [case EOF]): Unwind the if stack and generate
10441 error messages for each unterminated conditional in this file.
10442 (parse_string): Do not behave differently if -traditional.
10444 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
10446 * builtins.c (expand_builtin_va_arg): Cope with an array-type
10447 va_list decomposing to pointer-type.
10448 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
10449 (rs6000_va_arg): Likewise.
10451 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
10453 * except.c (start_dynamic_handler): Compute size using
10454 STACK_SAVEAREA_MODE.
10456 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10458 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
10459 include directory headers. Don't define strrchr. Don't provide
10460 my_* replacement functions. Prefer PTR over `pointer_type'.
10461 Don't prototype system functions. Don't redefine getopt.
10463 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
10464 safe_read, safe_write, save_pointers, restore_pointers,
10465 is_id_char, in_system_include_dir, directory_specified_p,
10466 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
10467 find_corresponding_lparen, referenced_file_is_newer,
10468 save_def_or_dec, munge_compile_params, gen_aux_info_file,
10469 process_aux_info_file, identify_lineno, check_source,
10470 seek_to_line, forward_to_next_token_char, output_bytes,
10471 output_string, output_up_to, other_variable_style_function,
10472 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
10473 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
10474 find_static_definition, connect_defs_and_decs, add_local_decl,
10475 add_global_decls, needs_to_be_converted, visit_each_hash_node,
10476 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
10477 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
10478 scan_for_missed_items, edit_file, string_list_cons): Add static
10480 (standard_exec_prefix, target_machine, target_version,
10481 default_syscalls_dir, string_list, string_list_cons, find_file,
10482 do_cleaning): Constify a char*.
10483 (safe_read, safe_write): Use PTR, not a char*.
10484 (is_id_char): Take an int, not a char.
10485 (main): Add prototype. Call return, not exit.
10487 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
10489 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
10490 when comparing types.
10492 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
10494 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
10495 (strength_reduce): Release the varrays from the no-bivs early exit.
10497 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
10498 the loop over the registers.
10500 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
10502 (restore_tree_status): Check that instead when freeing the obstack.
10504 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
10506 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
10509 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10511 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
10512 operand size modifiers.
10514 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10516 * c-common.c (c_common_nodes_and_builtins): Don't build
10518 * c-common.h (enum c_tree_index and related accesor macros): Remove
10519 everything now declared in tree.h.
10520 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10521 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
10522 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
10523 (error_mark_node, void_type_node, char_type_node, integer_type_node,
10524 unsigned_type_node, ptr_type_node, va_list_type_node,
10525 integer_zero_node, null_pointer_node, integer_one_node): Delete.
10526 (init_decl_processing): Call build_common_tree_nodes and
10527 build_common_tree_nodes_2 instead of building their nodes here.
10528 Don't add roots for these nodes.
10529 * stor-layout.c (size_zero_node, size_one_node): Delete.
10530 (set_sizetype): Make a new node for bitsizetype each time.
10531 * tree.c (global_trees): New variable.
10532 (init_obstacks): Add a gc root for it.
10533 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10534 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
10535 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
10536 (build_common_tree_nodes): New function.
10537 (fix_sizetype): New function.
10538 (build_common_tree_nodes_2): New function.
10539 * tree.h (enum tree_index): New.
10540 (global_trees): Declare.
10541 Add accessor macros for all nodes now moved to global_trees.
10542 Delete their declarations.
10544 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
10546 * c-decl.c (finish_function): When processing a nested function,
10547 push and pop GC context around rest_of_compilation.
10549 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
10551 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
10552 Default ix86_arch to PROCESSOR_I386.
10553 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
10554 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
10555 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
10556 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
10557 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
10558 (EXTRA_SPECS): Remove deleted specs.
10560 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
10562 * function.c (assign_stack_local_1): Allocate from
10563 function->x_frame_offset, not frame_offset.
10565 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
10567 * ggc.h (lang_cleanup_tree): Remove.
10568 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
10569 * ggc-callbacks.c (lang_cleanup_tree): Remove.
10571 * c-decl.c (finish_struct): Use ggc_alloc to allocate
10572 TYPE_LANG_SPECIFIC when garbage collecting.
10573 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
10574 (lang_cleanup_tree): Remove.
10576 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
10578 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
10579 * crtstuff.c: Not here.
10580 * dwarf2out.c: Or here.
10581 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
10584 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
10586 * function.h (free_after_compilation): Remove decl parameter.
10587 (free_varasm_status0: Likewise.
10588 (free_emit_status): Likewise.
10589 (free_stmt_status): Likewise.
10590 (free_after_compilation): Likewise.
10591 (init_lang_status): New variable.
10592 (free_lang_status): Likewise.
10593 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
10594 * function.c (init_lang_status): New variable.
10595 (free_lang_status): Likewise.
10596 (push_function_context_to): Don't set function::decl here.
10597 (free_after_copmilation): Make decl parameter implicit. Call
10598 free_lang_status if defined.
10599 (prepare_function_start): Call init_lang_status if defined.
10600 (init_function_start): Set function::decl here.
10601 * profile.c (output_func_start_profiler): Don't call pushdecl
10602 until we've actually started the function.
10603 * stmt.c (free_stmt_status): Make decl parameter implicit.
10604 * toplev.c (rest_of_compilation): Don't pass decl to
10605 free_after_compilation.
10606 * varasm.c (free_varasm_status): Likewise.
10608 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10610 * except.c (call_get_eh_context): Add root when allocating static
10613 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
10615 * arm.c: Include "ggc.h".
10616 (arm_add_gc_roots): New function.
10617 (arm_override_options): Call it.
10618 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
10620 * arm.md (define_asm_attributes): Add a pool_range attribute.
10622 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
10624 * extend.texi (Volatiles): New node.
10626 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
10628 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
10629 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
10630 (struct ggc_any): Replace `mark' with `magic_mark'.
10631 (ggc_alloc_string): Use memcpy, not bcopy.
10632 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
10633 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
10634 (ggc_free_any): New.
10635 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
10636 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
10637 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
10638 Use IS_MARKED. Use ggc_free_any.
10640 1999-09-09 Scott Bambrough <scottb@netwinder.org>
10642 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
10644 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
10646 * toplev.c (main): Always init_ggc.
10648 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
10650 * except.c (find_all_handler_type_matches): Free the list if
10651 we found no matches.
10653 * combine.c (SUBST): Break out to a real function do_SUBST.
10654 (SUBST_INT): Likewise.
10655 * gcse.c (free_pre_mem): Free `temp_bitmap'.
10656 (pre_insert): Free `inserted'.
10657 * loop.c (basic_induction_var): Always set `location'.
10659 * function.c (expand_function_end): Add initial_trampoline as a root.
10660 * rtl.h (init_varasm_once): Declare.
10661 * toplev.c (compile_file): Call it.
10662 * ggc-simple.c (ggc_mark_string_ptr): New.
10663 (ggc_add_string_root): New.
10664 (ggc_collect): Disable collection avoidance temporarily.
10665 * ggc.h (ggc_add_string_root): Declare.
10666 * except.c (create_rethrow_ref): Use ggc_alloc_string.
10667 * optabs.c (init_libfuncs): Likewise.
10668 * varasm.c (named_section): Use ggc_alloc_string.
10669 (make_function_rtl): Likewise.
10670 (make_decl_rtl): Likewise.
10671 (assemble_static_space): Likewise.
10672 (assemble_trampoline_template): Likewise.
10673 (output_constant_def): Likewise.
10674 (force_const_mem): Likewise.
10675 (mark_const_hash_entry): New.
10676 (mark_pool_sym_hash_table): New.
10677 (mark_varasm_state): Use it.
10678 (init_varasm_once): New.
10680 * expr.h (init_one_libfunc): Declare.
10681 * optabs.c (init_one_libfunc): New.
10682 (init_optabs): Use it.
10683 * config/gofast.h: Likewise.
10684 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
10685 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
10687 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
10689 * Makefile.in (cppexp.o): Depend on cpphash.h.
10690 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
10692 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
10693 * cpplib.c (do_define): Generalise to handle poisoned definitions,
10694 redefining poisoned identifiers, etc.
10695 (do_undef): Don't allow poisoned identifiers to be undefined.
10696 (do_pragma): Add #pragma poison.
10697 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
10699 * cccp.c: Add T_POISON node type.
10700 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
10702 (do_define): Generalise to handle poisoned definitions,
10703 redefining poisoned identifiers, etc.
10704 (do_undef): Don't allow poisoned identifiers to be undefined.
10705 (do_pragma): Add #pragma poison.
10706 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
10708 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
10709 * c-pragma.h: Add ps_poison state. We now always have generic
10712 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
10714 * ggc.h (ggc_alloc): New function.
10715 (ggc_mark): Likewise.
10716 * ggc-simple.c (ggc_any): New structure.
10717 (ggc_status): Add anys.
10718 (n_anys_collected): New variable.
10719 (ggc_alloc): Define.
10720 (ggc_mark): Likewise.
10721 (ggc_collect): Collect the anys.
10723 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10725 * c-decl.c (mark_binding_level): Make static to match prototype.
10727 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
10729 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
10731 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
10733 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
10734 will use into account. Expand the max width to 5.
10737 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
10739 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
10740 for the rtx length.
10742 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
10744 * alpha.md (call value patterns): Remove the result predicates.
10746 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
10748 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
10751 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10753 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
10754 changed from extern char *, to extern PTR. Also fix typo in
10755 NEED_DECLARATION_REALLOC test.
10757 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
10759 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10761 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
10762 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
10763 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
10764 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
10766 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
10768 * cccp.c (pcfinclude): Likewise.
10770 * global.c (allocno_compare): Likewise.
10772 * haifa-sched.c (rank_for_schedule): Likewise.
10774 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
10776 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
10778 * stupid.c (stupid_reg_compare): Likewise.
10780 * tree.c (_obstack_allocated_p): Likewise.
10782 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
10784 1999-09-08 Bruce Korb autogen@linuxbox.com
10786 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
10787 why "gperf -F" fails.
10788 * gcc/cp/Makefile.in: ditto
10789 * gcc/Makefile.in: ditto
10790 * gcc/java/Makefile.in: ditto
10792 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
10794 * lists.c: Include ggc.h.
10796 (init_EXPR_INSN_LIST_cache): Install it.
10798 * ggc-simple.c (init_ggc): Absorb the old init.
10799 (ggc_push_context): Use xcalloc.
10800 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
10801 (ggc_collect): Add [rvts] tags to the collection stats.
10803 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
10805 * cccp.c (main): Fix handling of -include and -imacros options.
10807 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
10809 * cpplib.c (cpp_push_buffer): Fix order of arguments.
10811 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10813 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
10816 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
10818 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
10819 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
10820 and SET_DEST. Update comment.
10822 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10824 * config/c4x/c4x.c: Include ggc.h.
10825 (c4x_add_gc_roots): New function.
10826 (c4x_override_options): Call c4x_add_gc_roots.
10828 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
10830 * defaults.h (TARGET_ESC): Move ...
10831 * system.h: ... here, where Linas had it in the first place. Silly me.
10833 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
10835 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
10836 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
10837 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
10838 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
10839 * defaults.h (TARGET_ESC): Add default.
10841 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
10843 * configure.in: add i370-*-openedition, i370-*-mvs and
10844 i370-*-linux targets
10846 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
10848 * dsp16xxx.c: Include ggc.h
10849 (override_options): Mark GC roots.
10850 * mn10200.c: Include ggc.h.
10851 (asm_file_start): Mark GC roots.
10852 * tahoe.c: Include ggc.h.
10853 (extensible_operand): Mark GC roots.
10855 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
10857 * README: Add section discussing status of ELF ABI.
10858 * i370.c: Fix misc spelling mistakes.
10859 (i370_label_scan): Updated notes, exception handling.
10860 (i370_function_prolog): Simplify ELF stack handling.
10861 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
10862 (STACK_GROWS_DOWNWARD): ELF stack grows down.
10863 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
10864 * i370.md: (movdi): Add notes.
10865 (floatsidf2): Use stack not rtca for scratch float area.
10866 (iorsi3): Correct operand constraints.
10867 * x-oe: Restore TAROUTOPTS which are used by pax.
10869 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
10871 * rs6000.c: Include ggc.h.
10872 (rs6000_add_gc_roots): New function.
10873 (override_options): Call it.
10875 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
10877 * alpha.h (alpha_compare): New.
10878 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
10879 * alpha.c: Likewise for the definitions.
10880 (alpha_emit_conditional_branch): Update for alpha_compare.
10881 (alpha_emit_conditional_move): Likewise.
10882 * alpha.md (cmpdf, cmpdi): Likewise.
10883 (setcc patterns): Likewise. Zero alpha_compare after use.
10884 (sne): Optimize (x != 0) into (0U < x).
10886 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
10888 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
10889 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
10890 (INIT_EXPANDERS): Remove.
10891 * alpha.c: Include ggc.h.
10892 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
10893 (alpha_init_machine_status, alpha_mark_machine_status): New.
10894 (override_options): Install them.
10895 (struct machine_function): Moved to alpha.h.
10896 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
10897 (alpha_init_expanders): Remove.
10898 (alpha_return_addr): Adjust to use current_function->machine.
10899 (alpha_ra_ever_killed): Likewise.
10900 (alpha_expand_epilogue): Likewise.
10901 * alpha.md (eh_epilogue): Likewise.
10903 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
10904 Melissa O'Neill <oneill@cs.sfu.ca>
10905 Geoffrey Keating <geoffk@cygnus.com>
10907 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
10908 call-used registers (call-saved registers must still be contiguous
10909 and end with r31, of course).
10911 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
10913 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
10914 (self_promoting_type_p): Delete.
10915 (self_promoting_args_p): Move ...
10916 * c-common.c: ... here.
10917 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
10918 (simple_type_promotes_to): New.
10919 * builtins.c (lang_type_promotes_to): New.
10920 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
10921 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
10922 * c-common.h: ... here.
10923 (self_promoting_args_p, simple_type_promotes_to): Declare.
10924 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
10925 (grokdeclarator): Likewise.
10926 * tree.h (lang_type_promotes_to): Declare.
10928 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
10930 Add some machine-dependent GC roots.
10931 * sparc.c: Include ggc.h.
10932 (sparc_add_gc_roots): New function.
10933 (mark_ultrasparc_pipeline_state): Likewise.
10934 (override_options): Call sparc_add_gc_roots.
10935 * pa.c: Include ggc.h.
10936 (pa_add_gc_roots): New function.
10937 (mark_deferred_plabels): Likewise.
10938 (override_options): Call pa_add_gc_roots.
10939 * mips.c: Include ggc.h.
10940 (mips_add_gc_roots): New function.
10941 (override_options): Use it.
10943 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10945 * cpperror.c (cpp_file_line_for_message): Constify a char*.
10947 * cppexp.c (parse_number, parse_charconst, cpp_lex,
10948 cpp_parse_expr): Add static prototypes.
10949 (parse_charconst): Don't cast away const-ness.
10950 (token): Constify a char*.
10952 * cppfiles.c (file_name_list, include_hash, find_include_file,
10953 finclude, initialize_input_buffer): Constify a char*.
10954 (file_cleanup, find_position): Add static prototypes.
10956 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
10957 collect_expansion): Add static prototypes.
10958 (cpp_install, create_definition, monthnames): Constify a char*.
10960 * cpphash.h (cpp_install): Likewise.
10962 * cppinit.c (known_suffixes, default_include,
10963 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
10964 (base_name, dump_special_to_buffer, initialize_dependency_output):
10965 Add static prototypes.
10967 * cpplib.c (my_strerror): Constify a char*.
10968 (null_underflow, null_cleanup, skip_comment, copy_comment,
10969 copy_rest_of_line, handle_directive, pass_thru_directive,
10970 get_directive_token, read_line_number, cpp_print_file_and_line,
10971 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
10972 v_cpp_warning_with_line, detect_if_not_defined,
10973 consider_directive_while_skipping): Add static prototypes.
10974 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
10975 cpp_pedwarn_with_file_and_line): Constify a char*.
10977 * cpplib.h (cpp_options, include_hash, progname, definition,
10978 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
10979 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
10980 find_include_file, deps_output, include_hash): Constify a char*.
10982 * cppmain.c (progname): Constify.
10983 (main): Add prototype. Use return, not exit.
10985 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
10986 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
10987 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
10988 check_protection): Add static prototype.
10990 (progname, recognized_macrom, recognized_extern): Constify a char*.
10991 (main): Add prototype.
10993 * gen-protos.c (progname): Constify a char*.
10995 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
10997 * emit-rtl.c (free_emit_status): Take decl as a parameter.
10998 (init_emit_once): Add more GC roots.
10999 * except.c (mark_func_eh_entry): New function.
11000 (mark_eh_node): Mark false_label and rethrow_label.
11001 (init_eh): Add more GC roots.
11002 * function.c (free_after_compilation): Take decl as a paramter.
11003 Call free_stmt_status.
11004 (mark_function_state): Don't assume x_parm_reg_stack_loc is
11006 * function.h (free_after_compilation): Change prototype.
11007 (free_varasm_status): Likewise.
11008 (free_emit_status): Likewise.
11009 (free_stmt_status): New function.
11010 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
11011 Remove, replacing with ...
11012 (ggc_status): New structure.
11013 (ggc_chain): New variable.
11014 (init_gcc): Define.
11015 (ggc_push_context): New function.
11016 (ggc_pop_context): Likewise.
11017 (ggc_alloc_rtx): Adjust for use of ggc_chain.
11018 (ggc_alloc_rtvec): Likewise.
11019 (ggc_alloc_tree): Likewise.
11020 (ggc_alloc_string): Likewise.
11021 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
11022 (ggc_mark_tree): Give language-dependent code a chance to mark
11024 (ggc_mark_tree_varray): Handle empty arrays.
11025 (ggc_collect): Adjust for use of ggc_chain. Clear
11026 bytes_alloced_since_last_gc.
11027 * ggc.h (ggc_pop_context): New function.
11028 (ggc_push_context): Likewise.
11029 * print-tree.c (print_node): Don't print obstacks when GC'ing.
11030 * stmt.c (free_stmt_status): New function.
11031 (init_stmt_for_function): Clear last_expr_value.
11032 * toplev.c (rest_of_compilation): Always call free_after_compilation.
11033 Conditionalize call to ggc_collect.
11034 (main): Call init_ggc.
11035 * tree.c (push_obstacks): Do the push, even when GC'ing.
11036 (push_obstacks_nochange): Likewise.
11037 (pop_obstacks): Liekwise.
11038 * varasm.c (free_varasm_status): Take decl as a parameter.
11040 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
11042 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
11043 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
11044 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
11045 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
11047 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
11049 * pa/x-pa-mpeix: New file for the MPE port.
11051 * pa/quadlib.asm: New file for long double support.
11053 * configure.in: Add hppa1.0-*-mpeix for MPE port.
11054 * configure: Rebuilt.
11056 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
11058 * final.c (shorten_branches): Fix last change.
11060 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
11062 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
11064 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
11066 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
11069 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11071 * c-aux-info.c (concat): Don't define.
11073 * cccp.c (my_strerror): Likewise. All callers changed to use
11075 (do_include): Call xstrdup, not xmalloc/strcpy.
11076 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
11077 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
11079 * collect2.c (my_strsignal): Likewise. All callers changed to use
11081 (locatelib): Call xstrdup, not xmalloc/strcpy.
11083 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
11085 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
11087 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
11089 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
11091 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
11093 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
11095 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
11097 (find_all_handler_type_matches): Likewise. Don't check return
11099 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
11100 xmalloc, not malloc.
11101 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
11103 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
11104 (init_spec): Call xcalloc, not xmalloc/bzero.
11105 (set_spec): Call xstrdup, not save_string.
11106 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
11107 (find_a_file): Call xstrdup, not xmalloc/strcpy.
11108 (process_command): Call xstrdup, not save_string.
11109 (main): Call xcalloc, not xmalloc/bzero.
11111 * gcov.c (xmalloc): Don't define.
11112 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
11113 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
11114 (output_data): Call xcalloc, not xmalloc/bzero.
11116 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
11118 * mips-tdump.c (xmalloc): Don't define.
11119 (print_symbol): Call xmalloc, not malloc.
11120 (read_tfile): Call xcalloc, not calloc.
11122 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
11123 Don't define. All callers of xfree/my_strsignal changed to use
11124 free/strsignal instead.
11125 (allocate_cluster): Call xcalloc, not calloc.
11127 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
11128 Fix memory leak, free allocated memory.
11130 * prefix.c (translate_name): Call xstrdup, not save_string.
11131 (update_path): Likewise.
11133 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
11135 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
11136 Don't define. Callers of xfree/savestring2 changed to use
11137 free/concat instead.
11139 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
11140 (init_elim_table): Likewise.
11142 * resource.c (init_resource_info): Likewise.
11144 * stupid.c (stupid_life_analysis): Likewise.
11146 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
11147 (open_dump_file): Call concat, not xmalloc/strcpy/...
11148 (clean_dump_file): Likewise.
11149 (compile_file): Call xstrdup, not xmalloc/strcpy.
11151 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
11153 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
11154 * v850.c (v850_va_arg): New.
11156 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11158 * haifa-sched.c: Tidy comments.
11160 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11162 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
11163 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
11164 $(out_object_file)): Depend on ggc.h.
11165 * c-common.c: Include "ggc.h".
11166 (combine_strings): If doing GC, use ggc_alloc_string.
11167 * c-decl.c: Include "ggc.h".
11168 (ggc_p): Define with value 0.
11169 (mark_binding_level): New function.
11170 (init_decl_processing): Add GC roots.
11171 (mark_c_function_context): New function.
11172 (lang_mark_false_label_stack): New function.
11173 (lang_mark_tree): New function.
11174 (lang_cleanup_tree): New function.
11175 * c-lang.c: Include "ggc.h".
11176 (lang_init): Call c_parse_init.
11177 * c-lex.c: Include "ggc.h".
11178 (check_linenum): If doing GC, don't copy filenames to permanent
11180 * c-parse.in: Include "ggc.h".
11181 (c_parse_init): New function.
11182 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
11183 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
11185 * except.c (mark_eh_state): Mark more state.
11186 * function.c (mark_function_state): Likewise.
11187 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
11188 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
11189 * toplev.c (mark_file_stack): New function.
11190 (compile_file): If doing GC, use ggc_alloc_string on input filename.
11191 (main): Add root for input_file_stack.
11193 * i386.c: Include "ggc.h".
11194 (ix86_mark_machine_status): New function.
11195 (override_options): Set mark_machine_status.
11197 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11199 * tree.c (copy_node): Copy node contents also if doing GC.
11201 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
11203 * collect2.c (scan_libraries): Fix double-thinko :-).
11205 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
11207 * collect2.c (scan_libraries): Fix thinko.
11209 * cse.c (delete_trivially_dead_insns): Do not skip the last
11210 insn if it is a real insn.
11212 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
11214 * Makefile.in (ggc-simple.o): Depend on hash.h.
11215 * ggc.h (ggc_add_tree_hash_table_root): Declare.
11216 (ggc_mark_tree_varray): Likewise.
11217 (ggc_mark_tree_hash_table): Likewise.
11218 * ggc-simple.c: Include hash.h.
11219 (ggc_mark_tree_hash_table_ptr): New function.
11220 (ggc_mark_tree_hash_table_entry): Likewise.
11221 (ggc_mark_tree_hash_table): Likewise.
11222 (ggc_add_tree_hash_table_root): Likewise.
11223 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
11224 rtx, when defining fields.
11226 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11228 * profile.c (output_func_start_profiler): Remove apparently
11229 nonsensical call to start_sequence.
11231 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
11233 * clipper/clipper.c (clipper_va_start): Fix typos.
11235 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
11236 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
11237 (spur_va_arg): New stub.
11239 * configure.in: Comment out pyramid.
11241 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
11243 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
11244 don't conflict with the bits that win32, cygwin, and dgux
11247 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
11248 Bernd Schmidt <bernds@cygnus.co.uk>
11250 * integrate.c (function_cannot_inline_p): Do not inline
11251 functions with forced labels.
11253 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
11254 Bernd Schmidt <bernds@cygnus.co.uk>
11255 Mark Mitchell <mark@codesourcery.com>
11257 * Makefile.in (ggc-simple.o): Depend on varray.h.
11258 (rtl.o): Depend on ggc.h.
11259 (genattrtab.o): Depend on ggc.h.
11260 (print-tree.o): Likewise.
11261 (fold-const.o): Likewise.
11262 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
11263 (make_insn_raw): Don't cache insns when GC'ing.
11264 (emit_insn_before): Likewise.
11265 (emit_insn_after): Likewise.
11266 (emit_insn): Likewise.
11267 (start_sequence): Use xmalloc to allocate the sequence_stack.
11268 (end_sequence): Add free to free it.
11269 (gen_sequence): Don't cache insns when GC'ing.
11270 (clear_emit_caches): Don't use sequence_element_free_list.
11271 (init_emit): Use xcalloc, not xmalloc+bzero.
11272 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
11273 * function.c (pop_function_context_from): Use free to free the
11274 fixup_var_refs_queue.
11275 (put_reg_into_stack): Allocate it with xmalloc.
11276 * genattrtab.c: Include ggc.h.
11277 (operate_exp): Don't use obstack_free when GC'ing.
11278 (simplify_cond): Likewise.
11279 (simplify_text_exp): Likewise.
11280 (optimize_attrs): Likewise.
11281 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
11283 (gencode): Generate a #include for ggc.h.
11284 * ggc-callbacks.c (ggc_p): Define it to zero.
11285 * ggc-none.c (ggc_p): Likewise.
11286 * ggc-simple.c: Include varray.h.
11287 (ggc_mark_tree_varray): New function.
11288 (ggc_add_tree_varray_root): Likewise.
11289 (ggc_mark_tree_varray_ptr): Likewise.
11290 * ggc.h (ggc_p): Declare.
11291 (varray_head_tag): Likewise.
11292 (ggc_add_tree_varray_root): Declare.
11293 * print-tree.c (print_node): Don't check for TREE_PERMANENT
11294 inconsistencies when GC'ing.
11295 * rtl.c: Include ggc.h.
11296 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
11297 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
11298 (rtx_free): Don't call obstack_free when GC'ing.
11299 * toplev.c (rest_of_compilation): Call ggc_collect after every
11301 * tree.c (push_obstacks): Do nothing, if GC'ing.
11302 (pop_obstacks_nochange): Likewise.
11303 (pop_obstacks): Likewise.
11304 (make_node): Use ggc_alloc_tree when GC'ing.
11305 (copy_node): Likewise.
11306 (get_identifier): Use ggc_alloc_string when GC'ing.
11307 (build_string): Likewise.
11308 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
11309 (tree_cons): Likewise.
11310 (build1): Likewise.
11311 (type_hash_canon): Don't call obstack_free when GC'ing.
11313 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
11315 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
11316 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
11318 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
11319 Bernd Schmidt <bernds@cygnus.co.uk>
11320 Mark Mitchell <mark@codesourcery.com>
11322 * Makefile.in (stor-layout.o): Depend on ggc.h.
11323 (expr.o): Depend on ggc.h.
11324 (profile.o): Depend on ggc.h.
11325 (stor-layout.o): Depend on ggc.h.
11326 * emit-rtl.c (init_emit_once): Add gc roots.
11327 * expr.c: Include ggc.h.
11328 (emit_block_move): Add gc roots.
11329 (clear_storage): Likewise.
11330 * expr.h (init_stor_layout_once): New function.
11331 * profile.c: Include ggc.h.
11332 (init_arc_profiler): profiler_label is a root.
11333 * scan.c (make_sstring_space): Trust xrealloc to function
11334 correctly with first parameter NULL.
11335 * stor-layout.c: Include ggc.h.
11336 (set_sizetype): Add gc root.
11337 (init_stor_layout_once): New function.
11338 * toplev.c (compile_file): Call it.
11340 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
11341 Bernd Schmidt <bernds@cygnus.co.uk>
11342 Mark Mitchell <mark@codesourcery.com>
11344 * Makefile.in (tree.o): Depend on ggc.h.
11345 (varasm.o): Likewise.
11346 (function.o): Likewise.
11347 (stmt.o): Likewise.
11348 (except.o): Likewise.
11349 (optabs.o): Likewise.
11350 (emit-rtl.o): Likewise.
11351 * emit-rtl.c: Include ggc.h.
11352 (sequence_element_free_list): Remove, and all references.
11353 (mark_sequence): New functions.
11354 (mark_emit_state): New function.
11355 * except.c: Include ggc.h.
11356 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
11357 (mark_tree_label_node): New functions.
11358 (mark_eh_state): New function.
11359 * function.c: Include ggc.h.
11360 (mark_temp_slot, mark_function_chain): New functions.
11361 (mark_function_state): New function.
11362 (init_function_once): New function.
11363 * function.h (init_function_once): New function.
11364 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
11365 * ggc.h (label_node): Declare.
11366 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
11367 (lang_mark_false_label_stack): New function.
11368 (mark_temp_slot): Remove declaration.
11369 (mark_function_chain): Likewise.
11370 (mark_eh_state): Adjust prototype.
11371 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
11373 * optabs.c: Include ggc.h.
11374 (mark_optab): New function.
11375 (init_optabs): Add gc roots.
11376 * stmt.c: Include ggc.h.
11377 (mark_cond_nesting, mark_loop_nesting): New functions.
11378 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
11379 (mark_stmt_state): New function.
11380 * toplev.c (compile_file): Call init_function_once.
11381 * tree.c: Include ggc.h.
11382 (type_hash): Move declaration earlier in file.
11383 (TYPE_HASH_SIZE, type_hash_table): Likewise.
11384 (init_obstacks): Add gc roots.
11385 (mark_type_hash): New function.
11386 * varasm.c: Include ggc.h.
11387 (mark_pool_constant): New function.
11388 (mark_varasm_state): New function.
11390 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11392 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
11394 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11396 * c-decl.c (struct language_function): Renamed from struct c_function.
11398 (c_function_chain): Delete.
11399 (push_c_function_context): New arg F. Don't warn about nested
11400 functions here. Fill LANGUAGE elt of F. Delete code to update
11401 c_function_chain. Don't call push_function_context.
11402 (pop_c_function_context): New arg F. Restore from there instead of
11403 from c_function_chain. Don't call pop_function_context. Clear out
11404 LANGUAGE field of F when done.
11405 * c-lang.c: Include "function.h"
11406 (lang_init): Initialize save_lang_status and restore_lang_status.
11407 * c-parse.in (nested_function, nested_function_notype): Warn about
11408 nested functions. Call push_function_context/pop_function_context
11409 instead of the _c_ variants.
11410 * c-tree.h (push_c_function_context, pop_c_function_context): Update
11412 * Makefile.in (c-lang.o): Update dependencies.
11414 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
11415 regno_pointer_flag, regno_pointer_align.
11416 (gen_reg_rtx): Use xrealloc to enlarge them.
11417 (free_emit_status): New function.
11418 * function.c (mark_machine_status, mark_lang_status): New variables.
11419 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
11420 in some bits from assign_stack_local. All callers changed to use new
11422 (assign_stack_local): Just call assign_stack_local_1.
11423 (free_after_compilation): New function.
11424 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
11425 (trampoline_address): Likewise.
11426 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
11427 (prepare_function_start): Explicitly clear some more variables.
11428 * function.h (struct function): New elt can_garbage_collect.
11429 (mark_machine_status, mark_lang_status): Declare variables.
11430 (free_after_compilation, free_emit_status, free_varasm_status,
11431 init_varasm_status): Declare functions.
11432 * toplev.c (rest_of_compilation): Call free_after_compilation when
11433 done with the current function.
11434 * varasm.c (free_varasm_status): New function.
11436 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
11438 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
11439 (EXPAND_BUILTIN_VA_ARG): Define.
11440 * sparc.c (sparc_va_start): New.
11441 (sparc_va_arg): New.
11443 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11445 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
11447 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11449 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
11451 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
11453 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
11454 (OBJS): Add $(GGC).
11455 (ggc-callbacks.o): New target.
11456 * ggc-callbacks.c: New file.
11458 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11460 * expr.h: Collapse individual optab and libfunc vars to arrays.
11461 (optab_index, libfunc_index): New enumerations.
11462 (optab_table, libfunc_table): New arrays.
11463 Add accessor macros for both.
11465 * optabs.c (optab_table, libfunc_table): New.
11466 Delete declarations for individual optab and libfunc vars.
11468 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
11470 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
11472 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
11474 * Makefile.in (GGC, GGC_LIB): New.
11475 (HOST_RTL): Include ggc-none.o.
11476 (ggc-simple.o): New target.
11477 (ggc-none.o): Likewise.
11478 * tree.h (tree_common): Add gc_mark.
11479 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
11480 (struct rtvec_def): Add gc_mark.
11481 * emit-rtl.c (global_rtl): Update static initializers to contain
11482 enough initializers.
11483 * ggc.h, ggc-none.c, ggc-simple.c: New files.
11484 * toplev.c (gc_time): New variable.
11485 (all_time): New variable.
11486 (compile_file): Print gc time.
11487 (print_time): Calculate percentage of the whole.
11489 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11491 Change obstack memory management and varasm constant pool handling so
11492 that nested functions are treated like any other functions.
11493 * function.c (init_machine_status): New variable.
11494 (push_function_context_to): Set contains_functions for the outer
11495 function. Don't call save_varasm_status.
11496 (pop_function_context_from): Don't call restore_varasm_status. Don't
11497 set current_function_contains_functions.
11498 (prepare_function_start): Call init_varasm_status rather than
11499 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
11501 * function.h (struct function) Add field varasm. Delete fields
11502 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
11503 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
11504 (init_machine_status): Declare.
11505 (save_varasm_status, restore_varasm_status): Delete declarations.
11506 (save_tree_status, restore_tree_status): Delete last argument.
11507 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
11508 code. All callers changed.
11509 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
11510 save_constants_in_decl_trees, restore_constants, save_constants,
11511 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
11513 (inlining): New variable.
11514 (reg_map, label_map, insn_map, orig_asm_operands_vector,
11515 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
11517 (save_for_inline_nocopy): Don't save constants.
11518 Don't set inl_emit field in current_function.
11519 (expand_inline_function): Use emit field, not inl_emit, of the inlined
11520 function. Set new variable inlining before
11521 calling copy_rtx_and_substitute.
11522 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
11523 constant pool references if inlining is nonzero.
11524 Delete ADDRESS and (most of the) CONST cases.
11525 (output_inline_function): Save and restore current_function/
11526 current_function_decl. Delete restore_constants code. Don't call
11527 init_const_rtx_hash_table.
11528 * output.h (init_const_rtx_hash_table): Don't declare.
11529 * rtl.h (struct function): Declare.
11530 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
11531 * toplev.c (rest_of_compilation): Don't treat nested functions or
11532 functions containing them specially. Delete all code to deal with
11533 save_for_inline_copying.
11534 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
11535 inline_obstacks): Delete variables.
11536 (save_tree_status): Lose arg CONTEXT. All callers changed.
11537 Simply allocate a new function_maybepermanent_obstack for the new
11538 function, delete all the special cases.
11539 Don't save inline_obstacks.
11540 (restore_tree_status): Lose arg CONTEXT. All callers changed.
11541 Delete special handling for function_maybepermanent_obstack; simply
11543 Don't restore inline_obstacks.
11544 (permanent_allocation): Delete code that frees inline_obstacks.
11545 (print_inline_obstack_statistics): Delete function.
11546 (dump_tree_statistics): Don't call it.
11547 * varasm.c (struct varasm_status): New.
11548 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
11549 last_pool, pool_offset, const_double_chain): Delete global
11550 variables, replace with accessor macros.
11551 (immed_double_const): Don't walk const_double_chain outside a
11552 function, but don't treat nested functions specially anymore.
11553 (immed_real_const_1): Likewise.
11554 (clear_const_double_mem): Don't treat nested functions specially.
11555 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
11556 (save_varasm_status, restore_varasm_status): Delete functions.
11557 (init_varasm_status): New function.
11558 (force_const_mem): Don't treat nested functions specially.
11559 (find_pool_constant): Accept new arg F, search for constants in
11560 that function's pool rather than the current one. All callers
11562 (get_pool_constant_for_function, get_pool_mode_for_function): New
11565 * i386.c (init_386_machine_status): New function, mostly from
11566 clear_386_stack_locals.
11567 (struct machine_functions): Rename element names to avoid name
11569 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
11570 macros, replacing global variables.
11571 (clear_386_stack_locals, save_386_machine_status,
11572 restore_386_machine_status): Delete functions.
11573 (override_options): Initialize init_machine_status.
11574 * i386.h (INIT_EXPANDERS): Delete macro.
11575 (save_386_machine_status, restore_386_machine_status,
11576 clear_386_stack_locals): Delete declarations.
11578 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11580 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
11581 (doloop_begin): Simplify pattern and use emit_jump_insn.
11582 (doloop_end): Simplify pattern, switch operand order,
11583 and use emit_jump_insn.
11585 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11587 * function.h (struct function): Add new element LANGUAGE.
11588 (save_lang_status): Declare new variable.
11589 (restore_lang_status): Likewise.
11590 * function.c (save_lang_status): Define.
11591 (restore_lang_status): Likewise.
11592 (push_function_context_to): Call language-specific save function.
11593 (pop_function_context_from): Call language-specific restore function.
11595 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11597 * i386.md (movsf_1): Check REG_P before use of REGNO.
11598 (movdf_1): Likewise.
11599 (movxf_1): Likewise.
11600 (extendsfdf2): Likewise.
11601 (extendsfxf2): Likewise.
11602 (extenddfxf2): Likewise.
11604 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11606 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
11607 constants into memory.
11608 (c4x_shiftable_constant): New function.
11609 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
11610 (c4x_shiftable_constant): Declare.
11611 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
11612 ashlqi3_noclobber): Add new patterns and associated splitters.
11614 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
11616 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
11617 * dwarf2out.c (dwarf2out_frame_init): Likewise.
11618 * final.c (shorten_branches): Likewise.
11619 * global.c (global_alloc): Likewise.
11620 * haifa-sched.c (build_control_flow): Likewise.
11621 * stmt.c (check_for_full_enumeration_handling): Likewise.
11622 (estimate_case_costs): Likewise.
11624 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
11626 * rtl.h (RTL_CHECKC2): Fix typo in last change.
11628 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
11630 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
11631 (recompute_reg_usage): Likewise.
11632 * rtlanal.c (find_regno_fusage): Likewise.
11634 * rtl.c (rtl_check_failed_code1): New function.
11635 (rtl_check_failed_code2): New.
11636 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
11637 (RTL_CHECKC1, RTL_CHECKC2): New.
11638 (XC*): New accessor macros.
11639 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
11640 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
11641 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
11642 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
11643 (TRAP_*, RANGE_INFO_*): Likewise.
11645 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11647 * Makefile.in (tlink.o): Don't depend on toplev.h.
11649 * collect2.c (c_file, o_file, export_file, import_file, ldout,
11650 output_file, nm_file_name, ldd_file_name, strip_file_name,
11651 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
11652 add_prefix, prefix_from_env, prefix_from_string, do_wait,
11653 fork_execute, maybe_unlink, add_to_list,
11654 extract_init_priority, write_list, dump_list,
11655 dump_prefix_list, write_list_with_asm, write_c_file,
11656 write_c_file_stat, write_c_file_glob, scan_prog_file,
11657 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
11658 ignore_library, extract_string, notice, dump_file, target_machine,
11659 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
11660 read_file, print_load_command): Constify a char*.
11661 (fdopen, error, fatal, fatal_perror): Don't prototype.
11662 (my_strerror): Remove. All callers use xstrerror instead.
11663 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
11664 (main): Add prototype. Constify lots of char* ptrs. Change calls
11665 to xcalloc/strcpy/strcat/... to one call to concat.
11666 (main, scan_prog_file, scan_libraries): Use an intermediate
11667 `const char **' to build an argv array.
11668 (mapfile, libselect, libcompare, locatelib): Add prototypes.
11670 * collect2.h (collect_execute, collect_wait, dump_file,
11671 file_exists): Constify a char*.
11672 (ldout, c_file_name, temporary_obstack, permanent_obstack,
11673 temporary_firstobj, vflag, debug): Add extern declarations.
11674 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
11676 * tlink.c: Don't include toplev.h.
11677 (vflag, debug, ldout, c_file_name, temporary_obstack,
11678 permanent_obstack, temporary_firstobj): Don't declare.
11679 (tlink_execute, frob_extension, symbol_hash_lookup,
11680 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
11681 recompile_files, read_repo_files, demangle_new_symbols,
11682 scan_linker_output): Constify a char*.
11683 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
11684 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
11686 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
11688 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
11689 (relative) rather than jsr (absolute) subroutine call insns.
11690 * config/m68k/m68k-coff.h: Ditto.
11692 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
11694 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
11695 now rework these too.
11696 (arm_reorg): If an insn can't reach the end of the current pool,
11697 ensure that we emit that pool before the insn.
11699 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
11701 * tlink.c (scan_linker_output): Skip the initial underscore in
11702 a mangled name if appropriate.
11704 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11706 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
11707 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
11708 error_with_ivar, gen_declarator, create_builtin_decl,
11709 my_build_string, generate_descriptor_table, generate_ivars_list,
11710 generate_dispatch_table, check_protocols, TAG_GETCLASS,
11711 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
11712 dump_base_name, lang_decode_option, build_encode_expr,
11713 start_class, finish_class, encode_pointer, really_start_method,
11714 gen_declaration, dump_interface, handle_class_ref, handle_impent):
11716 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
11717 Add static prototypes.
11718 (build_objc_string_decl, build_selector_reference_decl,
11719 encode_bitfield, build_class_reference_decl): Remove unused
11720 parameter, all callers changed.
11721 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
11722 (objc_printable_name): Likewise. Change second parameter to type int.
11723 (init_objc): Use memcpy, not bcopy, to avoid casts.
11725 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
11727 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
11728 reg notes on a deleted insn.
11729 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
11731 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
11733 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
11735 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11737 * stmt.c (expand_asm_operands): Fix index into inout_mode when
11740 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
11742 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
11743 * tm.texi (MD_ASM_CLOBBERS): Document it.
11745 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
11747 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
11748 * except.c (expand_rethrow): Remove unused variable.
11749 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
11750 * flow.c (replace_insns): Likewise.
11751 (create_edge_list, verify_edge_list): Likewise.
11752 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
11754 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
11755 is special code to run.
11756 (main): Don't define operands to emit_operand.
11757 * genrecog.c (main): Don't emit an empty peephole2_insn function.
11759 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
11761 * alpha/alpha.h (normal_memory_operand): Declare.
11762 (reg_no_subreg_operand): Declare.
11763 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
11765 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
11767 * c-parse.in (compstmt_primary_start): New, broken out of first
11768 part of compstmt handling in primary.
11769 (primary): Use it. Add an error clause.
11770 (compstmt_nostart): Renamed from compstmt; remove all
11771 initial invocations of compstmt_start.
11774 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
11776 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
11779 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
11781 * combine.c (simplify_shift_const): Remove extra semicolon.
11782 * dwarf2out.c (remove_AT): Likewise.
11783 * expmed.c (expand_mult): Likewise.
11784 * gcov.c (create_program_flow_graph): Likewise.
11785 * reorg.c (mostly_true_jump): Likewise.
11787 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
11789 * fold-const.c (fold_range_test): Do not try to fold the range
11790 test if the rhs or lhs has side effects.
11792 * combine.c (simplify_rtx): Recognize another case of a synthesized
11795 * varasm.c (mark_constant_pool): When marking indirect references,
11796 only look at SYMBOL_REFs.
11798 * except.c (expand_fixup_region_end): Do not peek at
11799 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
11801 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
11803 * flags.h: New variables align_loops, align_loops_log,
11804 align_jumps, align_jumps_log, align_labels, align_labels_log,
11805 align_functions, align_functions_log.
11806 * toplev.c: Define them.
11807 (f_options): Handle -falign-* when they have no argument.
11808 (main): Add logic to set variables for -falign-functions,
11809 -falign-jumps, -falign-labels, -falign-loops.
11810 Make it -fsched-verbose=<n> and -finline-limit=<n>.
11811 (display_help): Change help to match options.
11812 * final.c (LABEL_ALIGN): Default to align_labels_log.
11813 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
11814 (LOOP_ALIGN): Default to align_loops_log.
11815 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
11816 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
11817 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
11818 * varasm.c (assemble_start_function): Handle align_functions.
11820 * config/sparc/sparc.h: Don't declare sparc_align_*.
11821 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
11822 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
11824 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
11826 * config/sparc/sparc.c: Delete sparc_align_loops,
11827 sparc_align_jumps, sparc_align_funcs and the corresponding string
11829 (sparc_override_options): Default align_functions on ultrasparc.
11830 Delete -malign-* handling.
11832 * config/mips/mips.c (override_options): On 64-bit targets,
11833 try to align code to 64-bit boundaries.
11834 (print_operand): New substitution, %~,
11835 which aligns labels to align_labels_log.
11836 * config/mips/mips.md (div_trap_normal): Use %~.
11837 (div_trap_mips16): Likewise.
11839 (absdi2): Likewise.
11840 (ffssi2): Likewise.
11841 (ffsdi2): Likewise.
11842 (ashldi3_internal): Likewise.
11843 (ashrdi3_internal): Likewise.
11844 (lshrdi3_internal): Likewise.
11845 (casesi_internal): Likewise.
11847 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
11849 Merge new ia32 backend from the branch!
11851 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
11852 See ChangeLog.P2 on new_ia32_branch for details.
11854 * rtl.h (stack_regs_mentioned_p): Delete prototype.
11855 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
11856 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11857 * i386/gas.h (ASM_FILE_START): Define.
11858 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
11859 for name change of ix86_valid_decl_attribute_p.
11860 (i386_pe_valid_type_attribute_p): Similarly.
11862 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
11864 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
11865 to step through CC modes.
11867 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11869 * regmove.c (fixup_match_1): Don't move INSN in front of P if
11870 it would end up in the shadow of a live flags regsiter.
11872 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11874 * reload1.c: Fix many indentation problems.
11875 * reload.c: Likewise.
11877 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
11879 * alias.c (non_local_reference_p): Constify fmt.
11881 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
11883 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
11885 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
11887 * cse.c (delete_trivially_dead_insns): Do not delete stores to
11888 the internal_arg_pointer.
11890 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
11892 Merge peephole2 from new_ia32_branch:
11893 * Makefile.in (STAGESTUFF): Add *.peephole2.
11894 (mostlyclean): Likewise.
11895 (recog.o): Depend on resource.h.
11897 * final.c (peephole): Conditionalize decl on HAVE_peephole.
11898 (final_scan_insn): Likewise for the invocation of peephole.
11899 * genconfig.c (main): Look for peephole and peephole2 patterns.
11900 Emit HAVE_peephole* accordingly.
11901 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
11902 * flags.h (flag_peephole2): Declare.
11903 * toplev.c: New pass peephole2. New flag -fpeephole2.
11905 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
11906 * gencodes.c (main): Likewise.
11907 * genextract.c (main): Likewise.
11908 * genoutput.c (main): Likewise.
11909 * genemit.c (max_operand_1): Look for the max scratch operand.
11910 (gen_rtx_scratch): New.
11911 (gen_exp): Use it, and pass on new arg subroutine_type.
11912 (gen_expand): Take max scratch into account.
11913 (gen_split): Emit peephole2 functions.
11914 (output_peephole2_scratch): New.
11915 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
11916 * genrecog.c (routine_type): Add PEEPHOLE2.
11918 (make_insn_sequence): Match outer parallel for peep2. Discard
11919 top level scratches and dups.
11920 (add_to_sequence): New args insn_type and top. Update all callers.
11921 Handle toplevel peep2 matching insns.
11922 (write_subroutine): Handle peep2.
11923 (write_tree_1): Likewise.
11924 (write_tree): Likewise.
11926 (change_state): New arg afterward. Update all callers.
11927 Handle matching separate insns.
11928 * recog.c (recog_next_insn): New.
11929 (peephole2_optimize): New.
11930 * rtl.def (DEFINE_PEEPHOLE2): New.
11931 * resource.c (find_free_register): New argument last_insn. Use it
11932 to find a register available through the entire span.
11933 * resource.h (find_free_register): Update prototype.
11935 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
11937 * i386.c (output_strlen_unroll): Don't write xops[7]
11938 label if it wasn't set.
11940 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
11942 * cpplib.c (struct directive): Const-ify name pointer and
11943 function pointer prototype.
11944 (validate_else, do_define, do_line, do_include, do_undef,
11945 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
11946 do_elif, do_endif, do_sccs, do_assert, do_unassert,
11947 do_warning): Const-ify second arg.
11948 (directive_table): Mark const. Reorder entries by frequency
11949 of usage, record statistics.
11951 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
11953 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
11954 bounds- check RTL accesses if --enable-checking.
11955 (RTVEC_ELT): Bounds check if --enable-checking.
11956 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
11957 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
11958 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
11960 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
11961 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
11963 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
11964 (NOTE_SOURCE_FILE): Use X0STR.
11965 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
11966 MEM_ALIAS_SET): Use X0INT.
11967 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
11968 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
11970 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
11971 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
11972 (rtl_check_failed_bounds, rtl_check_failed_type1,
11973 rtl_check_failed_type2, rtvec_check_failed_bounds): New
11975 (fancy_abort): Fix comment.
11977 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
11978 (cse_insn): Decrement LABEL_NUSES for jump target before
11979 deleting jump insn.
11980 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
11981 * final.c (alter_subreg): Compute regno before changing x to
11982 REG; set REGNO(x) after changing it.
11983 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
11984 notes containing CONST_INTs.
11985 (delete_eh_regions): Use NOTE_EH_HANDLER.
11986 * function.c (put_reg_into_stack): Make reg a MEM before
11988 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
11990 (gen_mem_addressof): Make reg a MEM before initializing it.
11991 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
11993 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
11994 deleting an insn, not after.
11995 (block_alloc): Only look at PATTERN(insn) if we have to, and
11996 only if it's format class 'i'.
11997 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
11998 CONST_INT before using its INTVAL.
11999 * print-rtl.c (print_rtx): Use X0STR.
12000 * regmove.c (fixup_match_1): Don't look at PATTERN of
12001 non-class-'i' insn chain elements.
12002 * reload.c (loc_mentioned_in_p): Take address of
12003 in->fld[1].rtx directly.
12004 * reload1.c (reload): Change reg to a MEM before initializing
12006 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
12008 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
12010 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
12012 * config/mips/mips.c (machine_dependent_reorg): Force a
12013 barrier to output the local constant pool if a barrier hasn't
12014 been found at a natural point in the instruction stream.
12016 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12018 * c-parse.in (language_string): Constify.
12020 * dwarf2out.c (language_string): Remove declaration.
12022 * dwarfout.c (language_string): Likewise.
12024 * toplev.c (language_string, init_parse, finish_parse): Likewise.
12026 * tree.h (language_string, init_parse, finish_parse): Declare.
12028 * i386/sun386.h (language_string): Remove declaration.
12030 * mips.h (language_string): Likewise.
12032 * nextstep.h (language_string): Likewise.
12034 * nextstep21.h (language_string): Likewise.
12036 * rs6000.c (language_string): Likewise.
12038 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12040 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
12041 (getpwd.o): Remove target.
12043 * getpwd.c: Delete file. Its in libiberty now.
12045 * dbxout.c (getpwd): Don't prototype.
12046 * dwarf2out.c (getpwd): Likewise
12047 * dwarfout.c (getpwd): Likewise
12048 * final.c (getpwd): Likewise.
12049 * protoize.c (getpwd): Likewise.
12051 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12053 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
12055 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
12057 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
12058 mark_set_resources.
12060 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
12062 * fixinc/Makefile.in (subdir): New.
12063 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
12066 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
12068 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
12069 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
12072 * invoke.texi: Fix typo.
12074 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
12075 changed. Handle autoincrement addressing modes.
12077 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
12078 just like we would the virtual incoming args register when
12081 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
12083 * rs6000.h (ASM_FILE_START): Specify complete filename, including
12084 path, in .file directive.
12086 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
12088 * gcc.texi (External Bugs): Remove obsolete note about Perl on
12091 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
12093 * stdbool.h: Make the typedef name _Bool, with bool a #defined
12096 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12098 * tree.c (tree_code_name): Constify a char*.
12100 * tree.h (tree_code_name, decl_printable_name): Likewise.
12102 * function.h (struct function): Likewise.
12104 * toplev.c (decl_name, decl_printable_name): Likewise.
12106 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
12108 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
12109 (init_objc): Remove function pointer cast.
12111 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
12113 * pa.md (interspace_jump): New pattern.
12114 (builtin_longjmp): New expander.
12116 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
12118 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
12119 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
12120 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
12122 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
12124 * jump.c (delete_prior_computation): Also check calls
12125 to constant functions. Don't bother checking for a
12126 REG_UNUSED note before adding it.
12127 (delete_computation): Handle multi-word hard registers
12128 when synthesizing missing REG_DEAD notes for a register
12129 which is both set and used by an insn.
12131 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12133 * loop.c (this_loop_info): New variable.
12134 (loop_has_call, loop_has_volatile, loop_has_tablejump,
12135 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
12137 (prescan_loop, strength_reduce): New argument loop_info. All callers
12139 (scan_loop): New variable loop_info, initialise to address of
12141 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
12142 Delete variable loop_has_multiple_exit targets and replace with
12143 field in this_loop_info.
12144 (find_and_verify_loops): Rename this_loop to this_loop_num.
12145 (strength_reduce): Delete loop_iteration_info. Replace variable
12146 loop_info with function argument of same name.
12147 (insert_bct): Rework test for loop being completely unrolled.
12149 * loop.h (struct loop_info): New fields num, loops_enclosed,
12150 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
12151 has_indirect_jump, and cont. Redefine use of unroll_number.
12152 (loop_unroll_number): Delete.
12154 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
12155 field of loop_info.
12156 (loop_iterations): Delete variable vtop and instead use
12157 loop_info->vtop computed in prescan_loop.
12159 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
12161 * fix-header.c (main): Do not pass a null pointer to strcmp.
12163 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
12165 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
12167 * configure: Rebuilt.
12169 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
12171 * jump.c (jump_optimize_1): Do not delete assignments to
12172 internal_arg_pointer.
12173 * cse.c (delete_trivially_dead_insns): Always consider a set of
12174 the internal_arg_pointer live.
12176 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
12178 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
12179 (update_life_info) [REG_WAS_0]: Search the original insns rather
12180 than the new insns for the note. Fix typos finding note_dest.
12181 If no dest found, discard the note rather than abort.
12182 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
12183 (replace_insns): Remove the old insn list after update_life_info
12186 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
12188 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
12189 sched_analyze_insn.
12190 (sched_analyze_1): Let add_dependence care for not adding dups.
12191 (sched_analyze_2): Likewise.
12192 (add_branch_dependences): Likewise.
12194 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
12196 * i386/winnt.c (export_list): New type.
12197 (exports_head): Rename to
12198 (export_head): this.
12199 (i386_pe_record_exported_symbol): Add is_data flag.
12200 (i386_pe_asm_file_end): Emit directive for exported variables.
12201 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
12203 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
12204 (ASM_DECLARE_OBJECT_NAME): Likewise.
12205 (ASM_DECLARE_FUNCTION_NAME): Likewise.
12206 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
12208 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
12210 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
12212 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
12215 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
12217 * config/openbsd.h: Define SET_ASM_OP.
12218 * tm.texi: cross-reference SET_ASM_OP in the index.
12220 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
12222 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
12223 for a CONST_DOUBLE, at compile time. Initialize rtx_length
12224 and class_narrowest_mode at compile time. Kill init_rtl.
12225 Mark rtx_length, mode_class, mode_size, mode_unit_size,
12226 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
12227 rtx_format as const. Kill all references to EXTRA_CC_MODES or
12229 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
12231 * rtl.h: Declare rtx_length and rtx_format as const.
12232 * machmode.def: Define CC(). Use CC() to define CCmode. If
12233 EXTRA_CC_MODES is defined, expand it here.
12234 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
12235 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
12236 const. Kill all references to EXTRA_CC_MODES.
12238 * toplev.c: Don't prototype or call init_rtl.
12239 * optabs.c: Don't call init_mov_optab.
12240 * genemit.c: Don't generate init_mov_optab. Don't call
12242 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
12244 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
12245 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
12246 genrecog.c: Don't call init_rtl.
12248 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
12249 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
12250 definition of EXTRA_CC_MODES.
12252 * md.texi: Kill ref to EXTRA_CC_NAMES.
12253 * tm.texi: Document new way to define EXTRA_CC_MODES.
12255 * genrecog.c: Do not look up the name of a define_split.
12256 (Unrelated bugfix.)
12258 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
12260 * config/v850/v850.md: Fix typo introduced by previous delta.
12262 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12264 * gcc.c (fatal): Make definition static to match prototype.
12266 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12268 * combine.c (get_last_value): Don't look for earlier sets if the last
12269 known set is somewhere in between the insns being combined.
12271 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
12273 * configure.in: Don't use shell ! to negate exit codes
12274 * configure: Regenerate
12276 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
12278 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
12279 the fact that ALIGN is measured in bits, not bytes.
12281 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
12283 * errors.c: New file; defines functions error, warning, and
12284 fatal, variables have_error and progname.
12285 * errors.h: New file; prototypes and decls for stuff in errors.c.
12287 * Makefile: Add rules to build errors.o and
12288 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
12289 genopinit, genrecog, genextract, genpeep, genattr, and
12290 genoutput with errors.o. Add errors.h to deps of genconfig.o,
12291 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
12292 genpeep.o, genattr.o, and genoutput.o.
12294 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
12295 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
12296 define or prototype fatal. Set progname at beginning of main.
12297 * genoutput.c: Likewise, and don't define or prototype error
12300 * c-typeck.c (c_expand_start_case): Return immediately if exp
12302 * fold-const.c (operand_equal_p): Return immediately if arg1
12303 or arg0 are ERROR_MARKs.
12304 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
12305 fields of type ERROR_MARK when calculating if the record can
12308 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
12309 with much help from Jeffrey A Law and Richard Henderson
12311 * i386.md: In the 6 insns which call output_fix_trunc,
12312 earlyclobber operands[0].
12314 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
12316 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
12317 creating new registers.
12319 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
12321 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
12322 i386_reg_alloc_order, i386_regparm_string,
12323 i386_align_loops_string, i386_align_jumps_string,
12324 i386_align_funcs_string, i386_preferred_stack_boundary_string,
12325 and i386_branch_cost_string as type "const char *".
12326 * i386.c: Define all above strings as type "const char *".
12328 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
12330 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
12331 when emitting alignment padding. Emit padding byte of 0 instead of 4.
12333 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
12335 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
12336 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
12338 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
12340 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
12341 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
12342 (dwarf2out_line, dwarf2out_finish): Likewise.
12343 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
12345 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
12347 * tree.c (lang_unsave_expr_now) : Correct return type.
12348 * tree.h (lang_unsave_expr_now) : Same.
12350 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
12352 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
12353 instead of duplicating code.
12355 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12357 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
12359 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
12361 * tree.h: fancy_abort always takes three args.
12362 * resource.c: Move include of system.h before toplev.h.
12364 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
12366 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
12369 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
12371 * system.h: Don't redefine abort or trim_filename.
12372 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
12373 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
12374 whether or not __FUNCTION__ is available.
12375 * tree.h: Duplicate rtl.h's definition of abort, for files
12376 that don't include rtl.h. Delete all code to perform type
12377 checking with a compiler other than GCC.
12378 * varray.h: Delete all code to perform type checking with a
12379 compiler other than GCC. Make VARRAY_CHECK() always evaluate
12380 its arguments exactly once, using a statement expression.
12381 Adjust the VARRAY_<type> accessor macros to match.
12382 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
12383 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
12384 caller's location. Define fatal_insn and fatal_insn_not_found
12385 as macros that use _fatal_insn and _fatal_insn_not_found.
12386 (fancy_abort, trim_filename): Kill prototypes.
12388 * rtl.c (trim_filename): Move here from toplev.c.
12389 (fancy_abort): New function.
12390 (DIR_SEPARATOR): Provide default definition.
12391 * tree.c (tree_check_failed, tree_class_check_failed): Go
12392 through fancy_abort.
12393 (tree_check, tree_class_check, cst_or_constructor_check,
12394 expr_check): Delete.
12395 * varray.c (varray_check_failed): New function.
12396 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
12397 _fatal_insn and _fatal_insn_not_found. Go through
12399 (trim_filename, fancy_abort): Delete.
12401 * builtins.c (expand_builtin_args_info): Report ICE with abort.
12402 * except.c (start_catch_handler): Report ICE with error/abort
12404 * final.c (output_operand_lossage): Likewise.
12405 * flow.c (verify_flow_info): Likewise.
12407 * gcc.c: Prototype fatal.
12408 * gengenrtl.c: Undef abort after including rtl.h not system.h.
12409 * genattr.c, genattrtab.c, genemit.c, genextract.c,
12410 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
12411 Don't define fancy_abort.
12413 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
12415 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
12418 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
12420 * m88k.h (VERSION_INFO2): Kill.
12421 (VERSION_STRING): Kill.
12423 (VERSION_INFO1): Tidy.
12424 (TARGET_VERSION): Update.
12425 * m88k/dgux.h (VERSION_INFO2): Kill.
12426 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
12427 * m88k/luna.h (VERSION_INFO1): Tidy.
12428 * m88k/sysv4.h (VERSION_INFO1): Likewise.
12429 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
12430 (output_file_start): Adjust for death of VERSION_STRING.
12432 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
12434 * cpplib.c (detect_if_not_defined): New function.
12435 (do_if): Use it to detect potential once-only headers.
12437 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
12439 * c-common.c (combine_strings): Always set TREE_CONSTANT.
12441 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
12443 * combine.c (nonzero_bits) : Allow single-ly set registers to be
12444 anywere in the function only if they are pseudos and set before
12445 being used (not live at the start of the function).
12446 (num_sign_bit_copies) : Same.
12447 (get_last_value_validate) : Same.
12448 (get_last_value) : Same.
12450 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
12452 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
12453 where N and M are constant and N is an integer multiple of M.
12455 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12457 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
12458 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
12459 sbitmap_union_of_preds): Add prototypes.
12460 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
12461 the intersection of successors with the new flow graph structures.
12462 (sbitmap_intersection_of_preds): New function to compute the
12463 intersection of predecessors with the new flow graph structures.
12464 (sbitmap_union_of_succs): New function to compute the union of
12465 successors with the new flow graph structures.
12466 (sbitmap_union_of_preds): New function to compute the union of
12467 predecessors with the new flow graph structures.
12468 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
12469 (expr_reaches_here_p): Use edge and basic_block structures instead
12470 of s_preds and s_succs.
12471 (compute_cprop_avinout): Use new sbitmap routines.
12472 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
12473 of s_preds and s_succs.
12474 * flow.c (compute_flow_dominators): Compute dominators using
12475 edges and basic blocks instead of s_preds and s_succs.
12477 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12479 * lists.c (unused_insn_list, unused_expr_list): New file for
12480 maintaining various types of lists. New statics for maintaining a
12481 cache of available INSN_LIST and EXPR_LIST nodes.
12482 (free_list): Static function for freeing a list of INSN/EXPR nodes.
12483 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
12484 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
12485 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
12486 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
12487 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
12488 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
12489 (free_INSN_LIST_node): Free an individual INSN_LIST node.
12490 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
12491 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
12492 (remove_dependence, free_pending_lists): Use new global routines.
12493 (flush_pending_lists, sched_analyze_insn): Use new global routines.
12494 (sched_analyze, compute_block_backward_dependences): Use new routines.
12495 (sched_analyze_1, sched_analyze_2): Use new routines.
12496 (schedule_insns): Use new global routines.
12497 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
12499 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
12500 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
12502 * toplev.c (rest_of_compilation): Initialize node cache.
12503 * Makefile.in (OBJS): Add lists.o to list of object files.
12504 (lists.o): Add dependancies.
12506 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
12508 * config/v850/v850.md: Fix compile time warning messages.
12509 * config/v850/v850.c: Fix compile time warning messages.
12510 * config/v850/v850.h: Fix compile time warning messages.
12512 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12514 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
12515 Remove unused prototype for `init_lengths'.
12517 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12519 * calls.c (emit_call_1): Mark parameter `stack_size' with
12521 (expand_call): Initialize variable `insn'.
12522 (emit_library_call): Likewise for variable `high_to_save'.
12523 (emit_library_call_value): Likewise.
12524 (store_one_arg): Likewise for variables `lower_bound' and
12527 * combine.c (try_combine): Likewise for variables `i2_code_number'
12528 and `other_code_number'.
12529 (find_split_point): Likewise for variables `pos', `unsignedp' and
12531 (simplify_if_then_else): Likewise for variables `op' and `c1'.
12532 (simplify_and_const_int): Remove unused variable `width'.
12533 (merge_outer_ops): Likewise.
12535 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
12536 HOST_WIDE_INT' when comparing against one.
12537 (simplify_relational_operation): Likewise.
12538 (cse_insn): Initialize variables `src_eqv_volatile',
12539 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
12541 * final.c (init_final): Constify parameter `filename'.
12542 (final_start_function): Mark parameter `optimize' with
12544 (profile_function): Likewise for parameters `first' and `optimize'.
12545 (output_source_line): Likewise for parameter `file'.
12547 * integrate.c (subst_constants): Cast a value to `size_t' when
12548 comparing against one.
12549 (mark_stores): Initialize variable `mode'. Cast a value to
12550 `size_t' when comparing against one.
12552 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
12554 * loop.c (move_movables): Initialize variable `first'.
12555 (strength_reduce): Likewise for variable `increment'.
12556 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
12557 value to `size_t' when comparing against one.
12558 (load_mems): Initialize variable `end_label'.
12560 * output.h (init_final): Constify parameter.
12562 * reload.c (decompose): Initialize variable `base'.
12564 * reload1.c (reload): Likewise for variable `is_scalar'.
12565 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
12566 (choose_reload_regs): Initialize variable `mode'.
12567 (emit_reload_insns): Likewise for variable `store_insn'.
12568 (reload_cse_noop_set_p): Mark parameter `insn' with
12570 (reload_combine): Initialize variable `set'.
12572 * unroll.c (unroll_loop): Likewise for variable `local_label'.
12573 (copy_loop_body): Cast a value to `size_t' when comparing against
12576 * varasm.c (assemble_variable): Initialize variable `size_tree'.
12577 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
12578 (remove_from_pending_weak_list): Mark parameter `name' with
12581 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12583 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
12586 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
12588 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
12589 (ASM_DECLARE_FUNCTION_NAME): Define.
12590 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
12591 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
12592 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
12593 not already defined.
12595 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
12597 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
12598 of n_popped when call/call_value are not defined.
12600 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
12602 * tm.texi: GNU CC -> GCC conversion.
12603 (CC1_SPEC): Indicate it is used for all language front ends.
12605 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
12607 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
12608 NOTE_INSN_EH_REGION_END correctly.
12610 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
12611 Jeff Law <law@cygnus.com>
12613 * loop.c (strength_reduce): Automatically unroll loops if the
12614 unrolled loop size is smaller than the rolled loop size.
12616 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
12617 and delete comment that code should be rewritten.
12619 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
12621 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
12624 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
12626 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
12628 * fixinc/mkfixinc.sh: Don't fix uwin headers.
12629 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
12630 (LINK_SPEC): Add -u _main when building executables.
12631 (ASM_DECLARE_FUNCTION): Update from Cygwin.
12632 (ASM_FILE_END): Use the default for ix86-pe.
12633 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
12635 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
12637 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
12638 and ASM_CLOSE_PAREN are empty strings.
12640 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
12641 Geoffrey Keating <geoffk@cygnus.com>
12643 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
12644 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
12645 (unprotoize.o): Ditto.
12646 (test-protoize-simple): Don't define STD_PROTO_DIR.
12647 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
12648 changes to make 'test-protoize-simple' pass.
12649 (STD_PROTO_DIR): Remove define.
12650 (STANDARD_EXEC_PREFIX): Supply default define.
12651 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
12652 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
12653 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
12654 (GET_ENV_PATH_LIST): New macro.
12655 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
12656 (do_processing): Initialize default_syscalls_dir using new
12657 macros. Use it to initialize syscalls_absolute_filename.
12659 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
12661 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
12662 B into a register before emit_conditional_move.
12664 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
12666 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
12667 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
12668 multiplicand out of (+ (* a b) (* c d)).
12670 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
12671 Richard Henderson <rth@cygnus.com>
12673 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
12674 (new_insn_dead_notes): Likewise.
12675 (update_n_sets): Likewise.
12676 (update_flow_info): Move to flow.c, renamed to update_life_info;
12677 extend to handle multiple source insns.
12678 * flow.c: Include resource.h
12679 (unlink_insn_chain): New.
12680 (split_hard_reg_notes): New.
12681 (maybe_add_dead_note): New.
12682 (maybe_add_dead_note_use): New.
12683 (find_insn_with_note): New.
12684 (new_insn_dead_notes): New.
12685 (update_n_sets): New.
12686 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
12687 (maybe_remove_dead_notes): New.
12688 (update_life_info): New.
12689 (prepend_reg_notes): New.
12690 (replace_insns): New.
12691 * output.h (update_life_info): Declare.
12692 * recog.c (split_block_insns): Use update_life_info.
12693 * resource.c (find_free_register): Use reg_alloc_order, don't use
12694 fixed regs, make sure the mode is supported, don't use new regs.
12696 * rtl.h (replace_insns): Declare.
12698 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
12700 * expr.c (expand_expr): Cope with COND_EXPRs with one
12701 non-returning branch.
12703 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
12705 * expr.c (store_expr): Always pass down the target, even when not
12708 1999-08-24 Nick Clifton <nickc@cygnus.com>
12710 * configure.in: Define target_cpu_default for v850 targets.
12711 * configure: Regenerate
12713 * config/v850/v850.h (TARGET_CPU_generic): Define.
12714 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
12715 addresses are 4 byte aligned.
12717 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
12720 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12722 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
12723 (main): Add prototypes.
12725 * genattrtab.c (substitute_address, write_const_num_delay_slots,
12726 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
12727 (write_attr_get): Emit prototypes along with function definition.
12728 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
12729 (write_complex_function): Emit static prototype along with
12730 function definition.
12732 * genemit.c (gen_split): Emit prototypes along with function
12735 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
12736 Likewise for predicates and `insn_operand_predicate'.
12737 (process_template): Emit static prototype along with function
12740 * genrecog.c (make_insn_sequence): Constify a char*. Add
12741 prototypes for get_split_*().
12742 (write_subroutine): Emit prototypes along with function
12745 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12747 * gcse.c (find_avail_set): Follow chains of register-register copies.
12748 Use oprs_not_set_p to guarantee that the returned value can be
12750 (cprop_insn): Don't verify the return value of find_avail_set with
12753 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
12754 (cprop_cc0_jump): New function.
12755 (cprop_insn): Break out new function cprop_jump and use it.
12756 Also use cprop_cc0_jump for machines with CC0.
12757 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
12759 * tree.h (current_function_calls_setjmp,
12760 current_function_calls_longjmp): Delete declarations.
12761 * dsp16xx.c: Include "function.h".
12762 * elxsi.c: Likewise.
12763 * gmicro.c: Likewise.
12764 * h8300.c: Likewise.
12765 * i370.c: Likewise.
12766 * m32r.c: Likewise.
12767 * mn10200.c: Likewise.
12768 * mn10300.c: Likewise.
12769 * ns32k.c: Likewise.
12770 * spur.c: Likewise.
12771 * v850.c: Likewise.
12773 * rtl.h (rtx_equal_function_value_matters): Declare.
12774 * toplev.c (rtx_equal_function_value_matters): Don't declare.
12776 * function.c: Likewise.
12777 * emit-rtl.c: Likewise.
12779 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
12781 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
12784 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12786 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
12789 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
12791 * cpp.texi: Add a node documenting macro varargs (copied
12794 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
12796 * cppspec.c: Put a null pointer at the end of the new argv.
12798 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
12800 * configure.in: Remove code to select/de-select the haifa
12801 scheduler. Every scheduled port gets haifa now.
12802 * configure: Rebuilt.
12803 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
12805 * Makefile.in: Corresponding changes.
12807 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12809 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
12810 All callers changed.
12811 (prepare_float_lib_cmp): Likewise.
12812 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
12813 * expr.h (emit_float_lib_cmp): Delete declaration.
12814 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
12815 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
12816 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
12818 (cmptf): Now conditional on TARGET_HARD_QUAD.
12820 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
12822 * resource.c (mark_target_live_regs): Use
12823 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
12825 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12827 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
12829 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
12831 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
12833 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12835 * rtl.h (rtx_format): Constify a char*.
12837 * rtl.c (rtx_format): Likewise.
12838 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
12839 (init_rtl): Use accessor macro, not `rtx_format'.
12841 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
12844 * caller-save.c (mark_referenced_regs): Likewise.
12846 * combine.c (subst, make_compound_operation, known_cond,
12847 gen_rtx_combine, update_table_tick, get_last_value_validate,
12848 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
12850 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
12851 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
12852 count_reg_usage): Likewise.
12854 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
12857 * final.c (leaf_renumber_regs_insn): Likewise.
12859 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
12860 dump_edge_info, count_reg_references): Likewise.
12862 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
12863 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
12866 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
12867 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
12868 add_label_notes): Likewise.
12870 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
12871 clear_struct_flag, count_sub_rtxs, count_alternatives,
12872 compares_alternatives_p, contained_in_p, walk_attr_value,
12873 write_expr_attr_cache): Likewise.
12875 * genconfig.c (walk_insn_part): Likewise.
12877 * genemit.c (max_operand_1, gen_exp): Likewise.
12879 * genextract.c (walk_rtx): Likewise.
12881 * genflags.c (num_operands): Likewise.
12883 * genoutput.c (scan_operands): Likewise.
12885 * genpeep.c (match_rtx): Likewise.
12887 * genrecog.c (add_to_sequence): Likewise.
12889 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
12892 * integrate.c (save_constants, copy_for_inline,
12893 copy_rtx_and_substitute, subst_constants, restore_constants):
12896 * jump.c (mark_jump_label, invert_exp, redirect_exp,
12897 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
12899 * local-alloc.c (contains_replace_regs, memref_referenced_p):
12902 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
12903 add_label_notes, replace_call_address, count_nonfixed_reads,
12904 invariant_p, find_single_use_in_loop, find_mem_givs,
12905 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
12908 * print-rtl.c (reg_names, print_rtx): Likewise.
12910 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
12912 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
12913 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
12914 print_blocks): Likewise.
12916 * regclass.c (fix_register, record_address_regs,
12917 reg_scan_mark_refs): Likewise.
12919 * regmove.c (stable_but_for_p): Likewise.
12921 * reload.c (loc_mentioned_in_p, operands_match_p,
12922 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
12923 copy_replacements, refers_to_regno_for_reload_p,
12924 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
12925 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
12928 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
12929 delete_address_reloads_1, count_occurrences,
12930 reload_cse_mem_conflict_p, reload_combine_note_use,
12931 add_auto_inc_notes): Likewise.
12933 * resource.c (mark_referenced_resources, mark_set_resources):
12936 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
12937 reg_mentioned_p, regs_set_between_p, modified_between_p,
12938 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
12939 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
12940 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
12941 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
12943 * sched.c (sched_analyze_2, attach_deaths): Likewise.
12945 * stupid.c (stupid_mark_refs): Likewise.
12947 * unroll.c (remap_split_bivs): Likewise.
12949 * varasm.c (mark_constants): Likewise.
12951 * a29k/a29k.c (uses_local_reg_p): Likewise.
12953 * alpha/alpha.c (summarize_insn): Likewise.
12955 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
12956 eliminate_lr2ip): Likewise.
12958 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
12960 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
12961 reg_mentioned_in_mem): Likewise.
12963 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
12964 symbolic_reference_mentioned_p): Likewise.
12966 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
12968 * sh/sh.c (regs_used, mark_use): Likewise.
12970 * vax/vax.c (vax_rtx_cost): Likewise.
12972 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12974 * machmode.h (mode_name): Constify a char*.
12976 * rtl.c (mode_name): Likewise.
12978 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
12980 * optabs.c (init_libfuncs): Constify a char*.
12982 * print-tree.c (mode_name): Remove redundant declaration.
12983 (print_node): Use accessor macro, not `mode_name'.
12985 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
12987 (new_spill_reg): Constify a char*.
12989 * tree.c (mode_name): Remove redundant declaration.
12991 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12993 * rtl.c (rtx_name): Constify a char*.
12995 * rtl.h (rtx_name, fix_sched_param): Likewise.
12997 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
12998 (mypr): Use accessor macro, not `rtx_name'.
13000 * genemit.c (print_code): Constify a char*.
13002 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
13004 * genpeep.c (print_code): Constify a char*.
13006 * genrecog.c (print_code): Likewise.
13008 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
13009 end_bb): Add static prototype.
13010 (draw_edge): Constify a char*.
13011 (end_bb): Remove unused parameter.
13013 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
13014 print_block_visualization): Constify a char*.
13016 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
13018 * c-common.c (c_get_alias_set): Update comment.
13020 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13022 * linux.h (LIB_SPEC): Added.
13024 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13026 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
13028 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
13030 * tree.c (expr_check): Fix typo in last change.
13032 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
13034 * rtl.def (NOTE): Change format to "iuu0n".
13035 (ADDR_DIFF_VEC): Change format to "eEee0".
13036 (ADDRESSOF): Change format to "eit".
13038 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
13039 (RTVEC_ELT): Change to match.
13040 (XVECEXP): Use XVEC and RTVEC_ELT.
13041 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
13042 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
13043 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
13044 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
13045 TRAP_CONDITION, TRAP_CODE): Use XEXP.
13046 (INTVAL): Use XWINT.
13047 (ADDRESSOF_DECL): Use XTREE.
13048 (SET_ADDRESSOF_DECL): Delete.
13049 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
13050 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
13051 ifdefed out since 2.6 at least.
13052 (gen_rtvec_vv): Delete prototype.
13054 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
13056 (copy_most_rtx): Handle 't' format letter.
13057 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
13058 (gen_rtvec_vv): Delete function. All callers changed to use
13059 gen_rtvec_v instead.
13060 * print-rtl.c (print_rtx): Move special casing of NOTEs to
13061 the '0' format letter.
13063 * function.c (gen_mem_addressof): Don't use
13064 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
13066 * integrate.c (copy_rtx_and_substitute): Likewise.
13067 Copy 't' slots with XTREE.
13068 (subst_constants): Treat 't' slots like '[swi]' slots.
13069 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
13070 * jump.c (rtx_equal_for_thread_p): Likewise.
13071 * rtlanal.c (rtx_equal_p): Likewise.
13072 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
13073 only four arguments.
13074 * gengenrtl.c (type_from_format): Provide correct types for
13078 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
13079 If a recent gcc is in use (always in stage2 and beyond), use
13080 statement expressions, so we don't make a function call unless
13081 the check fails. Evaluate arguments exactly once.
13082 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
13083 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
13085 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
13086 they evaluate their arguments exactly once, irrespective of
13087 the compiler in use.
13089 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
13090 is used by the currently-enabled check macros. This is:
13091 (tree_check_failed, tree_class_check_failed): For gcc.
13092 (tree_check, tree_class_check, cst_or_constructor_check,
13093 expr_check): For other compilers.
13095 * gencheck.c: Do not define any *_CHECK1 macros.
13097 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
13098 Mark Mitchell <mark@codesourcery.com>
13100 * c-common.c (c_get_alias_set): Fix support for poitners and
13103 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
13105 * alias.c: Include tree.h.
13106 (nonlocal_reference_p, mark_constant_function): New functions.
13107 * flow.c (life_analysis): Call mark_constant_function.
13108 * rtl.h (mark_constant_function): Declare it.
13110 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
13112 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
13113 unrecognisable switches.
13115 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13117 * loop.c (recombine_givs): Set ix field after sorting.
13118 (recombine_givs): Remove bogus index / giv lockstep looping.
13120 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13122 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
13124 (emit_store_flag_force): Use do_compare_rtx_and_jump.
13125 (do_cmp_and_jump): Formatting fixes.
13126 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
13127 do_compare_rtx_and_jump instead of compare_from_rtx.
13128 (do_compare_rtx_and_jump): New function; mostly copied from
13130 (do_jump_for_compare): Delete.
13131 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
13133 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
13134 of compare/do_jump_for_compare pairs.
13135 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
13136 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
13137 compare_from_rtx/do_jump_for_compare pairs.
13138 (do_jump_by_parts_equality): Likewise.
13139 (do_jump_by_parts_equality_rtx): Likewise.
13140 * expr.h (do_compare_rtx_and_jump): Declare.
13141 * optabs.c (prepare_cmp_insn): New function, contains most of the code
13142 that used to be in emit_cmp_insn.
13143 (cmp_available_p): New function.
13144 (prepare_operand): New function.
13145 (emit_cmp_and_jump_insn_1): New function, contains some code that used
13146 to be in emit_cmp_insn.
13147 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
13148 parameters to be pointers; don't emit final compare but modify some of
13149 the values pointed to by the args so the caller can perform the
13150 correct comparison.
13151 (expand_binop): Call emit_store_flag_force with signed forms of
13153 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
13154 emit_jump_insn pair.
13155 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
13156 emit_cmp_and_jump_insn_1. Call emit_queue.
13157 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
13159 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
13160 jump sets cc0 before deleting it.
13161 * integrate.c (expand_inline_function): Likewise.
13162 * unroll.c (unroll_loop): Similar changes in several places.
13163 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
13164 before deleting it.
13166 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13168 * Makefile.in (insn-recog.o): Update dependencies.
13169 * genrecog.c (main): Make generated file include "function.h".
13171 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
13173 * cse.c (cse_insn): Call never_reached_warning when a jump is
13174 changed to be unconditional.
13175 * flags.h: Declare warn_notreached.
13176 * flow.c (delete_block): Call never_reached_warning when
13177 a block is deleted.
13178 * jump.c (delete_barrier_successors): Call never_reached_warning
13179 when we delete everything after a BARRIER.
13180 (never_reached_warning): New function.
13181 * rtl.h: Declare never_reached_warning.
13182 * toplev.c (warn_notreached): New variable.
13183 (lang_independent_options): Set warn_notreached
13184 when -Wunreachable-code.
13185 (compile_file): We need line numbers for -Wunreachable-code.
13187 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
13189 * haifa-sched.c (insn_unit): Fix typo on out of range test.
13190 * sched.c (insn_unit): Likewise.
13192 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
13194 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
13196 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13198 * flow.c (create_edge_list): Use xmalloc, not malloc.
13200 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
13202 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
13203 C-style comments. Do not lose the character before double slash.
13205 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13207 * basic-block.h (struct edge_list): Stucture to maintain a vector
13209 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
13210 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
13211 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
13212 New function prototypes.
13213 * flow.c (create_edge_list): Function to create an edge list.
13214 (free_edge_list): Discards memory used by an edge list.
13215 (print_edge_list): Debug output showing an edge list.
13216 (verify_edge_list): Internal consistency check for an edge list.
13217 (find_edge_index): Function to find an edge index for a pred and succ.
13219 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
13221 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
13224 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
13226 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
13228 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13230 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13232 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
13234 * toplev.c (rest_of_compilation): Allow machine dependent
13235 reorganisation pass to place information into the RTL dump
13236 file if it so wishes.
13238 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
13240 * explow.c (hard_function_value): Use VOIDmode instead of
13242 * stmt.c (expand_return): Likewise.
13243 * stor-layout.c (get_best_mode): Likewise.
13245 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
13246 emit call instead of emit_insn call.
13248 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
13250 * configure.in: Handle --disable/enable-win32-registry.
13251 * install.texi: Document --disable/enable-win32-registry.
13252 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
13253 (WIN32_REGISTRY_KEY): New macro.
13254 * prefix.c: Use to enable/disable win32-specific code.
13255 (lookup_key): Use versioned key.
13256 * configure: Regenerate.
13257 * config.in: Likewise.
13259 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
13261 * cpplib.c (read_line_number): New fn, split out of...
13264 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
13266 tree.c (lang_unsave_expr_now) : New.
13267 (unsave_expr_now): Call lang_unsave_expr_now.
13268 tree.h (lang_unsave_expr_now) : New.
13270 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
13272 * toplev.c (flag_new_exceptions): On by default.
13274 1999-08-13 Michael Meissner <meissner@cygnus.com>
13276 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
13278 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
13280 * dwarfout.c (fundamental_type_code): Return FT_boolean for
13281 INTEGER_TYPE with precision==1, it's __java_boolean.
13283 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13285 * global.c (prune_preferences): Move some invariants out of the
13288 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
13290 * configure.in (alpha*-dec-osf*): Add osf5.
13292 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
13294 * configure.in: Rework handling of ARM GNU/Linux slightly.
13295 (arm*-*-linux-gnuoldld): New target.
13296 * configure: Regenerate.
13297 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
13298 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
13299 * config/arm/linux-oldld.h: New file.
13300 * config/arm/linux-elf26.h: Don't include linux-elf.h.
13301 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
13303 * config/arm/linux-elf.h (ASM_SPEC): Define.
13304 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
13305 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
13306 for 26-bit APCS and old linker.
13307 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
13309 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
13310 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
13311 don't define `arm' or `arm_elf'.
13312 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
13313 MULTILIB_DIRNAMES): Define. Fix typo in comment.
13315 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
13317 * rtl.texi: Fix typo.
13319 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
13321 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
13323 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
13325 * extend.texi (C++ Signatures): Remove node.
13326 * invoke.texi: Remove discussion of -fhandle-signatures,
13327 signature, sigof, __signature__, and __sigof__.
13329 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
13331 * Makefile.in (JAVAGC): Removed.
13333 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
13335 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13337 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
13339 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13341 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
13343 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
13344 a register that is already known to be a pointer.
13346 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
13348 * fixinc/inclhack.tpl: Only install assert.h conditionally.
13349 * fixinc/inclhack.sh: Regenerated.
13350 * fixinc/fixincl.sh: Regenerated.
13352 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
13354 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
13355 Fix documentation of -ansi flag to describe its C++ behavior.
13356 Remove bogus reference to GCC 2.9.
13358 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
13360 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
13361 note if it is non-NULL.
13363 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13365 * except.h (eh_nesting_info): Add new structure defintion.
13366 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
13367 (reachable_handlers, update_rethrow_references): Add function
13369 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
13370 a rethrow symbol instead of an integer exception region number.
13371 * flow.c (Make_edges): Use new exception nesting routines to determine
13372 which handlers are reachable from a CALL or asynchronous insn.
13373 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
13375 (delete_eh_regions): Update rethrow labels, and don't delete
13376 regions which are the target of a rethrow.
13377 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
13378 avoid overloading the SYMBOL_REF_USED flag.
13379 (rethrow_symbol_map): Use new rethrow_ref field.
13380 (rethrow_used): Use new rethrow_ref field.
13381 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
13382 of an integer. Fix formatting.
13383 (output_exception_table_entry): Use new rethrow_ref field.
13384 (can_throw): Check for EH_REGION_NOTE before deciding
13385 whether a CALL can throw or not.
13386 (scan_region): Call rethrow_used() instead of accessing data structure.
13387 (update_rethrow_references): New function to make sure only regions
13388 which are still targets of a rethrow are flagged as such.
13389 (process_nestinfo): New static function to initialize a handler
13390 list for a specific region.
13391 (init_eh_nesting_info): New function to allocate and initialize
13392 the list of all EH handlers reachable from all regions.
13393 (reachable_handlers): New function to retrieve the list of handlers
13394 reachable from a specific region and insn.
13395 (free_eh_nesting_info): New function to dispose of a list of
13396 reachable handlers.
13398 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13400 * flow.c (split_edge): Set JUMP_LABEL field.
13401 (commit_one_edge_insertion): Set head correctly for insert_before.
13402 When inserting insns, update insn block numbers if allocated.
13404 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13406 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
13407 retry_incomplete_types): Add static prototype.
13408 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
13409 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
13410 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
13411 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
13412 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
13415 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
13416 dwarf2out_start_source_file, dwarf2out_line): Likewise.
13418 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13420 * output.h (assemble_name): Constify a char*.
13422 * varasm.c (UNIQUE_SECTION, assemble_start_function,
13423 assemble_variable, assemble_name): Likewise.
13425 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
13427 * arm/pe.c (arm_pe_unique_section): Likewise.
13429 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
13431 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
13433 * i386/interix.c (i386_pe_unique_section): Likewise.
13435 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
13437 * i386/winnt.c (i386_pe_unique_section): Likewise.
13439 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
13441 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
13443 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
13445 * pa/pa.c (output_call): Likewise.
13447 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
13449 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
13451 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
13454 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
13457 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
13459 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
13460 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
13462 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
13464 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13466 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
13468 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13470 * tree.h (lang_identify): Constify a char*.
13471 (print_error_function): Add extern prototype. Constify a char*.
13473 * c-lang.c (lang_identify): Constify a char*.
13475 * objc/objc-act.c (lang_identify): Constify a char*.
13477 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13479 * genpeep.c (main): Make generated file include "function.h".
13480 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
13482 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13484 * Makefile.in: Update dependencies.
13485 * alias.c: Include "function.h"
13486 * c-decl.c: Likewise.
13487 * caller-save.c: Likewise.
13488 * calls.c: Likewise.
13489 * combine.c: Likewise.
13491 * explow.c: Likewise.
13492 * final.c: Likewise.
13493 * global.c: Likewise.
13494 * graph.c: Likewise.
13495 * local-alloc.c: Likewise.
13496 * loop.c: Likewise.
13497 * optabs.c: Likewise.
13498 * profile.c: Likewise.
13499 * recog.c: Likewise.
13500 * regclass.c: Likewise.
13501 * regmove.c: Likewise.
13502 * reload.c: Likewise.
13503 * reorg.c: Likewise.
13504 * resource.c: Likewise.
13505 * sched.c: Likewise.
13506 * stupid.c: Likewise.
13507 * config/1750a/1750a.c: Likewise.
13508 * config/a29k/a29k.c: Likewise.
13509 * config/arc/arc.c: Likewise.
13510 * config/arm/arm.c: Likewise.
13511 * config/arm/thumb.c: Likewise.
13512 * config/c4x/c4x.c: Likewise.
13513 * config/clipper/clipper.c: Likewise.
13514 * config/convex/convex.c: Likewise.
13515 * config/fx80/fx80.c: Likewise.
13516 * config/i860/i860.c: Likewise.
13517 * config/m68k/m68k.c: Likewise.
13518 * config/m88k/m88k.c: Likewise.
13519 * config/mips/mips.c: Likewise.
13520 * config/pdp11/pdp11.c: Likewise.
13521 * config/pyr/pyr.c: Likewise.
13522 * config/romp/romp.c: Likewise.
13523 * config/sh/sh.c: Likewise.
13524 * config/tahoe/tahoe.c: Likewise.
13525 * config/vax/vax.c: Likewise.
13526 * config/we32k/we32k.c: Likewise.
13527 * config/sparc/sparc.c: Include "function.h".
13528 (mem_min_alignment): Test current_function rather than
13529 regno_pointer_align.
13530 * config/pa/pa.c: Likewise.
13531 (compute_frame_size): Delete declaration of
13532 current_function_outgoing_args_size.
13533 * config/arc/arc.h (current_function_varargs): Delete declaration.
13534 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
13536 * config/i370/i370.h (current_function_outgoing_args_size): Delete
13538 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
13539 current_function_uses_pic_offset_table.
13540 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
13541 of current_function_returns_pointer.
13542 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13543 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13544 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13545 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13546 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13547 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13548 * config/m88k/m88k.c: Include "function.h"
13549 (call_used_regs, current_function_pretend_args_size,
13550 current_function_outgoing_args_size, frame_pointer_needed): Delete
13552 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
13554 * config/mips/mips.h (current_function_calls_alloca): Delete
13556 * config/mn10200/mn10200.h (current_function_needs_context,
13557 rtx_equal_function_value_matters): Delete declarations.
13558 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
13559 flag_pic): Delete declarations.
13560 * config/pa/pa.h (current_function_pretend_args_size,
13561 current_function_decl): Delete declarations.
13562 * config/pa/som.h (current_function_varargs): Delete declaration.
13563 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
13565 * config/pyr/pyr.h (current_function_pretend_args_size,
13566 current_function_args_size, current_function_calls_alloca): Delete
13568 * config/sh/sh.h (current_function_varargs): Delete declaration.
13569 * config/sparc/sparc.h (current_function_outgoing_args_size,
13570 current_function_calls_alloca, current_function_decl): Delete
13572 * config/spur/spur.h (current_function_pretend_args_size,
13573 current_function_calls_alloca): Delete declarations.
13574 * config/v850/v850.c (current_function_outgoing_args_size): Delete
13576 * config/vax/vms.h (current_function_name): Delete declaration.
13577 * gcse.c: Include "function.h".
13578 (current_function_name, current_function_calls_setjmp): Delete
13580 * haifa-sched.c: Include "function.h".
13581 (forced_labels): Delete declaration.
13582 * jump.c: Likewise.
13583 * reg-stack.c: Likewise.
13584 * reload1.c: Likewise.
13585 * genemit.c (main): Make generated file include function.h.
13586 * genoutput.c (output_prologue): Likewise.
13588 * builtins.c (saveregs_value, apply_args_value): Delete variables.
13589 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
13590 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
13591 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
13592 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
13593 macros for some of them.
13594 (emit_filename, emit_lineno): Delete declarations.
13595 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
13596 regno_pointer_* variables through current_function.
13597 (gen_inline_header_rtx): Delete function.
13598 (save_emit_status): Delete function.
13599 (set_new_last_label_num): New function.
13600 (clear_emit_caches): New function.
13601 (restore_emit_status): Just clear last_labelnum and call
13603 (get_last_insn_anywhere): Variable sequence_stack is now accessed
13604 through macro seq_stack.
13605 (add_insn_after): Likewise.
13606 (add_insn_before): Likewise.
13607 (remove_insn): Likewise.
13608 (pop_topmost_sequence): Likewise.
13609 (in_sequence_p): Likewise.
13610 (start_sequence_for_rtl_expr): Likewise.
13611 (start_sequence): Likewise, and likewise for
13612 sequence_rtl_expr/seq_rtl_expr.
13613 (push_topmost_sequence): Likewise.
13614 (end_sequence): Likewise.
13615 (init_virtual_regs): Now takes a "struct emit_status *" argument.
13616 All callers changed. Store into that pointer instead of globals.
13617 (init_emit): Allocate emit elt of current_function.
13618 Changes for sequence_rtl_expr/sequence_stack renaming.
13619 Call clear_emit_caches instead of doing it in-line.
13620 Access regno_pointer_* variables through current_function.
13621 (init_emit_once) Don't clear sequence_stack.
13623 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
13625 (arg_pointer_save_area): Delete declaration.
13626 (finish_expr_for_function): Renamed from init_queue; no longer static.
13627 (init_expr): Don't call init_queue.
13628 (save_expr_status, restore_expr_status): Delete functions.
13629 (expand_expr): Changes to reflect new layout of struct function.
13630 Don't access current_function_check_memory_usage when current_function
13632 * expr.h (forced_labels, save_expr_regs, saveregs_value,
13633 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
13634 current_function_outgoing_args_size, current_function_arg_offset_rtx,
13635 current_function_uses_const_pool, function_call_count,
13636 current_function_uses_pic_offset_table, nonlocal_labels,
13637 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
13638 current_function_check_memory_usage, nonlocal_goto_handler_slots,
13639 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
13641 (finish_expr_for_function): Declare.
13642 * flags.h (current_function_has_nonlocal_label,
13643 current_function_has_nonlocal_goto, current_function_is_thunk,
13644 current_function_has_computed_jump): Delete declarations.
13645 * flow.c (forced_labels): Delete declaration.
13646 * function.c (current_function_pops_args,
13647 current_function_returns_struct, current_function_returns_pcc_struct,
13648 current_function_needs_context, current_function_calls_setjmp,
13649 current_function_calls_longjmp, current_function_has_nonlocal_label,
13650 current_function_has_nonlocal_goto, current_function_is_thunk,
13651 current_function_has_computed_jump, current_function_calls_alloca,
13652 current_function_contains_functions, current_function_returns_pointer,
13653 current_function_epilogue_delay_list, current_function_args_size,
13654 current_function_pretend_args_size, current_function_arg_offset_rtx,
13655 current_function_outgoing_args_size, current_function_varargs,
13656 current_function_stdarg, current_function_args_info, cleanup_label,
13657 current_function_name, current_function_uses_const_pool,
13658 current_function_instrument_entry_exit, current_function_return_rtx,
13659 current_function_uses_pic_offset_table, nonlocal_labels,
13660 current_function_internal_arg_pointer, current_function_cannot_inline,
13661 current_function_check_memory_usage, function_call_count,
13662 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
13663 nonlocal_goto_stack_level, return_label, save_expr_regs,
13664 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
13665 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
13666 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
13667 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
13668 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
13670 (push_function_context_to): Don't save them. Don't call
13671 save_storage_status, save_emit_status or save_expr_status.
13672 (pop_function_context_from): Don't restore them. Don't call
13673 restore_storage_status or restore_expr_status.
13674 (get_func_frame_size): New function.
13675 (get_frame_size): Use it.
13676 (assign_outer_stack_local): Reflect some member name changes in struct
13678 (put_reg_into_stack): Likewise.
13679 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
13681 (fixup_var_refs): Likewise.
13682 (fix_lexical_addr): Likewise.
13683 (trampoline_address): Likewise.
13684 (prepare_function_start): Clear field inlinable of current_function.
13685 (init_function_for_compilation): New function.
13686 (expand_dummy_function_end): New function.
13687 (expand_function_end): Call finish_expr_for_function.
13688 * function.h (struct emit_status): New; fields moved here from struct
13689 function and from global variables. Add accessor macros for some of
13691 (struct expr_status): Likewise.
13692 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
13693 (struct function): Add fields expr and emit, inlinable, inl_emit,
13694 original_arg_vector, original_decl_initial, inl_last_parm_insn,
13695 inl_max_label_num. Add many comments.
13696 Add accessor macros for all elts of struct function that no longer
13697 have a global variable.
13698 (cleanup_label, return_label, frame_offset, tail_recursion_label,
13699 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
13700 stack_slot_list): Delete declarations.
13701 (get_func_frame_size): Declare.
13702 (save_expr_status, restore_expr_status, save_emit_status,
13703 save_storage_status, restore_storage_status): Delete declarations.
13704 (init_virtual_regs): Declare.
13705 * output.h (current_function_pops_args,
13706 current_function_returns_struct, current_function_returns_pcc_struct,
13707 current_function_needs_context, current_function_calls_setjmp,
13708 current_function_calls_longjmp, current_function_calls_alloca,
13709 current_function_has_nonlocal_label, current_function_varargs,
13710 current_function_has_computed_jump, current_function_returns_pointer,
13711 current_function_contains_functions, current_function_args_size,
13712 current_function_pretend_args_size, current_function_stdarg,
13713 current_function_outgoing_args_size, current_function_args_info,
13714 current_function_name, current_function_return_rtx,
13715 current_function_epilogue_delay_list,
13716 current_function_uses_const_pool, current_function_cannot_inline):
13717 Delete declarations.
13718 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
13719 regno_reg_rtx): Delete declaration.
13720 (REGNO_POINTER_FLAG): Delete macro.
13721 * stmt.c (expand_goto): Changes to reflect that some fields in struct
13722 function were renamed.
13723 * stor-layout.c (save_storage_status, restore_storage_status): Delete
13725 * toplev.c: Include "function.h".
13726 (current_function_decl): Delete declaration.
13727 (compile_file): Call init_dummy_function_start and
13728 expand_dummy_function_end around some initializations that need to
13730 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
13731 Call init_function_for_compilation.
13732 * unroll.c: Include "function.h"
13733 (unroll_loop): Access regno_pointer_* variables through
13736 * tree.h (struct tree_decl): Add elt f to saved_insns member.
13737 (DECL_SAVED_INSNS): use it.
13738 (expand_dummy_function_end): Declare.
13739 (init_function_for_compilation): Declare.
13740 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
13741 that it's no longer an INLINE_HEADER.
13742 (expand_call): Likewise.
13743 * integrate.c (finish_inline): Delete function.
13744 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
13745 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
13746 args. Don't generate an INLINE_HEADER rtx, just return the arg
13747 vector. All callers changed.
13748 (save_for_inline_copying): Create a duplicate struct emit_status to
13749 hold the emit state for compiling the current function. Use this and
13750 the other new fields in struct function that are for integration
13751 instead of an INLINE_HEADER.
13752 Use memcpy instead of bcopy.
13753 Store the current struct function in DECL_SAVED_INSNS of fndecl.
13754 (save_for_inline_nocopy): Similar changes, except no new emit_status
13756 (expand_inline_function): Get information from function structure,
13757 not from an inline header rtx.
13758 (output_inline_function): Lose code to extract the necessary
13759 information from an inline header; simply put back the function
13760 structure into current_function. Clear its inlinable elt.
13761 * rtl.def (INLINE_HEADER): Delete.
13762 * rtl.h: Delete all accessors for an INLINE_HEADER.
13763 (gen_inline_header_rtx): Delete declaration.
13764 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
13765 Delete declarations.
13766 (REGNO_POINTER_ALIGN): Delete.
13767 (clear_emit_caches): Declare.
13768 (set_new_last_label_num): Declare.
13770 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
13772 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
13774 * except.c (expand_eh_region_start_for_decl): Always start a new block.
13775 * stmt.c (is_eh_region): Make sure current_function is present, too.
13777 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
13779 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
13780 for 64bit PA targets.
13782 * pa.h (SELECT_SECTION): Define.
13783 * som.h (SELECT_SECTION): Delete.
13785 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13787 * alias.c (init_alias_analysis): Wrap call to
13788 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
13790 1999-08-07 Bruce Korb <autogen@linuxbox.com>
13792 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
13793 <sys/asm.h> contains an asm comment with an apostrophe
13794 * fixinc/inclhack.sh: regen
13795 * fixinc/fixincl.x: regen
13797 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
13799 * function.c (init_function_start): Clear prologue & epilogue.
13800 (prologue_epilogue_contains): New function.
13801 * alias.c (init_alias_analysis): Use it.
13802 * rtl.h (prologue_epilogue_contains): Declare it.
13804 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
13806 * jump.c (onlyjump_p): New function.
13807 * rtl.h: Declare it.
13808 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
13809 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
13811 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
13813 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
13814 to invert loops. Simplify block scanning.
13816 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13818 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
13819 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
13821 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
13823 * config/sparc/liteelf.h: New file to support sparclite-elf target
13824 * config/sparc/t-sp86x: New file to support sparc86x targets
13825 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
13826 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
13827 * configure.in: Support above target triplets
13828 * configure: Regenerated
13830 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
13832 * fixinc/server.c (server_setup): Do not prefix function used as
13833 parameter with `&'.
13835 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
13837 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
13838 Remove fp reg alternatives.
13840 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
13842 * Makefile.in (TAROUTOPTS): Kill.
13843 (install-headers-tar): Use "xpf" for tar headerfile extraction
13844 * i370/x-oe (TAROUTOPTS): Delete.
13845 * m68k/x-apollo68 (TAROUTOPTS): Delete.
13846 * m68k/x-hp320 (TAROUTOPTS): Delete.
13847 * m68k/x-hp320g (TAROUTOPTS): Delete.
13848 * gcc.texi: Update bug reporting text.
13850 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13852 * reg-stack.c (change_stack) Fixed problem with negative array index.
13854 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
13856 * extend.texi, install.texi: Fix spelling mistakes.
13858 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
13859 (s-attrtab); No longer try to use pre-made insn-attrtab file.
13860 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
13861 PREMADE_ATTRTAB_MD.
13862 * mips/t-ecoff: Likewise.
13863 * mips/t-elf: Likewise.
13864 * mips/t-mips: Likewise.
13865 * mips/t-osfrose: Likewise.
13866 * mips/t-r3900: Likewise.
13867 * mips/t-svr3: Likewise.
13868 * mips/t-svr4: Likewise.
13869 * mips/t-ultrix: Likewise.
13871 * gcc.texi: Document recommend means to provide software floating
13872 point libraries in libgcc.a
13874 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
13876 * c-lex.c (yylex): We can have a number with no digits.
13878 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
13880 * jump.c (delete_prior_computation): New function, broken
13881 out of delete_computation. Check for side effects with
13882 side_effects_p instead of FIND_REG_INC_NOTE. Handle
13883 multi-word hard registers.
13884 (delete_computation): Use it. Check for side effects with
13885 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
13886 missing REG_DEAD note for a register which is both set and
13889 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
13891 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
13892 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
13893 (ASM_FILE_START): Import _mcount with the right type.
13894 (ASM_DECLARE_FUNCTION_NAME): Define.
13895 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
13896 * pa.c (output_function_prologue): Always emit the function's label
13898 * pa.h (TEXT_SPACE_P): Define.
13899 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13900 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
13901 * som.h (TEXT_SPACE_P): Delete.
13902 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13903 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
13905 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
13907 * expr.c (emit_group_load): Allow src to be a CONCAT.
13909 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13911 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
13912 (___mulsi3): Use '!' comment character.
13914 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13916 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
13918 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
13920 * gcc.c: Update URLs and mail addresses.
13921 * gcc.texi: Likewise.
13923 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
13925 * rs6000.c (current_file_function_operand): Return zero for
13927 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
13929 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
13932 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
13934 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
13935 allocate space in the stack frame for the PIC register.
13937 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
13939 * m68k.md (xordi3, anddi3): These patterns are not available on
13942 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
13944 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
13945 (PUT_REAL): Likewise.
13947 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13949 * final.c (shorten_branches): Don't add an alignment for loops
13950 that have no label inside.
13952 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13954 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
13955 prototypes in macro HAVE_cmpstrsi.
13957 * cpplib.c (cpp_get_token): Remove unused label `op3'.
13959 * emit-rtl.c (operand_subword): Remove unused variable
13962 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
13964 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
13966 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
13968 * cpphash.c (macroexpand): Delete leading whitespace when arg
13969 is concatenated before.
13970 (unsafe_chars): Correct test for whether + and - can extend a
13973 * cppinit.c (cpp_start_read): Do dependencies for
13974 -include/-imacros files also.
13976 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
13977 tokenizing non-directive lines.
13978 (cpp_expand_to_buffer): Temporarily disable no-output mode.
13979 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
13982 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
13984 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
13986 * c-lex.c: Sync with C++ frontend.
13987 (linemode): New variable.
13988 (parse_float): imag, conversion_errno, and type are output only.
13989 (yylex): Adjust. Move initial '.' case into main switch.
13991 (handle_generic_pragma): Just deal with tokens.
13992 (readescape): Use ISXDIGIT and ISGRAPH.
13993 * c-parse.in: Add END_OF_LINE token.
13995 * c-lex.c (lang_init): Generalize.
13996 (nextchar): Remove. Replace uses with UNGETC.
13997 (skip_white_space): Handle linemode here. Optimize for cpplib.
13998 (skip_white_space_on_line): Remove.
13999 (extend_token_buffer_to): New fn.
14000 (extend_token_buffer): Use it.
14001 (read_line_number, check_newline): Just deal with tokens.
14002 (token_getch, token_put_back): New fns.
14003 (yylex): Use them. More cpplib optimizations. Simplify.
14005 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14006 Jason Merrill <jason@yorick.cygnus.com>
14008 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
14009 (consume_string): Make this smart about USE_CPPLIB.
14010 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
14011 (yylex): Rewrite to be intelligent about USE_CPPLIB.
14012 Also, clean up cases where we redundantly set token_buffer[0].
14013 (read_line_number): New fn.
14014 (ignore_escape_flag): New variable.
14016 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
14018 * a29k/t-a29kbare: Fix some comments.
14019 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
14020 (FPBIT, DPBIT): Define.
14021 * a29k/t-vx29k: Likewise.
14022 * arc/t-arc: Likewise.
14023 * arm/t-arm-elf: Likewise.
14024 * arm/t-bare: Likewise.
14025 * arm/t-pe: Likewise.
14026 * arm/t-pe-thumb: Likewise.
14027 * arm/t-semi: Likewise.
14028 * arm/t-thumb: Likewise.
14029 * arm/t-thumb-elf: Likewise.
14030 * arm/t-thumb-linux: Likewise.
14031 * h8300/t-h8300: Likewise.
14032 * i960/t-i960: Likewise.
14033 * i960/t-vxworks960: Likewise.
14034 * m32r/t-m32r: Likewise.
14035 * mips/t-ecoff: Likewise.
14036 * mips/t-elf: Likewise.
14037 * mips/t-r3900: Likewise.
14038 * pa/t-pro: Likewise.
14039 * rs6000/t-aix43: Likewise.
14040 * rs6000/t-beos: Likewise.
14041 * rs6000/t-newas: Likewise.
14042 * rs6000/t-ppccomm: Likewise.
14043 * rs6000/t-rs6000: Likewise.
14044 * rs6000/t-winnt: Likewise.
14045 * rs6000/t-xnewas: Likewise.
14046 * rs6000/t-xrs6000: Likewise.
14047 * sh/t-sh: Likewise.
14048 * sparc/t-elf: Likewise.
14049 * sparc/t-sparcbare: Likewise.
14050 * sparc/t-sparclite: Likewise.
14051 * sparc/t-splet: Likewise.
14052 * v850/t-v850: Likewise.
14053 * mn10200/t-mn10200: Fix comments.
14054 * mn10300/t-mn10300: Likewise.
14056 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
14057 dummy operand. Allocate a new pseudo for the dummy operand.
14058 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
14060 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
14062 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
14064 * configure: Rebuilt.
14065 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
14067 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
14069 * recog.c (preproces_constraints): Zero recog_op_alt before
14070 processing the constraints.
14072 * arm.c (typedef minipool_node): Renamed from pool_node.
14073 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
14074 (add_minipool_constant): New function.
14075 (dump_minipool): New function.
14076 (find_barrier): Remove special case for getting the insn size of
14077 an insn that references the constant pool.
14078 (minipool_fixup): New structure.
14079 (push_minipool_barrier): New function.
14080 (push_minipool_fix): New function.
14081 (note_invalid_constants): New function.
14082 (add_pool_constant, dump_table, fixit, broken_move): Delete.
14083 (arm_reorg): Rewrite code to fix up the constant pool into a
14084 series of mini-pools embedded in the insn stream.
14085 (arm_output_epilogue): New function, made mainly from the body
14086 of output_func_epilogue.
14087 (output_func_epilogue): Move insn generation part of epilogue code
14088 to arm_output_epilogue.
14089 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
14090 * arm.md (pool_range): New attribute.
14091 (zero_extendqidi2): Add attribute pool_range.
14092 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
14093 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
14094 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
14095 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
14096 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
14097 (epilogue): New expand.
14098 (epilogue_insn): New insn. Call arm_output_epilogue.
14100 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
14101 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
14103 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14105 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14107 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
14109 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
14111 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
14113 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
14115 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
14117 * global.c: Fix comment.
14119 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
14121 * gcc.c (access_check): New static function.
14122 (find_a_file): Use it when searching a directory list.
14123 * collect2.c (find_a_file): Don't accept directories found when
14124 searching a directory list.
14126 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
14128 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
14129 function parameters with `&'.
14130 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
14132 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
14134 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
14135 or tidy_fallthru_edge if the last insn in the block is not
14136 an unconditional jump or a simple conditional jump.
14138 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14140 * Makefile.in (c-decl.o): Depends on defaults.h.
14142 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
14144 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
14146 (CLASS_MAX_NREGS): Likewise.
14148 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
14150 * cse.c (cse_insn): Fix dumb thinko in last change.
14152 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14154 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
14157 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
14159 * dwarf2out.c (add_location_or_const_value_attribute): Correct
14160 test for sizes of passed and declared parameter types.
14162 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14164 * fixincludes: Fix the return type of bsearch, char* -> void*.
14166 * fixinc/inclhack.def: Likewise.
14168 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
14170 * invoke.texi (-fdump-translation-unit): New option.
14172 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
14174 * expr.h (PROMOTE_PROTOTYPES): Move ...
14175 * defaults.h: ... to here.
14176 * c-decl.c: Include defaults.h instead of expr.h.
14177 * c-typeck.c: Include defaults.h.
14179 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
14181 * toplev.h (errorcount): Declare.
14182 (warningcount): Likewise.
14183 (sorrycount): Likewise.
14184 * c-lex.c (errorcount): Don't declare.
14185 * dwarf2out.c (errorcount): Don't declare.
14187 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
14189 * config/libgloss.h: Add a note discouraging use with ELF.
14190 * configure.in: Don't use libgloss.h for ELF targets.
14191 Always use_collect2 on a.out targets.
14193 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
14195 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
14196 (force_to_mode, case ASHIFTRT): Add shiftrt label.
14198 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14200 * loop.c (strength_reduce): When doing biv->giv conversion, update
14201 reg note of NEXT->insn.
14203 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14205 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
14207 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14209 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
14210 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
14211 Ensure expr.h is included.
14212 * c-typecheck.c (convert_arguments): Ditto.
14214 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
14216 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
14217 * config/convex/convex.h: Ditto.
14218 * config/dsp16xx/dsp16xx.h: Ditto.
14219 * config/fx80/fx80.h: Ditto.
14220 * config/gmicro/gmicro.h: Ditto.
14221 * config/i370/i370.h: Ditto.
14222 * config/i386/i386.h: Ditto.
14223 * config/m32r/m32r.h: Ditto.
14224 * config/m68k/m68k.h: Ditto.
14225 * config/m88k/m88k.h: Ditto.
14226 * config/mips/mips.h: Ditto.
14227 * config/pa/pa.h: Ditto.
14228 * config/pyr/pyr.h: Ditto.
14229 * config/tahoe/tahoe.h: Ditto.
14230 * config/we32k/we32k.h: Ditto.
14232 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
14233 based on arch size.
14235 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
14237 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
14240 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
14242 1999-08-02 Richard Henderson <rth@cygnus.com>
14244 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
14245 for the register spill block.
14246 (m32r_va_arg): New.
14247 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
14248 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
14250 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
14251 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
14252 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
14254 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14256 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
14257 MAX_WCHAR_TYPE defined in sparc.h.
14258 * config/sparc/linuxaout.h: Likewise.
14259 * config/sparc/linux64.h: Likewise.
14260 Also default to -mvis if CPU is UltraSPARC.
14262 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14264 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
14265 (RTX_OK_FOR_OLO10): Likewise.
14266 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
14267 %lo(), allow it in addresses...
14268 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
14269 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
14270 does not make sense.
14271 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
14272 (sparc_output_scratch_registers): New function.
14273 (output_function_prologue, sparc_flat_output_function_prologue): Use
14275 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
14277 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
14278 * configure.in: Add check for .register pseudo-op support in as and
14279 check for offsetable %lo().
14280 * acconfig.h: Add templates for the above checks.
14281 * configure: Regenerate.
14283 1999-08-02 Richard Henderson <rth@cygnus.com>
14285 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
14286 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
14287 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
14289 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14291 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
14294 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14296 * config/float-sparc.h: New file.
14297 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
14298 sparc-*-linux-gnu and sparc64-*-linux*.
14300 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14302 * rs6000.c (rs6000_va_list): Type is an array.
14303 (rs6000_va_start): Don't doubly adjust for varargs.
14304 (rs6000_va_arg): Evaluate long long GPR adjustment.
14306 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
14308 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
14309 -maix64 and -maix32.
14310 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
14311 LINK_SPEC): Change appropriately.
14312 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
14313 (u_short_cint_operand): Likewise.
14314 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
14316 * rs6000/t-aix43 (MULTILIB): Change to -m64.
14318 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
14320 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
14322 * rs6000/rs6000.c (num_insns_constant_wide): Correct
14323 for type promotion.
14324 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
14325 (non_add_cint_operand): Likewise.
14326 (logical_operand): Likewise.
14327 (non_logical_cint_operand): Likewise.
14328 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
14329 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
14330 (rs6000_select_rtx_section): Suppress warning.
14331 (small_data_operand): Suppress warning.
14332 (rs6000_got_register): Suppress warning.
14333 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
14334 type, so `J' is generally the wrong constraint for a SImode value;
14336 (andsi3_internal2): Likewise.
14337 (andsi3_internal3): Likewise.
14338 (iorsi3_internal1): Likewise.
14339 (xorsi3_internal1): Likewise.
14341 (movsf_softfloat): Likewise.
14342 (scc insns): Likewise.
14343 (movsi+2): Preserve sign bits of SImode constant.
14344 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
14345 (movdf+1): Sign-extend properly.
14346 (movdi_32+1): Sign-extend properly.
14347 (scc insns): Sign-extend properly.
14349 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
14352 1999-08-02 Richard Henderson <rth@cygnus.com>
14354 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
14355 -mcpu parsing code.
14356 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
14357 * alpha.md (all fp insns): Likewise.
14359 1999-08-02 Nick Clifton <nickc@cygnus.com>
14361 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
14364 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
14366 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
14367 pic_load_label generator directly.
14368 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
14369 No longer a named pattern.
14371 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
14373 * explow.c (force_reg): Call force_operand if X does not
14374 satisfy general_operand.
14376 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
14378 * fix-header.c (main): When testing for CONTINUED, use string
14379 equality, not pointer equality.
14381 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
14383 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
14385 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
14387 * cse.c (cse_insn): Fix loop which deletes insns after a jump
14388 that has become an unconditional jump.
14390 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
14391 (output_function_epilogue): Similarly.
14393 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14395 * tree.h (init_dummy_function_start): Declare.
14397 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14399 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
14400 last_expr_type, last_expr_value, block_start_count, block_stack,
14401 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
14402 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
14403 dynamically in stmt elt of struct function for each function.
14404 (struct nesting): Rename function_call_count elt to n_function_calls,
14405 target_temp_slot_level to block_target_temp_slot_level. All users
14407 (struct stmt_status): New structure definition.
14408 Add many accessor macros for stmt_status elements which previously
14409 were global variables.
14410 (init_stmt_for_function): Allocate stmt elt for current_function.
14411 Reflect that block_start_count was renamed to
14412 current_block_start_count.
14413 (save_stmt_status, restore_stmt_status): Delete functions.
14414 (preserve_subexpressions_p): Don't access loop_stack when outside
14416 (expand_start_bindings): Reflect that block_start_count was renamed to
14417 current_block_start_count.
14418 (expand_fixup): Likewise.
14419 (expand_decl): Don't access block_stack when outside a function.
14420 (expand_decl_cleanup): Likewise.
14421 (expand_dcc_cleanup): Likewise.
14422 (expand_dhc_cleanup): Likewise.
14423 (expand_anon_union_decl): Likewise.
14424 (set_file_and_line_for_stmt): New function.
14425 (in_control_zone_p): New function.
14427 * function.h (struct function): Add new elt stmt.
14428 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
14429 case_stack, nesting_stack, nesting_depth, block_start_count,
14430 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
14431 emit_lineno, goto_fixup_chain.
14432 (save_eh_status, restore_eh_status, save_stmt_status,
14433 restore_stmt_status): Delete declarations.
14434 * function.c (push_function_context_to): Don't call save_stmt_status.
14435 (pop_function_context_to): Don't call restore_stmt_status.
14436 * tree.h (in_control_zone_p): Declare.
14437 * rtl.h (set_file_and_line_for_stmt): Declare.
14439 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
14440 call set_file_and_line_for_stmt.
14442 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
14444 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
14445 Also update copyright.
14447 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14449 * c-pragma.c: Don't include "except.h".
14450 * emit-rtl.c: Likewise.
14451 * stor-layout.c: Likewise.
14452 * tree.c: Likewise.
14453 * varasm.c: Likewise.
14455 * flow.c: Include "function.h".
14456 * tree.h (init_dummy_function_start): Declare new function.
14458 * except.h (struct eh_status): New structure.
14459 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
14461 (eh_return_stub_label, ehstack, catchstack, ehqueue,
14462 catch_clauses, false_label_stack, caught_return_label_stack,
14463 protect_list, current_function_ehc): Add accessor macros for the
14464 corresponding fields in current_function->eh; delete declarations
14465 for all items that used to be declared here.
14466 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
14467 catch_clauses, false_label_stack, caught_return_label_stack,
14468 protect_list, current_function_ehc): Delete variables.
14469 (init_eh_for_function): Allocate current_function->eh.
14470 (save_eh_status, restore_eh_status): Delete functions.
14472 * function.h (struct function): Add fields next_global and eh.
14473 Delete all exception handling related fields.
14474 * function.c (current_function): New variable.
14475 (all_functions): New variable.
14476 (push_function_context_to): Don't allocate a struct function,
14477 use current_function instead. Call init_dummy_function_start when
14478 outside a function. Clear current_function before returning.
14479 (pop_function_context_from): Restore current_function.
14480 Don't free the restored struct function.
14481 (prepare_function_start): New function.
14482 (init_dummy_function_start): New function.
14483 (init_function_start): Break out some code into prepare_function_start
14486 * stmt.c (save_stmt_status): Don't call save_eh_status.
14487 (restore_stmt_status): Don't call restore_eh_status.
14489 * Makefile.in: Update dependencies.
14491 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
14493 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
14494 of depending on a magic constant value. Update comments.
14495 (hppa_expand_prologue): Similarly.
14497 * pa.md (reload_indi, reload_outdi): Allow any register for the
14498 original reload register.
14500 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
14502 * cccp.c (print_help): Change marcos to macros.
14504 1999-07-30 Richard Henderson <rth@cygnus.com>
14506 * c-typeck.c (initializer_constant_valid_p): Move ...
14507 * c-common.c (initializer_constant_valid_p): ... here. Use
14508 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
14509 of label addresses.
14510 * c-common.h (initializer_constant_valid_p): Declare.
14511 * c-tree.h (initializer_constant_valid_p): Remove.
14513 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
14515 * config/i386/sol2-c1.asm: Align the stack.
14516 * config/i386/sol2-gc1.asm: Likewise.
14518 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
14520 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
14521 -Asparclite for sparc86x.
14522 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
14524 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
14526 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
14528 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
14529 the user if using the non-default arch size in BI_ARCH configuration.
14530 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
14532 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
14533 Fix patterns so that they actually match.
14534 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
14535 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
14536 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
14538 (mulsidi3): Reflect this in the expand.
14539 (smulsi3_highpart): Only on TARGET_ARCH32.
14540 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
14541 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
14542 (umulsidi3): Reflect this in the expand.
14543 (umulsi3_highpart): Only on TARGET_ARCH32.
14544 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
14545 don't require g0 to be zero.
14546 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
14547 ({,u}divsi3): New expands.
14548 ({,u}divsi3_sp64): New patterns.
14549 (after lshrdi3_v8plus): Four new patterns to help combiner
14550 optimizing nested mixed mode shifts.
14552 * config/sparc/sparc.c (sparc_override_options): Use deprecated
14553 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
14554 speed things up. Don't use them by default on plain v9 in 64bit
14555 mode, according to what SPAMv9 sais.
14557 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
14558 top 32 bits of %[og][0-7] in signal handlers.
14559 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
14561 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
14563 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
14564 (ashlsi3): Corresponding changes.
14566 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
14568 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
14570 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
14572 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14574 * arm.h (Hint): Delete macro.
14575 Substitute HOST_WIDE_INT for Hint in some prototypes.
14576 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
14578 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
14580 * builtins.c (expand_builtin_setjmp): Use force_operand to
14581 make sure that the buffer address is in a suitable form to be
14582 passed to force_reg.
14584 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
14586 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
14589 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
14591 * pa.md (indirect_jump): Remove mode from match_operand. Verify
14592 proper mode in the condition string.
14593 (icacheflush, dcacheflush): Remove modes from match_operands.
14595 * pa.c (emit_move_sequence): Always convert scratch_reg to the
14596 proper mode before using it.
14598 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
14601 * pa.c (store_reg): Do not call add_high_const generator directly.
14602 (load_reg, set_reg_plus_d): Likewise.
14603 * pa.md (add_high_const): No longer a named pattern.
14605 * pa.c (legitimize_address): Consistently use Pmode rather than
14606 SImode. Do not call gen_pic2_highpart directly anymore.
14607 * pa.md (pic2_highpart): No longer a named pattern.
14608 (pic2_lo_sum): Similarly. Reformat to make more readable.
14610 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
14615 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14617 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
14619 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
14621 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
14622 and tag the spill mems.
14623 (hppa_va_start): New.
14624 (hppa_va_arg): New.
14625 * pa.h (EXPAND_BUILTIN_VA_START): New.
14626 (EXPAND_BUILTIN_VA_ARG): New.
14628 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
14630 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
14631 and tag the spill mems.
14632 (mn10300_va_start): New.
14633 (mn10300_va_arg): New.
14634 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
14635 (EXPAND_BUILTIN_VA_ARG): New.
14637 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
14639 * mn10200.c (mn10200_va_arg): New.
14640 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
14642 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
14644 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
14645 rather than play with TREE_INT_CST_LOW.
14647 1999-07-27 Philip Blundell <pb@nexus.co.uk>
14649 * config/arm/telf.h: Include dbxelf.h.
14650 (CPP_PREDEFINES): Only define if not already defined.
14651 (ASM_IDENTIFY_GCC): Likewise.
14652 (SUBTARGET_EXTRA_SECTIONS): Likewise.
14653 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
14654 * config/arm/thumb.h (LINK_SPEC): Only define if not already
14656 (DBX_DEBUGGING_INFO): Don't define.
14657 * config/arm/linux-telf.h: New file.
14658 * config/arm/linux-tgas.h: New file.
14659 * config/arm/t-thumb-linux: New file.
14660 * config/arm/uclinux-elf.h: New file.
14661 * config/arm/uclinux-telf.h: New file.
14662 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
14663 thumb-*-uclinux): New targets.
14664 * configure: Regenerate.
14666 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
14668 * pa.md (post_store, pre_load): New expanders.
14669 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
14670 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
14671 need to directly generate RTL for them.
14672 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
14675 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
14677 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
14678 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
14679 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
14680 (secndary_reload_class): Make TARGET_ELF conditional compile.
14681 (print_operand_address): Similar.
14682 (output_toc): Print all values as hex.
14683 (get_issue_rate): Rearrange and add RS64A and PPC630.
14684 * rs6000.h (processor_type): Add RS64A and PPC630.
14685 (PROCESSOR_POWERPC64): New.
14686 (PROMOTE_MODE): Use word_mode.
14687 (RTX_COSTS): Add RS64A and PPC630.
14688 * rs6000.md (scheduling information): Add lmul and ldiv
14689 representing 64-bit integer multiply and divide. Add rs64a and
14690 PPC630 information.
14691 (ashldi3): Add support for "rldic" instruction.
14692 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
14694 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
14696 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
14697 instead of V8 for sparclite86x in cpu_table.
14699 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14701 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
14702 output_file_directive.
14704 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
14706 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
14707 tree for op1, not the rtl.
14709 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
14711 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
14712 to m88k_va_start, leaving only the register spill.
14713 (m88k_build_va_list): New.
14714 (m88k_va_start): New.
14715 (m88k_va_arg): New.
14716 * m88k.h (BUILD_VA_LIST_TYPE): New.
14717 (EXPAND_BUILTIN_VA_START): New.
14718 (EXPAND_BUILTIN_VA_ARG): New.
14720 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
14722 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
14723 Rename from expand_builtin_saveregs.
14724 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
14726 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
14728 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
14729 for the register spill block.
14730 (i960_build_va_list): New.
14731 (i960_va_start): New.
14732 (i960_va_arg): New.
14733 * i960.h (BUILD_VA_LIST_TYPE): New.
14734 (EXPAND_BUILTIN_VA_START): New.
14735 (EXPAND_BUILTIN_VA_ARG): New.
14736 * i960.md (store_multiple): Use change_address on individul mems.
14738 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
14740 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
14742 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
14743 (expand_builtin_va_end): Evaluate arg for side effects.
14744 * c-common.c (c_common_nodes_and_builtins): Construct a
14745 va_list_arg_type_node to handle array decomposition to pointer.
14747 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
14749 * except.c (start_dynamic_cleanup): Use force_operand on the
14752 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
14754 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
14755 * c4x.c (c4x_va_arg): New.
14757 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
14759 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
14760 has manual_pop set.
14762 1999-07-26 Nathan Sidwell <nathan@acm.org>
14764 * eh-common.h (__eh_matcher): Prototype correctly.
14766 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
14768 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
14769 (TARGET_SINGLE_PIC_BASE): Likewise.
14770 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
14772 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
14773 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
14774 (TARGET_OPTIONS): Add -mpic-register=N.
14775 (OUTPUT_INT_ADDR_CONST): New macro.
14776 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
14777 LEGITIMATE_PIC_OPERAND_P): Likewise.
14778 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
14779 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
14780 output_addr_const directly.
14781 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
14783 (thumb_pic_register, thumb_pic_register_string): Declare.
14785 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
14787 (label_mentioned_p): New function: Imported from arm.c.
14788 (legitimize_pic_address): New function: Imported from arm.c.
14789 (is_pic):New function: Imported from arm.c.
14790 (thumb_finalize_pic):New function: Imported from arm.c.
14791 (add_constant): Cope with PIC constants.
14792 (fixit): Cope with PIC constants.
14793 (output_return): Do not treat the PIC register as live if
14794 TARGET_SINGLE_PIC_BASE is true.
14795 (thumb_function_prologue): Do not treat the PIC register as live if
14796 TARGET_SINGLE_PIC_BASE is true.
14797 (thumb_expand_prologue): Do not treat the PIC register as live if
14798 TARGET_SINGLE_PIC_BASE is true.
14799 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
14800 TARGET_SINGLE_PIC_BASE is true.
14801 (thumb_print_operand): Accept '|'.
14802 (thumb_override_options): Process PIC options.
14804 * config/arm/thumb.md (movsi): Support PIC.
14805 (call_insn): Change "i" constraint to "X".
14806 (call_value_insn): Likewise.
14807 (consttable_4, consttable_8, consttable_end): Set and clear
14808 "making_const_table" as appropriate.
14809 (pic_load_addr, pic_add_dot_plus_four): New insns.
14811 * invoke.texi (Thumb Options): Fix spelling. Document new
14812 options -msingle-pic-base and -mpic-register=.
14814 1999-07-26 Andrew Haley <aph@cygnus.com>
14816 * config/m32r/initfini.c (__init): Use a full word immediate for
14817 __fini: this allows it to be placed in any memory region.
14819 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
14820 -mmodel=medium. This is OK for all memory models.
14822 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
14824 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
14825 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
14827 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
14829 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
14832 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
14834 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
14836 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
14837 (BUILD_VA_LIST_TYPE): New.
14838 (EXPAND_BUILTIN_VA_START): New.
14839 (EXPAND_BUILTIN_VA_ARG): New.
14840 * i860.c (output_delayed_branch): Disable.
14841 (output_delay_insn): Likewise.
14842 (i860_saveregs): New.
14843 (i860_build_va_list): New.
14844 (i860_va_start): New.
14845 (i860_va_arg): New.
14846 * i860.md: Disable all peepholes using output_delayed_branch.
14847 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
14849 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
14851 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
14852 (BUILD_VA_LIST_TYPE): New.
14853 (EXPAND_BUILTIN_VA_START): New.
14854 (EXPAND_BUILTIN_VA_ARG): New.
14855 * clipper.c (clipper_builtin_saveregs): Only dump registers.
14856 Return the address of the save area.
14857 (clipper_build_va_list): New.
14858 (clipper_va_start): New.
14859 (clipper_va_arg): New.
14861 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
14863 * arc.h (EXPAND_BUILTIN_VA_START): New.
14864 (EXPAND_BUILTIN_VA_ARG): New.
14865 * arc.c (arc_setup_incoming_varargs): Set alias set of
14867 (arc_va_start): New.
14870 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
14872 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
14873 (BUILD_VA_LIST_TYPE): New.
14874 (EXPAND_BUILTIN_VA_START): New.
14875 (EXPAND_BUILTIN_VA_ARG): New.
14876 * alpha.c (alpha_builtin_saveregs): Delete.
14877 (alpha_build_va_list): New.
14878 (alpha_va_start): New.
14879 (alpha_va_arg): New.
14881 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
14883 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
14885 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
14886 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
14888 * gcc.texi: More changes related to list conversion.
14889 * invoke.texi: Likewise.
14891 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
14893 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
14894 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
14895 (expand_builtin_next_arg): Accept ARGLIST not EXP.
14896 (stabilize_va_list): New function.
14897 (std_expand_builtin_va_start): New function.
14898 (expand_builtin_va_start): New function.
14899 (get_varargs_alias_set): New function.
14900 (std_expand_builtin_va_arg): New function.
14901 (expand_builtin_va_arg): New function.
14902 (expand_builtin_va_end): New function.
14903 (expand_builtin_va_copy): New function.
14904 (expand_builtin): Call them.
14905 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
14906 __builtin_{varargs_start,stdarg_start,end,copy}.
14907 (build_va_arg): New function.
14908 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
14909 (build_va_arg): Declare.
14910 * c-decl.c (ptr_type_node, va_list_type_node): New.
14911 * c-parse.gperf (__builtin_va_arg): New.
14912 * c-parse.in (VA_ARG): New token.
14913 (unary_expr): Recognize it.
14914 * expr.c (expand_expr): Expand VA_ARG_EXPR.
14915 * expr.h (std_expand_builtin_va_start): Declare.
14916 (std_expand_builtin_va_arg): Declare.
14917 (expand_builtin_va_arg): Declare.
14918 (get_varargs_alias_set): Declare.
14919 * tree.def (VA_ARG_EXPR): New.
14920 * tree.h (BUILT_IN_VARARGS_START): New.
14921 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
14922 (ptr_type_node, va_list_type_node): Declare.
14923 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
14924 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
14925 * m88k.h, m88k.c: Likewise.
14926 * mn10300.h, mn10300.c: Likewise.
14927 * pa.h, pa.c: Likewise.
14928 * rs6000.h, rs6000.c: Likewise.
14929 * sh.h, sh.c: Likewise.
14930 * sparc.h, sparc.c: Likewise.
14932 * emit-rtl.c (operand_subword): Copy alias set.
14933 (change_address): Likewise.
14935 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
14937 * pa.c (compute_frame_size): Scan all the used callee saved registers,
14938 not just the first one.
14940 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
14942 * config/arm/arm.h (TARGET_SWITCHES): Add
14943 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
14944 (TARGET_OPTIONS): Add -mpic-register=.
14945 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
14946 (arm_pic_register_string): Declare.
14947 (NEED_PLT_GOT): Delete, replace with ...
14948 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
14949 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
14950 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
14951 * config/arm/arm.c (arm_override_options): Add new option
14953 (arm_pic_register_string): New variable.
14954 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
14955 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
14956 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
14957 (output_return_instruction): Likewise.
14958 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
14959 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
14960 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
14962 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
14963 mention of -msched-prolog. Document new options -msingle-pic-base
14964 and -mpic-register=.
14966 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
14968 * haifa-sched.c (reemit_notes): Tidy.
14969 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
14972 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
14974 * explow.c (trunc_int_for_mode): New function.
14975 (plus_constant_wide): Use it.
14976 * combine.c (simplify_and_const_int): Likewise.
14977 (merge_outer_ops): Likewise.
14978 (simplify_shift_const): Likewise.
14979 * cse.c (simplify_unary_operation): Likewise.
14980 (simplify_binary_operation): Likewise.
14981 * emit-rtl.c (operand_subword): Likewise.
14982 * rtl.h: Declare it.
14984 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14986 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
14987 (use NUM_REGS instead of NUM_INTS).
14989 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14991 * builtins.c: New file.
14992 * expr.c (saveregs_value, apply_args_value): Delete definition,
14993 moved into builtins.c.
14994 (string_constant): No longer static.
14995 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
14996 apply_args_size, apply_result_size, result_vector,
14997 expand_builtin_apply_args, expand_builtin_apply,
14998 expand_builtin_return): Delete functions, moved into builtins.c.
14999 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
15000 * expr.h (saveregs_value, apply_args_value): Declare variables.
15001 (expand_builtin, string_constant): Declare functions.
15002 * Makefile.in: Update to build builtin.o.
15004 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
15006 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
15007 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
15008 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
15009 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
15011 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
15014 1999-07-21 Michael Meissner <meissner@cygnus.com>
15016 * print-rtl.c (print_rtx): Print the names of the virtual
15019 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
15021 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
15022 introduced in previous delta.
15024 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15026 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
15027 to avoid name clash.
15029 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
15031 * c-lex.c (yylex) : Correct the test for overflow when lexing
15034 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
15036 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
15037 (adjust_priority): Always call ADJUST_PRIORITY.
15038 (schedule_insn): Only put insns into the ready at cost 0.
15039 (schedule_block): Remove redundant initial sort. Give clock_var
15040 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
15042 * tm.texi (MD_SCHED_REORDER): Update docs.
15044 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
15045 * sparc.c (ultra_reorder_called_this_block): Delete.
15046 (ultrasparc_sched_init): Don't set it.
15047 (ultrasparc_sched_reorder): Don't check it.
15049 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
15051 * rs6000.h (struct rs6000_args): Add sysv_gregno.
15052 * rs6000.c (init_cumulative_args): Init sysv_gregno.
15053 (function_arg_boundary): Align DFmode.
15054 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
15055 to get fp reg and stack overflow correct.
15056 (function_arg): Likewise.
15057 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
15058 (setup_incoming_varargs): Restructure for ABI_V4; use
15059 function_arg_advance to skip final named argument.
15060 (expand_builtin_saveregs): Properly unskip the last integer arg
15061 when doing varargs. Adjust overflow location calculation.
15063 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
15064 explicitly unsigned.
15065 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
15066 (__VA_GP_REGSAVE): Similarly.
15067 (__va_longlong_p): Delete.
15068 (__va_arg_type_violation): New declaration.
15069 (va_arg): Restructure. Flag promotion errors. Align double.
15070 TFmode passed by reference.
15072 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
15073 in the HOST_BITS_PER_WIDE_INT > 32 case.
15075 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
15077 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
15079 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
15081 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
15082 * toplev.c (documented_lang_options): Add -fpreprocessed.
15083 * cpplib.h (struct cpp_buffer): Add preprocessed.
15084 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
15085 (cpp_start_read): Don't expand macros or emit an initial #line
15086 directive if -fpreprocessed.
15088 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
15090 * cpplib.h (struct cpp_buffer): Added manual_pop for
15091 better C++ tokenization.
15092 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
15093 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
15094 * c-common.c (cpp_token): Make non-static.
15096 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15098 * c-common.h: New file.
15099 * c-common.c (permanent_obstack): Delete unused declaration.
15100 (c_global_trees): New array.
15101 (c_common_nodes_and_builtins): New function; split off common code
15102 from init_decl_processing in both c-decl.c and cp/decl.c.
15103 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
15104 c_global_trees and accessor macros defined in c-common.h.
15105 Include c-common.h.
15106 * c-decl.c: Delete definitions for tree nodes that were replaced by
15108 (init_decl_processing): Build void_list_node.
15109 Call c_common_nodes_and_builtins; delete code to generate the common
15111 * objc/objc-act.c (build_module_descriptor): Rename variable
15112 void_list_node to avoid clash with c-common.h.
15114 * Makefile.in: Update dependencies.
15115 * objc/Make-lang.in: Likewise.
15117 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
15119 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
15120 (UNIQUE_SECTION_P): Likewise.
15121 (UNIQUE_SECTION): Likewise.
15123 1999-07-19 Linas Vepstas <linas@linas.org>
15125 * config/i370/README: New file.
15126 * config/i370/linux.h: New file.
15127 * config/i370/mvs.h: New file.
15128 * config/i370/oe.h: New file.
15129 * config/i370/t-linux: New file.
15130 * config/i370/t-mvs: New file.
15131 * config/i370/t-oe: New file.
15132 * config/i370/x-oe: New file.
15133 * config/i370/xm-linux.h: New file.
15134 * config/i370/xm-mvs.h: New file.
15135 * config/i370/xm-oe.h: New file.
15137 * i370.c (label_node_t): Add first_ref_page, label_addr,
15138 label_first_ref, label_last_ref members.
15139 (mvs_need_base_reload): Renamed from mvs_label_emitted.
15140 (MAX_MVS_LABEL_SIZE): Define.
15141 (MAX_LONG_LABEL_SIZE): Define.
15142 (alias_node_t, alias_anchor, alias_number): New.
15143 (mvs_function_table): Reorder for EBCDIC.
15144 (ascebc, ebcasc): Unconditionally define.
15145 (i370_branch_dest, i370_branch_length): New functions.
15146 (i370_short_branch, i370_label_scan): New functions.
15147 (mvs_get_label): Renamed from mvs_add_label. Search for
15148 an existing label before creating a new one.
15149 (mvs_add_label): New function.
15150 (mvs_get_label_page): New function.
15151 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
15152 over the entire list.
15153 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
15154 (mvs_check_page) [TARGET_ELF_ABI]: New function.
15155 (mvs_add_alias, mvs_need_alias): New functions.
15156 (mvs_get_alias, mvs_check_alias): New functions.
15157 (handle_pragma): New function.
15158 (mvs_function_check): New function.
15159 (unsigned_jump_follows_p): Search harder.
15160 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
15161 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
15162 * i370.h (TARGET_VERSION): Delete.
15163 (CPP_SPEC, CPP_PREDEFINES): Delete.
15164 (mvs_label_emitted): Delete.
15165 (TARGET_EBCDIC): Delete.
15166 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
15167 (HANDLE_PRAGMA): Define.
15168 (HARD_REGNO_NREGS): Handle complex modes.
15169 (HARD_REGNO_MODE_OK): Likewise.
15170 (CLASS_MAX_NREGS): Likewise.
15171 (RET_REG): Likewise.
15172 (EXTRA_CONSTRAINT): Define.
15173 (RETURN_IN_MEMORY): True for DImode.
15174 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
15175 (FUNCTION_PROFILER): Delete.
15176 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
15177 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
15178 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
15179 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
15180 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
15181 (ASM_FILE_START): Add "RMODE ANY".
15182 (ASM_OUTPUT_EXTERNAL): Check for aliases.
15183 (ASM_GLOBALIZE_LABEL): Likewise.
15184 (ASM_OUTPUT_LABELREF): Likewise.
15185 (ASM_OUTPUT_COMMON): Likewise.
15186 (PRINT_OPERAND): Handle 'K', 'W', default.
15187 (PRINT_OPERAND_ADDRESS): New.
15188 (Lots of defines): Add support for TARGET_ELF_ABI.
15189 * i370.md (attr length): New. Define for all patterns.
15190 (*): Lots of tweeks to assembly output and constraints.
15192 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
15194 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
15195 Disable patterns performing SImode comparisons with SImode values
15196 if TARGET_POWERPC64 and instruction does not sign-extend or does
15197 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
15198 differ for signed quantities.
15199 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
15200 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
15201 (decrement_and_branch_on_count): Add 64-bit variant.
15203 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15205 * final.c (output_asm_insn): When searching for the matching string
15206 for a given dialect, don't run past the end of the list of
15207 alternatives if there are fewer alternatives in the template than
15210 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
15212 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
15213 Removed paragraph about compression of files and size limitation,
15214 duplicated in the FAQ. Use gcc-patches for posting patches.
15215 * gcc.c (main): Updated URL with bug reporting instructions to
15216 gcc.gnu.org. Removed e-mail address.
15217 * system.h (abort): Likewise.
15219 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15221 * Makefile.in (stmp-multilib-sub): Make the files extracted
15222 from $(LIBGCC1) writable.
15224 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
15226 * config/arm/aout.h: Reformat for improved readability.
15228 * config/arm/arm.h: Reformat for improved readability.
15229 Replace uses of fprintf with asm_fprintf where appropriate.
15230 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
15231 function declaration assembler actions.
15232 (NUM_INTS): New macro: Convert from bytes to words.
15233 (NUM_REGS): New macro: Compute number of registers required to
15234 hold a quanitity of tyep MODE.
15235 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
15237 (NUM_ARG_REGS): New macro: The number of argument registers
15239 (ARG_REGISTER): New macro: Compute the register number of the Nth
15241 (LAST_ARG_REGNUM): New macro: The number of the last argument
15243 (SP_REGNUM): New macro: Register number of the stack pointer.
15244 (FP_REGNUM): New macro: Register number of the frame pointer.
15245 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
15246 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
15247 CUMULATIVE_ARGS so that it counts registers not bytes.
15249 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
15251 Replace uses of fprintf with asm_fprintf where appropriate.
15252 (output_ascii_pseudo_op): Replace with version from thumb.c
15254 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
15256 * config/arm/elf.h (CPP_PREDEFINES): Replace with
15257 SUBTARGET_CPP_SPEC.
15258 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
15259 (ASM_FILE_START): Emit ASM_APP_OFF.
15261 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
15263 * pa.c (compute_frame_size): Round frame according to
15264 STACK_BOUNDARY rather than a hardwired value.
15266 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
15268 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
15270 * configure: Rebuilt.
15272 * configure.in (hppa*-*-linux*): New configuration.
15273 * configure: Rebuilt.
15274 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
15275 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
15276 * pa/pa-linux.h: New file.
15277 * pa/t-linux: New file.
15278 * pa/xm-linux.h: New file.
15280 * pa.c (hppa_legitimize_address): Change references from SImode to
15281 either Pmode or word_mode as appropriate.
15282 (emit_move_sequence, store_reg, load_reg): Likewise.
15283 (set_reg_plus_d, hppa_expand_prologue): Likewise.
15284 (output_mul_insn): Likewise.
15285 * pa.h (PROMOTE_MODE): Likewise.
15286 (INITIALZE_TRAMPOLINE): Likewise.
15287 (Pmode): Define to word_mode.
15289 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
15290 value of 4. Allocate 8 bytes for each FP register save.
15291 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
15293 (hppa_expand_prologue): Likewise.
15294 * pa.h (PROMOTE_MODE): Likewise.
15295 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
15296 (FUNCTION_ARG_BOUNDARY): Likewise.
15298 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
15300 * pa.c (out_of_line_prologue_epilogue): Delete.
15301 (override_options): Remove -mspace related code.
15302 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
15303 (compute_frame_size): Only allocate space for register that
15304 actually need to be saved.
15305 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
15306 (TARGET_SWITCHES): Remove -mspace, -mno-space
15307 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
15308 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
15309 * pa/ee.asm, pa/ee_fp.asm: Delete.
15311 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
15313 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
15314 directive in column zero.
15316 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
15318 * m68k.c (output_function_prologue): Fix computation of save mask
15319 when generating PIC code.
15321 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
15323 * tree.c (build_type_attribute_variant): Move current_obstack restore
15324 after build_qualified_type call.
15326 1999-07-15 Mark Mitchell <mark@codesourcery.com>
15328 * configure.in: Use t-iris6, even with GNU LD.
15329 * config/mips/iris6gld.h: Fix typo in linker spec.
15330 * config/mips/t-iris6gld: Remove.
15332 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
15334 * rs6000.md (insv, extzv): Remove SImode dependence in named
15335 patterns. Explicitly generate DImode RTL if PowerPC64 and
15337 (insvdi): Reverse start and size in instruction template.
15339 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
15341 * invoke.texi: Typo fixes.
15343 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
15345 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
15346 handle at this time instead of silently generating incorrect code.
15347 (gen_imagpart): Likewise.
15349 * reload.c (find_reloads): Emit a USE for a pseudo register without
15350 a hard register if we could not create an optional reload for the
15353 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15355 * c-typeck.c (output_init_element, process_init_element):
15356 When advancing constructor_unfilled_fields for a RECORD_TYPE,
15357 check for nameless bit fields.
15359 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
15361 * regclass.c (scan_one_insn): Notice subregs that change the
15362 size of their operand.
15363 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
15365 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
15367 * configure.in (alpha*-*-*): Include alpha/t-ieee.
15368 * configure: Rebuilt.
15369 * alpha/t-ieee: New file.
15371 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
15373 * rs6000.c (find_addr_reg): Do not select r0 as an address
15376 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
15378 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
15380 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
15382 * rs6000.md (movsf): Do not force easy FP constants into memory.
15384 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
15385 immed_double_const to ensure they are properly truncated then
15388 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
15390 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
15391 always unless NO_DEBUG is used. Compile this code
15393 (replace_symbols_in_block): Compile it unconditionally.
15395 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
15397 * configure.in (i?86-*-elf*): New target.
15398 * configure: Rebuilt.
15399 * i386/i386elf.h, i386/t-i386elf: New files.
15401 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
15403 * toplev.c (main): Don't complain about saying -gdwarf.
15404 (rest_of_compilation): Remove redundant code.
15406 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
15408 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
15410 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
15412 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
15413 "Li960R:", to avoid name clash.
15415 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15417 * loop.c (check_dbra_loop): When reversing a loop, delete all
15418 REG_EQUAL notes referencing the reversed biv except those which are
15419 for a giv based on it.
15421 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
15423 * version.c: Drop "gcc-" prefix from version #.
15425 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
15427 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
15428 the label if we're being verbose.
15430 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
15432 * m68k.c (output_function_prologue): Add pic register to mask
15433 if live and flag_pic.
15434 (output_function_epilogue): Likewise.
15436 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
15438 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
15439 directives in column zero.
15441 * pa/elf.h (ASM_FILE_START): Define.
15442 * pa/som.h (ASM_FILE_START): Include .level directives.
15443 * pa/hpux10.h (ASM_FILE_START): Delete.
15444 * pa/hpux11.h (ASM_FILE_START): Delete.
15446 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
15448 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15450 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
15451 when reload_out equals reload_in.
15453 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
15455 * invoke.texi (Spec Files): New node: Describe the contents of
15458 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
15460 * invoke.texi (DEC Alpha Options): Put @end table at
15461 beginning of line, to avoid confusing texi2html.
15463 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
15465 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
15466 introduced in previous delta.
15468 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15470 * reload1.c (gen_reload): When synthesizing a 3 operand add
15471 sequence, improve test for when to reload OP1 into the reload
15472 register instead of OP0.
15474 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
15476 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
15478 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
15480 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
15483 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
15485 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
15486 (va_dcl): Use __builtin_va_alist_t.
15488 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
15490 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
15491 on the permanent_obstack.
15492 * dwarfout.c (output_type): Likewise.
15494 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
15496 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15497 Merged from c-typeck.c and cp/typeck.c.
15498 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15499 Merged into c-common.
15501 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
15503 * c-lex.c (errorcount): Declare it.
15504 (finish_parse): Update errorcount when using CPPLIB.
15506 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
15508 * fixinc/inclhack.def(end_else_label): Double the backslash so
15509 sed gets a chance to see it.
15510 * fixinc/inclhack.sh: regen
15511 * fixinc/fixincl.x: regen
15513 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
15515 Add framework to support armv5 architecture when it becomes
15518 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
15519 (arm_arch5): New variable.
15520 (all_architectures): Add armv5 line.
15521 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
15522 -march=armv5 is specified on the command line.
15523 (arm_arch5): Export this variable.
15524 * invoke.texi: Document new string accepted by -march= switch for
15527 * config/arm/arm.h: Replace use of constant 12 as a register
15528 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
15529 * config/arm/arm.c: Replace use of constant 12 as a register
15530 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
15532 * config/arm/elf.h: Tidy up.
15533 * config/arm/coff.h: Tidy up.
15535 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
15537 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
15538 * gcc/config/mips/t-iris6gld: New file.
15539 * gcc/config/mips/iris6gld.h: Likewise.
15541 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
15543 * c-decl.c (widest_integer_literal_type_node,
15544 widest_unsigned_literal_type) : New.
15545 (init_decl_processing): Handle/use the two new types.
15546 * c-common.c (type_for_size,type_for_mode) : Same.
15547 * c-lex.c (yylex) : Same.
15548 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15550 * c-tree.h (widest_integer_literal_type_node,
15551 widest_unsigned_literal_type) : New.
15553 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
15555 * dwarfout.c (field_byte_offset): Correctly compute the object's
15556 byte offset for the first bit of a field which crosses an alignment
15557 boundary on a !BYTES_BIG_ENDIAN target.
15559 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
15561 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
15564 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
15565 Jeff Law <law@cygnus.com>
15567 * ginclude/varargs.h (va_dcl): Use word_mode for type of
15570 * except.c: Include intl.h.
15571 (expand_eh_return): Set current_function_cannot_inline.
15572 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
15573 * function.h (struct function): Add eh_return_stub_label.
15574 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
15575 * Makefile.in (except.o): Depend on intl.h.
15577 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
15579 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
15580 same as offsettable in cases 1 and 2.
15582 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
15584 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
15585 (extlh, extwh): Likewise.
15587 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
15589 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
15591 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
15593 * configure.in: Add arm-pe and thumb-pe targets.
15594 * configure: Regenerate.
15596 * thumb.c (arm_naked_function_p): New function: Determines if
15597 a function is naked (has no gcc generated prologue/epilogue).
15598 (is_called_in_ARM_mode): Return true if the func has the
15599 interfacearm attribute.
15600 (output_return): Do not generate a return for naked functions.
15601 (thumb_function_prologue): Do not generate a prologue for
15603 (thumb_expand_prologue): Do not generate a prologue for naked
15605 (thumb_expand_epilogue): Do not generate an epilogue for naked
15607 (arm_valid_machine_decl_attribute): New function, copied from
15608 arm.c: Permit naked and interfacearm attributes.
15610 * config/arm/pe.c: New file: Support code for arm-pe target.
15611 * config/arm/pe.h: New file: Header file for arm-pe target.
15612 * config/arm/tpe.h: New file: Header file for thumb-pe target.
15613 * config/arm/t-thumb-pe: New file: Makefile fragment for
15616 1999-07-01 Mark Kettenis <kettenis@gnu.org>
15618 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
15619 -fPIC or -fpic is specified.
15621 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
15623 * expr.c (emit_block_move): Use copy_to_mode_reg for
15624 !TARGET_MEM_FUNCTIONS case too.
15626 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
15628 * configure: Rebuilt.
15629 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
15630 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
15631 definitions made redundant by dbxelf.h inclusion. Delete
15632 lots of definitions related to assembly output that are
15633 specific to the SOM object format.
15634 * pa.c (output_function_prologue): Do not emit the function's
15636 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
15637 * pa-pro.h: Deleted.
15638 * som.h: New file with SOM specific definitions.
15639 * elf.h: New file with ELF specific definitions.
15641 * elfos.h (const_section): Output a tab before assembler directives.
15642 (ctors_section, dtors_section): Likewise.
15643 (ASM_OUTPUT_SECTION_NAME): Likewise.
15645 * pa/pa1.h: Delete unused file.
15647 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
15649 * configure.in (hppa*-hp-hpux11*): New configuration.
15650 * configure: Rebuilt.
15651 * pa/pa-hpux11.h: New file.
15652 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
15655 * mips.md (leasi, leadi): New patterns.
15657 * expr.c (emit_block_move): Properly handle case where one of the
15658 block move arguments has a queued increment or decrement.
15659 (clear_storage): Similarly. Fix formatting goof.
15661 1999-06-28 "David O'Brien" <obrien@NUXI.com>
15663 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
15664 semicolon from the BSD VA_LIST replacement expression.
15666 * fixinc/inclhack.sh: regen
15667 * fixinc/fixincl.x: regen
15669 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
15670 now use the fixincl program.
15672 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
15674 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
15675 case. Also make the PIC register call_used.
15677 * m68k.h (FINALIZE_PIC): Delete.
15678 * m68k.c (finalize_pic): Delete.
15680 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
15682 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
15685 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
15687 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
15689 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
15691 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
15693 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
15695 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
15697 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
15699 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
15701 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
15703 * rs6000.c (output_toc): Always use hex values for floating-point
15704 constants. Store single-precision values in upper-half of TOC
15705 entry in 64-bit mode.
15706 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
15707 to final constraints.
15708 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
15709 (fctiwz): Improve accuracy of RTL for pattern.
15711 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
15713 * expr.c (expand_expr): Allow RTL_EXPR's through the
15714 MAX_INTEGER_COMPUTATION_MODE checks.
15716 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
15718 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
15719 such that MASK_SUPPORT_ARCH is not negative.
15721 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
15723 * loop.c (verify_dominator): Properly handle ADDR_VEC and
15724 ADDR_DIFF_VEC insns that appear inside loops.
15726 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
15727 Jeff Law <law@cygnus.com>
15729 * rs6000.md (movdf_hardfloat32): Revert previous patch.
15730 Handle LO_SUM the same as offsettable in cases 1 and 2.
15731 * rs6000.c (find_addr_reg): Revert previous patch.
15733 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
15735 * system.h (strstr): New external function declaration.
15736 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
15737 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
15738 * config.in, configure: Rebuilt.
15740 1999-06-24 Tom Tromey <tromey@cygnus.com>
15742 * gcc.c (main): Read user-specified specs files after computing
15743 additional startfile_prefixes.
15745 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
15747 Revert these two patches:
15749 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15750 * loop.c (strength_reduce): When doing biv->giv conversion, update
15751 reg note of NEXT->insn.
15753 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15754 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15756 (recombine_givs): Set ix field after sorting.
15758 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15760 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
15761 for the parts of an UNSPEC / UNSPEC_VOLATILE.
15763 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
15765 *fixinc/inclhack.def: Add fix development commentary
15766 (read_ret_type): reactivate and add selection clause
15767 (zzz_*): tweak output file name to match what is used in hackshell.tpl
15768 *fixinc/{fixincl.x|inclhack.sh}: regen
15770 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
15772 * expr.c (expand_expr): STRIP_NOPS before checking against
15773 MAX_INTEGER_COMPUTATION_MODE
15774 (check_max_integer_computation_mode): Likewise.
15776 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
15778 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
15780 1999-06-22 Jim Wilson <wilson@cygnus.com>
15782 * expr.c (store_expr): When target is a promoted subreg, return a
15783 promoted subreg as a result.
15785 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
15787 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
15789 (dwarf2out_define): Mark unused parameters appropriately.
15790 (gen_unspecified_parameters_die): Ditto.
15791 (gen_subprogram_die): Fix signed/unsigned warnings.
15792 (gen_variable_die): Ditto.
15794 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
15796 * fixinc/inclhack.def(end_else_label): combined else_label
15797 and endif_label and fixed the sed expression.
15798 *fixinc/{fixincl.x|inclhack.sh}: regen
15800 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
15802 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
15803 'x' when handling non-offsettable addresses
15805 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
15807 * final.c (shorten_branches): Don't try to split an insn that has
15810 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
15812 * config/mips/mips.c (symbolic_expression_p): New function.
15813 (mips_select_rtx_section): Put symbolic expressions in the
15814 data section, not the read-only data section.
15816 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
15818 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
15820 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
15822 * collect2.c (main): Log frame table count.
15823 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
15824 (scan_prog_file) [COFF]: Handle frame tables.
15826 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
15827 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
15828 * alpha/elf.h: Undef them again.
15829 * alpha/vms.h: Remove their definitions.
15831 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15833 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
15834 remove the clobber of r0 and change the REG_UNUSED note to
15837 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
15839 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
15840 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
15841 fits in HOST_WIDE_INT and one uses union to access a long constant
15844 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
15846 * sparc.c (sparc_override_options): Don't allow profiling for
15847 code models other than medlow.
15848 (sparc_function_profiler): New function from old FUNCTION_PROFILER
15849 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
15850 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
15851 (sparc_block_profiler): Likewise.
15852 (sparc_function_block_profiler_exit): Likewise.
15853 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
15854 (FUNCTION_BLOCK_PROFILER): Likewise.
15855 (BLOCK_PROFILER): Likewise.
15856 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
15857 (MCOUNT_FUNCTION): New.
15858 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
15859 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
15860 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
15861 (MCOUNT_FUNCTION): New.
15862 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
15863 (BLOCK_PROFILER): Delete.
15864 (MCOUNT_FUNCTION): New.
15866 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
15868 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
15870 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
15872 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15875 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15878 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15881 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15884 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
15886 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
15889 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
15891 * i386/djgpp.h (LIB_SPEC): New.
15892 (STARTFILE_SPEC): New.
15894 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
15896 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
15898 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
15901 * system.h (WSTOPSIG): New macro.
15903 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
15905 * c-pragma.c (push_alignment): Don't ignore alignments greater than
15907 (insert_pack_attributes): Take into account member natural
15910 * i386/winnt.c (exports_head): New static variable.
15911 (i386_pe_record_exported_symbol): New function.
15912 (i386_pe_asm_file_end): Use.
15913 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
15914 symbols to be emitted at end of assembly.
15915 (ASM_DECLARE_OBJECT_NAME): Likewise.
15916 (ASM_DECLARE_FUNCTION_NAME): Likewise.
15918 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
15921 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
15923 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
15926 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
15928 * haifa-sched.c (sched_analyze_1): Use free_list instead of
15929 zapping reg_last_uses directly.
15930 (sched_analyze_2, sched_analyze_insn): Likewise.
15931 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
15933 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
15935 * rs6000.md (movdf_hardfloat32): Use worst case insn length
15936 attributes for cases 1 and 2.
15938 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
15940 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
15943 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
15945 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
15947 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
15949 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
15950 PIC_OFFSET_TABLE_REGNUM for general alloaction.
15951 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
15952 must be stacked if it is used for PIC accesses.
15953 * arm.c (use_return_insn): Handle PIC register specially.
15954 (output_return_instruction): Likewise.
15955 (output_func_{prologue,epilogue}): Likewise.
15956 (output_expand_prologue): Likewise.
15958 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
15959 (*strsi_predec): Renamed from *strqi_predec.
15960 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
15961 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
15963 * arm.c (arm_override_options): Remove warning about PIC code
15964 not being supported.
15966 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
15968 * rs6000.c (find_addr_reg): New function.
15969 * rs6000.h (find_addr_reg): Declare.
15970 (offsettable_addr_operand): Delete.
15971 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
15972 from and stores to GPRs.
15974 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
15976 * alpha.c (alpha_expand_block_move): Use get_insns rather than
15977 gen_sequence as argument to emit_no_conflict_block.
15979 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15981 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
15982 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
15983 *fixinc/fixincl.x: regen
15984 *fixinc/inclhack.sh: regen
15986 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
15988 * added support for -mpcrel (PC relative addressing for m68k)
15989 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
15990 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
15991 * m68k.c (print_operand_address): Handle 32-bit PIC case.
15992 (comments for general_src_operand): Add some explanation
15993 about EXTRA_CONSTRAINTS.
15994 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
15995 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
15996 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
15997 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
15998 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
15999 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
16000 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
16001 if not already set.
16002 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
16003 * m68k.h (TARGET_PCREL): New target flag.
16004 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
16005 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
16006 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
16007 contains a SYMBOL_REF. Relax this constraint during reload, since
16008 we want to use the predicates, not reload's built-in concept of a
16009 valid memory address, to control what insns need reloading.
16010 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
16011 operands (essentially 'g', 'm', and 's' under normal circumstances).
16012 * m68k.c (print_operand): Cause printing of pc-relative addresses
16013 to include pc register.
16014 (print_operand_address): Ditto.
16015 (general_src_operand): Accept operands that are not only
16016 general_operands, but are also valid when used as a pc-relative
16018 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
16019 (memory_src_operand): Similar, for memory_operands.
16020 (pcrel_address): New predicate to accept the special case of a
16021 pc-relative address.
16022 * m68k.md (many patterns): Rewrite common SImode, HImode, and
16023 QImode insns to accept *_src_operand instead of *_operand where
16024 pc-relative operands can fit. For example, a pc-relative operand
16025 can be used as a memory source operand for addsi3, but not as a
16026 memory destination.
16027 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
16029 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
16031 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
16032 .thumb_set pseudo op to mark aliases of thumb functions.
16034 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
16036 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
16037 preference to ASM_OUTPUT_DEF, if it is defined.
16039 * tm.texi: Document new, optional target macro
16040 ASM_OUTPUT_DEF_FROM_DECLS.
16042 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16044 * fixincludes: ISCNTL patch
16045 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
16046 (dgux_int_varargs): new for DG/UX
16047 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
16049 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
16051 * invoke.texi (ia32 options): Fix typo.
16053 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16055 * loop.c (strength_reduce): When doing biv->giv conversion, update
16056 reg note of NEXT->insn.
16058 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
16060 * loop.c (move_movables): Note issues with replacing REGs with
16062 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
16064 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
16066 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
16068 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
16069 the reference to `mcount' was not correct for the ELF on FreeBSD.
16071 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16073 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16076 (recombine_givs): Set ix field after sorting.
16078 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
16080 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
16081 to safe to extract a subword out of a REG.
16083 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16085 * sh.md (mulsi3): Don't add a no-op move at the end.
16087 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16089 * cse.c (cse_insn): Don't put hard register source into tables for
16090 the last insn of a libcall.
16092 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16094 * loop.c (strength_reduce): Insert sets of derived givs at every
16095 biv increment, even if it's the only one.
16097 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16099 * dwarfout.c (add_incomplete_type): New fn.
16100 (output_type): Call it.
16101 (retry_incomplete_types): New fn.
16102 (dwarfout_finish): Call it.
16104 From Eric Raskin <ehr@listworks.com>:
16105 (output_type): Output types for bases.
16107 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
16109 * mips.c (mips_output_conditional_branch): Add `break'
16110 between `default' label and `close braces'.
16112 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
16114 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
16115 specifications and make it realistic.
16116 (LIB_SPEC): Likewise.
16118 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
16120 * config/mips/mips.c (mips_secondary_reload_class): Check for
16121 (PLUS (SP) (REG)) and return appropriate register class.
16122 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
16123 Handle (PLUS (SP) (REG)).
16124 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
16125 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
16126 of emit_insn for tablejump.
16128 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
16130 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
16131 asm_fprintf format string by itself.
16132 (output_function_profiler): Likewise.
16134 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
16136 * combine.c (simplify_logical, case AND): Only call
16137 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
16138 or the constant is positive.
16140 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
16142 * configure.in: Fix typo in rs6000-ibm-aix4 case.
16143 * configure: Regenerate.
16145 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
16147 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
16148 require a sub-version #.
16149 * configure: Rebuilt.
16151 1999-06-14 Robert Lipe (robertlipe@usa.net)
16153 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
16155 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
16157 * c-typeck.c (process_init_element): Detect excess elements in
16158 char array initializer.
16160 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
16162 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
16164 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16166 * invoke.texi (Option Summary): Add -fpermissive flag.
16168 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
16170 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
16171 that require PIC code sequences.
16173 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
16175 * configure.in: Add new target: thumb-elf.
16176 * configure: Regenerate.
16177 * config/arm/t-thumb-elf: New file: Makefile fragment for
16179 * config/arm/telf.h: New file: Header file for thumb-elf
16182 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
16184 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
16185 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
16186 initializers is some circumstances.
16188 * fixinc/inclhack.def (endif_label): Add additional selector for
16189 more bogus stuff after #endif statements.
16190 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16192 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
16194 * i386/cygwin.h (SET_ASM_OP): Define.
16196 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
16198 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
16200 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16202 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
16205 * sh.md (ic_invalidate_line_i): Remove second alternative.
16207 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16209 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
16210 test for the presence of valid prototypes. Delete bypass expr.
16211 (ioctl_fix_ctrl): Correct the selection expression.
16212 (no_double_slash): Correct quoting rules
16213 *fixinc/fixincl.x: regen
16214 *fixinc/inclhack.sh: regen
16216 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
16218 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
16220 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16222 * rs6000.md (movsi_got_internal_mem): Delete.
16223 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
16224 (GOT_TOC_REGNUM): Delete.
16225 (PIC_OFFSET_TABLE_REGNUM): Define.
16226 (FINALIZE_PIC): Disable.
16227 * rs6000.c (rs6000_got_register): New code for fixed pic register.
16228 (rs6000_replace_regno): Delete.
16229 (rs6000_finalize_pic): Likewise.
16230 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
16232 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16234 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
16235 is a note; use <= for the compare; advance P while it is
16238 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
16240 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
16241 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
16243 * varasm.c (remove_from_pending_weak_list): Verify t->name
16244 is non-NULL before passing it to strcmp.
16246 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16248 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
16249 the typed arguments are not part of a comment
16250 (ioctl_fix_ctrl): Added a purpose comment
16251 *fixinc/fixincl.x: regenerate
16252 *fixinc/inclhack.sh: regenerate
16254 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16256 * invoke.texi: Add C4x invocation docs.
16258 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16260 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
16262 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
16264 (c4x_legitimize_reload_address): New function.
16265 * config/c4x/c4x.md: Update docs.
16267 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
16269 * fixincludes: Avoid removing '.'.
16270 * fixinc/fixinc.svr4: Likewise.
16271 * fixinc/fixinc.winnt: Likewise.
16272 * fixinc/inclhack.tpl: Likewise.
16273 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
16275 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16277 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
16279 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
16281 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
16283 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
16286 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
16288 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
16289 * configure: Regenerate.
16291 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
16293 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
16296 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
16298 * fixinc/inclhack.def (avoid_bool): Also catch
16299 "typedef [unsigned] int bool".
16300 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16302 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
16303 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
16304 * configure: Rebuilt.
16306 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
16308 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
16309 such that we can override its definitions if necessary.
16310 (CPP_SPEC): New define. Support processor specific predefines via
16312 (CC1_SPEC): New define. Support processor specific compiler
16313 options via %(cc1_cpu).
16314 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
16317 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16319 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
16320 between sed's -e flag, and the open-quote following it.
16321 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16323 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
16324 Jeffrey A Law (law@cygnus.com)
16326 * varasm.c (assemble_start_function): Remove the function
16327 from the pending weak decls list when we define a function.
16328 (assemble_variable): Similarly for variables.
16329 (weak_finish): Ignore items on the list with a NULL name.
16330 (remove_from_ending_weak_list); New function to "remove" an item
16331 from the pending weak declarations list.
16333 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16335 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
16337 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
16339 * c-lex.c (GETC): Redefine to call getch.
16340 (UNGETC): Redefine to call put_back.
16341 (putback_buffer): New structure type.
16342 (putback): New static structure.
16343 (getch): New function.
16344 (put_back): New function.
16345 (yylex): Replace unused bytes from bad multibyte character.
16347 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
16349 * cpplib.c (do_define): Cast `alloca' return value.
16350 (do_include, do_undef, do_pragma): Likewise.
16351 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
16353 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
16354 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
16356 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
16358 * sparc.md (abstf2): This should be an expand.
16359 (split after abstf2_notv9): Fix mode.
16360 (abstf2_hq_v9): New pattern.
16361 (abstf2_v9): Only use when no hard quad.
16362 (absdf2_v9): Fix if target is not the same as source.
16363 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
16364 Add correct output constraints.
16366 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
16368 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
16369 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
16371 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
16373 * mips.h (mips_output_conditional_branch): New function.
16374 (mips_adjust_insn_length): Likewise.
16375 (ASSEMBLER_SCRATCH_REGNUM): New macro.
16376 (ADJUST_INSN_LENGTH): Likewise.
16377 * mips.c (print_operand): Add `F' and `W' for floating-point
16378 comparison opcodes.
16379 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
16381 (mips_adjust_insn_length): New function.
16382 (mips_output_conditional_branch): New function.
16383 * mips.md (length): Adjust attribute definition to handle
16384 conditional branches. Change lengths to bytes, rather than
16385 instructions throughout. Remove length attribute from
16386 instructions whose length is four bytes, and rely on the default
16388 (dslot): Fix typo in comment.
16389 Reword conditional branch patterns to use
16390 mips_output_conditional_branch.
16392 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16394 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
16395 (LIB_SPEC): Likewise.
16396 Link with -lprof1_r for -g/-pg.
16398 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16400 * loop.c (check_dbra_loop): Fix change of Jan 19.
16402 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
16404 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
16405 (STARTFILE_SPEC): Define, override the svr4.h version.
16406 (ENDFILE_SPEC): Likewise.
16408 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
16410 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
16411 * fixinc/fixincl.x: Regenerated.
16412 * fixinc/inclhack.sh: Regenerated.
16414 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16416 * sh.c (barrier_align): Don't return early for normal branch/barrier
16417 when optimizing for SH2.
16419 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
16421 * i386/udk.h (LINK_SPEC): Correct linker search path for
16424 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16426 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
16427 (braf_label_ref_operand): Delete.
16428 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
16429 * sh.md (casesi_jump_2): Operand1 is now the inside of a
16430 label_ref, and has no predicate.
16431 The patten has a predicate to guard against invalid substitutions.
16432 (dummy_jump): Delete.
16433 (casesi): Update use of casesi_jump_2.
16435 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16437 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
16438 *fixinc/fixincl.x: regenerate
16439 *fixinc/inclhack.sh: regenerate
16441 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
16443 * dwarf2out.c (add_incomplete_type): New fn.
16444 (gen_struct_or_union_type_die): Call it.
16445 (retry_incomplete_types): New fn.
16446 (dwarf2out_finish): Call it.
16448 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
16450 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
16451 current block starts with a CODE_LABEL and ends with a CALL and
16452 we can not find all the argument setup instructions for the CALL.
16454 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
16456 Revert this change:
16457 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
16458 something is a candidate for optimize_bit_field_compare.
16460 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16462 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
16464 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
16466 * alpha.c (override_options): Thinko in last patch.
16468 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
16469 (LIB_SPEC): Recognize -pthread.
16471 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
16473 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
16474 definition in config/arm/coff.h
16475 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
16477 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16479 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
16480 fixes that need "file=xxx\n" prepended before invocation
16481 (start_fixer - new): starting the fixer process is complex enough
16482 to warrent its own routine. It prepends the "file=xxx\n" stuff.
16483 (process): uses the new routine; omit usage of putenv()
16484 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
16485 * fixinc/fixincl.x: regenerate
16487 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
16489 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
16490 and version #s (1.1 -> 2.96) as needed.
16491 * README.g77: Kill way out of date file in the toplevel directory.
16493 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
16495 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
16496 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
16497 * configure: Rebuilt.
16498 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
16499 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
16500 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
16501 (SWITCH_TAKES_ARG): Likewise.
16502 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
16503 * config/t-freebsd: Moved from config/i386/ so it can used for all
16506 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
16508 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
16510 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
16512 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
16513 * configure: Rebuilt.
16515 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
16517 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
16518 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
16519 * rs6000/rs6000.c (rs6000_file_start): Use putc.
16520 (rs6000_output_load_toc_table): Same.
16521 (output_prolog, output_mi_thunk): Same.
16522 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
16523 (ASM_GLOBALIZE_LABEL): Use putc.
16525 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
16527 * alpha.md (reload_*_help): New patterns and splitters.
16528 (reload_*): Use them.
16529 (mov[qh]i): Likewise.
16531 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
16533 * cccp.c (handle_directive): Handle backslash-newlines in quoted
16536 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
16538 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
16540 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
16542 * flow.c (mark_regs_live_at_end, insn_dead_p,
16543 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
16544 and HARD_FRAME_POINTER_REGNUM special treatment if reload
16545 hasn't run or the frame pointer is needed.
16546 * haifa-sched.c (attach_deaths): Likewise.
16547 * sched.c (attach_deaths): Likewise.
16549 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
16551 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
16552 calculate_can_reach_end returns nonzero.
16554 * configure.in (native gas tests): Search for an assembler in the
16555 same manner that the installed compiler will.
16556 * configure: Rebuilt.
16557 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
16559 * alias.c (find_base_term): Improve handling of addresses
16560 constructed from binary operations.
16562 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
16564 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
16566 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
16568 * function.h (cleanup_label, frame_offset): Declare.
16569 (tail_recursion_label, tail_recursion_reentry): Likewise.
16570 (arg_pointer_save_area, rtl_expr_chain): Likewise.
16571 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
16572 (tail_recursion_label, tail_recursion_reentry): Likewise.
16573 (arg_pointer_save_area, rtl_expr_chain): Likewise.
16575 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
16577 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
16579 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
16580 (MAX_OFILE_ALIGNMENT): Define.
16582 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
16584 * fixincl.c: Replace local include scheme with #includes of
16585 gansidecl.h and system.h.
16586 * procopen.c: Likewise.
16587 * server.c: Likewise.
16589 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
16591 * i386/t-dgux (EXTRA_PARTS): Add crti.o
16592 (crti.o): Add build rule and dependencies.
16593 * fixinc/fixinc.dgux: Use modified _int_varargs.h
16595 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16597 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
16598 (LIB_LINUX_SPEC): Likewise.
16599 (LIB_LINUX_SPEC): Add support for -pthread
16600 (CPP_OS_LINUX_SPEC): Likewise.
16601 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
16604 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
16606 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
16608 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
16609 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
16610 for IEEE math and CC_FCOMI.
16611 (put_jump_code): No IEEE if CC_FCOMI is set.
16613 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16615 * fold-const.c (fold_truthop): Make the field reference unsigned
16616 when converting a single bit compare.
16618 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16620 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
16622 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
16624 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
16625 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
16628 * reload.c (push_reload): Do not call remove_address_replacements
16629 when presented with identical optional reloads.
16631 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
16633 * alpha.h (MASK_FIX, TARGET_FIX): New.
16634 (MASK_*): Reorganize constants.
16635 (CPP_AM_FIX_SPEC): New.
16636 (TARGET_SWITCHES): Add FIX.
16637 (EXTRA_SPECS): Likewise.
16638 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
16639 (SECONDARY_MEMORY_NEEDED): Likewise.
16640 (REGISTER_MOVE_COST): Likewise.
16641 * alpha.c (override_options): Add FIX support. Always use
16642 ALPHA_TP_PROG for ev6.
16643 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
16644 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
16645 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
16647 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
16649 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
16650 something is a candidate for optimize_bit_field_compare.
16652 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
16654 * gcc.texi (Passes): Document branch-shortening.
16655 * invoke.texi (Debugging Options): Document the fact that `-dp'
16656 outputs length information for instructions.
16658 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
16660 * flow.c: Revert previous delta.
16662 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
16664 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
16665 FRAME_POINTER_REGNUM.
16666 (mark_set_1): Ditto.
16667 (mark_used_regs): Ditto.
16669 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
16671 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
16672 (GOT_PCREL): New macro. Define to 1 if not already defined.
16673 * arm/elf.h (GOT_PCREL): Define to 0.
16674 * arm.c (arm_finalize_pic): Take into account the setting of
16677 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
16679 * output.h (STRIP_NAME_ENCODING): Provide default definition.
16680 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
16682 * flow.c (mark_set_1): Do not record BLKmode stores as dead
16683 store elimination candidates.
16685 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
16687 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
16690 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
16692 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
16693 Add use of x-aix41-gld.
16695 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
16697 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
16698 (ASM_OUTPUT_DESTRUCTOR): Define.
16700 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
16702 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
16703 last CODE_LABEL in a loop if we have previously passed a jump
16704 to the top of the loop.
16706 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
16708 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
16709 applying Philip's patch.
16711 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
16713 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
16716 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
16718 * loop.c (strength_reduce): Grow reg_single_usage as needed.
16720 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
16722 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
16723 Also remove a useless comment.
16725 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16727 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
16729 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
16731 * collect2.c (main): Only generate import or export file and add
16732 to link arguments if non-empty. Use xmalloc not alloca.
16733 (write_{export,import}_file): Delete.
16734 (write_aix_file): New function.
16735 (locatelib): Use xmalloc not malloc.
16736 (GCC_OK_SYMBOL): Do not check type if aix64.
16738 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
16740 Based on patch by Scott Bambrough and Pat Beirne:
16741 * config/arm/arm.c (making_const_table): New variable.
16742 * config/arm/arm.h (making_const_table): Declare.
16743 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
16745 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
16746 Keep track of when we are building the constant table.
16748 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
16750 * config/arm/arm.c (arm_override_options): Fix erroneous warning
16753 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
16755 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
16758 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
16760 * tm.texi (FUNCTION_ARG): Correct description of a stack element
16763 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
16765 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
16767 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16769 * rs6000.c (output_mi_thunk): Enable full support again.
16771 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16773 * sh.h (BRANCH_COST): Define.
16775 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
16777 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
16779 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
16781 * function.c (assign_stack_local): Align stack slot propertly.
16782 (assign_outer_stack_local): Likewise.
16784 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
16786 * expr.h (lang_expand_constant): Declare.
16787 * toplev.c (lang_expand_constant): Define it.
16788 * varasm.c (output_constant): Use it.
16790 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16792 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
16793 Change function definitions to K&R style.
16795 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16797 * fixinc/fixincl.c: We must not ignore SIGCLD now.
16799 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
16801 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
16802 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
16803 (several places): omit static initialization
16804 (process): use single fd, since only the read fd is used
16805 * fixinc/gnu-regex.c: define 'const' away, if not supported
16806 * fixinc/procopen.c(several places): omit static initialization
16807 * fixinc/server.c: define 'volitile' away, if not supported
16809 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16811 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
16812 asm_fprintf and %L to generate the label name.
16813 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
16814 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
16816 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
16818 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
16819 insn for a conditional jump can not be found.
16821 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
16823 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
16824 on variables in specific sections other than .sbss and .sdata.
16826 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
16828 * stmt.c (expand_return): Call start_cleanup_deferral and
16829 end_cleanup_deferral around conditional code.
16831 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16833 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
16834 filename lists. Utilizes new "krstr" AutoGen function.
16835 * fixinc/fixincl.x: Rebuilt.
16837 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
16839 * i386.c (output_float_compare): Avoid GNU-C extensions.
16841 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
16843 * version.c: Bump to distinguish mainline tree from the
16846 See ChangeLog.1 for earlier changes.