1 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
3 * cse.c (delete_trivially_dead_insns): Also delete insns
4 that copy a register to itself where the destination is
7 2000-04-11 Richard Henderson <rth@cygnus.com>
9 * flow.c (struct propagate_block_info): Add new_dead, new_live.
10 (propagate_block): Initialize them. Use them in parallel instead
11 of one tmp variable, ie revert much of the 0408 and 0407 functional
12 changes, but keep the structural changes.
13 (mark_set_regs): Take new_dead from propagate_block_info instead.
14 (mark_set_1, mark_set_reg): Likewise.
15 (mark_used_regs): Likewise with new_live.
16 (mark_used_reg): Likewise. Revert 0408 change.
18 2000-04-11 Nick Clifton <nickc@cygnus.com>
20 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
22 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
24 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
26 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
27 const section to output a CONSTRUCTOR based on the same conditions
30 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
32 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
33 * pa/pa-protos.h (output_call): Add additional argument indicating
34 if the call is a sibling/tail call.
35 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
36 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
37 (function_arg, function_arg_partial_nregs): Likewise
38 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
39 (emit_move_sequence): Zero extend certain constants as needed
41 (compute_zdepdi_operands, output_64bit_and): New functions.
42 (output_64bit_ior, function_arg): Likewise.
43 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
44 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
45 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
46 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
47 (output_bvb): Likewise.
48 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
49 (output_call): New argument 'sibcall'. Generate sibcall sequences
51 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
52 (ouput_arg_descriptor): Do not emit argument descriptors for
54 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
56 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
57 (FUNCTION_OK_FOR_SIBALL): Define.
58 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
59 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
60 (CPP_SPEC): Use new spec infrastructure.
61 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
62 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
63 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
64 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
65 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
66 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
67 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
68 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
69 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
70 (FUNCTION_ARG); Call out to C code.
71 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
72 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
73 (MIN_UNITS_PER_WORD): Likewise.
74 * pa/pa.md (cmpdi): New expander.
75 (scc patterns, movstrsi): Not available for TARGET_64BIT.
76 (64bit conditional arithmetic): New patterns.
77 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
78 (movsicc): Not available if modes on all the operands to not match.
79 (movdicc): New expander and associated patterns.
80 (64bit branches): New patterns.
81 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
82 (pre_ldd, post_std): New patterns.
83 (64bit addil, load low part): New patterns.
84 (special movsf constant): Not available for TARGET_64BIT.
85 (movsf, movdf expanders): Force constants into memory.
86 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
87 (64bit movdf/movdi patterns): New patterns.
88 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
90 (extendqidi2, extendhidi2, extendsidi2): Similarly.
91 (adddi3 expander): Allow "arith_operand" for second input.
92 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
93 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
94 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
95 (muldi3): New expander for TARGET_64BIT.
96 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
98 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
99 patterns for TARGET_64BIT.
100 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
101 patterns for TARGET_64BIT.
102 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
103 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
104 (sibcall_epilogue): New expander.
105 (casesi): Tweak for TARGET_64BIT.
106 (call expanders): Set & use the outgoing argument pointer. Use the
107 64bit call patterns as needed. Add additional arg to output_call.
108 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
109 (sibcall, sibcall_internal_symref): New expanders.
110 (sibcall_value, sibcall_value_internal_symref
111 (interspace_jump): Turn into an expander + matching patterns.
112 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
113 * pa/pa64-regs.h: Eliminate trigraph sequences.
114 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
116 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
118 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
119 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
120 cpp_token with cpp_ttype everywhere.
121 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
122 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
123 CPP_BUF_COL. Line and column numbers are unsigned int, not
125 * cpplex.c (cpp_buf_line_and_col): Delete.
126 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
127 'long lineno' to 'unsigned int lineno'.
128 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
130 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
132 * extend.texi: ISO C99 is not a draft anymore.
133 * invoke.texi: ISO C++ is not a draft anymore.
134 * cpp.texi: __cplusplus is required by the ISO standard.
136 * extend.texi (-fthis-is-variable): Undocument.
137 * flags.h (warn_template_debugging): Remove declaration.
138 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
139 -Wenum-clash, -Wtemplate-debugging): Undocument.
141 2000-04-10 Nick Clifton <nickc@cygnus.com>
143 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
145 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
147 (ARM_SIGN_EXTEND): Use HOST_UINT.
148 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
149 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
150 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
151 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
153 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
154 (arm_gen_constant): Use HOST_UINT.
155 (arm_canonicalize_constant): Use HOST_UINT.
156 (arm_reload_in_hi): Use HOST_UINT.
157 (arm_reload_out_hi): Use HOST_UINT.
158 (output_multi_immediate): Use HOST_UINT.
159 (int_log2): Use HOST_UINT.
160 (arm_poke_function_name): Use HOST_UINT.
161 (arm_output_epilogue): Use arm_volatile_func().
162 (output_thumb_prologue): Use arm_strip_name_encoding().
164 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
166 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
167 of sequence point problems.
169 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
171 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
173 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
175 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
177 * sbitmap.h: Whitespace changes and use upper-case macro args.
178 (struct simple_bitmap_def): All sizes now unsigned.
179 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
180 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
181 (sbitmap_vector_alloc): Parms and local vars now unsigned.
182 (sbitmap_zero): Cast bzero arg to PTR.
183 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
184 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
185 loop to make structure clearer.
186 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
187 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
188 (sbitmap_a_and_b_or_c): Likewise.
189 (sbitmap_intersection_of_succs): Minor cleanups.
190 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
191 (sbitmap_union_of_preds): Likewise.
192 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
193 (debug_sbitmap): New function.
195 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
196 * c-typeck.c (convert_for_assignment): Likewise.
198 * expmed.c (init_expmed): Don't free objects we make.
199 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
201 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
202 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
204 * gcse.c (expr_hash_table_size): Now unsigned.
205 (compute_ae_gen): Local variable `i' now unsigned.
206 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
207 (compute_transout, hoist_code): Likewise.
208 (compute_local_properties): Likewise, also hash_table_size.
209 (alloc_expr_hash_table): N_INSNS now unsigned.
210 (delete_null_pointer_checks): Mark arg F as unused.
212 * regrename.c: Minor cleanups, including chang some variables
215 2000-04-10 Neil Booth <NeilB@earthling.net>
217 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
219 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
221 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
223 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
224 __classof__, and __headof__ from the list of gnu keywords.
225 (-ansi): Remove -foperator-names from list of implied options.
226 Do not call it ANSI C++.
227 (-foperator-names): Document as -fno-operator-names.
229 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
231 * cpphash.c (timestamp): Delete.
232 (del_HASHNODE): If type is T_MCONST, free value.cpval.
233 (special_symbol): Remove unnecessary braces. Remove
234 T_VERSION. Treat T_STDC like T_CONST unless
235 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
236 when one is encountered, then convert them into T_MCONST
238 * cppinit.c (builtin_array): version_string is T_MCONST.
239 __STDC__ has a "1" in its cpval. Don't have a terminator
240 entry. Clean up which entries are dumped.
241 (initialize_builtins): Only __STDC__ gets the special
242 -traditional treatment. Count the length of builtin_array.
243 Render version_string here.
244 * cpphash.h: Remove T_VERSION. Add T_MCONST.
245 * cpplib.h (struct cpp_reader): Remove timebuf.
247 2000-04-09 Richard Henderson <rth@cygnus.com>
249 * genrecog.c (pred): Update comparison_operator for the unordered
252 * config/i386/i386.c (no_comparison_operator): Disallow unordered
254 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
255 (uno_comparison_operator): New.
256 (put_condition_code): Handle UNORDERED/ORDERED.
257 (unsigned_comparison): Likewise.
258 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
259 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
260 (ix86_expand_fp_compare): Use them. Take scratch as argument,
261 update all callers. Handle all 8 unordered operators.
262 (ix86_expand_setcc): Lose the unordered argument, update all callers.
263 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
264 * config/i386/i386.h (PREDICATE_CODES): Update.
265 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
266 (ix86_expand_branch, ix86_expand_setcc): Update.
267 * config/i386/i386.md (sunordered, sordered): New.
268 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
269 (bunordered, bordered): New.
270 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
271 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
272 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
274 2000-04-09 Philip Blundell <philb@gnu.org>
276 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
278 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
280 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
281 fix_truncxfhi2): New patterns.
282 * i386.c (output_fix_trunc): Handle converting to HImode.
284 2000-04-08 Alex Samuel <samuel@codesourcery.com>
286 * ssa.c (convert_to_ssa): Eliminate dead code when calling
288 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
289 (for_each_successor_phi): Change parameter to basic_block.
290 (coalesce_regs_in_successor_phi_nodes): Likewise.
291 (coalesce_regs_in_copies): Likewise.
292 (compute_coalesced_reg_partition): Use basic_block instead of index.
293 * rtl.h (convert_to_ssa): Delete.
294 (convert_from_ssa): Likewise.
295 (successor_phi_fn): Likewise.
296 (for_each_successor_phi): Likewise.
297 (in_ssa_form): Likewise.
298 * basic-block.h (convert_to_ssa): Moved from rtl.h.
299 (convert_from_ssa): Likewise.
300 (successor_phi_fn): Likewise.
301 (in_ssa_form): Likewise.
302 (for_each_successor_phi): Likewise. Change parameter to basic_block.
303 * flow.c (calculate_global_regs_live): Pass a basic_block to
304 for_each_successor_phi.
306 2000-04-08 Richard Henderson <rth@cygnus.com>
308 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
309 was modified in the current insn.
311 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
313 * arm/thumb.md: Delete.
314 * arm/thumb-protos.h: Delete.
316 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
318 Merge changes from merged-arm-thumb-backend-branch onto trunk.
320 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
322 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
325 * arm.md (nop): Use the standard RTL expression. Don't code as a
327 (*arm_nop, *thumb_nop): Delete.
329 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
330 constants. Use casts instead.
331 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
332 output_multi_immediate, arm_poke_function_name): Likewise.
333 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
334 MASK_RETURN_ADDDR): Likewise.
336 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
338 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
341 * arm.md (eh_epilogue): New function.
342 * arm.h (struct machine_function): Move to here ...
343 * arm.c: ... from here.
344 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
345 (thumb_exit): Extra parameter eh_ofs. All callers changed.
346 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
348 2000-03-30 Nick Clifton <nickc@cygnus.com>
350 * config/arm/semi.h (ASM_SPEC): Restore definition.
351 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
353 * config/arm/elf.h (ASM_SPEC): Restore definition.
354 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
356 * config/arm/arm.h (ASM_SPEC): Remove definition.
357 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
359 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
361 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
363 2000-03-24 Nick Clifton <nickc@cygnus.com>
365 Various formating tidyups, elimination of compile time
366 warnings and synchronisation with internal sources:
368 * config/arm/arm-protos.h (assemble_align): Add prototype.
369 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
370 (gen_comapre_reg): Rename to arm_gen_compare_reg.
371 (arm_return_addr_rtx): Rename to arm_return_addr.
373 * config/arm/arm.c: Include except.h.
374 Define shorter typenames for strict minipool_node and struct
376 (arm_return_in_memory): For WinCE return all structures <= 32 bits
378 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
379 (gen_comapre_reg): Rename to arm_gen_compare_reg.
381 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
383 (ASM_SPEC): Define if not already defined.
384 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
386 * config/arm/arm.md: Rename references to gen_rotated_half_load to
387 arm_gen_rotated_half_load, and references to gen_comapre_reg to
389 (indirect_jump): Only accept register operands.
390 (load_indirect_jump): Keep this pattern since combine can generate
393 * config/arm/coff.h: Include aout.h.
394 (MULTILIB_DEFAULTS): Only define if not already defined.
396 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
397 into arm.h (so that COFF ports can support thumb based aliases).
398 (ASM_SPEC): Move definition into arm.h
400 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
402 (ASM_SPEC): Move definition to arm.h
404 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
406 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
407 for entries in the .bss section
409 2000-03-23 Nick Clifton <nickc@cygnus.com>
411 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
412 to thumb_far_jump_used_p.
414 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
415 single integer parameter.
417 * config/arm/arm.c (struct machine_function): Add two new
418 fields, 'far_jump_used' and 'arg_pointer_live'.
419 (thumb_far_jump_used_p): Once the decision has been made that
420 far jumps might be used, always return true.
421 If being called from the initial elimination offset macro then
422 do not bother to perform the test if the arg pointer is not
424 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
425 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
427 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
429 * arm.c (output_return_instruction): Handle more cases where we can
430 return from a function with an ldr instruction.
431 (arm_output_epilogue): Likewise.
433 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
434 if we need to push a large stack frame and there are no callee-saved
437 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
438 in ARM code if the frame pointer has been eliminated.
440 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
441 unspec_volatile arguments to avoid duplicates.
442 (consttable_1, consttable_2): Fixes for big-endian mode.
444 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
447 Re-write constant pool code.
448 * arm.c (minipool_node, minipool_fix): New types.
449 (minifix): Delete type.
450 (arm_add_minipool_constant): Delete.
451 (arm_compute_minipool_offsets, arm_find_barrier,
452 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
453 (get_jump_table_size): Now returns HOST_WIDE_INT.
454 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
456 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
457 (assign_minipool_offsets, arm_print_value): Likewise.
458 (dump_minipool): Rewrite.
459 (arm_barrier_cost): New function.
460 (create_fix_barrier): New function.
461 (push_minipool_barrier): New function.
462 (push_minipool_fix): Record additional information about the fixup
464 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
465 check the mode of what needs fixing.
466 (arm_reorg): Rewrite.
468 2000-03-08 Nick Clifton <nickc@cygnus.com>
470 * config/arm/arm.md (indirect_jump): Force constant addresses into
473 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
475 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
477 2000-02-24 Nick Clifton <nickc@cygnus.com>
479 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
480 adjust is word aligned.
481 (thumb_expand_epilogue): Make sure that stack adjust is word
484 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
486 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
488 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
489 pointer relative addresses.
491 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
493 * arm.c (find_barrier): Find the last barrier within the allowed
496 2000-02-09 Nick Clifton <nickc@cygnus.com>
498 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
500 2000-02-09 Nick Clifton <nickc@cygnus.com>
502 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
503 ARM_FUNCTION_PROFILER.
505 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
506 ARM_FUNCTION_PROFILER.
508 * config/arm/linux-oldld.h: Imported from mainline sources.
510 2000-02-07 Nick Clifton <nickc@cygnus.com>
512 * config/arm/lib1funcs.asm: Merge in thumb functions from
515 * config/arm/lib1thumb.asm: Delete.
517 2000-02-04 Nick Clifton <nickc@cygnus.com>
519 * config/arm/arm.c: Sychronised with current Red hat local
521 * config/arm/arm.h: Ditto.
522 * config/arm/arm-protos.h: Ditto.
524 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
526 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
528 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
531 2000-02-02 Nick Clifton <nickc@cygnus.com>
533 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
535 * config/arm/arm.md (epilogue): Fix rtl checking abort because
536 (return) was emited using an emit_insn() call.
538 2000-01-31 Nick Clifton <nickc@cygnus.com>
540 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
542 (thumb_exit): Move frame pointer back into hard frame pointer
543 register if backtracing is being used.
545 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
547 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
550 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
552 * config/arm/arm.md (neg_pool_offset): Provide default for new
554 (arm_movsi_insn): Add neg_pool_offset attribute.
555 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
556 rtx for the insn that starts the scan and an unsigned long for its
557 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
558 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
559 instructions in *PINSERTED.
560 (struct minipool_fixup): Add MIN_ADDRESS elt.
561 (sort_fixups): Compute it.
562 (arm_reorg): Changes to support inserting pools before the insn to be
565 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
567 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
568 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
569 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
571 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
573 * config/arm/semi.h (TARGET_VERSION): Do not define if already
575 (TARGET_DEFAULT): Do not define if already defined.
577 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
579 * config/arm/arm.md (anddi3): Allow disjoint source operands.
580 (iordi3): Allow disjoint source operands.
581 (xordi3): Allow disjoint source operands.
582 (negdi2): Permit construction for ARM and Thumb.
583 (arm_negdi2): Renamed version of old negdi2 pattern.
584 (thumb_negdi2): New pattern: Only permit non-overlapping
585 source and destination.
587 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
589 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
590 scratch low register so that it will not be deleted.
592 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
594 * config/arm/pe.h (ARM_PE): Define.
596 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
597 interfacearm attribute if this is a PE toolchain.
598 (output_return_instruction): Do not emit anything if the function
599 has the naked attribute set.
600 (is_called_in_ARM_mode): If the function has the interfacearm
601 attribute then return true.
602 (thumb_expand_prologue): Do not generate a prologue for naked
604 (thumb_expand_epilogue): Do not generate an epilogie for a naked
606 (output_thumb_prologue): Do not bother if the function is naked.
607 Strip PE encoding from function name before emitting.
609 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
611 * arm.md (pic_load_addr): Fix constraints.
613 * arm.md (casesi_insn): Fix mis-applied patch.
615 * arm.md ("core" function unit): Add rules for single- and
617 (All TARGET_THUMB patterns): Add "type" attribute information
619 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
620 the following insn is a CALL.
622 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
624 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
625 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
626 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
628 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
630 * config/arm/linux-gas.h: oops - this file was missed out when the
631 branch was created...
633 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
635 * thumb.c: Deleted. Move contents to ...
637 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
639 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
642 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
643 declare a prototype for asm_output_align();
645 * arm.c (thumb_condition_code): Delete.
646 (arm_print_operand): Always use arm_condition_code array.
648 * arm.c (thumb_return_addr_rtx): Delete.
649 (arm_save_machine_status, arm_restore_machine_status): Delete.
650 (arm_init_machine_status, arm_mark_machine_status): New functions.
651 (arm_init_expanders): Update accordingly.
652 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
653 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
654 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
656 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
658 * configure.in : Fix arm-*-aout target to use new t-arm-aout
660 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
663 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
665 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
666 stack backtrace structure.
668 * config/arm/arm-protos.h: Add prototypes for functions defined in
671 * config/arm/arm.c (arm_override_options): Fix selection of
672 attributes of default processor.
674 * config/arm/coff.h: Delete needless #include.
676 * config/arm/pe.c: Delete unused code.
678 * config/arm/pe.h (CPP_DEFINES): Delete
679 (SUBTARGET_CPP_SPEC): Define.
680 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
682 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
684 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
686 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
688 (CAN_DEBUG_WITHOUT_FP): Define.
689 (FIXED_REGISTERS): Make r11 call-saved.
690 (CALL_USED_REGISTERS): Likewise.
691 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
692 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
693 frame-pointer is required.
694 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
695 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
696 if the target normally needs a stack frame in non-leaf functions.
697 (use_return_insn): Correct logic for determining when a return
698 instruction can be used.
699 (output_return_instruction): Handle the frame-pointer register as
700 a normal register when not TARGET_APCS_FRAME.
701 (arm_output_prologue): Likewise.
702 (arm_output_epilogue): Likewise.
703 (output_func_epilogue): Likewise.
704 (arm_expand_prologue): Likewise.
705 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
707 * arm.c (use_return_insn): No need to check floating point regs if
709 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
710 the code of value stored in the minipool array.
711 (arm_add_minipool_constant): Likewise.
713 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
715 * basic-block.h (conflict_graph_enum_fn): K&R fix.
717 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
719 * tree.c (tree_expr_nonnegative_p): New function.
721 * tree.h (tree_expr_nonnegative_p): Declare.
723 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
724 elide some sign_compare warnings.
725 (build_conditional_expr): Likewise.
727 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
729 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
731 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
732 * i386.c (print_operand): Use the proper suffix for a 387 HImode
733 operand. Abort if a 387 operand has an unsupported size.
735 2000-04-08 Neil Booth <NeilB@earthling.net>
737 * cppexp.c (parse_charconst): Null does not end character
739 * cppinit.c (ISTABLE): Null character handled as whitespace.
740 * cpplex.c (null_warning): new function.
741 (skip_string): Emit warning if nulls encountered.
742 (_cpp_skip_hspace): Emit warning if nulls encountered.
743 (_cpp_lex_token): Emit warning if nulls encountered. Drop
747 2000-04-07 Richard Henderson <rth@cygnus.com>
749 * flow.c (loop_depth): Remove.
750 (reg_next_use, cc0_live, mem_set_list): Replace with ...
751 (struct propagate_block_info): New.
752 (life_analysis): Don't allocate reg_next_use.
753 (propagate_block_delete_insn): Break out of propagate_block.
754 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
755 (propagate_block_delete_libcall): Likewise.
756 (propagate_block): Create a propagate_block_info struct to pass
757 to subroutines. Allocate one not two temporary regsets. Don't
758 clobber memory for const calls. Look for clobbers in
759 CALL_INSN_FUNCTION_USAGE.
760 (mark_set_regs): Recognize COND_EXEC.
761 (mark_set_reg): Break out of mark_set_1.
762 (mark_used_reg): Break out of mark_used_regs.
763 (mark_used_regs): Recognize COND_EXEC.
764 (insn_dead_p): Use propagate_block_info struct.
765 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
766 (find_auto_inc, try_pre_increment_1): Likewise.
767 (print_rtl_with_bb): Dump regs live at end too.
768 (count_reg_sets_1): Pass in loop_depth.
769 (count_reg_sets, count_reg_references): Likewise.
770 (recompute_reg_usage): Provide it.
772 2000-04-07 Richard Henderson <rth@cygnus.com>
774 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
777 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
779 * cpplib.c (do_elif): Skip the rest of the line if we're
780 not going to bother evaluating it.
781 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
782 to avoid pointless calls to the lexer.
784 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
786 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
788 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
790 * calls.c (expand_call): emit_queue if we're trying a sibcall.
792 2000-04-07 Jakub Jelinek <jakub@redhat.com>
794 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
796 2000-04-06 Geoff Keating <geoffk@cygnus.com>
798 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
799 crtend so they can be multilibbed.
800 (STAGESTUFF): Remove s-crt and s-crtS.
802 2000-04-07 Richard Henderson <rth@cygnus.com>
804 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
805 if we discover we need a pseudo and no_new_pseudos is true.
806 * config/alpha/alpha.md (ne:DI insn): New.
807 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
809 2000-04-07 Richard Henderson <rth@cygnus.com>
811 * rtl.def (COND_EXEC): New.
812 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
813 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
815 * genconfig.c (have_cond_arith_flag): Remove.
816 (have_cond_exec_flag): New.
817 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
818 (main): Print HAVE_conditional_execution.
820 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
821 (sched_analyze_insn, print_pattern): Likewise.
822 * reload.c (find_equiv_reg): Likewise.
823 * rtlanal.c (reg_referenced_p): Likewise.
824 (note_stores, dead_or_set_regno_p): Likewise.
825 (reg_overlap_mentioned_p): Rewrite to use a switch.
827 * ggc.h (struct rtx_def): Forward declare.
829 * print-rtl.c (debug_rtx_range): New.
830 * rtl.h (debug_rtx_range): Declare.
832 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
834 * gcse.c (gcse_main): Don't rebuild the CFG here.
835 (delete_null_pointer_checks): Likewise.
836 * ssa.c (convert_to_ssa): Likewise.
837 * toplev.c (rest_of_compilation): Do it here instead. Combine
838 sequential calls to TIMEVAR. Consistently use `insns' instead of
839 `get_insns()'. Always split insns after reload when optimizing.
841 * basic-block.h (merge_blocks_nomove): Declare.
842 (tidy_fallthru_edge): Declare.
843 * flow.c (merge_blocks_nomove): Document as merging into previous
844 blocks. Remove cruft from between blocks; remove all edges out of A.
845 (tidy_fallthru_edge): Export.
847 2000-04-06 Alex Samuel <samuel@codesourcery.com>
849 * ssa.c (compute_conservative_reg_partition): Declare with
851 * toplev.c (clean_dump_file): Remove previously-deleted function
852 inadvertantly merged back in.
853 * conflict.c (conflict_graph_add): Use a single call to
854 htab_find_slot to look up and insert.
856 2000-04-06 Richard Henderson <rth@cygnus.com>
858 * genrecog.c (*): Rename _last_insn to last_insn.
859 (make_insn_sequence): Set the position of the peephole2 C test
860 to be at the last insn.
862 2000-04-06 Richard Henderson <rth@cygnus.com>
864 * flow.c (compute_flow_dominators): Free worklist.
866 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
868 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
870 2000-04-06 Alex Samuel <samuel@codesourcery.com>
872 * rtl.h (INSN_P): New macro.
873 (successor_phi_fn): New typedef.
874 (for_each_successor_phi): New prototype.
875 (in_ssa_form): New variable.
876 (PHI_NODE_P): Likewise.
877 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
878 phi nodes in successors.
879 (mark_used_regs): Add PHI case.
880 (set_phi_alternative_reg): New function.
881 (life_analysis): Assert that dead code elimination is not selected
883 * toplev.c (to_ssa_time): New variable.
884 (from_ssa_time): Likewise.
885 (compile_file): Zero to_ssa_time and from_ssa_time.
886 Print time to convert to and from SSA.
887 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
888 (print_time): Compute percent fraction as integer.
889 * ssa.c (PHI_NODE_P): Moved to rtl.h.
890 (convert_to_ssa): Check if we're already in SSA.
891 Don't eliminate dead code in life_analysis.
892 Rerun flow and life analysis at bottom.
893 (eliminate_phi): Use canonical regnos when adding nodes.
894 (mark_reg_in_phi): New function.
895 (mark_phi_and_copy_regs): Likewise.
896 (convert_from_ssa): Rerun life analysis at top.
897 Use coalesced partition.
898 Check for removing a phi node at the end of the block.
899 (compute_coalesced_reg_partition): New function.
900 (coalesce_regs_in_copies): Likewise.
901 (coalesce_reg_in_phi): Likewise.
902 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
903 (for_each_successor_phi): Likewise.
904 (rename_context): New struct.
905 (rename_block): Use a rename_context with rename_insn_1. When
906 renaming sets of a subreg, emit a copy of the entire reg first.
907 (rename_insn_1): Treat data as a rename_context *. Save current
909 (rename_set_data): Add field set_insn.
910 * Makefile.in (HASHTAB_H): Move up in file.
911 (OBSTACK_H): New macro.
912 (collect2.o): Use OBSTACK_H in dependencies.
913 (sdbout.o): Likewise.
914 (emit-rtl.o): Likewise.
915 (simplify-rtx.o): Likewise.
916 (fix-header.o): Likewise.
917 (OBJS): Add conflict.o.
918 (conflict.o): New rule.
919 * basic-block.h: Include partition.h.
920 (conflict_graph): New typedef.
921 (conflict_graph_enum_fn): Likewise.
922 (conflict_graph_new): New prototype.
923 (conflict_graph_delete): Likewise.
924 (conflict_graph_add): Likewise.
925 (conflict_graph_conflict_p): Likewise.
926 (conflict_graph_enum): Likewise.
927 (conflict_graph_merge_regs): Likewise.
928 (conflict_graph_print): Likewise.
929 (conflict_graph_compute): Likewise.
930 * conflict.c: New file.
932 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
934 * tlink.c (read_repo_files): Don't look for .rpo info for
937 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
939 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
941 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
943 * config/sh/lib1funcs.asm (___udivsi3_i4):
944 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
945 only depends on FMOVD_WORKS.
947 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
949 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
950 make double constant 8-byte aligned.
952 2000-04-06 Jakub Jelinek <jakub@redhat.com>
954 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
955 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
956 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
957 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
958 Accept storing GENERAL_REGS into offsetable memory.
959 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
960 building a TFmode constant other than 0.0L into GENERAL_REGS.
962 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
964 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
966 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
968 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
969 (macro_cleanup): No need to cast pbuf->macro.
970 (collect_expansion): Use _cpp_get_define_token. Goto done if
971 it returns VSPACE. Remove check for trailing space after
973 (_cpp_create_definition): Don't diddle flags here. Return
975 (unsafe_chars): Handle c1 being EOF.
976 (push_macro_expansion): Use unsafe_chars for both accidental-paste
977 checks. Don't push the buffer till after we're done with
979 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
980 (PEEKN, FORWARD, GETC, PEEKC): Use them.
981 (cpp_push_buffer): Don't set new->alimit. Set new->mark
983 (_cpp_parse_assertion): Don't NUL terminate.
984 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
985 hspace before calling _cpp_parse_assertion. Remove all sets
986 of only_seen_white. Treat '\f' as hspace. Don't do anything
987 special with '\n' here.
988 (maybe_macroexpand): Handle T_EMPTY hash entries without
989 pushing a buffer at all.
990 (cpp_get_token): Handle clearing only_seen_white here. Handle
991 incrementing the line number here. Clear
992 potential_control_macro as well as only_seen_white, if
994 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
995 (_cpp_get_define_token): New function, basically like
996 _cpp_get_directive_token was but doesn't eat horizontal space.
997 Don't do anything with only_seen_white here.
998 (_cpp_get_directive_token): Just call _cpp_get_define_token
999 repeatedly till it returns non-hspace.
1001 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1002 (conditional_skip, skip_if_group): Return int.
1003 (DIRECTIVE_TABLE): Change origin of all conditional directives
1005 (TRAD_DIRECT_P): New macro.
1006 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
1007 an error for a bogus directive, unless -lang-asm. Use
1008 TRAD_DIRECT_P. Loop calling handler functions till one returns
1010 (get_macro_name): Don't diddle flags here.
1011 (do_define): Diddle flags here. Use _cpp_get_directive_token.
1012 Create T_EMPTY nodes for #define macro /* nothing */.
1013 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
1014 Use hp->name when calling pass_thru_directive.
1015 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1016 Return the result of conditional_skip and/or skip_if_group.
1017 Don't call _cpp_output_line_command.
1018 (consider_directive_while_skipping): Use _cpp_get_directive_token.
1019 Issue -Wtraditional warnings as appropriate. Don't complain
1020 about unrecognized directives. If we are to stop skipping,
1021 return the number of the directive that ended the skip.
1022 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
1023 expansion and line commands while skipping. Return the result
1024 of consider_directive_while_skipping, if nonzero.
1025 (do_endif): Just set potential_control_macro here.
1026 (validate_else): Use _cpp_get_directive_token.
1027 (do_assert, do_unassert): Don't save pointers into the
1028 token_buffer across calls to the lexer. Use
1029 _cpp_get_directive_token.
1031 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
1032 pointer, not an offset. Replace 'data', which was a generic
1033 pointer, with 'macro', which points to a struct hashnode.
1034 (cpp_reader): Add 'potential_control_macro' pointer.
1035 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1036 (CPP_BUF_GET, CPP_FORWARD): Delete.
1037 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1038 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1039 ACTIVE_MARK_P): Update.
1040 (_cpp_get_define_token): New internal function.
1041 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1043 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
1045 * configure.in: And here.
1046 * configure: Regenerate.
1047 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1048 --enable-libstdcxx-v3 is passed at configure time.
1049 * config.h.in: Regenerate.
1051 2000-04-05 Mark Mitchell <mark@codesourcery.com>
1053 * final.c (final): Use xcalloc to allocate line_note_exists.
1054 * function.c (free_after_compilation): Free the temp_slots.
1055 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1056 (combine_temp_slot): Free temp_slots when they get combined.
1057 (purge_addressof): Fix typo in comment.
1058 * stmt.c (mark_goto_fixup): Mark the fixup itself.
1059 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1061 * ggc.h: Include varray.h.
1062 (ggc_pending_trees): Declare.
1063 (ggc_mark_tree_children): Remove declaration.
1064 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1065 * ggc-common.c (ggc_pending_trees): New variable.
1066 (ggc_mark_roots): Call ggc_mark_trees.
1067 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
1068 the ggc_pending_trees.
1069 * Makefile.in (GGC_H): New variable. Use it throughout in place
1072 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1074 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1077 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1079 * sh.c (sh_insn_length_adjustment): New function.
1080 * sh-protos.h (sh_insn_length_adjustment): Declare.
1081 * sh.h (ADJUST_INSN_LENGTH): Use it.
1083 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
1085 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1086 from the insn where REG_RETVAL is added.
1087 (emit_no_conflict_block): Ditto.
1089 * md.texi (Standard Names): Clarify when movX is needed.
1091 * combine.c (simplify_comparison) [MINUS]: Do not replace
1092 all (op (minus A B) 0) with (op A B).
1094 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
1095 J"orn Rennecke <amylaar@cygnus.co.uk>
1097 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1098 (block_lump_real): Likewise.
1100 2000-04-05 Chris Demetriou <cgd@netbsd.org>
1102 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1103 remaining non-zero debugging masks.
1105 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
1107 * basic-block.h (verify_flow_info): Declare.
1108 (flow_loop_outside_edge_p): Declare.
1109 * flow.c (verify_flow_info): Remove declaration.
1110 (clear_log_links, flow_loop_outside_edge_p): Likewise.
1112 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
1114 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1117 2000-04-05 Jakub Jelinek <jakub@redhat.com>
1119 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1120 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1121 seqdi_zero_trunc+1): Allow splits only if registers are
1124 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
1126 * acconfig.h: Add HAVE_GAS_HIDDEN.
1127 * config.in: Regenerated.
1128 * configure.in: Add test for .hidden pseudo-op in gas.
1129 * configure: Regenerated.
1130 * crtstuff.c: Include auto-host.h.
1131 Emit additional .hidden pseudo-op for __dso_handle if the
1132 assembler knows about it.
1134 2000-04-04 Philippe De Muyter <phdm@macqel.be>
1136 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1137 before freeing argnames.
1138 * cpplib.c (do_ifndef): Cast return value of xstrdup.
1140 2000-04-05 Michael Meissner <meissner@redhat.com>
1142 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1143 Walton <jonboy@gordian.com> to make memory references with update
1144 work wtih -mregnames.
1146 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1148 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1149 (regrename_optimize): Rename variables `def_uses' and
1150 `ext_basic_blocks' to avoid conflicts with similarly named
1151 typedefs in traditional C.
1153 * calls.c (initialize_argument_information): Fix typo in previous
1156 2000-04-04 Richard Henderson <rth@cygnus.com>
1158 * regrename.c (consider_available): Test fixed_regs not
1159 PIC_OFFSET_TABLE_REGNUM.
1161 2000-04-04 Geoff Keating <geoffk@cygnus.com>
1163 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1165 (CRTSTUFF_T_CFLAGS_S): Delete definition.
1166 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1167 (ENDFILE_LINUX_SPEC): Always use crtend.
1168 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1169 (powerpc-*-linux-gnu): Likewise.
1170 * configure: Regenerate.
1172 * config/rs6000/eabi.h: Don't include sysv4.h.
1173 (MULTILIB_DEFAULTS): Don't define.
1174 * config/rs6000/eabiaix.h: Don't include eabi.h.
1175 * config/rs6000/eabile.h: Delete.
1176 * config/rs6000/eabilesim.h: Delete.
1177 * config/rs6000/eabisim.h: Don't include eabi.h.
1178 * config/rs6000/linux.h: Don't include sysv4.h.
1179 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1180 (MULTILIB_DEFAULTS): Don't redefine.
1181 * config/rs6000/rtems.h: Don't include eabi.h.
1182 * config/rs6000/sol2.h: Don't include sysv4le.h.
1183 * config/rs6000/sysv4le.h: Don't include sysv4.h.
1184 * config/rs6000/t-ppc: Delete.
1185 * config/rs6000/t-ppcgas: Correct comment.
1186 * config/rs6000/t-ppcos: Correct comment. Don't build
1187 multilibs for -fPIC, rather use -fPIC -mstrict-align
1189 * config/rs6000/t-ppc: Delete.
1190 * config/rs6000/vxppc.h: Don't include sysv4.h.
1191 * config/rs6000/vxppcle.h: Delete.
1192 * configure.in: Use multiple header files for p2pc ELF targets
1193 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1194 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1195 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1196 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
1197 always available for these platforms.
1199 2000-04-04 Richard Henderson <rth@cygnus.com>
1201 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1203 2000-04-04 Stan Cox <scox@cygnus.com>
1205 * Makefile.in: Add rules for regrename.o
1206 * regrename.c: New file.
1207 * rtl.h (regrename_optimize): Add prototype.
1208 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1209 (compile_file, decode_d_option): Add support for -frename-registers.
1210 (rest_of_compilation): Call regrename_optimize.
1211 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1214 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1216 * Makefile (gccbug): New target.
1217 (doc): Depend on it.
1218 * gcc.texi (Bugs): Link subnodes.
1220 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1221 Document severities, priorities, and classes in bug form.
1223 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
1225 * cpplex.c (trigraph_map, speccase): Combine into single
1227 (NORMAL, NONTRI): New macros.
1228 (_cpp_read_and_prescan): Change to use unified table. Use
1229 is_hspace to test for whitespace.
1231 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1232 definition that doesn't provoke the "empty body in an
1233 if-statement" warning.
1235 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
1237 * builtins.c (expand_builtin_strlen): Force the source to
1238 be a memory address.
1240 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1242 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1244 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1246 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1247 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
1248 (ECF_IS_CONST): Rename to ECF_CONST.
1249 (special_function_p): Make static, change interface.
1250 (flags_from_decl_or_type, try_to_integrate): Break out from ...
1251 (expand_call) ... here; convert number of variables to flags.
1252 (emit_library_call_vlue_1): Likewise.
1253 (setjmp_call_p): New function.
1254 (initialize_argument_information): Accepts flags as argument;
1256 (precompute_arguments): Likewise.
1257 * tree.h (special_function_p): Remove.
1258 (setjmp_call_p): Add prototype.
1260 2000-04-04 Jakub Jelinek <jakub@redhat.com>
1262 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1263 so that addresses are offsetable by up to 16 bytes.
1264 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1265 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1268 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1269 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1270 (movsf): Don't force any constant to memory if target is integer
1272 Move fp_zero_operand check below the const0_rtx check.
1273 (movtf): Likewise. Also allow fp_zero_operand for stores into
1275 (movdf): Likewise. Also allow fp_zero_operand for stores into
1276 memory and into integer hard registers.
1277 (clear_df, clear_dfp, movdf_const_intreg_sp32,
1278 movdf_const_intreg_sp64): Remove.
1279 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1281 (movdf_no_e_insn_v9_sp32): New pattern.
1282 (movdf_insn_v9only): Remove.
1283 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1284 (movdf_insn_sp64): Remove.
1285 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1286 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1287 (following splits): Rewrite conditions. Add two new splits
1288 for storing 0.0 into memory and registers.
1289 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1290 (movtf_insn_sp32): Redo constraints and conditions.
1291 (movtf_insn_vis_sp32): New pattern.
1292 (movtf_no_e_insn_sp32): Redo constraints and conditions.
1293 (movtf_insn_hq_sp64): Likewise.
1294 (movtf_insn_hq_vis_sp64): New pattern.
1295 (movtf_insn_sp64): Redo constraints and conditions.
1296 (movtf_insn_vis_sp64): New pattern.
1297 (movtf_no_e_insn_sp64): Redo constraints and conditions.
1298 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1300 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1301 -mvis or -m64 to take down the number of various reload patterns.
1303 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
1305 * pa/pa-64.h: New file.
1306 * pa/pa64-regs.h: New file.
1307 * pa/pa64-start.h: New file.
1308 * pa/t-pa64: New file.
1309 * pa/xm-pa64hpux.h: New file.
1311 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1313 * sparc.c (output_restore_regs): Prototype.
1314 (sparc_emit_float_lib_cmp): Constification.
1316 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1318 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1321 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1322 (get_value_hash, hash_rtx): Likewise.
1324 * ssa.c (compute_conservative_reg_partition): Prototype.
1326 * tree.c (mark_hash_entry): Prototype.
1328 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
1330 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1331 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1332 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1334 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1335 * objc/lang-specs.h: Likewise.
1337 2000-04-03 Neil Booth <NeilB@earthling.net>
1339 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
1340 and SYNTAX_ERROR2. Replace `' in messages with ''.
1341 (op_to_str): Make re-entrant.
1342 (_cpp_parse_expr): Implement new error macros. Use | rather
1343 than || to logically or 2 boolean integers. Simply expression
1344 checking we have a left operand iff needed.
1346 2000-04-03 Nick Clifton <nickc@cygnus.com>
1348 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1350 2000-04-03 Philip Blundell <philb@gnu.org>
1352 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1354 2000-04-03 Felix Lee <flee@cygnus.com>
1356 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
1357 (run_shell): Use it.
1359 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
1361 * Makefile.in (stmp-int-hdrs): Make include subdir here...
1362 (stmp-fixproto): ...rather than here.
1364 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
1366 * pa.c (print_operand): Compute 'base' only inside the code paths
1369 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
1371 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1374 2000-04-03 Philipp Thomas <pthomas@suse.de>
1376 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1378 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
1380 * Makefile.in (alias.o): Depend on $(TREE_H).
1382 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
1384 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1386 * cpplib.c (_cpp_handle_directive): Improve warnings for
1387 traditional C and indented directives.
1389 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1390 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1391 fixinc/inclhack.def: Indent the # of #include_next one space.
1392 * cp/rtti.c: Un-indent #if and #endif.
1394 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1395 syntax error, but an error has already been printed.
1396 * cpplex.c (_cpp_parse_assertion): Give a more specific error
1397 message when called with nothing remaining on the line.
1398 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1399 OTHER token, not an ASSERTION.
1400 * cpplib.c (do_assert): When we create a 'base' node, clear
1401 its aschain pointer.
1403 2000-04-02 Neil Booth <NeilB@earthling.net>
1405 * cppexp.c: New typedef op_t. struct operation and struct
1406 token updated to use it.
1407 (op_to_str): New function.
1408 (_cpp_parse_expr): Error messages modified to use op_to_str.
1410 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1412 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1413 before checking MUST_PASS_IN_STACK.
1415 2000-04-02 Neil Booth <NeilB@earthling.net>
1417 * cppexp.c: New FINISHED dummy token. Combine operator initial
1418 flags and initial priority into a single constant. New
1419 EQUALITY macro. New operator flag SHORT_CIRCUIT.
1420 (_parse_cpp_expr): Implement new constants. Take left operand
1421 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
1422 parse indicated by reducing FINISHED token. Remove new lines
1423 from cpp_error messages.
1425 2000-04-01 Mark Mitchell <mark@codesourcery.com>
1427 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1430 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
1432 * cpplib.c: Include symcat.h. Add 'origin' field to struct
1433 directive. Add origin values to DIRECTIVE_TABLE. Generate
1434 the strings and function names on the fly. Take the #sccs
1435 entry out of the table if SCCS_DIRECTIVE is not defined.
1436 (_cpp_handle_directive): Decide if the # was at the beginning
1437 of the line here. Issue -pedantic warnings for extended
1438 directives here. Warn about K+R directives with the #
1439 indented, and C89/extended directives with the # not indented,
1441 (do_import, do_include_next, do_warning, do_ident, do_sccs,
1442 do_assert, do_unassert): Don't issue pedantic warning here.
1444 * cpphash.h: Add CPP_WTRADITIONAL macro.
1445 * cpplib.h (struct cpp_options): Rename warn_stringify to
1446 warn_traditional; update comments.
1447 * cppinit.c (handle_option): Set warn_traditional not
1449 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1450 CPP_WTRADITIONAL (pfile).
1451 * cpplex.c (_cpp_lex_token): Don't decide if directives should
1452 be ignored in -traditional mode here.
1454 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1455 to initialize speccase[] and trigraph_map[]. Delete all
1456 references to pfile->input_speccase. Always treat '?' as a
1457 special character. Remove table-initialization code from
1458 _cpp_init_input_buffer.
1460 * cpplib.h (struct cpp_reader): Remove input_speccase field.
1461 * cppinit.c (cpp_cleanup): Don't free input_speccase.
1463 2000-04-01 Richard Henderson <rth@cygnus.com>
1465 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1466 (mostlyclean): Likewise.
1468 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1469 (struct dump_file_info, enum dump_file_index, dump_file): New.
1470 (open_dump_file): Take a dump_file_index not a suffix, and a decl
1471 not a string. Clean out file if we havn't yet done so. Do nothing
1472 if the dump isn't enabled.
1473 (close_dump_file): Do nothing if the dump isn't open. Dump
1474 graph data if requested.
1475 (dump_rtl, clean_dump_file): Remove.
1476 (compile_file): Don't clean the dump files. Only finalize .bp dump
1477 if flag_test_coverage or flag_branch_probabilities. Only finalize
1478 .combine dump if optimizing. Iterate over dump_file to finalize the
1480 (rest_of_compilation): Update for open_dump_file/close_dump_file.
1481 Convert all uses of dump_rtl.
1482 (decode_d_option): Iterate over dump_file to implement 'a' and to
1483 locate pass-specific dumps.
1485 2000-04-01 Neil Booth <NeilB@earthling.net>
1487 * cppexp.c: Redefine priority constants.
1488 (_cpp_parse_expr): Replace left and right priority scheme with
1489 single priority logic. Move LOGICAL to same place as COMPARE.
1490 Remove bogus check for multiple unary +/- operators.
1492 2000-04-01 Neil Booth <NeilB@earthling.net>
1494 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1495 within the switch statement. Binary operations break out of
1496 the switch naturally. '(' tokens handled by forcing
1497 immediate shift. ')' handled by forcing immediate reduce to
1498 the previous '('. New error messages.
1500 2000-03-31 Geoff Keating <geoffk@cygnus.com>
1502 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1503 part', it's already in use. Use %K instead. Add a return at the
1504 end of what is now %K.
1505 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
1507 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
1509 * builtins.c (expand_builtin_apply): Pass proper parameters to
1510 allocate_dynamic_stack_space.
1511 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
1512 update stack_pointer_delta; do not update arg_size_so_far.
1513 (compute_argument_block_size): Use stack_delta instead of
1514 stack_pointer_pending and arg_size_so_far.
1515 (expand_call): Add sanity checking for stack_pointer_delta;
1516 save and restore stack_pointer_delta for SIB, use
1517 stack_pointer_delta for alignment; do not update arg_space_so_far.
1518 (emit_library_call_value): Use stack_pointer_delta for alignment.
1519 (store_one_arg): Do not update arg_space_so_far.
1520 * explow.c (adjust_stack, anti_adjust_stack): Update
1521 stack_pointer_delta.
1522 (allocate_dynamic_stack_space): Add sanity checking for
1523 stack_pointer_delta.
1524 * expr.c (init_expr, clear_pending_stack_adjust): Clear
1525 stack_pointer_delta.
1526 (emit_push_insn): Update stack_pointer_delta.
1527 * function.h (struct expr_status): Add x_stack_pointer_delta;
1528 remove x_arg_space_so_far.
1529 (arg_space_so_far): Remove.
1530 (stack_pointer_delta): New macro.
1532 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
1534 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1535 Reorder struct cpp_options and struct cpp_reader for better
1536 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
1537 takes two args. Change all 'char' flags to 'unsigned char'.
1538 Move show_column flag into struct cpp_options. Don't
1539 prototype cpp_options_init.
1540 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1541 cppinit.c, cpplex.c, cpplib.c:
1542 Replace CPP_OPTIONS (pfile)->whatever with
1543 CPP_OPTION (pfile, whatever), and likewise for
1544 opts = CPP_OPTIONS (pfile); ... opts->whatever;
1546 * cppinit.c (merge_include_chains): Take a cpp_reader *.
1547 Extract CPP_OPTION (pfile, pending) and work with that
1549 (cpp_options_init): Delete.
1550 (cpp_reader_init): Turn on on-by-default options here.
1551 Allocate the pending structure here.
1552 (cl_options, enum opt_code): Define these from the same table,
1553 kept in a large macro. Add -fshow-column and -fno-show-column
1556 * cpperror.c (v_message): If show_column is off, don't print
1559 * cppmain.c: Update for new interface.
1560 * fix-header.c: Likewise.
1562 2000-03-30 Geoff Keating <geoffk@cygnus.com>
1564 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1566 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1567 are passed to any invocation of AR_FOR_TARGET.
1568 (AR_CREATE_FOR_TARGET): New macro.
1569 (AR_EXTRACT_FOR_TARGET): New macro.
1570 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1571 AR_EXTRACT_FOR_TARGET.
1572 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1573 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1574 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
1575 AR_EXTRACT_FOR_TARGET to sub-makes.
1577 2000-03-31 Neil Booth <NeilB@earthling.net>
1579 * cppexp.c: Delete SKIP_OPERAND. Correct priority
1581 (_cpp_parse_expr): Check for multiple unary +/- operators.
1582 Correct priorities of ':' and '?'. Treat ')' as having a
1583 value. Ensure conditional expression is not void.
1585 2000-03-31 Mark Mitchell <mark@codesourcery.com>
1587 * alias.c (canon_rtx): Make it global.
1588 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1590 * cse.c (struct table_elt): Add canon_exp.
1592 (invalidate): Canonicalize expressions only once.
1593 * rtl.h (canon_rtx): Declare.
1595 2000-03-30 Mark Mitchell <mark@codesourcery.com>
1597 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1598 * alias.c (reg_known_value): Add comments.
1599 (init_alias_analysis): Likewise.
1600 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1602 (cse_basic_block): Fix typo in comment.
1603 * emit-rtl.c: Include hashtab.h.
1604 (const_int_htab): New variable.
1605 (const_int_htab_hash): New function.
1606 (const_int_htab_eq): Likewise.
1607 (rtx_htab_mark_1): Likewise.
1608 (rtx_htab_mark): Likewise.
1609 (gen_rtx_CONST_INT): Cache all CONST_INTs.
1610 (unshare_all_rtx): Fix formatting.
1611 (init_emit_once): Initialize const_int_htab.
1612 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1614 * rtl.texi: Document the fact that all CONST_INTs with the same
1617 2000-03-30 Richard Henderson <rth@cygnus.com>
1619 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1621 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
1623 * configure.in: Comment out --enable-c-cpplib stanza.
1624 * configure: Regenerate.
1626 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1628 * expr.c (store_constructor): Properly compute displacement and
1629 alignment when offset is variable.
1631 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1632 cases of alignment in bytes.
1634 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
1636 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1637 since it is used to generate c-parse.y.
1638 * objc-parse.c, objc-parse.y: Regenerated.
1640 * function.c (expand_function_end): Pass alignment argument to
1641 emit_block_move in bits, not bytes.
1643 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1645 * expr.c (move_by_pieces_ninsns): Fix one more missing align
1648 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1650 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1651 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1652 * function.c (assign_parms): Likewise.
1653 * integrate.c (expand_inline_function): Likewise.
1654 * stmt.c (expand_decl): Likewise.
1655 (copy_rtx_and_substitute): Likewise.
1656 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1657 (clear_by_pieces): Fix error in last change.
1658 * emit-rtl.c (init_emit): Set known registers alignment in bits.
1659 * function.h (regno_pointer_align): Now unsigned.
1660 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1662 * config/i386/i386.c (aligned_operand): Likewise.
1663 * config/sparc/sparc.c (mem_min_alignment): Likewise.
1664 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1665 (unaligned_memory_operand): Likewise.
1666 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1667 Also make alignments and sizes unsigned and some whitespace cleanup.
1668 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1670 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1671 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1672 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1673 (expand_builtin_memset): Likewise, but to clear_storage.
1674 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1675 (restore_fixed_argument_area): Likewise.
1676 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1677 (load_register_parameters): Likewise, to emit_group_load.
1678 (expand_call): Likewise, to emit_group_store and emit_block_move.
1679 (emit_library_call_value_1): Likewise, to emit_block_move.
1680 (store_one_arg): Likewise, and to emit_push_insn.
1681 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1682 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1683 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1684 (emit_block_move, emit_group_load, emit_group_store): Likewise.
1685 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1686 (expand_assigment, store_expr, store_constructor_field): Likewise.
1687 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1688 (store_constructor, store_field, get_inner_reference): Likewise.
1689 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1690 (expand_expr, case COMPONENT_REF): Likewise.
1691 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1692 and positions; reindent code.
1693 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1694 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1695 (assign_parms): Likewise to emit_group_store.
1696 * optabs.c (prepare_cmp_insn): Alignment is in bits.
1697 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1698 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1699 (expand_return): Likewise to {extract,store}_bit_field.
1700 * stor-layout.c (get_mode_alignment): Minor cleanup.
1701 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1702 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1704 2000-03-29 Nick Clifton <nickc@cygnus.com>
1706 * config/arm/arm.h: Undo effects of previous delta:
1707 (ASM_SPEC): Do not define.
1708 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1710 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1713 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1715 * cppinit.c (cpp_start_read): Call initialize_dependency_output
1716 only after reading in the primary source file.
1718 2000-03-29 Geoff Keating <geoffk@cygnus.com>
1720 * c-common.c (c_common_nodes_and_builtins): The first parameter to
1721 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1722 or a reference to a va_list.
1723 * builtins.c (stabilize_va_list): Simplify now we don't have to
1724 work around C array address decay.
1725 * c-typeck.c (convert_for_assignment): Handle assignment to
1726 a reference parameter by taking the address of the RHS.
1727 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1728 (va_copy): Likewise.
1729 (__va_copy): Likewise.
1730 * ginclude/varargs.h (va_start): Likewise.
1731 (__va_copy): Likewise.
1733 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
1735 * i386/djgpp.h: Remove extraneous "+".
1737 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1739 * calls.c (expand_call): Fix typo in last change.
1741 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
1743 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1746 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1748 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1749 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1750 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1751 * tree.c (bit_position, byte_position): Likewise.
1752 * tree.h: Declare new functions.
1754 2000-03-29 Nick Clifton <nickc@cygnus.com>
1756 * config/arm/arm.c: Minor formatting changes/
1757 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1759 (ASM_SPEC): Define if not already defined.
1761 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1763 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1766 2000-03-29 Jakub Jelinek <jakub@redhat.com>
1768 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1769 value, don't output it as unsigned.
1771 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
1773 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1775 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1777 * c-common.c (c_common_nodes_and_builtins): Don't special case
1778 cplus_mode when declaring builtin bzero/bcmp, always avoid
1779 prototype arguments.
1781 2000-03-29 Bruce Korb <bkorb@gnu.org>
1783 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1786 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
1788 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1789 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1790 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1791 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1792 (save_fixed_argument_area, restore_fixed_argument_area):
1793 conditionize by #ifdef REG_PARM_STACK_SPACE only.
1794 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1795 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1796 (precompute_register_parameters): Avoid #ifdefs on
1797 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1798 (stire_one_args): Likewise.
1799 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1800 (emit_library_call_value_1): Likewise.
1801 (compute_argument_block_size): Align to STACK_BOUNDARY only for
1802 ACCUMULATE_OUTGOING_ARGS.
1803 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1805 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1806 (use_crosses_set_p): Likewise.
1807 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1808 #define ACCUMULATE_OUTGOING_ARGS 1.
1809 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1811 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1813 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1814 (TARGET_SWITCHES): Add push-args, no-push-args,
1815 accumulate-outgoing-args and no-accumulate-outgoing-args.
1816 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1817 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1818 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1820 (emit_push_insn): Likewise.
1821 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1822 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1823 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1824 (STACK_DYNAMIC_OFFSET): Define correctly for both
1825 ACCUMULATE_OUTGOING_ARGS and normal mode.
1826 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1827 * tm.texi (PUSH_ARGS): Document.
1828 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1830 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
1832 * flags.h (flag_optimize_sibling_calls): Declare.
1833 * calls.c (expand_call): Fail sibcall when
1834 !flag_optimize_sibling_calls
1835 * invoke.texi (flag_optimize_sibling_calls): Document.
1836 * toplev.c (flag_optimize_sibling_calls): New global variable.
1837 (f_options): Add flag_optimize_sibling_calls.
1838 (rest_of_compilation): Conditionize
1839 optimize_sibling_and_tail_recursive_calls by
1840 flag_optimize_sibling_calls.
1841 (main): Set flag_optimize_sibling_calls for -O2.
1842 * stmt.c (expand_return): Conditionize tail recursion by
1843 flag_optimize_sibling_calls.
1845 2000-03-29 Richard Henderson <rth@cygnus.com>
1847 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1848 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1850 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
1852 * except.c (add_eh_table_entry): Mark type_info's as referenced.
1854 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1856 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1858 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1859 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1860 * config/rs6000/aix.h: then modified likewise.
1862 2000-03-28 Richard Henderson <rth@cygnus.com>
1864 * rtl.h: Redistribute enum reg_note documentation.
1865 Kill trailing whitespace.
1866 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1867 Kill trailing whitespace.
1869 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
1871 * cppfiles.c (hash_IHASH): Just return i->hash.
1872 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
1873 htab_find_with_hash.
1874 (cpp_read_file): Likewise.
1875 (find_include_file): Likewise. Properly initialize
1876 ih->nshort. Share ih->name and ih->nshort if possible.
1877 * cpphash.c (_cpp_calc_hash): New function.
1878 (hash_HASHNODE): Just return h->hash.
1879 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
1880 htab_find_with_hash.
1881 * cpphash.h: Prototype _cpp_calc_hash.
1882 * cppinit.c (initialize_builtins): Provide a valid hash
1883 to _cpp_make_hashnode, using _cpp_calc_hash.
1885 * cpphash.c (collect_expansion): # is not a special character
1886 in object-like macros. In -traditional mode, /**/ is not
1887 token paste at the beginning or end of the line.
1888 * cpplib.c (do_include, do_import, do_include_next): If
1889 parse_include fails, return immediately.
1891 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
1893 * config/arm/arm.md (return peepholes): Update to reflect the new
1895 * config/arm/arm.c (arm_volatile_func): Also check
1896 current_function_nothrow.
1897 (output_return_instruction, output_func_prologue): Use it.
1898 (arm_output_epilogue, arm_expand_prologue): Likewise.
1900 2000-03-27 Tom Tromey <tromey@cygnus.com>
1902 * gcc.c (handle_braces): In {x*...} case, break out of loop if
1905 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1907 * expr.c (store_constructor): SIZE now signed.
1908 For EXPR_SIZE, don't evaluate size; just needed if constant.
1909 * fold-const.c (fold): Fix a number of cases when folded tree is
1911 * function.c (flush_addressof): Reenable.
1912 * tree.h (flush_addressof): Likewise.
1913 * toplev.c (independent_decode_option): Look at strings_processed.
1914 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1916 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
1918 * sibcall.c (indentify_call_return_value): Find last call in the chain;
1919 Allow stack adjustment after function call.
1921 * regmove.c (struct csa_memlist): Make mem field rtx *.
1922 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1923 (try_apply_stack_adjustment): Replace whole MEM rtx.
1924 (combine_stack_adjustments_for_block): Update calls
1925 to record_one_stack_ref.
1927 2000-03-28 Neil Booth <NeilB@earthling.net>
1929 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1930 '\\' rather than a null character, so nulls are not special. Fix
1931 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
1932 speed trigraph conversion.
1933 (_cpp_init_input_buffer): Initialize trigraph map.
1935 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1937 * config/i386/i386.c (output_387_binary_op): Correct intel
1938 mode assembly output, and add spaces after commas in AT&T
1939 output. Correct Unixware assembler comment. Document input
1940 constraints. Comment fp operations. Reduce profligate buffer
1941 size. Remove extraneous abort. Localize temp var.
1942 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
1943 (output_fix_trunc): Add spaces after commas in assembly output.
1945 2000-03-27 Richard Henderson <rth@cygnus.com>
1947 * i386-protos.h (ix86_match_ccmode): Declare.
1948 * i386.c (ix86_match_ccmode): New.
1949 (ix86_expand_fp_compare): Update for pattern renames.
1950 (ix86_expand_strlensi_unroll_1): Likewise.
1951 * i386.h (EXTRA_CC_MODES): Add CCZ.
1952 (SELECT_CC_MODE): Use it for EQ/NE zero.
1953 * i386.md (cmpsi_ccz_1): New.
1955 (*testsi_ccz_1): New.
1956 (testqi_ccz_1): New.
1957 (cmpsi_ccno_1): Rename from cmpsi_0.
1958 (testsi_ccno_1): Rename from testsi_1.
1959 (testqi_ccno_1): Rename from testqi_1.
1960 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1961 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1962 (*cmphi_0): Use ix86_match_ccmode.
1963 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1964 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1965 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1966 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1967 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1968 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1969 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1970 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1971 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1972 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1973 (appropriate peepholes): Likewise.
1974 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1975 (*subsi_3, *subhi_3, *subqi_3): Remove.
1976 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1977 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1978 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1979 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1980 (x86_shift_adj_1): Use CCZ.
1981 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1983 2000-03-27 Stan Cox <scox@cygnus.com>
1985 * resource.h (mark_resource_type): New.
1986 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
1987 find_free_register): Use mark_resource_type.
1988 (mark_set_resources): Change include_delayed_effects
1989 to mark_resource_type.
1990 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
1991 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
1992 Use mark_resource_type.
1994 2000-03-27 Richard Henderson <rth@cygnus.com>
1996 * i386.md (call_pop_0, call_value_pop_0): New.
1997 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
1998 (call_value_pop_1): Likewise.
1999 (call_0, call_value_0): New.
2000 (call_1, call_value_1): Remove constraint from unused arg.
2002 2000-03-27 Nick Clifton <nickc@cygnus.com>
2004 * invoke.texi (Spec Files): Document new spec % command created by
2005 Tom Tromey's recent patch.
2007 2000-03-27 Jakub Jelinek <jakub@redhat.com>
2009 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2012 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2014 * expr.c (expand_assignment): Fix typo in last change.
2016 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2018 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2020 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2021 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2022 and DECL_INLINE if FUNCTION_DECL.
2023 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2024 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2025 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2026 (combine_parm_decls): Likewise.
2027 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2028 * print-tree.c (print_node): Likewise.
2029 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2030 DECL_TRANSPARENT_UNION on proper decl types.
2031 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2032 * stor-layout.c (layout_decl): Only check DECL_PACKED and
2033 DECL_BIT_FIELD of FIELD_DECL.
2034 * tree.h (DECL_RESULT_FLD): New macro.
2036 * expr.c (expand_assignment): Add code to handle variable-sized
2039 2000-03-26 Richard Henderson <rth@cygnus.com>
2041 * calls.c (expand_call): Pass parms not original exp to
2042 optimize_tail_recursion. Mind return value instead of looking
2044 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2045 call_expr. Move checks for call_expr and current_function_decl ...
2046 (expand_return): ... here.
2048 2000-03-26 Tom Tromey <tromey@cygnus.com>
2050 * gcc.c (handle_braces): Recognize `%{<S}' construct.
2051 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2053 (process_command): Use them.
2054 (check_live_switch): Likewise.
2055 (give_switch): Skip ignored switches.
2057 2000-03-26 Jan Hubicka <jh@suse.cz>
2059 * jump.c (jump_optimize_1): Fix typo in elide optimizations
2060 for minimal jump pass test.
2062 2000-03-26 Mark Mitchell <mark@codesourcery.com>
2064 * integrate.c (function_cannot_inline_p): Do inline functions that
2067 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2069 * stor-layout.c (layout_type, set_sizetype): early_type_list is
2070 now a list of TREE_LIST entries, not types.
2071 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2073 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2074 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2076 * config/mips/mips.c (function_arg): Likewise; also remove cast
2077 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2078 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2079 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2080 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2081 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2082 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2083 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2084 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2085 num_adjusts now unsigned.
2086 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2087 * config/sparc/sparc.c (struct function_arg_record_value_parms):
2089 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2090 as is BITPOS variable; use host_integerp and int_bit_position.
2091 (function_arg_record_value_2): Likewise.
2092 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2093 Variable REGNO now unsigned.
2094 (function_arg_record_value): NREGS now unsigned.
2096 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
2098 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2100 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2102 * Rework fields used to describe positions of bitfields and
2103 modify sizes to be unsigned and use HOST_WIDE_INT.
2104 * alias.c (reg_known_value_size): Now unsigned.
2105 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2106 (really_start_incremental_init): Use bitsize_zero_node.
2107 (push_init_level, pop_init_level, output_init_element): Likewise.
2108 Use bitsize_unit_node and bitsize_one_node.
2109 (output_pending_init_elements, process_init_element): Likewise.
2110 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2111 (make_extraction): Position and length HOST_WIDE_INT and unsigned
2112 HOST_WIDE_INT, respectively.
2113 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2114 (num_sign_bit_copies): Returns unsigned.
2115 BITWIDTH now unsigned; rework arithmetic.
2116 Remove recursive call from arg to MAX.
2117 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2118 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2120 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2121 (find_split_point, expand_compound_operation, make_extraction): LEN
2122 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2123 (make_field_assignment): Likewise.
2124 (combine_simplify_rtx): Add cast.
2125 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2126 (force_to_mode): WIDTH now unsigned; add cast.
2127 (if_then_else_cond): SIZE now unsigned.
2128 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2129 (extended_count): Now returns unsigned.
2130 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2131 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2132 (simplify_comparison): MODE_WIDTH now unsigned.
2133 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2134 (mark_used_regs_combine): Likewise; rework arithmetic.
2135 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2136 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2137 (record_promoted_value): REGNO now unsigned.
2138 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2139 (get_last_value): REGNO now unsigned.
2140 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2141 (reg_dead_regno, reg_dead_endregno): Now unsigned.
2142 (remove_death): Arg REGNO now unsigned.
2143 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2144 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2146 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2147 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2148 (struct cse_reg_info): REGNO now unsigned.
2149 (cached_regno): Now unsigned.
2150 (REGNO_QTY_VALID_P): Add cast.
2151 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2152 (remove_invalid_regs): Likewise.
2153 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2154 as are variables END and I.
2155 (get_cse_reg_info, insert): Likewise.
2156 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2157 (canon_hash): Likewise.
2158 (insert_regs, lookup_for_remove): REGNO now unsigned.
2159 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2161 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2162 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2163 * emit-rtl.c (subreg_realpart_p): Add cast.
2164 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2165 (operand_subword_force): Arg I is now unsigned.
2166 * except.c (eh_regs): Variable I is now unsigned.
2167 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2168 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2169 length is unsigned HOST_WIDE_INT; likewise for internal variables.
2170 (store_split_bit_field, extract_fixed_bit_field): Likewise.
2171 (extract_split_bit_field, store_bit_field, extract_bit_field):
2173 * expr.c (store_constructor_fields, store_constructor, store_field):
2174 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2175 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2176 (do_jump): Likewise.
2177 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2178 MAX_SIZE is now unsigned.
2179 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2180 (emit_group_store): Likewise.
2181 (emit_move_insn): I now unsigned.
2182 (store_constructor): Use host_integerp, tree_low_cst, and
2184 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2185 Rework all calculations to use trees and new fields.
2186 * expr.h (promoted_input_arg): Regno now unsigned.
2187 (store_bit_field, extract_bit_field): Adjust types of pos and size.
2188 (mark_seen_cases): Arg is HOST_WIDE_INT.
2189 * flow.c (verify_wide_reg_1): REGNO now unsigned.
2190 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2191 precisions and alignments are unsigned.
2192 (optimize_bit_field_compare, fold_truthop): Likewise.
2193 (int_const_binop): Adjust threshold for size_int_type_wide call.
2194 (fold_convert): Likewise.
2195 (size_int_type_wide): Make table larger and fix thinko that only
2196 had half of table used.
2197 (all_ones_mask_p, fold): Precisions are unsigned.
2198 * function.c (put_reg_info_stack): REGNO is unsigned.
2199 (instantiate_decl): Size is HOST_WIDE_INT.
2200 (instantiate_virtual_regs): I is unsigned.
2201 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2202 (promoted_input_arg): REGNO is unsigned.
2203 * function.h (struct function): x_max_parm_reg is now unsigned.
2204 * gcse.c (max_gcse_regno): Now unsigned.
2205 (struct null_pointer_info): min_reg and max_reg now unsigned.
2206 (lookup_set, next_set): REGNO arg now unsigned.
2207 (compute_hash_table): REGNO and I now unsigned.
2208 (handle_avail_expr): regnum_for_replacing now unsigned.
2209 (cprop_insn): REGNO now unsigned.
2210 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2211 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2212 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2213 * hard-reg-set.h (reg_class_size): Now unsigned.
2214 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2215 * jump.c (mark_modified_reg): I now unsigned; add cast.
2216 (rtx_equal_for_thread_p): Add cast.
2217 * loop.c (max_reg_before_loop): Now unsigned.
2218 (struct_movable): REGNO now unsigned.
2219 (try_copy_prop): REGNO arg unsigned.
2220 (regs_match_p): XN and YN now unsigned.
2221 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2222 (strength_reduce): Likewise; NREGS also unsigned.
2223 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2224 * loop.h (struct iv_class): REGNO now unsigned.
2225 (max_reg_before_loop, first_increment_giv, last_increment_giv):
2227 * machmode.h (mode_size, mode_unit_size): Now unsigned.
2228 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2229 * optabs.c (expand_binop): I and NWORDS now unsigned.
2230 (expand_unop): I now unsigned.
2231 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2232 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2233 * real.c (significand_size): Now returns unsigned.
2234 * real.h (significand_size): Likewise.
2235 * regclass.c (reg_class_size): Now unsigned.
2236 (choose_hard_reg_mode): Both operands now unsigned.
2237 (record_reg_classes): REGNO and NR now unsigned.
2238 (reg_scan): NREGS now unsigned.
2239 (reg_scan_update): old_max_regno now unsigned.
2240 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2241 * reload.c (find_valid_class): BEST_SIZE now unsigned.
2242 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2243 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2244 Likewise for variable R.
2245 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2246 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2247 (find_equiv_reg): Add casts.
2248 (regno_clobbered_p): Arg REGNO now unsigned.
2249 * reload.h (struct reload): NREGS now unsigned.
2250 (refers_to_regno_for_reload_p): Regno args are unsigned.
2251 (regno_clobbered_p): Likewise.
2252 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2253 (compute_use_by_pseudos): REGNO now unsigned.
2254 (find_reg): I and J now unsigned, new variable K, and change loop
2255 variables accordingly; THIS_NREGS now unsigned.
2256 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2257 (spill_hard_reg): REGNO arg now unsigned; add casts.
2258 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2259 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2260 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2261 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2262 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2263 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2264 (emit_reload_insns): REGNO now unsigned.
2265 (reload_cse_move2add): Add cast.
2266 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2268 * resource.c (mark_referenced_resources, mark_set_resources): New
2269 variable R; REGNO and LAST_REGNO now unsigned.
2270 (mark_target_live_regs): J and REGNO now unsigned.
2271 * rtl.c (mode_size, mode_unit_size): Now unsigned.
2272 * rtl.h (union rtunion_def): New field rtuint.
2273 (XCUINT): New macro.
2274 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2275 (operand_subword, operand_subword_force): Word number is unsigned.
2276 (choose_hard_reg_mode): Operands are unsigned.
2277 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2278 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2279 (regno_use_in, combine_instructions, remove_death): Likewise.
2280 (reg_scan, reg_scan_update): Likewise.
2281 (extended_count): Return is unsigned.
2282 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2283 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2284 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2285 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2286 (reg_reg_last_1): FIRS and LAST now unsigned.
2287 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2288 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2290 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2291 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2292 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2293 (replace_regs): Arg NREGS now unsigned.
2294 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2295 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2296 (simplify_binary_operation): Likewise.
2297 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2298 THIS_LAST now unsigned.
2299 (cselib_record_set): Add cast.
2300 * ssa.c (ssa_max_reg_num): Now unsigned.
2301 (rename_block): REGNO now unsigned.
2302 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2304 (all_cases_count): Just return -1 not -2.
2305 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2306 Rework tests to use trees whenever possible.
2307 Use host_integerp and tree_low_cst.
2308 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2309 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2310 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2311 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2312 (smallest_mode_for_size): Likewise.
2313 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2314 KNOWN_ALIGN is now an alignment, so simplify code.
2315 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2316 (start_record_layout): Renamed from new_record_layout_info.
2317 Update to new fields.
2318 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2320 (place_union_field): Renamed from layout_union_field.
2321 Update to use new fields in rli.
2322 (place_field): Renamed from layout_field.
2323 Major rewrite to use new fields in rli; pass alignment to layout_decl.
2324 (finalize_record_size): Rework to use new fields in rli and handle
2326 (compute_record_mode): Rework to simplify and to use new DECL fields.
2327 (finalize_type_size): Make rounding more consistent.
2328 (finish_union_layout): Deleted.
2329 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2330 (layout_type, case RECORD_TYPE): Call new function names.
2331 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2332 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2333 (get_best_mode): UNIT is now unsigned; remove casts.
2334 * tree.c (bit_position): Compute from new fields.
2335 (byte_position, int_byte_position): New functions.
2336 (print_type_hash_statistics): Cast to remove warning.
2337 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2338 (build_index_type): Likewise; make subtype of sizetype.
2339 (build_index_2_type): Pass sizetype to build_range_type.
2340 (build_common_tree_nodes): Use size_int and bitsize_int to
2341 initialize nodes; add bitsize_{zero,one,unit}_node.
2342 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2343 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2344 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2345 (DECL_FIELD_BITPOS): Deleted.
2346 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2347 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2348 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2349 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2350 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2351 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2352 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2353 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2354 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2355 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2356 (DECL_ALIGN): Adjust to new field in union.
2357 (DECL_OFFSET_ALIGN): New field.
2358 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2359 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2360 (union tree_decl): Add struct for both aligns.
2361 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2362 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2363 (struct record_layout_info): Rework fields to have offset
2364 alignment and byte and bit position.
2365 (start_record_layout, place_field): Renamed from old names.
2366 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2367 (byte_position, int_byte_position): Likewise.
2368 (get_inner_reference): Change types of position and length.
2369 * unroll.c (unroll_loop): New variable R; use for some loops.
2370 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2371 (calculate_giv_inc): Arg REGNO now unsigned.
2372 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2373 * varasm.c (assemble_variable): Clean up handling of size using
2374 host_integerp and tree_low_cst.
2375 (decode_addr_const): Use byte, not bit, position.
2376 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2377 use tree_low_cst and int_bit_position.
2378 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2380 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
2382 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2383 (reorder_block_def): New members eff_head and eff_end.
2384 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2385 (verify_insn_chain): New function.
2386 (skip_insns_between_block): Add code to skip deleted insns.
2387 Check for note before using.
2388 (chain_reorder_blocks): Replace calls to skip_insns_between_block
2389 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2390 Check for note before using.
2391 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2392 (fixup_reorder_chain): Restructure, clean up, defect removal.
2393 (reorder_basic_blocks): Remove last_insn and references to it.
2394 Moved insn chain verification code into a new function (see above).
2395 Delete defective code that sets last insn.
2396 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2399 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2401 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2403 2000-03-24 Richard Henderson <rth@cygnus.com>
2405 * tree.c (lang_safe_for_unsave): Remove.
2406 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2407 allowing for two levels of unsafeness. Remove lang hook.
2408 * tree.h: Update declarations.
2409 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2410 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2411 Always fail sibcalls when there are pending cleanups.
2413 2000-03-24 Geoff Keating <geoffk@cygnus.com>
2415 * flow.c (propagate_block): When we delete an ADDR_VEC,
2416 also delete the BARRIER following it if there is one.
2418 2000-03-24 Richard Henderson <rth@cygnus.com>
2420 * builtins.c (expand_builtin_bzero): Convert `length' argument
2423 2000-03-24 Jakub Jelinek <jakub@redhat.com>
2425 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2426 comparison if regno's are equal.
2427 * calls.c (initialize_argument_informat): Add ecf_flags argument.
2428 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2429 (expand_call): Update caller.
2430 Avoid making a sibling call if argument size of the callee is larger
2431 than argument size of the caller.
2432 Call hard_function_value with outgoing set if in sibcall pass.
2433 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2435 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2436 Change LEAF_REGISTERS from an array initializer to actual array
2437 identifier. Move static global variable into the function.
2438 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2439 sequences for leaf functions.
2440 * global.c (global_alloc): Likewise.
2441 * tm.texi (LEAF_REGISTERS): Update documentation.
2443 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2444 TARGET_FLAT leaf disabling hack.
2445 (LEAF_REGISTERS): Changed from an array initializer to actual array
2446 identifier to avoid duplication and remove the above hack.
2447 (FUNCTION_OK_FOR_SIBCALL): Define.
2448 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2449 always like call attribute.
2450 (eligible_for_sibcall_delay): New attribute.
2451 (sibcall): New delay type.
2452 (sibcall, sibcall_value, sibcall_epilogue): New expands.
2453 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2454 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2455 * config/sparc/sparc.c (sparc_leaf_regs): New array.
2456 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2458 (output_function_epilogue): Move part of the code into
2459 output_restore_regs.
2460 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2462 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2465 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2466 until infrastructure is finished.
2468 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
2470 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2471 (save_parm_insns): Not here.
2473 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2475 * builtins.c (expand_builtin_bzero): New function.
2476 (expand_builtin): Handle bzero.
2478 * builtins.def: Add BUILT_IN_BZERO.
2480 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2481 prototype & function for bzero.
2483 2000-03-23 Michael Meissner <meissner@redhat.com>
2485 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2486 change adding TARGET_FP to the TF floating point insns, except for
2487 trunctfsf2, which generates direct calls to truncdfsf2.
2489 2000-03-23 Geoff Keating <geoffk@cygnus.com>
2491 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2492 try to protect against middle-end changes that break binary
2494 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2496 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2498 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
2500 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2502 * calls.c (expand_call): If TARGET is passed by reference and
2503 is readonly, write a CLOBBER.
2505 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2507 * builtins.c (expand_builtin): Handle bcmp.
2509 * builtins.def: Add BUILT_IN_BCMP.
2511 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2512 prototype & function for bcmp.
2514 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
2516 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2517 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2518 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2520 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
2522 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2523 alternative when using -fp64 -gp32.
2525 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2527 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2528 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2529 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2531 * frame.h (frame_state): Revert last change.
2532 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2533 * libgcc2.c (throw_helper): Revert last change.
2535 2000-03-22 Richard Henderson <rth@cygnus.com>
2537 * stmt.c (expand_asm_operands): Don't promote the temporary.
2539 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2541 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2542 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2543 c_get_alias_set): Likewise.
2544 * c-decl.c (duplicate_decls): Likewise.
2545 * c-typeck.c (default_conversion,build_unary_op): Likewise.
2546 * calls.c (initialize_argument_information): Likewise.
2547 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2549 * dwarfout.c (decl_class_context,output_type): Likewise.
2550 * expr.c (get_inner_reference): Likewise.
2551 * fold-const.c (simple_operand_p,fold): Likewise.
2552 * function.c (aggregate_value_p): Likewise.
2553 * stmt.c (expand_asm_operands): Likewise.
2554 * varasm.c (named_section): Likewise.
2556 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2558 Implement dwarf2 exception handling for the ARM.
2559 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2560 (DWARF_FRAME_RETURN_COLUMN): Define.
2561 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
2562 REG_FRAME_RELATED_EXPR note.
2563 (emit_sfm): Likewise.
2564 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2565 * dwarf2out.c (reg_save): Handle saving a register to itself.
2566 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2567 * except.c (eh_regs): Don't use the static chain reg if it's
2569 * frame.h (frame_state): Add cfa_saved field.
2570 * frame.c (execute_cfa_insn): Set it.
2571 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
2573 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2575 (instantiate_virtual_regs): Adjust.
2577 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2578 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2579 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2581 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2582 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2584 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2586 * builtins.def: New file.
2588 * Makefile.in (TREE_H): Depend on builtins.def.
2590 * builtins.c (built_in_names): Use builtins.def.
2592 * tree.h (built_in_function): Likewise.
2594 2000-03-22 Mark Mitchell <mark@codesourcery.com>
2596 * tree.c (size_in_bytes): Return size_zero_node, not
2599 2000-03-22 Geoff Keating <geoffk@cygnus.com>
2601 * config/fp-bit.c (pack_d): Correct the case when a denormal
2602 is rounded up and stops being denormal.
2604 2000-03-21 Richard Henderson <rth@cygnus.com>
2606 * config/alpha/alpha.c (function_arg): Check for void_type_node
2607 before using MUST_PASS_IN_STACK.
2609 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
2611 * regmove.c (combine_stack_adjustments_for_block): Check that
2612 the stack pointer is a valid memory address.
2614 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
2616 * calls.c: re-install Mar 16 emit_library_call merge.
2618 2000-03-21 Jakub Jelinek <jakub@redhat.com>
2620 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2621 we cannot be sure that if reload_completed base register will
2622 be properly aligned.
2624 2000-03-21 Richard Henderson <rth@cygnus.com>
2626 * flow.c (delete_block): Fix typo last change.
2628 2000-03-21 Mark Mitchell <mark@codesourcery.com>
2630 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2631 not COMPLETE_TYPE_P, to check the type of the expression.
2633 2000-03-21 Michael Meissner <meissner@redhat.com>
2635 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2636 all floating point insns that just tested the macro
2637 TARGET_HAS_XFLOATING_LIBS.
2638 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2639 used to only use the gprs.
2641 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
2643 * tree.h (COMPLETE_TYPE_P): New macro.
2644 (COMPLETE_OR_VOID_TYPE_P): New macro.
2645 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2646 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2647 * c-aux-info.c (gen_type): Use them.
2648 * c-common.c (c_expand_expr_stmt): Likewise.
2649 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2650 grokdeclarator, grokparms, finish_struct, start_function,
2651 store_parm_decls, combine_parm_decls): Likewise.
2652 * c-parse.y (cast_expr): Likewise.
2653 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2654 c_size_in_bytes, c_alignof, build_component_ref,
2655 build_indirect_ref, build_array_ref, convert_arguments,
2656 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2657 * calls.c (initialize_argument_information): Likewise.
2658 * convert.c (convert_to_integer): Likewise.
2659 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2660 * dwarfout.c (location_or_const_value_attribute,
2661 output_enumeration_type_die, output_structure_type_die,
2662 output_union_type_die, output_type): Likewise.
2663 * expr.c (safe_from_p, expand_expr): Likewise.
2664 * function.c (assign_parms): Likewise.
2665 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2666 * tree.c (build_array_type, build_function_type,
2667 build_method_type, build_offset_type, build_complex_type): Likewise.
2668 * c-parse.c, c-parse.h: Regenerated.
2670 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2672 * config/c4x/rtems.h: Include config/rtems.h.
2674 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
2676 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2677 decl is a FUNCTION_DECL
2679 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
2681 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2682 function uses output registers. Don't save RP for leaf functions.
2683 Do save RP even if no epilogue.
2684 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2685 (CALL_USED_REGISTERS): Unmark in registers.
2686 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
2689 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2691 * config/rs6000/rs6000.md (bunordered): New expander.
2692 (bordered): New expander.
2693 (buneq): New expander.
2694 (bunge): New expander.
2695 (bungt): New expander.
2696 (bunle): New expander.
2697 (bunlt): New expander.
2698 (bltgt): New expander.
2700 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2701 (ccr_bit_negated_p): New function.
2702 (print_operand): For %C, generate appropriate cror for UNEQ,
2703 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
2705 2000-03-20 Andreas Jaeger <aj@suse.de>
2707 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2710 * tree.h (safe_for_unsave): Prototype.
2712 2000-03-20 Richard Henderson <rth@cygnus.com>
2714 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2715 (combine_stack_adjustments_for_block): Don't allow sp references
2716 in the side of a set we're not fixing up.
2717 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2718 after life_analysis.
2720 2000-03-20 Richard Henderson <rth@cygnus.com>
2722 * calls.c (expand_call): Don't bother generating tail call
2723 sequences if there are pending cleanups. Use
2724 expand_start_target_temps/expand_end_target_temps to elide
2725 cleanups created during sibcall expansion.
2727 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2729 * configure.in: Set $IFS to a value if it doesn't already have one
2730 in the --enable-checking handling.
2731 * configure: Regenerate.
2733 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2735 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2736 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2739 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
2741 * jump.c (delete_noop_moves): Remove code attempting to
2742 combine stack adjustments.
2744 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2746 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2747 * except.c (emit_cleanup_handler): Use them.
2748 (expand_end_all_catch): Likewise.
2749 * function.c (fixup_var_refs): Likewise.
2750 (expand_function_end): Clear catch_clauses_last.
2751 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2752 * except.h (struct eh_status): New field x_catch_clauses_last.
2753 (catch_clauses_last): New define.
2755 * Makefile.in (tree.o): Depend on HASHTAB_H.
2756 * tree.c: Include hashtab.h.
2757 (struct type_hash): Remove next field.
2758 (TYPE_HASH_SIZE): Remove.
2759 (TYPE_HASH_INITIAL_SIZE): New define.
2760 (type_hash_table): Change type to htab_t.
2761 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2762 mark_hash_entry): New functions.
2763 (init_obstacks): Allocate type hash.
2764 (type_hash_lookup): Use htab functions.
2765 (type_hash_add, mark_type_hash): Likewise.
2766 (dump_tree_statistics): Call print_type_hash_statistics.
2768 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2770 * rs6000/t-aix41: New file.
2772 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2774 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
2776 * tm.texi (Driver): Fix typos and tweak entry for
2778 Move misplaced STRUCT_FORCE_BLK entry ...
2779 (Storage Layout): ... to here.
2780 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2782 2000-03-19 Richard Henderson <rth@cygnus.com>
2784 * flow.c (delete_block): Delete the addr_vec along with the block.
2785 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2788 * fold-const.c (extract_muldiv): Apply type check for defined
2789 overflow to multiply as well as divide.
2791 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2793 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2795 * emit-rtl.c (remove_unncessary_notes): Check that all
2796 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2797 associated NOTE_BLOCK.
2798 * function.h (identify_blocks): Update comments.
2799 (reorder_blocks): Declare.
2800 * function.c (identify_blocks): Don't take paramters.
2801 (reorder_blocks): Don't take parameters.
2802 * loop.h (find_loop_tree_blocks): Remove.
2803 (unroll_block_trees): Likewise.
2804 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
2805 reorder_blocks instead of unroll_block_trees.h
2806 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2807 * stmt.c (find_loop_tree_blocks): Remove.
2808 (unroll_block_trees): Likewise.
2809 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2810 in whole-function mode.
2811 * tree.h (reorder_blocks): Remove declaration.
2813 * expr.c: Include intl.h.
2814 * Makefile.in (expr.o): Depend on intl.h.
2816 2000-03-18 Richard Henderson <rth@cygnus.com>
2818 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2820 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2822 * tree.h (tree_index): Remove enumerals for integer types.
2823 (integer_type_kind): New type.
2824 (integer_types): New variable.
2825 (char_type_node): Adjust.
2826 (signed_char_type_node): Likewise.
2827 (unsigned_char_type_node): Likewise.
2828 (short_integer_type_node): Likewise.
2829 (short_unsigned_type_node): Likewise.
2830 (integer_type_node): Likewise.
2831 (unsigned_type_node): Likewise.
2832 (long_integer_type_node): Likewise.
2833 (long_unsigned_type_node): Likewise.
2834 (long_long_integer_type_node): Likewise.
2835 (long_long_unsigned_type_node): Likewise.
2836 * tree.c (integer_types): New variable.
2837 (init_obstacks): Register it as a root.
2839 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
2841 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2842 NEXT_INSN. Update last insn in chain.
2844 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
2846 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2847 with TYPE_DECL_SUPPRESS_DEBUG set.
2849 2000-03-18 Richard Henderson <rth@cygnus.com>
2851 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2853 2000-03-18 Richard Henderson <rth@cygnus.com>
2855 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2856 care for HALF_PIC_P.
2857 (expander_call_insn_operand): Remove.
2858 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2859 * i386.h (PREDICATE_CODES): Update.
2860 * i386.md (all call expanders): Remove predicates, remove special
2861 handling for half-pic.
2862 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2863 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2864 (sibcall_epilogue): New.
2866 2000-03-17 Richard Henderson <rth@cygnus.com>
2868 * rtlanal.c (single_set): Reject if the parallel has anything
2869 except SET or USE or CLOBBER.
2871 2000-03-17 Jeff Law <law@cygnus.com>
2872 Richard Henderson <rth@cygnus.com>
2874 * Makefile.in (OBJS): Add sibcall.o.
2876 * sibcall.c: New file.
2877 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2878 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2879 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2880 Emit sibcall patterns when requested. Update all callers.
2881 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2882 elimination seems feasable.
2883 * final.c (leaf_function_p): Sibling calls don't discount being
2885 * flow.c (HAVE_sibcall_epilogue): Provide default.
2886 (find_basic_blocks_1): Sibling calls don't throw.
2887 (make_edges): Make edge from sibling call to EXIT.
2888 (propagate_block): Don't remove sibcall_epilogue insns.
2889 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
2890 (sibcall_epilogue): New.
2891 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2892 (identify_blocks_1): Likewise. Break out from ...
2893 (identify_blocks): ... here.
2894 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
2895 (reorder_blocks): ... here.
2896 (init_function_for_compilation): Zap prologue/epilogue as varrays.
2897 (record_insns): Extend a varray instead of mallocing new memory.
2898 (contains): Read a varray not array of ints.
2899 (sibcall_epilogue_contains): New.
2900 (thread_prologue_and_epilogue_insns): Emit and record
2901 sibcall_epilogue patterns.
2902 (init_function_once): Allocate prologue/epilogue varrays.
2903 * genflags.c (gen_insn): Treat sibcall patterns as calls.
2904 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2906 (save_for_inline_nocopy): ... here.
2907 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
2909 (expand_inline_function): ... here.
2910 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2911 (subst_constants): Handle 'n' formats.
2912 * jump.c (jump_optimize_minimal): New.
2913 (jump_optimize_1): New arg `minimal'; update callers. Elide most
2914 optimizations if it's set.
2915 * rtl.c (copy_rtx): Do copy jump & call for insns.
2916 * rtl.h (struct rtx_def): Document use of jump and call for insns.
2917 (SIBLING_CALL_P): New.
2918 (sibcall_use_t): New.
2919 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2920 Invoke optimize_sibling_and_tail_recursive_calls.
2921 * tree.c (lang_safe_for_unsave): New.
2922 (safe_for_unsave): New.
2923 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2925 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2926 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2927 (*sibcall_osf_1, *sibcall_value_osf_1): New.
2929 2000-03-17 Mark Mitchell <mark@codesourcery.com>
2931 * objc/objc-act.c (encode_method_prototype): Pass types, not
2932 PARM_DECLs, to int_size_in_bytes.
2934 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
2936 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2938 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2939 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2941 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2943 * Clean up usages of TREE_INT_CST_LOW.
2944 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2945 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2947 * c-tree.h (min_precision): Move declaration to here.
2948 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2949 (build_unary_op, add_pending_init): Use bit_position.
2950 (pending_init_member, process_init_element): Likewise.
2951 (really_start_incremental_init, push_init_level, pop_init_level):
2952 Don't make copies of nodes or modify them in place, use consistent
2953 types when tracking positions, and use tree routines computations.
2954 (set_init_index, output_init_element): Likewise.
2955 (output_pending_init_elements, process_init_element): Likewise.
2956 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2957 tree_low_cst and int_bit_position; also minor cleanup.
2958 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2959 (print_cst_octal): Precision is unsigned.
2960 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2961 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2962 (simple_type_align_in_bits): Result is unsigned int.
2963 Use tree_int_low_cst and host_integerp.
2964 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2965 (field_byte_offset): Result is HOST_WIDE_INT.
2966 Change types of internal variables so alignments are unsigned int,
2967 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2968 Use host_integerp, tree_low_cst, and int_bit_position.
2969 (add_bit_offset_attribute): Likewise.
2970 (add_data_member_location_attribute): Use tree_cst_low.
2971 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2972 (add_bit_size_attribute): Use tree_low_cst.
2973 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2974 * dwarfout.c: Similar changes to dwarf2out.c.
2975 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2976 * genoutput.c (n_occurences): Return -1 for null string.
2977 (strip_whitespace): Accept null string and make into function.
2978 (scan_operands): Reflect above changes.
2979 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2980 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2981 * ssa.c (rename_registers): Add missing cast of arg to bzero.
2982 * tree.c (int_size_in_bytes): Check for too big to represent.
2983 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2984 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2986 (min_precision): Delete from here.
2987 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2988 and int_bit_position.
2989 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2990 (encode_method_def): Likewise.
2991 (build_ivar_list_initializer): Use int_bit_position.
2992 (generate_shared_structures): Convert size.
2993 (encode_type, encode_complete_bitfield): Use integer_zerop.
2994 (encode_bitfield): Use tree_low_cst and int_bit_position.
2996 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2998 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3000 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3002 * call.c (special_function_p): It is only malloc if it returns
3005 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3007 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3008 (C33_FLAG, TARGET_C3X): Add macros.
3009 (TARGET_SWITCHES): Add -m33 option.
3010 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3012 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3014 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3015 (PARALLEL_PACK_FLAG): Delete.
3016 (TARGET_SWITCHES): Update.
3017 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3019 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3021 * fold-const.c (fold): Fix a few cases when the returned result
3022 is not of the same type as the input.
3024 2000-03-16 Nick Clifton <nickc@cygnus.com>
3026 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3029 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3031 * libgcc2.h: Move prototypes above macros with the same name.
3032 Wrap some function prototypes in the conditional which indicates
3033 whether they are supported, i.e. "BITS_PER_UNIT == 8".
3035 2000-03-16 Richard Henderson <rth@cygnus.com>
3037 * calls.c: Revert last two changes.
3039 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
3041 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3042 has exponent 0 is a zero.
3044 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3045 HASH may already be nonzero. Add code/mode into hash value
3046 immediately after repeat label.
3047 (cselib_lookup): Don't leave the hash table in an inconsistent
3048 state before a hash lookup operation.
3050 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
3052 * i386.md (all HI and QI mode non-move patterns): Conditionize
3053 by TARGET_[HQ]IMODE_MATH.
3054 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3055 x86_promote_qi_regs): Declare.
3056 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3057 TARGET_PROMOTE_QI_REGS): New macros.
3058 (PROMOTE_MODE): New macro.
3059 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3060 x86_promote_qi_regs): New global variables.
3062 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
3064 * calls.c (emit_library_call_value_1): Break out from ...; handle
3065 VOIDmode function calls too.
3066 (emit_library_call_value): ... here.
3067 (emit_library_call): Implement by calling emit_library_call_value_1.
3069 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
3071 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3072 Update arg_space_so_far on stack adjustments.
3073 (emit_library_call, emit_library_call_value): Likewise; take into
3074 account arg_space_so_far and pending_stack_adjust when calculcating
3077 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
3079 * flow.c: Move all basic block reordering code into its own file.
3080 (create_basic_block): Externalize.
3081 * bb-reorder.c: New file. Copy all basic block reordering code from
3082 flow.c to this file.
3083 (reorder_basic_blocks): Fix fencepost error in for-loop.
3084 (reorder_basic_blocks): Remove braces from single statement for-loops.
3085 * basic-block.h: Add declaration for create_basic_block.
3086 * Makefile.in: Add rules for bb-reorder.o.
3088 2000-03-16 Neil Booth <NeilB@earthling.net>
3090 * cppinit.c (handle_option): Implement #unassert directive
3091 as -A- command line option.
3092 (print_help): Update.
3093 * cpptexi.c: Update.
3095 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
3097 * md.texi (Standard Names): Document `jump'.
3099 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3101 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3104 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3106 Merge changes from newppc-branch onto trunk.
3108 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3110 * rs6000.c (toc_hash_table): Update for new hash table functions.
3111 (toc_hash_function): Likewise.
3112 (toc_hash_eq): Likewise.
3113 (toc_hash_mark_entry): Likewise.
3114 (toc_hash_mark_table): Likewise.
3115 (output_toc): Likewise.
3116 (rs6000_add_gc_roots): Likewise.
3118 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3120 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
3121 (AR_FLAGS_FOR_TARGET): here. New macro.
3123 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
3125 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3126 fpmem_operand) Delete.
3128 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3129 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3130 (rs6000_save_machine_status, rs6000_restore_machine_status,
3131 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
3132 references to above variables.
3133 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3134 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3135 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3136 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3137 (XER_REGNO_P, XER_REGNO): New.
3138 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3139 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3140 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
3142 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3143 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
3144 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3146 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3148 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3149 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3150 * rs6000.h: from here.
3152 * rs6000-protos.h (rs6000_select_section): Provide prototype.
3153 (rs6000_select_rtx_section): Likewise.
3154 (rs6000_encode_section_info): Likewise.
3155 (sdata_section): Likewise.
3156 (sdata2_section): Likewise.
3157 (sbss_section): Likewise.
3158 * sysv4.h (rs6000_select_section): Delete prototype.
3159 (rs6000_select_rtx_section): Likewise.
3160 (rs6000_encode_section_info): Likewise.
3161 (sdata_section): Likewise.
3162 (sdata2_section): Likewise.
3163 (sbss_section): Likewise.
3164 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3166 * sysv4.h: Delete various unnecessary #undef's and put a comment
3167 on the remaining ones.
3168 Change various comments according to coding standard.
3170 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
3172 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
3173 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3174 (CR0_REGNO_P) Remove.
3175 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
3176 setup_incoming_varargs, mtcrf_operation, print_operand,
3177 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
3178 Use the above macros.
3180 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
3182 * config/rs6000/rs6000.md: Added a new alternative for each
3183 pattern that had a 'x' alternative but no 'y' alternative.
3184 Added a new split for each of the above patterns.
3186 2000-02-18 Geoff Keating <geoffk@cygnus.com>
3188 * aix41.h (ASM_CPU_SPEC): Delete.
3189 (CPP_CPU_SPEC): Delete.
3191 * aix.h (RS6000_OUTPUT_BASENAME): Define.
3192 (ASM_OUTPUT_LABEL): Define.
3193 (ASM_GLOBALIZE_LABEL): Define.
3194 (STRIP_NAME_ENCODING): Define.
3195 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3196 (STRIP_NAME_ENCODING): Don't define.
3197 (ASM_OUTPUT_LABEL): Don't define.
3198 (ASM_GLOBALIZE_LABEL): Don't define.
3199 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3200 names, and ASM_OUTPUT_LABEL to output labels, rather than
3202 (ASM_OUTPUT_LABEL): Define.
3203 (ASM_OUTPUT_INT): Use assemble_name.
3204 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3205 (STRIP_NAME_ENCODING): Don't undefine first.
3206 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3208 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3209 specified with 'asm' even with -fleading-underscore.
3210 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3211 (output_epilog): Likewise.
3212 (output_toc): Likewise.
3213 * tramp.asm: Handle -fleading-underscore correctly.
3215 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3217 (nonlocal_goto_receiver): Delete.
3218 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3220 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3221 (SET_ASM_OP): Define.
3222 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3224 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3227 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3228 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3230 * rs6000.h: Add 'u' to more constants.
3232 2000-02-18 David Edelsohn <edelsohn@gnu.org>
3234 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3236 2000-02-15 David Edelsohn <edelsohn@gnu.org>
3238 * rs6000.c (reg_or_u_cint_operand): New function.
3239 (logical_operand): Handle 64-bit hosts.
3240 (logical_u_operand): New function.
3241 (non_logical_cint_operand): Handle 64-bit hosts.
3242 (non_logical_u_cint_operand): New function.
3243 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3244 (PREDICATE_CODES): Define new functions.
3245 * rs6000-protos.h: Declare new functions.
3246 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3247 (movdi_64): Bracket code intended for 64-bit hosts. Create
3248 CONST_DOUBLE for 32-bit values.
3249 (scc insns): Generate DImode compares.
3250 (mfcr insns): Create DImode versions.
3251 (sge matchers): New patterns.
3253 2000-02-15 Gabriel Paubert <paubert@iram.es>
3255 * rs6000.md: Correct instructions length attributes and
3256 constraints on unsigned compare instructions.
3257 (*ne0): Disable for PowerPC64.
3259 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3261 * rs6000.c (output_function_profiler): Use .long for a 32-bit
3262 quantity, fix profile1.C test failure under -fPIC.
3264 * rs6000.c: Add 'u' to many constants to suppress warnings.
3265 (constant_pool_expr_1): Make static.
3266 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3267 * rs6000.h: Add 'u' to many constants to suppress warnings.
3269 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3270 for the start of the TOC, instead of LCTOC..0.
3271 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3273 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3274 (load_toc_aix_di): Use LCTOC..1.
3276 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3277 * rs6000.c (rs6000_legitimize_address): New function from
3278 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
3279 symbols in the constant pool that really are TOC references.
3280 (print_operand_address): For ELF, write TOC offsets under
3281 -fPIC as subtractions in the insn.
3282 (output_toc): For ELF, define symbols in TOC as normal labels,
3284 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3285 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3286 (create_TOC_reference): Prototype only when RTX_CODE is defined.
3287 * rs6000.md (movsi): Only use create_TOC_reference on
3288 symbols in the constant pool that really are TOC references.
3290 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3291 * rs6000.c (rs6000_reorg): Delete.
3292 * rs6000-protos.h (rs6000_reorg): Delete.
3294 2000-02-09 Geoff Keating <geoffk@cygnus.com>
3296 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3298 * aix.h (SETUP_FRAME_ADDRESSES): Define.
3299 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3300 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3301 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3302 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3303 rs6000_aix_emit_builtin_unwind_init.
3304 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
3305 rs6000_emit_eh_toc_restore on AIX.
3306 (return_eh_si): Use r2.
3307 (return_eh_di): Use r2.
3309 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3310 since we're breaking binary compatibility anyway.
3312 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3314 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3315 constant_pool_expr_p): Declare them.
3316 (constant_pool_expr_p): Declare it.
3317 * config/rs6000/rs6000.c (toc_label_name): Define.
3318 (rs6000_override_options): Set toc_label_name.
3319 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3320 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3321 uses_TOC): New functions.
3322 (print_operand): Delete old '*' case.
3323 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3324 and strip off rtl for TOC before calling output_addr_const.
3325 (rs6000_emit_load_toc_table): Use toc_label_name.
3326 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3328 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3329 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3330 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3331 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3332 into explicit TOC_REGISTER offsets.
3333 (TOC_REGISTER): New macro.
3334 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
3335 TARGET_TOC to reference TOC_REGISTER.
3336 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3337 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
3338 uses_TOC before emitting label references.
3340 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3342 * rs6000.md (stack_tie): Fix warning.
3344 * eabi-ctors.c: Use 'asm' names for the start/end variables,
3345 to handle -fleading-underscore.
3346 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3347 (USER_LABEL_PREFIX): New macro.
3348 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3349 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3350 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3351 call-linux can use the same multilibs.
3352 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3353 and call-linux multilibs. Do multilib with -fleading-underscore.
3354 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3355 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
3358 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3359 have MASK_SOFT_FLOAT set.
3360 (CPP_FLOAT_DEFAULT_SPEC): New macro.
3361 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3362 CPP_FLOAT_DEFAULT_SPEC.
3364 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3365 * rs6000.md: Whitespace change.
3366 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3367 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3369 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3371 * rs6000.md (eh_epilogue): New expander.
3372 (eh_reg_restore): New expand/split/insn combination.
3373 (return_eh_si): New insn.
3374 (return_eh_di): New insn.
3376 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3377 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3378 * eabi-ctors.c (__do_global_ctors): Register this object's
3379 frame. Clean up. Call atexit() after the constructors.
3380 (__do_global_dtors): Deregister this object's frame. Clean up.
3381 Allow for recursive calls to exit().
3382 * rs6000.c (fixuplabelno): New variable.
3383 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3384 TARGET_RELOCATABLE, it slows down exec() under linux.
3385 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3387 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3388 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3389 (ASM_OUTPUT_DWARF_DELTA2): New macro.
3390 (ASM_OUTPUT_DWARF_DELTA4): New macro.
3391 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3392 (ASM_OUTPUT_DWARF_ADDR): New macro.
3393 (ASM_OUTPUT_DWARF_DATA4): New macro.
3394 (ASM_OUTPUT_DWARF_DATA2): New macro.
3395 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3396 (ASM_OUTPUT_DWARF_OFFSET): New macro.
3397 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3399 2000-02-03 Geoff Keating <geoffk@cygnus.com>
3401 * rs6000.c (rs6000_sr_alias_set): New variable.
3402 (rs6000_override_options): Initialise rs6000_sr_alias_set.
3403 (rs6000_emit_stack_tie): New function.
3404 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3405 in a way that dwarf2out can understand.
3406 (rs6000_frame_related): New function.
3407 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
3408 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3409 Use rs6000_emit_stack_tie when needed.
3410 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
3411 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
3412 * rs6000.md (stack_tie): New insn.
3413 (return_internal_si): Allow return value to be in the count
3415 (return_internal_di): Likewise.
3417 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3419 2000-02-03 Geoff Keating <geoffk@cygnus.com>
3421 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3423 2000-01-31 Geoff Keating <geoffk@cygnus.com>
3425 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3427 * rs6000.md (stmw): Use the right POWER opcode.
3430 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3432 * rs6000-protos.h: New file.
3434 * rs6000.c: Include tm_p.h. Fix compile time warnings.
3436 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
3439 * sysv4.h: Likewise.
3441 2000-01-28 Geoff Keating <geoffk@cygnus.com>
3443 * ../../configure.in: Delete powerpcle-*-winnt*
3444 and powerpcle-*-pe|powerpcle-*-cygwin*.
3445 * ../../configure: Regenerated.
3447 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3448 (TARGET_WINDOWS_NT): Delete.
3450 (CALL_NT_DLLIMPORT): Delete.
3451 Delete NT-specific code.
3452 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3455 * nt-ci.asm: Delete.
3456 * nt-cn.asm: Delete.
3457 * ntstack.asm: Delete.
3459 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3461 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3462 (ASM_FILE_START): Likewise.
3463 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3464 (ASM_OUTPUT_LABELREF): Likewise.
3465 (ASM_OUTPUT_SKIP): Likewise.
3466 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3467 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3468 (ASM_OUTPUT_CASE_LABEL): Likewise.
3469 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3470 (ASM_OUTPUT_ASCII): Likewise.
3472 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
3474 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3475 reload_toc_labelno for non-prologue TOC reloads. Also, don't
3476 increment rs6000_pic_labelno here.
3477 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3478 and increment rs6000_pic_labelno here.
3480 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
3482 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3483 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3484 allocation knows (reg) is dead before the insn.
3486 2000-01-21 Geoff Keating <geoffk@cygnus.com>
3488 * rs6000.md (movsi_to_cr): Correct typo in output template.
3490 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
3492 * rs6000.c (rs6000_pic_labelno): Always define.
3493 (rs6000_pic_func_labelno): Delete.
3494 (lmw_operation): Check for a zero base register,
3495 which doesn't mean what we want.
3496 (stmw_operation): New function.
3497 (print_operand): Define new 'l' modifier.
3498 (rs6000_stack_info): We must save all 64 bits of the registers
3499 if TARGET_POWERPC64.
3500 (rs6000_output_load_toc_table): Delete.
3501 (rs6000_emit_load_toc_table): New function.
3502 (rs6000_allocate_stack_space): Delete.
3503 (rs6000_emit_allocate_stack): New function.
3504 (rs6000_emit_prologue): New function.
3505 (output_prolog): Use rs6000_emit_prologue.
3506 (rs6000_emit_epilogue): Change a few variable names to be
3507 more accurate. Restore all 64 bits of the registers if
3508 TARGET_POWERPC64. Only restore the FP registers which were used
3509 if they are being saved/restored one-at-a-time.
3510 (output_mi_thunk): Delete inefficient code generation.
3511 (output_function_profiler): Don't use rs6000_output_load_toc_table.
3512 * rs6000.h: Declare rs6000_emit_load_toc_table,
3513 rs6000_allocate_stack_space, stmw_operation. Don't declare
3514 rs6000_output_load_toc_table.
3515 * rs6000.md (elf_high): Allow register 0, but discourage it
3517 (elf_low): Support loading into register 0.
3518 (load_toc_aix_si): New pattern.
3519 (load_toc_aix_di): New pattern.
3520 (load_toc_v4_pic_si): New pattern.
3521 (load_toc_v4_pic_di): New pattern.
3522 (load_toc_v4_PIC_1): New pattern.
3523 (load_toc_v4_PIC_1b): New pattern.
3524 (load_toc_v4_PIC_2): New pattern.
3525 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3526 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3527 (prologue): New expander.
3528 (movesi_from_cr): New pattern.
3529 (stmw): New pattern.
3530 (save_fpregs_si): New pattern.
3531 (save_fpregs_di): New pattern.
3533 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3535 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3540 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3542 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3544 (movsi_got_internal): Likewise.
3545 (movsi_got_internal+1): Likewise.
3546 (set_sp): 'unspec 7' does a SImode clobber.
3548 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3550 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3551 allocate a stack temporary.
3552 (floatsidf2_internal): Likewise.
3553 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
3555 (floatunssidf2): Don't use the fpmem "register", just
3556 allocate a stack temporary.
3557 (floatunssidf2_internal): Likewise.
3558 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
3560 (floatsidf2_loadaddr): Delete.
3561 (floatsidf2_store1): Delete.
3562 (floatsidf2_store2): Delete.
3563 (floatsidf2_load): Delete.
3564 (fix_truncdfsi2): Don't use the fpmem "register", just
3565 allocate a stack temporary.
3566 (fix_truncdfsi2_internal_si): Delete.
3567 (fix_truncdfsi2_internal_di): Delete.
3568 (fix_truncdfsi2_internal): New insn.
3569 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3570 (fix_truncdfsi2_store): Delete.
3571 (fix_truncdfsi2_load): Delete.
3572 (fctiwz): Produce gen_fctiwz.
3574 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
3576 * eabi.h (INVOKE__main): Define.
3577 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3579 (rs6000_emit_prologue): Likewise.
3580 * rs6000.h (struct rs6000_stack): Don't keep track of whether
3581 this is the main program.
3583 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3585 * rs6000.c (rs6000_va_arg): Delete some unused variables.
3587 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3589 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3590 goes after the argument.
3592 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3594 * rs6000.md: Document 'unspec' values used.
3595 (epilogue): New expander.
3596 (movesi_to_cr_one): New expander.
3597 (movesi_to_cr and following): New pattern.
3599 (return_internal_si): New pattern.
3600 (return_internal_di): New pattern.
3601 (return_and_restore_fpregs_si): New pattern.
3602 (return_and_restore_fpregs_di): New pattern.
3603 * rs6000.h: Declare new functions.
3604 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3605 rather than rs6000_calls_p.
3606 (rs6000_makes_calls): Delete.
3607 (lmw_operation): New function.
3608 (mtcrf_operation): New function.
3609 (rs6000_emit_epilogue): New function.
3610 (output_epilog): Call rs6000_emit_epilogue and final if
3611 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3613 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3615 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3616 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3617 * aix.h (SUBTARGET_SWITCHES): Document switches.
3618 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
3619 sched-prolog and sched-epilog the same. Document all the
3621 (TARGET_OPTIONS): No longer allow -mdebug-.
3623 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3625 * rs6000.h (ASM_FILE_END): Move to aix.h.
3626 (EXTRA_SECTIONS): Move to aix.h.
3627 (READONLY_DATA_SECTION): Move to aix.h.
3628 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3629 (SELECT_SECTION): Move to aix.h.
3630 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3631 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3632 (LINK_REGISTER_REGNUM): New definition.
3633 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3634 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3636 * sysv4.h: Delete the code between the inclusion of rs6000.h
3638 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
3639 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
3640 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
3641 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
3642 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
3643 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
3644 (fix_truncdfsi2_internal_di): New pattern.
3645 (fix_truncdfsi2_store): The second arg here is Pmode too.
3646 (fix_truncdfsi2_load): The second arg here is Pmode too.
3647 (tablejumpdi): Now that switch tables hold only SImode values,
3648 gcc needs to know how to add them to the pc which is DImode.
3649 * rs6000.c (rs6000_stack_info): Use symbolic name for
3650 LINK_REGISTER_REGNUM.
3651 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
3652 (output_toc): Delete unused variables s1 and s2.
3653 (output_ascii): Use fputs not fprintf on a variable string.
3655 2000-01-07 David Edelsohn <edelsohn@gnu.org>
3657 * rs6000.c (processor_target_table): Add power3 as alias for 630.
3658 * aix43.h: Revert Aug 2 change.
3659 (HAS_INIT_SECTION): Define, not visible yet.
3660 (LD_INIT_SWITCH): Define, not visible yet.
3661 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3663 2000-01-04 Joel Sherrill (joel@OARcorp.com>
3665 * config/rs6000/rtems.h: Include config/rtems.h.
3667 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3669 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3670 (SLOW_UNALIGNED_ACCESS): Define.
3671 (CASE_VECTOR_MODE): Always use 32-bit offsets.
3672 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3673 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3674 (toc_section): Likewise and .toc pseudo-op.
3675 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
3677 (TEXT_SECTION_ASM_OP): Likewise.
3678 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3681 1999-12-17 Jakub Jelinek <jakub@redhat.com>
3683 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
3684 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3687 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3689 * rs6000.h: Move more stuff from here...
3691 * sysv4.h: Cleanup accordingly.
3692 * netware.h: Likewise
3694 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3696 * rs6000.h: Continue cleanup.
3699 * netware.h: Likewise.
3701 * sysv4.h: Likewise.
3702 * win-nt.h: Likewise.
3704 * rs6000.h (TARGET_SWITCHES): Add descriptions.
3705 (TARGET_OPTIONS): Likewise.
3707 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
3708 (SUBTARGET_OPTIONS): Likewise.
3710 * rs6000.md: Fix compile time warnings.
3712 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3714 vxworks patches from the Cygnus tree originally by
3715 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
3716 <vmakarov@cygnus.com>.
3717 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
3718 (ENDFILE_SPEC): Likewise.
3719 (LIB_VXWORKS_SPEC): New macro.
3720 (STARTFILE_VXWORKS_SPEC): New macro.
3721 (ENDFILE_VXWORKS_SPEC): New macro.
3722 (LINK_START_VXWORKS_SPEC): New macro.
3723 (LINK_OS_VXWORKS_SPEC): New macro.
3724 (CPP_OS_VXWORKS_SPEC): New macro.
3725 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
3726 * vxppc.h: Rewrite to use proper configuration method.
3727 * vxppcle.h: New file.
3728 * ../../configure.in: Add powerpcle-wrs-vxworks*.
3729 * ../../configure: Rebuilt.
3731 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3733 Lots of changes to rs6000.h, sysv4.h, aix.h,
3734 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
3735 with the aim that rs6000.h is the first header
3736 included and the others override it.
3739 * x-aix41-gld: Remove.
3741 * x-aix41: Remove target-specific switches, and don't specify
3742 -Wl,-bbigtoc as we don't need it any more.
3743 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
3744 Use t-aix43 for AIX 4.3 and above.
3745 * ../../configure: Regenerated.
3747 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
3748 options, that don't do anything yet.
3749 (MASK_SCHED_PROLOG): New macro.
3750 (MASK_SCHED_EPILOG): New macro.
3751 (TARGET_SCHED_PROLOG): New macro.
3752 (TARGET_SCHED_EPILOG): New macro.
3754 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3756 * rs6000.c: Correct comment, the `minimal' TOCs are actually
3757 one per translation unit, not one per function.
3758 (output_toc): Also do duplicate constant elimination
3759 for per-translation-unit TOCs.
3761 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
3762 a comment explaining _exactly_ when this pattern gets used.
3763 (builtin_setjmp_receiver): New pattern for better clarity.
3764 (init_v4_pic): Move it into a section dealing with TOC registers.
3766 1999-12-30 Geoff Keating <geoffk@cygnus.com>
3768 * rs6000.c (toc_hash_table): New variable.
3769 (rs6000_hash_constant): New function.
3770 (toc_hash_function): New function.
3771 (toc_hash_eq): New function.
3772 (toc_hash_mark_entry): New function.
3773 (toc_hash_mark_table): New function.
3774 (output_toc): Don't output duplicate TOC entries in
3776 (rs6000_add_gc_roots): Add the hash table as a GC root.
3777 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
3778 where they clearly shouldn't be. This may need to be fixed
3779 later when there is a GNU ar for AIX.
3780 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
3781 Don't define BOOT_LDFLAGS as it is now not necessary.
3783 1999-12-29 Geoff Keating <geoffk@cygnus.com>
3785 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
3786 for va_list on AIX. Use unsigned_char_type_node rather than
3787 constructing our own version on svr4.
3789 1999-12-17 Geoff Keating <geoffk@cygnus.com>
3791 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
3792 since patently it's not.
3794 1999-12-08 Geoff Keating <geoffk@cygnus.com>
3796 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
3797 define_expand/define_insn pair, and handle restore of the
3798 SVR4 -fpic register.
3800 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
3802 * acconfig.h (HAVE_GAS_WEAK): New define.
3803 * configure.in (assembler weak support): Check for .weak support.
3804 * config.in, configure: Rebuilt.
3805 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
3806 HAVE_GAS_WEAK is defined.
3808 2000-03-15 Nick Clifton <nickc@cygnus.com>
3810 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
3813 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
3815 * cppfiles.c (open_include_file): New function.
3816 (find_include_file, cpp_read_file): Use it.
3818 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3820 * cpphash.c (dump_hash_helper): Take the slot, not the element.
3822 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
3824 * flow.c (verify_flow_info): Check for unconditional return.
3826 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
3828 * config/ia64/ia64.md (restore_stack_nonlocal): New.
3829 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
3830 (__ia64_restore_stack_nonlocal): New.
3831 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
3833 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3835 * cpphash.c (collect_formal_parameters): Do not complain about
3836 parameter names that just start with `__VA_ARGS__'.
3838 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
3840 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
3841 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
3842 * i386.c (pentiumpro_cost): Set mul cost to 4.
3843 (x86_use_movx): Set for PPro.
3845 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
3847 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
3848 STACK_BOUNDARY for empty frames now.
3850 2000-03-14 Mark Mitchell <mark@codesourcery.com>
3852 * stor-layout.c (layout_union): Remove.
3853 (layout_union_field): New function, split out from layout_union.
3854 (finish_union_layout): Likewise.
3855 (layout_field): Handle unions by calling layout_union_field.
3856 (finish_record_layout): Handle unions.
3857 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
3858 QUAL_UNION_TYPE handling.
3860 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
3862 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
3863 end of basic block is jump_insn, not barrier; use create_basic_block
3864 instead of creating basic block by hand.
3866 2000-03-14 Jason Eckhardt <jle@cygnus.com>
3868 * flow.c (reorder_basic_blocks): Account for barriers when writing
3869 over NEXT_INSN (last_bb->end).
3870 (verify_flow_info): Add check for missing barriers.
3872 2000-03-14 Greg McGary <gkm@gnu.org>
3874 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
3875 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
3876 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
3877 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
3878 __unbounded, __unbounded__): New keywords.
3879 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
3880 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
3881 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
3883 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
3885 * cselib.h: New file.
3886 * alias.c: Include "cselib.h".
3887 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
3888 MEMs as two new arguments.
3889 (get_addr): New static function.
3890 (find_base_term): Handle VALUEs.
3891 (memrefs_conflict_p): Likewise.
3892 (true_dependence): Call get_addr on the addresses.
3893 Call fixed_scalar_and_varying_struct_p with addresses that have been
3894 passed through get_addr and canon_rtx.
3895 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
3896 with true_dependence.
3897 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
3898 * loop.c: Include "cselib.h".
3899 (load_mems): Process extended basic block that enters the loop with
3900 cselib. Use that information to change initialization of the shadow
3901 register so that a constant equivalence is seen by later passes.
3902 * reload1.c: Include "cselib.h".
3903 (reload_cse_invalidate_regno): Delete function.
3904 (reload_cse_mem_conflict_p): Likewise.
3905 (reload_cse_invalidate_mem): Likewise.
3906 (reload_cse_invalidate_rtx): Likewise.
3907 (reload_cse_regno_equal_p): Likewise.
3908 (reload_cse_check_clobber): Likewise.
3909 (reload_cse_record_set): Likewise.
3910 (reg_values): Delete static variable.
3911 (invalidate_regno_rtx): Likewise.
3912 (reload_cse_delete_noop_set): New static function.
3913 (reload_cse_simplify): New static function, broken out of
3915 (reload_cse_noop_set_p): Delete unused argument INSN.
3916 Just call rtx_equal_for_cselib_p on set source and destination.
3917 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
3918 reload_cse_delete_noop_set. Delete code to keep track of values; use
3919 cselib functions instead. Delete code to push/pop obstacks.
3920 (reload_cse_simplify_set): Use cselib to find equivalent values.
3921 Delete code to push/pop obstacks.
3922 (reload_cse_simplify_operands): Likewise.
3923 * rtl.def (VALUE): New rtx code.
3924 * rtl.h (union rtunion_def): New elt rt_cselib.
3925 (X0CSELIB, CSELIB_VAL_PTR): New macros.
3926 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
3927 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
3928 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
3929 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
3930 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
3931 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
3932 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
3933 cselib_record_set, cselib_record_sets): New static functions.
3934 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
3935 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
3936 references_value_p): New functions.
3937 (MAX_USELESS_VALUES, REG_VALUES): New macros.
3938 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
3939 n_useless_values, reg_values, callmem, cselib_obstack,
3940 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
3941 New static variables.
3942 * varray.h (union varray_data_tag): New elt te.
3943 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
3944 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
3947 2000-03-14 Nick Clifton <nickc@cygnus.com>
3949 * gcc.c (do_spec_1): Catch the case where %* is used in a
3950 substitution pattern, but it has not been initialised.
3951 Issue a meaningful error message if an unrecognised operator
3952 is encountered in a spec string.
3954 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
3956 * function.c (prepare_function_start): Correctly initialize
3957 cfun->stack_alignment_needed.
3959 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
3961 * cppfiles.c (find_include_file): Don't assume nshort is a
3964 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
3966 * configure.in (hppa configurations): Add pa32-regs.h to the
3967 list of tm files as appropriate.
3968 * configure: Rebuilt.
3969 * pa.c (compute_frame_size): Remove explicit knowledge about FP
3971 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
3972 (fmpyaddoperands, fmpysuboperands): Likewise.
3973 * pa.h: Remove various definitions which depend on knowing
3974 how registers are numbered.
3975 * pa32-regs.h: New file with PA32 register numbering specific
3978 2000-03-14 Richard Henderson <rth@cygnus.com>
3980 * regmove.c (combine_stack_adjustments): New.
3981 (stack_memref_p, single_set_for_csa): New.
3982 (free_csa_memlist, record_one_stack_memref): New.
3983 (try_apply_stack_adjustment): New.
3984 (combine_stack_adjustments_for_block): New.
3985 * rtl.h (combine_stack_adjustments): Declare.
3986 * toplev.c (rest_of_compilation): Call it.
3988 * i386.md: Revert 2000-01-16 change.
3990 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3992 * gccbug.in: Add web category, gcc specific classes.
3994 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
3996 * stor-layout.c (finalize_record_size): Fix typo.
3998 2000-03-14 Stan Shebs <shebs@apple.com>
4000 * c-typeck.c (c_alignof): Error on incomplete types.
4001 * extend.texi (Alignment): Document this.
4003 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4005 * cppfiles.c: Include mkdeps.h.
4006 (find_include_file, read_include_file): Remove _cpp_ prefix
4007 from name, make static.
4008 (_cpp_execute_include): New function, broken out of
4011 * cpplib.c: Don't include mkdeps.h.
4012 (struct directive): Remove type field. Reorder entries. The
4013 function takes only one argument.
4014 (struct if_stack): Make type field an int.
4015 (directive_table): Rename to dtable. Generate it, the
4016 prototypes of the directive handlers, and the enum for the
4017 directive numbers, from a template macro.
4018 (do_ifndef, do_include_next, do_import): New functions.
4019 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4020 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4021 do_ident, do_assert, do_unassert, do_sccs): Take only one
4023 (do_sccs): Define always, but alter behavior based on
4025 (_cpp_handle_directive, consider_directive_while_skipping):
4026 Restructure for new directive table layout.
4028 (pass_thru_directive): Take a directive number, not a pointer
4029 to a struct directive.
4030 (parse_include): New function, broken out of do_include.
4031 (do_include, do_import, do_include_next): Use parse_include
4032 and _cpp_execute_include.
4033 (do_elif, do_else): Test for T_ELSE specifically when checking
4034 for #elif/#else after #else.
4035 (parse_ifdef): New function, broken out of do_ifdef.
4036 (validate_else): Expect a name arg without a leading #.
4037 (if_directive_name): Delete.
4038 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4039 directive handlers with only one argument.
4041 * cpphash.h: Update prototypes.
4042 (enum node_type): Remove entries for directives.
4043 * Makefile.in: Update dependencies.
4045 * cpphash.c (dump_hash_helper): Only dump nodes of type
4046 T_MACRO. Emit a newline after each definition.
4048 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4050 * gccbug.in: New file.
4051 * configure.in (all_outputs): Add gccbug.
4052 * Makefile.in (install-common): Install gccbug.
4053 (GCCBUG_INSTALL_NAME): New variable.
4054 * configure: Rebuilt.
4056 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4058 * function.c (put_var_into_stack): Use type_for_mode to calculate
4059 part_type. Use MEM_SET_IN_STRUCT_P.
4060 * expr.c (store_field): Handle CONCAT.
4061 (store_constructor): Use fields_length.
4062 * tree.c (fields_length): New fn.
4063 * tree.h: Declare it.
4065 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4067 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4068 (cpplex.o): New target.
4069 * po/POTFILES.in: Add cpplex.c.
4071 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4072 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4073 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4074 skip_block_comment, skip_line_comment, skip_comment,
4075 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4076 _cpp_parse_name, skip_string, parse_string,
4077 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4078 _cpp_get_directive_token, find_position,
4079 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4080 (maybe_macroexpand, _cpp_lex_token): New functions.
4082 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4083 parse_goto_mark): Delete.
4084 (_cpp_handle_eof): New function.
4085 (_cpp_handle_directive): Rename from handle_directive.
4086 (_cpp_output_line_command): Rename from output_line_command.
4087 (do_if, do_elif): Call _cpp_parse_expr directly.
4088 * cppfiles.c (_cpp_read_include_file): Don't call
4089 init_input_buffer here.
4090 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4091 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4092 here; pop the token_buffer and skip the rest of the line here.
4093 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4096 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4098 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4099 CPP_GOTO_MARK): New macros.
4100 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4101 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4102 _cpp_read_and_prescan, _cpp_init_input_buffer,
4103 _cpp_grow_token_buffer, _cpp_get_directive_token,
4104 _cpp_handle_directive, _cpp_handle_eof,
4105 _cpp_output_line_command): Prototype them here.
4106 * cpplib.h (enum cpp_token): Add CPP_MACRO.
4107 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4108 quote_string, output_line_command): Remove.
4110 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
4112 * stmt.c (expand_end_case): RANGE may be signed, and when checking
4113 whether it is too large we must also verify that it isn't negative.
4115 2000-03-13 Jakub Jelinek <jakub@redhat.com>
4117 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4118 (movsi_zero_liveg0): Remove.
4119 (movsf_insn_novis_liveg0): Remove.
4121 (negsi2_not_liveg0): Rename to negsi2.
4122 (one_cmplsi2): Remove.
4123 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4124 (one_cmplsi2_liveg0): Remove.
4125 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4126 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4127 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4128 (PREDICATE_CODES): Remove zero_operand.
4129 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4130 TARGET_BROKEN_SAVERESTORE.
4131 (zero_operand): Remove.
4132 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4133 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4135 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4136 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4137 TARGET_BROKEN_SAVERESTORE): Remove.
4138 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4140 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4142 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4145 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4147 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4149 * cpplib.c (do_pragma_implementation): Fix off-by-one error
4150 truncating a string. Don't assume tokens are nul terminated.
4151 Problem noted by Andreas Jaeger <aj@suse.de>
4153 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4155 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4156 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4157 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4159 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
4161 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4162 STRUCTURE_SIZE_BOUNDARY.
4164 2000-03-13 Mark Mitchell <mark@codesourcery.com>
4166 * tree.h (record_layout_info_s): New structure.
4167 (record_layout_info): New type.
4168 (new_record_layout_info): New function.
4169 (layout_field): Likewise.
4170 (finish_record_layout): Likewise.
4171 * stor-layout.c (layout_record): Remove.
4172 (new_record_layout_info): New function.
4173 (layout_field): New function, broken out from layout_record.
4174 (finalize_record_size): Likewise.
4175 (compute_record_mode): Likewise.
4176 (finalize_type_size): New function, broken out from layout_type.
4177 (finish_record_layout): Likewise.
4178 (layout_type): Use them.
4180 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4182 * cpphash.c: Don't include version.h.
4183 (special_symbol) [case T_VERSION]: Look for the string in
4184 hp->value.cpval; don't use version_string.
4185 * cppinit.c (initialize_builtins): Set hp->value.cpval for
4186 __VERSION__ to version_string.
4187 * Makefile.in (cpphash.o): Update deps.
4189 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4191 Convert cpplib to use libiberty/hashtab.c.
4193 * cpplib.h (struct cpp_reader): Make hashtab and
4194 all_include_files of type 'struct htab *'. Delete HASHSIZE
4195 and ALL_INCLUDE_HASHSIZE macros.
4197 * cpphash.h: Update prototypes.
4198 (struct hashnode): Remove next, prev, and bucket_hdr members.
4199 Make length a size_t. Add hash member.
4200 (struct ihash): Remove next member. Add hash member. Make
4201 name a flexible array member.
4203 * cppfiles.c: Include hashtab.h.
4204 (include_hash): Delete.
4205 (IHASHSIZE): New macro.
4206 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4207 (cpp_included): Do the hash lookup here.
4208 (_cpp_find_include_file): Rewrite.
4209 (cpp_read_file): Put the "fake" hash entry into the hash
4210 table. Honor the control_macro, if it turns out we've seen
4211 the file before. Don't push the buffer here.
4212 (_cpp_read_include_file): Push the buffer here.
4213 (OMODES): New macro. Use it whenever we call open(2).
4215 * cpphash.c: Include hashtab.h.
4216 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4217 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4218 _cpp_lookup_slot): New functions.
4219 (HASHSIZE): new macro.
4220 (hashf, _cpp_install, _cpp_delete_macro): Delete.
4221 (_cpp_lookup): Use hashtab.h routines.
4223 * cppinit.c: Include hashtab.h.
4224 (cpp_reader_init): Call _cpp_init_macro_hash and
4225 _cpp_init_include_hash. Don't allocate hashtab directly.
4226 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4227 pfile->all_include_files.
4228 (initialize_builtins): Use _cpp_make_hashnode and
4229 htab_find_slot to add hash entries.
4230 (cpp_finish): Just call _cpp_dump_macro_hash.
4231 * cpplib.c: Include hashtab.h.
4232 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4233 create hash entries.
4234 (do_pragma_poison, do_assert): Likewise.
4235 (do_include): Don't push the buffer here. Don't increment
4236 system_include_depth unless _cpp_read_include_file succeeds.
4237 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4239 (do_pragma_implementation): Use alloca to create copy.
4241 * Makefile.in: Update dependencies.
4243 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4245 * cppinit.c (cl_directive_handler): More K&R fixing.
4247 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
4249 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4251 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4253 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4255 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4256 Change from char[] to macros.
4258 2000-03-12 Neil Booth <NeilB@earthling.net>
4260 * cppinit.c (cpp_start_read): Update indirect function
4263 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
4265 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4268 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4269 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4271 2000-03-11 Neil Booth <NeilB@earthling.net>
4273 * cppinit.c (struct pending option): Replace undef with a
4274 pointer to a directive handling routine.
4275 (struct cpp_pending): Replace separate assert_ and define_
4276 lists with one directive_ list.
4277 (new_pending_define): Rename new_pending_directive. Extra
4278 argument is the directive's handling routine.
4279 (handle_option): Update to use new_pending_directive.
4281 2000-03-11 Neil Booth <NeilB@earthling.net>
4283 * cppfiles.c (file_cleanup, _cpp_find_include_file,
4284 remap_filename, _cpp_read_include_file, actual_directory,
4285 hack_vms_include_specification): Replace bcopy(), index() etc
4286 calls. Add casts to some allocations. Make some variables
4287 pointers to const [unsigned] char.
4288 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4289 collect_formal_parameters): Similarly.
4290 * cppinit.c (struct pending_option, append_include_chain,
4291 cpp_options_init, cpp_reader_init, initialize_standard_includes,
4292 cpp_start_read, new_pending_define, handle_option): Similarly.
4293 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4294 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4295 do_pragma_implementation, detect_if_not_defined,
4296 do_ifdef, skip_if_group, cpp_get_token, parse_string,
4297 do_assert, do_unassert): Similarly.
4298 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
4299 function prototypes.
4300 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
4302 2000-03-10 Richard Henderson <rth@cygnus.com>
4304 * builtins.c (expand_builtin_strlen): Revert last change.
4305 Use emit_insn_before if we're at the beginning of a sequence.
4307 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
4309 * builtins.c (expand_builtin_strlen): Make sure that we have something
4310 at the beginning of the sequence.
4312 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4315 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4317 2000-03-10 Richard Henderson <rth@cygnus.com>
4319 * except.c (can_throw): Use INTVAL on a CONST_INT.
4320 (reachable_handlers): Likewise.
4321 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4323 2000-03-10 Andreas Jaeger <aj@suse.de>
4325 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4326 MD_STARTFILE_PREFIX since those are not needed on linux.
4327 (ASM_FILE_START): New, from mips/gnu.h.
4329 2000-03-09 Richard Henderson <rth@cygnus.com>
4330 Alex Samuel <samuel@codesourcery.com> and others
4332 * Makefile.in (ssa.o): New rule.
4334 (STAGESTUFF): Add *.ssa and *.ussa.
4335 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4336 * rtl.def (PHI): New RTL expression.
4337 * rtl.h (clear_log_links): New declaration.
4338 (convert_to_ssa): Likewise.
4339 (convert_from_ssa): Likewise.
4340 * flow.c (split_edge): If the entry node falls through to the
4341 split edge's source block, split the entry edge.
4342 (clear_log_links): New function.
4343 * toplev.c (ssa_dump): New variable.
4344 (flag_ssa): Likewise.
4345 (f_options): Add "ssa".
4346 (compile_file): Create SSA dump files.
4347 (rest_of_compilation): Go to and from SSA if enabled.
4348 (decide_d_option): Handle -de for SSA dump files.
4351 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
4353 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4356 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
4358 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4360 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
4362 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4363 (MD_STARTFILE_PREFIX_1): New macro.
4365 2000-03-09 Robert Lipe <robertl@sco.com>
4367 * config/ia64/ia64.c: Include system.h.
4369 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
4371 * except.c (nothrow_function_p): If -fno-exceptions, just return.
4372 (init_eh_nesting_info): Likewise.
4374 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4375 (TREE_NOTHROW): Rename from TREE_RAISES.
4376 * toplev.c (rest_of_compilation): Set it.
4377 * print-tree.c (print_node): Adjust.
4378 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4379 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4380 * calls.c (emit_call_1): Add 'nothrow' parm. Add
4381 REG_EH_REGION note as appropriate.
4382 (libfunc_nothrow): New fn.
4383 (emit_library_call, emit_library_call_value): Use it.
4384 (expand_call): Check TREE_NOTHROW.
4386 * varasm.c (make_decl_rtl): Skip initial '*' when setting
4387 DECL_ASSEMBLER_NAME.
4389 2000-03-09 Andreas Jaeger <aj@suse.de>
4391 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4392 (TARGET_MEM_FUNCTIONS): Define.
4394 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
4396 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4398 * except.c (can_throw): See through a SEQUENCE.
4399 (nothrow_function_p): New fn.
4400 * except.h: Declare it.
4401 * function.c (current_function_nothrow): New var.
4402 (prepare_function_start): Initialize it.
4403 * output.h: Declare it.
4404 * toplev.c (rest_of_compilation): Set it.
4405 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4407 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
4409 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4410 match. (cpp_compare_defs): Count the nul separator when
4411 advancing over argument names.
4413 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
4415 * recog.c (preprocess_constraints): Matching constraints affect
4416 same alternative/different operand, not same operand/different
4419 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4420 register and a constant specially.
4422 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4424 * libgcc2.h: New file.
4425 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4427 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
4429 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4430 * configure: Regenerate.
4433 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4435 * Makefile.in (LIBCPP_DEPS): New macro.
4436 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4438 * cpperror.c: Include cpphash.h.
4439 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
4441 (lex): Don't use CPP_WARN_UNDEF.
4442 (_cpp_parse_expr): Return an int, the truth value.
4443 * cppfiles.c: Include cpphash.h.
4444 (_cpp_merge_include_chains): Move to cppinit.c and make static.
4445 * cppinit.c (include_defaults_array): Disentangle.
4446 (cpp_cleanup): Don't free the if stack here.
4447 (cpp_finish): Pop off all buffers, not just one.
4448 * cpplib.c (eval_if_expr): Return int.
4449 (do_xifdef): Rename do_ifdef.
4450 (handle_directive): Don't use CPP_PREPROCESSED.
4451 (cpp_get_token): Don't use CPP_C89.
4452 * fix-header.c: Don't use CPP_OPTIONS.
4454 * cpplib.h: Move U_CHAR, enum node_type, struct
4455 file_name_list, struct ihash, is_idchar, is_idstart,
4456 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4457 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4458 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4459 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4460 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4461 of _cpp_simplify_pathname, _cpp_find_include_file,
4462 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4463 Move struct if_stack to cpplib.c. Move struct cpp_pending to
4465 Change all uses of U_CHAR to be unsigned char instead.
4466 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4468 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
4470 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4471 (dwarf2out_begin_prologue): Set it.
4472 (output_call_frame_info): Don't emit EH unwind info for leaves.
4474 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4475 can occur outside of an EH region.
4476 * except.c: Correct comments about rethrow behavior.
4477 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4479 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
4481 * flow.c (make_edges): Always call make_eh_edge for calls.
4483 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4485 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4486 (struct cpp_buffer): Remove fname and underflow fields.
4487 (struct cpp_reader): Remove get_token field.
4488 (struct include_hash): Rename to struct ihash. Add typedef to
4490 (struct if_stack): Remove fname field.
4491 (IF_STACK_FRAME): Rename to IF_STACK.
4493 * cpperror.c (print_containing_files): Trust that there are no
4494 macro buffers below the top file buffer.
4495 * cppfiles.c: Replace all references to 'struct include_hash'
4496 with 'IHASH'. Rename initialize_input_buffer to
4497 init_input_buffer. Don't set or reference cpp_buffer->fname,
4498 use buffer->ihash->name instead.
4499 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
4500 not CPP_NULL_BUFFER.
4501 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4502 IF_STACK_FRAME, IHASH not struct include_hash.
4503 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
4504 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
4505 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
4506 references to cpp_buffer->fname (delete entirely, or use
4507 ->ihash->name instead) and IF_STACK->fname.
4508 (cpp_push_buffer): Don't set new->underflow.
4509 (do_include): Use cpp_file_buffer.
4511 * cpphash.c (collect_formal_parameters): Remove duplicate
4512 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
4513 used as a macro argument name. Don't append "..." to namebuf
4514 for varargs macros. After we're done scanning, go through
4515 namebuf and make it NUL separated, not comma separated.
4516 (_cpp_compare_defs): Remove register tag from variables.
4517 Expect defn->argnames to be NUL separated.
4518 (_cpp_dump_definition): Expect defn->argnames to be NUL
4519 separated and in forward order.
4520 * cpphash.h: Update documentation of argnames field.
4522 2000-03-08 Richard Henderson <rth@cygnus.com>
4524 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4525 to fail. Don't pre-expand the source operand.
4527 * i386.md (strlensi): Initialize eoschar and align before use.
4529 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
4531 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4532 CONSTRUCTOR element.
4534 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
4536 * mips.c (mips_expand_prologue): If the last
4537 named argument is the vararg marker "va_list", treat it as
4538 an unnamed argument.
4540 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
4542 * dbxout.c (dbxout_parms): When correcting for promoted
4543 big-endian parameters, use the mode of the DECL_RTL rather
4544 than UNITS_PER_WORD.
4546 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
4548 * c-common.h (make_fname_decl): Declare.
4549 * c-common.c (make_fname_decl): Define.
4550 (declare_hidden_char_array): Remove.
4551 (declare_function_name): Use make_fname_decl.
4552 * c-decl.c (c_make_fname_decl): New function.
4553 (init_decl_processing): Set make_fname_decl.
4555 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
4557 * cccp.c (handle_directive): Initialize backslash_newlines_p.
4559 2000-03-07 Philipp Thomas <pthomas@suse.de>
4561 * po/POTFILES.in: Remove cppalloc.c from file list.
4563 2000-03-07 Steve Chamberlain <sac@pobox.com>
4565 * pj.c (pj_expand_prologue): current_function->args_info is
4566 now current_function_args_info.
4568 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4569 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4570 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4572 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4574 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4575 output as hexadecimal rather than the default octal.
4577 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
4579 * cpphash.c (special_symbol): Fix thinko in previous commit.
4581 2000-03-07 Neil Booth <NeilB@earthling.net>
4583 * cppexp.c (struct operation, left_shift, right_shift,
4584 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4585 "int"s to "unsigned int"s.
4586 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4588 * cpplib.h: Update for above.
4589 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4590 returned from allocations.
4592 * cppinit.c (opt_comp, parse_options): New functions.
4593 (handle_option): Use parse_option to parse a single command
4594 line option, that possibly takes an argument.
4595 (cpp_handle_options): Sort the array of command line options on
4596 first invocation (non-ASCII hosts only).
4597 (print_help): Update.
4599 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
4601 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4602 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
4604 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4606 * cppinit.c (cpp_cleanup): Free imp->nshort also.
4608 * cpperror.c (cpp_print_containing_files,
4609 cpp_print_file_and_line, v_cpp_message): Rename to
4610 print_containing_files, print_file_and_line, and v_message.
4611 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4612 to _cpp_parse_expr, parse_escape, and lex.
4613 (parse_charconst): Remove broken multibyte support.
4614 * cppfiles.c (include_hash): Make static.
4615 (cpp_included): New function.
4616 (merge_include_chains, find_include_file, finclude,
4617 simplify_pathname): Rename to _cpp_merge_include_chains,
4618 _cpp_find_include_file, _cpp_read_include_file, and
4619 _cpp_simplify_pathname.
4620 * cpphash.c (cpp_lookup, free_definition, delete_macro,
4621 cpp_install, create_definition, macroexpand, compare_defs,
4622 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4623 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4624 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4625 * cppinit.c (cpp_handle_option): Rename to handle_option, make
4627 * cpplib.c: Remove extern prototype of cpp_parse_expr.
4629 * cpphash.h: Update prototypes.
4630 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
4632 2000-03-07 Andrew Haley <aph@cygnus.com>
4634 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4635 PTRDIFF_TYPE should be based solely on Pmode.
4638 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4640 * rtl.h (rtunion_def): Constify member `rtstr'.
4641 (emit_line_note_after, emit_line_note, emit_line_note_force,
4642 emit_note, decode_asm_operands): Constify.
4644 * cse.c (canon_hash): Likewise.
4646 * dbxout.c (dbxout_block): Likewise.
4648 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
4649 v_warning_for_asm): Likewise.
4651 * dwarfout.c (function_start_label): Likewise.
4653 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
4654 emit_line_note_force): Likewise.
4656 * final.c (last_filename, asm_insn_count, final_scan_insn,
4657 output_source_line): Likewise.
4659 * function.h (struct emit_status): Likewise.
4661 * gcse.c (hash_expr_1): Likewise.
4663 * genattr.c (gen_attr, main): Likewise.
4665 * genattrtab.c (struct function_unit, current_alternative_string,
4666 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
4667 attr_numeral, check_attr_test, check_attr_value,
4668 convert_set_attr_alternative, convert_set_attr,
4669 compute_alternative_mask, simplify_by_exploding, gen_attr,
4670 gen_unit): Likewise.
4672 * genflags.c (gen_insn): Likewise.
4674 * gengenrtl.c (type_from_format): Likewise.
4676 * genopinit.c (gen_insn): Likewise.
4678 * genoutput.c (n_occurrences, process_template, process_template):
4681 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4684 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4687 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
4688 ggc_set_mark, ggc_get_size): Likewise.
4690 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
4692 * optabs.c (init_one_libfunc): Likewise.
4694 * output.h (assemble_start_function): Likewise.
4696 * recog.c (decode_asm_operands): Likewise.
4698 * toplev.c (rest_of_compilation): Likewise.
4700 * tree.h (emit_line_note_after, emit_line_note,
4701 emit_line_note_force): Likewise.
4703 * varasm.c (asm_output_bss, asm_output_aligned_bss,
4704 asm_emit_uninitialised, assemble_start_function,
4705 assemble_variable, const_hash, compare_constant_1,
4706 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
4708 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
4710 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
4712 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
4714 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
4716 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
4717 arm_dllimport_name_p): Likewise.
4719 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
4722 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
4724 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4726 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
4727 arm_mark_dllexport, arm_mark_dllimport,
4728 arm_pe_encode_section_info): Likewise.
4730 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
4731 ASM_FINISH_DECLARE_OBJECT): Likewise.
4733 * arm/thumb.c (thumb_function_prologue): Likewise.
4735 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
4737 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4739 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
4741 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
4743 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4745 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4747 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
4748 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
4750 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
4752 * i386/i386.c (asm_output_function_prefix): Likewise.
4754 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
4756 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4758 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
4760 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
4761 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
4762 ASM_OUTPUT_SECTION_NAME): Likewise.
4764 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
4766 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
4768 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
4770 * m32r/m32r.c (m32r_encode_section_info): Likewise.
4772 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4774 * mcore/mcore.c (mcore_encode_section_info): Likewise.
4776 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4778 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4780 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4782 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
4784 * mips/mips.md (movdi, movsi): Likewise.
4786 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4788 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4790 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4792 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
4793 ASM_OUTPUT_ASCII): Likewise.
4795 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
4796 output_mi_thunk, output_toc): Likewise.
4798 * rs6000/rs6000.md (movsi): Likewise.
4800 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
4802 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
4804 * v850/v850.c (print_operand, print_operand_address,
4805 v850_encode_data_area): Likewise.
4807 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
4809 * config/mips/mips.md (zero_extendsidi2): Always force operand
4810 one to memory for mips16.
4812 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4814 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
4815 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
4816 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
4817 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
4818 (min_precision): Result is unsigned.
4819 (add_double, neg_double, mul_double): Low word is unsigned.
4820 (lshift_double, rshift_double, lrotate_double): Likewise.
4821 (rrotate_double, div_and_round_double): Likewise.
4822 (tree_floor_log2, compare_tree_int): New functions.
4823 (preserve_rtl_expr_temps): New declaration.
4824 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
4825 (decl_attributes): Use tree_log2 to find alignment.
4826 Check for TREE_INT_CST_HIGH for format args.
4827 (min_precision): Now unsigned.
4828 Use tree_floor_log2.
4829 (truthvalue_conversion): Delete long-disabled code.
4830 * c-decl.c (finish_struct): Clean up tests on field width.
4831 (finish_function): Use compare_tree_int.
4832 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
4833 * c-typeck.c (comptypes): Use tree_int_cst_equal.
4834 (default_conversion, digest_init): Use compare_tree_int.
4835 (build_binary_op): Use integer_all_onesp and compare_tree_int.
4836 Fix type errors in forming masks.
4837 * calls.c (initialize_argument_information): Use compare_tree_int.
4838 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
4839 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
4840 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
4841 (store_field): Use compare_tree_int.
4842 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
4843 (expand_expr, case ARRAY_REF): Use compare_tree_int.
4844 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
4845 (do_store_flag): Use compare_tree_int.
4846 * fold-const.c (encode, decode): Low part is always unsigned.
4847 (force_fit_type, add_double, neg_double, mul_double): Likewise.
4848 (lshift_double, rshift_double, lrotate_double): Likewise.
4849 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
4850 (fold_convert): Use compare_tree_int.
4851 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
4852 (invert_truthvalue, case INTEGER_CST): Likewise.
4853 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
4854 * mkdeps.c (deps_dummy_targets): Make I unsigned.
4855 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
4856 (lshift_double, rshift_double, lrotate_double, rrotate_double):
4858 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
4859 (expand_end_case): Use compare_tree_int.
4860 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
4861 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
4862 (layout_decl): Likewise.
4863 (layout_record, layout_union): Make sizes unsigned.
4864 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
4865 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
4866 * tree.c (struct type_hash): hashcode is unsigned.
4867 (build_type_attribute_variant, type_hash_list): Likewise.
4868 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
4869 (attribute_hash_list, build_array_type, build_method_type): Likewise.
4870 (build_complex_type): Likewise.
4871 (real_value_from_int_cst): Remove unneeded casts.
4872 (integer_all_onesp): Add casts.
4873 (tree_floor_log2, compare_tree_int): New functions.
4874 (build_index_type): Use tree_int_cst_sgn.
4875 * varasm.c (assemble_variable): Use compare_tree_int.
4877 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
4879 * cpphash.c (collect_expansion): Also catch ## at start of macro.
4881 * varasm.c (make_decl_rtl): Don't add a number to members of
4883 (make_function_rtl): Likewise.
4885 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4887 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
4888 patch from 2000-01-28.
4890 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
4892 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
4893 filled with an insn from the jump target.
4895 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4897 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
4898 (c4x_external_ref): Likewise.
4899 * config/c4x/c4x.c (struct name_list): Likewise.
4901 1999-12-16 Ben Collins <bcollins@debian.org>
4903 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
4904 argument to genmultilib.
4905 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
4906 the contents into the multilib.h header.
4907 * gcc.c: Declare multilib_exclusions for the specs file.
4908 (set_multilib_dir): Use it.
4909 (print_multilib_info): Likewise.
4910 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
4911 to pass to genmultilib.
4913 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4915 * builtins.c (built_in_class_names, built_in_names): Constify a
4918 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
4920 (_mcleanup): Ensure value matches format specifier in sprintf.
4922 * cpphash.c (special_symbol): Don't needlessly cast away
4925 * cppinit.c (base_name): Delete unused prototype.
4927 * mkdeps.c (deps_init): Make definition K&R safe.
4929 * tree.h (built_in_class_names, built_in_names): Constify a
4932 2000-03-06 Jakub Jelinek <jakub@redhat.com>
4934 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
4935 floating point instructions for epilogue delay.
4937 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
4938 to gas if it supports .register pseudo.
4940 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
4941 LONG_DOUBLE_TYPE_SIZE if not defined.
4942 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
4943 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
4945 * gengenrtl.c: Likewise.
4946 * print-rtl.c: Likewise.
4948 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
4949 MASK_LONG_DOUBLE_128.
4950 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
4951 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
4952 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
4953 (SUBTARGET_SWITCHES): Define.
4954 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
4955 with -mlong-double-128.
4956 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4957 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4958 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4959 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
4960 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
4961 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
4962 with -mlong-double-128.
4963 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4964 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4965 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4966 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
4967 TARGET_LONG_DOUBLE_128): Define.
4968 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
4969 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
4970 long double on TARGET_ARCH64.
4972 2000-03-06 Mark Mitchell <mark@codesourcery.com>
4974 * function.c (free_temps_for_rtl_expr): Don't free slots
4975 that have been pushed into a higher level.
4978 2000-03-05 Mark Mitchell <mark@codesourcery.com>
4980 2000-03-05 Mark Mitchell <mark@codesourcery.com>
4982 * basic-block.h (ALLOCA_REG_SET): Remove.
4983 (INITIALIZE_REG_SET): New macro.
4984 * flow.c (update_life_info): Use it.
4985 (calculate_global_regs_live): Likewise.
4986 (propagate_block): Likewise.
4987 * global.c (build_insn_chain): Likewise.
4988 * haifa-sched.c (schedule_region): Likewise.
4990 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
4992 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
4993 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
4994 (DWARF_ARANGES_PAD_SIZE): New define.
4995 (output_aranges): Use it to pad the address range header.
4996 (DWARF_ROUND): Fix for non power of 2 rounding.
4998 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
5000 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5002 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5004 * tree.def (RTL_EXPR): Update documentation.
5005 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5006 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5007 * function.c (preserve_rtl_expr_temp): New function.
5008 (preserve_rtl_expr_temps): Likewise.
5009 (preserve_rtl_expr_result): Use it.
5012 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5014 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
5016 * regmove.c (copy_src_to_dest) Do not create src->dest move
5017 for unchanging destination.
5019 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5021 * function.h (struct sequence_stack): Remove rtl_expr.
5022 (struct emit_staus): Likewise.
5023 (seq_rtl_expr): Remove.
5024 * tree.h (free_temps_for_rtl_expr): Don't declare.
5025 (start_sequence_for_rtl_expr): Likewise.
5026 * rtl.h (preserve_rtl_expr_result): Likewise.
5027 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5028 (start_sequence_for_rtl_expr): Remove.
5029 (push_topmost_sequence): Don't save sequence_rtl_expr.
5030 (pop_topmost_sequence): Remove comment about not restoring it.
5031 (end_sequence): Don't set seq_rtl_expr.
5032 (init_emit): Don't initialize it.
5033 (mark_sequence_stack): Don't mark it.
5034 (mark_emit_status): Likewise.
5035 * except.c (protect_with_terminate): Use
5036 start_sequence_for_rtl_expr, not start_sequence.
5037 * expr.c (expand_expr, case RTL_EXPR): Don't call
5038 preserve_rtl_expr_result or free_temps_for_rtl_expr.
5039 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5040 (preserve_rtl_expr_result): Remove.
5041 (free_temps_for_rtl_expr): Likewise.
5042 (pop_temp_slots): Likewise.
5043 (mark_temp_slot): Don't mark the rtl_expr.
5044 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5045 start_sequence_for_rtl_expr.
5047 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
5049 * mkdeps.c, mkdeps.h: New files.
5050 * po/POTFILES.in: Add them.
5051 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5052 (cpplib.o, cppinit.o): Depend on mkdeps.h.
5053 (mkdeps.o): New target.
5055 * cppfiles.c: Delete deps_output.
5056 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
5057 OBJECT_SUFFIX, and base_name.
5058 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
5060 (initialize_dependency_output): Use deps_init,
5061 deps_add_target, deps_calc_target, and deps_add_dep. Remove
5062 all the unnecessary string bashing.
5063 (cpp_finish): Use deps_write. Remove an unnecessary nesting
5065 * cpplib.c (do_include): Use deps_add_dep.
5066 * cpplib.h (struct cpp_reader): Replace deps_buffer,
5067 deps_allocated_size, deps_size, deps_column members with
5068 single pointer to a struct deps. Delete prototype of
5071 * cppinit.c: Fix thinko in previous patch.
5073 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5075 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5076 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5077 (mode_for_size_tree): New function.
5078 (layout_decl, layout_type): Call it and clean up BLKmode checks.
5079 * tree.h (mode_for_size_tree): New declaration.
5081 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5083 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
5085 * stmt.c (is_body_block): Move...
5086 * dwarfout.c, dwarf2out.c: ...from here.
5087 * tree.h: Declare it.
5088 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5089 * final.c (final_start_function): Do call remove_unnecessary_notes
5092 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5094 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5096 * cpplib.h (_dollar_ok): New macro.
5097 (is_idchar, is_idstart): Use it.
5098 (IStable): Rename to _cpp_IStable. Declare it const if
5099 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
5100 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5101 is_space): Update for renamed IStable.
5103 * cppinit.c: Delete all references to FAKE_CONST and CAT
5104 macros. Define init_IStable as empty macro if gcc >=2.7 or
5105 C99. Change TABLE() to ISTABLE and hardcode name of table.
5106 (cpp_start_read): Don't change the IStable based on
5109 * cpphash.c (unsafe_chars): Add pfile argument. All callers
5110 changed. Handle '$' for char1 correctly.
5111 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5113 * cppexp.c (tokentab2): Make const.
5114 (cpp_lex): Make toktab const.
5115 * cppinit.c (include_defaults_array): Make const.
5116 (initialize_standard_includes): Make default_include const.
5118 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5120 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5121 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5122 (gen_decl_die): Likewise.
5123 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5124 (output_decl): Likewise.
5126 * varasm.c (make_function_rtl): If we change the name used in the
5127 rtl, update DECL_ASSEMBLER_NAME accordingly.
5128 (make_decl_rtl): Likewise.
5130 * toplev.c (rest_of_compilation): Tweak formatting.
5132 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5133 remove_unnecessary_notes.
5134 (debug_ignore_block): New fn.
5135 * toplev.h: Declare it.
5136 * emit-rtl.c (remove_unncessary_notes): Call it.
5137 * dwarf2out.c (dwarf2out_ignore_block): New fn.
5138 * dwarf2out.h: Declare it.
5139 * final.c (final_start_function): Don't call remove_unnecessary_notes
5140 if we did insn scheduling.
5142 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5144 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5145 * cpplib.h: Delete SET_CPP_PEDANTIC.
5147 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5149 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5150 result is a RECORD_TYPE.
5152 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
5154 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5156 2000-03-03 Richard Henderson <rth@cygnus.com>
5158 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5159 addition over compliments over shifts.
5161 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5163 * reload1.c (reload_combine_note_use): Handle return register USEs.
5164 REG case: Handle multi-hard-register hard regs.
5166 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5168 * md.texi: Document use of '*' in insn pattern name.
5170 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5172 * calls.c (special_function_p): operator new may not be malloc-like.
5174 * gcse.c (dump_hash_table): Really fix error in last change.
5176 2000-03-02 Denis Chertykov <denisc@overta.ru>
5178 * avr.c (print_operand): Use print_operand_address instead of
5180 * avr/libgcc.S: Cleanup code.
5182 2000-03-02 Richard Henderson <rth@cygnus.com>
5184 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5186 2000-03-02 Mark Mitchell <mark@codesourcery.com>
5188 * tree.h (TYPE_ALIGN_UNIT): New macro.
5190 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
5192 * i386.c: (constant_call_address_operand): Reject CONST_INT.
5194 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
5196 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5198 (SET_CPP_PEDANTIC): New macro.
5199 * cpplib.c (do_include): Don't bother checking system_header_p.
5200 (do_warning, do_ident, do_assert, do_unassert): Likewise.
5201 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5203 * function.h (struct expr_status): Add x_arg_space_so_far.
5204 (arg_space_so_far): New macro.
5205 * expr.c (init_expr): Initialize it.
5206 * calls.c (emit_call_1): Reset it.
5207 (compute_argument_block_size, expand_call): Use it.
5208 (expand_call, store_one_arg): Increment it.
5210 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5212 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5215 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
5217 * cppfiles.c (cpp_read_file): New function.
5219 * cpphash.c (collect_expansion): Make sure to reset last_token
5220 to NORM when we hit a string. Handle trailing whitespace
5221 properly when the expansion is empty.
5222 (create_definition): Disable line commands while parsing the
5224 (dump_definition): If pfile->lineno == 0, output a line
5225 command ahead of the dump, and add a trailing newline.
5227 * cppinit.c (append_include_chain): Add fifth argument, which
5228 indicates whether or not system headers are C++ aware.
5229 (initialize_standard_includes): New function,
5230 broken out of read_and_prescan. Pass 'cxx_aware' value from
5231 the include_defaults_array on to append_include_chain.
5232 (dump_special_to_buffer): Const-ify char array.
5233 (builtin_array): Don't dump __BASE_FILE__.
5234 (cpp_start_read): Use cpp_read_file. Reorder code for
5235 clarity. Don't output line commands here for -D/-A/-U
5236 switches. Don't call deps_output for files included with
5237 -include or -imacros.
5239 * cpplib.c (do_define): Don't pay any attention to the second
5241 (cpp_expand_to_buffer): Disable line commands while scanning.
5242 (output_line_command): Work in the file buffer.
5243 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5244 Fix formatting of comments. Prototype cpp_read_file.
5246 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5248 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5249 reference the language-equivalent of sizetype.
5250 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5251 * fold-const.c (size_binop, size_diffop): Put back checks.
5252 * gcse.c (dump_hash_table): Fix minor error in last change.
5253 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5254 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5257 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
5259 * calls.c (expand_call) Do not attempt to combine stack adjustments
5260 with inhibit_defer_pop set.
5262 2000-03-01 Mark Mitchell <mark@codesourcery.com>
5264 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5265 the DECL_SIZE for a FIELD_DECL.
5267 2000-03-01 Bruce Korb <bkorb@gnu.org>
5269 * fixinc/inclhack.tpl: remove unused symlinks
5270 * fixinc/README: GCC Maintainer info
5271 * fixinc/inclhack.sh: regen
5272 * fixinc/fixincl.sh: regen
5274 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
5276 * cpphash.c (collect_expansion): Trim trailing white space
5277 from macro definitions, but don't go past the last insertion
5280 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
5282 * i386.md (mulqi3): New pattern.
5284 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
5286 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5288 (struct cpp_reader): Add parsing_if_directive and
5289 parsing_define_directive flags.
5290 (struct cpp_options): Remove output_conditionals flag.
5291 (check_macro_name): Delete prototype.
5293 * cpphash.h (struct macrodef): Delete.
5294 (struct reflist): Separate from struct definition.
5295 (struct definition): Remove unused fields. Add column number.
5296 (create_definition): Returns a DEFINITION *. Takes a
5297 cpp_reader * and an int.
5299 * cpphash.c (SKIP_WHITE_SPACE): Delete.
5300 (PEEKC): Copy defn from cpplib.c.
5301 (rest_extension, REST_EXTENSION_LENGTH): Delete.
5303 (struct arglist): Simplify.
5304 (collect_expansion): Rewrite. Get tokens by calling
5305 cpp_get_token. Add more error checking.
5306 (collect_formal_parameters): New function, broken out of
5307 create_definition and reworked to use get_directive_token.
5308 (create_definition): All real work is now in collect_expansion
5309 and collect_formal_parameters. do_define handles finding the
5310 macro name. Return a DEFINITION, not a MACRODEF.
5311 (macroexpand): Replace bcopy with memcpy throughout. Replace
5312 character-at-a-time copy loop with memcpy and pointer increments.
5313 (compare-defs): d1->argnames / d2->argnames might be null.
5315 * cpplib.c (copy_rest_of_line): Delete function.
5316 (skip_rest_of_line): Do all the work ourselves.
5317 (skip_string): New function.
5318 (parse_string): Use skip_string.
5319 (get_macro_name): New function.
5320 (check_macro_name): Delete.
5321 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5322 (cpp_skip_hspace): Use CPP_BUMP_LINE.
5323 (handle_directive): ICE if we're called on a macro buffer.
5324 (do_define): Determine macro name and type (funlike/objlike)
5325 here. Expunge all uses of MACRODEF.
5326 (cpp_push_buffer): Set line_base to NULL.
5327 (do_undef, read_line_number): Don't worry about getting a POP token.
5328 (eval_if_expression): Set/reset parsing_if_directive around
5329 cpp_parse_expr. Don't clear only_seen_white.
5330 (skip_if_group): Remove output_conditionals logic. Use
5332 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5333 tokens under appropriate conditions.
5334 (cpp_unassert): Call do_unassert not do_assert. Oops.
5336 * cppexp.c (parse_defined): New function, break out of
5338 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5339 ourselves, with cpp_defined.
5340 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5342 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5343 * gcc.dg/strpaste-2.c: New.
5345 2000-02-29 Mark Mitchell <mark@codesourcery.com>
5347 * fold-const.c (size_binop): Don't asert inputs are the same and
5348 have TYPE_IS_SIZETYPE set.
5349 (size_diffop): Likewise.
5351 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
5353 * dwarfout.c (output_block): Output abstract blocks even if they
5354 don't have TREE_ASM_WRITTEN set.
5356 * calls.c (emit_library_call): Check for null REG.
5358 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
5360 * c-decl.c (current_function_decl): Move to toplev.c.
5361 (init_decl_processing): Don't add current_function_decl as a ggc
5363 * dbxout.c (dbxout_symbol): Change return type to int.
5364 (dbxout_symbol_location, dbxout_syms): Likewise.
5365 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5366 any locals. Use current_function_func_begin_label if set.
5367 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5368 * dwarf2out.c (dwarf2out_begin_prologue): Set
5369 current_function_func_begin_label.
5370 * final.c (final_start_function): Reset it.
5371 * toplev.c (current_function_decl): Define it here.
5372 (current_function_func_begin_label): New variable.
5373 (main): Add both as ggc roots.
5374 * tree.h (current_function_func_begin_label): Declare.
5376 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5378 * gcse.c: Cleanups throughout: mostly white-space, but also
5379 some minor rearrangement of code.
5381 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
5383 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5384 returns a PARALLEL. Use emit_group_load and use_group_regs
5386 (emit_library_call_value): Similarly.
5388 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5389 * pa/quadlib.asm: Remove.
5390 * pa/quadlib.c: New file.
5392 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5393 * configure: Rebuilt.
5395 2000-02-29 Philip Blundell <pb@futuretv.com>
5397 * config/arm/conix-elf.h: New file.
5398 * configure.in (arm*-*-conix*): New configuration.
5399 * configure: Regenerate.
5401 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
5403 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5404 don't have TREE_ASM_WRITTEN set.
5406 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5408 * Eliminate DECL_FIELD_SIZE.
5409 * builtins.c (built_in_class_names, built_in_names): New variables.
5410 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5411 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5412 DECL_SIZE, not DECL_FIELD_SIZE.
5413 * print-tree.c (print_node): Remove code that prints extra blank
5414 lines in some cases.
5415 Properly handle inline and builtin function cases.
5416 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5417 * tree.h (built_in_class_named, built_in_names): New declarations.
5418 (union tree_decl): Rename internal unions to u1 and u2 and change
5419 some of their components.
5420 Add new field built_in_class.
5421 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5422 Reflect above changes.
5423 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5424 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5425 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5426 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5428 2000-02-28 Dmitri Makarov <dim@windriver.com>
5430 * extend.texi: Document ARM's support for long/short calls.
5432 * invoke.texi: Document ARM's -mlong-calls command line switch.
5434 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5435 (arm_encode_call_attribute): Add prototype.
5436 (arm_set_default_type_attribute): Add prototype.
5437 (arm_strip_name_encoding): Add prototype.
5439 * config/arm/arm.c (arm_init_cumulative_args): replace
5440 initialisation og 'long_calls' field with initialisation of
5441 'call_cookie' field.
5442 (enum arm_pragma_enum): New enum.
5443 (arm_pragma_long_calls): New static variable.
5444 (arm_process_pragma): Also process "#pragma long_calls_off".
5445 (arm_valid_type_attribute_p): Accept short_call attribute.
5446 (arm_comp_type_attributes): Check long/short call attributes.
5447 (arm_encode_call_attribute): New function: Encode long_call
5448 or short_call attribute in function name.
5449 (arm_set_default_type_attributes): New function: Assign
5450 default attributes to newly defined type.
5451 (current_file_function_operand): New function: Return true if
5452 the symbol is a function which has already been compiled.
5453 (arm_is_longcall_p): New function: Return true if the
5454 indicated function should be called via a long call.
5455 (arm_get_strip_length): New function. Returns number of
5456 prefix characters to be stripped from a function's name.
5457 (arm_strip_name_encoding): New function. Strip prefix characters
5458 from a function's name.
5460 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5462 (SHORT_CALL_FAG_CHAR): Define.
5463 (LONG_CALL_FAG_CHAR): Define.
5464 (ENCODED_SHORT_CALL_ATTR_P): Define.
5465 (ENCODED_LONG_CALL_ATTR_P): Define.
5466 (ARM_NAME_ENCODING_LENGTHS): Define.
5467 (STRIP_NAME_ENCODING): Define.
5468 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5469 (ARM_ENCODE_CALL_TYPE): Define.
5470 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5471 (ARM_DECLARE_FUNCTION_SIZE): Define.
5472 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5474 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5475 if a long call is needed.
5476 (call_value): Ditto.
5477 (call_symbol): Ditto.
5479 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5480 ARM_DECLARE_FUNCTION_SIZE.
5482 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5483 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5484 (ARM_STRIP_NAME_ENCODING): Undefine.
5485 (STRIP_NAME_ENCODING): Undefine.
5486 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5487 (ASM_DECLARE_FUNCTION_NAME): Ditto.
5488 (ASM_OUTPUT_COMMON): Ditto.
5489 (ASM_DECLARE_OBJECT_NAME): Ditto.
5491 * config/arm/pe.c (arm_dllexport_name_p): Check for
5493 (arm_dllimport_name_p): Ditto.
5494 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5495 (arm_mark_dllimport): Ditto.
5497 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5499 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5501 2000-02-28 Mark Mitchell <mark@codesourcery.com>
5503 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5505 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
5507 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5508 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5509 NO_BUILTIN_WCHAR_TYPE is not defined.
5510 (CPP_WCHAR_TYPE): Delete.
5511 * cccp.c (main): Don't change wchar_type if cplusplus.
5512 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5514 2000-02-28 Nick Clifton <nickc@cygnus.com>
5516 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5518 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
5520 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5521 (ASM_WEAKEN_LABEL): Define.
5523 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
5525 * expr.c (store_constructor): Do not emit USE.
5526 * rtl.h (stupid_life_analysis): Remove.
5528 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5530 * function.c (number_blocks): Reset next_block_index based on
5531 what debugging format is used, not what is defined.
5533 * lcm.c: Minor reformatting throughout.
5534 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5536 * toplev.c (rest_of_compilation): Account for time in
5537 optimize_mode_switching.
5539 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5540 if only marking labels.
5542 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
5544 * calls.c (expand_call): Attempt to combine stack adjustments with
5545 pending stack adjustments.
5547 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5549 * loop.c (reg_in_basic_block_p): Don't abort when falling through
5550 to the end of the function.
5552 2000-02-27 Mark Mitchell <mark@codesourcery.com>
5554 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5556 * final.c (next_block_index): Remove.
5557 (max_block_depth): Likewise.
5558 (pending_blocks): Likewise.
5559 (init_final): Don't initialize them.
5560 (final_start_function): Don't set next_block_index. Set up
5562 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5563 * function.h (number_blocks): New function.
5564 * function.c (get_block_vector): New function.
5565 (identify_blocks): Use it.
5566 (reorder_blocks): Set NOTE_BLOCK.
5567 (number_blocks): New function.
5568 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5569 * tree.h (BLOCK_NUMBER): New macro.
5570 (tree_block): Add block_num field.
5571 * dbxout.c (next_block_number): Remove.
5572 (dbxout_init): Don't set it.
5573 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5574 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
5576 * toplev.c (rest_of_compilation): Always call
5577 find_loop_tree_blocks. Fix indentation.
5578 * dwarf2out.c (next_block_number): Remove.
5579 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5580 to determine block numbers.
5581 (gen_inlined_subroutine_die): Likewise.
5582 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5583 (decls_for_scope): Don't increment next_block_number.
5584 * dwarfout.c (next_block_number): Remove.
5585 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5586 to determine block numbers.
5587 (output_inlined_subroutine_die): Likewise.
5588 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5589 (output_decls_for_scope): Don't increment next_block_number.
5590 * sdbout.c (next_block_number): Remove.
5591 (sdbout_block): Use BLOCK_NUMBER.
5592 (sdbout_begin_block): Simplify.
5593 * xcoffout.c (next_block_number): Remove.
5594 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5595 (xcoffout_begin_block): Don't set next_block_number.
5596 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5599 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5601 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5602 (expand_builtin_strcpy): Pass correct type to size_binop.
5603 (expand_builtin_strcmp): Likewise.
5604 Clean up conditional structure.
5605 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5606 (complete_array_type): Don't use size_binop for MAXINDEX.
5607 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5608 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5609 (c_alignof): Use size_one_node.
5610 (build_unary_op): Pass arg of proper type to size_binop.
5611 (really_start_incremental_init, push_init_level): Use sizetype for
5612 constructor{,_bit,_unfilled}_index.
5613 (pop_init_label, output_init_element): Likewise.
5614 (output_pending_init_elements, process_init_element): Likewise.
5615 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5616 * expr.c (store_expr): Use size_int.
5617 (store_constructor): Use proper types for size_binop args.
5618 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5619 (expand_expr_unaligned): Likewise.
5620 (string_contant): Return object of sizetype.
5621 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5622 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5623 (ARGS_SIZE_TREE): Pass proper types to size_binop.
5624 * fold-const.c (int_const_binop): Refine when size_int is called.
5625 (fold_convert): Likewise.
5626 (size_int_wide): Rework to take KIND as arg, only take low order
5627 bits, handle new sizetype_tab datatype, and chain entries in
5629 (size_int_type_wide): New function.
5630 (size_binop): Validate types of arguments.
5631 (ssize_binop): Deleted.
5632 (size_diffop): New function.
5633 (extract_muldiv): Only fold division into multiplication for sizetypes.
5634 * function.c (assign_parms): Use size_diffop and make sure
5635 VAR field is of ssizetype; also pass proper type to size_binop.
5636 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
5637 (round_down): Deleted from here.
5638 * store-layout.c (sizetype_tab): Now an array.
5639 (sizetype_set, early_root_list): New variables.
5640 (variable_size): Use size_one_node.
5641 (round_up): Pass proper type to size_binop.
5642 (round_down): Moved to here and corrected as above.
5643 (layout_record): Pass proper arg types to size_binop.
5644 (layout_type): Likewise.
5645 If sizetype_set is zero, record the type just laid out.
5646 (make_unsigned_type): Don't call set_sizetype;
5647 (make_signed_type): Likewise; also, call fixup_signed_type.
5648 (initialize_sizetypes): New function.
5649 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
5650 set name of bitsizetype to "bit_size_type".
5651 Fix up type of sizes of all types made before call.
5652 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
5653 * tree.c (fix_sizetype): Deleted.
5654 (build_common_tree_nodes): Call initialize_sizetypes.
5655 (build_common_tree_nodes_2): Don't call fix_sizetype.
5656 * tree.h (TYPE_IS_SIZETYPE): New macro.
5657 (initialize_sizetype): New declaration.
5658 (enum size_type_kind): New type.
5659 (struct sizetype_tab): Deleted.
5660 (sizetype_tab): Now array; adjust sizetype macros.
5661 (size_diffop, size_int_type_wide): New functions.
5662 (size_int_wide): Change number of args and type; access macros changed.
5663 (ssize_int, sbitsize_int): New macros.
5664 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
5665 (ROUND_TYPE_SIZE_UNIT): New macro.
5667 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
5669 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
5671 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5673 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
5674 Mark as possibly unused.
5676 * cse.c (cse_insn): Delete dead code involving tablejump.
5677 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
5679 * Makefile.in (libcpp.a): Start by deleting it.
5681 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5683 * cpplib.h (enum file_change_code): Added rename_file.
5684 * cpplib.c (do_line): If a filename is given, set file_change to
5686 (output_line_command): If file_change is rename_file, always
5687 output a # directive with the file name.
5689 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
5691 2000-02-26 Mark Mitchell <mark@codesourcery.com>
5693 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
5694 when copying a PARM_DECL or RESULT_DECL.
5696 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5698 * fix-header.c (recognized_function): Also fix prototypes for
5699 functions taking "void".
5701 2000-02-26 Geoff Keating <geoffk@cygnus.com>
5703 * reload1.c (do_output_reload): Check reg_reloaded_valid before
5704 looking at reg_reloaded_contents.
5706 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
5708 * Makefile.in (STMP_FIXINC): New toggle.
5709 (LIBGCC2_DEPS): Delete all references.
5710 (stmp-headers): Delete target. All references either deleted
5711 or changed to stmp-int-headers.
5712 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
5713 (LIBCPP_OBJS): Take out cppalloc.o.
5714 (cppalloc.o): Delete target.
5715 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
5716 (gen-protos, fix-header): Link with libiberty.a.
5717 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
5720 * configure.in: Remove refs to strerror.
5721 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
5722 * system.h: Take out strerror stanza.
5724 * cpperror.c (my_strerror): Delete function.
5725 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
5726 * cppmain.c (main): Call xmalloc_set_program_name first thing.
5727 * cppalloc.c: Delete file.
5728 * gen-protos.c: Don't provide xrealloc.
5730 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
5731 xstrerror throughout.
5733 2000-02-26 Bruce Korb <bkorb@gnu.org>
5735 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
5736 match for DOS headers, too.
5737 * fixinc/inclhack.sh,fixincl.x: Regenerate.
5739 2000-02-26 Geoff Keating <geoffk@cygnus.com>
5741 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
5742 is right for most ELF targets.
5743 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
5744 Let the default file use %U properly.
5745 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
5748 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
5751 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5753 * toplev.c (documented_lang_options): Correct spelling error.
5754 (decode_d_option, decode_f_option, main): Likewise.
5756 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
5758 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
5759 to tell assembler it is permitted to expand large constants.
5761 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
5763 * protoize.c: (AUX_INFO_SUFFIX): New macro.
5764 (aux_info_suffix): Use.
5765 (SAVE_SUFFIX): New macro.
5767 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
5768 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
5769 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
5771 * invoke.texi (Running Protoize): Update documentation.
5773 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
5775 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
5777 2000-02-25 John Wehle (john@feith.com)
5779 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
5781 2000-02-25 Anthony Green <green@cygnus.com>
5783 * toplev.c (rest_of_compilation): Rebuild jump labels if
5784 combine_instructions has created a new direct jump.
5785 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
5787 (combine_instructions): Call try_combine with new argument.
5788 Return non-null value when new direct jump instruction is created.
5789 * rtl.h: combine_instructions returns an int.
5791 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
5793 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
5794 jump when changing a computed jump into a jump to a known
5797 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
5799 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
5800 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
5802 * i386.md (define_expand "clrstrsi"): Fix typo.
5804 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
5806 * rtl.texi: Fix typo.
5808 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5810 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
5811 UNITS_PER_WORD. Change caller initial_elimination_offset.
5812 (rounded_frame_size): Take into account that argument pushed has
5813 changed. Fix TARGET_ALIGN_DOUBLE problem.
5815 2000-02-25 Geoff Keating <geoffk@cygnus.com>
5817 * haifa-sched.c (schedule_block): Explain the real reason
5818 we delete REG_SAVE_NOTEs on the first insn of a block.
5819 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
5821 2000-02-24 Mark Mitchell <mark@codesourcery.com>
5823 * input.h (push_srcloc): New function.
5824 (pop_srcloc): Likewise.
5825 * toplev.c (push_srcloc): Define it.
5826 (pop_srcloc): Likewise.
5828 2000-02-24 Richard Henderson <rth@cygnus.com>
5830 * flow.c (life_analysis): When collecting reg info, clear
5833 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5835 Fix bug exposed by reload.c no longer rounding the frame
5836 size to BIGGEST_ALIGNMENT:
5837 * sh.c (rounded_frame_size): New function.
5838 (sh_expand_prologue, sh_expand_epilogue): Use it.
5839 (initial_elimination_offset): Likewise.
5841 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5843 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
5844 * sh-protos.h (sh_need_epilogue): Declare.
5845 * sh.c (sh_need_epilogue_known): New static variable.
5846 (sh_need_epilogue): New function.
5847 (function_epilogue): Clear need_epilogue_known.
5848 * sh.md (return): Split into expander / insn pattern.
5849 Make the expander conditional on ! sh_need_epilogue ().
5851 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
5853 * machmode.h (get_mode_alignment): Declare.
5854 (GET_MODE_ALIGNMENT): Call it.
5855 * stor-layout.c (get_mode_alignment): New function. Make
5856 sure alignment is always power of 2.
5858 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
5860 * i386.h: Remove useless definition of "I386" and misleading
5863 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
5865 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
5866 under which TREE_PERMANENT will be set.
5867 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
5868 build1): Use TREE_SET_PERMANENT.
5869 * print-tree.c (print_node): Don't report value of
5870 TREE_PERMANENT if ggc_p is true.
5872 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
5873 decide whether to give a type a new alias set.
5874 * objc/objc-act.c (build_objc_string_object): Never copy the string.
5875 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
5876 of value of 'obstack'.
5879 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5881 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
5883 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5885 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
5886 * cpplib.c (cpp_get_token): Produce them.
5887 * cppexp.c (cpp_lex): Handle them.
5889 2000-02-23 Nick Clifton <nickc@cygnus.com>
5891 * config/arm/arm.c (arm_comp_type_attributes): Simply and
5892 comment tests on type attributes.
5894 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5896 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
5897 conform to documentation.
5898 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
5899 to check for special cases.
5900 * sh-protos.h (sh_loop_align): Declare.
5901 * sh.c (sh_loop_align): Define.
5903 2000-02-22 Andrew Haley <aph@cygnus.com>
5905 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
5906 (SIZE_TYPE): Is 32 bits when using -mgp32.
5907 (PTRDIFF_TYPE): Ditto.
5909 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5911 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
5913 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
5915 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
5916 BIGGEST_FIELD_ALIGNMENT a constant.
5918 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
5920 * dwarf2out.c (output_line_info): Put the marker for the end of
5921 the line number info at the actual end.
5922 (gen_struct_or_union_type_die): Use decl_function_context
5923 to check for local classes.
5924 * dwarfout.c (output_type): Likewise.
5926 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
5928 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
5929 for arguments with a mode, but no type.
5930 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
5931 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
5932 * pa/long_double.h: New file.
5933 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
5934 both have 128bit wide long doubles.
5935 * configure: Rebuilt.
5937 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5939 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
5941 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
5942 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
5943 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
5945 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
5947 * integrate.c (compare_blocks, find_block): Likewise.
5949 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
5951 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
5953 * stmt.c (stmt_status, set_file_and_line_for_stmt,
5954 expand_asm_operands): Likewise.
5956 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
5958 * predict.c (estimate_probability): Added the pointer heuristic to
5959 the collection of static branch predictors.
5961 2000-02-21 Catherine Moore <clm@cygnus.com>
5963 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
5964 * invoke.texi (-mfix7000): Document.
5966 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
5968 * diagnostic.c (init_output_buffer): Make it possible to output at
5969 least 32 characters if we're given a too long prefix.
5971 2000-02-20 Mark Mitchell <mark@codesourcery.com>
5973 * varasm.c (initializer_constant_valid_p): Call
5974 lang_expand_constant to simplify the constant.
5976 2000-02-20 Bruce Korb <bkorb@gnu.org>
5978 * fixinc/inclhack.def(stdio_va_list):
5979 typedef needs to be disabled.
5980 * fixinc/inclhack.sh: regen
5981 * fixinc/fixincl.x: regen
5983 2000-02-20 Geoff Keating <geoffk@cygnus.com>
5985 * print-rtl.c (print_rtx): Don't print addresses when
5986 flag_dump_unnumbered.
5988 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5990 * sparc.c (sparc_output_scratch_registers): Mark parameter with
5992 (sparc_va_arg, sparc_flat_output_function_prologue,
5993 sparc_flat_output_function_epilogue): Cast value to unsigned in
5995 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
5997 * sparc.md: Add default case in switch.
5999 2000-02-19 Richard Henderson <rth@cygnus.com>
6001 * c-typeck.c (add_pending_init): Don't abort for multiple
6002 fields at the same offset.
6003 (pending_init_member): Test the correct member.
6005 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6007 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6009 (start_catch_handler) : Same.
6011 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
6013 * Makefile.in: Have flow.o depend on $(EXPR_H)
6015 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6017 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6018 * c-decl.c (duplicate_decls, finish_enum): Likewise.
6019 (finish_decl): Remove -Wlarger-than code from here.
6020 * flags.h (id_clash_len): Now int.
6021 (larger_than_size): Now HOST_WIDE_INT.
6022 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6023 Clean up checking to see if in table.
6024 (make_bit_field_ref): Remove extra parm to bitsize_int.
6025 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6026 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6027 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6028 and for computing size of decl.
6029 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6030 Move -Wlarger-than code to here.
6031 (layout_record): Remove extra arg to bitsize_int.
6032 Set TYPE_BINFO_SIZE_UNIT.
6033 (layout_union): Remove extra arg to bitsize_int.
6034 Use proper type for size of QUAL_UNION.
6035 (layout_type): Remove extra arg to bitsize_int.
6036 * toplev.c (id_clash_len): Now int.
6037 (larger_than_size): Now HOST_WIDE_INT.
6038 (decode_W_option): Clean up id-clash and larger-than- cases.
6039 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6040 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6041 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6042 (struct tree_decl): New field size_unit.
6043 (size_int_wide): No HIGH operand; NUMBER is now signed.
6044 (size_int_2): Deleted.
6045 (size_int, bitsize_int): Don't use it and rework args.
6046 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6048 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
6050 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6052 2000-02-18 Geoff Keating <geoffk@cygnus.com>
6054 * invoke.texi (Warning Options): Add an explanation of why
6055 you might want the -Wfloat-equal flag.
6057 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6059 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6060 * cppinit.c (new_pending_define): Add cast to avoid warning.
6061 * expmed.c (extract_bit_field): Likewise.
6062 * flow.c (enum reorder_skip_type): New type.
6063 (skip_insns_between_blcok): New it.
6064 Rework to avoid warning about possibly undefined variable.
6065 * function.c (assign_parms): Make thisparm_boundary unsigned.
6066 * genrecog.c (write_switch): Cast XWINT result to int.
6067 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6068 * mips-tfile.c (init_file): Make two versions of FDR intializer:
6069 one for MIPS and one for Alpha.
6070 (get_tag, copy_object): Add casts to avoid warnings.
6071 * optabs.c (init_one_libfunc): Cast NAME to (char *).
6072 * reload.c (find_reloads): Make TYPE enum reload_type.
6073 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6074 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6075 * varasm.c (compare_constant_1): Add cast to avoid warning.
6076 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6078 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6079 Cast switch operand of size to int.
6080 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6081 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6084 2000-02-18 Nick Clifton <nickc@cygnus.com>
6086 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6087 anything for an alignment of zero.
6089 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6090 anything for an alignment of zero.
6092 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
6094 * gcc.texi (Bug Reporting): Refer to bugs.html.
6095 (Bug Lists): Likewise.
6096 * system.h (GCCBUGURL): New preprocessor define.
6097 * rtl.c (fancy_abort): Use it.
6098 * gcc.c (main): Likewise.
6100 2000-02-18 Richard Henderson <rth@cygnus.com>
6102 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6103 (life_analysis_1): Subsume into ...
6104 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
6105 Use update_life_info for the relaxation.
6106 (update_life_info): Update REG_BASIC_BLOCK for registers live on
6107 entry and regs_live_at_setjmp.
6108 (set_noop_p): Simplify.
6109 (notice_stack_pointer_modification_1): Renamed from s/_1//.
6110 (record_volatile_insns): Split into ...
6111 (delete_noop_moves): ... here,
6112 (notice_stack_pointer_modification): ... here,
6113 (insn_dead_p): ... and here.
6114 (propagate_block): Don't query INSN_VOLATILE.
6115 (mark_used_regs): Mind !PROP_REG_INFO.
6116 * toplev.c (rest_of_compilation): Call mark_constant_function here,
6117 not in life_analysis.
6119 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
6121 * loop.c (canonicalize_condition): New function,
6122 broken out of get_condition.
6123 (get_condition): Use it.
6124 * expr.h (canonicalize_condition): Prototype it.
6126 * tree.h (tree_int_cst_msb): Declare.
6127 * tree.c (tree_int_cst_msb): New function.
6129 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6131 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6134 * invoke.texi (-fmessage-length=n): Document.
6136 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
6138 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6140 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6142 * function.c (thread_prologue_and_epilogue_insns): Put a line note
6145 2000-02-17 Nick Clifton <nickc@cygnus.com>
6147 * config/arm/thumb.c: Replace includes of system headers with
6148 #include "system.h".
6150 2000-02-16 Richard Henderson <rth@cygnus.com>
6152 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6153 Add crtbeginS.o and crtendS.o.
6154 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6155 (ENDFILE_SPEC): Use crtendS.o.
6156 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6158 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6159 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
6161 (__dso_handle): New variable.
6162 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6163 bias to __CTOR_END__.
6165 2000-02-16 Richard Henderson <rth@cygnus.com>
6167 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6169 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
6171 * longlong.h (__clz_tab): Declare as static to match definition.
6173 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6174 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6175 (XREF_FILE_NAME): Define.
6177 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6178 (EH_FRAME_SECTION_ASM_OP): Define.
6179 (IDENT_ASM_OP): Define.
6180 (TEXT_SECTION_ASM_OP): Define.
6182 (CTORS_SECTION_ASM_OP): Define.
6183 (CTOR_SECTION_FUNCTION): Use it.
6184 (DTORS_SECTION_ASM_OP): Define.
6185 (DTOR_SECTION_FUNCTION): Use it.
6187 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
6189 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6192 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6193 debug_bb_n): New functions.
6194 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6195 * basic-block.h: Prototype new functions.
6197 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
6199 * configure.in: Add support for avr target.
6200 * configure: Rebuilt.
6202 * invoke.texi: Add AVR invocation docs.
6203 * install.texi: Add information about AVR.
6204 * md.texi: Add AVR constraint letters description.
6205 * extend.texi: Add description for AVR specific attributes.
6207 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
6209 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6211 2000-02-16 Nick Clifton <nickc@cygnus.com>
6213 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6214 (make_insn_raw): Move RTL check here.
6216 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6218 * version.c: Include gansidecl.h and version.h.
6220 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6222 * configure.in (gcc_version): When setting, narrow search to
6223 lines containing `version_string'.
6225 * Makefile.in (mainversion): Likewise.
6226 (GCC_H): New variable.
6227 (gcc.h): Delete target.
6228 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6229 (version.o): Depend on version.h.
6230 (dbxout.o): Don't depend on gcc.h.
6232 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
6233 Michael Meissner <meissner@cygnus.com>
6235 * md.texi (Simple Constraints): Add item about whitespace.
6236 * genoutput.c (strip_whitespace): New.
6237 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6238 strip_whitespace for constraints.
6239 Test pointer using NULL, not 0.
6241 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6243 * cpplib.c (do_line): Pedwarn for #line > 32767.
6245 * c-lex.c (readescape): Warn about '\x', but do not reject it.
6247 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
6249 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6250 to default cpp spec.
6251 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6252 * cpp.texi: Document __GNUC_PATCHLEVEL__.
6255 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6258 2000-02-15 Denis Chertykov <denisc@overta.ru>
6260 * configure.in: Add support for avr target.
6262 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6264 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6265 (sh_addr_diff_vec_mode): Don't declare.
6266 * sh.c (sh_addr_diff_vec_mode): Delete.
6268 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6270 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6272 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6274 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6275 (smulsi3_highpart_i): Name.
6276 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6277 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6278 (smulsi3_highpart, umulsi3_highpart): Likewise.
6280 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6281 correctly independent of endianness.
6282 (mulsidi3, umulsidi3): Now define_insn. Hide details that
6283 confuse the optimizers.
6284 (mulsidi3+1, umulsidi3+1): New define_split.
6286 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
6288 * config/sh/sh.md: Guard insn splits against illegal registers.
6289 * config/sh/sh.h: Correct comment about macros.
6291 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6292 Andrew MacLeod <amacleod@cygnus.com>
6294 * Makefile.in (lcm.o): Depend on insn-attr.h.
6295 * basic-block.h (optimize_mode_switching): Declare.
6296 * lcm.c (tm_p.h, insn-attr.h): #include.
6297 (seginfo, bb_info): New structs.
6298 (antic, transp, comp, delete, insert) : New file-scope static variables.
6299 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6300 (reg_becomes_live, optimize_mode_switching): Likewise.
6301 * tm.texi: Add description of mode switching macros.
6302 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6304 * sh-protos.h (remove_dead_before_cse): Remove prototype.
6305 (fldi_ok, fpscr_set_from_mem): New prototypes.
6306 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6307 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6308 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6309 (sh_flag_remove_dead_before_cse): Remove declaration.
6310 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6311 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6312 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6313 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6314 (barrier_align): Allow for JUMP_INSNS containing a parallel.
6315 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6316 (fldi_ok): New function.
6317 (get_fpscr_rtx): Add fpscr_rtx as GC root.
6318 (emit_sf_insn): Only generate fpu switches when optimize < 1.
6319 (emit_df_insn): Likewise.
6320 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6321 (sh_flag_remove_dead_before_cse): Delete.
6322 (get_free_reg, fpscr_set_from_mem): New functions.
6323 * sh.md (movdf, movsf): Remove no_new_pseudos code.
6324 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6326 2000-02-15 Loren Rittle <ljrittle@acm.org>
6328 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6330 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6332 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6333 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6335 * cccp.c: Include version.h and/or don't declare `version_string'.
6336 * collect2.c: Likewise.
6337 * alpha.c: Likewise.
6338 * arm/aof.h: Likewise.
6339 * arm/coff.h: Likewise.
6340 * arm/elf.h: Likewise.
6341 * arm/pe.h: Likewise.
6342 * arm/tcoff.h: Likewise.
6343 * arm/telf.h: Likewise.
6344 * arm/tpe.h: Likewise.
6345 * arm/vxarm.h: Likewise.
6346 * convex/convex.c: Likewise.
6347 * i386/dgux.c: Likewise.
6348 * i386/sun386.h: Likewise.
6349 * m88k/m88k.c: Likewise.
6350 * mcore/mcore-pe.h: Likewise.
6351 * mips/mips.h: Likewise.
6352 * romp/romp.h: Likewise.
6353 * sh/sh.c: Likewise.
6354 * cpphash.c: Likewise.
6355 * cppinit.c: Likewise.
6356 * dwarf2out.c: Likewise.
6357 * dwarfout.c: Likewise.
6360 * mips-tfile.c: Likewise.
6361 * protoize.c: Likewise.
6362 * toplev.c: Likewise.
6365 * version.c (version_string): Constify a char*.
6367 * version.h: New file.
6369 2000-02-14 Nick Clifton <nickc@cygnus.com>
6371 * configure.in: Add mcore-elf and mcore-pe targets.
6372 * configure: Regenerate.
6374 * NEWS: Add note that MCore port has been contributed.
6376 * invoke.texi: Document command line switches for MCore port.
6377 * install.texi: Add MCore to list of supported targets.
6379 2000-02-14 Geoff Keating <geoffk@cygnus.com>
6381 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6382 then we will need to import the frame handling functions.
6383 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6384 to import the frames themselves.
6386 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
6387 Jason Eckhardt <jle@cygnus.com>
6389 * basic_block.h: Added prototype for reorder_basic_blocks.
6390 * toplev.c: Changes to add -freorder-blocks and graph dump after
6391 block reordering is done.
6392 * flow.c (reorder_block_def): New structure for use during block
6394 (REORDER_BLOCK_*): New macros to access members of above structure.
6395 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6396 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6397 functions for block reordering.
6399 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
6401 * gcc.texi (Passes): Fix typo.
6402 * md.texi (Standard Names): Ditto.
6403 * tm.texi (Storage Layout): Ditto.
6405 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
6407 * cpplib.c (do_define): Only free the old definition if it
6410 2000-02-13 Neil Booth <NeilB@earthling.net>
6412 * cppfiles.c (read_and_prescan): When emitting deferred
6413 newlines, test speccase[] again instead of checking each
6414 possible whitespace character in turn. When we encounter \r,
6415 look behind for \n first, then ahead.
6417 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
6419 * cse.c (cse_altered): New internal flag.
6420 (cse_insn): Set it if we changed an insn.
6421 (cse_main): Clear cse_altered before each basic block.
6422 Only garbage collect if cse_altered is true afterward.
6424 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6426 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6428 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
6430 * combine.c (simplify_comparison): Fix typo.
6432 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
6434 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6437 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6439 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6440 previously inserted node instead of root node. Caller changed.
6442 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6444 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6446 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6448 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6449 __dereg_frame_dtor): Add prototype argument.
6451 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6453 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6455 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6457 * gthr-vxworks.h (__gthread_once): Likewise.
6459 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6461 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
6463 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6464 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6465 stack pointer in functions w/o saved registers, output LEAVE more often
6466 on TARGET_USE_LEAVE machines.
6468 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6470 * config/arm/arm.c (arm_init_cumulative_args); New function:
6471 Initlaise the CUMULATIE_ARGS strcuture for a function
6473 (arm_function_arg): New function: Determine where to place a
6474 function's argument. Also handles deciding the function's
6476 (current_file_function_operand): New function: Return true if
6477 the symbol is a function which has already been compiled.
6478 (arm_is_long_call_p): New function: Return true if the
6479 indicated function should be called via a long call.
6480 (arm_valid_type_attribute_p): New function: Return true if the
6481 attribute is a valid, arm specific, attribute.
6482 (arm_comp_type_attribute): New function: Return true if the
6483 two types have compatable, arm specific, attributes.
6485 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6487 (FUNCTION_ARG): Redefine to call arm_function_arg.
6488 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6490 (INIT_CUMULATIVE_ARGS): Redefine to call
6491 arm_init_cumulative_args.
6492 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6494 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
6496 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6498 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6499 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6500 (COMP_TYPE_ATTRIBUTES): Define.
6502 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6503 if a long call is needed.
6504 (call_value): Call arm_is_long_call_p to decide if a long call
6506 (call_symbol): Call arm_is_long_call_p to decide if a long call
6509 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6511 2000-02-11 Denis Chertykov <denisc@overta.ru>
6513 * README.AVR: New file with information about the avr ports.
6514 * config/avr: New directory with avr port files.
6516 2000-02-11 Andreas Jaeger <aj@suse.de>
6518 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6520 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
6522 * cpphash.c: Fix formatting, update commentary.
6523 (dump_definition): Take three separate arguments instead of a
6524 MACRODEF structure argument.
6525 * cpphash.h: Update prototype of dump_definition.
6526 * cppinit.c (cpp_finish): Update call of dump_definition.
6528 * cpplib.c (do_define): Always create new hash entry with
6529 T_MACRO type. Remove redundant check for redefinition of
6530 poisoned identifier. Update call of dump_definition.
6531 (do_undef): Don't call check_macro_name. Rename sym_length to
6533 (do_error, do_warning): Don't use copy_rest_of_line or
6535 (do_warning): Don't use pedwarn for the actual warning,
6536 only the notice about its not being in the standard. (Fixes
6537 bug with #warning in system headers.)
6538 (do_ident): Stricter argument checking - accept only a single
6539 string after #ident. Also, macro-expand the line.
6540 (do_xifdef): Use cpp_defined. De-obfuscate.
6542 (do_pragma): Split out specific pragma handling to separate
6543 functions. Use get_directive_token. Update commentary. Do
6544 not pass on #pragma once or #pragma poison to the front end.
6545 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6546 do_pragma_default): New.
6548 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
6550 * jump.c (jump_optimize_1): The first operand in a relational
6552 * optabs.c (emit_conditional_move): Handle relationals which
6553 have a known true/false result.
6555 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6557 * function.c (thread_prologue_and_epilogue_insns): Don't insert
6558 a RETURN insn into a block which already ends with a jump.
6560 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6562 * haifa-sched.c (BUF_LEN): Increase a lot.
6564 2000-02-11 Nick Clifton <nickc@cygnus.com>
6566 * configure.in: Add tm_p_file specification for thumb targets.
6567 * configure: Regenerate.
6569 * config/arm/thumb-protos.h: New file: Prototypes for exported
6570 functions defined in thumb.c.
6572 2000-02-11 Robert Lipe <robertl@sco.com>
6574 * Makefile.in (bootstrap-lean): Remove additional files.
6575 (bootstrap2-lean): Likewise.
6576 (VOL_FILES): List of files for above.
6578 2000-02-11 Nathan Sidwell <nathan@acm.org>
6580 * cpphash.c (special_symbol): Remove spurious argument to
6583 2000-02-11 Joel Sherrill (joel@OARcorp.com>
6585 * configure.in: (i*86-*-rtems*): Swapped elf and coff
6587 * configure: Rebuilt.
6589 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
6591 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6593 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
6595 * pa.c, pa.h: Remove trigraph sequences within comments.
6597 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
6599 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6601 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
6603 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6605 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6607 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6609 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6611 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6612 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6613 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6614 (ASM_FILE_END): Use c4x_file_end.
6615 * config/c4x/c4x.c (c4x_global_label): New function.
6616 (c4x_external_ref, c4x_file_end): Likewise.
6618 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6619 (c4x_external_ref, c4x_end_file): Likewise.
6621 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
6623 * cppexp.c: Don't include cpphash.h.
6624 (parse_charconst, cpp_lex): Use cpp_defined.
6625 (cpp_lex): Use get_directive_token throughout. Remove
6626 unnecessary cases from switch. Move assertion-handling code
6628 (cpp_parse_expr): If we see '+' or '-', check the context to
6629 determine if they are unary or binary operators. Streamline
6630 the jumps a bit. Do not call skip_rest_of_line.
6632 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6633 static. Export get_directive_token. Update commentary.
6634 (cpp_defined): New function.
6635 (do_define): Remove reference to T_PCSTRING. Call
6636 free_definition to release memory for old definition, when
6638 (eval_if_expression): Set only_seen_white to 0 before calling
6639 cpp_parse_expr. Call skip_rest_of_line after it returns.
6640 (cpp_read_check_assertion): Don't preserve a pointer into the
6641 token buffer across a call to cpp_get_token.
6643 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
6644 * cppfiles.c (redundant_include_p): Use cpp_defined.
6645 * cpphash.c (free_definition): New function.
6646 (delete_macro): Use it. Update commentary.
6647 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
6649 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
6650 from enum node_type. Prototype cpp_defined and get_directive_token.
6651 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
6653 * fix-header.c (check_macro_names): Use cpp_defined.
6654 (read_scan_file): Set inhibit_warnings and inhibit_errors in
6655 the options structure.
6657 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6659 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
6661 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
6663 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
6664 rather than die->die_tag.
6666 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6668 * combine.c (make_extraction, force_to_mode): Avoid warning on
6669 mixed-signedness conditionals.
6670 (make_field_assignment, nonzero_bits): Likewise.
6671 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
6672 (store_split_bit_field, extract_split_bit_field): Likewise.
6673 (extract_fixed_bit_field, store_bit_field,
6674 * expr.c: Change alignment to be unsigned everywhere.
6675 (move_by_pieces, store_constructor_field, store_constructor):
6676 Alignment parm is unsigned.
6677 (emit_block_move, emit_group_load, emit_group_store): Likewise.
6678 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6679 (do_compare_rtx_and_jump): Likewise.
6680 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
6681 Compare align with GET_MODE_ALIGNMENT.
6682 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
6683 (get_inner_reference): Likewise.
6684 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
6685 (expand_assignment): Local vars for alignment now unsigned.
6686 (store_constructor, store_field, expand_expr, do_jump): Likewise.
6687 (do_compare_and_jump): Likewise.
6688 (store_field): Call new function expr_align.
6689 * expr.h (emit_block_move, emit_group_load, emit_group_store):
6690 Alignment arg now unsigned.
6691 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6692 (do_compare_rtx_and_jump, store_bit_field): Likewise.
6693 (extract_bit_field): Likewise.
6694 * fold-const.c (add_double): Add cast to eliminate signedness warning.
6695 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
6696 (get_best_mode): Alignment arg is unsigned.
6697 * rtl.h (move_by_pieces): Likewise.
6698 * store-layout.c (maximum_field_alignment, set_alignment):
6700 (layout_decl): Alignment arg is now unsigned.
6701 Remove unneeded casts.
6702 (layout_record, layout_union, layout_type): Remove unneeded casts.
6703 Local alignment variables now unsigned.
6704 (get_best_mode): Alignment arg now unsigned.
6705 * tree.c (expr_align): New function.
6706 * tree.h (expr_align): Likewise.
6707 (maximum_field_alignment, set_alignment): Now unsigned.
6708 (get_inner_reference): Alignment argument is now pointer to unsigned.
6709 * varasm.c (assemble_variable): Add cast to eliminate warning.
6711 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
6713 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
6714 then store directly into op0.
6716 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
6717 the CALL_INSN, and emit the note immediately after it.
6719 2000-02-10 Nick Clifton <nickc@cygnus.com>
6721 * config/arm/thumb.md (epilogue): Include a (return) in the
6722 generated insn, and emit it using emit_jump_insn not
6725 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
6727 * function.c (assign_temp): Change zero-sized arrays to size 1.
6728 * integrate.c (expand_inline_function): Do not update
6729 stack_alignment_needed
6730 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
6731 add some sanity checking, remove optimization for function with
6734 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6736 * flow.c (mark_regs_live_at_end): Delete unused variables.
6738 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
6740 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
6741 in macro FRAME_GROWS_DOWNWARD.
6743 * stmt.c (expand_end_bindings): Delete unused variable.
6745 * unroll.c (iteration_info): Mark parameter `loop' with
6748 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6750 * fixinc/server.c (load_data): Return NULL if the marker line is
6752 (run_shell): If load_data returns NULL, retry the command once, in
6755 * configure: Rebuilt.
6757 2000-02-09 Bruce Korb <bkorb@gnu.org>
6759 * gcc/fixincludes: ** DELETED **
6760 * gcc/fixcpp: ** DELETED **
6761 * gcc/fixinc-nt.sed: ** DELETED **
6762 * gcc/just-fixinc: ** DELETED **
6763 * gcc/Makefile.in: Removed out-dated commentary
6764 * gcc/configure.in: Removed fast-fixincludes disablement.
6765 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
6767 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
6768 * function.c (thread_prologue_and_epilogue_insns): Uncomment
6771 2000-02-09 Richard Henderson <rth@cygnus.com>
6773 * jump.c (delete_insn): Don't delete user labels at -O0.
6775 2000-02-09 Robert Lipe <robertl@sco.com>
6777 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
6778 Don't link with HOST_LIBS.
6780 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6782 * configure.in: Correct --help text for --with-dwarf2.
6783 Put tm-dwarf2.h after other tm files, if it's requested.
6784 * configure: Regenerate.
6785 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
6788 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6790 * cpplib.h: Provide HASHNODE typedef and forward decl of
6791 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
6792 DEFINITION, struct hashnode, struct macrodef, struct
6793 definition, scan_decls prototype, default defn of
6794 INCLUDE_LEN_FUDGE moved elsewhere.
6796 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
6797 definition, and struct hashnode moved here. Remove the unused
6798 'predefined' field from struct definition. Replace the 'args'
6799 union with its sole member. All users updated (cpphash.c).
6800 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
6801 multiple include guard.
6803 * cpphash.c (hashf): Make static; use better algorithm; drop
6804 HASHSIZE parameter; return an unsigned int.
6805 (cpp_lookup): Drop HASH parameter. PFILE parameter is
6806 used. Calculate HASHSIZE modulus here.
6807 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
6809 (create_definition): Drop PREDEFINITION parameter.
6810 * cpplib.c (do_define): Don't calculate a hash value here.
6811 Don't pass (keyword == NULL) to create_definition.
6813 * scan.h: Prototype scan_decls here.
6814 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
6815 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
6816 callers of cpp_lookup and cpp_install updated.
6818 * cpphash.c (macarg): Hoist all the flag diddling out of the
6820 (macroexpand): ... and out of the loop that calls macarg.
6821 Skip over the initial paren before macro arguments with
6822 cpp_get_non_space_token; point may be some distance before
6823 that paren. Abort if it's not there.
6825 * cpplib.c (parse_clear_mark): Delete function.
6826 (parse_set_mark, parse_goto_mark): Make static.
6827 (ACTIVE_MARK_P): New macro.
6828 (skip_block_comment, skip_line_comment): Do not bump the line
6829 if ACTIVE_MARK_P is true.
6830 (cpp_pop_buffer): The buffer to be popped may not have an
6832 (cpp_get_token): When looking for the initial paren before
6833 macro arguments, only set a mark in a file buffer, Always
6834 return to that mark before proceeding to call macroexpand or
6835 return a NAME token.
6837 * cpplib.h: Remove prototypes of parse_set_mark,
6838 parse_clear_mark, parse_goto_mark.
6839 (struct cpp_options): Rename 'put_out_comments' to
6840 'discard_comments' and invert its sense.
6841 * cppinit.c, cpphash.c, cpplib.c: All users of
6842 put_out_comments changed to use discard_comments, with
6845 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
6847 * function.c (thread_prologue_and_epilogue_insns): Don't delete
6848 the edge from a block that both jumps and falls through to the
6851 2000-02-09 Scott Bambrough <scottb@netwinder.org>
6853 * config/arm/arm.md (movsi): In PIC mode, make sure that a
6854 constant source address is legitimate.
6856 2000-02-09 Philip Blundell <pb@futuretv.com>
6858 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
6861 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
6863 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
6865 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6867 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
6868 ends with a newline and a NUL. Don't be so clever manipulating
6871 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
6873 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
6874 not to BIGGEST_ALIGNMENT.
6876 2000-02-08 Geoff Keating <geoffk@cygnus.com>
6878 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
6879 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
6880 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
6881 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
6882 * frame.c (execute_cfa_insn): Handle
6883 DW_CFA_GNU_negative_offset_extended.
6885 2000-02-08 Richard Henderson <rth@cygnus.com>
6887 * flow.c (tidy_fallthru_edges): Split out from ...
6888 (delete_unreachable_blocks): ... here.
6889 (find_basic_blocks): Use it.
6891 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6893 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
6895 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
6897 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
6898 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
6899 (fix-header.o): Don't depend on cpphash.h.
6901 * scan.c (hashstr): New function.
6902 * scan.h: Prototype it.
6903 * fix-header.c: Don't include cpphash.h. Use hashstr.
6904 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
6905 hashstr. Report hash table statistics. Add private
6906 definition of xrealloc.
6908 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6910 * i386.h (TARGET_SWITCHES): Fix typo in option name.
6912 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
6914 * function.c (thread_prologue_and_epilogue_insns): Don't replace
6915 jumps with returns unless they are jumps to the fallthru block.
6917 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
6919 * i386.md (addqi3_cc): Fix contraints.
6921 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
6923 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
6925 2000-02-07 Mark Mitchell <mark@codesourcery.com>
6927 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
6928 carriage return after a macro name.
6930 2000-02-07 Fred Fish <fnf@be.com>
6932 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
6933 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
6935 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
6937 * cppfiles.c (deps_output): Count spacers in deps_column.
6939 2000-02-07 Neil Booth <NeilB@earthling.net>
6941 * cppinit.c (initialize_dependency_output): If there is no
6942 suffix, don't try to look for known suffixes. Use strrchr.
6943 (cpp_start_read): Remove duplicate initialization.
6945 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
6947 * calls.c (compute_argument_block_size): New argument
6948 preferred_stack_boundary.
6949 (expand_call): update cfun->preferred_stack_boundary, update call of
6950 compute_argument_block_size
6951 (emit_library_call): Increate cfun->preferred_stack_boundary
6952 to PREFERRED_STACK_BOUNDARY
6953 (emit_library_call_value): Likewise.
6954 * explow.c (allocate_dynamic_stack_spave): Likewise.
6955 * function.c (prepare_function_start): Set
6956 cfun->preferred_stack_boundary
6957 * function.h (struct function): Add preferred_stack_boundary field.
6958 * integrate.c (expand_inline_function): Update
6959 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
6960 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
6961 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
6963 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
6965 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
6966 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
6967 cpp_pedwarn, cpp_pedwarn_with_line,
6968 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
6969 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
6970 v_cpp_error_with_line, v_cpp_warning_with_line,
6971 cpp_message_from_errno, cpp_perror_with_name): Delete.
6973 * cpperror.c (cpp_print_containing_files): Take starting
6975 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
6976 (v_cpp_message): Now called directly by all entry points.
6978 (cpp_pfatal_with_name, cpp_message): Delete.
6979 (cpp_notice_from_errno, cpp_ice): New functions.
6980 (cpp_notice): Is now for reporting error conditions, just
6981 without an associated file.
6982 (cpp_error, cpp_error_with_line): Don't do anything if
6983 opts->inhibit_errors is on.
6984 (cpp_pedwarn_with_file_and_line): Take column argument also.
6986 * cpplib.h: Update prototypes of exported functions.
6987 (struct cpp_options): Add inhibit_errors.
6989 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
6990 non-error messages. Include intl.h.
6992 * cppinit.c, cppmain.c: Likewise. Also, use
6993 cpp_notice_from_errno instead of cpp_perror_with_name or
6994 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
6996 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
6997 report internal errors.
6999 * cpplib.c (do_define): Switch bcopy to memcpy.
7000 Give cpp_pedwarn_with_file_and_line a dummy column argument.
7002 * cpplib.c (copy_rest_of_line): Revert previous change: don't
7003 bail out early if we hit a line comment.
7005 2000-02-06 Richard Henderson <rth@cygnus.com>
7007 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7008 * basic-block.h: Declare them.
7009 * emit-rtl.h (active_insn_p): New.
7010 (next_active_insn, prev_active_insn): Use it.
7011 * rtl.h: Declare it.
7012 * function.c (emit_return_into_block): New.
7013 (thread_prologue_and_epilogue_insns): Insert return insns instead
7014 of epilogues when possible.
7015 * jump.c (jump_optimize_1): Remove code to insert a return insn
7016 on the fallthru to the exit block.
7018 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7019 and for non-empty stack frames.
7020 * i386.md (return): Expand to return-pop as needed.
7022 2000-02-06 Richard Henderson <rth@cygnus.com>
7024 * simplify-rtx.c (simplify_relational_operation): Canonicalize
7025 constant to op1 for testing.
7027 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7029 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7030 (fixuns_truncqfqi2): Use it.
7032 2000-02-06 Richard Henderson <rth@cygnus.com>
7034 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7037 * i386.md (widening and peepholes): Mask the constant instead of
7040 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7042 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7043 input pointer before possibly branching off to the backslash
7045 * cpphash.c (macroexpand): Correctly delete \r escapes when
7046 stringifying parameters.
7047 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7048 if we can; bail out early if we hit a line comment.
7049 (handle_directive): Treat '# 123' in an .S file just like
7050 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
7051 Return 1 for '# not_a_directive'.
7052 (get_directive_token): Pop macro buffers here, so that
7053 cpp_get_token can't sneakily move past a newline.
7055 (cpp_get_token): goto randomchar if handle_directive returns 0.
7057 * cppalloc.c: Update copyright.
7058 * cpplib.c: Merge all the static function prototypes into one
7060 * cpplib.h: Remove #if 0 block.
7062 * cpperror.c: Remove #ifdef EMACS block.
7063 * cppmain.c: Likewise.
7064 * cpphash.c: Remove #if 0 blocks.
7065 * cppinit.c: Remove #if 0 blocks, and the -lint option.
7066 * cpplib.c: Remove #if 0 blocks and code referencing
7067 pcp_inside_if or for_lint. Remove duplicate error message.
7068 Fix error messages for #else after #else or #elif. Reformat.
7069 Remove archaic TODO list.
7070 * cpplib.h: Remove pcp_inside_if and for_lint flags.
7072 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7074 * i386/osf1elf.h: Add missing backslash to multiline string.
7076 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7078 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7080 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7082 * Makefile.in (c-common.o): Depend on $(EXPR_H).
7084 * c-common.c: Include expr.h.
7086 * c-pragma.c (mark_align_stack): Add prototype.
7088 * caller-save.c (add_stored_regs): Likewise.
7090 * combine.c (record_promoted_value): Likewise.
7092 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7095 * cppinit.c (new_pending_define): Likewise.
7097 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7099 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7100 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7101 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7102 class_scope_p): Likewise.
7104 * dwarf2out.h (dwarf2out_set_demangle_name_func,
7105 dwarf2out_add_library_unit_info): Likewise.
7107 * ggc.h (ggc_page_print_statistics): Likewise.
7109 * haifa-sched.c (propagate_deps): Likewise.
7111 * reg-stack.c (next_flags_user, record_label_references): Likewise.
7113 * rtl.h (set_stack_check_libfunc): Likewise.
7115 * toplev.h (set_fatal_function): Likewise.
7117 * toplev.c (set_fatal_function): Delete prototype.
7119 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7121 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7123 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7124 (FUNC_END): Likewise.
7126 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7128 * caller-save.c: Include tm_p.h.
7130 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7132 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7134 2000-02-04 Neil Booth <NeilB@earthling.net>
7136 * cccp.c (main): Check 'dir' for a NULL pointer before passing
7139 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
7141 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7142 * genflags.c: Use the max_operand_1 logic from genemit.c to
7143 calculate how many arguments gen_insn prototypes have. Remove
7144 NO_MD_PROTOTYPES ifdefs from the generated file.
7145 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7146 file. Cast gen_insn initializers to insn_gen_fn.
7147 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7148 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7150 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7152 * fixinc/Makefile.in (HDR): Add machname.h.
7155 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7157 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7158 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7159 (c4x_cpu_version): Ditto.
7160 * config/c4x/c4x-protos.h: ... here.
7162 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
7164 * dwarf2out.c (add_abstract_origin_attribute): Don't call
7165 gen_abstract_function on our context if we're a nested function.
7167 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7169 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7170 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7172 2000-02-04 Bruce Korb <bkorb@gnu.org>
7174 * fixinc/genfixes(machname.h):
7175 Move the functionality from gen-machine.h into this file.
7176 UNdef MN_NAME_PAT if there are no names to change.
7177 Also, be a little kinder when AutoGen is not present.
7179 * fixinc/Makefile.in(machname.h):
7180 Change the generation rule to use genfixes.
7182 * fixinc/fixfixes.c(machine_name):
7183 machine_name_fix's functionality now dependent upon whether
7184 MN_NAME_PAT is defined.
7186 * fixinc/fixtests.c(machine_name):
7189 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7192 * fixinc/fixlib.h(mn_get_regexps):
7195 * fixinc/gen-machine.h: DELETED
7197 2000-02-04 Jan Hubicka <jh@suse.cz>
7198 Richard Henderson <rth@cygnus.com>
7200 * i386.c (SAVE_REGS_FIRST): Remove.
7201 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7202 (ix86_compute_frame_size): Likewise.
7203 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
7204 (ix86_emit_restore_regs): Remove.
7205 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7206 when a frame pointer is in use.
7207 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
7208 instead of pop to restore a register when profitable; emit leave
7210 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7212 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7213 * i386.md (prologue_allocate_stack): Remove.
7214 (epilogue_deallocate_stack): Remove.
7215 (pro_epilogue_adjust_stack): New.
7217 2000-02-04 Richard Henderson <rth@cygnus.com>
7219 * function.c (diddle_return_value): Rework to use a callback function.
7220 Use current_function_return_rtx if it's been set up.
7221 (do_clobber_return_reg, clobber_return_register): New.
7222 (do_use_return_reg, use_return_register): New.
7223 (expand_function_end): Use them.
7224 * stmt.c (expand_null_return): Likewise.
7225 * function.h: Declare them.
7226 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7227 (mark_reg): Change arguments as appropriate for callback.
7228 * integrate.c (expand_inline_function): Revert 19 Jan change.
7230 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
7232 * tm.texi (Values in Registers): Fix typo: "fo" "for".
7233 (Misc): Say the scheduler, not the Haifa scheduler.
7235 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
7237 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7238 when in_mem is set. Update all callers.
7240 2000-02-04 Richard Henderson <rth@cygnus.com>
7242 * i386/openbsd.h (INT_ASM_OP): Define.
7244 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
7246 * tm.texi: Fix various typos.
7248 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
7250 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7251 (MD_STARTFILE_PREFIX_1): New macro.
7253 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
7255 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7256 destination when needed.
7257 (strmovsi, strsetsi): New expander.
7258 (strmovsi_1, strsetsi_1): New pattern.
7259 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7260 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7261 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7262 * invoke.texi (align-stringops, inline-all-stringops): Document.
7264 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
7266 * i386/netbsd.h (INT_ASM_OP): Define.
7268 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
7270 * cpplib.h (cpp_reader): Add new flag, no_directives.
7271 * cpphash.c (macarg): Set it.
7272 * cpplib.c (handle_directive): If no_directives is on and we
7273 find a directive, issue an error and discard the line.
7275 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
7277 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7278 FP constants. Add ! TARGET_FPU check for FP constants.
7280 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
7282 * flow.c (find_basic_blocks): Don't kill label_value_list
7284 (cleanup_cfg): Kill it here.
7286 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7288 * expr.c (store_field): Ensure ALIGN is no stricter than the
7291 2000-02-02 Richard Henderson <rth@cygnus.com>
7293 * jump.c (delete_insn): Partially revert 19 Jan change;
7294 don't convert unused code labels to notes at -O0.
7296 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7298 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7299 split_all_insns to recreate REG_LABEL notes for flow2 pass.
7301 2000-02-01 Richard Henderson <rth@cygnus.com>
7303 * i386.c (general_no_elim_operand): New.
7304 (nonmemory_no_elim_operand): New.
7305 (ix86_expand_move): Copy eliminable operands before a push.
7306 * i386-protos.h: Declare new functions.
7307 * i386.h (CAN_ELIMINATE): Simplify.
7308 (PREDICATE_CODES): Update.
7309 * i386.md (push insns): Don't allow eliminable register operands.
7311 2000-02-01 Richard Henderson <rth@cygnus.com>
7313 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7314 replace BLKmode with DECL_RTL's mode.
7316 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
7318 * frame.c (find_fde): Convert for loop to do-while so compiler
7319 sees it's always executed at least once.
7320 * libgcc2.c (BBINBUFSIZE): Kill.
7321 (__bb_init_prg): Use fgets.
7322 (__bb_exit_trace_func): Don't paste strings.
7323 * unroll.c (unroll_loop): Initialize unroll_type, not
7324 unroll_number, and tweak logic to match.
7326 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7328 (ix86_flags_dependant): Likewise. Disentangle control flow.
7329 (ix86_sched_reorder): Break guts out to
7330 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7331 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7334 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7335 use string concatenation. Don't save and restore esi.
7337 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7338 (machname.h): Remove script to separate file. Use two-step
7339 sequence so target is not created if script fails.
7340 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
7341 identifiers are defined.
7342 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7343 an empty string, machine_name doesn't need to do anything at
7345 (is_cxx_header): Add more cases to regexp.
7346 * fixinc/fixlib.h: Update prototype.
7347 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7349 * fixinc/fixincl.c: Define NO_BOGOSITY.
7351 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7352 (hp_sysfile): Add missing comma.
7353 (math_exception): Put the wrapper ifdefs at the beginning and
7354 the end of the file.
7355 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7357 2000-02-01 Richard Henderson <rth@cygnus.com>
7359 * sparc.c (fp_zero_operand): Turn into a normal predicate.
7360 Use CONST0_RTX. Update all callers.
7361 * sparc.h, sparc-protos.h: Update accordingly.
7362 * sparc.md (fp mov insns): Use fp_zero_operand directly
7365 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
7367 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7370 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7372 * Makefile.in (specs.ready): New target.
7373 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7375 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7377 * fixinc.irix: Use unique filenames for writing into /tmp,
7378 * fixinc.ptx: Likewise.
7379 * fixinc.sco: Likewise.
7380 * fixinc.svr4: Likewise.
7381 * fixinc.winnt: Likewise.
7383 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7385 * tsystem.h: New file.
7387 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7388 s-crtS): Depend on tsystem.h.
7390 * crtstuff.c: Include tsystem.h.
7391 * frame.c: Likewise.
7392 * libgcc2.c: Likewise.
7394 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
7396 * builtins.c (expand_builtin_memset): Expand for variable sized
7399 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
7401 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7404 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
7406 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7408 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7410 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
7412 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7413 case 3->2 combining (combining with splitting) in which 2 is CC0
7414 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
7415 checked at the begining of the function with the aid of calling
7416 function 'can_combine_p'.
7418 2000-01-31 Dave Brolley <brolley@redhat.com>
7420 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7422 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
7424 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7427 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7429 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7431 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7434 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
7436 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7437 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7438 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7439 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7440 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7441 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7442 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7443 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7444 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7445 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7447 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7448 Add %(cpp_cpu) to CPP_SPEC.
7450 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7451 Add %(cc1_cpu) to CC1_SPEC.
7453 2000-01-28 Ulrich Drepper <drepper@redhat.com>
7455 * c-decl.c (c_decode_option): Accept optional numeric argument to
7456 -Wformat and set warn_format.
7457 * c-common.c: Don't emit warning about non-constant printf format
7458 string unless warn_format > 1.
7460 2000-01-30 Richard Henderson <rth@cygnus.com>
7462 * alpha.md (return_internal): Allow after reload only.
7464 2000-01-30 Richard Henderson <rth@cygnus.com>
7466 * i386.c (ix86_compute_frame_size): Omit padding1 if the
7467 local frame size is zero.
7469 2000-01-30 Richard Henderson <rth@cygnus.com>
7471 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7472 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
7473 * alpha.md (return): Turn into an expander.
7474 (return_internal): Don't use $26.
7475 (epilogue): Emit the return insn.
7477 2000-01-30 Richard Henderson <rth@cygnus.com>
7479 * alpha.md (negtf2, abstf2): Fix word order thinko.
7481 (trunctfsf2): Avoid intermediate rounding errors.
7483 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
7485 * cppfiles.c (find_position): Drop 'colp' argument, return the
7487 (read_and_prescan): Adjust to match. Don't ever manipulate
7488 line or line_base except via find_position.
7490 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
7492 * c-parse.in: Apply Ulrich's changes from c-parse.y.
7493 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7496 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
7498 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7499 just print "<command line>". If 'filename' is null or an
7500 empty string, print "<stdin>" for the filename.
7501 * cpplib.c (do_define): Don't print the 'location of the
7502 previous definition' message if we're still parsing the
7504 (cpp_pedwarn_with_file_and_line): Always call
7505 cpp_file_line_for_message.
7507 2000-01-29 Mark Mitchell <mark@codesourcery.com>
7509 * flow.c (mark_regs_live_at_end): Fix typo.
7511 2000-01-28 Ulrich Drepper <drepper@redhat.com>
7513 * c-common.c: Adjust variable names, comments, help strings to c99.
7514 * c-lex.c: Likewise.
7515 * c-parse.y: Likewise.
7516 * c-tree.h: Likewise.
7518 * cpplib.h: Likewise.
7519 * c-decl.c: Likewise. Recognize options with names "*99" as well.
7520 * cppinit.c: Likewise.
7522 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7524 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7525 * c4x.c: Define the optab rtx values.
7526 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7527 (c4x_emit_libcall): Use new optab rtx values.
7528 (c4x_emit_libcall3): Likewise.
7529 (c4x_emit_libcall_mulhi): Likewise.
7530 * c4x-protos.h: Add prototypes for optab rtx values and change
7531 prototypes for above c4x_emit_libcall functions.
7533 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7535 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7537 (c4x_function_prologue): Use regnames intead of float_reg_names when
7539 (c4x_function_epilogue): Likewise.
7540 (c4x_print_operand): Likewise.
7541 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7542 * c4x.md (set_high): Disable for TARGET_TI.
7544 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7546 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7547 of framepointer + constant to ADDR_REGS class.
7548 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7549 * c4x.c (std_or_reg_operand): New function.
7550 * c4x-protos.h (std_or_reg_operand): Prototype it.
7552 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7554 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7555 object names as libgcc2.c.
7556 * libgcc.S: Use newly defined names.
7558 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
7559 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7561 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7562 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7563 (FLOW_LOOP_LAST_BLOCK): Likewise.
7565 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7567 * basic-block.h (struct loop): New fields 'first' and 'last'.
7568 * flow.c (flow_loops_find): Compute loop->first and loop->last.
7569 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7570 and loop->last to check for NOTE_INSN_LOOP_END.
7572 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
7574 * predict.c (estimate_probability): Use the new FIRST and LAST fields
7575 of the loop descriptor rather than HEADER and LATCH. Also added
7576 missing break statements as well making some coding style modifications
7577 as suggested by Michael Hayes.
7579 2000-01-28 Richard Henderson <rth@cygnus.com>
7581 * flow.c (find_basic_blocks): Remove do_cleanup argument.
7582 Break out that code ...
7583 (cleanup_cfg): ... here.
7584 (commit_one_edge_insertion): Detect a return instruction being
7585 emitted to an edge. Emit a barrier following; clear fallthru.
7586 (commit_edge_insertions): Verify CFG consistency.
7587 * function.c (expand_function_start): Kill unused variable.
7588 (expand_function_end): Likewise.
7589 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7590 to insert the epilogue.
7592 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7593 (delete_null_pointer_checks): Likewise.
7594 * output.h: Likewise.
7595 * reg-stack.c (reg_to_stack): Likewise.
7596 * toplev.c (rest_of_compilation): Likewise. Run
7597 thread_prologue_and_epilogue_insns after rebuilding the CFG.
7599 2000-01-28 Richard Henderson <rth@cygnus.com>
7601 * Makefile.in (flow.o): Revert 24 Jan change.
7602 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
7603 FUNCTION_VALUE result to DECL_RESULT's mode.
7605 * haifa-sched.c (schedule_insns): Don't recompute reg info
7608 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
7610 * configure.in: Make --enable-cpplib the default.
7611 * configure: Regenerate.
7612 * gcc.dg/990119-1.c: No longer expected to fail.
7614 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
7616 * jump.c (jump_optimize_1): Delete an optimization that is also done
7617 by merge_blocks in flow.
7619 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7621 * diagnostic.c (build_message_string, output_printf,
7622 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7623 (build_location_prefix): Fix non-literal format string.
7625 2000-01-27 Richard Henderson <rth@cygnus.com>
7627 * alpha.md (trunctfsf2): New.
7629 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
7631 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7633 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7635 * cppinit.c (cpp_handle_option): Recognize C++ comments under
7637 * cpplib.c (skip_block_comment, skip_line_comment): Split code
7639 (skip_comment) ... here. Permit C++ comments in system
7640 headers always. Warn about C++ comments in user code under
7641 -std=gnu89 -pedantic.
7642 (copy_comment): Use skip_comment.
7643 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
7645 (consider_directive_while_skipping, do_else, do_endif): Call
7646 validate_else unconditionally.
7647 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
7648 text after the conditional in a system header.
7649 * cpplib.h (struct cpp_buffer): Add flag
7650 warned_cplusplus_comments.
7652 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
7654 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
7655 Use unshare_all_rtl_1.
7656 (unshare_all_rtl_again): New function.
7657 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
7659 * function.c (purge_addressof_1): Use unshare_all_rtl_again
7660 rather than resetting the 'used' flags ourself.
7662 * toplev.c (rest_of_compilation): Add current_function_decl
7663 to the unshare_all_rtl call.
7664 * tree.h: Prototype unshare_all_rtl.
7665 * rtl.h: Prototype unshare_all_rtl_again here.
7667 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
7669 * genoutput.c (output_prologue): Include ggc.h in generated
7671 * Makefile.in (insn-output.o): Depends on ggc.h.
7673 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
7674 Hans-Peter Nilsson <hp@bitrange.com>
7676 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
7677 Remove redundant include of xm-ns32k.h.
7678 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
7679 Remove redundant include of xm-ns32k.h.
7680 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
7681 Remove redundant include of xm-ns32k.h.
7682 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
7684 * ns32k/ns32k.h: Update comment on multiply-add instructions.
7685 (TARGET_SWITCHES): Add documentation strings.
7686 (DWARF_FRAME_REGNUM): Override default definition.
7687 (REG_CLASS_CONTENTS): Add comments.
7688 (SUBSET_P): Format to reduce line length.
7689 (SMALL_REGISTER_CLASSES): Make a run time option.
7690 (GO_IF_NONINDEXED_ADDRESS): Reformat.
7691 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
7692 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
7693 (regclass_map): fix typo in comment.
7694 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
7695 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
7696 (trace, reg_or_mem_operand): Delete, unused function.
7697 (calc_address_cost): Small offsets are cheaper than large ones.
7698 (expand_block_move): Generate more efficient code when bytes is a
7699 known at compile time.
7700 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
7701 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
7702 instead of reg_or_mem_operand.
7704 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
7705 not general_operand. Similarly use "=rm" or stricter, not "=g".
7706 For input operands, use stricter constraints than "g" if not
7707 general_operand. Similarly use stricter predicate than
7708 "general_operand" when stricter constraints than "g" are present,
7709 except for matching constraints.
7710 (movstrsi): Use "memory_operand" for operands 0 and 1.
7711 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
7712 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
7713 not reg_or_mem_operand.
7714 (udivmoddisi4): Ditto.
7715 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
7716 Use nonimmediate_operand for operand 3, not register_operand.
7717 (udivmoddiqi4_internal): Use register_operand for operand 1, not
7720 2000-01-27 Fred Fish <fnf@be.com>
7722 * gthr-posix.h: Fix typo; compatibily -> compatibility.
7723 * gthr-single.h: Likewise.
7724 * gthr-solaris.h: Likewise.
7725 * gthr-vxworks.h: Likewise.
7726 * gthr-win32.h: Likewise.
7729 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7731 * cppinit.c: Add " (cpplib)" to end of string printed by
7734 2000-01-27 Richard Henderson <rth@cygnus.com>
7736 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
7737 testing for a signed comparison.
7738 (alpha_emit_floatuns): New.
7739 * alpha-protos.h: Declare it.
7740 * alpha.md (floatunsdisf2, floatunsdidf2): New.
7741 (extendsfdf2): Tidy.
7743 2000-01-27 Jakub Jelinek <jakub@redhat.com>
7745 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
7746 no -g option specifying debugging format, default to -gstabs+.
7748 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7750 * calls.c (special_function_p): New argument fork_or_exec.
7751 (expand_call): When profile_arc_flag is set and the function
7752 is in the fork_or_exec group, call __bb_fork_func first.
7753 * libgcc2.c, _bb module (__bb_fork_func): New function.
7754 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
7756 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
7757 * tree.h (special_function_p): Update prototype.
7759 2000-01-26 Richard Henderson <rth@cygnus.com>
7761 * alpha.c (alpha_split_tfmode_pair): New.
7762 * alpha-protos.h: Declare it.
7763 * alpha.md (abstf2, negtf2): New.
7764 (movtf insn): Add input G constraint.
7765 (movtf splitter): Use alpha_split_tfmode_pair.
7767 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7769 * i386/cygwin.h: PROTO -> PARAMS.
7771 2000-01-26 Jakub Jelinek <jakub@redhat.com>
7773 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
7774 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
7775 using _Qp_cmp/_Q_cmp and testing the return value.
7776 (print_operand): Call reverse_condition_maybe_unordered if
7777 we are handling CCFPmode or CCFPEmode.
7778 Handle ORDERED, UN* and LTGT comparisons.
7779 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
7780 if not TARGET_HARD_QUAD.
7781 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
7782 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
7783 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
7784 Adjust gen_b* calls so that they reflect return comparison of
7785 sparc_emit_float_lib_cmp.
7787 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7789 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
7790 incoming operands array is large enough for one more operand.
7791 (alpha_emit_xfloating_arith): Likewise.
7793 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
7795 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
7796 file with one line and no trailing newline.
7797 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
7798 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
7799 checking if the match is on the line.
7800 * fixinc/gnu-regex.c: Provide regerror not __regerror.
7802 2000-01-25 Richard Henderson <rth@cygnus.com>
7804 * sparc.c (output_cbranch): Fix accidental squashing of the
7805 fp branch pre-delay nop.
7807 2000-01-25 Richard Henderson <rth@cygnus.com>
7809 * tree.def (UNNE_EXPR): Remove.
7810 * c-typeck.c (build_binary_op): Don't handle it.
7811 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
7813 * rtl.def (UNNE): Remove.
7815 * jump.c (reverse_condition): Update accordingly.
7816 (swap_condition): Likewise.
7817 (comparison_dominates_p): Handle unordered comparisons.
7818 (reverse_condition_maybe_unordered): New.
7819 * rtl.h (reverse_condition_maybe_unordered): Declare.
7821 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
7822 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
7823 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
7824 * sparc.md (bltgt): New.
7826 2000-01-25 Nick Clifton <nickc@redhat.com>
7828 * emit-rtl.c (emit_insn): Only check machine class insns for
7829 improper emission of a RETURN.
7831 2000-01-25 Richard Henderson <rth@cygnus.com>
7833 * Makefile.in (flow.o): Depend on $(EXPR_H).
7834 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
7835 duplicate the structure of diddle_return_value for keeping regs live.
7837 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7839 * loop.c (current_loop_info): Delete.
7840 (consec_sets_invariant_p): Add loop argument, update callers.
7841 (get_condition_for_loop): Likewise.
7842 (count_nonfixed_reads, update_giv_derive): Likewise.
7843 (simplify_giv_expr, general_induction_var): Likewise.
7844 (consec_sets_giv, recombine_givs): Likewise.
7845 (move_movables): Delete loop_start and loop_end arguments,
7846 add loop argument, and update callers.
7847 (find_mem_givs, check_final_value): Likewise.
7848 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
7849 (loop_invariant_p): Rename from invariant_p, add loop argument, and
7851 (basic_induction_var): Add loop argument, delete loop_level argument,
7853 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
7854 add loop argument, and update callers.
7855 (find_splittable_regs, find_splittable_givs): Likewise.
7856 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
7857 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
7858 (biv_total_increment): Delete loop_start and loop_end arguments;
7860 (precondition_loop_p): Delete loop_start and loop_info arguments;
7862 * loop.h (get_condition_for_loop): Add loop argument.
7863 (biv_total_increment): Delete loop_start and loop_end arguments.
7864 (precondition_loop_p): Delete loop_start and loop_info arguments;
7866 (final_biv_value): Delete loop_start and loop_end arguments;
7868 (final_giv_value, back_branch_in_range_p): Likewise.
7870 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
7872 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
7874 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
7876 * Makefile.in (c-gperf.h) : Change the "See" pointer to
7877 point to the new "generated_files" doc.
7879 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
7881 * config/fp-bit.c (_unord_f2): Fix typo.
7883 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
7885 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
7886 c-typeck.c, objc/objc-act.c: Remove all references to obstack
7887 functions obsoleted by GC, such as push_obstacks_nochange,
7888 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
7889 and code which existed only to decide whether or not to call
7890 them. Remove now-unused NESTED argument from start_function;
7891 all callers changed. Do not change behavior based on ggc_p.
7892 The use of the ixp_obstack in c-iterate.c and the util_obstack
7893 in objc/objc-act.c remain; these are not obsoleted by garbage
7895 * c-tree.h: Update prototype for start_function.
7897 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
7899 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
7901 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
7904 2000-01-25 Richard Henderson <rth@cygnus.com>
7906 * sparc-protos.h (select_cc_mode): Declare.
7907 * sparc.c (select_cc_mode): New. Handle unordered compares.
7908 (output_cbranch): Always reverse via code change. Handle
7909 unordered compares. Factor tests and string updates.
7910 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
7911 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
7912 * sparc.md (bunordered, bordered): New.
7913 (bungt, bunlt, buneq, bunge, bunle): New.
7915 2000-01-25 Richard Henderson <rth@cygnus.com>
7917 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
7918 * ggc-common.c (ggc_add_rtx_varray_root): New.
7919 (ggc_mark_rtx_varray): New.
7920 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
7921 functions down below ggc_mark_foo.
7922 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
7924 2000-01-25 Richard Henderson <rth@cygnus.com>
7926 * alpha.c (secondary_reload_class): Don't allocate a secondary
7927 for integral mode memories into FLOAT_REGS. Rearrange the more
7928 complicated memory expression inward.
7930 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
7932 * inclhack.def: Fixes to play nicer with FreeBSD, and
7933 corrections to comments.
7934 (cxx_unready): Add select expression.
7935 (irix_sockaddr): Add bypass expression.
7936 (machine_ansi_h_va_list): New fix.
7937 (stdio_va_list): No need to edit _BSD_VA_LIST_.
7938 Split out addition of "#include <stdarg.h>" to...
7939 (stdio_stdarg_h): ... here.
7940 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
7941 to stdlib.h also. Do not munge _BSD_SIZE_T_.
7942 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
7944 (ultrix_ifdef): Tighten up select expression.
7946 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
7947 re_ct and max_mach to avoid use of shell. Make printed names
7948 match names in inclhack.def. Use static copyright date.
7949 Don't count c_test and test expressions as requiring regex_t
7950 slots. Add some commentary.
7951 * inclhack.tpl: Do not include the 'This script contains N
7952 fixup scripts' line if PROGRAM is defined. Use static
7955 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
7957 * dwarf2out.c: include "varray.h", not dyn-string.h.
7958 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
7959 (addr_const_to_string, addr_to_string): Lose.
7960 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
7961 (struct dw_val_struct): val_addr is now an rtx.
7962 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
7963 (used_rtx_varray): New varray.
7964 (dwarf2out_init): Initialize it.
7966 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
7968 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
7969 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
7970 * Makefile.in (dwarf2out.o): Update dependencies.
7972 2000-01-24 Richard Henderson <rth@cygnus.com>
7974 * i386.c (i386_dwarf_output_addr_const): New.
7975 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
7977 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
7979 * dwarfout.c (output_mem_loc_descriptor): Likewise.
7980 * i386.c (i386_simplify_dwarf_addr): New.
7981 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
7983 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
7985 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
7986 TYPE_STUB_DECL is NULL.
7988 2000-01-24 Richard Henderson <rth@cygnus.com>
7990 * builtins.c (expand_tree_builtin): Move ...
7991 * c-common.c (expand_tree_builtin): ... here.
7993 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7995 * loop.h (LOOP_INFO): New accessor macro.
7996 * basic-block.h (struct loop): Rename field `info' to `aux'.
7997 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
7998 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
7999 * unroll.c (loop_iterations, unroll_loop): Likewise.
8001 2000-01-24 Christopher Faylor <cgf@cygnus.com>
8003 * config/i386/t-cygwin: Accomodate new winsup directory layout
8004 when searching for include files.
8006 2000-01-24 Richard Henderson <rth@cygnus.com>
8008 * rtl.def: Add unordered fp comparisions.
8009 * tree.def: Likewise.
8010 * tree.h: Add ISO C 9x unordered fp comparision builtins.
8012 * builtins.c (expand_tree_builtin): New function.
8013 * c-typeck.c (build_function_call): Use it.
8014 (build_binary_op): Support unordered compares.
8015 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8017 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8018 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8019 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8020 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8021 * jump.c (reverse_condition): Don't abort for UNLE etc, but
8023 (swap_condition): Handle unordered compares.
8024 (thread_jumps): Check can_reverse before reversing.
8025 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
8028 * optabs.c (can_compare_p): New argument CODE. Verify branch or
8029 setcc is present before acking for cmp_optab. Update all callers.
8030 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8031 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8032 * expr.c (expand_expr): Likewise. Support unordered compares.
8033 (do_jump, do_store_flag): Likewise.
8034 * expr.h (enum libfunc_index): Add unordered compares.
8036 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8037 (DPBIT_FUNCS): Add _unord_df.
8038 * config/fp-bit.c (_unord_f2): New.
8039 * fp-test.c (main): Try unordered compare builtins.
8041 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8042 * alpha.c (alpha_comparison_operator): Check mode properly.
8043 (alpha_swapped_comparison_operator): Likewise.
8044 (signed_comparison_operator): Likewise.
8045 (alpha_fp_comparison_operator): New.
8046 (alpha_emit_conditional_branch): Handle unordered compares.
8047 * alpha.h (PREDICATE_CODES): Update.
8048 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8049 (bunordered, bordered): New.
8051 2000-01-24 Richard Henderson <rth@cygnus.com>
8053 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8054 * alpha.md (movtf): New expander, insn, and splitter.
8056 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
8058 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8061 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
8063 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8064 (FIXED_REGISTERS, CALL_USED_REGISTERS,
8065 REG_ALLOC_ORDER): Add frame pointer
8066 (FRAME_POINTER_REGNUM): Set to 20
8067 (HARD_FRAME_POINTER_REGNUM): New macro.
8068 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8069 to HARD_FRAME_POINTER.
8070 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8071 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8072 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8073 (HI_REGISTER_NAMES): Add "frame".
8074 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8075 (debug_reg): Handle FRAME_POINTER_REGNUM.
8076 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8077 GENERAL_REGS and INDEX_REGS.
8078 * i386.c (SAVED_REGS_FIRST): new macro.
8079 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8080 (ix86_decompose_address, memory_address_length): Likewise.
8081 (regclass_map): Add frame pointer.
8082 (call_insn_operand): Handle frame_pointer_rtx.
8083 (reg_no_sp_operand): Likewise.
8084 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8085 (print_operand, legitimize_pic_address): Fix formating.
8086 (ix86_compute_frame_size): Make static, update prototype, new
8087 parameters padding1, padding2, use ix86_nsaved_regs, use
8088 stack_alignment_needed.
8089 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8090 to HARD_FRAME_POINTER_REGNUM conversions.
8091 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8092 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8093 (print_reg): Abort on FRAME_POINTER_REGNUM
8095 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
8097 * i386.h (PREDICATE_CODES): Add aligned_operand.
8098 * i386.c (aligned_operand): New function.
8099 (ix86_aligned_p): Kill.
8100 * i386.md (movhi_1): Emit mov for aligned operands.
8101 (promoting peep2s): Use aligned_operand.
8103 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
8105 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8106 expression to allow underscores in macro names.
8107 (fix_char_macro_defines): Increment scanning pointer.
8109 2000-01-23 Richard Henderson <rth@cygnus.com>
8111 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8112 * alpha/osf5.h: New file.
8113 * configure.in (alpha-*-osf5): Add it to tm_file.
8115 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8117 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8118 (alpha_emit_xfloating_cvt, function_arg): Declare.
8119 * alpha.c (alpha_emit_conditional_branch): Call
8120 alpha_emit_xfloating_compare for TFmode compares.
8121 (alpha_lookup_xfloating_lib_func): New.
8122 (alpha_compute_xfloating_mode_arg): New.
8123 (alpha_emit_xfloating_libcall): New.
8124 (alpha_emit_xfloating_arith): New.
8125 (alpha_emit_xfloating_compare): New.
8126 (alpha_emit_xfloating_cvt): New.
8127 (print_operand): Add default abort case.
8128 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8129 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8130 (BIGGEST_ALIGNMENT): Increase to 128 bits.
8131 (RETURN_IN_MEMORY): True for TF/TCmode.
8132 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8133 (FUNCTION_ARG): Move to function_arg.
8134 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8135 (ASM_OUTPUT_LONG_DOUBLE): New.
8136 (ASM_OUTPUT_DOUBLE): Always output bits.
8137 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8138 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8139 (extenddftf2, trunctfdf2): New.
8141 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8143 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8144 * config/sparc/sol2.h: ... here.
8146 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8148 * basic-block.h (struct loops): New field `levels'.
8149 * flow.c (flow_loops_level_compute): Traverse all outer loops.
8150 (flow_loop_level_compute): Initialise level to 1.
8151 (flow_loops_find): Set loops->levels.
8152 (flow_loops_dump): Print loops->levels.
8154 2000-01-23 Richard Henderson <rth@cygnus.com>
8156 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8157 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8159 2000-01-23 Richard Henderson <rth@cygnus.com>
8161 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8162 * i386.h (DBX_REGISTER_NUMBER): Use them.
8163 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8164 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8165 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8166 * i386/sequent.h: Kill incorrect comment.
8168 2000-01-23 Mark Mitchell <mark@codesourcery.com>
8170 * ggc-page.c (struct page_entry): Make `context_depth' an
8172 (struct globals): Likewise.
8174 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
8176 * loop.c (check_dbra_loop): When checking a loop for
8177 reversability, check the source of any stores to ensure
8178 they don't depend on an initial value.
8180 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8182 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8184 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
8186 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8187 'pz_scan' into scope of entire function. Only affects
8188 compiles with -DDEBUG.
8190 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8192 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8193 section naming to that prior to 2000-01-07 patch.
8194 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8195 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8196 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8197 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8198 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8200 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
8202 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8205 2000-01-21 Jim Wilson <wilson@cygnus.com>
8207 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8208 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8210 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8212 * cpphash.c (change_newlines): Delete function.
8213 (struct argdata): Delete 'newlines' and 'use_count' fields.
8214 (macroexpand): Remove code referencing those fields.
8216 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8218 * loop.c (loops_info): New variable.
8219 (loop_optimize): Allocate loops->array and free it on exit.
8220 Allocate memory for loops_info and assign to each loop,
8222 (find_and_verify_loops): Do not allocate loops->array.
8224 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8226 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8228 2000-01-21 Jakub Jelinek <jakub@redhat.com>
8230 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8231 pseudos if expanded after first flow.
8232 (movdi_pic_label_ref): Likewise.
8234 2000-01-20 Richard Henderson <rth@cygnus.com>
8236 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8238 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
8240 * Makefile.in (fixinc.sh): Depend on specs.
8241 * fixinc/Makefile.in: Add rule to create machname.h.
8242 (fixlib.o): Depend on machname.h.
8243 * fixinc/fixtests.c (machine_name): New test.
8244 * fixinc/fixfixes.c (machine_name): New fix.
8245 * fixinc/fixlib.c (mn_get_regexps): New helper function for
8246 the machine_name test and fix.
8247 * fixinc/fixlib.h: Prototype it.
8248 * fixinc/inclhack.def (machine_name): Use the C test and fix.
8249 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8251 * gcc.c (do_spec_1) [case P]: Take care not to create
8252 identifiers with three leading or trailing underscores.
8254 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8255 (fixincl): Don't specify libraries twice on link line.
8256 (gnu-regex.o): Remove special rule.
8257 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8258 defined by config.h. Do not define _REGEX_RE_COMP.
8259 (regcomp): Allocate and initialize a fastmap.
8260 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8262 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
8264 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8266 2000-01-19 Richard Henderson <rth@cygnus.com>
8268 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8269 arguments with BB. Update all callers. Tidy line wrapping.
8271 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
8273 * emit-rtl.c (try_split): Return last_insn if we split the
8276 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
8278 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8279 (ix86_initial_elimination_offset): Declare.
8280 * i386.c (ix86_nsaved_regs): Break out from ...
8281 (ix86_can_use_return_insn_p): ... here.
8282 (ix86_emit_save_regs): Break out from ...
8283 (ix86_expand_prologue): ... here.
8284 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8286 (ix86_expand_epilogue): ... here.
8287 (ix86_compute_frame_size): Make static, add prototype.
8288 (ix86_initial_elimination_offset): Break out from ...
8289 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8291 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8293 * recog.h (OUT_FCN): Delete.
8295 * vax.md: Call `get_insn_template' instead of OUT_FCN.
8297 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8299 * cppalloc.c: PROTO -> PARAMS.
8300 * cpperror.c: Likewise.
8301 * cppfiles.c: Likewise.
8302 * cpplib.c: Likewise.
8303 * cpplib.h: Likewise.
8305 * config/arm/arm-protos.h: PROTO -> PARAMS.
8306 * config/arm/arm.c: Likewise.
8307 * config/c4x/c4x.c: Likewise.
8308 * config/fr30/fr30-protos.h: Likewise.
8309 * config/nextstep.c: Likewise.
8310 * config/pa/pa.c: Likewise.
8311 * config/pj/pj.c: Likewise.
8312 * config/rs6000/rs6000.c: Likewise.
8313 * config/v850/v850-protos.h: Likewise.
8314 * config/v850/v850.c: Likewise.
8316 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8318 * i370-protos.h: New file.
8320 * i370.c: Include tm_p.h. Fix compile time warnings.
8322 * i370.h: Move prototypes to i370-protos.h. Fix compile time
8325 * i370.md: Likewise.
8327 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8329 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8330 (target_isinf, target_isnan, eisnan): Mark parameter with
8332 (eiisinf): Wrap in INFINITY.
8333 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8334 (ibmtoe): Remove unused variable `rndsav'.
8336 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8338 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8339 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8341 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
8343 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8344 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8345 (fix_char_macro_defines, fix_char_macro_uses): New functions.
8347 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8348 Recognize Emacs mode markers also.
8349 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8350 C++ comments in C++ headers. Call is_cxx_header only if
8353 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8355 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8356 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8357 ... these, which use the new C fixes.
8358 (math_exception): Escape literal '+' in bypass expression.
8360 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8363 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8365 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8368 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8370 * loop.c (loop_optimize): Allocate loop_info structure for each loop
8371 prior to calling scan_loop.
8373 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8375 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8376 (split_branches, calc_live_regs): Likewise.
8378 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8380 * sh.md (fpu_single, fp_mode): New attributes.
8382 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8384 * loop.c (current_loop_info): Renamed from loop_info_data
8385 and changed to a pointer.
8386 (loop_optimize): Allocate loop_info structure for each loop
8387 and initialise to zero.
8388 (scan_loop): Set current_loop_info.
8390 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8393 2000-01-19 Richard Henderson <rth@cygnus.com>
8395 * stupid.c: Die die die.
8396 * Makefile.in (OBJS): Remove stupid.o.
8397 (stupid.o): Likewise.
8399 * except.c (emit_eh_context): Don't emit USEs for stupid.
8400 * explow.c (probe_stack_range): Likewise.
8401 * flags.h (obey_regdecls): Remove.
8402 * flow.c (find_basic_blocks): Don't run try_merge_blocks
8403 when not optimizing.
8404 (life_analysis): Limit data collection when not optimizing.
8405 (mark_regs_live_at_end): Always mark the return value registers.
8406 (mark_used_regs): Remove dummy RETURN case.
8407 (print_rtl_with_bb): Don't consult obey_regdecls.
8408 * function.c (use_variable, use_variable_after): Remove.
8409 (assign_parms): Consult optimize not obey_regdecls.
8410 (expand_function_start): Don't emit USEs for stupid.
8411 (expand_function_end): Likewise.
8412 * global.c (build_insn_chain): Export.
8413 * integrate.c (expand_inline_function): Kill return-value USE
8415 * jump.c (jump_optimize_1): Do simple jump optimizations and
8416 dead code elimination.
8417 (calculate_can_reach_end): Remove check_deleted argument.
8418 (delete_insn): Patch out insns even when not optimizing.
8419 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8420 * rtl.h (use_variable, use_variable_after): Remove declarations.
8421 (build_insn_chain): Declare.
8422 * stmt.c (expand_value_return): Don't emit USEs for stupid.
8423 (expand_end_bindings): Likewise.
8424 (expand_decl): Likewise. Consult optimize not obey_regdecls.
8425 * toplev.c (obey_regdecls): Remove.
8426 (rest_of_compilation): Don't set it. Kill stupid in favour of
8427 flow1, local-alloc, and reload.
8428 (main): Don't set obey_regdecls.
8430 * config/nextstep.c (handle_pragma): Likewise.
8432 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8434 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8436 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8438 * alpha-protos.h: PROTO -> PARAMS.
8439 * alpha.c: Likewise.
8441 * h8300.c: Likewise.
8442 * i386-protos.h: Likewise.
8444 * m32r-protos.h: Likewise.
8447 * mips.md: Likewise.
8448 * gmon-sol2.c: Likewise.
8449 * sparc.c: Likewise.
8451 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8453 * ns32k-protos.h: New file.
8455 * ns32k.c: Fix compile time warnings.
8457 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
8460 * ns32k.md: Likewise.
8462 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8464 * vax-protos.h: New file.
8466 * vax.c: Fix compile time warnings.
8468 * vax.h: Move prototypes to vax-protos.h. Fix compile time
8473 * vaxv.md: Likewise.
8475 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8477 * romp-protos.h: New file.
8479 * romp.c: Fix compile time warnings.
8481 * romp.h: Move prototypes to romp-protos.h. Fix compile time
8484 * romp.md: Likewise.
8486 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8488 * we32k-protos.h: New file.
8490 * we32k.c: Fix compile time warnings.
8492 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
8495 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8497 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8499 * except.c (eh_regs): Likewise.
8501 * final.c (output_operand): Likewise.
8503 * fold-const.c (target_isinf, target_isnan): Likewise.
8505 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
8507 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8508 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8510 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8512 (clrstrsi): Rewrite.
8513 (strsethi, strsetqi): New expanders.
8514 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8515 (cmpstrsi): Emit compare insn before cmpstrsi_1
8516 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8517 (strlensi_1): Likewise.
8518 (cmpstrsi_1): Likewise; do not output compare.
8519 (strlen expander): Do not unroll when optimizing for size.
8520 (*subsi3_carry): Rename to subsi3_carry
8521 (addqi3_cc): New pattern.
8522 * i386.h (processor_costs): Add move_ratio field.
8523 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8524 * i386.c (*_cost): Set move_ratio.
8525 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8526 (x86_expand_strlensi_1): Rewrite the main loop.
8528 2000-01-17 Richard Henderson <rth@cygnus.com>
8530 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8531 * cse.c (find_comparison_args, fold_rtx): Likewise.
8532 * integrate.c (subst_constants): Likewise.
8533 * loop.c (get_condition): Likewise.
8535 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8537 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8539 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8541 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8542 (RESTORE_WARN_FLAGS): Unpack it.
8543 Change semantic type of extension to ttype.
8544 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8545 * c-parse.y, c-parse.c, objc/objc-parse.y,
8546 objc/objc-parse.c: Regenerate.
8548 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
8550 * fixinc/fixlib.c: Add copyright notice.
8551 (compile_re): New function.
8552 * fixinc/fixlib.h: Prototype compile_re.
8554 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8555 Use compile_re to compile regular expressions.
8557 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8558 where the pattern matched.
8560 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8562 (ultrix_ansi_compat): Likewise.
8563 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8565 (interactv_add2, interactv_add3): Delete.
8566 (x11_sprintf): Don't use filename glob.
8567 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8570 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8572 * print-rtl.c: PROTO -> PARAMS.
8574 * reg-stack.c: Likewise.
8575 * resource.c: Likewise.
8576 * sdbout.h: Likewise.
8577 * simplify-rtx.c: Likewise.
8578 * stor-layout.c: Likewise.
8579 * stupid.c: Likewise.
8580 * xcoffout.c: Likewise.
8581 * xcoffout.h: Likewise.
8583 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8585 * toplev.c: PROTO -> PARAMS.
8586 * toplev.h: Likewise.
8589 * unroll.c: Likewise.
8590 * varasm.c: Likewise.
8591 * varray.c: Likewise.
8592 * varray.h: Likewise.
8594 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8596 * reload.c: PROTO -> PARAMS.
8597 * reload.h: Likewise.
8598 * reload1.c: Likewise.
8599 * reorg.c: Likewise.
8600 * resource.h: Likewise.
8603 * rtlanal.c: Likewise.
8604 * sbitmap.h: Likewise.
8605 * sdbout.c: Likewise.
8606 * stack.h: Likewise.
8608 * system.h: Likewise.
8610 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8612 * machmode.h: PROTO -> PARAMS.
8613 * mbchar.h: Likewise.
8614 * mips-tdump.c: Likewise.
8615 * mips-tfile.c: Likewise.
8616 * optabs.c: Likewise.
8617 * output.h: Likewise.
8618 * prefix.c: Likewise.
8619 * profile.c: Likewise.
8620 * protoize.c: Likewise.
8622 * recog.c: Likewise.
8623 * recog.h: Likewise.
8624 * regclass.c: Likewise.
8625 * regmove.c: Likewise.
8628 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8630 * ggc-common.c: PROTO -> PARAMS.
8631 * ggc-page.c: Likewise.
8632 * ggc-simple.c: Likewise.
8634 * global.c: Likewise.
8635 * graph.c: Likewise.
8636 * gthr-win32.h: Likewise.
8637 * haifa-sched.c: Likewise.
8638 * halfpic.h: Likewise.
8639 * integrate.c: Likewise.
8640 * integrate.h: Likewise.
8643 * local-alloc.c: Likewise.
8647 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8649 * genattr.c: PROTO -> PARAMS.
8650 * genattrtab.c: Likewise.
8651 * gencheck.c: Likewise.
8652 * gencodes.c: Likewise.
8653 * genconfig.c: Likewise.
8654 * genemit.c: Likewise.
8655 * genextract.c: Likewise.
8656 * genflags.c: Likewise.
8657 * gengenrtl.c: Likewise.
8658 * genopinit.c: Likewise.
8659 * genoutput.c: Likewise.
8660 * genpeep.c: Likewise.
8661 * genrecog.c: Likewise.
8663 2000-01-16 Mark Mitchell <mark@codesourcery.com>
8665 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
8667 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8669 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
8670 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
8671 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
8672 * configure, config.in: Rebuilt.
8674 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
8676 * config/i386/i386.md: Add peephole to merge successive stack
8679 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
8681 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
8682 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
8683 when walking backwards to find all the parameter loads when
8684 the basic block ends in a call.
8686 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8688 * loop.c (this_loop_info): Delete.
8689 (uid_loop): Add in place of uid_loop_num. All uses updated.
8690 (loop_number_exit_count): Delete and replace with entry in loop
8691 structure. All uses updated.
8692 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8693 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8694 (loop_outer_loop): Likewise.
8695 (loop_invalid, loop_number_exit_labels): Likewise.
8696 (loop_used_count_register): Delete and replace with entry in
8697 loop_info structure.
8698 (find_and_verify_loops): Add loops argument.
8699 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
8700 loop_end, etc. arguments with loop structure pointer. All callers
8702 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
8703 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
8704 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
8705 (insert_bct): Likewise.
8706 (basic_induction_var): New argument level.
8707 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
8708 vtop, and cont. Add used_count_register.
8709 (uid_loop): Delete declaration.
8710 (loop_number_exit_count): Likewise.
8711 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8712 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8713 (loop_outer_loop, loop_used_count_register): Likewise.
8714 (loop_invalid, loop_number_exit_labels): Likewise.
8715 (unroll_loop): Replace loop_start and loop_end arguments
8716 with loop structure pointer.
8717 (loop_precondition_p, loop_iterations): Likewise.
8718 Include basic-block.h.
8719 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
8720 with loop structure pointer.
8721 (loop_precondition_p, loop_iterations): Likewise.
8722 * basic-block.h (struct loop): New entries vtop, cont,
8723 cont_dominator, start, end, top, scan_start, exit_labels,
8725 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
8727 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8729 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
8731 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
8733 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
8735 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8737 * pdp11-protos.h: New file.
8739 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
8742 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
8745 * pdp11.md: Likewise.
8749 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8751 * mn10300-protos.h: New file.
8753 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
8756 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
8759 * mn10300.md: Likewise.
8761 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8763 * mn10200-protos.h: New file.
8765 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
8768 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
8771 * mn10200.md: Likewise.
8773 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8775 * h8300-protos.h: New file.
8777 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
8780 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
8783 * h8300.md: Likewise.
8785 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8787 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
8788 (asm_emit_uninitialised): Likewise.
8790 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
8792 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
8793 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
8795 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8797 * config/mips/mips.c (override_options): Don't turn on extra
8798 alignment for mips16.
8800 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8802 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
8803 eabi, and make sure queued POSTINCREMENT rtl is emitted at
8806 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8808 * builtins.c (PAD_VARARGS_DOWN): Define.
8809 (std_expand_builtin_va_arg): Use the above macro.
8810 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
8811 * tm.texi (Register Arguments): Document the above macro.
8813 2000-01-14 Nick Clifton <nickc@cygnus.com>
8815 * emit-rtl.c (emit_insn): If checking is enabled, make sure
8816 that this function has not been used to emit a jump
8819 * jump.c (return_jump_1): Cope with being passed a null rtx.
8821 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8823 * eh-common.h: PROTO -> PARAMS.
8824 * emit-rtl.c: Likewise.
8825 * errors.c: Likewise.
8826 * errors.h: Likewise.
8827 * except.c: Likewise.
8828 * except.h: Likewise.
8829 * explow.c: Likewise.
8830 * expmed.c: Likewise.
8833 * final.c: Likewise.
8834 * fix-header.c: Likewise.
8836 * fold-const.c: Likewise.
8837 * function.c: Likewise.
8838 * function.h: Likewise.
8840 * gcov-io.h: Likewise.
8844 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8846 * sh-protos.h: New file.
8848 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
8849 Add static prototypes. Fix compile time warnings.
8851 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
8855 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8857 * arc-protos.h: New file.
8859 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
8862 * arc.h: Move prototypes to arc-protos.h. Fix compile time
8867 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8869 * dsp16xx-protos.h: New file.
8871 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
8874 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
8877 * dsp16xx.md: Likewise.
8879 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8881 * convex-protos.h: New file.
8883 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
8886 * convex.h: Move prototypes to convex-protos.h. Fix compile time
8889 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8891 * elxsi-protos.h: New file.
8893 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
8896 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
8899 * elxsi.md: Likewise.
8901 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8903 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
8904 case for moving from HI/LO/HI_LO_REG. This makes the behavior
8905 match the comment for MIPS16.
8907 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
8909 * flow.c (split_edge): Do not call set_block_for_insn if we
8910 do not have a basic_block_for_insn structure.
8912 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
8913 and destination functions are 32bit aligned within the trampoline.
8914 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
8915 (TRAMPOLINE_ALIGNMENT): Define.
8917 * cse.c (cse_insn): When changing (set (pc) (reg)) to
8918 (set (pc) (label_ref)), verify the change creates a valid insn.
8920 * fr30.c (call_operand): Tighten and rework to match rules for
8921 call RTL expressions.
8922 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
8923 * fr30.md (call patterns): Improve constraints.
8925 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
8927 * fr30.c (fr30_expand_epilogue): Revert last change.
8928 Use emit_jump_insn for the return insn.
8930 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
8931 Stan Cox <scox@cygnus.com>
8933 * predict.c: New file. Preliminary infrastructure work for static
8934 branch prediction and basic block reordering.
8935 * basic-block.h: Add prototype for estimate_probability.
8936 * Makefile.in: Add rules for predict.o.
8938 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
8940 * fixincludes (va_list): Use __not_va_list__ for the dummy.
8941 * fixinc/*: Likewise.
8943 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8945 * cccp.c: PROTO -> PARAMS.
8947 * collect2.c: Likewise.
8948 * combine.c: Likewise.
8949 * convert.h: Likewise.
8951 * dbxout.c: Likewise.
8952 * dbxout.h: Likewise.
8953 * diagnostic.c: Likewise.
8954 * doprint.c: Likewise.
8955 * dwarf2out.c: Likewise.
8956 * dwarf2out.h: Likewise.
8957 * dwarfout.c: Likewise.
8958 * dwarfout.h: Likewise.
8959 * dyn-string.h: Likewise.
8961 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8963 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
8964 macro conditionals guarding use.
8966 * dwarf2out.c: Include "tm_p.h".
8968 * function.c (locate_and_pad_parm): Mark parameter with
8970 (expand_function_end): Likewise for variable `context'.
8972 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
8974 2000-01-13 Nick Clifton <nickc@cygnus.com>
8976 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
8977 register to prevent compile time warnings.
8979 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
8981 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
8982 to avoid -Wtraditional warning.
8984 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8986 * 1750a-protos.h: New file.
8988 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
8991 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
8994 * 1750a.md: Likewise.
8996 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8998 * a29k-protos.h: New file.
9000 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
9003 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
9006 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9008 * clipper-protos.h: New file.
9010 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
9013 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
9016 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9018 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9020 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
9022 * configure.in (--enable-new-gxx-abi): New option.
9023 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9024 * Makefile.in (GXX_ABI_FLAG): New variable.
9025 * configure: Regenerate.
9027 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9029 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9030 * tm.texi (FORCE_STRUCT_BLK): Document.
9031 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9033 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
9035 * config/ns32k/ns32k.md: Revert Jan 9 change.
9037 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9038 to a mode-test, if the predicate is address_operand.
9040 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
9042 * combine.c (if_then_else_cond): Be careful about what kinds
9043 of RTL expressions are passed to operand_subword.
9045 * flow.c (split_edge): If we have to insert a new jump, make
9046 sure to associate it with a basic block.
9048 * flow.c (commit_one_edge_insertion): A block with one successor
9049 can end in a JUMP_INSN that is not a simplejump.
9051 2000-01-12 Robert Lipe <robertl@sco.com>
9053 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9054 (BUILD_VA_LIST_TYPE): Define.
9055 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9058 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
9060 * cccp.c (do_pragma): Add cast to (char *).
9062 2000-01-12 Richard Henderson <rth@cygnus.com>
9063 Fred Fish <fnf@be.com>
9064 Jason Merrill <jason@cygnus.com>
9066 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9067 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9068 * i386/beos-elf.h, i386/beos-pe.h: New files.
9070 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9071 * cross-make (SYSTEM_HEADER_DIR): Define using
9072 CROSS_SYSTEM_HEADER_DIR.
9074 * gcc.c (LIBRARY_PATH_ENV): Provide default.
9075 (process_command): Use it.
9076 (main): Likewise. Kill trailing = from env vars.
9077 (build_search_list): Put it back.
9078 * collect2.c (main): Use LIBRARY_PATH_ENV.
9080 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9081 * toplev.c: Use NEED_DECLARATION_ENVIRON.
9083 * tm.texi (Frame Layout): Document SMALL_STACK.
9084 * c-common.c (c_common_nodes_and_builtins): Check it.
9086 * system.h: Undef alloca after including glibc's <stdlib.h>,
9087 if USE_C_ALLOCA is defined.
9089 * gcc.c (set_input): New fn.
9090 (main): After all input files are compiled, reset the input file
9093 * aclocal.m4 (rindex, index): If already defined, don't attempt
9096 * ginclude/varargs.h: (__va_list__): Define ifndef.
9097 * ginclude/stdarg.h: Likewise.
9099 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9100 instead of unsigned char.
9102 * hash.h (true, false, boolean): Undef before enum.
9104 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9105 proper type of "HOST_WIDE_INT *", rather than their natural type of
9106 "unsigned HOST_WIDE_INT *".
9108 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9110 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9112 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9114 * regclass.c (choose_hard_reg_mode): Likewise.
9116 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9118 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9120 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9122 * c-common.c: PROTO -> PARAMS.
9123 * c-common.h: Likewise.
9124 * c-decl.c: Likewise.
9125 * c-iterate.c: Likewise.
9126 * c-lang.c: Likewise.
9127 * c-lex.c: Likewise.
9128 * c-lex.h: Likewise.
9129 * c-parse.in: Likewise.
9130 * c-pragma.c: Likewise.
9131 * c-pragma.h: Likewise.
9132 * c-tree.h: Likewise.
9133 * c-typeck.c: Likewise.
9134 * objc/objc-act.c: Likewise.
9135 * objc/objc-act.h: Likewise.
9137 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9139 * m88k-protos.h: New file.
9141 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
9144 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
9146 * m88k.md: Likewise.
9148 * tekXD88.h: Likewise.
9150 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9152 * m68k-protos.h: New file.
9154 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
9157 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
9159 * mot3300.h: Likewise.
9161 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
9163 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9165 (extract_bitlist): Declare bitlen.
9167 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
9169 * cccp.c: Accept and ignore -lang-fortran.
9171 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9172 qualifiers don't match at any level of pointerness.
9174 2000-01-12 Robert Lipe <robertl@sco.com>
9176 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9178 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
9180 * reload1.c (reload_reg_unavailable): New static variable.
9181 (reload_reg_free_p): Test it.
9182 (reload_reg_free_for_value_p): Test it instead of
9184 (choose_reload_regs_init): Compute it.
9186 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
9188 * reorg.c (fill_slots_from_thread): Check modified_in_p
9191 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
9193 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9194 these nodes even if INTERNALS is not set.
9196 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
9198 * gcse.c (delete_null_pointer_checks_1): Cope when
9199 get_condition cannot determine the condition.
9201 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
9203 * toplev.h (set_message_length): Declare.
9205 * diagnostic.c (obstack_chunk_alloc): Define macro.
9206 (obstack_chunk_free): Likewise.
9207 (struct output_buffer): New data structure.
9209 (output_maximum_width): New variable.
9210 (doing_line_wrapping, set_message_length, init_output_buffer,
9211 get_output_prefix, output_space_left, emit_output_prefix,
9212 output_newline, output_append, output_puts, dump_output,
9213 vbuild_message_string, build_message_string, build_location_prefix,
9214 voutput_notice, output_printf, line_wrapper_printf,
9215 vline_wrapper_message_with_location): New functions. Implement
9216 automatic line wrapping.
9217 (v_message_with_decl): Make it handle automatic line wrapping.
9218 (v_error_with_file_and_line): Likewise.
9219 (v_warning_with_file_and_line): Likewise.
9220 (announce_function): Likewise.
9221 (default_print_error_function): Likewise.
9223 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
9225 * cpplib.h (struct cpp_options): Change lang_asm to char.
9227 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9228 done in cpp_handle_option now.
9229 (initialize_builtins): Take out special case code used only by
9231 (cpp_handle_option): Turn off trigraphs and trigraph warnings
9232 if -traditional. Recognize -lang-fortran and set
9233 lang_fortran, also turn off cplusplus_comments.
9234 (print_help): Document -lang-fortran.
9235 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9236 lang_asm. Ignore all directives other than `# 123 "file"' if
9238 (cpp_get_token): If -traditional, don't recognize directives
9239 unless the # is in column 1.
9240 (parse_string): If lang_fortran or lang_asm, silently
9241 terminate strings ('' or "") at end of line.
9242 Remove unnecessary braces.
9244 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9245 Richard Henderson <rth@cygnus.com>
9247 * resource.c (mark_referenced_resources): Mark a set strict_low_part
9249 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9250 strict_low_part when possible.
9252 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9254 * alias.c: PROTO -> PARAMS.
9255 * basic-block.h: Likewise.
9256 * bitmap.c: Likewise.
9257 * bitmap.h: Likewise.
9258 * builtins.c: Likewise.
9259 * c-aux-info.c: Likewise.
9260 * caller-save.c: Likewise.
9261 * calls.c: Likewise.
9263 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9265 * Makefile.in (toplev.o): Depend on regs.h.
9267 * output.h (tdesc_section): Prototype.
9269 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9271 * sdbout.c: Include "tm_p.h".
9273 * toplev.c: Include "regs.h".
9275 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
9277 * unroll.c (unroll_loop): Add EH support.
9279 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9281 * pa-protos.h: New file.
9283 * pa.c: Include recog.h and tm_p.h.
9284 (compute_zdepwi_operands, compute_movstrsi_length,
9285 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9286 find_addr_reg, import_milli): Add static prototypes.
9287 (pa_cpu_string, pa_arch_string): Constify a char*.
9288 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9289 (read_only_operand): Add argument `mode'.
9290 (singlemove_string, output_move_double, output_fp_move_double,
9291 output_block_move, output_and, output_ior, output_ascii,
9292 remove_useless_addtr_insns, milli_names, output_mul_insn,
9293 output_div_insn, output_mod_insn, output_arg_descriptor,
9294 output_cbranch, output_bb, output_bvb, output_dbra, ,
9295 output_millicode_call, output_call, hppa_encode_label,
9296 output_parallel_movb, output_parallel_addb): Constify a char*.
9297 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9298 (output_parallel_addb): Remove extra arg to `constrain_operands'
9300 * pa.h: Move all prototypes to pa-protos.h.
9301 (pa_cpu_string, pa_arch_string): Constify a char*.
9302 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9304 * pa.md: Call `function_label_operand' with mode argument.
9305 Likewise for `read_only_operand'.
9306 Fix nesting of parens in call to `symbolic_operand'.
9308 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9310 * i860-protos.h: New file.
9312 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
9315 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
9317 * i860.md: Likewise.
9319 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
9321 * i386.md (movstrsi expander): Rewrite.
9322 (movstrsi_1 insn): Deleted.
9323 (strmovhi, strmovqi expander): New expanders.
9324 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9325 * i386.c (x86_single_stringop): New global variable.
9326 * i386.h (x86_single_stringop): Declare.
9327 (TARGET_SINGLE_STRINGOP): New macro.
9329 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
9331 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9332 integer vararg POSTINCREMENT before the destination of the jump
9333 for the hard fp case.
9334 (function_arg_pass_by_reference): Pass a copy of CUM to
9337 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9338 for CONSTANT_ADDRESS_P above while loop for subreg.
9340 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
9342 * flow.c (propagate_block): When a prologue/epilogue insn
9343 is marked dead, unconditionally clear libcall_is_dead and
9344 insn_is_dead, and only dump rtl if warnings aren't being
9347 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
9349 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9350 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9351 (FIXED_REGISTERS): Set dirflag as fixed.
9352 (CALL_USED_REGISTERS): Set dirflag as used.
9353 (REG_ALLOC_ORDER): Set dirflag as last one.
9354 (DIRFLAG_REG): New macro.
9355 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9356 (HI_REGISTER_NAMES): Add dirflag.
9357 (DEBUF_PRINT_REG): Handle dirflag.
9358 * i386.md (type attribute): New cld and str types.
9359 (length_opcode attribute): Set cld and str to 1.
9360 (memory attribute): Set str to unknown - it is not clear from the
9362 (pent_np function unit): Prefixed string operations takes 12 cycles
9363 minimally; cld takes 2 cycles.
9364 (ppro_uops attribute): Str is "many" and cld is "few".
9365 (ppro_p0 unit): Handle cld here.
9366 (k6_alux unit): Handle cld and str types.
9367 (k6_load unit): It is ocupied by str opcodes.
9368 (k6_store unit): It is ocupied by str opcodes.
9369 (athlon_decode): Str is vector decoded.
9370 (athlon_ieu): Handle str and cld.
9372 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9373 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9374 cmpstrsi_nz_1 insn): Do not output cld instruction
9376 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
9378 * gcc.texi (G++ and GCC): Add Java and Chill.
9379 (Bug Critera): Don't list languages.
9381 * gcc.texi (Incompatibilities): No longer claim most C compilers
9384 * gcc.texi (G++ and GCC): Update other front-ends list.
9386 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
9388 * i386.c (ix86_expand_setcc): Fix typo.
9389 (ix86_expand_movcc): Similarly.
9391 * Band-aid until haifa's bitset implementation is nuked.
9392 * haifa-sched.c (extract_bitlst): New parameter for size of the
9393 bitset in bits. All callers changed. Avoid looking at undefined
9395 (edgeset_bitsize): New variable.
9396 (schedule_region): Initialize edgeset_bitsize.
9398 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9400 * Makefile.in (optabs.o): Depend on real.h
9401 (resource.o): Depend on insn-attr.h
9403 * builtins.c (result_vector): Wrap prototype in macro conditions
9404 governing definition and use.
9406 * c-common.c: Include tm_p.h.
9408 * c-lex.c: Likewise.
9410 * elfos.h: Constify a char*.
9412 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9413 (get_attr_length, shorten_branches, profile_after_prologue): Mark
9414 parameter with ATTRIBUTE_UNUSED.
9416 * fold-const.c (exact_real_inverse): Wrap variable `i' in
9419 * haifa-sched.c (schedule_insns): Mark parameter with
9422 * optabs.c: Include real.h.
9424 * real.h (ereal_atof): Add prototype arguments.
9426 * resource.c: Include insn-attr.h.
9428 * sdbout.c (sdbout_queue_anonymous_type,
9429 sdbout_dequeue_anonymous_types): Wrap in macro
9430 SDB_ALLOW_FORWARD_REFERENCES.
9431 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9434 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9436 * stupid.c: Include tm_p.h.
9438 * tree.c (real_value_from_int_cst): Mark parameter with
9441 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9443 * i960-protos.h: New file.
9445 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
9448 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
9450 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9452 * combine.c (expand_field_assignment): Do not discard SUBREGs
9453 while computing nonzero_bits.
9455 2000-01-09 Nick Clifton <nickc@cygnus.com>
9457 * config/arm/arm.c: Fix compile time warnings about signed vs
9459 * config/arm/arm.h: Fix compile time warnings about signed vs
9462 2000-01-09 Philip Blundell <philb@gnu.org>
9464 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9465 than `ldm' with only one register.
9466 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9469 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9472 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
9474 * config/ns32k/ns32k.md (load or push effective address): Operand 1
9477 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9479 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9480 assignment used as truth value.
9482 * function.c (assign_temp): Mark parameter `dont_promote' with
9483 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
9484 PROMOTE_FOR_CALL_ONLY.
9486 * genrecog.c (write_subroutine): Mark variable `operands' with
9489 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9492 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9493 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9495 * toplev.c (note_deferral_of_defined_inline_function): Likewise
9498 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9500 * config/c4x.h: Tidy up comments.
9501 * config/c4x.c: Likewise.
9503 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
9505 * fold-const.c (lshift_double, rshift_double): Handle
9506 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9508 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9510 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9511 in prepare_function_start().
9513 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
9515 * config/v850/v850.c (expand_epilogue): Interrupt functions no
9516 longer allocate extra stack for function calls.
9518 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9520 * config/c4x/c4x.md (*subqf3_set): Fix typo.
9522 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9524 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9526 2000-01-07 David Edelsohn <edelsohn@gnu.org>
9528 * rs6000.c (processor_target_table): Add power3 as alias for 630.
9529 * aix43.h: Revert Aug 2 change.
9530 (HAS_INIT_SECTION): Define, not visible yet.
9531 (LD_INIT_SWITCH): Define, not visible yet.
9532 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9534 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9536 * collect2.c (main): Expand ld2 size further.
9537 (export_object_lst): Cast assignment to avoid warning.
9538 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9539 (scan_prog_file, COFF): Do not collect initialization or
9540 finalization functions generated for entire shared object if
9541 init/fini support present.
9543 2000-01-07 Nick Clifton <nickc@cygnus.com>
9545 * config/elfos.h: Tidy up formatting of marcos. Make sure
9546 that .section directives are always prefixed by a tab.
9548 * config/svr4.h: Add #include "elfos.h" and remove duplicate
9551 2000-01-07 Matt Austern <austern@sgi.com>
9553 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9556 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
9558 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9560 (crtbegin.o, s-crtS): Likewise.
9562 2000-01-06 Richard Henderson <rth@cygnus.com>
9564 * alpha.md (adddi_2+1): Limit offset such that it will be
9565 loadable with a single ldah+lda pair.
9566 (adddi_2+2): Explicitly fail split if we can't make it work.
9568 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
9570 * protoize.c: Conditionally include unistd.h.
9571 (IS_SAME_PATH_CHAR): New macro.
9572 (IS_SAME_PATH): New macro.
9573 (CPLUS_FILE_SUFFIX): New macro.
9574 (cplus_suffix): New static variable.
9575 (is_abspath): New static function.
9576 (in_system_include_dir): Handle DOS style pathnames.
9577 (file_could_be_converted): Likewise.
9578 (file_normally_convertible): Likewise.
9579 (directory_specified_p): Likewise.
9580 (file_excluded_p): Likewise.
9581 (abspath): Likewise.
9582 (shortpath): Likewise.
9583 (referenced_file_is_newer): Likewise.
9584 (save_def_or_dec): Likewise.
9585 (do_processing): Likewise.
9587 (edit_file): Likewise. Use rename instead of link.
9588 (rename_c_file): Likewise. Don't rename syscalls file.
9589 (munge_compile_params): Define null device for DOS based systems.
9590 (process_aux_info_file): Use binary mode if appliable.
9591 (edit_file): Likewise.
9592 * invoke.texi (Running Protoize): Document C++ suffixes used.
9594 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9595 IS_DIR_SEPARATOR macros.
9596 * collect2.c: Likewise.
9597 * cppinit.c: Likewise.
9598 * dwarf2out.c: Likewise.
9601 * prefix.c: Likewise.
9603 * toplev.c: Likewise.
9604 * system.h: And move to here.
9606 * prefix.c (update_path): Fix typo in variable name.
9608 2000-01-06 Richard Henderson <rth@cygnus.com>
9610 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9611 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9612 (count_reg_sets_1, count_reg_references): Likewise.
9613 (flow_loops_level_compute): Start counting actual loop depth at 1.
9614 (flow_loops_find): Likewise.
9615 * local-alloc.c (update_equiv_regs): Likewise.
9616 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9618 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
9620 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9621 FIRST_PSEUDO_REGISTER
9622 * dwarf2out.c: Don't include frame.h
9623 * dwarfout.c: Likewise
9624 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9627 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
9629 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9632 * i386.c (movsf splitter): Fix typo in my last checkin.
9634 2000-01-05 Nick Clifton <nickc@cygnus.com>
9636 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
9637 own definition of this macro.
9638 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
9639 flag_data_sections or UNIQUE_SECTION_P are true.
9641 * tm.texi (UNIQUE_SECTION): Document that it can be called for
9642 unitialised data decls.
9644 * config/i386/winnt.c (i386_pe_unique_section): Cope with
9645 being called for uninitialised data.
9647 * config/i386/interix.c (i386_pe_unique_section): Cope with
9648 being called for uninitialised data.
9650 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
9651 for uninitialised data.
9653 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
9654 for uninitialised data.
9656 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
9657 for uninitialised data.
9659 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
9660 (UNIQUE_SECTION_P): Always generate a unique section if
9661 flag_data_sections is true.
9662 (UNIQUE_SECTION): Also generate unique sections for
9664 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
9665 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
9668 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9670 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
9673 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9675 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
9676 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
9677 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
9678 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
9679 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
9681 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
9683 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
9685 * c-decl.c (finish_enum): Simplify code to determine minimum and
9686 maximum values of the enum, and calculate the type. Remove check
9687 for FUNCTION_DECLs in the values list, which cannot happen. Replace
9688 the DECL_INITIAL of each enumeration constant with a copy converted
9689 to the enumeration type. When updating variant types, don't bother
9690 updating the type itself.
9692 * c-typeck.c (build_binary_op): Simplify conditional expressions
9693 when weeding out spurious signed-unsigned warnings. Add new
9694 spurious warning category: if the unsigned quantity is an enum
9695 and its maximum value fits in signed_type(result_type). Update
9697 (build_conditional_expr): Warn here if one alternative is signed
9698 and the other is unsigned.
9700 2000-01-05 Nick Clifton <nickc@cygnus.com>
9702 * config/fr30/fr30.h: Remove extraneous comments.
9704 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
9706 * reload1.c (choose_reload_regs): When disabling a reload, also
9707 set reload_spill_index to -1.
9709 2000-01-04 Joel Sherrill (joel@OARcorp.com>
9711 * configure.in (m68*-*-rtemscoff*): New target, formal name for
9713 (m68*-*-rtemself*): New target.
9714 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
9715 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
9716 (sparc*-*-rtemself*): New target.
9717 (sparc*-*-rtems*): Now elf not a.out.
9718 * config/i386/rtems.h: Include config/rtems.h.
9719 * config/i386/rtemself.h: Include config/rtems.h.
9720 * config/i960/rtems.h: Include config/rtems.h.
9721 * config/m68k/rtems.h: Include config/rtems.h.
9722 * config/m68k/rtemself.h: Include config/rtems.h.
9723 * config/mips/rtems64.h: Include config/rtems.h.
9724 * config/pa/rtems.h: Include config/rtems.h.
9725 * config/rs6000/rtems.h: Include config/rtems.h.
9726 * config/sh/rtems.h: Include config/rtems.h.
9727 * config/sh/rtemself.h: Include config/rtems.h.
9728 * config/sparc/rtems.h: Include config/rtems.h.
9729 * config/sparc/rtemself.h: Include config/rtems.h
9731 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
9733 * final.c (shorten_branches): Correctly compute length of
9734 asms without operands.
9736 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
9738 * configure.in: Add pj target.
9739 * configure: Regenerate.
9740 * config/pj: New directory.
9741 * config/pj/lib1funcs.S: New file.
9742 * config/pj/linux.h: New file.
9743 * config/pj/pj.c: New file.
9744 * config/pj/pj.md: New file.
9745 * config/pj/pjl.h: New file.
9746 * config/pj/t-pj: New file.
9747 * config/pj/xm-pj.h: New file
9749 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
9751 * toplev.c (rest_of_compilation): Run shorten-branches before
9754 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9756 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
9757 macros so that they're consistent with their names.
9758 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9759 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9761 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9763 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
9764 modified inadvertently.
9766 2000-01-04 Joel Sherrill <joel@OARcorp.com>
9768 * configure.in (v850*-*-rtems*): New target.
9769 * configure: Regenerate.
9770 * config/v850/rtems.h: New file.
9772 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
9774 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
9775 (__gthread_key_create): Likewise.
9776 (__gthread_key_dtor): Likewise.
9777 (__gthread_once): Fix logic.
9778 (__gthread_key_delete): Cast away constness.
9780 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
9781 * invoke.texi: Document.
9782 * i386/mingw32.h (CPP_SPEC): Use.
9783 (LIBGCC_SPEC): Likewise.
9784 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
9786 2000-01-04 David Edelsohn <edelsohn@gnu.org>
9788 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
9789 (HANDLE_PRAGMA_PACK): Undefine.
9790 (SLOW_UNALIGNED_ACCESS): Define.
9792 2000-01-04 David Edelsohn <edelsohn@gnu.org>
9794 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9795 to default definition.
9796 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
9797 (store_fixed_bit_field): Call macro with word_mode and alignment.
9798 (extract_bit_field): Call macro with relevant mode and alignment.
9799 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9800 to default definition.
9801 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
9803 (move_by_pieces_ninsns): Likewise.
9804 (clear_by_pieces): Likewise.
9805 (emit_push_insn): Likewise.
9806 (store_field): Call macro with relevant mode and alignment.
9807 (expand_expr): Likewise.
9808 (expand_expr_unaligned): Likewise.
9810 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
9811 (SLOW_UNALIGNED_ACCESS): Define.
9812 (CASE_VECTOR_MODE): Always use 32-bit offsets.
9813 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
9814 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
9815 (toc_section): Likewise and .toc pseudo-op.
9816 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
9818 (TEXT_SECTION_ASM_OP): Likewise.
9819 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
9822 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
9823 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
9824 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
9825 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
9826 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
9828 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
9830 * regclass.c: Revert my Jan 4 change to loop cost computation.
9832 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
9834 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
9837 2000-01-04 Stan Cox <scox@cygnus.com>
9839 * haifa-sched.c (build_control_flow): Change unreachable simple
9840 loop test to check if current block has only one predecessor.
9841 (find_rgns): Initialize degree. Use dest as degree index, not src.
9843 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9845 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
9847 * calls.c (expand_call): Likewise for
9848 `old_stack_arg_under_construction'.
9850 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
9852 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
9855 * gcc.c (execute): Likewise for `ut' and `st'.
9857 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
9859 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
9861 * jump.c (jump_optimize_1): Likewise for `temp2'.
9863 * local-alloc.c (block_alloc): Likewise for `r1'.
9865 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
9867 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
9868 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
9870 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
9873 * reload.c (find_reloads): Likewise for `goal_alternative_number'
9874 and `goal_earlyclobber'.
9876 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
9878 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
9880 * stupid.c (stupid_life_analysis): Likewise for `chain'.
9882 * unroll.c (copy_loop_body): Likewise for `copy'.
9884 * varasm.c (output_constructor): Likewise for `byte'.
9886 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
9888 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
9889 all FP constants for constant->reg moves.
9890 (ix86_split_to_parts): Try to convert memory address into immediate
9891 when available in the constant pool.
9892 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
9894 (LEGITIMATE_CONSTANT_P): Return 1.
9895 * i386.md (pushsf): New splitter to convert constant pool memory
9896 reference to immediate.
9897 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
9900 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
9902 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
9903 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
9904 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
9905 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
9906 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
9908 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
9910 * ginclude/stdbool.h: Support compilation as C++.
9912 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9914 * fold-const.c (make_range): Don't try to reverse an unbounded range.
9916 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
9918 * regclass.c (regclass): Properly compute loop_cost. Adjust
9921 * regclass.c: Fix minor whitespace problems.
9923 2000-01-03 Anthony Green <green@cygnus.com>
9925 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
9926 Restore the pic register if required.
9928 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
9930 * c-common.c (format_char_info): Update comment.
9931 (check_format_info): Recognize 'z' modifier in the same way 'Z'
9932 was recognized. Emit warning for formats new in ISO C99 only
9933 if flag_isoc9x is not set.
9935 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
9937 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
9939 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
9941 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
9942 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
9943 (make_compound_operation): Choose cheaper alternative between
9944 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
9946 * regclass.c (op_costs): Remove global variable.
9947 (record_reg_classes): New parameter "op_costs" and "reg_pref".
9948 (record_operand_costs): Break out from ...
9949 (scan_one_insn): ... here.
9950 (dump_regclass): Make dumps nicer.
9951 (regclass): Dump preferrences choosed and changes done during passes.
9953 2000-01-03 Jakub Jelinek <jakub@redhat.com>
9955 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
9957 2000-01-03 Jakub Jelinek <jakub@redhat.com>
9959 * config/sparc/sparc.c (gen_df_reg): New function.
9960 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
9961 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
9962 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
9963 movtf_cc_reg_sp64+1): Use it.
9965 2000-01-02 Mark Mitchell <mark@codesourcery.com>
9967 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
9970 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
9972 * config/i386/i386.c (ix86_expand_unary_operator): Function
9973 definition made void.
9974 (ix86_expand_binary_operator): Update outdated preceding comment.
9975 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
9978 * config/i386/i386.c (override_options): Fix option-name typo.
9980 2000-01-02 Mark Mitchell <mark@codesourcery.com>
9982 * system.h (CEIL): Define.
9983 * builtins.c (CEIL): Remove.
9984 * expmed.c (CEIL): Likewise.
9985 * expr.c (CEIL): Likewise.
9986 * stor-layout.c (CEIL): Likewise.
9988 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9990 * expr.c (store_constructor_field): Fix typo introduced with last
9993 2000-01-01 Mark Mitchell <mark@codesourcery.com>
9995 * tree.h (BINFO_N_BASETYPES): New macro.
9997 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
9999 * expmed.c (emit_store_flag): Prevent losing a pending stack
10000 adjust the same way we prevent losing queued increments.
10002 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10004 * function.c (update_temp_slot_address): Handle case where sum of
10005 temporary address plus offset in register is a valid address.
10007 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10009 * genrecog.c (change_state) Corrected typo.
10011 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10013 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10014 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10015 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10017 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
10019 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10020 case, expand GT comparisons correctly. Fix a comment before this
10023 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
10025 * dwarfout.c: Include "frame.h"
10026 * dwarf2out.c: Likewise.
10027 * Makefile.in (dwarfout.o): Depend on frame.h
10028 (dwarf2out.o): Likewise.
10030 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10032 Restore i386 binary compatibility in Dwarf EH info.
10033 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10034 value of FIRST_PSEUDO_REGISTER.
10035 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10036 (struct frame_state): Use DWARF_FRAME_REGISTERS.
10037 * dwarfout.c (output_reg_number): Ditto.
10038 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10039 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10041 1999-12-29 Bruce Korb <autogen@linuxbox.com>
10043 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10044 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10045 (<hack>_RE_CT): not needed
10046 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10047 rewritten to scan the file text once only
10048 "template<..." test added
10049 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10050 (is_cxx_header): declaration added
10051 * fixinc/fixtests.c(is_cxx_header): removed
10052 (apply_fix_p_t): removed
10053 (double_slash_test): is_cxx_header is only called once now
10054 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10055 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10056 within the templates.
10057 The borken spelling of "broken" was fixed.
10058 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10059 The default level depends on FIXINC_DEBUG.
10061 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10063 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10064 Otherwise provide a declaration for atexit.
10065 (init_dummy): Make sure dummy call to atexit is nevertheless
10066 called with correct number of args.
10068 * frame.c: Update comments referring to other files.
10070 * libgcc2.c: Likewise.
10072 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10074 * cse.c (free_element, get_element): Remove unused prototypes.
10076 * fold-const.c (extract_muldiv): Initialize variables `op0' and
10079 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10082 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
10084 * configure.in,configure: case arm for mn10200-*-* now sets
10085 float_format=i32 so that float.h will correctly claim "double"
10086 to be 32 bits. Ran autoconf to generate configure from .in file.
10088 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
10090 * pa.md (conditional zero): If op1 is a register, force it into
10091 the same register as op0.
10093 1999-12-28 Mark Mitchell <mark@codesourcery.com>
10095 * tree.h (BINFO_BASETYPES): Improve documentation.
10097 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10099 * configure.in (--enable-checking): Use a more portable `for'
10102 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10104 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10105 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10107 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10110 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10111 Delete descriptions.
10113 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10114 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10115 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10116 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10117 xm-svr4.h: Remove all instances of sys_siglist handling.
10119 1999-12-27 Jakub Jelinek <jakub@redhat.com>
10121 * config/sparc/sparc.md (cmp_zero_qi,
10122 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10123 cmp_zero_extendqidi2_andcc_set): New patterns.
10125 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
10127 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10128 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10129 (fpgnulib.c, xfgnulib.c): Add rules.
10130 * m68k/t-mot3300-gas: Likewise.
10132 1999-12-27 Ian Lance Taylor <ian@zembu.com>
10134 * configure.in: Avoid [[ by using test and changequote. Add
10135 changequote required by 1999-12-14 change.
10136 * configure: Rebuild.
10138 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
10140 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10142 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
10144 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10145 * flow.c (find_use_as_address): Likewise.
10146 * function.c (fixup_var_refs_1): Likewise.
10147 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10148 * jump.c (invert_exp, redirect_exp): Likewise.
10149 * loop.c (replace_call_address): Likewise.
10150 (count_nonfixed_reads): Likewise.
10151 * rtlanal.c (modified_between_p): Likewise.
10152 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10153 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10154 * unroll.c (remap_split_bivs): Likewise.
10156 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10158 * diagnostic.c (v_message_with_decl): Use .* format specifier
10159 instead of building the format specifier width manually.
10161 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10162 determining whether to provide a prototype. Remove the
10163 sys_siglist clause in the conditional.
10165 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10167 * fold-const.c (operand_equal_p): Use memcmp to compare string
10169 Suggested by D. J. Bernstein
10171 1999-12-17 Jakub Jelinek <jakub@redhat.com>
10173 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10174 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10176 * config/mips/mips.h (TARGET_64BIT): Likewise.
10177 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10178 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10179 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
10180 dsps. Give routines proper names if SI/DI modes are not used.
10181 * longlong.h: Use DWunion instead of DIunion.
10183 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
10185 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10186 GC_CHECKING, GC_ALWAYS_COLLECT.
10187 * configure.in: Allow --enable-checking with an argument
10188 listing check modes to enable.
10189 * config.in, configure: Rebuilt.
10190 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10191 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10192 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
10193 ENABLE_GC_ALWAYS_COLLECT.
10194 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10196 * tree.h, tree.c: Change ENABLE_CHECKING to
10197 ENABLE_TREE_CHECKING throughout.
10199 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10201 * fold-const.c (fold_truthop): Properly check for FP RHS.
10203 1999-12-24 Mark Mitchell <mark@codesourcery.com>
10205 * toplev.h (note_deferall_of_defined_inline_function): Declare.
10206 * toplev.c (note_deferral_of_defined_inline_function): New
10207 function, split out from ...
10208 (rest_of_compilation): ... here. Use it.
10210 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10212 * expr.c (store_constructor): Don't call clear_storage if size is
10215 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10217 * Makefile.in (toplev.o): Depend on loop.h.
10219 * dwarfout.c: Include tm_p.h.
10221 * emit-rtl.c (restore_emit_status): Mark parameter with
10224 * final.c (final_scan_insn): Likewise.
10226 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10227 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10228 flow_depth_first_order_compute, flow_loop_pre_header_find,
10229 flow_loop_tree_node_add, flow_loops_tree_build,
10230 flow_loop_level_compute, flow_loops_level_compute,
10231 flow_loop_outside_edge_p): Add prototypes.
10232 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10234 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10235 Mark with ATTRIBUTE_NORETURN.
10237 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10239 * local-alloc.c (no_conflict_p): Likewise.
10241 * loop.c (insert_bct): Hide definitions of variables with hidden
10243 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10245 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10246 with ATTRIBUTE_UNUSED.
10247 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10248 (reg_scan): Likewise.
10250 * reload.c (find_reloads): Remove unused variables `changed'.
10252 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10254 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10255 Remove unused variable `insn'.
10257 * toplev.c: Include loop.h.
10258 (report_file_and_line): Remove unnecessary prototype.
10260 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10262 * unroll.c (biv_total_increment): Likewise.
10264 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10266 * reload1.c (emit_input_reload_insns): Restore old behaviour
10267 wrt. 'special' reloads.
10269 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
10271 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10272 hash.h. (cse.c): Don't depend on hashtab.h.
10274 * cse.c: Don't include hashtab.h.
10275 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10277 * ggc-simple.c: Don't include hash.h.
10279 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
10281 * dwarf2out.c (add_abstract_origin_attribute): Call
10282 gen_abstract_function on our function context.
10284 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
10286 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10288 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10290 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10293 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10295 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10296 constraints to "a!r".
10298 1999-12-21 Mark Mitchell <mark@codesourcery.com>
10300 * Makefile.in (calls.o): Depend on function.h.
10301 (alias.o): Likewise.
10303 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
10305 * reload1.c (emit_reload_insns): Break out code and variables into...
10306 (input_reload_insns, other_input_address_reload_insns,
10307 other_input_reload_insns, input_address_reload_insns,
10308 inpaddr_address_reload_insns, output_reload_insns,
10309 output_address_reload_insns, outaddr_address_reload_insns,
10310 operand_reload_insns, other_operand_reload_insns,
10311 other_output_reload_insns): ... new static variables, and...
10312 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10313 do_output_reload): ... new functions.
10315 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10317 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10319 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10321 * md.texi: Add c4x constraints documentation.
10323 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10325 * config/i386/dgux.c (struct option): Rename to
10326 lang_independent_option.
10327 (struct m_options): Add description field.
10328 (output_options): Rename option type, add sep declaration, output
10329 ix86_cpu_string and ix86_arch_string only if set.
10330 (output_file_start): Rename option type.
10332 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
10334 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10336 (libgcc2.a): Similarly.
10338 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
10340 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10341 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
10342 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10344 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
10346 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10347 Remove redundant initialization of "frexpon" and "expon".
10349 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10351 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10353 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10354 (store_constructor_field, expand_expr): Pass new arg.
10356 1999-12-20 Mark Mitchell <mark@codesourcery.com>
10358 * Makefile.in (explow.o): Depend on function.h.
10360 * stor-layout.c (set_sizetype): Fix typo.
10362 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
10364 * function.c (cfun): Renamed from current_function. All users
10366 * function.h (cfun): Rename declaration as well.
10368 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10369 to be of type regset_head, not regset. All users changed by adding
10371 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10373 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10375 * config/c4x/rtems.h: New file.
10377 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
10379 * reload1.c (spill_failure): Take class of failed reload as argument
10380 and print it. Caller changed.
10382 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10384 * rs6000.h (SUBTARGET_DEFAULT): New macro.
10385 (TARGET_SWITCHES): Allow subtargets to default switches.
10386 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10388 1999-12-18 Mark Mitchell <mark@codesourcery.com>
10390 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10393 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
10395 * cccp.c (main): Define __STDC_VERSION__ as necessary.
10396 * cppinit.c (cpp_handle_option): Likewise.
10398 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10399 determine when to define.
10401 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
10403 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10404 cmove with mismatched test and data modes.
10406 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
10408 * c-typeck.c (c_expand_start_case): Don't warn for long switch
10411 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10413 * alias.c: Minor reformatting.
10414 * flow.c: Likewise.
10415 * regs.h: Likewise.
10416 * stor-layout.c: Likewise.
10417 * fold-const.c: Likewise.
10418 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10419 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10421 (size_int_wide): Cache nodes even if garbage collecting.
10422 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10423 of SAVE_EXPR has no side effects.
10424 * cse.c: Move a comment.
10425 * tree.c: Minor reformatting.
10426 (int_size_in_bytes): Return -1 if constant overflows.
10428 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10430 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10432 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
10434 * objc/objc-parse.c: Regenerate. This file must be rebuilt
10435 after any change to c-parse.in, even if objc-parse.y didn't
10438 1999-12-18 David S. Miller <davem@redhat.com>
10440 * toplev.c (rest_of_compilation): Restore BLOCK tree
10441 reconstruction and branch shortening changes lost in
10442 December 18th change.
10444 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
10446 * config/arm/linux-elf.h: Change all instances of
10447 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10448 * config/arm/uclinux-elf.h: Likewise.
10450 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
10452 * toplev.c (notice, vmessage, v_message_with_file_and_line,
10453 v_message_with_decl, file_and_line_for_asm,
10454 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10455 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10456 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10457 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10458 pfatal_with_name, fatal_io_error, need_error_newline,
10459 last_error_function, last_error_tick, announce_function,
10460 default_print_error_function, print_error_function,
10461 report_error_function, fnotice, error_with_file_and_line,
10462 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10463 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10464 warning_with_decl, warning_for_asm, warning, pedwarn,
10465 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10467 (compile_file): Use fnotice instead of notice. Adjust call.
10469 * diagnostic.c: New file.
10471 * Makefile.in (OBJS): Include diagnostic.o
10472 (diagnostic.o): Define dependence.
10474 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10476 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10479 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10481 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10483 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
10485 * fixtests.c (is_cxx_header): New fn, split out of
10487 (else_endif_label): Allow "#endif // comment" in C++ headers,
10488 as determined by is_cxx_header.
10489 * fixfixes.c (else_endif_label_fix): Update comment.
10490 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10492 * genfixes: Correct double thinko in commandline parsing.
10493 * hackshell.tpl: Generate correct sh syntax for bypass
10496 * inclhack.def (all): Whenever an inserted preprocessor
10497 conditional is split over multiple lines, use double
10498 backslashes in this file so the fixed header will be readable.
10500 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10501 and add bypass entry for correct version of this header.
10502 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10503 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10505 (hpux8_bogus_inlines): New fix, split from...
10506 (ultrix_atof_param) ... here.
10507 (math_expression): Add bypass entry keyed to glibc comment
10508 indicating the problem has been dealt with; disable
10509 unnecessary sed operations; update commentary.
10510 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10511 add select and bypass entries, simplify shell operation.
10512 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10514 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10515 ultrix_atof_param): Add select entry.
10516 (stdio_va_list, sunos_mather_decl): Add bypass entry.
10517 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10518 comments with the fixes they describe.
10520 * c-parse.in (string action): Do not warn about ANSI string
10521 concatenation in system headers. Affects C parser only.
10522 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10524 1999-12-16 Jakub Jelinek <jakub@redhat.com>
10526 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10527 compiling libgcc2 the macro depends always on arch cpp defines.
10529 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
10531 * loop.c (insert_loop_mem): Don't record MEMs from inside
10534 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
10536 * regclass.c (regclass): Do not use flowgraph when not optimizing.
10538 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10539 notes too, create one when replacement failed, attempt to simplify
10541 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10542 or REG_EQUIV notes.
10544 1999-12-16 Mark Mitchell <mark@codesourcery.com>
10546 * crtstuff.c (__dso_handle): Declare.
10547 (__cxa_finalize): Likewise.
10548 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10551 * invoke.texi: Document -fuse-cxa-atexit.
10553 * tree.h (ptr_type_node): Document.
10554 (const_ptr_type_node): Likewise.
10556 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10558 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10559 (optimize_reg_copy_2): Likewise.
10560 (optimize_reg_copy_3): Likewise.
10561 (fixup_match_2): Likewise.
10562 (regmove_optimize): Likewise.
10563 (fixup_match_1): Liekwise.
10565 * i386.md (HI to SImode promoting splitters): Rewrite.
10566 (pushsf mem peep2): New.
10567 (testhi to andhi peep2): Remove.
10568 * i386.h (x86_promote_QImode): New.
10569 (TARGET_PROMOTE_QImode): New.
10570 (PREDICATE_CODES): Add promotable_binary_operator.
10571 * i386.c (x86_promote_QImode0: New.
10572 (promotable_binary_operator): New.
10573 * i386-protos.h (promotable_binary_operator): New.
10575 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10577 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10579 1999-12-16 Mark Mitchell <mark@codesourcery.com>
10581 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10582 * function.c (insert_block_after_note): Remove.
10583 (retrofit_block): Likewise.
10584 (identify_blocks): Fix indentation.
10585 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10586 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10587 * function.h (insert_block_after_note): Remove prototype.
10588 (retrofit_block): Likewise.
10589 * integrate.c (expand_inline_function): Don't call
10590 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
10591 just expand_start_bindings. Use the block_map to remap old
10592 NOTE_BLOCKs to new ones.
10593 (integrate_decl_tree): Keep track of remapped blocks.
10594 * integrate.h (struct inline_remap): Add block_map.
10595 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
10596 NOTE_BLOCK on the notes.
10597 (expand_start_bindings): Rename to ...
10598 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
10599 (expand_end_bindings): Set NOTE_BLOCK.
10600 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10601 reconstruct the BLOCK tree.
10602 * tree.h (expand_start_bindings): Macroize. Call ...
10603 (expand_start_bindings_and_block): New function.
10605 1999-12-16 Jakub Jelinek <jakub@redhat.com>
10607 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10608 to match the format.
10610 1999-12-16 David S. Miller <davem@redhat.com>
10612 * expr.c (emit_move_insn_1): Only emit clobbers if one of
10613 the outputs is a SUBREG.
10614 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10617 * config/sparc/sparc.c (epilogue_renumber): Add default case
10620 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10622 * toplev.c (rest_of_compilation): Run branch shortening after
10625 * regclass.c (loop_depth): Remove
10626 (scan_one_insn): Do not handle LOOP_NOTE insns.
10627 (regclass): Go through basic blocks and set loop_cost
10629 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
10631 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10633 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10635 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10636 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
10637 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
10639 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
10641 * loop.c (insert_loop_mem): Ignore memory clobbers.
10643 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
10646 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
10648 * profile.c: Remove redundant #include "output.h".
10650 * h8300.md (HImode preinc peephole): Fix typo.
10652 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10654 * function.c (retrofit_block): Abort if we don't find a suitable insn.
10655 (insert_block_after_note): Abort if we don't have a previous block.
10656 Remove FN parameter.
10657 * function.h: Adjust.
10659 1999-12-15 Mark Mitchell <mark@codesourcery.com>
10661 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
10662 argument more than once.
10664 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10666 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
10668 1999-12-15 Jakub Jelinek <jakub@redhat.com>
10670 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
10672 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10674 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
10675 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
10676 update stack_alignment_needed.
10677 (prepare_function_start): Initialize stack_alignment_needed
10678 * function.h (struct function): Add field stack_alignment_needed.
10680 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10682 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
10683 Handle live_throughout / dead_or_set instead of live_before /
10685 (save_call_clobbered_regs): Get register livenessinformation from
10686 chain->live_throughout.
10687 (add_stored_regs): New function.
10688 (insert_restore, insert_save): Add restored / saved registers to
10690 * global.c (reg_dies): New parameter chain.
10691 (reg_becomes_live): Third parameter is regs_set now.
10692 Changed all callers.
10693 (reg_dies): New parameter chain. Changed all callers.
10694 (build_insn_chain): Set live_throughout instead of
10695 live_before / live_after.
10696 * reload.h (struct insn_chain): Replace members live_before /
10697 live_after with live_throughout / dead_or_set.
10698 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
10699 instead of live_before / live_after.
10700 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
10701 (order_regs_for_reload, find_reg, finish_spills): Likewise.
10702 (choose_reload_regs_init): Likewise.
10703 * stupid.c (current_chain, find_clobbered_regs): Delete.
10704 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
10705 instead of chain->live_before / chain->live_after.
10706 (mark_hard_ref): New function.
10707 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
10709 1999-12-15 David S. Miller <davem@redhat.com>
10711 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
10713 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10715 * flow.c (calculate_loop_depth): Make global, remove prototype,
10716 rewrite to use new loop infrastructure.
10717 (find_basic_block): Remove calculate_loop_depth call.
10718 * toplev.c (rest_of_compilation): Call find_basic_block.
10719 * output.h (calculate_loop_depth): Declare.
10721 * flow.c (dump_flow_info): Dump loop_depth.
10722 (flow_loops_nodes_find): Increase loop_depth for basic block in the
10724 (flow_loops_find): Initialize the loop_depth for each basic block.
10726 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10728 * tree.c (decl_function_context): Handle virtual functions.
10730 * tlink.c (scan_linker_output): Don't look in demangled name when
10731 looking for linker output keywords.
10733 * dwarfout.c (output_type): We can defer namespace-scope classes.
10735 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
10737 * regclass.c (record_reg_classes): Update comment for merging
10738 register class preferences in reg->reg copies. Tighten conditions
10739 for merging register class preferences in reg->reg copies.
10741 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
10743 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
10745 1999-12-14 Geoff Keating <geoffk@cygnus.com>
10747 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
10748 (INIT_SECTION_ASM_OP): Delete.
10749 (FINI_SECTION_ASM_OP): Delete.
10750 (STARTFILE_SPEC): Define to hold just crtbegin.o.
10752 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
10754 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
10755 the abstract origin wasn't emitted.
10757 * dwarf2out.c (class_scope_p): New fn.
10758 (gen_subprogram_die): Use it.
10759 (gen_variable_die): Use it. Tweak logic.
10760 (gen_struct_or_union_type_die): Check context_die to determine
10761 if we're function-local.
10762 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
10764 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10766 * loop.c (check_dbra_loop): Can't reverse a biv that has
10767 maybe_multiple set.
10769 1999-12-14 Nick Clifton <nickc@cygnus.com>
10771 * config/arm/arm.c: Add support for -mcpu=arm720 command line
10774 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10776 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
10777 for givs made from biv increments.
10779 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
10781 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
10782 * alpha.c (override_options): Recognize -mcpu=ev67.
10783 * alpha.h (CPP_CPU_EV67_SPEC): New.
10784 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
10785 (EXTRA_SPECS): Update.
10787 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
10789 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
10790 appropriate for -lang-c89 and -std=*.
10791 * cppinit.c (cpp_handle_option): Likewise.
10792 (new_pending_define): New, split out from cpp_handle_option.
10793 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
10794 or enable trigraphs for -ansi/-std=*.
10796 * ginclude/stdarg.h (__va_copy): New.
10797 (va_copy): Don't define for C89.
10799 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
10801 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
10802 for long long multiply-accumulate.
10804 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10806 * regclass.c (scan_one_insn): Set loop_cost to 1 when
10807 optimizing for size.
10809 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10811 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
10812 if something changed. Back out that part of yesterday's changes.
10814 * loop.c (loop_max_reg): New static variable.
10815 (loop_optimize): Initialize it. Eliminate one unnecessary call to
10817 (scan_loop): Call reg_scan_update whenever we may have added new
10818 registers, and update loop_max_reg.
10820 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10822 * regclass.c (record_reg_classes): Do not do the copying preferrencing
10823 when source does not die.
10825 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
10827 1999-12-14 Jakub Jelinek <jakub@redhat.com>
10829 * config/sparc/linux64.h (TARGET_LIVE_G0,
10830 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
10832 * config/sparc/linux.h (TARGET_LIVE_G0,
10833 TARGET_BROKEN_SAVERESTORE): Likewise.
10834 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
10835 TARGET_BROKEN_SAVERESTORE): Likewise.
10837 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
10838 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
10840 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
10841 as sparc64 block profiling register.
10842 * config/sparc/sparc.c (sparc_override_options): Allow block
10843 profiling with -m32.
10844 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
10845 profiling register.
10846 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
10847 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
10848 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
10850 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
10852 * config/sparc/sparc.h: Likewise.
10853 * config/sparc/xm-sysv4-64.h: Likewise.
10854 * config/float-sparc.h: Likewise.
10855 * glimits.h: Likewise.
10856 * longlong.h: Likewise.
10858 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
10859 (ASM_IDENTIFY_GCC): Remove.
10861 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10863 * combine.c (combine_simplify_rtx): Don't make shared rtl.
10864 (simplify_logical): Likewise.
10866 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
10868 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
10869 * cppfiles.c (INO_T_EQ): Likewise.
10871 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
10873 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
10874 * i386/mingw32.h (LIB_SPEC): Likewise.
10875 (STARTFILE_SPEC): Likewise.
10876 * i386/uwin.h (LIB_SPEC): Likewise.
10877 (STARTFILE_SPEC): Likewise.
10879 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
10880 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
10882 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
10884 * combine.c (combine_simplify_rtx): Fix order of checks for
10885 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
10887 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
10889 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
10890 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
10892 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
10894 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
10896 * regclass.c (inv_reg_alloc_order): New array.
10897 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
10899 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
10900 counted_for_groups, counted_for_nongroups. Add fields rld and
10902 * reload.c (push_secondary_reload): Don't set nongroup field of
10904 (push_reload): Likewise.
10905 (find_reloads): Delete code to compute nongroup fields.
10906 * reload1.c (reload_insn_firstobj): New static variable.
10907 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
10909 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
10910 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
10911 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
10913 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
10915 (struct hard_reg_n_uses): Deleted.
10916 (potential_reload_regs): Deleted.
10917 (init_reload): Initialize spilled_pseudos and pseudos_counted.
10918 (reload): Don't try to allocate reload registers if we already know
10919 we have to make another pass. Call select_reload_regs. Free memory
10920 starting with reload_firstobj when starting another pass.
10921 Don't allocate spilled_pseudos.
10922 (calculate_needs_all_insns): Call copy_reloads for an insn that
10923 needs reloads; don't call calculate_needs.
10924 (spill_cost): New static array.
10925 (used_spill_regs_local): New static variable.
10926 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
10927 to compute potential_reload_regs.
10928 (find_reload_regs): Completely rewritten to use find_reg.
10929 (allocate_reload_reg): Don't test counted_for_groups or
10930 counted_for_nongroups. Lose NOERROR arg and code to give an error;
10931 all cllers changed.
10932 (choose_reload_regs): Add fallback code that uses the existing
10933 register allocation from find_reload_regs.
10935 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
10937 * flow.c (create_edge_list): Cast xmalloc return value.
10939 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
10941 * doprnt.c: Remove incorrect comment closure.
10943 * cse.c: Fix a few minor whitespace goofs.
10945 1999-12-13 Don Bowman <don@pixstream.com>
10947 * mips/vxworks.h: Fix problem with comment termination.
10948 (EXTRA_SECTIONS): Add in_sbss.
10949 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
10951 1999-12-12 David S. Miller <davem@redhat.com>
10953 * cse.c (struct cse_reg_info): Add hash_next member,
10954 reorder rest of struct for better packing on 64-bit
10956 (cse_reg_info_tree): Kill.
10957 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
10958 REGHASH_FN): New custom pow2 hash mechanism.
10960 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
10961 use a pow2 hash table.
10962 (get_cse_reg_info): Rework to use new REGHASH.
10963 (new_basic_block): Likewise, use HASH_SIZE, and inline
10965 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
10966 and inline free_element call.
10967 (lookup_as_function, insert, flush_hash_table, invalidate,
10968 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
10969 invalidate_for_call, use_related_value, find_comparison_args,
10970 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
10971 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
10972 get_element): Kill.
10974 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
10976 * cse.c (cse_basic_block): Free qty_table consistently.
10978 1999-12-12 David S. Miller <davem@redhat.com>
10979 Jakub Jelinek <jakub@redhat.com>
10981 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
10982 SUBREGs by hand, gen the appropriate hard reg directly.
10983 (movtf reg/mem split): Likewise and alter_subreg on destination
10985 (movtf mem/reg split): Similarly.
10986 (movdf_cc_sp64): Rename from hidden pattern.
10987 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
10988 (movtf_cc_sp64, following split): New pattern and splitter.
10989 (movdf_cc_reg_sp64): Rename from hidden pattern.
10990 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
10992 (movtf_cc_reg_sp64, following split): New pattern and splitter.
10994 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
10996 * loop.c (load_mems): Don't hoist written floating point mem
10999 1999-12-12 Mark Mitchell <mark@codesourcery.com>
11001 * except.h (struct eh_queue): Add `next' pointer.
11002 (struct eh_status): Make x_ehqueue a pointer.
11003 (push_ehqueue): Declare.
11004 (pop_ehqueue): Likewise.
11005 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11007 (expand_fixup_region_end): Likewise.
11008 (expand_leftover_cleanups): Likewise.
11009 (push_ehqueue): Define.
11010 (pop_ehqueue): Likewise.
11011 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11012 than doing it inline.
11013 (expand_start_all_catch): Adjust now that ehqueue is a
11015 (mark_eh_queue): Mark all level of the queue.
11016 (mark_eh_status): Adjust now that ehqueue is a
11018 (init_eh_for_function): Allocate ehqueue.
11019 (free_eh_status): Free it.
11020 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11021 expansion for a fixup.
11023 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11025 * gthr-single.h (__gthread_active_p): Add prototype arguments.
11027 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11028 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11029 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11030 function_ptr, getpagesize, __enable_execute_stack,
11031 __enable_execute_stack, __clear_insn_cache,
11032 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11033 _cleanup, _exit, __default_terminate, __terminate_func,
11034 __terminate, __empty, __throw, new_eh_context,
11035 eh_context_initialize, eh_context_static, eh_context_specific,
11036 get_eh_context, __get_eh_context, __get_eh_info,
11037 init_reg_size_table, eh_threads_initialize,
11038 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11039 __unwinding_cleanup, throw_helper, __throw, __rethrow,
11040 __pure_virtual): Add prototype arguments.
11041 (__bb_exit_func): Cast a sizeof to long when comparing against one.
11042 Cast a signed value to unsigned long when comparing against one.
11043 (new_eh_context): Wrap in _GTHREADS macro.
11044 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11046 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11047 (throw_helper): Initialize variables `handler_p' and `pc_p'.
11049 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11051 * combine.c (record_promoted_value): Remove unused variable
11054 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11056 * global.c (record_conflicts): Likewise for `j'.
11058 * genoutput.c (output_insn_data): Don't unnecessarily cast away
11061 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11063 * i386-protos.h (output_387_binary_op, output_fix_trunc,
11064 output_fp_compare): Constify a char*.
11066 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11068 (override_options, ix86_comp_type_attributes, print_operand,
11069 output_387_binary_op, output_fix_trunc, output_fp_compare):
11071 (ix86_sched_reorder): Mark parameter `clock_var' with
11074 * i386.h (DEBUG_PRINT_REG): Constify a char*.
11076 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
11078 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11079 operand, for use in the Java front-end.
11081 1999-12-10 Ben Collins <bcollins@debian.org>
11083 * configure.in: Fix typo for "-64" in 64bit as check.
11084 * configure: Rebuilt.
11086 1999-12-10 Jakub Jelinek <jakub@redhat.com>
11088 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11091 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11093 * c-parse.in (string): With -Wtraditional, warn if ANSI string
11094 concatenation is utilized.
11096 * invoke.texi (-Wtraditional): Document it.
11098 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11100 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11101 Cast a ptrdiff_t to long and pass it to printf with %ld.
11103 1999-12-10 Geoff Keating <geoffk@cygnus.com>
11105 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11106 68881, we have no 68881 registers at all.
11107 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11108 value in a 68881 register if it is available.
11110 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
11112 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11113 for long long multiply-accumulate.
11115 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
11117 * loop.c (insert_loop_mem): Undo last change.
11119 1999-12-10 David S. Miller <davem@redhat.com>
11121 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11123 * config/sparc/sparc-protos.h: Add them.
11124 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11125 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11126 constraints which use those helpers.
11127 (EXTRA_CONSTRAINT): Use this new macro.
11128 * md.texi: Update sparc target constraints documentation.
11129 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11130 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11131 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11132 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11133 (movsf high/lo_sum split): Rework for new patterns.
11134 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11136 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
11138 * c-common.c (c_common_nodes_and_builtins):
11139 Create __builtin_ptrdiff_t and __builtin_size_t.
11141 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
11143 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11145 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11147 * regclass.c (globalize_reg): Re-instate test that allows
11148 fixed registers to be declared as a variable even after functions
11151 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11153 * i386.md (cpu attribute): Add "athlon".
11154 (athlon_decode): New attribute.
11155 (Athlon scheduling units definitions): New.
11156 (fcmp and shld patterns): Set athlon_decode to "vector".
11157 * i386.c (athlon_cost): New.
11159 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11160 x86_use_sahf): Set for Athlon.
11161 (x86_use_fiop): Unset for Athlon.
11162 (override_options): Define Athlon alignments and "athlon" name.
11163 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11164 * i386.h (TARGET_ATHLON): New.
11165 (enum processor_type): Add PROCESSOR_ATHLON.
11166 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11168 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11170 1999-12-09 Andreas Jaeger <aj@suse.de>
11172 * loop.c (record_biv): Declare parameter as int.
11174 * config/i386/i386-protos.h: Declare long_memory_operand.
11176 1999-12-09 Mark Mitchell <mark@codesourcery.com>
11178 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11179 EXPR_WITH_FILE_LOCATION.
11181 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11183 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11186 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11188 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11191 1999-12-09 Jakub Jelinek <jakub@redhat.com>
11193 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11194 default on linux64 again.
11195 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11196 models for multilibing.
11197 * genmultilib: Accept | as alternative separator within a set in
11200 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11202 * calls.c (precompute_arguments): Make sure initial_value contains
11203 value pseudo which CSE expects.
11204 * cse.c (struct set): New entry orig_src.
11205 (cse_insn): Set it early on entry, use it for libcall EQUIV note
11208 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
11210 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11212 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
11214 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11216 1999-12-08 Jakub Jelinek <jakub@redhat.com>
11218 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11219 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11221 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11224 * longlong.h: Merge in changes from glibc.
11225 Also don't clobber %g2 register in 32bit SPARC assembly, so that
11226 -mno-app-regs libgcc can be compiled.
11227 * libgcc2.c: Add defines so that the updated longlong.h
11228 can be used in libgcc2.a. Also, make sure on most architectures
11229 (at least on all which have optimized code in longlong.h defined
11230 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11232 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11234 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11235 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11236 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11238 * configure: Rebuilt.
11240 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
11242 * alpha.c (secondary_reload_class): For !BWX, sub-simode
11243 outputs require a register.
11245 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
11247 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11248 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
11249 functions like dptoul will be resolved.
11250 (libgcc2.a): Make sure that the object files from DPBIT are named
11251 differently (prefix `_dp') from those that would be coming from
11254 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
11256 * configure.in: When target is sparc* and tm_file contains 64,
11257 test for 64bit support in assembler. If not supported, remove
11258 sparc/t-sol2-64 from target-dependent Makefile fragments.
11259 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11260 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11261 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11262 * acconfig.h (AS_SPARC64_FLAG): Added.
11263 * configure, config.in: Rebuilt.
11264 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11265 support. Use AS_SPARC64_FLAG.
11267 1999-12-07 Jakub Jelinek <jakub@redhat.com>
11269 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11270 suitable for holding OFmode values so that gcc works with complex
11272 (hard_64bit_mode_classes): Likewise.
11274 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11275 so that it is actually matched.
11276 (sethi_di_medlow): Likewise.
11278 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11279 as legitimate constant if -mvis.
11280 * config/sparc/sparc.md (movtf): Likewise.
11281 (clear_sf): Use const_double_operand.
11282 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11284 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11285 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11286 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11287 routines, _Qp_* cannot be handled like that now.
11288 (INIT_TARGET_OPTABS): Likewise.
11289 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11290 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11291 sparc_emit_float_lib_cmp if ARCH64 and soft float.
11292 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11293 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11294 divtf3, sqrttf3): New expanders.
11295 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11296 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11297 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11300 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11301 * configure: Rebuilt.
11302 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11303 -mcpu is given and we're doing 64bit compiles.
11305 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
11307 * loop.h (struct induction): Add multi_insn_incr.
11308 * loop.c (basic_induction_var): New multi_insn_incr argument.
11309 Set it if we search back through previous insns for the biv.
11310 (record_biv): New multi_insn_incr argument; fill in struct induction.
11311 (strength_reduce): Discard an iv with multiple bivs, any of
11312 which require multiple insns to increment.
11314 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
11316 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11319 1999-12-06 David S. Miller <davem@redhat.com>
11321 * combine.c (check_promoted_subreg): Do not conditionalize this upon
11322 PROMOTE_FUNCTION_RETURN.
11324 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
11326 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11327 and handle REG_UNUSED note on insn.
11329 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
11330 inner_mask instead of mask.
11332 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
11334 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11335 zero if there was an error.
11337 1999-12-06 Jakub Jelinek <jakub@redhat.com>
11339 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11342 * longlong.h: Fix clobbers in SPARC asm statements.
11344 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11345 valid sethi operations when TARGET_ARCH64.
11347 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11348 always use move_by_pieces to avoid infinite recursion.
11349 (restore_fixed_argument_area): Likewise.
11351 * combine.c (check_promoted_subreg, record_promoted_value): New
11353 (combine_instructions): Use them to retain nonzero and sign bit
11354 information after SUBREGs are eliminated by optimizations in
11355 this pass if PROMOTE_FUNCTION_RETURN.
11357 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11358 .register declaration. Don't use variables with __ prefixes.
11360 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11362 * fold-const.c (optimize_bit_field_compare): Only use one mode
11363 for both RHS and LHS in non-constant case.
11365 1999-12-06 Nathan Sidwell <nathan@acm.org>
11367 * frame.c (start_fde_sort): Only allocate erratic array, if
11368 linear one was allocated. Return allocated flag.
11369 (fde_insert): Only insert, if there's a valid array.
11370 (fde_end_sort): Split, sort and merge if linear and erratic
11371 arrays exist, else just sort linear one.
11372 (search_fdes): New function. Linear search through original fde
11374 (frame_init): Permit multiple initializations. Cope with
11376 (find_fde): Fallback on linear search, if failed to sort array.
11377 (__deregister_frame_info): Only free sorted array, if we
11380 1999-12-06 Jakub Jelinek <jakub@redhat.com>
11382 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11384 1999-12-05 Jakub Jelinek <jakub@redhat.com>
11386 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11388 1999-12-05 Mark Mitchell <mark@codesourcery.com>
11390 * tree.h (special_function_p): Declare.
11391 * calls.c (special_function_p): Make it global. Don't take `name'
11392 as a parameter. Fix typo in 1999-11-28 change.
11393 (expand_cal): Adjust.
11395 1999-12-04 Mark Mitchell <mark@codesourcery.com>
11397 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11398 * tree.h (EXPR_WFL_FILENAME): Define in terms of
11399 EXPR_WFL_FILENAME_NODE.
11400 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11402 * print-tree.c (print_note): Print TREE_PRIVATE and
11405 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11406 the original die cannot be found.
11408 * varray.h (varray_head_tag): Add elements_used.
11409 (VARRAY_PUSH): New macro.
11410 (VARRAY_POP): Likewise.
11411 (VARRAY_TOP): Likewise.
11412 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11414 * varray.c (varray_init): Initialize elements_used.
11415 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11416 (INTEGRATE_H): New variable.
11417 (integrate.o): Depend on INTEGRATE_H.
11418 (unroll.o): Likewise.
11420 * function.h (insert_block_after_note): Declare.
11421 * function.c (insert_block_after_note): Split out from ...
11422 (retrofit_block): ... here.
11424 * stmt.c (expand_fixup): Fix typo in comment.
11426 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11428 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11429 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11430 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11431 (regmove_optimize, fixup_match_1): Likewise.
11433 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11435 * flow.c (flow_loops_dump): Add missing argument when calling
11436 flow_loop_nested_p.
11438 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
11439 Greg McGary <gkm@gnu.org>
11441 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11442 (init_attributes): Add A_NO_LIMIT_STACK.
11443 (decl_attributes): Handle A_NO_LIMIT_STACK.
11444 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11445 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11446 Handle stack bounds checking.
11447 * flags.h (flag_stack_check): Use the word 'probe' rather than
11448 'check', because the flag doesn't actually cause any checking to
11450 * function.c (expand_function_start): Set
11451 current_function_limit_stack.
11452 * function.h (struct function): Add limit_stack.
11453 (current_function_limit_stack): Define.
11454 * invoke.texi (Code Gen Options): Document new options.
11455 * rtl.h: Declare stack_limit_rtx.
11456 * toplev.c (stack_limit_rtx): New variable.
11457 (decode_f_option): Handle new options -fstack-limit-register=REG,
11458 -fstack-limit-symbol=IDENT, -fno-stack-limit.
11459 (main): Add stack_limit_rtx as GC root.
11460 * tree.h (DECL_NO_LIMIT_STACK): New macro.
11461 (struct tree_decl): New member no_limit_stack.
11463 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11465 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11466 (conditional_trap+1): Get new mnemonic correct.
11467 (conditional_trap+2): New pattern for DImode traps.
11469 * config/m68k/m68k.c (output_function_prologue): Handle
11471 * config/m68k/m68k.md (trap): New insn.
11472 (conditional_trap): New insn.
11473 * md.texi (Standard Names): Document `trap' and
11474 `conditional_trap'.
11475 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11476 so a cc0 setter doesn't get emitted at some random place in the
11479 * config/i960/i960.md (trap): New insn.
11480 (conditional_trap): New expander.
11481 (conditional_trap+1, conditional_trap+2): New insns for signed
11482 and unsigned cases.
11483 * config/i960/i960.c (i960_function_prologue): Use
11484 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
11486 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
11487 Geoffrey Keating <geoffk@cygnus.com>
11489 * flags.h (warn_padded, warn_packed): Add global var decls.
11490 * toplev.c (warn_padded, warn_packed): Add global var defns.
11491 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11492 * stor-layout.c (layout_record): Add local variable `type'
11493 to hold often-used TREE_TYPE (field). Add local variable
11494 `unpacked_align' to hold alignment that would be in force
11495 if no `packed' attribute were present. Warn if `packed' attribute
11496 is unnecessary, or even harmful. Warn when gcc inserts padding
11497 to satisfy alignment requirements of members. Use NULL_TREE
11498 when checking whether var_size is set.
11499 * invoke.texi: Document new flags.
11501 1999-12-03 Nathan Sidwell <nathan@acm.org>
11503 * frame.c (fde_split): Reimplement to avoid variable sized array.
11505 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11507 * combine.c (try_combine): Before fixing up LOG_LINKS for the
11508 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11510 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
11512 * invoke.texi: Document the mips option -mno-crt0
11514 1999-12-02 Mike Karr <mkarr@mathworks.com>
11516 * cccp.c (argdata): Added free_ptr member.
11517 (macroexpand): Initialize free_ptr of each argument. When an
11518 argument's buffers are freed, if the argument's free_ptr corresponds
11519 to a buffer on the input stack, then return the free_ptr to that stack
11520 frame, otherwise, free it.
11521 (macarg): If an argument begins and ends on the same input stack level,
11522 then transfer the free_ptr of that buffer to the argument in case
11523 the stack is popped during the processing of a subsequent argument.
11525 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
11527 * loop.c (note_reg_stored): New function.
11528 (struct note_reg_stored_arg): New structure.
11529 (try_copy_prop): Change to be more conservative; only replace within
11530 one extended basic block and stop replacing if a store to the
11531 replacement reg is seen.
11533 1999-12-02 Nick Clifton <nickc@cygnus.com>
11535 * config/fp-bit.c: Initialise all fields of the NAN
11538 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11541 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
11543 * i386.md (extend?f?f2): Force the input into a register, not
11546 1999-12-01 Jakub Jelinek <jakub@redhat.com>
11548 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11550 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11551 alternative because setting up 64bit constant is usually costly,
11552 especially when reload is in progress or completed.
11553 (movdf_const_intreg_sp64): Likewise.
11554 (movdf_const_intreg split): Fix building up constants when
11555 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11557 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
11559 * combine.c (if_then_else_cond): Use const_true_rtx instead of
11560 const1_rtx for return values in EQ/NE comparison against (const_int 0)
11563 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11564 (asm_file_start): Emit .am33 into assembly file when compiling for
11566 (print_operand_address): Handle POST_INC addresses.
11567 (can_use_return_insn, initial_offset): Check AM33 registers too.
11568 (expand_prologue): Check & save AM33 registers too.
11569 (expand_epilogue): Similarly.
11570 (secondary_reload_class): Handle AM33 specific secondary reloads.
11571 (output_tst): Emit efficient code for the AM33 too.
11572 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11573 (TARGET_SWITCHES): Add -mam33 switch.
11574 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11575 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11576 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11577 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11578 (enum reg_class, REG_CLASS_NAMES): Likewise.
11579 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11580 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11581 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11582 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11583 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11584 (HAVE_POST_INCREMENT): Define.
11585 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11586 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11587 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11588 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11589 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11590 (zero_extend to SI from QI/HI): Likewise.
11591 (sign_extend to SI from QI/HI): Likewise.
11592 (mulsidi3, umulsidi3): New patterns for the AM33.
11593 (tstsi with zero extension from QI/HI): Add AM33 variants.
11594 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11595 (return_internal_regs, store_movm): Handle new AM33 registers.
11596 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11597 (LIBGCC, INSTALL_LIBGCC): Likewise.
11598 * invoke.texi: Document new flags.
11600 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
11602 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11603 (addsi3_carry): Likewise.
11604 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11605 (sbbsi3_carry): Likewise.
11606 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11607 (mulhi3): Likewise.
11608 (test?i_1): Ensure that only one operand is memory.
11609 (conditional move patterns): likewise.
11610 (shift and rotate patterns): Rewrite to expander, add
11611 "binary_operator_ok" to the condition.
11613 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11614 * i386.h (procesor_costs): Add movzbl_load field.
11615 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11616 non-Q registers, accept DImode registers anywhere.
11618 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11619 * i386.c (*_cost): Set value for movxbl_load field.
11621 * (addsi): New add to lea splitter.
11622 (ashlsi): Likewise.
11623 (lea to add/shift peep2): New.
11625 1999-12-01 Mark Salter <msalter@cygnus.com>
11627 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11628 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11629 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11631 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11633 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11634 * i386.md (movsi_xor): New.
11636 (movsi_1, movhi_1, movqi_1): Remove.
11637 (movsi_2): Rename to movsi_1.
11638 (movhi_2): Rename to movhi_1.
11639 (movqi_2): Rename to movqi_1.
11640 (movdi_1): Remove; remove splitter.
11641 (movdi_2): Rename to movdi_1.
11642 (divmodsi4 splitter): Do not emit clobbers for move patterns.
11643 (long move peep2): Do not create QI or HI mode mov0s
11644 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
11646 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
11649 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
11650 (abs?f2_if): Likewise.
11652 1999-11-30 Alex Samuel <samuel@codesourcery.com>
11654 * ggc.h (ggc_test_and_set_mark): New macro.
11655 (ggc_mark_rtx): Use ggc_test_and_set_mark.
11656 (ggc_mark_tree): Likewise.
11657 (ggc_mark_rtvec): Likewise.
11658 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
11660 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
11662 * dwarf2out.c (scope_die_for): Only handle types. Only search for
11664 (decl_scope_table): Just an array of trees now.
11665 (push_decl_scope): Simplify.
11666 (dwarf2out_init): Adjust.
11667 (local_scope_p): New fn.
11668 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
11669 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
11670 (gen_typedef_die): Likewise.
11671 (gen_lexical_block_die): Don't call push/pop_decl_scope.
11672 (gen_inlined_subroutine_die): Likewise.
11673 (gen_abstract_function): Set current_function_decl temporarily.
11674 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
11675 Handle block extern declarations. Don't call push/pop_decl_scope.
11676 (gen_decl_die): Fix logic for block externs.
11678 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11680 * calls.c (special_function_p): Remove `realloc' and add `strdup'
11681 to the list of functions which have attribute malloc by default.
11683 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11685 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
11686 integer constant does not match the traditional type, limit the
11687 warnings to cases where the base of the type is ten.
11689 * invoke.texi (-Wtraditional): Document it.
11691 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11693 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
11694 * rs6000.md: Only access a CONST_INT with INTVAL
11696 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
11698 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
11699 (compute_nearerout): Likewise.
11700 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
11701 size_t to unsigned long for formatting.
11703 1999-11-30 Jakub Jelinek <jakub@redhat.com>
11705 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
11706 Allow the user to override call-used/fixed state of %g2-5
11707 registers from the command line (with the exception of %g4 for
11709 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
11710 there is a higher chance of having a leaf function.
11711 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
11712 for ARCH64 which has %ccr register.
11713 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
11715 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
11716 insn accept into delay slot any insn which does not use %[ol]
11717 registers. Accept some LO_SUM and shift left by 1 for the normal
11719 (output_function_epilogue): Likewise.
11720 (epilogue_renumber): Added argument which inhibits any renumbering
11721 and just tests if the rtx does not use any %[ol] registers.
11722 (output_return): Reflect above change.
11724 1999-11-30 Jakub Jelinek <jakub@redhat.com>
11726 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
11727 aggregate passing for sizes <= 16 bytes.
11729 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
11731 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
11732 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
11733 * reload.c (find_dummy_reload): Likewise.
11734 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
11735 * reload1.c (reload_as_needed): Likewise.
11736 * stupid.c (stupid_find_reg): Likewise.
11737 * tm.texi (Obsolete Register Macros): Delete section.
11738 * gmicro.h: Remove all traces of the two macros.
11739 * i386.h: Likewise.
11740 * m88k.h: Likewise.
11741 * mips.h: Likewise.
11743 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
11745 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
11746 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
11747 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
11748 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
11749 units for the sparclite86x chip.
11750 (flush): Revert October 14th change; add SImode specifically.
11751 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
11752 * invoke.texi: Document it.
11754 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
11756 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
11757 psimode_truncation_operand.
11759 * config/mn10200/mn10200.c (psimode_truncation_operand): New
11760 function. Return true if the operand is either a MEM valid
11761 for a PSImode address or not a MEM at all.
11763 * config/mn10200/mn10200.md (truncsipsi2): Use
11764 psimode_truncation_operand.
11766 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11768 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
11769 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
11770 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
11771 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
11772 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
11773 (flow_loop_level_compute, low_loops_level_compute): Likewise.
11774 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
11775 * basic-block.h: Protect from multiple inclusion.
11776 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
11777 (struct loops, struct loop): Define structures.
11778 * sbitmap.c (sbitmap_a_subset_b_p): New function.
11779 * sbitmap.h: Protect from multiple inclusion.
11780 (sbitmap_a_subset_b_p): Add prototype.
11781 * Makefile.in (LOOP_H): New macro.
11782 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
11784 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
11786 * cppinit.c (CAT): The argument list of this macro may not contain
11789 1999-11-29 David S. Miller <davem@redhat.com>
11791 Move quantity tables and register equivalence chains into
11792 per-qty and per-register structure arrays respectively.
11793 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
11794 qty_const_insn, qty_comparison_code, qty_comparison_const,
11795 qty_comparison_qty): Delete, replace with...
11796 (qty_table): this structure table.
11797 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
11798 (reg_eqv_table): this structure table.
11799 (make_new_qty): Add argument MODE. Caller updated.
11800 Update to use qty_table and reg_eqv_table.
11801 (make_regs_eqv, delete_reg_equiv, insert_regs,
11802 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
11803 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
11804 cse_process_notes, cse_main, cse_basic_block): Likewise.
11806 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11808 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
11809 operation if C is negative.
11810 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
11811 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
11812 law for some divisions if constant is negative and change other
11813 divisions to the opposite rounding.
11815 * expr.c (store_constructor_field): If bit position is not multiple
11816 of alignment of TARGET's mode, use BLKmode.
11818 * expr.c (expand_expr_unaligned): Add more code from full case
11819 that is needed when OP0 is in a register.
11821 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11823 * dwarfout.c (field_byte_offset): Size can be zero if there was
11826 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
11828 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
11829 (associate_trees): Delete unused var TEM.
11830 (extract_muldiv): Delete unused var CANCEL_P.
11832 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
11833 (target_isinf, target_isnan, target_negative): Add return types to
11834 function definitions.
11836 1999-11-29 Bruce Korb <autogen@linuxbox.com>
11838 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
11839 * fixinc/hackshell.tpl: ditto
11840 * fixinc/fixtests.c(double_slash_test): more C++ header testing
11841 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
11843 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
11845 * reload.c (push_reload): When looking for a register to put into
11846 reg_rtx, make sure all hard regs in a multi-reg register are in the
11847 right class and nonfixed.
11849 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
11850 pending_read_insns, pending_write_insns, pending_read_mems,
11851 pending_write_mems, pending_list_length, last_pending_memory_flush,
11852 last_function_call, sched_before_next_call): Move static variables
11854 (bb_ prefixed versions): Replace with single array bb_deps.
11855 (struct deps): New structure.
11856 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
11857 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
11858 argument of type "struct deps *"; use that instead of global
11859 variables. All callers changed.
11860 (init_rgn_data_dependencies): Delete function.
11861 (init_rtx_vector): Delete function.
11862 (init_deps): New function.
11864 (free_pending_lists): Simplify, we always use the bb_deps array even
11865 if only one basic block.
11866 (compute_block_backward_dependences): Likewise.
11867 (schedule_region): Likewise.
11869 (propagate_deps): New function, broken out of
11870 compute_block_backward_dependences.
11871 (compute_block_backward_dependences): Use it.
11873 * alpha.md: Delete useless patterns that tried to work around
11874 register elimination problems.
11876 * unroll.c (loop_iterations): Don't abort if iteration variable
11879 From Joern Rennecke:
11880 * reload1.c (reloads_conflict): Reverse test comparing operand
11881 numbers when testing for conflict between output/outaddr reloads.
11883 1999-11-29 David S. Miller <davem@redhat.com>
11885 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
11887 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
11889 1999-11-28 Robert Lipe <robertl@cygnus.com>
11891 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
11892 table from .fini into .dtor.
11894 1999-11-28 Anthony Green <green@cygnus.com>
11896 * tree.h (struct tree_decl): Add malloc_flag.
11897 (DECL_IS_MALLOC): Define.
11898 * c-common.c (attrs): Add A_MALLOC attribute.
11899 (init_attributes): Add this attribute to the table.
11900 (decl_attributes): Handle malloc attribute.
11901 * calls.c (special_function_p): Check for the malloc attribute.
11902 * extend.texi (Function Attributes): Document malloc attribute.
11904 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
11906 * pa.md (reload shift-add patterns): Remove.
11908 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11910 * reorg.c (dbr_schedule) Print more statistics. Corrected
11911 problem when printing info when 3 delay slots are filled.
11913 1999-11-28 Jakub Jelinek <jakub@redhat.com>
11915 * combine.c (setup_incoming_promotions): Pass an outgoing
11916 regno to FUNCTION_ARG_REGNO_P which it expects.
11918 1999-11-28 Andreas Jaeger <aj@suse.de>
11920 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
11922 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
11924 * cccp.c (do_include): Avoid initialization of automatic variable.
11926 * integrate.c (mark_stores): Function definition made void, to match
11927 previous declaration.
11928 * regclass.c (dump_regclass): Ditto.
11929 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
11931 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11933 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
11934 known to be multiple of divisor.
11936 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
11938 * combine.c (try_combine): Add code to try to merge a set of a
11939 two-word pseudo to a constant with a setting of one of those words
11942 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
11943 (split_tree): Completely rework to make more general.
11944 (make_range, fold): Call negate_expr.
11945 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
11946 (fold, associate): Call new split_tree and associate_trees.
11947 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
11949 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
11951 * loop.c (try_copy_prop): Avoid GNU C extension.
11953 1999-11-25 Mark Mitchell <mark@codesourcery.com>
11955 * except.c (init_eh_for_function): Still zero eh_return_context,
11956 eh_return_stack_adjust, and eh_return_handler.
11958 * except.h (eh_status): Adjust documentation for x_protect_list.
11959 (begin_protect_partials): New function.
11960 * except.c (enqueue_eh_entry): Fix formatting.
11961 (get_first_handler): Add consistency check.
11962 (add_partial_entry): Adjust usage of protect_list.
11963 (emit_cleanup_handler): Save and restore ehqueue.
11964 (expand_start_all_catch): Add comment.
11965 (begin_protect_partials): New function.
11966 (end_protect_partials): Adjust usage of protect_list.
11967 (init_eh_for_function): Use xcalloc.
11969 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11971 * c-common.c (check_format_info): Don't call a variadic function
11972 with a non-literal format string.
11974 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
11976 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
11977 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
11980 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
11983 * collect2.c (collect_wait): Likewise.
11985 * dbxout.c (dbxout_type): Likewise.
11987 * gcc.c (do_spec_1): Likewise.
11989 * genemit.c (gen_insn, gen_expand): Likewise.
11991 * genrecog.c (write_switch, write_subroutine): Likewise.
11993 * mips-tfile.c (catch_signal, botch): Likewise.
11995 * print-rtl.c (print_rtx): Likewise.
11997 * toplev.c (default_print_error_function, report_error_function,
11998 _fatal_insn): Likewise.
12000 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12002 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12004 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12006 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12007 operations when needed.
12008 * i386.md (fop_?f_comm): New.
12009 (fop_?f_1): Do not accept commutative operands.
12011 1999-11-25 Andreas Jaeger <aj@suse.de>
12013 * config/mips/mips.md (casesi_internal): Add missing brace.
12015 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
12017 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12018 (splice_child_die): Handle moving a child DIE from the declaration
12019 DIE of a class to its specification.
12020 (gen_struct_or_union_type_die): Use 'complete' consistently.
12021 (gen_decl_die): Generate the virtual context DIE first.
12022 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12024 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
12026 * config/mips/mips.md (call_value_multiple_interanal1): New.
12028 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
12030 * dwarf2out.c (free_AT, free_die): New fns.
12031 (remove_children): Call them.
12032 (output_line_info): Disable removal of duplicate notes.
12034 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12035 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12036 means pretend the type isn't defined.
12037 Don't defer emitting types.
12038 (gen_type_die_for_member): New fn.
12039 (gen_decl_die): Call it.
12040 (splice_child_die): New fn.
12041 (gen_member_die): Call it rather than generate duplicate dies.
12043 Defer emitting information for the abstract instance of an inline
12044 until we either inline it or emit an out-of-line copy.
12045 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12046 from output_inline_function if DECL_ABSTRACT is also set.
12047 (block_ultimate_origin): Likewise.
12048 (gen_abstract_function): New fn.
12049 (gen_decl_die, gen_inlined_subroutine_die): Call it.
12050 (gen_subprogram_die): An abstract instance is not a declaration
12051 just because it doesn't match current_function_decl. Don't abort
12052 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
12053 has an abstract origin.
12054 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12055 abstract instance here.
12057 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
12059 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12060 where we need to reload fpul from a system register.
12062 1999-11-24 Andreas Jaeger <aj@suse.de>
12064 * config/mips/linux.h (CPP_PREDEFINES): Added.
12065 (LINK_SPEC): Remove -Y since this is only needed on sparc.
12067 1999-11-24 Andreas Jaeger <aj@suse.de>
12069 * config/mips/linux.h (TARGET_VERSION): Added.
12070 (HANDLE_SYSV_PRAGMA): Added.
12071 (DEFAULT_VTABLE_THUNKS): Added.
12073 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12075 * local-alloc.c (qty): New structure and static variable.
12076 (qty_phys_reg): Remove, all references changed to qty.
12077 (qty_n_refs): Likewise.
12078 (qty_min_class): Likewise.
12079 (qty_birth): Likewise.
12080 (qty_death): Likewise.
12081 (qty_size): Likewise.
12082 (qty_mode): Likewise.
12083 (qty_n_calls_crossed): Likewise.
12084 (qty_alternate_class): Likewise.
12085 (qty_changes_size): Likewise.
12086 (qty_first_reg): Likewise.
12087 (alloc_qty): Rename variable QTY to QTYNO.
12088 (finf_free_reg): Likewise.
12089 (local_alloc): Allocate qty, do not allocate the removed variables.
12091 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
12093 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12094 when -membedded-pic is passed.
12096 * config/mips/mips.md (casesi): Handle 64-bit case too.
12097 (casesi_internal_di): New insn.
12099 * config/mips/mips.c (embedded_pic_offset): Always make the
12100 embedded-pic subtractions relative to the name of the current
12101 function by use of the magic string "..CURRENT_FUNCTION".
12102 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12104 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
12106 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12107 of (const_int 0), when what we really care about is
12108 whether it's a zero constant anyway.
12109 (div_trap_mips16): Likewise.
12111 1999-11-23 Mark Mitchell <mark@codesourcery.com>
12113 * loop.c (loop_optimize): Always find_loop_tree_blocks and
12114 unroll_block_trees when generating debuggable code.
12116 * tree.h (unsave_expr_1): New function.
12117 (lang_unsave): New variable.
12118 (get_callee_fndecl): New function.
12119 * tree.c (unsave_expr_now_r): New function.
12120 (lang_unsave): Define.
12121 (unsave_expr_1): Likewise.
12122 (unsave_expr_now_r): Split out from unsave_expr_now.
12123 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
12124 call unsave_expr_now_r.
12125 (get_callee_fndecl): Define.
12127 * Makefile.in (gencheck): Don't depend on lang_tree_files.
12128 (gencheck.o): Do depend on lang_tree_files.
12130 * integrate.h (copy_decl_for_inlining): New declaration.
12131 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12132 (copy_decl_for_inlining): New function.
12133 (integrate_parm_decls): Use it.
12134 (integrate_decl_tree): Likewise.
12136 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
12138 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12139 the second two from the first.
12140 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12141 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12142 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12144 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12145 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12148 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
12150 * pa.md (call_internal_symref, call_value_internal_symref): No mode
12151 needed on the address operand.
12152 * pa.c (call_operand_address): Check for the correct mode.
12154 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
12156 * loop.c: Include "basic-block.h".
12157 (try_copy_prop, replace_loop_reg): New functions.
12158 (load_mems): Detect registers that just hold copies of the hoisted
12159 mem, and call try_copy_prop to eliminate them.
12160 * Makefile.in (loop.o): Update dependencies.
12162 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
12164 * Makefile.in (gencheck.o): Depend on gencheck.h.
12165 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12166 (insn-peep.o): Depend on except.h and function.h.
12167 (insn-attrtab.o): Depend on RECOG_H.
12168 (insn-output.o): Depend on toplev.h and flags.h.
12169 (gengenrtl.o): Depend on real.h.
12170 (gen-protos.o): Depend on cpplib.h and cpphash.h.
12171 Unify all dependencies to be on RECOG_H rather than recog.h.
12173 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12175 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12176 * configure.in: Try building a bi-arch 32/64-bit compiler on
12177 sparc-*-solaris2.7 and higher.
12178 * configure: Rebuild.
12180 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
12182 * config/freebsd.h: New, FreeBSD architecture independent file.
12183 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12184 independent pieces.
12185 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12186 directly by i386/freebsd.h.
12187 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12188 independent configuration file.
12189 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12190 directly by i386/freebsd.h.
12191 * configure: Rebuilt.
12193 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12194 which is in the user's namespace.
12195 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12196 `i386' which is not in our namespace.
12198 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
12200 * invoke.texi (ARM Options): Add in -mno-alignment-traps
12202 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12204 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12205 (add_dwarf_attr, add_child_die): Just push onto the front.
12206 (reverse_die_lists): New fn.
12207 (add_sibling_attributes): Use it.
12208 (push_decl_scope): Reorganize.
12209 (add_name_and_src_coords_attributes): Don't set file and line for
12210 an artificial decl.
12211 (gen_subprogram_die): An artificial function doesn't need to match
12213 (gen_compile_unit_die): Return the generated die. Only add
12214 AT_comp_dir if the filename is relative.
12215 (remove_AT): Simplify loop. Also free string values.
12216 (output_die): A DIE ref can't be null.
12217 (output_value_format, value_format): Take a dw_attr_ref.
12218 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12219 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12220 AT_addr, AT_lbl): New fns.
12221 (various): Use them.
12222 (various): Constify.
12224 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12226 * combine.c (combine_simplify_rtx): When handling a SUBREG,
12227 take SUBREG_WORD into account.
12228 (if_then_else_cond): Likewise.
12230 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12232 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12233 clause from BSD license, pursuant with
12235 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12237 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
12239 * loop.c (load_mems): Reformat slightly.
12240 * basic-block.h (regset_head): New typedef.
12241 (INIT_REG_SET): New macro.
12243 1999-11-22 Bruce Korb <autogen@linuxbox.com
12245 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12246 (mips-dec-bsd*): non-functional code
12247 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12249 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12250 added three replacement fixes
12251 (no_double_slash): removed comments that are not (any longer) pertinent
12252 (bad_lval): this fix currently runs against many files.
12253 The comment seems to indicate that we should select for files
12254 containing 'pragma extern_prefix'.
12256 * fixinc/fixinc.x86-linux-gnu: deleted
12257 * fixinc/inclhack.sh: regen
12258 * fixinc/fixincl.x: regen
12259 * fixinc/fixincl.sh: regen
12261 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
12263 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12264 its code is INSN and it has no notes.
12266 1999-11-22 Andrew Haley <aph@cygnus.com>
12268 * varasm.c (function_defined): Remove.
12269 (make_function_rtl): Don't set function_defined.
12270 (make_decl_rtl): Remove global register warning.
12271 * regclass.c (no_global_reg_vars): New variable.
12272 (globalize_reg): Warn if function has already been defined.
12273 (regclass_init): Set no_global_reg_vars.
12275 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12277 * regclass.c (reg_pref): New structure and static variable
12278 (prefclass): Delete.
12279 (altclass): Delete.
12280 (all uses of prefclass and altclass): Use reg_pref instead.
12282 1999-11-21 Nick Clifton <nickc@cygnus.com>
12284 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12286 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12287 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12288 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12290 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
12292 * varasm.c (output_constructor): Solve problem with long long
12293 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12295 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12297 * global.c (allocno): New structure and static variable.
12298 (allocno_reg): Remove, all references replaced by allocno.
12299 (allocno_size): Likewise.
12300 (hard_reg_conflicts): Likewise.
12301 (hard_reg_preferences): Likewise.
12302 (hard_reg_copy_preferences): Likewise.
12303 (hard_reg_full_preferences): Likewise.
12304 (regs_someone_prefers): Likewise.
12305 (allocno_calls_crossed): Likewise.
12306 (allocno_n_refs): Likewise.
12307 (allocno_live_length): Likewise.
12308 (find_reg): Rename ALLOCNO to NUM.
12310 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12311 references updated.
12312 (may_move_out_cost): New variable.
12313 (init_reg_sets_1): Initialize may_move_out_cost.
12314 (record_reg_classes): Use may_move_out_cost.
12316 * regclass.c (dump_regclass): New function.
12317 (regclass): New parameter DUMP, call DUMP_REGCLASS.
12318 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12319 pass rtl_dump_file to regclass.
12320 * rtl.h (regclass): Update prototype.
12322 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12324 * i386.md (neg, not and abs patterns): Revmap to use
12325 ix86_expand_unary_operator and ix86_unary_operator_ok.
12326 (add?f and sub?f expanders): Force operand 1 to register.
12327 * i386.c (ix86_expand_unary_operator): Rewrite.
12328 (ix86_unary_operator_ok): Ensure that memory operands
12330 (ix86_binary_operator_ok): Do not allow operand 1 to
12331 come into memory and operand 0 not.
12332 (ix86_expand_binary_operator): Ensure that
12333 src1 is not non-matching memory.
12335 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12336 to support integer registers and memory.
12337 (abss?2_integer): Likewise.
12339 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12340 (REG_CLASS_NAMES): Likewise.
12341 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12343 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12344 (movsf): Likewise; unify 4th and 5th alternative.
12345 (pushdf): Likewise.
12346 (movdf_1): Likewise; rename to movdf_integer.
12347 (pushxf): Likewise; rename to pushxf_integer; fix output template;
12348 remove redundant splitter.
12349 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12350 (movdf_nointeger): New.
12351 (movxf_nointeger): New.
12352 (pushxf_nointeger): New.
12354 * i386.md (extend?f?f): Split to expander and pattern, refuse two
12355 memory operands in patterns.
12356 (fop*): Refuse two memory operands.
12358 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12359 on !TARGET_USE_CLTD CPUs.
12361 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
12363 * extend.texi: Document C++ restricted pointers and references.
12365 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
12367 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12368 (invalidate_skipped_set): Call it unconditionally.
12369 (cse_set_around_loop): Likewise.
12371 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12373 * rtl.texi (mem): Add documentation for alias-set argument
12376 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12378 * i386.h (struct_processor_costs): New fields int_load, int_store,
12379 fp_move, fp_load and fp_store
12380 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12382 (MEMORY_MOVE_COST): New macro.
12383 * i386.c (386_cost): Define new fields.
12384 (i486_cost): Likewise.
12385 (pentium_cost): Likewise.
12386 (pentiumpro_cost): Likewise.
12387 (k6_cost): Likewise.
12389 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
12390 Geoffrey Keating <geoffk@cygnus.com>
12392 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12394 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12397 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12398 (TARGET_STRICT_ALIGNMENT): New macro.
12399 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12400 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12401 * invoke.texi (M680x0 Options): Document -mstrict-align.
12403 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
12404 Richard Henderson <rth@cygnus.com>
12406 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12407 (ix86_split_long_move): Declare.
12408 * i386.c (split_xf, ix86_split_movdi): Remove.
12409 (ix86_split_to_parts, ix86_split_long_move): New.
12410 * i386.md (dimode move splitters): Use ix86_split_long_move.
12411 (dfmode move splitters): Likewise.
12412 (xfmode move splitters): Likewise.
12413 (movsf_1): Allow F->r.
12414 (movdf_1, movxf_1): Allow F->ro.
12416 1999-11-17 Mark Mitchell <mark@codesourcery.com>
12418 * except.h (struct eh_entry): Add goto_entry_p.
12419 (eh_region_from_symbol): Remove prototype.
12420 * except.c (find_func_region_from_symbol): New function.
12421 (emit_cleanup_handler): Likewise.
12422 (eh_region_from_symbol): Make it static.
12423 (add_new_handler): Verify the argument.
12424 (find_func_region): Update comment.
12425 (expand_eh_region_end): Expand handlers here, rater than waiting
12426 until expand_leftover_cleanups or start_all_catch.
12427 (expand_leftover_cleanups): Don't expand here.
12428 (expand_start_all_catch): Or here.
12429 (expand_rethrow): Check the return value from find_func_region.
12430 * function.c (expand_function_end): Emit the catch_clauses.
12432 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
12434 * integrate.c (expand_inline_function): Add necessary check for NULL.
12436 1999-11-18 Nick Clifton <nickc@cygnus.com>
12438 * toplev.c (main): Correctly detect an unrecognised option.
12440 * cppinit.c (cpp_handle_option): Do not claim to have consumed
12441 a -f option if it has not been recognised.
12443 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
12445 * basic-block.h (update_life_extent): Remove trailing comma on
12446 enumeration type list.
12448 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12450 * varasm.c (output_constructor) Solved problem with long long
12451 bitfields. Corrected calculating this_time and shift. Also
12452 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12454 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
12456 * flow.c (split_edge): Take looping structure into account when
12457 determining where to put the new block note.
12459 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
12461 * Makefile.in (ggc-none.o): Provide host specific version if
12464 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
12466 * cse.c (delete_trivially_dead_insns): Identify no-op insns
12467 containing subregs too.
12469 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12471 * invoke.texi: Add documentation for -muninit-const-in-rodata.
12472 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12473 (TARGET_UNINIT_CONST_IN_RODATA): Define.
12474 (text_section): Add switches -munint-const-in-rodata and
12475 -mno-uninit-const-in-rodata.
12476 (ASM_OUTPUT_COMMON): Remove.
12477 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12478 const objects should be placed in read-only data. Otherwise declare
12481 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
12483 * jump.c (jump_optimize_1): Revert last change.
12485 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
12487 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12488 test if optimizing for size.
12490 1999-11-17 Mark Mitchell <mark@codesourcery.com>
12492 * Makefile.in (toplev.o): Depend on except.h.
12493 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12495 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12497 * i386.md (divmodsi4): Rewrite to expander.
12498 (*divmodsi4_nocltd): New.
12499 (*divmodsi4_cltd): New.
12500 (divmodsi4 splitter): Handle the case when input comes in edx.
12501 (udivmodhi4): Do not use constraints in exander.
12502 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12504 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
12506 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12507 for the common case.
12509 1999-11-16 Jakub Jelinek <jakub@redhat.com>
12511 * explow.c (hard_function_value): Add outgoing argument.
12512 * expr.h (hard_function_value): Declare it.
12513 * calls.c (expand_call, emit_library_call_value): Update callers.
12514 * function.c (aggregate_value_p): Ditto.
12515 (diddle_return_value): Must look at the outgoing registers
12516 on archs with register windows.
12518 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
12520 * alpha.c (alpha_build_va_list): Use make_lang_type and
12521 initialize TYPE_NAME for the va_list record.
12523 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12525 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12527 * ggc.h (struct ggc_statistics): Rearrange elements for better
12528 packing on 64-bit hosts.
12529 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12530 (compute_nearerout): Likewise.
12532 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
12534 * config/rs6000/rs6000.c (first_reg_to_save): Save
12535 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12537 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
12539 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12540 notion of nesting to find the DIE for a type or function.
12541 DIEs can go in limbo even if we got a context_die.
12542 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12543 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12545 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12546 (gen_type_die): Writing out the context doesn't cause member class
12547 template instantiations to be written out as well.
12549 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
12551 * rs6000.h (ASM_OUTPUT_DEF): New.
12552 Based on proposed addition from David Edelsohn.
12554 1999-11-15 Robert Lipe <RobertLipe@usa.net>
12555 Bruce Korb <autogen@linuxbox.com>
12557 * fixinc/inclhack.def
12558 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
12559 (unixware7_byteorder_fix): added. Removes conflicts for new defs
12561 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
12562 (svr4_endian): enabled with SVR5
12563 (svr4_mkdev): simplified syntax and enabled with SVR5
12565 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
12567 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12568 * configure: Rebuilt.
12569 * config/t-freebsd-thread: New file.
12571 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
12573 * i386.c (ix86_decompose_address): Verify the base is a REG
12574 before trying to examine its register number.
12576 * basic-block.h: Remove all #defines and prototypes related to
12578 (free_bb_mem, compute_preds_succs): Remove prototype.
12579 * rtl.h (free_bb_mem): Remove prototype.
12580 * flow.c (alloc_int_list_node); Remove function.
12581 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12582 (compute_preds_succs, free_bb_mem): Likewise.
12583 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12584 * toplev.c (rest_of_compilation): Likewise.
12585 * haifa-sched.c (build_control_flow): Use flow generated edge
12586 list to build the haifa specific edge list.
12587 (find_rgns): Use new CFG data structures instead of pred/succ lists.
12588 (schedule_insns): Do not build pred/succ lists anymore. Instead
12589 build the edge table.
12591 * basic-block.h (dump_bb_data): Remove declaration.
12592 * flow.c (dump_bb_data): Remove function.
12593 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12594 (sbitmap_union_of_predsucc): Likewise.
12596 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12597 argument. All callers changed.
12598 (delete_null_pointer_checks_1): No longer need to compute the
12601 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12602 All callers changed.
12603 (pre_expr_reaches_here_p_work): Likewise.
12604 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12605 * lcm.c (compute_laterin): Fix initialization of LATER.
12606 (compute_nearerout): Similarly for NEARER.
12608 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12610 * cse.c (set_nonvarying_address_components): Delete unused function.
12611 (refers_to_p): Likewise.
12613 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
12615 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12618 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12620 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12621 definition in do while (0).
12623 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
12625 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12627 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
12629 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12631 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
12633 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12634 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12635 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12636 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
12638 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
12639 saved on the stack. Output more accurate stack frame statistics
12640 into assembler file.
12642 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
12644 * genextract.c (record_insn_name): New function.
12645 (get_insn_name): No longer a stub.
12646 (main): Call record_insn_name for each insn. After each label
12647 written, print the insn name in a comment.
12649 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12651 * output.h (const_section, init_section, fini_section): Add
12654 * alpha/elf.h (const_section): Delete declaration.
12656 * svr4.h (const_section): Likewise.
12658 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
12660 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
12661 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
12662 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
12664 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
12665 variable-sized array bounds.
12667 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
12669 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
12672 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12674 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
12675 addresses the same way GO_IF_LEGITIMATE_INDEX does.
12677 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12679 * cse.c (hash_arg_in_struct): Delete.
12680 (struct table_elt): Delete elt in_struct.
12681 (struct set): Delete elt src_in_struct.
12682 (merge_equiv_classes): Don't set either hash_arg_in_struct or
12683 the corresponding in_struct elts.
12684 (canon_hash): Likewise.
12685 (safe_hash): Likewise.
12686 (find_best_addr): Likewise.
12687 (record_jump_cond): Likewise.
12688 (cse_insn): Likewise.
12690 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
12692 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
12694 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
12697 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
12699 * function.c (diddle_return_value): Put back check that the DECL_RTL
12700 for the function is a register.
12702 * function.c (diddle_return_value): Use hard_function_value to
12703 get an rtx suitable for use in the USE/CLOBBER insn.
12705 * global.c (global_conflicts): Update comments.
12706 (record_conflicts): No need to record conflicts between pseudos here.
12708 1999-11-11 Bruce Korb <autogen@linuxbox.com>
12710 * fixinc/fixincl.c: Added verbose levels for status messages
12712 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12714 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
12715 operand as argument to expand_and or expand_binop.
12717 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
12719 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
12720 gcc_add_string_root.
12722 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
12724 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
12726 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
12728 * flow.c (compute_flow_dominators): Initially put all blocks on
12730 * lcm.c (compute_antinout_edge, compute_available): Similarly.
12731 * gcse.c (compute_cprop_avinout): Remove.
12732 (compute_cprop_data): Use compute_available.
12733 (delete_null_pointer_checks_1): Use compute_available.
12735 * basic-block.h (compute_available): Returns a void now.
12736 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
12737 to return a value anymore.
12738 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
12739 worklists. Fix boundary cases. Compute maximal solutions.
12740 (compute_laterin, compute_nearerout): Similarly.
12742 * dwarf2out.c (add_AT_location_description): Allow
12743 (mem (plus (pseudo) (...)) too.
12745 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
12747 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
12749 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
12750 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12752 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
12754 * gansidecl.h: Likewise.
12760 * toplev.h: Likewise.
12762 * tree.c: Likewise.
12764 * tree.h: Likewise.
12766 * varray.c: Likewise.
12768 * varray.h: Likewise.
12770 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
12772 * gcov.c (struct arcdata): Add hits and total, remove prob.
12773 (output_branch_counts): New.
12774 (process_args): Set output_branch_counts if -c.
12775 (calculate_branch_probs): Store hits and total instead of
12777 (output_data): Emit counts if output_branch_counts is true.
12778 * gcov.texi (Invoking Gcov): Document -c switch..
12780 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
12782 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
12783 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
12785 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
12787 * invoke.texi (C Dialect Options): Add missing builtins from
12788 c-common.c to list.
12789 * extend.texi (Other Builtins): Copy to this list.
12791 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12793 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
12794 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
12795 redundant bitmap.h.
12797 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
12799 * flow.c (compute_flow_dominators): No longer treat basic block 0
12800 or (n_basic_blocks - 1) specially. Clear the AUX field before
12801 starting computation of doms/pdoms. Fix initial state for pdoms.
12803 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12805 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
12806 match rtl.o's: added ggc.h and toplev.h
12807 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
12808 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
12809 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
12811 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
12813 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
12814 from HAVE_DOS_BASED_FILESYSTEM.
12815 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
12816 HAVE_DOS_BASED_FILESYSTEM.
12818 (split_directories): Only special-case DOS file names if
12819 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
12820 instead of explicit tests. Conditionalize on !VMS.
12821 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
12822 tests. Conditionalize on !VMS.
12823 (process_command): Only use make_relative_prefix if !VMS.
12824 (free_split_directories): Conditionalize on !VMS.
12825 (DIR_UP): Conditionalize on !VMS.
12827 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
12829 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
12831 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
12833 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
12836 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
12838 * invoke.texi (Environment Variables): Document relative path
12840 * gcc.c (DIR_UP): If not defined, define as "..".
12841 (standard_bindir_prefix): New static, holds target location to
12843 (split_directories): New function to split a filename into
12844 component directories.
12845 (free_split_directories): New function, release memory allocated
12846 by split_directories.
12847 (make_relative_prefix): New function, make a relative pathname if
12848 the compiler is not in the expected location.
12849 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
12850 can figure out an appropriate prefix from argv[0].
12851 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
12852 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
12853 STANDARD_BINDIR_PREFIX.
12855 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12857 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
12859 * config/c4x/c4x.h: Moved prototypes to c4x.h.
12860 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
12861 c4x_secondary_memory_needed) Delete.
12862 (fp_zero_operand): Add mode argument.
12864 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
12866 * reload1.c (reload_reg_free_for_value_p): Don't use a register
12867 that is in reload_reg_used.
12869 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
12871 * config/arm/arm-protos.h: New file: Prototypes for functions
12872 defined in arm.c and pe.c.
12873 * config/arm/arm.h: Fix compile time warnings.
12874 * config/arm/arm.c: Fix compile time warnings.
12875 * config/arm/pe.h: Fix compile time warnings.
12876 * config/arm/aout.h: Fix compile time warnings.
12878 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
12880 * config/m32r/m32r-protos.h: New file: Prototypes for functions
12883 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
12884 Add support for subtargets.
12885 Add prototypes for new predicates.
12886 Add scheduling macros.
12888 * config/m32r/m32r.c: Fix compile time warnings.
12889 (int8_operand): New predicate function.
12890 (reg_or_cmp_int16_operand): New predicate function.
12891 (extend_operand): New predicate function.
12892 (m32r_adjust_code): New scheduling function.
12893 (m32r_adjust_priorty): New scheduling function.
12894 (m32r_sched_init): New scheduling function.
12895 (m32r_sched_reorder): New scheduling function.
12896 (m32r_sched_variable_issue): New scheduling function.
12897 (direct_return): New codegen function.
12898 (m32r_not_same_reg): New rtl testsing function.
12900 * config/m32r/m32r.md: Fix compile time warnings.
12901 Add support for pre decrement and post increment memory
12903 Add S<cc> patterns.
12906 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12908 * global.c (EXECUTE_IF_CONFLICT): Don't define.
12909 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
12910 (find_reg): Likewise.
12912 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
12914 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
12915 to avoid assembler errors.
12917 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
12919 * config/v850/v850-protos.h: New file: Prototypes for functions
12921 * config/v850/v850.h: Move prototypes to v850-protos.h
12922 * config/v850/v850.c: Move prototypes to v850-protos.h
12923 * config/v850/v850.md: Fix compile time warnings.
12925 * config/fr30/fr30-protos.h: New file: Prototypes for functions
12927 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
12928 * config/fr30/fr30.c: Fix compile time warnings.
12929 * config/fr30/fr30.md: Fix compile time warnings.
12931 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
12933 * tree.h (get_containing_scope): Declare it.
12934 * tree.c (get_containing_scope): New fucntion.
12935 (decl_function_context): Use it.
12936 * toplev.c (rest_of_compilation): Use get_containing_scope.
12938 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12940 * Makefile.in (rtl.o): Depend on toplev.h.
12942 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
12944 * cse.c (delete_trivially_dead_insns): Replace alloca with
12946 * except.c (update_rethrow_references): Likewise.
12947 (init_eh_nesting_info): Likewise.
12948 * function.c (identify_blocks): Likewise.
12949 * gcse.c (dump_hash_table): Likewise.
12950 * graph.c (print_rtl_graph_with_bb): Likewise.
12951 * loop.c (combine_movables): Likewise.
12952 (move_movables): Likewise.
12953 (count_loop_regs_set): Likewise.
12954 (strength_reduce): Likewise.
12955 * profile.c (compute_branch_probabilities): New function, split
12957 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
12958 * regclass.c (regclass): Likewise.
12959 * regmove.c (regmove_optimize): Likewise.
12960 * toplev.c (compile_file): Likewise.
12961 (main): Don't mess with the stack rlimit.
12963 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
12965 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
12966 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
12968 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
12970 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
12972 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
12974 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
12975 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
12978 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
12980 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
12982 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
12984 * gcse.c (post_dominators): Kill.
12985 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
12986 (compute_code_hoist_data): Use compute_flow_dominators. Do not
12987 pass in a pdom array since we do not need pdoms.
12988 * haifa-sched.c (schedule_insns): Similarly.
12989 * flow.c (compute_dominators): Remove dead function.
12990 (compute_flow_dominators): Do not compute doms or pdoms if the
12991 caller does not request them. Split up loop to build doms and
12992 pdoms. Use a worklist to compute doms and pdoms.
12993 * basic-block.h (compute_dominators): Remove prototype.
12995 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
12997 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
12998 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
12999 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13000 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13001 (cant_move, fed_by_spec_load, is_load_insn): Remove.
13002 (schedule_region): Remove unused variable.
13003 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13005 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
13007 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13008 (update_equiv_regs): Likewise.
13009 (block_alloc): Likewise.
13010 * reg-stack.c (reg_to_stack): Likewise.
13011 (convert_regs_2): Likewise.
13012 * reload1.c (reload_as_needed): Likewise.
13014 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
13016 * Makefile.in (dbxout.o): Depend on ggc.h.
13017 (dwarf2out.o): Likewise.
13018 (xcoffout.o): Likewise.
13019 * dbxout.c: Include ggc.h.
13020 (dbxout_init): Register lastfile as a root.
13021 * dwarf2out.c: Include ggc.h.
13022 (dwarf2out_line): Register lastfile as a root.
13023 * xcoffout.c: Include ggc.h.
13024 (xcoffout_source_line): Register xcoff_lastfile as a root.
13026 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
13028 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13030 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
13032 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13034 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13036 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13038 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13039 (EXECUTE_IF_CONFLICT): Likewise.
13040 (ALLOCNO_LIVE_P): Avoid signed division.
13041 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13042 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13043 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13045 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
13047 * haifa-sched.c (schedule_block): Don't crash if there's no
13048 next insn for an interblock movement.
13049 (add_branch_dependences): Don't allow clobber insns to move either.
13051 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
13053 * i386.c (split_xf): New.
13054 * i386-protos.h: Declare it.
13055 * i386.md (movxf_1): Add general regs alternatives.
13056 (movxf_1+1): New splitter for same.
13058 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
13060 * function.c (purge_addressof_1): Add missing return values.
13062 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
13064 * function.c (is_addressof): New function. Returns true if
13065 the given piece of RTL is an ADDRESSOF.
13066 (purge_addressof_1): Make boolean. Return false if the
13067 ADDRESSOFs could not be purged.
13068 (purge_addressof): If ADDRESSOFs could not be purged from the
13069 notes attached to an insn, remove the offending note(s),
13070 unless they are attached to a libcall.
13072 1999-11-05 Andreas Jaeger <aj@suse.de>
13074 * genoutput.c (null_operand =): Initialize all fields.
13076 * errors.h: Add extern to prototypes.
13078 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
13080 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13081 * configure: Rebuilt.
13083 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13085 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13086 (mirror_conflicts): New function.
13087 (global_alloc): Call it.
13088 (expand_preferences): Remove redundant CONFLICTP test.
13089 (find_reg, dump_conflicts): Likewise.
13090 (prune_preferences): Process conflicts one word at a time.
13092 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
13094 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13095 instead of an explicit loop.
13097 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
13099 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
13100 if REG_RETVAL check succeeds, then put classp in src_elt.
13102 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
13104 * function.c (pad_to_arg_alignment): Only update argument_pad
13105 if the argument's alignment is greater than STACK_BOUNDARY.
13107 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
13109 * bitmap.h (BITMAP_XFREE): New.
13110 * flow.c (life_analysis): Use it.
13111 (life_analysis_1): Free blocks.
13113 * combine.c (undo_commit): New.
13114 (try_combine): Use it. Don't zap undobuf.undos.
13115 (combine_instructions): Don't zap undobuf.undos; free the
13116 undobuf.frees list.
13118 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13120 * stmt.c (cost_table_): New.
13121 (estimate_case_costs): Use it instead of xmalloc.
13123 * toplev.c (compile_file): Reuse dumpname memory instead
13126 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
13128 * reg-stack.c (convert_regs_1): Initialize target_stack->top
13129 after verifying an EH edge.
13131 * haifa-sched.c (init_rgn_data_dependences): Correctly
13132 size bb_pending_lists_length when zeroing.
13134 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
13136 * function.c (diddle_return_value): New.
13137 (expand_function_end): Use it.
13138 * stmt.c (expand_null_return): Likewise.
13139 (expand_value_return): Likewise.
13141 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13143 * reload1.c (reload): Don't remove return value clobbers.
13145 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
13147 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13149 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
13151 * cse.c (cse_main): Use xmalloc, not alloca.
13152 (cse_basic_block): Likewise.
13153 * local-alloc.c (local_alloc): Likewise.
13155 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
13156 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13158 * rtl.c: Include toplev.h.
13159 (fatal): Remove declaration.
13161 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
13163 * haifa-sched.c (schedule_block): Fix thinko.
13165 1999-11-03 James McKelvey <mckelvey@fafnir.com>
13167 * fixinc/fixincl.c(create_file): Allow for systems that do not have
13168 S_IR* defined values
13170 1999-11-03 Philippe De Muyter <phdm@macqel.be>
13172 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13173 call `malloc' instead.
13175 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
13177 * flags.h (flag_renumber_insns): Declare.
13178 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
13180 * rtl.h (renumber_insns): Change prototype.
13181 * toplev.c (flag_renumber_insns): Define.
13182 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13184 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
13186 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13187 and fpsqrtd. Use them and create fdiv function unit to more
13188 accurately represent fpu sqrt pipeline semantics on UltraSparc.
13189 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13191 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
13193 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13195 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13196 insn into ready list, do not use just a raw swap.
13198 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
13200 * rtl.h (renumber_insns): New function.
13201 (remove_unnecessary_notes): Likewise.
13202 * emit-rtl.c (renumber_insns): Define.
13203 (remove_unncessary_notes): Likewise.
13204 * toplev.c (rest_of_compilation): Remove dead code.
13205 Use renumber_insns and remove_unncessary_notes.
13207 * gcse.c (struct null_pointer_info): New type.
13208 (get_bitmap_width): New function.
13209 (current_block): Remove.
13210 (nonnull_local): Likewise.
13211 (nonnull_killed): Likewise.
13212 (invalidate_nonnull_info): Take a null_pointer_info as input.
13213 (delete_null_pointer_checks_1): New function.
13214 (delete_null_pointer_checks): Use it.
13216 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13217 (split_edges): Likewise.
13218 (schedule_block): Likewise.
13219 (compute_block_backward_dependencies): Likewise.
13220 (schedule_region): Likewise.
13221 (schedule_insns): Likewise.
13223 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
13225 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13226 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13227 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13228 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13229 * jump.c (delete_unreferenced_labels): Don't delete if
13230 LABEL_ALTERNATE_NAME is set.
13231 * print-rtl.c (print_rtx): Dump alternate name.
13232 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13233 * rtl.h (LABEL_ALTERNATE_NAME): Define.
13234 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13235 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13237 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13239 * fix-header.c (recognized_extern, recognized_function): Constify
13242 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13243 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13244 (compute_available): Remove unused variable `last'.
13245 (compute_nearerout): Remove unused variable `temp_bitmap'.
13246 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13247 Remove unused variable `x'.
13249 * scan.h (recognized_function, recognized_extern): Constify a
13252 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13254 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13256 * varasm.c (decode_rtx_const): Use XSTR to access the string
13259 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
13261 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13263 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13265 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13267 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
13269 * pa.c (ireg_operand): New function.
13270 * pa.h (PREDICATE_CODES): Handle ireg_operand.
13271 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13272 Fix out of date comment.
13274 * pa.md (negdi2): Turn into expander + anonymous pattern.
13276 * reload.c (find_reloads): Fix typos in recent change.
13278 * dwarf2out.c: Do not include ctype.h.
13280 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13282 * regclass.c (record_reg_classes): Always use may_move_cost when
13283 seeing how operand fits with various register classes.
13285 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
13287 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13288 * toplev.c: Revert Nov 1 13:22 change.
13290 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
13292 * config/pa/pa.md (height reduction patterns): Add checks for
13293 overlapping operands to avoid semantic-destroying splits for
13294 height reduction patterns.
13296 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13298 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13299 have been an hyphen, fixed.
13300 * configure: Rebuilt.
13302 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
13304 * config/arm/tpe.h: Add prototypes for exported functions.
13305 * config/arm/pe.c: Fix compile time warnings.
13306 * config/arm/semi.h: Fix compile time warnings.
13307 * config/arm/arm.c: Fix compile time warnings.
13308 * config/arm/arm.h: Fix compile time warnings.
13309 * config/arm/arm.md: Fix compile time warnings.
13310 * config/arm/thumb.c: Fix compile time warnings.
13311 * config/arm/thumb.h: Fix compile time warnings.
13312 * config/arm/thumb.md: Fix compile time warnings.
13314 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
13316 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13319 * unroll.c (unroll_loop): Remove LOOP notes when loop is
13320 completely unrolled.
13322 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13324 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13326 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
13328 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13329 * rtl.h (rtx_equal_p): Move prototype.
13330 * rtl.c (rtx_equal_function_value_matters): Move from
13332 (rtx_equal_p): Likewise.
13333 * rtlanal.c (rtx_equal_function_value_matters): Delete.
13334 (rtx_equal_p): Likewise.
13336 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
13338 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13339 ! HAS_INIT_SECTION.
13341 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
13343 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13345 * pa.h (ADDR_VEC_ALIGN): Define.
13347 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13348 notes when presented with "if (foo) break; end_of_loop" and
13349 the break sequence gets moved out of the loop.
13351 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13352 Remove explicit zero initializations of entries within MAP.
13354 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
13356 * reg-stack.c (convert_regs_1): Handle EH edges specially.
13358 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
13360 * bitmap.h (BITMAP_XMALLOC): New macro.
13361 * flow.c (CLEAN_ALLOCA): Remove.
13362 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13363 (life_analysis): Likewise.
13364 (update_life_info): Don't use CLEAN_ALLOCA.
13365 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13366 (calculate_global_regs_live): Likewise.
13367 (print_rtl_with_bb): Likewise.
13368 (verify_flow_info): Likewise.
13369 * global.c (global_alloc): Likewise.
13370 (global_conflicts): Likewise.
13371 * integrate.c (save_for_inline_nocopy): Likewise.
13372 (expand_inline_function): Likewise.
13373 * jump.c (jump_optimize_1): Likewise.
13374 (duplicate_loop_exit_test): Likewise.
13375 (thread_jumps): Likewise.
13376 * loop.c (loop_optimize): Likewise.
13377 (combine_givs): Likewise.
13378 (recombine_givs): Likewise.
13379 * reorg.c (dbr_schedule): Likewise.
13380 * unroll.c (unroll_loop): Likewise.
13382 * combine.c (combine_instructions): Use xmalloc instead of alloca.
13384 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
13386 * toplev.c (rest_of_compilation): Don't optimize the CFG
13387 when rebuilding, just before dbr.
13389 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13391 * output.h (assemble_end_function, assemble_destructor,
13392 assemble_constructor, assemble_gc_entry, assemble_global,
13393 assemble_label, output_constant_pool) Constify a char*.
13395 * varasm.c (assemble_destructor, assemble_constructor,
13396 assemble_gc_entry, assemble_end_function, assemble_global,
13397 assemble_label, output_constant_pool): Likewise.
13399 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
13401 * config/arm/thumb.c (thumb_expand_prologue): Add comments
13402 explaining what is goin on in this function.
13404 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13406 * regclass.c (record_reg_classes): In matching case, recompute
13407 costs since the direction of movement is different.
13409 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
13411 * resource.c (mark_target_live_regs): For unconditional branches,
13412 the resources found at the branch target should be added to the
13413 resources found so far, not intersected.
13415 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
13417 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13419 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13420 (sys/mman.h): Include this file only if #HAVE_MMAP.
13421 (run_compiles): Initialize `esac_fmt' with one old KR string, not
13422 with automatically concatenated ANSI strings.
13424 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
13426 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13427 (DIV_ROUND_UP): Robustify.
13428 (ggc_recalculate_in_use_p): New function.
13429 (release_pages): Don't inline it.
13430 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13432 (ggc_pop_context): Use ggc_recalculate_in_use_p.
13433 (clear_marks): Always save in_use_p.
13434 (sweep_pages): Use ggc_recalculate_in_use_p.
13435 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13436 Release pages before counting statistics.
13438 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
13440 * toplev.c (rest_of_compilation): Fix thinko in this change:
13442 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
13444 (rest_of_compilation): If inside an inlined external function,
13445 pretend we are just being declared.
13447 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
13449 * flow.c (calculate_global_regs_live): Fix thinko.
13451 * integrate.c (expand_inline_function): Fix bugs in previous
13452 change from Oct 28, 1999.
13454 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
13456 * stmt.c (expand_value_return): Fix typo in this change:
13458 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13459 (expand_value_return): Correctly convert VAL when promoting function
13460 return; support RETURN_REG being a PARALLEL.
13462 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
13464 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13466 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13468 * hard-reg-set.h (reg_names): Constify a char*.
13470 * regclass.c (reg_names): Likewise.
13472 * regs.h (reg_names): Likewise
13474 * a29k/a29k.c (reg_names): Delete declaration.
13476 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13478 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13479 arc_output_function_epilogue): Likewise.
13481 * elxsi/elxsi.c (reg_names): Likewise.
13483 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13485 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13488 * m88k/m88k.c (output_function_profiler): Likewise.
13490 * sparc/sparc.c (sparc_flat_output_function_prologue,
13491 sparc_flat_output_function_epilogue): Likewise.
13493 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
13495 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13496 warning from -Wuninitialized and put it under -W.
13497 * function.c (uninitialized_vars_warning): Warn only when the
13498 corresponding flag is set.
13500 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
13502 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13503 is nonzero and the single set does not have an elt, then assign
13506 * simplify-rtx.c: New file.
13507 * Makefile.in (OBJS): Add simplify-rtx.o
13508 (simplify-rtx.o): Add dependencies.
13509 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13510 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13511 (cse_gen_binary, simplify_unary_operation): Delete.
13512 (simplify_binary_operation, simplify_plus_minus): Likewise.
13513 (check_fold_consts, simplify_relation_operation): Likewise.
13514 (simplify_ternary_operation): Likewise.
13515 (delete_trivially_dead_insns): Simplify the contents of the
13516 REG_EQUAL note before trying to substitute it into the source
13517 of the reg-reg copy at the end of a libcall sequence.
13519 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
13520 references/callers changed.
13522 * mn10200.c (mn10200_va_arg): Force the return value into a
13525 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13527 * cccp.c (macroexpand): Avoid out of range accesses for omitted
13530 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
13532 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13534 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
13536 * fold-const.c (fold): Fix thinko when optimizing comparisons
13539 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
13541 * gcc.texi (Passes): Update front-end files to their current
13544 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
13546 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13547 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13548 (PREDICATE_CODES): Add addition_operation.
13549 * alpha-protos.h (addition_operation): Declare.
13550 (secondary_reload_class): Likewise.
13551 * alpha.c (addition_operation): New.
13552 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13553 * alpha.md (adddi3): Turn into expander.
13554 (*lda, *adddi_2): New.
13555 (movsf, movdf patterns): Don't preference integer regs.
13556 (movsi, movdi patterns): Don't preference fp regs.
13558 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
13560 * genrecog.c (write_switch): Check for duplicate CODE cases.
13562 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
13564 * ggc-common.c: Update pre-function commentary.
13565 * ggc-page.c: Likewise.
13567 (poison_pages): Use memset directly.
13568 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
13569 (ggc_collect): Poison before sweeping.
13570 * ggc-simple.c: Update pre-function commentary.
13571 (ggc_alloc_obj): Poison non-zeroed memory.
13573 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
13575 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13576 match format string, even on 64-bit hosts.
13577 * gcc-page.c (ggc_page_print_statistics): Likewise.
13579 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
13581 * config/i386/i386.c (ix86_cpu): Revert last patch.
13582 * config/i386/i386.h (ix86_cpu): Ditto.
13584 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
13586 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13587 TYPE_SIZE, convert type of result to sizetype.
13589 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
13591 * flow.c (count_or_remove_death_notes): Equate NULL with the
13594 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13595 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13598 * i386.c (pic_label_no): Delete.
13599 (ix86_attr_length_default): Don't use single_set to peek
13602 * recog.c (peephole2_optimize): Allow recog_next_insn to index
13603 the first insn after bb->end.
13604 * i386.md (push mem peeps): Scratch is live after evaluation
13606 (cmp mem peep): Similarly.
13608 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
13610 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13611 * function.c (pad_to_arg_alignment): Add missing braces.
13613 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13615 * alpha/alpha-protos.h (literal_section): Add prototype.
13616 (alpha_need_linkage, alpha_start_function,alpha_end_function):
13619 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13621 (alpha_start_function, alpha_end_function, float_strings,
13622 alpha_need_linkage): Constify a char*
13624 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13626 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13628 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13630 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13632 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13634 * flow.c (debug_flow_info): Add prototype.
13636 * gcc.c (main): Likewise.
13638 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
13641 * reload1.c (failed_reload, set_reload_reg): Likewise.
13643 * mips-tfile.c (main): Likewise.
13644 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
13645 with ATTRIBUTE_NORETURN.
13647 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
13649 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
13650 DECL is not a memory ref.
13652 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
13654 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
13655 * config/i386/i386.c (ix86_cpu): Add extern attribute.
13657 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
13659 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
13660 * config/mips/elf64.h: ditto.
13662 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
13664 * expr.c (emit_push_insn): New argument alignment_pad.
13665 Update all callers. Adjust stack pointer based on alignment pad.
13666 * function.c (pad_to_arg_alignment): New argument alignment_pad.
13667 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
13668 (locate_and_pad_parm): New argument alignment_pad. Update all
13670 * expr.h (emit_push_insn): Update prototype.
13671 (locate_and_pad_parm): Update prototype.
13672 * calls.c (arg_data): Add new field alignment_pad.
13673 (initialize_argument_information): Initialize alignment_pad.
13675 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
13677 * except.c (free_eh_nesting_info): Free the info itself.
13678 * function.c (free_after_compilation): Don't free NULL.
13679 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
13680 (pre_edge_insert): Free inserted.
13681 * stmt.c (free_stmt_status): Don't free NULL.
13683 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
13685 * gcov.c (DIR_SEPARATOR): Provide default.
13686 (output_data): Add test for MS-DOS format absolute filename.
13687 (fancy_abort): Correct program name.
13688 (open_files): Open all files in binary mode.
13689 * libgcc2.c (__bb_exit_func): Likewise.
13691 * profile.c (init_branch_prob): Specify binary when opening files.
13693 * flags.h (flag_unwind_tables): New decl.
13694 * toplev.c (flag_unwind_table): New definition.
13695 (f_options): Add -funwind-tables.
13696 (decode_g_option): Clarify warning when unknown -g option is given.
13697 (rest_of_compilation): If inside an inlined external function,
13698 pretend we are just being declared.
13700 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
13701 (dwarf2out_frame_finish): Likewise.
13703 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
13705 * fold-const.c (merge_ranges): If not in0, but in1, handle
13706 upper bounds equal like subset case.
13708 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
13710 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
13711 passed in a register but moved to the stack.
13713 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
13715 * gcc.c (pass_exit_codes, greatest_status): New variables.
13716 (struct option_map): Add entry for "--pass-exit-codes".
13717 (execute): Update greatest_status if error.
13718 (display_help): Add documentation for -pass-exit-codes.
13719 (process_command): Handle -pass-exit-codes.
13720 (main): Look at pass_exit_codes and greatest_status on call to exit.
13722 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13724 * reload.c (find_reloads): Refine test for no input reload
13725 case to not includes reloads emitted after insn.
13727 * function.c (find_temp_slots_from_address): Handle sum involving
13728 a register that points to a temp slot.
13729 (update_temp_slot_address): Make recursive call if both old and
13730 new are PLUS with a common operand.
13731 * calls.c (expand_call): Mark temp slot for result as having
13734 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
13736 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
13737 component as well as "BINUTILS".
13739 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
13740 * integrate.c (copy_rtx_and_substitute): Likewise.
13741 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
13742 All callers changed.
13743 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
13745 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
13746 gdb extensions, write size of type; also be more consistent
13747 in using references when this is a subtype.
13749 * pa.md (extv, extzv, insv): Use define_expand to reject constant
13750 that is out of range.
13752 * loop.c (unknown_constant_address_altered): New variable.
13753 (prescan_loop): Initialize it.
13754 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
13755 (invariant_p, case MEM): Remove handling for volatile and readonly;
13756 check new variable if readonly.
13757 (check_dbra_loop): Chdeck unknown_constant_address_altered.
13759 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
13760 (addr_affects_sp_p): Removed from note_mem_written and only
13761 define #ifdef AUTO_INC_DEC.
13763 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
13765 * regclass.c (record_reg_classes): Properly handle register move
13768 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
13769 Don't think valid if both operands are invalid.
13770 (struct constant_descriptor): New field RTL.
13771 (mark_const_hash_entry): Mark it.
13772 (record_constant{,_rtx}): Initialize it.
13773 (output_constant_def): Allocate RTL in permanent obstack and
13775 ({record,compare}_constant_1): Modes must match for
13776 CONSTRUCTOR of ARRAY_TYPE.
13778 * c-common.h (initializer_constant_valid_p): Delete decl from here.
13779 * output.h (initializer_constant_valid_p): Move decl to here.
13780 * c-common.c (initializer_constant_valid_p): Delete function from here.
13781 * varasm.c (initializer_constant_valid_p): Move function to here.
13783 * tree.h (STRIP_SIGN_NOPS): New macro.
13784 * fold-const.c (optimize_minmax_comparison): New function.
13785 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
13786 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
13787 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
13788 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
13789 widening conversions.
13790 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
13791 to look at size of mode, not precision of type; also add missing cases.
13792 (optimize_bit_field_compare, decode_field_reference): Don't try to
13793 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
13795 * dwarf2out.c (ctype.h): Include.
13796 (dwarf2out_set_demangle_name_func): New function.
13797 (size_of_line_info): Deleted.
13798 (output_line_info): Compute size of line info table from difference
13800 (base_type_die, add_name_attribute): Call demangle function, if any.
13801 (field_byte_offset): Use bits per word for variable length fields.
13802 (gen_array_type_die): Add array name.
13803 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
13804 (dwarf2out_add_library_unit_info): New function.
13806 * explow.c (set_stack_check_libfunc): New function.
13807 (stack_check_libfunc): New static variable.
13808 (probe_stack_range): Allow front-end to set up a libfunc to call.
13810 * combine.c (simplify_comparison): When making comparison in wider
13811 mode, check for having commuted an AND and a SUBREG.
13812 (contains_muldiv): New function.
13813 (try_combine): Call it when dividing a PARALLEL.
13814 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
13815 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
13817 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
13818 use one of the CLOBBERs instead.
13819 (if_then_else_cond): If comparing against zero, just return thing
13822 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
13823 Don't generate shifts and subtract if have conditional arithmetic.
13825 * rtl.h (delete_barrier): New declaration.
13826 * jump.c (jump_optimize): Set up to handle conditional call.
13827 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
13828 (delete_barrier): New function.
13830 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
13832 * recog.c (nonmemory_operand): Accept ADDRESSOF.
13834 * tree.c (build_type_attribute_variant): Push to obstack of
13835 ttype around type_hash_canon call.
13837 * expr.c (placeholder_list): Move decl to file scope.
13838 (expand_expr): Don't force access to volatile just because its
13840 If ignoring reference operations, just expand the operands.
13841 (expand_expr, case COMPONENT_REF): Propagate
13842 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
13843 Refine test for using bitfield operations vs pointer punning.
13844 (expand_expr, case CONVERT_EXPR): If converting to
13845 BLKmode UNION_TYPE from BLKmode, just return inner object.
13846 Use proper mode in store_field call.
13847 Properly set sizes of object to store and total size in store_field
13848 call for convert to union.
13849 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
13850 memory (like for ADDR_EXPR). Also, don't put constant in register if
13851 we'll want it in memory.
13852 (readonly_fields_p): New function.
13853 (expand_expr, case INDIRECT_REF): Call it if LHS.
13854 (expand_assignment): Handle a RESULT_DECL where
13855 DECL_RTL is a PARALLEL.
13856 (do_jump, case WITH_RECORD_EXPR): New case.
13857 (get_inner_reference): Always go inside a CONVERT_EXPR
13858 and NOP_EXPR if both modes are the same.
13859 (store_field): Use bitfield operations if size of bitsize is not same
13860 as size of RHS's type.
13861 Check for bitpos not a multiple of alignment in BLKmode case.
13862 Do block move in largest possible alignment.
13863 (store_constructor): Set BITSIZE to -1 for variable size and properly
13864 in case of array of BLKmode.
13865 (expand_expr_unaligned): New function.
13866 (do_compare_and_jump): Call it.
13868 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
13869 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
13870 does not include 'o'.
13872 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
13873 both SET_DEST and SET_SRC reference a virtual register.
13874 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
13876 * integrate.c (expand_inline_function): Handle case of setting
13877 virtual stack vars register (from built in setjmp); when parameter
13878 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
13879 (subst_constant): Add new parm, MEMONLY.
13880 (expand_inline_function, integrate_parm_decls): Pass new parm.
13881 (integrate_decl_tree): Likewise.
13882 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
13883 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
13884 (copy_rtx_and_substitute, case SET): Add explicit calls to
13885 copy_rtx_and_substitute for both sides.
13887 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
13889 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
13890 within INDEX_TYPE, instead of before.
13891 (fixup_gotos): Use f->target_rtl, not the next insn,
13892 since latter may be from a later fixup.
13893 (expand_value_return): Correctly convert VAL when promoting function
13894 return; support RETURN_REG being a PARALLEL.
13895 (expand_return): When checking for result in regs and having
13896 cleanup, consider PARALLEL in DECL_RTL as being in regs.
13898 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
13900 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
13901 last_nominal_fname): Mark const.
13902 (struct include_hash: name, nshort, control_macro): Mark
13904 (struct macrodef: symnam): Mark const.
13905 (struct if_stack: fname): Mark const.
13906 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
13907 (IStable): New character-syntax array which encompasses all
13908 the old is_foo arrays.
13909 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
13910 is_space): New macros for interrogating IStable.
13911 (check_macro_name): Kill last argument. All callers changed.
13913 * cppinit.c (initialize_char_syntax): Delete.
13914 (is_idchar, is_idstart, is_hor_space, is_space,
13915 trigraph_table): Delete.
13916 (IStable): New. Initialize with clever macros to avoid
13917 information duplication.
13918 (builtin_array): Table of builtins to get rid of explicit list
13919 in initialize_builtins.
13920 (initialize_builtins): Use builtins_array.
13921 (cpp_start_read): Call init_IStable, and set IStable['$'] if
13922 opts->dollars_in_ident.
13924 * cppexp.c: Change all refs to is_xyz[] arrays to use new
13926 (cpp_parse_expr): Avoid 'format string is not constant'
13927 warning. Use ISGRAPH to identify printable chars.
13928 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
13930 (read_and_prescan): Map trigraphs to chars with open-coded
13931 if-else-if-... sequence, not a lookup table.
13932 * cpphash.c: Change all refs to is_xyz[] arrays to use new
13934 * cpplib.c: Change all refs to is_xyz[] arrays to use new
13935 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
13936 (check_macro_name): Remove ability to report an invalid
13937 assertion name, which is never used.
13938 (do_line): Constify a couple of char *'s.
13939 * cppmain.c (main): Call cpp_cleanup before returning.
13941 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
13943 * ggc.h (struct ggc_statistics): New type.
13944 (ggc_get_size): New function.
13945 (ggc_print_statistics): Likewise.
13946 * ggc-common.c (ggc_stats): New variable.
13947 (ggc_mark_rtx_children): Keep statistics.
13948 (ggc_mark_tree_children): Likewise.
13949 (ggc_print_statistics): New function.
13950 * ggc-page.c (struct globals): Add bytes_mapped field.
13951 (alloc_anon): Update it.
13952 (release_pages): Likewise.
13953 (ggc_get_size): New function.
13954 (ggc_page_print_statistics): New function.
13955 * ggc-simple.c (ggc_get_size): New function.
13957 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
13959 * flow.c (propagate_block): When the last reference to a label
13960 before an ADDR_VEC is deleted because the reference is a dead
13961 store, delete the ADDR_VEC.
13963 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
13965 * resource.c (find_free_register): Don't use the frame pointer
13966 if frame_pointer_needed.
13968 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
13970 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
13971 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
13973 * config/i960/i960.c (i960_va_start): New locals base, num.
13974 Use INDIRECT_REF instead of ARRAY_REF on valist.
13975 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
13977 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
13979 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
13981 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
13983 * tree.def (PLACEHOLDER_EXPR): Update comments.
13985 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13987 * c-common.c (check_format_info): Avoid non-literal format string
13988 warnings when `first_arg_num' is zero.
13990 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13992 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
13994 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
13996 * arm.md (casesi_insn): Add a clobber of the condition code
13999 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
14001 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14002 used by both cc1 and cc1plus.
14004 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
14006 * config/arm/arm.c: Initialise arm_structure_size_boundary to
14007 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14008 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14009 to the value 32 if it has not already been defined.
14010 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14011 Override definition in arm.h with a value of 8.
14013 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
14015 * c-pragma.c (push_alignment): Don't check the return value
14018 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
14020 * sparc.h (ADJUST_COST): Fix thinko.
14022 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
14024 * cccp.c (rescan): Fixed obp pointer handling around call to
14025 check_expand subroutine.
14027 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
14029 * gcse.c (delete_null_pointer_checks): Only record non-null info
14030 for pseudos when examining stores.
14032 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14033 splitters for these patterns. Use "#" for output templates.
14034 (addsi3_carryin_shift): New pattern.
14036 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
14038 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14039 of the function return register into a plain REG until
14040 after function inlining is done.
14042 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
14044 * jump.c (jump_optimize_1): If we did cross-jumping, and
14045 the data will matter, rebuild the CFG.
14046 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14047 not optimizing. Don't run shorten_branches.
14048 * toplev.c (rest_of_compilation): Run shorten_branches after
14051 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
14053 * rtl.h (note_stores): Add additional paramter.
14054 * rtlanal.c (reg_set_p_1): Take additional paramter.
14055 (reg_set_last_1): Likewise.
14056 (reg_set_p): Adjust call to note_stores.
14057 (reg_set_last): Likewise.
14058 (note_stores): Pass data parameter to worker function.
14059 * alias.c (record_set): Take additional parameter.
14060 (init_alias_analysis): Pass it.
14061 * caller-save.c (mark_set_regs): Take additional parameter.
14062 (save_call_clobbered_regs): Pass NULL to note_stores.
14063 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14065 (record_dead_and_set_regs_1): Likewise.
14066 (reg_dead_at_p_1): Likewise.
14067 (combine_instructions): Adjust calls to note_stores.
14068 (try_combine): Likewise.
14069 (record_dead_insn): Remove.
14070 (record_dead_and_set_regs): Adjust calls to note_stores.
14071 (reg_dead_at_p): Likewise.
14072 * cse.c (invalidate_skipped_set): Take additional parameter.
14073 (cse_check_loop_start): Likewise.
14074 (cse_check_loop_start_value): Remove.
14075 (cse_set_around_loop): Adjust calls to note_stores.
14076 * flow.c (notice_stack_pointer_modification): Take additional
14077 parameter. Remove duplicate declaration.
14078 (record_volatile_insns): Adjust calls to note_stores.
14079 * gcse.c (record_set_info): Take additional parameter.
14080 (record_last_set_info): Likewise.
14081 (invalidate_nonnull_info): Likewise.
14082 (record_set_insn): Remove.
14083 (compute_sets): Adjust calls to note_stores.
14084 (last_set_insn): Remove.
14085 (compute_hash_table): Adjust calls to note_stores.
14086 (insert_insn_end_bb): Likewise.
14087 (delete_null_pointer_checks): Likewise.
14088 * global.c (mark_reg_store): Take additional parameter.
14089 (mark_reg_clobber): Likewise.
14090 (reg_becomes_live): Likewise.
14091 (global_conflicts): Adjust calls to note_stores.
14092 (build_insn_chain): Likewise.
14093 * integrate.c (note_modified_parmregs): Take additional parameter.
14094 (mark_stores): Likewise. Make it static.
14095 (save_for_inline_nocopy): Adjust calls to note_stores.
14096 (try_constants): Likewise.
14097 * integrate.h (mark_stores): Remove declaration.
14098 * jump.c (mark_modified_reg): Take additional parameter.
14099 (thread_jumps): Adjust calls to note_stores.
14100 * local-alloc.c (validate_equiv_mem_from_store): Take additional
14102 (no_equiv): Likewise.
14103 (reg_is_set): Likewise.
14104 (validate_equiv_mem): Adjust calls to note_stores.
14105 (update_equiv_regs): Likewise.
14106 (block_alloc): Likewise.
14107 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14108 (note_addr_stored): Take additional parameter.
14109 (note_set_pseudo_multiple_uses): Likewise.
14110 (record_initial): Likewise.
14111 (prescan_loop): Adjust calls to note_stores.
14112 (strength_reduce): Likewise.
14113 (check_dbra_loop): Likewise.
14114 * regmove.c (flags_set_1): Take additional paramter.
14115 (mark_flags_life_zones): Adjust calls to note_stores.
14116 * reload1.c (mark_not_eliminable): Take additional parameter.
14117 (forget_old_reloads_1): Likewise.
14118 (reload_cse_invalidate_rtx): Likewise.
14119 (reload_cse_check_clobber): Likewise.
14120 (reload_combine_note_store): Likewise.
14121 (move2add_note_store): Likewise.
14122 (reload): Adjust calls to note_stores.
14123 (reload_as_needed): Likewise.
14124 (emit_reload_insns): Likewise.
14125 (reload_cse_regs_1): Likewise.
14126 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14127 (reload_combine): Adjust calls to note_stores.
14128 * resource.c (update_live_status): Take additional paramter.
14129 (mark_target_live_regs): Adjust calls to note_stores.
14130 * stupid.c (find_clobbered_regs): Take additional parameter.
14131 (stupid_life_analysis): Adjust calls to note_stores.
14133 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
14135 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14138 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14141 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14142 of the variable arm_structure_size_boundary.
14144 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
14146 * alias.c (init_alias_analysis): Allocate reg_known_value and
14147 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
14149 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14150 * cse.c (cse_main): Call end_alias_analysis.
14151 * haifa-sched.c (schedule_insns): Likewise.
14152 * local-alloc. (update_equiv_regs): Likewise.
14153 * reload1.c (reload_cse_regs): Likewise.
14155 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14157 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14158 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14159 mapping from MASK_FPU.
14161 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
14163 * sparc.md (call): Don't bound structure return size to 0xfff.
14165 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
14167 * resource.c (mark_target_live_regs): Check that the target
14168 insn wasn't created after compute_bb_for_insn.
14170 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
14172 * ggc-page.c (poison_pages): Don't be overzealous.
14174 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
14176 * alias.c: Update comments for ADDRESS.
14177 (nonlocal_reference_p): Look inside the ADDRESS to determine if
14178 it is a local memory reference.
14180 * c-typeck.c (build_function_call): Check that the built-in
14181 function is of class BUILT_IN_NORMAL before trying to recongize
14182 it as BUILT_IN_ABS.
14183 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14184 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14186 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
14188 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14190 (pre_gcse): Likewise.
14191 (hoist_expr_reaches_here_p): Likewise.
14192 (hoist_code): Likewise.
14193 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
14195 (pre_expr_reaches_here_p_work): ... here.
14196 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
14198 (expr_reaches_here_p_work): ... here.
14200 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
14202 * resource.c (find_basic_block): Delete.
14203 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14204 (init_resource_info): Call compute_bb_for_insn.
14206 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
14208 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14209 with already adjacent blocks, but no fallthru.
14210 (merge_blocks_move_successor_nojumps): Simplify.
14211 (debug_flow_info): New.
14213 * toplev.c (rest_of_compilation): Open jump1 dump file before
14214 jump and close after, as opposed to just using dump_rtl.
14216 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14218 * reload.h (earlyclobber_operand_p): Declare.
14219 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
14220 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
14221 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14222 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
14224 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
14225 Richard Henderson <rth@cygnus.com>
14227 * emit-rtl.c (emit_block_insn_before): New.
14228 (emit_block_insn_after): New.
14229 * basic-block.h: Declare them.
14231 * bitmap.h: Protect from multiple inclusion.
14233 * recog.c (scratch_operand): Handle VOIDmode correctly.
14235 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14237 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14238 * function.c (assign_parms): Likewise.
14239 * global.c (global_conflicts): Clarify STACK_REGS commentary.
14241 * reg-stack.c (max_uid): Remove.
14242 (blocks, block_begin, block_end, block_drops_in): Remove.
14243 (block_stack_in, block_out_reg_set, block_number): Remove.
14244 (struct block_info_def, BLOCK_INFO): New.
14245 (enum emit_where): New.
14246 (current_block): New.
14247 (BLOCK_NUM): Remove.
14248 (mark_regs_pat, record_label_references): Remove.
14249 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14251 (goto_block_pat, print_blocks, dump_stack_info): Remove.
14252 (reg_to_stack): Simplified test for existance of fp code. Use
14253 flow.c code. Call shorten_branches after cross-jump opt.
14254 (check_asm_stack_operands): Renamed from record_asm_reg_life.
14255 Return false if the asm doesn't use stack regs. Don't do life
14256 analysis on the asm.
14257 (emit_pop_insn): Replace function pointer arg `when' with
14258 enum `where'. Update all callers.
14259 (change_stack): Likewise. Update basic block end.
14260 (emit_swap_insn): Use current_block->head to limit reverse search
14261 for start of block. Use emit_block_insn_after.
14262 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14263 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
14264 structure assignment instead of bcopy.
14265 (print_stack): New.
14266 (convert_regs_entry, convert_regs_exit): New.
14267 (convert_regs_1, convert_regs_2): Split out from convert_regs.
14268 Work on basic blocks and the CFG.
14269 (convert_regs): Use them.
14271 * i386.c (output_fix_trunc): Remove code for DImode input operand
14272 not at top-of-stack.
14273 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14275 (fix_truncdi_1): Allow any mode scratch.
14277 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
14279 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14280 * linux.h, netbsd.h, vms.h: Not here.
14282 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
14284 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14285 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14286 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14287 CONDITIONAL_REGISTER_USEAGE): Use them.
14288 * config/mips/mips.c (mips_move_1word,mips_move_2words,
14289 gen_conditional_branch,override_options) : Use them.
14290 * config/mips/mips.md : Use them.
14292 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
14294 * i386.md (zero_extendqihi2): Use SImode register name with andl.
14296 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
14298 * integrate.c (function_cannot_inline_p): Don't allow inlining
14301 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14303 * c-parse.in (cast_expr): Constify.
14305 * cccp.c (special_symbol): Likewise.
14307 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14309 * dwarf2out.c (base_type_die): Likewise.
14311 * global.c (allocno_compare): Likewise.
14313 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14315 * regclass.c (fix_register): Likewise.
14317 * rtl.h (fix_register): Likewise.
14319 * stupid.c (stupid_reg_compare): Likewise.
14321 * toplev.c (decode_f_option): Likewise.
14323 * tree.c (build_complex_type): Likewise.
14325 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
14327 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14329 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14331 * reload.c (find_reloads): Compute mode and nregs fields of all
14333 * reload1.c (calculate_needs_all_insns): Simplify a bit.
14334 (calculate_needs): Use precomputed mode/nregs values.
14335 (allocate_reload_reg): Likewise.
14337 (failed_reload, set_reload_reg): ... new functions.
14338 (choose_reload_regs_init): New function, mostly broken out from...
14339 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
14340 Also lose one #if 0 block.
14342 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
14344 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
14347 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
14349 * tree.h (BLOCK_TYPE_TAGS): Remove.
14350 (BLOCK_END_NOTE): Likewise.
14351 (BLOCK_LIVE_RANGE_FLAG): Likewise.
14352 (BLOCK_LIVE_RANGE_START): Likewise.
14353 (BLOCK_LIVE_RANGE_END): Likewise.
14354 (tree_block): Remove live_range_flag, live_range_var_flag, and
14355 type_tags. Remove end_note, live_range_start, and live_range_end.
14356 (remember_end_note): Remove prototype.
14357 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14358 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14360 * ggc-common.c (ggc_mark_tree_children): Don't mark
14361 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14362 * integrate.c (adjust_copied_decl_tree): Remove.
14363 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14364 * stmt.c (last_block_end_note): Remove.
14365 (init_stmt): Don't add a GC root for it.
14366 (expand_fixup): Don't set it.
14367 (remember_end_note): Remove.
14368 (expand_end_bindings): Don't set last_block_end_note.
14370 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14372 * reload1.c (reload_reg_free_for_value_p): Show
14373 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14376 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
14378 * expmed.c (extract_bit_field): Allow for the case of non-integer
14379 objects that are smaller than a word (like SFmode on a 64-bit
14382 * loop.c (basic_induction_var): A non-integer variable which is
14383 being set by a paradoxical subreg is probably not a biv.
14385 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14387 * prefix.c (translate_name) Check for empty prefix string.
14389 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
14391 * Makefile.in (CPP_CROSS_NAME): New variable.
14392 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14394 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14395 names of the files to be uninstalled.
14397 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
14399 * collect2.c (IS_DIR_SEPARATOR): Define.
14400 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14402 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14405 * haifa-sched.c (add_dependence): Update the true dependency
14406 cache the first time we add a true dependence to the LOG_LINKS chain.
14408 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
14410 * fold-const.c (fold): Fix comment.
14412 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14414 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14415 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14416 dbxout_start_new_source_file, dbxout_source_file,
14417 dbxout_source_line, dbxout_finish, dbxout_type_fields,
14418 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14420 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14421 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14422 (dbxout_block): Initialize variable `blocknum'.
14424 * dbxout.h (dbxout_init, dbxout_finish,
14425 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14426 dbxout_args, dbxout_source_line): Constify a char*.
14428 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14429 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14430 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14431 low_pc_attribute, high_pc_attribute, body_begin_attribute,
14432 body_end_attribute, comp_dir_attribute, sf_names_attribute,
14433 src_info_attribute, mac_info_attribute, producer_attribute,
14434 lookup_filename, generate_macinfo_entry, fundamental_type_code,
14435 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14436 dwarfout_undef): Constify a char*.
14437 (add_incomplete_type, retry_incomplete_types): Add prototypes.
14439 * dwarfout.h (dwarfout_define, dwarfout_undef,
14440 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14442 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
14444 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14445 (MULTILIB_ISA_DEFAULT): New.
14446 (MULTILIB_DEFAULTS): Use it.
14447 * config/mips/mips.c (): Remove the now unnecessary definition
14448 of MIPS_ISA_DEFAULT.
14449 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14450 unnecessary definition.
14452 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
14454 * arm.md (pic_load_addr): Add constraints to operand 1.
14456 1999-10-25 Bruce Korb <autogen@linuxbox.com>
14458 * fixinc/genfixes: Provide a means for specifying -D options to
14461 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
14463 * arm.c (arm_override_options): Correct initialization of
14464 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14465 arm_is_strong, and arm_is_6_or_7.
14467 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14468 (note_set_pseudo_multiple_uses): New function.
14469 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14470 if a pseudo set in the loop exit is used elsewhere.
14472 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
14474 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14476 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
14478 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14479 a single load-address pattern.
14481 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
14483 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14484 depending on whether or not line-number notes are present.
14486 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14488 * cccp.c (progname, file_buf, default_include, include_file,
14489 macrodef, definition, hashval, wchar_type, user_label_prefix,
14490 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14491 expand_to_temp_buffer, is_system_include, base_name,
14492 absolute_filename, read_name_map, open_include_file,
14493 record_control_macro, check_precompiled, check_preconditions,
14494 pcfinclude, pass_thru_directive, create_definition,
14495 check_macro_name, comp_def_part, collect_expansion,
14496 check_assertion, read_token_list, assertion_install,
14497 assertion_lookup, eval_if_expression, conditional_skip,
14498 validate_else, skip_quoted_string, quote_string, macarg1,
14499 error_from_errno, install, lookup, hashf, dump_defn_1,
14500 perror_with_name, pfatal_with_name, main, trigraph_pcp,
14501 check_white_space, rescan, handle_directive, monthnames,
14502 special_symbol, do_include, remap_include_file, write_output,
14503 arglist, do_assert, do_unassert, do_line, do_error, do_once,
14504 do_ident, do_sccs, do_xifdef, skip_if_group,
14505 output_line_directive, macroexpand, macarg, change_newlines,
14506 initialize_builtins, make_definition): Constify a char*.
14508 * pcp.h (stringdef): Likewise.
14510 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
14512 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14515 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
14516 Richard Henderson <rth@cygnus.com>
14518 * alias.c: Include ggc.h.
14519 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14520 (record_set): Verify enough room in reg_base_value.
14521 (init_alias_analysis): Allocate reg_base_value with xcalloc.
14522 Register it as a GC root.
14523 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
14524 * Makefile.in (alias.o): Depend on ggc.h.
14526 * unroll.c (unroll_loop): Verify the insn before a barrier
14527 is a JUMP_INSN before checking JUMP_LABEL.
14529 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14531 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14532 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14533 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14534 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14535 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14536 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14538 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14540 * output.h (ctors_section, dtors_section, bss_section): Prototype.
14542 * alpha/alpha-interix.h (text_section): Delete prototype.
14543 * alpha/elf.h (text_section): Likewise.
14544 * arm/linux-elf.h (text_section): Likewise.
14545 * arm/linux-telf.h (text_section): Likewise.
14546 * c4x/c4x.h (text_section): Likewise.
14547 * dsp16xx/dsp16xx.h (bss_section): Likewise.
14548 * elfos.h (text_section): Likewise.
14549 * i386/aix386ng.h (text_section): Likewise.
14550 * i386/i386-interix.h (text_section): Likewise.
14551 * i386/sco5.h (text_section): Likewise.
14552 * i386/svr3gas.h (text_section): Likewise.
14553 * nextstep.h (text_section): Likewise.
14554 * psos.h (text_section): Likewise.
14555 * ptx4.h (text_section): Likewise.
14556 * svr3.h (text_section): Likewise.
14557 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14559 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14561 * final.c (peephole): Delete prototype.
14563 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14564 (pre_insert_copies): Remove unused variable `bb'.
14566 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14569 * output.h (peephole): Add prototype.
14571 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
14573 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14576 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
14578 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14579 for inlined declarations.
14581 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
14583 * arm.c (logical_binary_operator): New fucntion.
14584 * arm.h (logical_binary_operator): Declare it.
14585 (PREDICATE_CODES): Handle logical_binary_operator.
14586 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14587 output constraints. Add appropriate splitters.
14588 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14589 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14590 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14592 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14594 * genoutput.c (struct operand_data): New elt eliminable.
14595 (output_operand_data): Write it.
14596 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14597 (compare_operands): Take it into account.
14598 * recog.h (struct insn_operand_data): New elt eliminable.
14599 * reload1.c (check_eliminable_occurrences, elimination_effects): New
14601 (old_asm_operands_vec, new_asm_operands_vec): Delete.
14602 (eliminate_regs): Move code that detects changes to elimination
14603 target regs into new function elimination_effects.
14604 Delete one #if 0 block.
14605 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14606 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14607 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14608 Only call eliminate_regs for real operands of the insn, not for parts
14609 of its structure or parts matched by things like match_operator.
14610 Use elimination_effects and check_eliminable_occurrences. Use
14611 copy_insn to duplicate the pattern when not in the final pass.
14613 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
14615 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14618 1999-10-22 Bruce Korb <autogen@linuxbox.com>
14620 * fixinc/README: document the "mach" machine matching test
14621 * fixinc/fixfixes.c: Implement the #else/#endif label fix
14622 * fixinc/fixtests.c: Implement the #else/#endif label test
14623 * fixinc/inclhack.def: utilize these tests and fixes
14624 * fixinc/inclhack.sh: regen
14625 * fixinc/fixincl.x: regen
14626 * fixinc/fixincl.sh: regen
14628 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
14630 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
14633 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
14635 * gcc.1: Document exit codes.
14637 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14639 * calls.c: Include tm_p.h later, so everything we need is defined.
14640 * expr.c: Likewise.
14641 * function.c: Likewise.
14643 * except.c: Include tm_p.h.
14645 * sparc.c: Likewise.
14646 (dwarf2out_cfi_label): Don't prototype.
14647 (check_return_regs, epilogue_renumber,
14648 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
14649 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
14650 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
14651 ultra_schedule_insn): Add static prototype.
14652 (data_segment_operand, text_segment_operand): Call itself with the
14653 proper number of arguments.
14654 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
14656 * sparc.h: Move all declarations to sparc-protos.h.
14657 (SELECT_RTX_SECTION): Pass a missing MODE argument to
14660 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
14662 * config/svr4.h (text_section, ctors_section, dtors_section): Add
14664 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
14665 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
14666 ASM_OUTPUT_ASCII): Constify a char*.
14668 * sparc-protos.h: New file for sparc prototypes.
14670 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14672 * function.c (record_insns, contains): Always declare and define.
14673 (record_insns): Mark with ATTRIBUTE_UNUSED.
14675 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
14677 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
14678 to .section when outputting a .bss section to deal with multiple
14679 .bss input sections (as happens with -fdata-sections)
14680 Also output %progbits, not @progbits so the assembler doesn't treat as
14682 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
14684 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
14685 thumb parts even when building with non-thumb CPUs, by forcing
14688 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
14690 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
14691 (movdf_const_intreg_sp64): Similarly.
14693 * local-alloc.c (update_equiv_regs): Check the correct insn
14694 for pre-existing REG_EQUIV notes.
14696 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
14698 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
14699 block reached by a branch if we're not going to actually process
14702 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
14704 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
14705 a local extern function declaration.
14707 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
14709 * i386.c (ix86_expand_prologue): Properly wrap USE around
14710 reg for CALL_INSN_FUNCTION_USAGE.
14712 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
14714 * config/mips/mips.md (movdf_internal1a): Allow floating-point
14715 move between GP_REGs.
14717 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
14719 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
14720 the mode size when finding out if an offset is legal.
14722 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
14724 * basic-block.h (PROP_*): Move constants from ...
14725 * flow.c: ... here.
14726 (compute_bb_for_insn): Free the array before reallocating.
14727 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
14728 (allocate_reg_life_data): Reset all reg variables collected by
14730 (get_block_head_tail): Don't convert from bb to block.
14731 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
14732 (find_insn_reg_weight): Take block not bb.
14733 (schedule_block): Don't set block num for moved insns.
14734 (schedule_region): Don't update_life_info or find_insn_reg_weight.
14735 (schedule_insns): Do it here instead.
14736 * combine.c (combine_instructions): Invoke compute_bb_for_insn
14737 before update_life_info.
14738 * recog.c (split_all_insns, peephole2_optimize): Update for
14739 new arg to update_life_info.
14740 * rtlanal.c (remove_note): Cope with NULL note.
14741 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
14744 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
14746 * jump.c (jump_optimize_1): More accurately detect casesi insns.
14748 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
14749 block records so that merge_blocks_nomove will clean up correctly.
14750 (split_edge): Handle casesi insns.
14752 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
14754 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
14756 * pa.md (call, call_value): Do not emit a blockage after restoring
14759 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
14761 * c-typeck.c (c_expand_asm_operands): Fix typo.
14763 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14765 * arm.c (fpu_rhs_operand): Verify modes.
14766 (fpu_add_operand): Likewise.
14767 (di_operand): Likewise.
14768 (soft_df_operand): Likewise.
14770 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
14772 * arm.c (arm_return_in_memory): APCS rules state that the elements
14773 of a structure returned in a register must be 'integer-like'.
14775 1999-10-19 Bruce Korb <autogen@linuxbox.com>
14777 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
14778 in the source tree when the generated targets are out of date
14779 * fixinc/genfixes: Alter it to run individual fixes for make.
14780 * fixinc/README: rewrite
14781 * fixinc/inclhack.def: moved initial comments to README
14783 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
14785 * toplev.c (main): Do not generate an error message if an
14786 unrecognised command line switch is recognisable by another
14787 language. If extra_warnings are enabled, then generate a
14788 warning message instead.
14790 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
14792 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
14793 (insert_pack_attributes): Delete prototype.
14795 * c-pragma.c (default_alignment): New static variable.
14796 (push_alignment): Initialize to current effective alignment.
14797 (pop_alignment): Use to set new alignment.
14798 (insert_pack_attributes): Delete function.
14799 (handle_pragma_token): Set default_alignment as well each time
14800 a #pragma pack(<n>) is encountered.
14802 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
14804 * reg-stack.c (stack_result): Aggregates are not returned in
14807 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
14809 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
14811 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
14813 * basic-block.h (set_block_num): Declare.
14814 * flow.c (update_life_info): Don't call compute_bb_for_insn
14815 or free_basic_block_vars.
14816 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
14817 (insn_orig_block): Remove.
14818 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
14819 (schedule_block): Keep BLOCK_NUM up-to-date.
14820 (schedule_insns): Use compute_bb_for_insn.
14821 * recog.c (split_all_insns): Likewise.
14822 (peephole2_optimize): Likewise.
14824 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
14826 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
14827 if the pic register is used.
14829 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14831 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
14832 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
14833 if that tests TREE_PERMANENT.
14835 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
14837 * cse.c (invalidate_for_call): Do not remove memory references from
14838 the table here. It's handled elsewhere.
14840 * haifa-sched.c (add_dependence): Protect references to the
14841 true dependency cache with #ifdef INSN_SCHEDULING.
14842 (remove_dependence): Similarly.
14844 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
14845 to the cfg code that this is a return instruction.
14846 * mn10300.md (return_internal): Similarly.
14848 * combine.c (get_last_value): If the last set of a register
14849 is after subst_low_cuid, then we can not use it to determine
14850 the register's last value.
14852 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
14854 * Makefile.in: Back out previous change.
14856 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
14858 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
14860 * haifa-sched.c (add_dependence): Only check/update the cache
14862 (remove_dependence): Likewise.
14863 (schedule_insns): Only create the true_dependency_cache if the
14864 average number of instructions in a basic block is very large.
14866 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
14868 * Makefile.in (ggc-common.o): Depend on genrtl.h.
14869 (ggc-simple.o): Likewise.
14870 (ggc-page.o): Likewise.
14872 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
14874 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
14875 Prototype for exported functions.
14876 (pre_lcm, pre_rev_lcm): Remove prototypes.
14877 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
14878 (compute_available): Move to lcm.c, and change parameter order.
14879 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
14880 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
14881 (gcse_main): No longer call compute_preds_succs. Rebuild the
14882 set table after reach pre pass.
14883 (pre_insert_map, pre_delete_map, edge_list): New.
14884 (alloc_pre_mem): Allocate edge vectors.
14885 (free_pre_mem): Delete edge vectors.
14886 (compute_pre_data): Call new edge based lcm routines.
14887 (process_insert_insn): New function.
14888 (insert_insn_end_bb): Use it.
14889 (pre_edge_insert): New function.
14890 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
14892 (pre_insert_copies): Revamp using new edge based lcm outputs.
14893 (pre_delete): Likewise.
14894 (one_pre_gcse_pass): Insert & remove fake edges to the exit
14896 (compute_code_hoist_vbeinout): New new edge based routines.
14897 * lcm.c: Remove all the old LCM functions. Replace with new ones
14898 that work with the new cfg datastructures and work with edges
14901 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14903 * reload.h (struct reload): Add new fields "mode" and "nregs".
14904 * reload1.c: Change all occurrences of reload_mode and reload_nregs
14905 to reference the "mode" and "nregs" field within struct reload.
14907 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
14909 * haifa-sched.c (true_dependency_cache): New.
14910 (add_dependence): Use the true dependency cache to avoid expensive
14911 walks down the LOG_LINKS dependency list. Add entries to the
14912 cache as necessary.
14913 (remove_dependence): Remove entries from the true dependency cache
14915 (schedule_insns): Allocate and initialize and free the true
14918 * haifa-sched.c (schedule_insns): Do not remove inter-block
14919 dependencies anymore.
14921 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
14923 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
14924 * i386/t-winnt: Likewise.
14926 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
14928 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
14930 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
14932 * Makefile.in (LANGUAGES): Omit "proto".
14933 (clean): Remove stale comment about removing unprotoize.c.
14935 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14937 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
14938 using arithmetic on void pointers.
14940 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
14942 * haifa-sched.c (compute_block_forward_dependencies): Only check
14943 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
14945 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
14947 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
14948 (expr_equiv_p): Reject memories with different alias sets.
14950 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
14952 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
14953 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
14954 (f_options): Add "bounded-pointers" and "bounds-check" entries.
14955 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
14956 (lang_init): Set default for flag_bounds_check if still "unspecified".
14958 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14960 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
14962 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14964 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
14967 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14969 * config/c4x/c4x.md (*db_noclobber,
14970 *decrement_and_branch_until_zero_noclobber): New patterns and
14971 associated splitters.
14973 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14975 * config/c4x/c4x.md (parallel instruction patterns): Rework
14976 constraints to keep reload happy.
14978 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14980 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
14981 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
14982 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
14983 Add new patterns and associated post-reload splitters.
14985 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14987 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
14989 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14991 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
14993 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
14995 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14997 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
15000 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
15002 * pa.c (move_operand): Rely on memory_address_p to determine the
15003 validity of non-indexed memory addresses.
15004 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15005 operand in DFmode and SFmode when generating PA2.0 code.
15007 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
15009 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15011 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
15013 * mips.c (function_prologue): Fix argument types.
15014 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15015 (casesi_internal): Write to the scratch register.
15017 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
15019 * cppexp.c (cpp_parse_escape): Make static. Change second arg
15021 (parse_charconst): Delete unnecessary cast when calling
15023 (cpplib.h): Kill prototype of cpp_parse_escape.
15025 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
15027 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15028 * unroll.c (unroll_loop): Cast return value of alloca.
15029 * i370/i370.c: Include function.h and toplev.h.
15030 (i370_label_scan): Remove c++ commented abort.
15031 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15032 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15033 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15034 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15036 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
15038 * config/t-freebsd: Do not override USER_H.
15039 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15041 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15042 Mumit Khan <khan@xraylith.wisc.edu>
15044 * c-parse.in (component_decl): Support anonymous struct/union.
15046 * c-parse.y: Regenerate.
15047 * c-parse.c: Likewise.
15048 * objc/objc-parse.y: Likewise.
15049 * objc/objc-parse.c: Likewise.
15050 * c-decl.c (finish_struct): Don't sort the fields.
15051 (field_decl_cmp): Delete unused function.
15053 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
15055 * sparc.md (movsf_const_intreg): Revert last constraint change.
15056 (movdf_const_intreg_sp32): Likewise.
15058 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
15060 * cse.c: Include hashtab.h instead of splay-tree.h
15061 (struct cse_reg_info): No longer use variant union. Add new
15062 field "regno". All references changed to avoid union.
15063 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15064 (free_cse_reg_info): Remove.
15065 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15066 (get_cse_reg_info): Revamp to use expandable hash tables instead
15067 of splay trees. Initialize new fields in cse_reg_info structure.
15068 (new_basic_block): Similarly.
15070 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
15072 * genrecog.c (message_with_line): Prototype.
15073 (validate_pattern): Pass along the set for the dest, not a flag.
15074 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
15075 Check for PC/CC0 as sources.
15076 (nodes_identical): Check for children position match before
15077 allowing the combination.
15079 * rtl.c (read_rtx): Track line number across \\\n.
15081 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
15083 * mips.h (SPECIAL_MODE_PREDICATES): New.
15084 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15085 (movdi+1, movsi+1): Add output reload constraint.
15086 (casesi_internal): Likewise. Fix commentary.
15087 (return_internal): Use pmode_register_operand.
15089 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
15091 * 1750a.md (movstrqi): Add missing output reload constraint.
15092 (call_value): Likewise.
15093 * a29k.md (cpxxx patterns): Add missing match_operator mode.
15094 (jmpfdec): Add missing inout reload constraint.
15095 * elxsi.md (addsi patterns): Add missing output reload constraint.
15096 (move from sp): Use @ alternates.
15097 (call_value): No constraint on output.
15098 * fr30.md (movsi_pop): Add missing output reload constraint.
15099 (movsf_constant_store): Likewise.
15100 (splits): Remove constraints.
15101 (subsi3): Add missing mode.
15102 * i370.md (cmpstrsi+1): Add missing output reload constraint.
15103 (call_value): Likewise.
15104 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15105 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15106 * m32r.md (movsicc_internal): Add output reload constraint.
15107 (movstrsi_internal): Add inout reload constraints.
15108 * m88k.h (reg_names): Don't declare.
15109 (SPECIAL_MODE_PREDICATES): New.
15110 * m88k.md (*): Use register_operand not reg_or_0_operand
15112 * mn10200.h (PREDICATE_CODES): New.
15113 * ns32k.md (ffs pattern): Add output reload constraint.
15114 * pdp11.md (sob pattern): Add inout reload constraint.
15115 * sh.md (splits): Remove constraints.
15116 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15117 * v850.md (pattern_is_ok_for_epilogue): Likewise.
15118 * vax.md (jgequ pattern): Add inout reload constraint.
15120 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
15122 * configure.in (djgpp): Revert previous patch.
15123 * configure: Rebuit.
15124 * config/i386/djgpp.h: Revert previous patch.
15126 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
15128 * fixinc/inclhack.def: Restore patch lost during last merge of
15129 "no_bogosity" branch.
15130 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15132 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
15134 * fixincludes: Add a HPUX 11 fix for inttypes.h.
15135 * fixinc/inclhack.def: Same.
15136 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15138 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
15140 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15141 as the base of a PLUS.
15143 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15145 * config/c4x/c4x.md: Define mode for remaining unspec operators.
15146 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
15148 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
15150 * pa.md (post_stw+1): Use pmode_register_operand.
15151 (dcacheflush, icacheflush): Likewise.
15153 * i386.md (movstricthi_1): Allow r/r.
15155 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
15157 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15158 to (not (and (arg0) (arg1))). Similary for and.
15160 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15161 fallthrough to associate code.
15162 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15165 * combine.c (simplify_logical): Convert XOR to IOR if operands have
15166 no bits in common; remove XOR to ROTATE conversion.
15168 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15170 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15172 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15174 * config/c4x/c4x.c (dst_operand): New.
15175 (PREDICATE_CODES): Update.
15176 * config/c4x/c4x.h (dst_operand): Declare it.
15177 * config/c4x/c4x.md: Define mode for each unspec usage.
15178 (move patterns): Use dst_operand predicate instead of src_operand.
15179 (movqi_update, movqf_update): Delete.
15181 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
15183 * recog.c (pmode_register_operand): New.
15184 * recog.h: Declare it.
15185 * genrecog.c (pred_codes): Likewise.
15186 (special_mode_pred_table): Likewise.
15187 (validate_pattern): Don't warn no mode for address_operand.
15189 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15190 if the operand is not insn-like.
15192 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
15193 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15195 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15197 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
15199 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15200 instead of general_operand in a SET_DEST. Use const_double_operand
15201 instead of an explicit test against CONST_DOUBLE.
15202 (movsf_const_lo): Add missing register mode.
15203 (goto_handler_and_restore): Add auxiliary test for Pmode.
15204 (flush): Adjust to use address_operand.
15205 (return_sf_no_fpu): Add missing output constraint.
15207 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
15209 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15210 for call return value.
15211 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15213 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
15215 * toplev.c (main): Only warn about options for other languages.
15216 * collect2.c (main): Pass -w to sub-gcc.
15218 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
15220 * flow.c (propagate_block): Add call-clobbered registers to
15223 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15224 zapping mem_set_list.
15225 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15226 (mark_set_1, mark_used_regs): Likewise.
15228 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
15230 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15232 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15234 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15235 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15236 options. Also add a new item "C-only Warning Options" to the
15239 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
15241 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15242 from multiple calls.
15244 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
15246 * i386.md (call value patterns): Move to the end of the file.
15247 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15249 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15251 * configure.in (djgpp configuration): Define extra_objects..
15252 * configure: Rebuilt.
15253 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15254 (DTORS_SECTION_ASM_OP): Define.
15255 (INIT_SECTION_ASM_OP): Define.
15256 (FINI_SECTION_ASM_OP): Define.
15257 (DATA_SECTION_ASM_OP): Define.
15258 (TEXT_SECTION_ASM_OP): Define.
15259 (EH_FRAME_SECTION_ASM_OP): Define.
15260 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15261 (STARTFILE_SPEC): Add crtbegin.o.
15262 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15263 to here from LINK_COMMAND_SPEC.
15264 (DO_GLOBAL_CTORS_BODY): Define.
15265 (CRTSTUFF_USE_FINI_SECTION): Define
15266 (HAS_INIT_SECTION): Delete.
15268 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
15270 * Makefile.in (all.cross): Depend on xcpp$(exeext).
15272 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
15274 * pa.h (PREDICATE_CODES): New.
15276 * genrecog.c (validate_pattern): Condense the destination
15277 non-lvalue message.
15279 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
15281 * alpha.md (call-1): Supply missing mode for operator.
15282 (*): Add missing output reload constraints. Remove constraints
15283 from define_splits.
15285 * i386.h (SPECIAL_MODE_PREDICATES): New.
15286 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15287 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15288 (addsi_lea_3): Add missing mode for op 3.
15289 (prologue_set_got, prologue_get_pc): Add missing modes.
15290 (*) Add missing output reload constraints.
15292 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
15294 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15295 check for member bit-size overflow and use var_size if it occurs.
15296 (layout_record): Use bitsize_int() to define the type size in bits.
15297 Likewise for computation and assignment to DECL_FIELD_BITPOS.
15298 (layout_decl): Likewise when assigning to DECL_SIZE.
15300 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
15302 * genrecog.c (validate_pattern): Typo last change. Verify
15303 that output operands have output reloads.
15305 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
15307 * genrecog.c (special_mode_pred_table): New.
15308 (NUM_SPECIAL_MODE_PREDS): New.
15309 (find_operand): New.
15310 (validate_pattern): New argument `insn'. Warn for assignment to
15311 any predicate accepting non-lvalues. Conditionaly warn for
15312 match_operand without a mode. Try much harder to match source
15313 and destination modes on a set.
15314 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15316 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
15318 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15320 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
15322 * combine.c (simplify_logical): Recognize xor pattern that encodes
15325 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15327 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15330 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
15332 * ggc-page.c (MAP_FAILED): Provide default.
15334 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
15336 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15337 * sparc.h (PREDICATE_CODES): Update.
15339 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
15341 * alpha.c (some_ni_operand): New.
15342 * alpha-protos.h: Declare it.
15343 * alpha.h (PREDICATE_CODES): Update.
15344 * alpha.md (sXaddq reload insns): Use some_ni_operand
15345 for SET_DEST instead of some_operand.
15347 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
15348 Jim Wilson <wilson@cygnus.com>
15350 * genrecog.c (maybe_both_true_2): Don't compare modes of
15352 (process_tree): Elide peephole2_insns. Invoke simplify_tests
15353 after find_afterward.
15354 (debug_decision_1): Dump next and afterward codes.
15356 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
15358 * rtl.c (dump_and_abort): Remove.
15359 (fatal_with_file_and_line): New.
15360 (fatal_expected_char): New.
15361 (read_rtx_lineno, read_rtx_filename): New.
15362 (read_skip_spaces): Track line number.
15363 (read_name): Use fatal_with_file_and_line.
15364 (read_rtx): Use fatal_expected_char. Track line number.
15365 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15367 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15368 if it isn't a CODE_LABEL.
15370 * genattr.c (main): Set read_rtx_filename.
15371 * genattrtab.c (main): Likewise.
15372 * gencodes.c (main): Likewise.
15373 * genconfig.c (main): Likewise.
15374 * genemit.c (main): Likewise.
15375 * genextract.c (main): Likewise.
15376 * genflags.c (main): Likewise.
15377 * genopinit.c (main): Likewise.
15378 * genoutput.c (main): Likewise.
15379 * genpeep.c (main): Likewise.
15381 * genrecog.c (decision_test.u.insn): Add `lineno'.
15382 (pattern_lineno, error_count): New variables.
15383 (message_with_line): New.
15384 (add_to_sequence): Break out checking code to ...
15385 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
15386 (merge_insn): Use message_with_line.
15387 (make_insn_sequence): Use validate_pattern. Record insn lineno.
15388 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
15390 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15392 * expr.c (store_constructor): Clear union if constructor is empty.
15394 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
15396 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15397 Add !endian checks. Change %{...} to %(...).
15399 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
15401 * i386.md (*addsi3_cc): Renamed from addcsi3.
15402 (*addsi3_carry): Renamed from addxsi3.
15403 (*subsi3_cc): Renamed from subcsi3.
15404 (*subsi3_carry): Renamed from subxsi3.
15405 (*xorqi_cc_1): Renamed from xorcqi_1.
15406 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15407 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15409 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
15411 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15412 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15414 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
15416 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15417 climb up the chain of insns.
15419 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
15421 * genrecog.c (write_subroutine): Careful for null trees.
15422 (process_tree): Don't elide empty functions.
15424 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
15426 * Makefile.in (genrtl.o): Depend on ggc.h.
15427 * configure.in (valloc): Probe for it.
15428 (with-gc): Use ggc-page if valloc present.
15429 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15430 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15431 (ggc_alloc_string): Moved from ggc-page.c.
15432 * ggc-none.c (ggc_alloc_obj): New.
15433 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15434 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15435 (struct globals): Likewise for dev_zero_fd.
15436 (init_ggc): Likewise for it's initialization.
15437 (ggc_allocated_p): Move careful dereference from ...
15438 (ggc_lookup_page_table): ... here. Delete.
15439 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15440 (alloc_anon): Use valloc if no mmap.
15441 (release_pages): Use free if using valloc.
15442 (ggc_alloc_obj): Renamed from alloc_obj.
15443 (ggc_set_mark): Renamed from mark_obj.
15444 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15445 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15446 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15447 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15448 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15449 (ggc_collect): Use fp printing instead of our own rounding.
15450 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15451 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15452 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15453 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15454 (struct ggc_string, struct ggc_any): Delete.
15455 (offsetof): Provide default definition.
15456 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15458 (struct ggc_mem): New, from corpse of ggc_any.
15459 (struct ggc_status): Delete.
15460 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15461 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15462 (n_strings_collected, n_anys_collected): Delete.
15463 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15464 (ggc_alloc_string, ggc_alloc): Delete.
15465 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15466 (ggc_free_string, ggc_free_any): Delete.
15467 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15468 (ggc_compare_addresses, ggc_mark_string): Delete.
15469 (ggc_mark_string_if_gcable, ggc_mark): Delete.
15470 (search_data): Delete.
15471 (struct globals): New.
15472 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15473 (tree_insert, tree_lookup): New.
15474 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15475 (clear_marks, sweep_objs): New.
15476 (ggc_collect): Gut. Use clear_marks, sweep_objs.
15477 (init_ggc): Set allocated_last_gc.
15478 (ggc_push_context): Gut. Use G.context.
15479 (ggc_pop_context): Likewise.
15480 (ggc_pop_context_1): New.
15481 (debug_ggc_tree): New.
15482 (debug_ggc_balance, tally_leaves): New.
15483 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15484 (ggc_mark_string_if_gcable): Remove decl.
15485 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15486 (ggc_mark_rtvec_children): New.
15487 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15488 (ggc_mark_if_gcable): New decl.
15489 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15490 (ggc_alloc_tree, ggc_alloc): Likewise.
15491 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15492 (ggc_alloc_obj): New decl.
15493 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15494 (ggc_alloc_tree, ggc_alloc): Likewise.
15495 (ggc_set_mark): New decl.
15496 * rtl.h (struct rtx_def): Remove gc_mark.
15497 (struct rtvec_def): Likewise.
15498 * tree.h (struct tree_common): Likewise.
15500 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
15502 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15503 float_format and thread_file definitions.
15504 * configure: Rebuilt.
15506 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
15508 * extend.texi (Function Names): Document types of function names.
15510 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15512 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
15513 an earlyclobbered output conflict with RELOAD_INPUT reloads.
15515 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15517 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15519 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15521 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15523 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
15525 * collect2.c (main): Do prelimnary link on AIX if rflag.
15527 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15529 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15530 __CTOR_LIST__ in opposite order, which is the correct order for sorted
15532 (__do_global_dtors): similarly for __DTOR_LIST__.
15534 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15535 Diego Novillo <dnovillo@cygnus.com>
15537 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15540 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
15542 * fixincl/*: Merged "no_bogosity" branch
15543 * fixincl/fixlib.h: protect against doubly defining t_bool
15544 * fixincl/server.h: protect against doubly defining t_bool
15546 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
15548 * genoutput.c: Include toplev.h.
15550 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
15552 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15554 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15555 * configure: Regenerate.
15557 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
15559 * gcse.c (delete_null_pointer_checks): Returns void.
15561 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15563 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15564 * emit-rtl.c (copy_insn_1): Likewise.
15566 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
15568 * config/mips/mips.c (mips_build_va_list): Correct
15569 TREE_CHAIN setting when hard-float.
15570 (mips_va_start): Use corrected setting.
15571 (mips_va_arg): Likewise. Also pass a tree to build of
15572 POSTINCREMENT_EXPR rather than a naked 'int'.
15574 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
15576 * ggc.h (ggc_push_context): Fix comment.
15577 (ggc_pop_context): Likewise.
15578 (mark_string_if_gcable): Likewise.
15579 * ggc-common.c (ggc_mark_rtx_children): Use
15580 ggc_mark_string_if_gcable.
15581 * ggc-page.c (ggc_lookup_page_table): New function.
15582 (ggc_allocated_p): Likewise.
15583 (mark_obj): Fix formatting.
15584 (ggc_mark_string_if_gcable): New function.
15585 * ggc-simple.c (ggc_allocated_strings): New variable.
15586 (ggc_strings_used): Likewise.
15587 (ggc_compare_addresses): New function.
15588 (ggc_pop_context): Pop the `any' memory too.
15589 (ggc_mark_string_if_gcable): New function.
15590 (ggc_collect): Initialize and tear down ggc_allocated_strings.
15592 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
15594 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15595 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15596 * rs6000.c (expand_block_move): Match movstrsi_?reg register
15599 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
15601 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15602 (sched_reg_live_length, sched_reg_basic_block): Delete.
15603 (current_block_num, bb_live_regs, old_live_regs): Delete.
15604 (dead_notes, struct sometimes): Delete.
15605 (sched_note_set, birthing_insn_p): Delete.
15606 (adjust_priority): Gut useless reg lifetime code.
15607 (create_reg_dead_note, attach_deaths): Delete.
15608 (attach_deaths_insn, new_sometimes_live): Delete.
15609 (finish_sometimes_live): Delete.
15610 (find_pre_sched_live, find_post_sched_live): Delete.
15611 (update_reg_usage): Delete.
15612 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15613 (schedule_insns): Delete reg lifetime code.
15614 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15615 (unlink_other_notes): Adjust REG_NOTE commentary.
15616 (reemit_notes): Use REG_SAVE_NOTE.
15617 (schedule_block): Likewise.
15618 (schedule_region): Allocate bitmap of blocks in region. Use
15619 count_or_remove_death_notes. Use update_life_info.
15621 * rtl.h (REG_SAVE_NOTE): New.
15622 * rtl.c (reg_note_name): Update.
15624 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
15626 * combine.c (refresh_blocks, need_refresh): New.
15627 (combine_instructions): Allocate refresh_blocks. Invoke
15628 update_life_info if needed.
15629 (distribute_notes): Mark refresh_blocks instead of installing
15631 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15632 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15634 * Makefile.in (recog.o): Depend on basic-block.h.
15636 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
15638 * genrecog.c (add_to_sequence): Thinko last change: delete
15639 shadowing allow_const_int variable.
15641 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15643 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
15644 __GNUC__ and __GNUC_MINOR__.
15646 * gansidecl.h: Likewise.
15652 * toplev.h: Likewise.
15654 * tree.c: Likewise.
15656 * tree.h: Likewise.
15658 * varray.c: Likewise.
15660 * varray.h: Likewise.
15662 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15664 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
15665 use one before a jump table.
15667 * rtl.def (ADDRESS): Change documentation to match reality.
15668 * md.texi: Don't document it.
15669 * gmicro.md (load address pattern): Use 'p' constraint, delete use
15672 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
15674 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
15676 * genrecog.c (add_to_sequence): Move allow_const_int test outside
15677 known predicate block; default allow_const_int true.
15678 (debug_decision_list): New.
15680 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
15682 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
15684 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
15686 * gcse.c (gcse_main): Avoid global optimizations if we have a
15687 large number of basic blocks and the ratio of edges to blocks
15689 (delete_null_pointer_checks): Likewise.
15691 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
15693 * c-common.c (check_format_info): Warn if format string isn't a
15696 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15698 * configure.in (arm*-*-*): Don't let autoconf remove brackets
15699 * configure: regenerate
15701 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
15703 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
15704 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
15705 (peepholes): Re-enable.
15707 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
15709 * Makefile.in (flow.o): Depend on TREE_H.
15710 * basic-block.h (REG_SET_EQUAL_P): New.
15711 (XOR_REG_SET): New.
15712 (n_edges): Declare.
15713 (free_regset_vector): Remove declaration.
15714 (flow_delete_insn_chain): Declare.
15715 (enum update_life_extent): New.
15716 (update_life_info, count_or_remove_death_notes): Declare.
15717 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
15718 Verify register live at bb->global_live_at_start before adding USE.
15719 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
15720 (CLEAN_ALLOCA): New.
15722 (PROP_*): New flags.
15723 (find_basic_blocks_1): Use alloc_EXPR_LIST.
15724 (clear_edges): Zero n_edges.
15725 (make_edge): Increment n_edges.
15726 (split_edge): Don't allocate bb->local_set. Increment n_edges.
15727 (flow_delete_insn_chain): Export.
15728 (delete_block): Decrement n_edges.
15729 (merge_blocks_nomove): Likewise.
15730 (life_analysis): Give life_analysis_1 PROP flags.
15731 (verify_wide_reg_1, verify_wide_reg): New.
15732 (verify_local_live_at_start): New.
15733 (update_life_info): Rewrite to call into propogate_block.
15735 (mark_regs_live_at_end): After reload, if epilogue as rtl,
15736 always mark stack pointer. Conditionally mark PIC register.
15737 After reload, mark call-saved registers, return regsiters.
15738 (life_analysis_1): Accept PROP flags not remove_dead_code.
15739 Call mark_regs_live_at_end before zeroing regs_ever_live.
15740 Use calculate_global_regs_live. Copy global_live_at_end before
15741 calling final propagate_block. Zero reg_next_use on exit.
15742 (calculate_global_regs_live): New.
15743 (allocate_bb_life_data): Don't allocate bb->local_set.
15744 (init_regset_vector, free_regset_vector): Remove.
15745 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
15746 Test flags before every operation. Warn if prologue/epilogue insn
15747 would have been deleted.
15748 (mark_set_regs, mark_set_1): Accept and use FLAGS.
15749 Use alloc_EXPR_LIST.
15750 (mark_used_regs): Accept and use FLAGS, not FINAL.
15751 Remove special handling for RETURN.
15752 (try_pre_increment): Use alloc_EXPR_LIST.
15753 (dump_flow_info): Dump n_edges.
15754 (unlink_insn_chain, split_hard_reg_notes): Remove.
15755 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
15756 (find_insn_with_note, new_insn_dead_notes): Remove.
15757 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
15758 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
15759 (replace_insns): Remove.
15760 (count_or_remove_death_notes): New.
15761 (verify_flow_info): Abort on error after all checks.
15762 (remove_edge): Decrement n_edges.
15763 (remove_fake_edges): Tweek format.
15764 * haifa-sched.c (schedule_insns): Use split_all_insns.
15765 * output.h (update_life_info): Remove declaration.
15766 * recog.c (split_all_insns): From the corpse of split_block_insns,
15767 do the whole function block by block. Use update_life_info.
15768 (recog_last_allowed_insn): New.
15769 (recog_next_insn): Mind it.
15770 (peephole2_optimize): Set it. Walk backwards through blocks.
15771 Use update_life_info.
15772 * rtl.h (update_flow_info, replace_insns): Remove declarations.
15773 (split_all_insns): Declare.
15774 * toplev.c (rest_of_compilation): Thread prologue before flow2.
15775 Use split_all_insns.
15777 * i386.md (or -1 peep2s): Disable.
15779 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
15781 * config/mips/mips.md (movstrsi+[123]) : Combine these into
15782 a single pattern. Scrap the 'd' versions as unnecessary.
15784 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
15785 tablejump_mips162,tablejump_internal4): The operands to a
15786 label_ref must be VOIDmode.
15788 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15790 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
15792 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
15794 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
15796 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
15798 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
15799 cache every function if ggc_p.
15801 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15803 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
15804 instead of copy_rtx. Accept sequences that contain asm statements.
15805 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
15806 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
15807 orig_asm_operands_vector, copy_asm_operands_vector,
15808 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
15810 * rtl.h (copy_insn, copy_insn_1): Declare.
15812 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15814 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
15816 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
15817 arguments to `current_file_function_operand'.
15819 * genrecog.c: Include hard-reg-set.h and resource.h in the
15820 generated output file.
15822 * real.c: Include tm_p.h.
15824 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15826 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
15829 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
15831 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
15832 before the fctiwz insn.
15834 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15835 Mark Mitchell <mark@codesourcery.com>
15837 * tree.c (make_lang_type_fn): New funtion pointer.
15838 (make_lang_type): Call it.
15839 * tree.h (make_lang_type): Declare.
15840 (make_lang_type_fn): Likewise.
15841 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
15843 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
15845 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
15846 make sure that HIGH instructions are copied into BASE_REGS.
15848 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
15850 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
15852 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
15854 * c-decl.c (finish_struct): Use simpler method of
15855 removing elements of a singly-linked list.
15857 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
15859 * alpha.md (peephole2's): Comment out peephole2's that generate
15862 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
15864 * genrecog.c (add_to_sequence): Disable mode check for
15867 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15869 * ggc-simple.c (init_ggc): Set empty_string.
15871 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
15873 * configure.in: Detect mmap. Add --with-gc=foo to select
15874 garbage collector; default to page if mmap available.
15875 * Makefile.in (GGC): Substitute.
15877 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
15879 * c-decl.c (ggc_p): Enable.
15881 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15883 * flow.c (verify_flow_info): Make it extern & unconditionally define.
15885 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
15887 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
15888 string for little-endian-data.
15890 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
15892 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
15893 case somebody tries to compile --enable-checking code with gcc
15896 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
15898 * genrecog.c (add_to_sequence): Verify operand to label_ref is
15901 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
15903 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
15904 * jump.c (jump_optimize_1): Document why.
15906 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15908 * collect2.c (scan_prog_file, scan_libraries): Prototype function
15909 pointers and casts for `int_handler' and `quit_handler'.
15911 * flow.c (verify_flow_info, split_hard_reg_notes,
15912 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
15913 remove_edge, remove_fake_successors): Add static prototypes.
15914 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
15915 (mark_set_1): Initialize variable `regno'.
15916 (unlink_insn_chain): Likewise for variable `curr'.
15917 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
15919 * loop.c (strength_reduce): Initialize variable
15920 `unrolled_insn_copies'.
15921 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
15922 prototypes. Change these functions to take const PTR parameters
15923 to avoid prototype conflict when used as the comparson argument
15925 (check_dbra_loop): Initialize variable `comparison_val'.
15927 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
15928 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
15929 (find_valid_class): Initialize variable `best_class'.
15930 (find_reloads): Call memcpy, not bcopy.
15932 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
15933 (hard_reg_use_compare): Don't needlessly cast away const.
15934 (reload_reg_class_lower): Likewise.
15935 (choose_reload_regs): Initialize variable `regno'.
15937 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
15939 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
15941 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
15943 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
15944 ({,d}discard): Add forward declarations. Declare parameter as
15946 (main_without_main): Explicitly declare return type to be int.
15947 (memcpy): Properly declare.
15949 * libgcc2.c (toplevel): If inhibit_libc is defined and not
15950 building the trampoline support, declare malloc, free, and
15952 (__clear_cache): Mark arguments as potentially unused.
15954 * frame.c (toplevel): If inhibit_libc is defined, declare
15957 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
15959 * flow.c (make_edge): Accept an optional 2D bitmap in which
15960 to cache edge existence. Update all callers.
15961 (make_label_edge, make_eh_edge): Pass through the edge cache.
15962 (make_edges): Provide the cache.
15964 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15966 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
15968 (local_mbtowc): Change the type of variable `i' from int to size_t.
15970 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
15971 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
15973 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
15975 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
15976 after other includes that define the appropriate types. Include
15977 tm_p.h for getting user prototypes.
15978 * ggc-callbacks.c (toplevel): Ditto.
15979 * ggc-none.c (toplevel): Ditto.
15980 * gcc-page.c (toplevel): Ditto.
15981 * ggc-simple.c (toplevel): Ditto.
15983 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
15984 Jonathan Larmour <jlarmour@cygnus.co.uk>
15986 * config/mips/mips.c (mips_move_2words): Split doubles if
15987 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
15989 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
15991 * genrecog.c (struct decision_test): New.
15992 (struct decision): Remove test-related members, sort the rest by size.
15993 (IS_SPLIT): Simplify.
15994 (new_decision, new_decision_test): New.
15995 (add_to_sequence): Use them. No special handling for args of
15997 (maybe_both_true): Renamed from not_both_true; return sense changed.
15998 (maybe_both_true_1, maybe_both_true_2): New. Broken out
15999 of maybe_both_true and adjusted for decision_test.
16000 (position_merit): Remove.
16001 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16002 (merge_accept_insn): New, broken out of merge_trees.
16003 (merge_trees): Use them. No special case for c_test; no node
16004 splitting; use test type instead of position_merit.
16005 (factor_tests): New.
16006 (simplify_tests): New.
16007 (break_out_subroutines): Don't write code now.
16008 (find_afterward): New.
16009 (write_afterward, write_switch, write_cond): New.
16010 (write_action, is_unconditional): New.
16011 (write_node): New. Use them.
16012 (write_tree_1): Rewrite. Use the new functions above.
16013 (write_tree): Remove afterward processing.
16014 (write_subroutine): Simplify function variant emission.
16015 (write_subroutines): New.
16016 (same_codes, clear_codes): Remove.
16017 (same_modes, clear_modes): Remove.
16018 (write_header): New, broken out of main.
16019 (make_insn_sequence): Use new_decision and new_decision_test.
16020 (process_tree): New, broken out of main.
16021 (main): Adjust for merge_trees interface change.
16022 Don't #define operands in the output file.
16023 (record_insn_name): New, broken out of make_insn_sequence.
16024 (debug_decision_2, debug_decision_1, debug_decision_0): New.
16025 (debug_decision): New.
16027 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
16029 * resource.c (find_free_register): Mark class_str argument const.
16030 * resource.h: Update prototype to match.
16032 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16033 * i386.md: Give all anonymous insns names.
16035 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
16037 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16040 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
16042 * toplev.c (dbr_sched_time): Unconditional.
16043 (peephole2_time): New.
16044 (compile_file): Add pass numbers to all of the dump file suffixes.
16045 Dump peephole2_time. Don't dump times for non-applicable passes.
16046 (rest_of_compilation): Add pass numbers to dump file suffixes.
16047 Conditionalize calls to the scheduler.
16048 * invoke.texi: Update.
16050 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
16052 * flow.c (make_edges): Fix insn iteration.
16053 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16054 (find_basic_blocks_1): Fix spelling mistake.
16056 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
16058 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16059 always have side-effects. Use memset not bzero.
16060 (make_node): Likewise.
16062 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
16064 * stmt.c (expand_anon_union_decl): When any of the elements of the
16065 union is addressable, so is the entire union.
16067 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
16069 * sbitmap.c (sbitmap_ones): Don't set too many bits.
16071 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16072 * bitmap.c (bitmap_operation): Return true iff TO changed.
16073 (bitmap_equal_p): New.
16074 (bitmap_bit_p): Tidy arithmetic.
16075 (debug_bitmap_file): Likewise.
16077 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
16079 * toplev.c (rest_of_compilation): Turn on cse_not_expected
16080 before cse2 instead of after.
16082 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
16084 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16087 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16089 * cppinit.c (is_idchar initializer): Loosen tests to accept
16092 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
16094 * mips.md: Define conditional move patterns for floating point
16095 operands and DI mode conditions.
16097 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
16099 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16100 always have side-effects.
16102 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
16104 * mn10200.c (asm_file_start): Fix typo.
16106 * cppinit.c (is_idchar initializer): Tighten tests for when
16107 to put the table into initialized memory.
16109 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16110 not an array of rtunion.
16111 * gcc-page.c (ggc_alloc_rtvec): Similarly.
16112 * gcc-simple (ggc_free_rtvec): Similarly.
16114 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16117 * mbchar.h: Add missing #endif.
16119 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16120 (FPBIT, DPBIT): Define.
16122 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16124 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16126 * profile.c (instrument_arcs, output_gcov_string,
16127 tablejump_entry_p): Add static prototypes.
16128 (output_gcov_string): Constify a char*.
16130 * regmove.c (replacement_quality, fixup_match_2): Add static
16133 * resource.h (reg_dead_p): Add extern prototype.
16135 * rtl.c (trim_filename): Add static prototype.
16137 * scan-decls.c (skip_to_closing_brace): Likewise.
16139 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16140 (expand_end_case): Initialize variable `range'.
16141 (emit_case_nodes): Remove unused prototype `rtx_fn'.
16143 * varasm.c (asm_emit_uninitialised): Add static prototype.
16144 (asm_emit_uninitialised, assemble_variable): Mark parameter with
16147 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16149 * cpplib.c (if_directive_nameo): Add static prototype.
16151 * cse.c (cse_insn): Remove unused variable `p'.
16153 * except.c (create_rethrow_ref, push_entry,
16154 receive_exception_label, new_eh_region_entry, find_func_region,
16155 clear_function_eh_region, process_nestinfo): Add static prototypes.
16156 (get_reg_for_handler): Hide definition.
16157 (process_nestinfo): Initialize variable `extra_handlers'.
16159 * expr.h (expand_builtin_longjmp): Add extern prototype.
16161 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16163 * function.c (prepare_function_start): Likewise.
16164 (pop_function_context_from): Mark parameter `context' with
16166 (push_temp_slots_for_block, flush_addressof): Hide definition.
16168 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16169 solve_program_flow_graph, calculate_branch_probs,
16170 function_summary, main, fancy_abort): Add prototypes.
16172 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16173 (add_hash): Constify a char*.
16175 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16176 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16177 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16179 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16181 * lists.c (free_list, zap_lists): Likewise.
16183 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16185 * alias.c (nonlocal_reference_p): Add static prototype.
16187 * bitmap.c (bitmap_element_allocate): Prototype args in function
16190 * builtins.c (stabilize_va_list): Add static prototype.
16191 (expand_builtin_va_arg): Constify a char*.
16193 * c-lex.c (getch, put_back, extend_token_buffer_to,
16194 read_line_number, token_getch, token_put_back): Add static
16197 * c-parse.gperf (hash, is_reserved_word): Likewise.
16199 * cccp.c (is_dir_separator): Likewise.
16201 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16203 * graph.h: New file to prototype functions exported by graph.c.
16205 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16207 * graph.c: Include graph.h.
16209 * toplev.c: Likewise. Remove redundant prototypes.
16211 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
16213 * invoke.texi: Removed duplicated description for -Q.
16215 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
16217 * extend.texi: Grammar fix in __extension__ text.
16219 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
16221 * md.texi (define_peephole2): New section.
16223 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
16225 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16226 (mov $-1 to or peepholer): Enable for pentium when optimizing for
16229 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
16231 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16233 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
16235 * i386.md (ffs expander): Emit Pentium friendly code for
16238 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
16240 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16242 (build1): Likewise.
16244 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16246 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16248 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
16250 * config/m68k/m68k.c (use_return_insn): Return false if the pic
16251 register is in use.
16253 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16255 * md.texi (No Constraints): Delete section.
16256 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16257 * final.c (final_scan_insn): We always have register constraints.
16258 * genattrtab.c: Don't include "insn-config.h".
16259 (write_attr_case): We always have register constraints.
16260 * genconfig.c (register_constraint_flag): Delete.
16261 (walk_insn_part): Don't check whether we have register constraints.
16262 (main): Don't write out "#define REGISTER_CONSTRAINTS".
16263 * genoutput.c (have_constraints): Delete.
16264 (main): Don't set it.
16265 (output_operand_data): We always have constraints.
16266 (scan_operands): Likewise.
16267 (compare_operands): Likewise.
16268 * local-alloc.c (block_alloc): We always have constraints.
16269 (requires_inout): Always compile this function.
16270 * recog.c (extract_insn): We always have constraints.
16271 (constrain_operands, reg_fits_class_p): Always compile these
16273 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16275 (struct insn_operand_data): Likewise.
16276 * regclass.c (regclass): We always have constraints.
16277 (record_reg_classes, copy_cost, record_address_regs,
16278 auto_inc_dec_reg_p): Always compile these functions.
16279 * regmove.c (regmove_optimize): We always have constraints.
16280 * reload.c (find_reloads): Likewise.
16281 * reload1.c (reload): Likewise.
16282 (reload_cse_simplify_operands): Likewise.
16283 * i860.c (output_delay_insn): Likewise.
16285 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
16287 * iris6.h (BUILD_VA_LIST_TYPE): Define.
16289 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16291 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16292 for the va_list record.
16294 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
16296 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16299 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
16301 * alias.c: Include insn-flags.h.
16302 * Makefile.in (alias.o): Update.
16304 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
16306 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16307 to LTU and GEU. Handle more cases using sbb.
16309 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
16311 * i386.md (truncatexfdf splitters): Do not use subreg.
16312 (fop XFmode patterns): Fix mode in operand testing.
16314 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
16316 * jump.c (jump_optimize_1): Amend last change to test only the
16317 form of the operand, not the insn.
16319 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16320 not register_operand to determine when B may need preloading.
16322 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
16324 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16325 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16326 (call-value patterns): Move to end of file.
16327 (*): Remove mode from label_ref in (pc) context.
16328 (movstrqi): Use memory not general_operand for BLKmode operands.
16329 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16330 to register_operand operands.
16331 (peep2 patterns): Convert from commented-out peephole patterns.
16333 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16335 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16336 to BUILT_IN_INIT_DWARF_REG_SIZES.
16337 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16338 Renamed from BUILT_IN_DWARF_REG_SIZE; call
16339 expand_builtin_init_dwarf_reg_sizes.
16340 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16341 with __builtin_init_dwarf_reg_size_table.
16342 * dwarf2out.c (struct reg_size_range): Delete.
16343 (expand_builtin_init_dwarf_reg_sizes): New function.
16344 (expand_builtin_dwarf_reg_size): Delete.
16345 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16346 (expand_builtin_dwarf_reg_size): Don't declare.
16347 * libgcc2.c (dwarf_reg_size_table_initialized): New.
16348 (dwarf_reg_size_table): New.
16349 (init_reg_size_table): New function.
16350 (copy_reg): Use dwarf_reg_size_table.
16351 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16354 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
16356 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16357 Correctly build argument list to constructor and destructor functions.
16359 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
16361 * c-tree.h (warn_float_equal): Declare.
16362 * c-decl.c (warn_float_equal): Define.
16363 (c_decode_option): Recognize -W[no-]float-equal.
16364 * c-typeck.c (build_binary_op): Conditionally warn
16365 about equality tests of floating point types.
16366 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16367 * invoke.texi: Add docs for -Wfloat-equal warning.
16369 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
16371 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16372 generating RTL directly.
16373 * mips.h (INIT_TARGET_OPTABS): Likewise.
16374 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16376 * expr.h (init_mov_optab): Delete declaration
16378 * h8300.c (WORD_REG_USED): Update to avoid useless register
16379 saves in interrupt functions and functions which never return.
16381 * cse.c (struct set): Delete inner_dest_loc field.
16382 (cse_insn): Remove assignments to inner_dest_loc field.
16384 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
16386 * ggc-page.c: Don't include <unistd.h> etc taken care of
16387 by "system.h". Include <sys/mman.h> afterward.
16389 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
16391 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16394 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
16396 * xcoffout.c (xcoffout_declare_function): Add documentation.
16397 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16398 TARGET_64BIT. Compare constant to -1, not bit pattern.
16399 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16400 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
16403 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
16405 * dwarf2out.c (add_abstract_origin_attribute): Abort if
16406 origin_die is NULL.
16407 (gen_inlined_enumeration_type_die): Do not abort if the type has
16408 not been writeen out.
16409 (gen_inlined_structure_type_die): Do not abort if the type has
16410 not been writeen out.
16411 (gen_inlined_union_type_die): Do not abort if the type has
16412 not been writeen out.
16413 (gen_tagged_type_instantiation_die): Do not abort if the type
16414 has not been written out.
16416 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16418 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16420 * reg-stack.c (straighten_stack): Copy hard reg set with
16423 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
16425 * builtins.c (stabilize_va_list): Stabilize array type va_list
16426 to a pointer type, not the base record type.
16427 (expand_builtin_va_copy): Dereference the pointers explicitly;
16428 use the correct size for the copy.
16430 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16431 (rs6000_va_arg): Likewise.
16433 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
16435 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16437 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
16439 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16441 (DECL_BUILT_IN_CLASS): Adjust accordingly.
16443 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
16445 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16446 (init_ggc): Use it instead of a constant.
16447 (ggc_collect): Bound allocated_last_gc by it.
16449 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
16451 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16454 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
16456 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
16457 (mips*-*-openbsd*): Let big endian configuration be a fragment.
16458 * configure: Regen.
16459 * config/mips/openbsd.h: New, OpenBSD little endian target.
16460 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
16461 * config/mips/xm-openbsd.h: New, OpenBSD host.
16463 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
16465 * config/m68k/m68k.c (output_function_prologue,
16466 output_function_epilogue): Use
16467 current_function_uses_pic_offset_table instead of regs_ever_live
16468 to decide whether to save/restore pic register.
16469 (legitimize_pic_address): Don't modify regs_ever_live any more.
16471 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
16473 * function.h (struct function): Add x_dont_save_pending_sizes_p.
16474 * stor-layout.c (variable_size): Don't add sizes to the pending
16475 sizes list if x_dont_save_pending_sizes_p is set.
16477 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
16479 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16480 for symbolic_operand().
16481 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16483 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16485 * combine.c (gen_rtx_combine): Add missing call to va_end().
16487 * final.c (asm_fprintf): Likewise.
16489 * genattrtab.c (attr_rtx): Likewise.
16491 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
16493 * cse.c: Update comments.
16494 (cse_insn): When converting a conditional/computed jump into
16495 an unconditional jump, always make sure a BARRIER immediately
16496 follows the converted jump. Do not delete unreachable code.
16497 (cse_basic_block): Do not delete unreachable code.
16498 * toplev.c (rest_of_compilation): Move call to
16499 delete_trivially_dead_insns after the conditional call to
16502 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16504 * collect2.c (make_temp_file): Don't prototype.
16506 * gcc.c (make_temp_file): Likewise.
16508 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16510 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
16512 * varasm.c (asm_emit_uninitialised): New function: Generate
16513 the assembler statements necessary to declare an uninitialised
16515 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16517 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16518 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16520 (assemble_variable): Use asm_emit_uninitialised to emit an
16521 uninitialised variable.
16523 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
16525 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16526 constant on a 64 bit host. Patch supplied by Geoffrey Keating
16527 <geoffk@cygnus.com>.
16529 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16531 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16532 * c-common.h (builtin_function): Don't declare.
16534 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16536 (pushdecl): Likewise.
16537 (finish_decl): Likewise.
16538 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
16539 int. All callers changed.
16540 Set the builtin's DECL_BUILT_IN_CLASS.
16541 * tree.h (enum built_in_class): New.
16542 (enum built_in_function): Delete NOT_BUILT_IN.
16543 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16545 (DECL_SET_FUNCTION_CODE): Likewise.
16546 (DECL_BUILT_IN_CLASS): New macro.
16547 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16548 (struct tree_decl): Split builtin function code field into a
16550 (builtin_function): Declare.
16552 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
16554 * optabs.c (init_traps): Fix typo in last change.
16556 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
16558 * toplev.c (rest_of_decl_compilation): Update comment.
16560 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
16562 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16563 in .sbss if appropriate.
16564 (EXTRA_SECTION_FUNCTIONS): Add sbss.
16565 (SBSS_SECTION_ASM_OP): New macro.
16566 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16567 (EXTRA_SECTIONS): Add in_sbss.
16568 * config/mips/mips.h: Prototype sbss_section.
16570 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
16572 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16575 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
16577 * optabs.c (init_traps): Register trap_rtx as a GC root.
16579 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16581 * config/mips/mips.c (function_arg_pass_by_reference): Define
16582 unconditionally, since it's called unconditionally.
16584 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16586 * toplev.c (documented_lang_options): Add -fshort-wchar.
16587 * c-decl.c (c_decode_option): Likewise.
16588 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16590 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16591 * gcc.c (default_compilers): If -fshort-wchar,
16592 override __WCHAR_TYPE__.
16593 * tm.texi (C Dialect Options): Add -fshort-wchar.
16595 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16596 symbol for a variable.
16598 * cpplib.h (CPP_PREPROCESSED): New macro.
16599 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16600 we're seeing this input for a second time.
16602 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
16604 * emit-rtl.c (init_emit_once): Initialize modes first.
16606 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
16608 * config/i386/i386.c (pic_label_name): Change to char pointer.
16609 (global_offset_table): New variable.
16610 (load_pic_register): Fill global_offset_table if it hasn't
16611 already been done. Allocate pic_label_name dynamically.
16612 * ggc.h (empty_string): New variable.
16613 * ggc-simple.c (empty_string): Likewise.
16614 (init_ggc): Allocate empty_string and add as root.
16615 * stmt.c (digit_strings): New variable.
16616 (init_stmt): Add last_block_end_note as root. Allocate and
16617 initialize digit_strings.
16618 (expand_asm_operands): Use empty_string instead of string
16619 constant. Use digit_strings instead of string constants.
16620 * profile.c (init_arc_profiler): Allocate string with
16621 ggc_alloc_string instead of xmalloc.
16622 (output_func_start_profiler): Likewise.
16623 * c-typeck.c (digest_init): Check if init is error_mark_node.
16625 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
16626 Richard Henderson <rth@cygnus.com>
16628 * ggc-page.c: New file.
16629 * Makefile.in (ggc-page.o): New.
16631 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
16633 * invoke.texi: Document -fdelete-null-pointer-checks
16634 * toplev.c (flag_delete_null_pointer_checks): New.
16635 (f_options): Add entry for -fdelete-null-pointer-checks.
16636 (rest_of_compilation): Conditionalize null pointer check
16637 elimination on flag_delete_null_pointer_checks.
16638 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
16640 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
16642 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
16643 copyright notice and special exception to GPL.
16645 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16647 * abi64.h (mips_function_value): Add prototype arguments.
16649 * mips-protos.h: New file with mips prototypes.
16651 * mips.c: Include "tm_p.h".
16652 (mktemp, lookup_name): Add prototype arguments.
16653 (extern_list, string_constant, mips_fill_delay_slot,
16654 mips_output_external, mips_output_external_libcall,
16655 mips_output_filename, mips_declare_object, function_prologue,
16656 mips_expand_prologue, function_epilogue, mips16_constant,
16657 build_mips16_function_stub, mips_output_conditional_branch):
16659 (mips_va_start): Remove unused variable `u'.
16660 (mips_va_arg): Cast value to unsigned when comparing against one.
16662 (save_restore_insns, mips_expand_prologue): Add missing arg in
16663 call to `large_int'.
16665 * mips.h: Move prototypes to mips-protos.h.
16666 (data_section, memory_address_p, rdata_section,
16667 readonly_data_section, simple_epilogue_p, text_section): Delete
16668 prototypes delcared elsewhere.
16669 (mips_epilogue_delay_slots, print_options): Delete unused decls.
16671 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
16673 * mips.md: Delete extra args in call to `mips_move_2words'.
16675 * xm-iris6.h (alloca): Add prototype argument.
16677 * genpeep.c: Include "tm_p.h" in generated output file.
16679 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16681 * basic-block.h (find_edge_index): Change parameters.
16682 * flow.c (verify_edge_list): Pass basic_block parameters to
16683 find_edge_index instead of integers.
16685 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
16687 * combine.c (simplify_comparison): Use an unsigned shift to adjust
16690 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
16692 * gcc.1: Fix a formatting error.
16694 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16696 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
16697 i786, mn10200, mn10300, pdp11, v850.
16699 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
16701 * libgcc2.c (num_digits): Add prototype with
16702 __attribute__((const)).
16703 (__terminate): Add prototype.
16705 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
16707 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
16709 * alpha/alpha.c (print_operand): Fix type of `code'.
16710 (alpha_output_filename): Constify.
16711 * alpha/alpha.h: Move all function declarations ...
16712 * alpha/alpha-protos.h: ... here. New file.
16713 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
16714 (SECTION_FUNCTION_TEMPLATE): Likewise.
16716 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16718 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
16719 * expr.c (expand_expr): Likewise.
16720 (do_jump): Likewise.
16721 (do_store_flag): Pass ccp_store_flag to can_compare_p.
16722 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
16724 (enum can_compare_purpose): New.
16725 (can_compare_p): Adjust prototype.
16726 (prepare_cmp_insn, prepare_operand): Declare.
16727 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
16728 * optabs.c (cmp_available_p): Deleted.
16729 (expand_abs): Pass ccp_jump to can_compare_p.
16730 (can_compare_p): New arg PURPOSE. Check for combined optabs.
16731 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
16732 Call can_compare_p rather than cmp_available_p.
16733 (prepare_operand): No longer static.
16734 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
16735 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
16736 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
16737 sequence to use emit_cmp_and_jump_insns.
16738 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
16740 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
16742 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
16743 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
16744 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
16745 (plus (reg) (const_int 0))
16746 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
16748 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
16750 * rs6000.c (expand_block_move): DImode loads and stores require
16751 word-aligned displacements. Increment address registers with
16752 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
16754 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
16756 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
16757 is no name for the base type, rather than segfault. If we are
16758 writing out a complex integer type, use DW_ATE_lo_user.
16760 * expr.c (emit_move_insn_1): If we are copying a complex that fits
16761 in one word or less (complex char, complex short, or on 64 bit
16762 systems complex float) to/from a hard register, copy it through
16763 memory instead of dying in gen_{real,imag}part. If we have a
16764 short complex type, prevent inlining since it allocates stack
16767 * tree.c (build_complex_type): If we are writing dwarf2 output,
16768 generate a name for complex integer types.
16770 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16772 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
16773 * flow.c (remove_edge): Remove extra whitespace.
16774 (remove_fake_edges): Fix comment.
16775 (add_noreturn_fake_exit_edges): Use the correct name.
16777 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
16779 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
16780 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
16781 (clean): Depend on INTL_CLEAN.
16782 (maintainer-clean): Adjust.
16784 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16786 * configure.in (AC_PREREQ): Bump to 2.13.
16787 (AC_C_STRINGIZE): Call this instead of using a custom macro.
16789 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
16791 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
16793 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
16795 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
16796 (HAVE_STRINGIZE): Define.
16798 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
16800 * c-parse.in: save and restore warn_pointer_arith on __extension__
16801 along with pedantic.
16802 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
16803 Set the type of extension to itype rather than $<itype>1 kludge.
16804 * extend.texi (Alternate Keywords): Adjust documentation.
16805 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
16807 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
16809 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
16810 most assembler templates.
16812 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
16813 FP loads and stores.
16814 (following_call): Always return zero for the PA8000.
16815 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
16816 FP loads and stores.
16817 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
16819 * pa.h (BRANCH_COST): Define.
16821 * pa.md (return, return_internal): Use bve for PA2.0.
16823 * pa.md (fused multiply): Add variants which reduce height for the
16824 fused multiply, but which still generate 2 insns.
16825 (fnegabs): Similarly.
16827 * pa.md (subsi3): Turn into an expander. Create two anonymous
16828 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
16829 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
16831 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
16833 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
16835 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
16836 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
16838 * regclass.c (init_regs): Add "top_of_stack" as a garbage
16841 * flow.c (record_active_eh_regions): Terminate loop after finding
16842 the last insn in the last basic block.
16844 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16846 * config/c4x/c4x.md: Delete parallel instruction peepholes.
16848 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16850 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
16852 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16854 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
16855 splitting to not use output template.
16857 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16859 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
16860 * config/c4x/c4x.c (c4x_va_start): New function.
16862 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
16864 * genrecog.c (not_both_true): Handle correctly cases when called for
16865 tests with different positions in the insn.
16867 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16869 * machmode.h (HOST_PTR_PRINTF): Move from here ...
16871 * system.h (HOST_PTR_PRINTF): ... to here.
16873 * mips-tfile.c: Don't include machmode.h.
16875 * Makefile.in (MACHMODE_H): New variable. Update to use it.
16876 (mips-tfile.o): Don't depend on machmode.h.
16878 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16880 * haifa-sched.c (sched_analyze): Rename local variable `region' to
16881 avoid conflicts with typedef struct `region' at the top level scope.
16883 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
16885 * basic-block.h (basic_block): Add eh_beg, eh_end.
16886 * flow.c (entry_exit_blocks): Update.
16887 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
16888 Call new functions.
16889 (find_basic_blocks_1): Don't record eh_list at each bb. Use
16890 lists.c functions to allocate insn lists.
16891 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
16893 (make_eh_edge): ... here. New.
16894 (move_stray_eh_region_notes): New.
16895 (record_active_eh_regions): New.
16896 (delete_unreachable_blocks): Split out block merging ...
16897 (try_merge_blocks): ... here. New.
16898 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
16899 Dump debugging data.
16900 (merge_blocks_move_successor_nojumps): Likewise.
16901 (merge_blocks): Use eh_beg+eh_end to validate block movement.
16903 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16905 * extend.texi (Bound member functions): Document unbound pmf
16908 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16910 * flow.c (split_edge): Handle insertion on a fallthrough edge which
16911 has the EXIT_BLOCK as a dest.
16913 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16915 * flow.c (remove_edge): New function to remove an edge from the
16917 (remove_fake_successors): New function to remove fake successor edges.
16918 (remove_fake_edges): New function to remove all fake edges from the
16920 (add_fake_exit_edges): New function to add fake edges from all blocks
16921 with no successors to the exit block.
16922 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
16923 prototypes for new functions.
16925 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16927 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
16928 Use Pmode to determine whether to output .dword or .word.
16930 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
16932 * tree.c (built_in_filename): New variable.
16933 (BUILT_IN_FILENAME): New macro.
16934 (init_tree_codes): Allocate built_in_filename.
16935 (make_node): Use built_in_filename instead of string constant.
16937 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
16939 * configure.in: Add fr30 target.
16940 * configure: Regenerate.
16941 * config/fr30: New directory.
16942 * config/fr30/crti.asm: New file.
16943 * config/fr30/fr30.c: New file.
16944 * config/fr30/crtn.asm: New file.
16945 * config/fr30/fr30.h: New file.
16946 * config/fr30/fr30.md: New file.
16947 * config/fr30/lib1funcs.asm: New file.
16948 * config/fr30/t-fr30: New file.
16949 * config/fr30/xm-fr30.h: New file.
16951 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
16953 * flow.c (merge_blocks_move_successor_nojumps): Delete the
16954 BARRIER at the end of the successor, not the BARRIER before
16957 * pa.c (pa_add_gc_roots): Fix thinko in last change.
16959 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
16961 * stmt.c (any_pending_cleanups): Don't crash when
16962 current_function->stmt is unset.
16964 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16966 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
16967 other initializations that may use it for relative offsets.
16969 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16971 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
16972 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
16973 * config/i386/sol2dbg.h: Removed.
16974 * config/i386/sol2gas.h: New file, to enable gas work-around.
16975 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
16976 Don't use sol2dbg.h.
16977 * configure: Rebuilt.
16979 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
16981 * invoke.texi (-fthis-is-variable): Remove documentation.
16983 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
16985 * basic-block.h (compute_bb_for_insn): Declare.
16986 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
16987 to use; set size of basic_block_for_insn directly.
16988 (find_basic_blocks): Update.
16990 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16992 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
16994 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16996 * crtstuff.c (ON_EXIT): Delete empty macro definition.
16997 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
16999 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
17001 * c-decl.c (c_decode_option): Extend comment.
17003 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
17005 * toplev.c (progname): Make 'const char *'
17006 (flag_print_mem): Move out of main.
17007 (version_flag): Move out of main.
17008 (filename): Move out of main.
17009 (debug_args): Remove g prefix from options.
17010 (documented_lang_options): Remove cpplib specific options.
17011 (display_help): Add g prefix to debug options.
17012 (check_lang_option): Delete this function.
17013 (decode_d_option): New function: Decode -d... option.
17014 (decode_f_option): New function: Decode -f... option.
17015 (decode_W_option): New function: Decode -W... option.
17016 (decode_g_option): New function: Decode -g... option.
17017 (independent_decode_option): New function: Decode a language
17018 independent command line option.
17019 (main): Invoke lang_decode_option and then
17020 independent_decode_option on each command line option in
17023 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
17025 Revert this change. Gavin's patch to operand_equal_p is a better fix.
17026 * fold-const.c (fold_range_test): Do not try to fold the range
17027 test if the rhs or lhs has side effects.
17029 * basic-block.h (compute_flow_dominators): Declare.
17031 * gcse.c (alloc_code_hoist_mem): New function.
17032 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17033 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17034 (hoist_code, one_code_hoisting_pass): Likewise.
17035 (gcse_main): If optimizing for size, then hoist expressions
17036 computed in multiple dominated basic blocks.
17038 * gcse.c (invalid_nonnull_info): New function.
17039 (delete_null_pointer_checks): Likewise.
17040 * rtl.h (delete_null_pointer_checks): Declare.
17041 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17043 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17044 (merge-blocks_move_successor_nojumps): Likewise.
17045 (merge_blocks): Allow merging of some blocks, even if it requires
17046 physical movement of the blocks, but not if it requires new jumps.
17048 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17049 Callers and prototype changed.
17050 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17052 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17054 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17055 -YP when both -p and -pg are present. From i386/sol2.h.
17057 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17059 * Makefile.in (distclean): Delete tm_p.h.
17060 * configure.in: Create a new file, "tm_p.h", from a list in
17061 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17062 "i386/i386-protos.h".
17064 * alias.c: Include "tm_p.h".
17065 * c-typeck.c: Likewise.
17066 * calls.c: Likewise.
17068 * emit-rtl.c: Likewise.
17069 * explow.c: Likewise.
17070 * expmed.c: Likewise.
17071 * expr.c: Likewise.
17072 * final.c: Likewise.
17073 * flow.c: Likewise.
17074 * fold-const.c: Likewise.
17075 * function.c: Likewise.
17076 * gcse.c: Likewise.
17077 * global.c: Likewise.
17078 * haifa-sched.c: Likewise.
17079 * integrate.c: Likewise.
17080 * jump.c: Likewise.
17081 * local-alloc.c: Likewise.
17082 * loop.c: Likewise.
17083 * optabs.c: Likewise.
17084 * recog.c: Likewise.
17085 * reg-stack.c: Likewise.
17086 * regclass.c: Likewise.
17087 * regmove.c: Likewise.
17088 * reload.c: Likewise.
17089 * reload1.c: Likewise.
17090 * reorg.c: Likewise.
17091 * resource.c: Likewise.
17092 * stmt.c: Likewise.
17093 * stor-layout.c: Likewise.
17094 * toplev.c: Likewise.
17095 * tree.c: Likewise.
17096 * unroll.c: Likewise.
17097 * genattrtab.c (main): Make generated file include "tm_p.h".
17098 * genemit.c (main): Likewise.
17099 * genoutput.c (main): Likewise.
17100 * genrecog.c (main): Likewise.
17102 * i386.h: Delete all prototypes.
17103 * i386.c: Include "tm_p.h".
17104 (ix86_attr_length_default): Call constant_call_address_operand
17105 with correct number of arguments.
17106 * i386-protos.h: New file.
17107 * i386.md (unnamed patterns): Call constant_call_address_operand
17108 with correct number of arguments.
17109 (exception_receiver): Call load_pic_register with correct number
17112 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
17114 * c-pragma.c (mark_align_stack): Dereference the void* properly.
17116 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
17118 * rtl.h (insns_safe_to_move_p): New function.
17119 * loop.c (find_and_verify_loops): Use it.
17120 * rtlanal.c (insns_safe_to_move_p): Define it.
17122 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
17124 * c-pragma.c: Include ggc.h.
17125 * Makefile.in (c-pragma.o): Update.
17127 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17129 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17130 (LIB_SPEC): Likewise.
17131 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17132 Reindent -YP/-p/-pg.
17133 Copied from config/sparc/sol2.h.
17135 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
17137 * c-pragma.c (mark_align_stack): New.
17138 (init_pragma): New.
17139 * c-pragma.h (init_pragma): Declare it.
17140 * c-lex.c (init_parse): Call it.
17142 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17144 * configure.in: Pick up thread library on Solaris/x86 just
17145 like on Solaris/sparc.
17146 * configure: Rebuilt.
17148 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
17150 * rtl.h (global_rtx_index): New enum.
17151 (global_rtl): Change to array of rtx.
17152 (pc_rtx, cc0_rtx): Redefine accordingly.
17153 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17154 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17155 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17156 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17157 (const_int_rtx): Change to array of rtx.
17158 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17160 * emit-rtl.c (global_rtl): Change to array of rtx.
17161 (const_int_rtx): Change to aray of rtx.
17162 (gen_rtx_CONST_INT): Redefine accordingly.
17163 (init_emit_once): Allocate and initialize global_rtl. Likewise
17164 for const_int_rtx. Add both as GC roots.
17165 * genattrtab.c (global_rtl): Update declaration.
17167 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
17169 * Makefile (USER_H): Add iso646.h back.
17171 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
17173 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17174 zapping the LOG_LINKS of sched_before_next_call.
17176 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17177 * pa.c (insn_refs_are_delayed): Renamed from
17178 insn_sets_and_refs_are_delayed.
17180 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
17182 * functiion.h (struct function): Add x_whole_function_mode_p.
17183 (retrofit_block): Declare.
17184 * function.c (retrofit_block): New function.
17185 (identify_blocks): Add assertions. Allow an incomplete set of
17186 block notes if we're still generating code for the function.
17187 * integrate.c: Include loop.h.
17188 (expand_inline_function): Call find_loop_tree_blocks to map block
17189 notes to blocks when in whole-function mode. Use retrofit_block
17190 to insert new BLOCKs for the inlined function, rather than
17192 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
17193 * Makefile.in (integrate.o): Depend on loop.h.
17195 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
17197 * tree.h (warn_about_unused_variables): Declare.
17198 * stmt.c (warn_about_unused_variables): New function, split out
17200 (expand_end_bindings): Here.
17202 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
17204 * stmt.c (preserve_subexpressions_p): Don't crash when
17205 current_function->stmt is unset.
17207 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
17209 * stmt.c (expand_start_bindings): Allow callers to pass a flag
17210 indicating that no NOTE_INSN_BLOCK_BEG note is required.
17211 (expand_start_target_temps): Use it.
17212 * except.c (expand_eh_region_start_for_decl): Likewise.
17213 * expr.c (expand_expr): Likewise.
17215 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
17217 * fold-const.c (operand_equal_p): Pay attention to side effects.
17219 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
17221 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17222 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17224 * tlink.c (scan_linker_output): Look for keywords before accepting
17225 a mangled name in quotes.
17227 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
17229 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17230 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17232 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
17234 * alpha.md: Revert Thu Nov 26 change that came in through the
17235 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17236 Avoid earlyclobber when possible.
17238 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17240 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17242 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17243 Define HAVE_ON_EXIT.
17245 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17247 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
17248 CTYPE_CONV in all ctype macros.
17250 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17253 * cexp.y (initialize_random_junk): Likewise.
17255 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17257 * i370.c (handle_pragma): Likewise.
17259 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17261 * v850.c (override_options): Likewise.
17263 * doprint.c (_doprnt): Likewise.
17265 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17268 * fixinc/server.c (load_data): Likewise.
17270 * fold-const.c (real_hex_to_f): Likewise.
17272 * genattr.c (write_upcase, gen_attr): Likewise.
17274 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17275 write_upcase): Likewise.
17277 * genemit.c (print_code): Likewise.
17279 * genopinit.c (gen_insn): Likewise.
17281 * genpeep.c (print_code): Likewise.
17283 * genrecog.c (print_code): Likewise.
17285 * optabs.c (init_libfuncs): Likewise.
17287 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
17289 * haifa-sched.c (sched_analyze): Keep the list of notes organized
17291 (reemit_notes): Likewise.
17293 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
17295 * ggc.h (ggc_root): Move to ggc-common.c.
17297 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17298 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17299 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17300 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17301 * ggc-common.c (ggc_root): Move from ggc.h.
17302 (roots): Declare, static.
17303 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17304 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17305 null or check/set mark bit.
17306 (ggc_mark_roots): New.
17307 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17309 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
17311 * m32r.c: Include toplev.h.
17312 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17313 (gen_compare): Rename swap_p to must_swap to match uses.
17314 Add default abort case.
17315 (m32r_output_function_epilogue): Remove unused variables.
17316 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17317 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17318 define to empty parameter list. Update all uses.
17319 (predicate decls): Use enum machine_mode not int.
17320 * m32r.md (movsi): Call abort, not fatal_insn.
17321 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17323 1999-09-14 Andrew Haley <aph@cygnus.com>
17325 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17326 use $0 instead of 0.
17328 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17330 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17331 computation out of loop over hard regs.
17333 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
17335 * function.c (identify_blocks): Don't shadow a variable in an
17337 * integrate.c (integrate_decl_tree): Don't use pushlevel,
17338 pushdecl, or poplevel to build up the new BLOCK tree.
17339 (expand_inline_function): Likewise.
17340 (integrate_parm_decls): Likewise.
17342 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
17344 * c-typeck.c (qualify_type): Merge qualifiers from both types.
17346 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
17348 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17349 * invoke.texi: Document this change.
17351 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
17353 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17355 (mark_emit_status): Renamed from mark_emit_state.
17356 * except.c (mark_eh_status): Renamed from mark_eh_state.
17357 Check not null before marking.
17358 (free_eh_status): New.
17359 * expr.c (mark_expr_status, free_expr_status): New.
17360 * function.c (free_machine_status): New.
17361 (free_after_parsing): New.
17362 (free_after_compilation): Move bits to free_after_parsing; call
17363 free_eh_status, free_expr_status; zero the marked members of the
17365 (prepare_function_start): No can_garbage_collect.
17366 Call init_eh_for_function.
17367 (expand_dummy_function_end): Free up current_function state.
17368 (mark_function_status): Renamed from mark_function_state.
17369 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
17370 * function.h (struct function): No can_garbage_collect.
17371 (free_machine_status, free_after_parsing): Declare.
17372 (free_eh_status, free_expr_status): Declare.
17373 * ggc.h (mark_expr_status): Declare.
17374 * stmt.c (free_stmt_status): Free the struct.
17375 (mark_stmt_status): Renamed from mark_stmt_state.
17376 (init_stmt): Don't call init_eh.
17377 (init_stmt_for_function): Don't call init_eh_for_function.
17378 * toplev.c (compile_file): Call init_eh.
17379 (rest_of_compilation): Free basic block info before ggc_collect.
17380 Call free_after_parsing; conditionally call free_after_compilation.
17381 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17382 Check not null before marking.
17383 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
17385 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
17387 * c-lex.c (yylex): Initialize warn.
17389 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
17391 * pa.c (emit_move_sequence): Properly set the mode of the scratch
17392 register when performing secondary reloads for the SAR register.
17394 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
17396 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17397 (NOTE_BLOCK): New macro.
17398 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17399 * function.h (identify_blocks): Change prototype.
17400 * function.c (identify_blocks): Simplify.
17401 (reorder_blocks): Likewise.
17402 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17403 NOTE_INSN_BLOCK_{BEG,END}.
17404 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17405 the list of saved notes if the note isn't a
17406 NOTE_INSN_BLOCK_{BEG,END}.
17407 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17409 (reemit_notes): Adjust recreation of notes to reflect new saved
17411 * print-rtl.c (print_rtx): Print the address of the BLOCK when
17412 printing a block note.
17413 * stmt.c (block_vector): Remove.
17414 (find_loop_tree_blocks): Simplify.
17415 (unroll_block_trees): Likewise.
17416 * tree.h (reorder_block): Change prototype.
17418 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
17420 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
17421 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17422 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17423 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
17424 (atexit, exit): Simplify.
17425 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
17426 * config/lots: Remove defns of HAVE_ATEXIT.
17428 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
17430 * calls.c (precompute_arguments): Fix typo in comment.
17431 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17434 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
17436 * dsp16xx.c (override_options): Fix typos in GC root registration.
17438 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
17440 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17441 from config/svr4.h.
17442 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17443 (FUNCTION_PROFILER): Redefine appropriately for Linux.
17444 (CC1_SPEC): Likewise.
17446 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17448 * genattr.c (main): Add extern prototype. Call return, not exit.
17449 * genattrtab.c (main): Likewise.
17450 * gencheck.c (main): Likewise.
17451 * gencodes.c (main): Likewise.
17452 * genconfig.c (main): Likewise.
17453 * genemit.c (main): Likewise.
17454 * genextract.c (main): Likewise.
17455 * genflags.c (main): Likewise.
17456 * gengenrtl.c (main): Likewise.
17457 * genopinit.c (main): Likewise.
17458 * genoutput.c (main): Likewise.
17459 * genpeep.c (main): Likewise.
17460 * genrecog.c (main): Likewise.
17462 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17463 * genattrtab.c (get_insn_name): Likewise.
17464 * gencodes.c (get_insn_name): Likewise.
17465 * genconfig.c (get_insn_name): Likewise.
17466 * genemit.c (get_insn_name): Likewise.
17467 * genextract.c (get_insn_name): Likewise.
17468 * genflags.c (get_insn_name): Likewise.
17469 * genopinit.c (get_insn_name): Likewise.
17470 * genpeep.c (get_insn_name): Likewise.
17472 * gencheck.c (usage): Add static prototype.
17473 * genextract.c (print_path): Constify a char*.
17474 * genopinit.c (optabs): Likewise.
17475 * genoutput.c (operand_data, data, output_predicate_decls,
17476 compare_operands): Likewise.
17477 * genrecog.c (write_tree): Add default case in switch.
17479 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17481 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17483 * print-rtl.c (get_insn_name): Remove prototype.
17485 * toplev.h (progname): Declare const.
17487 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17488 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17489 dump_sched_info, dump_local_alloc, regset_release_memory,
17490 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17491 error_with_file_and_line, error_with_decl, error_for_asm, error,
17492 fatal, warning_with_file_and_line, warning_with_decl, warning,
17493 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17494 Remove redundant prototypes.
17496 (notice, check_lang_option, report_file_and_line, vnotice,
17497 mark_file_stack): Add static prototype.
17498 (set_fatal_function): Add prototype.
17499 (vnotice, report_file_and_line, set_fatal_function,
17500 check_lang_option): Constify a char*.
17501 (main): Prototype. Call return, not exit.
17503 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17505 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17507 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17509 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17511 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17513 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17515 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
17516 behave as if it's zero in all cases.
17517 (expand_function_start): Adjust call to assign_parms.
17518 * tree.h (assign_parms): Adjust prototype.
17519 * objc/objc-act.c (hack_method_prototype): Adjust call to
17522 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
17524 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17525 arg_pointer_rtx fixed if the argument pointer register is
17527 (NONZERO_BASE_PLUS_P): Likewise.
17529 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
17531 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17532 match_insn2 to match_insn.
17533 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17535 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
17537 * Makefile.in (USER_H): Remove va-foo.h.
17539 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17540 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17541 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17542 va-spur.h,va-v850.h}: Remove.
17544 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
17546 * sparc/sparc.md (eligible_for_return_delay): New attribute.
17547 (in_return_delay): Use it instead of match_insn.
17549 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17551 * config/alpha/va_list.h (va-alpha.h): Do not include.
17552 (__gnuc_va_list): Typedef as in varargs.h.
17554 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
17556 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17557 DECL_LIVE_RANGE_RTL.
17559 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
17561 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17562 not NOTE_BLOCK_NUMBER.
17563 (expand_eh_region_end): Likewise.
17564 (find_exception_handler_labels): Likewise.
17565 (scan_region): Likewise.
17566 (exception_optimize): Likewise.
17567 (update_rethrow_references): Likewise.
17568 (set_insn_eh_region): Likewise.
17569 * final.c (final_scan_insn): Likewise.
17570 * flow.c (make_edges): Likewise.
17571 * integrate.c (expand_inline_function): Likewise.
17572 * print-rtl.c (print_rtx): Likewise.
17574 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
17576 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17577 terms of builtin functions and types.
17579 * mips.c (mips_build_va_list): New.
17580 (mips_va_start, mips_va_arg): New.
17581 * mips.h (BUILD_VA_LIST_TYPE): New.
17582 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17584 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17585 (sh_build_va_list, sh_va_start, sh_va_arg): New.
17586 * sh.h (BUILD_VA_LIST_TYPE): New.
17587 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17589 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
17591 * recog.h (struct recog_data): Make dup_num, operand_address_p,
17592 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17593 (struct insn_data): Likewise with n_operands, n_dups,
17594 n_alternatives, output_format.
17595 * regclass.c (scan_one_insn): Cast n_operands to int before
17596 arithmetic inside comparison.
17598 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
17600 * toplev.c (compile_function): Unconditionally emit nop.
17602 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17604 * haifa-sched.c (actual_hazard): Move declaration of variable
17605 `this_cost' into the scope where it is used.
17607 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17609 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17610 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
17611 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17613 * genrecog.c (make_insn_sequence): Call memset, not bzero.
17615 * jump.c (find_insert_position): Don't declare or define unless
17616 !HAVE_conditional_arithmetic.
17617 (returnjump_p_1, delete_prior_computation): Add static prototypes.
17619 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17621 * recog.c (offsettable_address_p): Prototype function pointer.
17622 (preprocess_constraints): Call memset, not bzero.
17624 * tree.c (tree_node_kind_names): Constify a char*. Make static.
17625 (gcc_obstack_init): Don't declare.
17626 (fix_sizetype): Add static prototype.
17627 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17628 (tree_cons): Call memset, not bzero.
17630 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17631 definition in macro ASM_WEAKEN_LABEL.
17632 (mark_const_hash_entry): Add static prototype.
17634 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17636 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
17638 * unroll.c (find_common_reg_term, subtract_reg_term,
17639 loop_find_equiv_value): Add static prototypes.
17640 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
17641 (copy_loop_body): Remove unreachable break statement.
17643 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
17645 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
17647 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17649 Undo some changes from the gcc2 merge:
17650 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
17651 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
17655 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
17656 * emit-rtl.c (gen_lowpart_common): Disable optimization of
17657 initialized float-int union if the value is a NaN.
17659 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
17661 * gthr-win32.h: New file.
17663 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
17664 shared as a valid attribute.
17665 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
17666 * extend.texi: Document `shared' variable attribute.
17668 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
17670 * configure.in: Handle --enable-threads on FreeBSD.
17671 * configure: Rebuit.
17673 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17675 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
17677 * configure: Rebuilt.
17679 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
17680 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
17681 Rosimildo DaSilva <rdasilva@connecttel.com>
17683 * configure.in (m68k-*-rtemscoff*): Added.
17684 * configure.in (mips64orion-*-rtems*): Converted to ELF.
17685 * configure.in (sparc-*-rtemsaout*): Added as alias for old
17686 sparc-rtems configuration.
17687 * configure.in (sparc-*-rtemself*): Added.
17688 * configure.in (sparc-*-rtems*): Now ELF not a.out.
17689 * config/i386/rtems.h: Added comment.
17690 * config/sparc/rtemself.h: New file.
17692 * configure.in (m68k-rtemself): Added.
17693 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
17694 and DWARF_DEBUGGING_INFO.
17695 * config/m68k/crti.s: New file.
17696 * config/m68k/crtn.s: New file.
17697 * config/m68k/t-crtstuff: New file.
17698 * config/m68k/rtemself.h: New file.
17700 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
17701 global ctor/dtor and C++ exception handling.
17702 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
17703 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
17705 * config/i386/t-rtems-i386: New File.
17707 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
17709 * stmt.c (expand_end_case): Return right away if the case stack is
17712 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
17714 * Makefile.in (version.c): Remove rule incorrectly brought in from
17717 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
17719 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
17720 * msdos/top.sed: Take into account a prepended $(SHELL) to
17722 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
17724 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
17726 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17728 * regmove.c (fixup_match_1): Don't change an unchanging register.
17729 (stable_but_for_p): Renamed to:
17730 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
17731 Changed all callers.
17733 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
17735 * loop.c (strength_reduce): Don't call reg_used_between_p if the
17736 insn from BL2 is after the insn from BL.
17738 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
17740 * recog.h (INSN_OUTPUT_FORMAT_*): New.
17741 (struct insn_data): Merge `template' and `outfun' into `output'.
17742 Add `output_format'.
17743 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
17744 (struct data): Remove `outfun'; add `output_format'.
17745 (name_for_index): Remove declaration.
17746 (output_insn_data): Handle output formats.
17747 (process_template): Emit the bare array for @.
17748 (gen_expand, gen_split): Set output_format to NONE.
17749 * output.h (get_insn_template): Declare.
17750 * final.c (get_insn_template): New.
17751 (final_scan_insn): Use it.
17752 * toplev.c (compile_file): Likewise.
17754 * c4x/c4x.c (c4x_process_after_reload): Likewise.
17755 * i860/i860.c (output_delayed_branch): Likewise.
17756 (output_delay_insn): Likewise.
17758 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17760 * rtl.c (obstack_alloc_rtx): Removed.
17762 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
17764 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
17766 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
17768 * i386.c (call_insn_operand): Reject const_int.
17769 (expander_call_insn_operand): Use call_insn_operand.
17771 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17773 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
17775 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
17777 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
17778 Use DImode operation.
17780 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
17782 * gcc.c: Include sys/resource.h.
17783 (report_times): New flag.
17784 (execute): If report_times is set, calculate and report the
17785 CPU time consumed by each subprocess.
17787 (rus, prus): New globals.
17788 (option_map): Add --time.
17789 (display_help): Document -time.
17790 (process_command): Set report_times if -time is given.
17791 Turn off -pipe if -time is given.
17793 * invoke.texi: Document new option -time.
17795 * configure.in: Check for getrusage. Check if we have to
17796 prototype getrusage.
17797 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
17798 * configure: Regenerate.
17799 * config.in: Regenerate.
17801 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
17803 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
17806 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
17808 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
17809 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
17810 (nan): Return _thenan_sf or _thenan_df as appropriate.
17811 (L_thenan_sf): Define _thenan_sf.
17812 (L_thenan_df): Define _thenan_df.
17814 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
17815 (DPBIT_FUNCS): Add _thenan_df.
17817 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
17819 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
17822 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17824 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
17827 (lang_specific_driver): Don't take a function pointer parameter.
17828 All callers changed.
17830 * gcc.c: Include gcc.h.
17831 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
17832 lang_specific_extra_outfiles, fatal): Don't declare.
17833 (multilib_defaults_raw): Constify.
17834 (read_specs): Call memset, rather than bzero.
17835 (main): Call return, not exit.
17836 (lookup_compiler): Call memcpy, not bcopy.
17837 (fatal): Make extern.
17839 * cppspec.c: Include gcc.h.
17840 (lang_specific_driver): Initialize variable `quote'. Constify a
17841 char*. All calls to the function pointer parameter now
17842 explicitly call `fatal'.
17844 * gccspec.c (lang_specific_driver): Include gcc.h.
17846 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
17848 * arm.c (note_invalid_constants): Use recog_data.operand_type
17851 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17853 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
17856 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
17857 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
17858 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
17859 reload_secondary_in_reload, reload_secondary_out_reload,
17860 reload_secondary_in_icode, reload_secondary_out_icode,
17861 reload_reg_rtx, reload_when_needed): Delete declarations.
17862 (struct reload): New structure.
17863 (rld): Declare new array.
17864 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
17865 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
17866 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
17867 reload_secondary_in_reload, reload_secondary_out_reload,
17868 reload_secondary_in_icode, reload_secondary_out_icode,
17869 reload_reg_rtx, reload_when_needed): Delete definitions.
17871 (whole file): Replace uses of the deleted arrays with uses of rld.
17872 * reload1.c (whole file): Replace uses of the deleted arrays with
17874 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
17875 explicit loops, not with bcopy.
17877 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
17879 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
17880 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
17881 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
17882 insn_name): Delete and consolidate into new structures.
17883 (insn_operand_predicate_fn): New.
17884 (insn_output_fn): New.
17885 (insn_gen_fn): New.
17886 (struct insn_operand_data): New.
17887 (struct insn_data): New.
17889 (OUT_FCN): Update for insn_data change.
17890 * builtins.c (expand_builtin_strlen): Likewise.
17891 (expand_builtin_memcmp): Likewise.
17892 * combine.c (make_extraction, simplify_comparison): Likewise.
17893 * cse.c (canon_reg, cse_insn): Likewise.
17894 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
17895 * expmed.c (store_bit_field, extract_bit_field): Likewise.
17896 (emit_store_flag): Likewise.
17897 * expr.c (convert_move, emit_block_move): Likewise.
17898 (clear_storage, emit_push_insn, expand_increment): Likewise.
17899 (do_store_flag): Likewise.
17900 * expr.h (GEN_FCN): Likewise.
17901 (insn_gen_function): Die.
17902 * final.c (final_scan_insn): Update for insn_data change.
17903 (output_asm_name): Likewise.
17904 * function.c (fixup_var_refs_1): Likewise.
17905 * loop.c (check_dbra_loop): Likewise.
17906 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
17907 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
17908 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
17909 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
17910 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
17911 * regmove.c (gen_add3_insn): Likewise.
17912 * reload.c (push_secondary_reload, combine_reloads): Likewise.
17913 (find_reloads, find_reloads_address_1): Likewise.
17914 (debug_reload_to_stream): Likewise.
17915 * reload1.c (emit_reload_insns, gen_reload): Likewise.
17916 * stmt.c (expand_end_case): Likewise.
17917 * toplev.c (compile_file): Likewise.
17919 * c4x/c4x.c (c4x_process_after_reload): Likewise.
17920 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17922 * print-rtl.c (insn_name_ptr): Remove declaration.
17923 (get_insn_name): Declare.
17924 (print_rtx): Use it.
17925 * genoutput.c (insn_name_ptr): Remove.
17926 (next_operand_number): New.
17927 (struct operand_data): New.
17928 (null_operand, odata, odata_end): New.
17929 (struct data): Use struct operand_data.
17930 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
17931 (get_insn_name): Renamed from name_for_index.
17932 (output_prologue): Define NO_MD_PROTOTYPES.
17933 (output_predicate_decls): Break out from output_epilogue.
17934 Iterate over the operands list.
17935 (output_operand_data): Break out from output_epilogue. Emit
17936 just the operands list.
17937 (output_insn_data): Break out from output_epilogue. Emit just
17939 (output_epilogue): Remove.
17940 (output_get_insn_name): New.
17941 (constraints, op_n_alternatives, predicates, address_p): Die.
17942 (modes, strict_low, seen): Die.
17943 (scan_operands): Take new param `d' instead of writing to
17944 seven global variables.
17945 (compare_operands): New.
17946 (place_operands): New.
17947 (validate_insn_alternatives): Update for struct data change.
17948 (gen_insn): Don't zero or copy 7 global arrays. Update for
17949 scan_operands; call place_operands.
17950 (gen_peephole, gen_expand, gen_split): Likewise.
17951 (main): Update for new output routines.
17953 * genattr.c (insn_name_ptr): Remove.
17954 (get_insn_name): New function.
17955 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
17956 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
17957 * genrecog.c: Likewise.
17959 * alpha.md (adddi3): Make `pattern' array static.
17961 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17963 * config/c4x/c4x.h (c4x_rpts_cycles_string,
17964 c4x_cpu_version_string): Constify char *.
17965 * config/c4x/c4x.c (c4x_rpts_cycles_string,
17966 c4x_cpu_version_string): Likewise.
17968 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
17970 * tree.c (save_tree_status): Revert 10 Sep change.
17971 (restore_tree_status): Likewise. Call obstack_free with NULL
17972 before freeing the obstack proper.
17974 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
17976 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
17978 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
17979 surrounding context.
17981 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
17983 * tree.c (type_hash_canon): Put all types in the hash-table, when
17986 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
17988 * recog.h (struct recog_data, recog_data): New.
17989 (recog_foo variables): Kill.
17990 * recog.c (recog_operand, recog_operand_loc): Kill.
17991 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
17992 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
17993 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
17994 (recog_data): Define.
17995 (extract_insn): Update all recog_foo references to use recog_data.
17996 (preprocess_constraints, constrain_operands): Likewise.
17997 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
17998 * genattrtab.c (main): Likewise.
17999 * genextract.c (main): Likewise.
18000 * genoutput.c: Likewise.
18001 * genrecog.c (write_subroutine, main): Likewise.
18002 * local-alloc.c (block_alloc): Likewise.
18003 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18004 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18005 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18006 * reload.c (find_reloads, find_reloads_toplev): Likewise.
18007 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18008 (reload_cse_simplify_operands): Likewise.
18010 * arc/arc.c (arc_final_prescan_insn): Likewise.
18011 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18012 * h8300/h8300.c (notice_update_cc): Likewise.
18013 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18014 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18015 * mn10200/mn10200.c (notice_update_cc): Likewise.
18016 * mn10300/mn10300.c (notice_update_cc): Likewise.
18017 * romp/romp.c (update_cc): Likewise.
18018 * sparc/sparc.c (check_pic): Likewise.
18019 * v850/v850.c (notice_update_cc): Likewise.
18021 * genemit.c (main): Don't declare recog_operand.
18023 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
18025 * ggc.h (rtvec_def): Forward declare.
18026 (tree_node): Likewise.
18027 (ggc_root): Define.
18029 (ggc_set_mark_rtx): Add prototype.
18030 (ggc_set_mark_rtvec): Likewise.
18031 (ggc_set_mark_tree): Likewise.
18032 * ggc-simple.c (ggc_root): Don't define.
18033 (roots): Don't declare.
18034 (ggc_mark_rtx): Remove.
18035 (ggc_mark_rtvec): Likewise.
18036 (ggc_mark_tree): Likewise.
18037 (ggc_mark_varray): Likewise.
18038 (ggc_mark_tree_hash_table_entry): Likewise.
18039 (ggc_mark_tree_hash_table): Likewise.
18040 (ggc_set_mart_rtx): New function.
18041 (ggc_set_mark_rtvec): Likewise.
18042 (ggc_set_mark_tree): Likewise.
18043 (ggc_add_root): Remove.
18044 (ggc_add_rtx_root): Likewise.
18045 (ggc_remove_tree_root): Likewise.
18046 (ggc_add_string_root): Likewise.
18047 (ggc_add_tree_varray_root): Likewise.
18048 (ggc_add_tree_hash_table_root): Likewise.
18049 (ggc_del_root): Likewise.
18050 (ggc_mark_rtx_ptr): Likewise.
18051 (ggc_mark_tree_ptr): Likewise.
18052 (ggc_mark_string_ptr): Likewise.
18053 (ggc_mark_tree_varray_ptr): Likewise.
18054 (ggc_mark_tree_hash_table_ptr): Likewise.
18055 * ggc-common.c: New file.
18056 * Makefile.in (OBJS): Add ggc-common.o.
18057 (ggc-common.o): List dependencies.
18059 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
18061 * cppalloc.c (xstrdup): Use memcpy.
18062 * cpperror.c (cpp_print_containing_files): Don't use
18064 * cpplib.c (conditional_skip): Set temp->lineno.
18065 (do_endif): Make error message less obscure.
18066 (if_directive_name): New function.
18067 (cpp_get_token [case EOF]): Unwind the if stack and generate
18068 error messages for each unterminated conditional in this file.
18069 (parse_string): Do not behave differently if -traditional.
18071 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
18073 * builtins.c (expand_builtin_va_arg): Cope with an array-type
18074 va_list decomposing to pointer-type.
18075 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18076 (rs6000_va_arg): Likewise.
18078 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
18080 * except.c (start_dynamic_handler): Compute size using
18081 STACK_SAVEAREA_MODE.
18083 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18085 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
18086 include directory headers. Don't define strrchr. Don't provide
18087 my_* replacement functions. Prefer PTR over `pointer_type'.
18088 Don't prototype system functions. Don't redefine getopt.
18090 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18091 safe_read, safe_write, save_pointers, restore_pointers,
18092 is_id_char, in_system_include_dir, directory_specified_p,
18093 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18094 find_corresponding_lparen, referenced_file_is_newer,
18095 save_def_or_dec, munge_compile_params, gen_aux_info_file,
18096 process_aux_info_file, identify_lineno, check_source,
18097 seek_to_line, forward_to_next_token_char, output_bytes,
18098 output_string, output_up_to, other_variable_style_function,
18099 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18100 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18101 find_static_definition, connect_defs_and_decs, add_local_decl,
18102 add_global_decls, needs_to_be_converted, visit_each_hash_node,
18103 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18104 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18105 scan_for_missed_items, edit_file, string_list_cons): Add static
18107 (standard_exec_prefix, target_machine, target_version,
18108 default_syscalls_dir, string_list, string_list_cons, find_file,
18109 do_cleaning): Constify a char*.
18110 (safe_read, safe_write): Use PTR, not a char*.
18111 (is_id_char): Take an int, not a char.
18112 (main): Add prototype. Call return, not exit.
18114 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
18116 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18117 when comparing types.
18119 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
18121 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18122 (strength_reduce): Release the varrays from the no-bivs early exit.
18124 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18125 the loop over the registers.
18127 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18129 (restore_tree_status): Check that instead when freeing the obstack.
18131 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
18133 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18136 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18138 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
18139 operand size modifiers.
18141 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18143 * c-common.c (c_common_nodes_and_builtins): Don't build
18145 * c-common.h (enum c_tree_index and related accesor macros): Remove
18146 everything now declared in tree.h.
18147 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18148 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18149 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18150 (error_mark_node, void_type_node, char_type_node, integer_type_node,
18151 unsigned_type_node, ptr_type_node, va_list_type_node,
18152 integer_zero_node, null_pointer_node, integer_one_node): Delete.
18153 (init_decl_processing): Call build_common_tree_nodes and
18154 build_common_tree_nodes_2 instead of building their nodes here.
18155 Don't add roots for these nodes.
18156 * stor-layout.c (size_zero_node, size_one_node): Delete.
18157 (set_sizetype): Make a new node for bitsizetype each time.
18158 * tree.c (global_trees): New variable.
18159 (init_obstacks): Add a gc root for it.
18160 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18161 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18162 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18163 (build_common_tree_nodes): New function.
18164 (fix_sizetype): New function.
18165 (build_common_tree_nodes_2): New function.
18166 * tree.h (enum tree_index): New.
18167 (global_trees): Declare.
18168 Add accessor macros for all nodes now moved to global_trees.
18169 Delete their declarations.
18171 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
18173 * c-decl.c (finish_function): When processing a nested function,
18174 push and pop GC context around rest_of_compilation.
18176 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
18178 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18179 Default ix86_arch to PROCESSOR_I386.
18180 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
18181 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18182 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18183 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18184 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
18185 (EXTRA_SPECS): Remove deleted specs.
18187 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
18189 * function.c (assign_stack_local_1): Allocate from
18190 function->x_frame_offset, not frame_offset.
18192 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
18194 * ggc.h (lang_cleanup_tree): Remove.
18195 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18196 * ggc-callbacks.c (lang_cleanup_tree): Remove.
18198 * c-decl.c (finish_struct): Use ggc_alloc to allocate
18199 TYPE_LANG_SPECIFIC when garbage collecting.
18200 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18201 (lang_cleanup_tree): Remove.
18203 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
18205 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18206 * crtstuff.c: Not here.
18207 * dwarf2out.c: Or here.
18208 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18211 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
18213 * function.h (free_after_compilation): Remove decl parameter.
18214 (free_varasm_status0: Likewise.
18215 (free_emit_status): Likewise.
18216 (free_stmt_status): Likewise.
18217 (free_after_compilation): Likewise.
18218 (init_lang_status): New variable.
18219 (free_lang_status): Likewise.
18220 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18221 * function.c (init_lang_status): New variable.
18222 (free_lang_status): Likewise.
18223 (push_function_context_to): Don't set function::decl here.
18224 (free_after_copmilation): Make decl parameter implicit. Call
18225 free_lang_status if defined.
18226 (prepare_function_start): Call init_lang_status if defined.
18227 (init_function_start): Set function::decl here.
18228 * profile.c (output_func_start_profiler): Don't call pushdecl
18229 until we've actually started the function.
18230 * stmt.c (free_stmt_status): Make decl parameter implicit.
18231 * toplev.c (rest_of_compilation): Don't pass decl to
18232 free_after_compilation.
18233 * varasm.c (free_varasm_status): Likewise.
18235 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18237 * except.c (call_get_eh_context): Add root when allocating static
18240 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
18242 * arm.c: Include "ggc.h".
18243 (arm_add_gc_roots): New function.
18244 (arm_override_options): Call it.
18245 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18247 * arm.md (define_asm_attributes): Add a pool_range attribute.
18249 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
18251 * extend.texi (Volatiles): New node.
18253 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
18255 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18256 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18257 (struct ggc_any): Replace `mark' with `magic_mark'.
18258 (ggc_alloc_string): Use memcpy, not bcopy.
18259 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
18260 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18261 (ggc_free_any): New.
18262 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
18263 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
18264 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
18265 Use IS_MARKED. Use ggc_free_any.
18267 1999-09-09 Scott Bambrough <scottb@netwinder.org>
18269 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18271 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
18273 * toplev.c (main): Always init_ggc.
18275 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
18277 * except.c (find_all_handler_type_matches): Free the list if
18278 we found no matches.
18280 * combine.c (SUBST): Break out to a real function do_SUBST.
18281 (SUBST_INT): Likewise.
18282 * gcse.c (free_pre_mem): Free `temp_bitmap'.
18283 (pre_insert): Free `inserted'.
18284 * loop.c (basic_induction_var): Always set `location'.
18286 * function.c (expand_function_end): Add initial_trampoline as a root.
18287 * rtl.h (init_varasm_once): Declare.
18288 * toplev.c (compile_file): Call it.
18289 * ggc-simple.c (ggc_mark_string_ptr): New.
18290 (ggc_add_string_root): New.
18291 (ggc_collect): Disable collection avoidance temporarily.
18292 * ggc.h (ggc_add_string_root): Declare.
18293 * except.c (create_rethrow_ref): Use ggc_alloc_string.
18294 * optabs.c (init_libfuncs): Likewise.
18295 * varasm.c (named_section): Use ggc_alloc_string.
18296 (make_function_rtl): Likewise.
18297 (make_decl_rtl): Likewise.
18298 (assemble_static_space): Likewise.
18299 (assemble_trampoline_template): Likewise.
18300 (output_constant_def): Likewise.
18301 (force_const_mem): Likewise.
18302 (mark_const_hash_entry): New.
18303 (mark_pool_sym_hash_table): New.
18304 (mark_varasm_state): Use it.
18305 (init_varasm_once): New.
18307 * expr.h (init_one_libfunc): Declare.
18308 * optabs.c (init_one_libfunc): New.
18309 (init_optabs): Use it.
18310 * config/gofast.h: Likewise.
18311 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18312 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18314 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
18316 * Makefile.in (cppexp.o): Depend on cpphash.h.
18317 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18319 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18320 * cpplib.c (do_define): Generalise to handle poisoned definitions,
18321 redefining poisoned identifiers, etc.
18322 (do_undef): Don't allow poisoned identifiers to be undefined.
18323 (do_pragma): Add #pragma poison.
18324 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18326 * cccp.c: Add T_POISON node type.
18327 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18329 (do_define): Generalise to handle poisoned definitions,
18330 redefining poisoned identifiers, etc.
18331 (do_undef): Don't allow poisoned identifiers to be undefined.
18332 (do_pragma): Add #pragma poison.
18333 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18335 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18336 * c-pragma.h: Add ps_poison state. We now always have generic
18339 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
18341 * ggc.h (ggc_alloc): New function.
18342 (ggc_mark): Likewise.
18343 * ggc-simple.c (ggc_any): New structure.
18344 (ggc_status): Add anys.
18345 (n_anys_collected): New variable.
18346 (ggc_alloc): Define.
18347 (ggc_mark): Likewise.
18348 (ggc_collect): Collect the anys.
18350 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18352 * c-decl.c (mark_binding_level): Make static to match prototype.
18354 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
18356 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18358 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
18360 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18361 will use into account. Expand the max width to 5.
18364 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
18366 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18367 for the rtx length.
18369 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
18371 * alpha.md (call value patterns): Remove the result predicates.
18373 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
18375 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18378 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18380 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18381 changed from extern char *, to extern PTR. Also fix typo in
18382 NEED_DECLARATION_REALLOC test.
18384 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18386 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18388 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18389 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18390 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18391 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18393 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18395 * cccp.c (pcfinclude): Likewise.
18397 * global.c (allocno_compare): Likewise.
18399 * haifa-sched.c (rank_for_schedule): Likewise.
18401 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18403 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18405 * stupid.c (stupid_reg_compare): Likewise.
18407 * tree.c (_obstack_allocated_p): Likewise.
18409 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18411 1999-09-08 Bruce Korb autogen@linuxbox.com
18413 * Makefile.in: Give the hapless gperf user a hint about
18414 why "gperf -F" fails.
18416 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
18418 * lists.c: Include ggc.h.
18420 (init_EXPR_INSN_LIST_cache): Install it.
18422 * ggc-simple.c (init_ggc): Absorb the old init.
18423 (ggc_push_context): Use xcalloc.
18424 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18425 (ggc_collect): Add [rvts] tags to the collection stats.
18427 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
18429 * cccp.c (main): Fix handling of -include and -imacros options.
18431 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
18433 * cpplib.c (cpp_push_buffer): Fix order of arguments.
18435 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18437 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18440 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
18442 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18443 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18444 and SET_DEST. Update comment.
18446 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18448 * config/c4x/c4x.c: Include ggc.h.
18449 (c4x_add_gc_roots): New function.
18450 (c4x_override_options): Call c4x_add_gc_roots.
18452 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
18454 * defaults.h (TARGET_ESC): Move ...
18455 * system.h: ... here, where Linas had it in the first place. Silly me.
18457 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
18459 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18460 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18461 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18462 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18463 * defaults.h (TARGET_ESC): Add default.
18465 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
18467 * configure.in: add i370-*-openedition, i370-*-mvs and
18468 i370-*-linux targets
18470 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
18472 * dsp16xxx.c: Include ggc.h
18473 (override_options): Mark GC roots.
18474 * mn10200.c: Include ggc.h.
18475 (asm_file_start): Mark GC roots.
18476 * tahoe.c: Include ggc.h.
18477 (extensible_operand): Mark GC roots.
18479 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
18481 * README: Add section discussing status of ELF ABI.
18482 * i370.c: Fix misc spelling mistakes.
18483 (i370_label_scan): Updated notes, exception handling.
18484 (i370_function_prolog): Simplify ELF stack handling.
18485 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18486 (STACK_GROWS_DOWNWARD): ELF stack grows down.
18487 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18488 * i370.md: (movdi): Add notes.
18489 (floatsidf2): Use stack not rtca for scratch float area.
18490 (iorsi3): Correct operand constraints.
18491 * x-oe: Restore TAROUTOPTS which are used by pax.
18493 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
18495 * rs6000.c: Include ggc.h.
18496 (rs6000_add_gc_roots): New function.
18497 (override_options): Call it.
18499 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
18501 * alpha.h (alpha_compare): New.
18502 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18503 * alpha.c: Likewise for the definitions.
18504 (alpha_emit_conditional_branch): Update for alpha_compare.
18505 (alpha_emit_conditional_move): Likewise.
18506 * alpha.md (cmpdf, cmpdi): Likewise.
18507 (setcc patterns): Likewise. Zero alpha_compare after use.
18508 (sne): Optimize (x != 0) into (0U < x).
18510 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
18512 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18513 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18514 (INIT_EXPANDERS): Remove.
18515 * alpha.c: Include ggc.h.
18516 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18517 (alpha_init_machine_status, alpha_mark_machine_status): New.
18518 (override_options): Install them.
18519 (struct machine_function): Moved to alpha.h.
18520 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18521 (alpha_init_expanders): Remove.
18522 (alpha_return_addr): Adjust to use current_function->machine.
18523 (alpha_ra_ever_killed): Likewise.
18524 (alpha_expand_epilogue): Likewise.
18525 * alpha.md (eh_epilogue): Likewise.
18527 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
18528 Melissa O'Neill <oneill@cs.sfu.ca>
18529 Geoffrey Keating <geoffk@cygnus.com>
18531 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18532 call-used registers (call-saved registers must still be contiguous
18533 and end with r31, of course).
18535 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
18537 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18538 (self_promoting_type_p): Delete.
18539 (self_promoting_args_p): Move ...
18540 * c-common.c: ... here.
18541 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18542 (simple_type_promotes_to): New.
18543 * builtins.c (lang_type_promotes_to): New.
18544 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18545 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18546 * c-common.h: ... here.
18547 (self_promoting_args_p, simple_type_promotes_to): Declare.
18548 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18549 (grokdeclarator): Likewise.
18550 * tree.h (lang_type_promotes_to): Declare.
18552 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
18554 Add some machine-dependent GC roots.
18555 * sparc.c: Include ggc.h.
18556 (sparc_add_gc_roots): New function.
18557 (mark_ultrasparc_pipeline_state): Likewise.
18558 (override_options): Call sparc_add_gc_roots.
18559 * pa.c: Include ggc.h.
18560 (pa_add_gc_roots): New function.
18561 (mark_deferred_plabels): Likewise.
18562 (override_options): Call pa_add_gc_roots.
18563 * mips.c: Include ggc.h.
18564 (mips_add_gc_roots): New function.
18565 (override_options): Use it.
18567 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18569 * cpperror.c (cpp_file_line_for_message): Constify a char*.
18571 * cppexp.c (parse_number, parse_charconst, cpp_lex,
18572 cpp_parse_expr): Add static prototypes.
18573 (parse_charconst): Don't cast away const-ness.
18574 (token): Constify a char*.
18576 * cppfiles.c (file_name_list, include_hash, find_include_file,
18577 finclude, initialize_input_buffer): Constify a char*.
18578 (file_cleanup, find_position): Add static prototypes.
18580 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18581 collect_expansion): Add static prototypes.
18582 (cpp_install, create_definition, monthnames): Constify a char*.
18584 * cpphash.h (cpp_install): Likewise.
18586 * cppinit.c (known_suffixes, default_include,
18587 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18588 (base_name, dump_special_to_buffer, initialize_dependency_output):
18589 Add static prototypes.
18591 * cpplib.c (my_strerror): Constify a char*.
18592 (null_underflow, null_cleanup, skip_comment, copy_comment,
18593 copy_rest_of_line, handle_directive, pass_thru_directive,
18594 get_directive_token, read_line_number, cpp_print_file_and_line,
18595 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18596 v_cpp_warning_with_line, detect_if_not_defined,
18597 consider_directive_while_skipping): Add static prototypes.
18598 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18599 cpp_pedwarn_with_file_and_line): Constify a char*.
18601 * cpplib.h (cpp_options, include_hash, progname, definition,
18602 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18603 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18604 find_include_file, deps_output, include_hash): Constify a char*.
18606 * cppmain.c (progname): Constify.
18607 (main): Add prototype. Use return, not exit.
18609 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18610 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18611 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18612 check_protection): Add static prototype.
18614 (progname, recognized_macrom, recognized_extern): Constify a char*.
18615 (main): Add prototype.
18617 * gen-protos.c (progname): Constify a char*.
18619 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
18621 * emit-rtl.c (free_emit_status): Take decl as a parameter.
18622 (init_emit_once): Add more GC roots.
18623 * except.c (mark_func_eh_entry): New function.
18624 (mark_eh_node): Mark false_label and rethrow_label.
18625 (init_eh): Add more GC roots.
18626 * function.c (free_after_compilation): Take decl as a paramter.
18627 Call free_stmt_status.
18628 (mark_function_state): Don't assume x_parm_reg_stack_loc is
18630 * function.h (free_after_compilation): Change prototype.
18631 (free_varasm_status): Likewise.
18632 (free_emit_status): Likewise.
18633 (free_stmt_status): New function.
18634 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18635 Remove, replacing with ...
18636 (ggc_status): New structure.
18637 (ggc_chain): New variable.
18638 (init_gcc): Define.
18639 (ggc_push_context): New function.
18640 (ggc_pop_context): Likewise.
18641 (ggc_alloc_rtx): Adjust for use of ggc_chain.
18642 (ggc_alloc_rtvec): Likewise.
18643 (ggc_alloc_tree): Likewise.
18644 (ggc_alloc_string): Likewise.
18645 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
18646 (ggc_mark_tree): Give language-dependent code a chance to mark
18648 (ggc_mark_tree_varray): Handle empty arrays.
18649 (ggc_collect): Adjust for use of ggc_chain. Clear
18650 bytes_alloced_since_last_gc.
18651 * ggc.h (ggc_pop_context): New function.
18652 (ggc_push_context): Likewise.
18653 * print-tree.c (print_node): Don't print obstacks when GC'ing.
18654 * stmt.c (free_stmt_status): New function.
18655 (init_stmt_for_function): Clear last_expr_value.
18656 * toplev.c (rest_of_compilation): Always call free_after_compilation.
18657 Conditionalize call to ggc_collect.
18658 (main): Call init_ggc.
18659 * tree.c (push_obstacks): Do the push, even when GC'ing.
18660 (push_obstacks_nochange): Likewise.
18661 (pop_obstacks): Liekwise.
18662 * varasm.c (free_varasm_status): Take decl as a parameter.
18664 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
18666 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
18667 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
18668 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
18669 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
18671 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
18673 * pa/x-pa-mpeix: New file for the MPE port.
18675 * pa/quadlib.asm: New file for long double support.
18677 * configure.in: Add hppa1.0-*-mpeix for MPE port.
18678 * configure: Rebuilt.
18680 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
18682 * final.c (shorten_branches): Fix last change.
18684 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
18686 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
18688 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
18690 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
18693 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18695 * c-aux-info.c (concat): Don't define.
18697 * cccp.c (my_strerror): Likewise. All callers changed to use
18699 (do_include): Call xstrdup, not xmalloc/strcpy.
18700 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
18701 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
18703 * collect2.c (my_strsignal): Likewise. All callers changed to use
18705 (locatelib): Call xstrdup, not xmalloc/strcpy.
18707 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
18709 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
18711 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
18713 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
18715 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
18717 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
18719 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
18721 (find_all_handler_type_matches): Likewise. Don't check return
18723 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
18724 xmalloc, not malloc.
18725 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
18727 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
18728 (init_spec): Call xcalloc, not xmalloc/bzero.
18729 (set_spec): Call xstrdup, not save_string.
18730 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
18731 (find_a_file): Call xstrdup, not xmalloc/strcpy.
18732 (process_command): Call xstrdup, not save_string.
18733 (main): Call xcalloc, not xmalloc/bzero.
18735 * gcov.c (xmalloc): Don't define.
18736 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
18737 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
18738 (output_data): Call xcalloc, not xmalloc/bzero.
18740 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
18742 * mips-tdump.c (xmalloc): Don't define.
18743 (print_symbol): Call xmalloc, not malloc.
18744 (read_tfile): Call xcalloc, not calloc.
18746 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
18747 Don't define. All callers of xfree/my_strsignal changed to use
18748 free/strsignal instead.
18749 (allocate_cluster): Call xcalloc, not calloc.
18751 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
18752 Fix memory leak, free allocated memory.
18754 * prefix.c (translate_name): Call xstrdup, not save_string.
18755 (update_path): Likewise.
18757 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
18759 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
18760 Don't define. Callers of xfree/savestring2 changed to use
18761 free/concat instead.
18763 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
18764 (init_elim_table): Likewise.
18766 * resource.c (init_resource_info): Likewise.
18768 * stupid.c (stupid_life_analysis): Likewise.
18770 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
18771 (open_dump_file): Call concat, not xmalloc/strcpy/...
18772 (clean_dump_file): Likewise.
18773 (compile_file): Call xstrdup, not xmalloc/strcpy.
18775 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
18777 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
18778 * v850.c (v850_va_arg): New.
18780 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18782 * haifa-sched.c: Tidy comments.
18784 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18786 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
18787 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
18788 $(out_object_file)): Depend on ggc.h.
18789 * c-common.c: Include "ggc.h".
18790 (combine_strings): If doing GC, use ggc_alloc_string.
18791 * c-decl.c: Include "ggc.h".
18792 (ggc_p): Define with value 0.
18793 (mark_binding_level): New function.
18794 (init_decl_processing): Add GC roots.
18795 (mark_c_function_context): New function.
18796 (lang_mark_false_label_stack): New function.
18797 (lang_mark_tree): New function.
18798 (lang_cleanup_tree): New function.
18799 * c-lang.c: Include "ggc.h".
18800 (lang_init): Call c_parse_init.
18801 * c-lex.c: Include "ggc.h".
18802 (check_linenum): If doing GC, don't copy filenames to permanent
18804 * c-parse.in: Include "ggc.h".
18805 (c_parse_init): New function.
18806 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
18807 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
18809 * except.c (mark_eh_state): Mark more state.
18810 * function.c (mark_function_state): Likewise.
18811 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
18812 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
18813 * toplev.c (mark_file_stack): New function.
18814 (compile_file): If doing GC, use ggc_alloc_string on input filename.
18815 (main): Add root for input_file_stack.
18817 * i386.c: Include "ggc.h".
18818 (ix86_mark_machine_status): New function.
18819 (override_options): Set mark_machine_status.
18821 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18823 * tree.c (copy_node): Copy node contents also if doing GC.
18825 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18827 * collect2.c (scan_libraries): Fix double-thinko :-).
18829 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
18831 * collect2.c (scan_libraries): Fix thinko.
18833 * cse.c (delete_trivially_dead_insns): Do not skip the last
18834 insn if it is a real insn.
18836 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
18838 * Makefile.in (ggc-simple.o): Depend on hash.h.
18839 * ggc.h (ggc_add_tree_hash_table_root): Declare.
18840 (ggc_mark_tree_varray): Likewise.
18841 (ggc_mark_tree_hash_table): Likewise.
18842 * ggc-simple.c: Include hash.h.
18843 (ggc_mark_tree_hash_table_ptr): New function.
18844 (ggc_mark_tree_hash_table_entry): Likewise.
18845 (ggc_mark_tree_hash_table): Likewise.
18846 (ggc_add_tree_hash_table_root): Likewise.
18847 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
18848 rtx, when defining fields.
18850 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
18852 * profile.c (output_func_start_profiler): Remove apparently
18853 nonsensical call to start_sequence.
18855 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
18857 * clipper/clipper.c (clipper_va_start): Fix typos.
18859 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
18860 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
18861 (spur_va_arg): New stub.
18863 * configure.in: Comment out pyramid.
18865 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
18867 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
18868 don't conflict with the bits that win32, cygwin, and dgux
18871 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
18872 Bernd Schmidt <bernds@cygnus.co.uk>
18874 * integrate.c (function_cannot_inline_p): Do not inline
18875 functions with forced labels.
18877 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
18878 Bernd Schmidt <bernds@cygnus.co.uk>
18879 Mark Mitchell <mark@codesourcery.com>
18881 * Makefile.in (ggc-simple.o): Depend on varray.h.
18882 (rtl.o): Depend on ggc.h.
18883 (genattrtab.o): Depend on ggc.h.
18884 (print-tree.o): Likewise.
18885 (fold-const.o): Likewise.
18886 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
18887 (make_insn_raw): Don't cache insns when GC'ing.
18888 (emit_insn_before): Likewise.
18889 (emit_insn_after): Likewise.
18890 (emit_insn): Likewise.
18891 (start_sequence): Use xmalloc to allocate the sequence_stack.
18892 (end_sequence): Add free to free it.
18893 (gen_sequence): Don't cache insns when GC'ing.
18894 (clear_emit_caches): Don't use sequence_element_free_list.
18895 (init_emit): Use xcalloc, not xmalloc+bzero.
18896 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
18897 * function.c (pop_function_context_from): Use free to free the
18898 fixup_var_refs_queue.
18899 (put_reg_into_stack): Allocate it with xmalloc.
18900 * genattrtab.c: Include ggc.h.
18901 (operate_exp): Don't use obstack_free when GC'ing.
18902 (simplify_cond): Likewise.
18903 (simplify_text_exp): Likewise.
18904 (optimize_attrs): Likewise.
18905 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
18907 (gencode): Generate a #include for ggc.h.
18908 * ggc-callbacks.c (ggc_p): Define it to zero.
18909 * ggc-none.c (ggc_p): Likewise.
18910 * ggc-simple.c: Include varray.h.
18911 (ggc_mark_tree_varray): New function.
18912 (ggc_add_tree_varray_root): Likewise.
18913 (ggc_mark_tree_varray_ptr): Likewise.
18914 * ggc.h (ggc_p): Declare.
18915 (varray_head_tag): Likewise.
18916 (ggc_add_tree_varray_root): Declare.
18917 * print-tree.c (print_node): Don't check for TREE_PERMANENT
18918 inconsistencies when GC'ing.
18919 * rtl.c: Include ggc.h.
18920 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
18921 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
18922 (rtx_free): Don't call obstack_free when GC'ing.
18923 * toplev.c (rest_of_compilation): Call ggc_collect after every
18925 * tree.c (push_obstacks): Do nothing, if GC'ing.
18926 (pop_obstacks_nochange): Likewise.
18927 (pop_obstacks): Likewise.
18928 (make_node): Use ggc_alloc_tree when GC'ing.
18929 (copy_node): Likewise.
18930 (get_identifier): Use ggc_alloc_string when GC'ing.
18931 (build_string): Likewise.
18932 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
18933 (tree_cons): Likewise.
18934 (build1): Likewise.
18935 (type_hash_canon): Don't call obstack_free when GC'ing.
18937 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
18939 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
18940 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
18942 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
18943 Bernd Schmidt <bernds@cygnus.co.uk>
18944 Mark Mitchell <mark@codesourcery.com>
18946 * Makefile.in (stor-layout.o): Depend on ggc.h.
18947 (expr.o): Depend on ggc.h.
18948 (profile.o): Depend on ggc.h.
18949 (stor-layout.o): Depend on ggc.h.
18950 * emit-rtl.c (init_emit_once): Add gc roots.
18951 * expr.c: Include ggc.h.
18952 (emit_block_move): Add gc roots.
18953 (clear_storage): Likewise.
18954 * expr.h (init_stor_layout_once): New function.
18955 * profile.c: Include ggc.h.
18956 (init_arc_profiler): profiler_label is a root.
18957 * scan.c (make_sstring_space): Trust xrealloc to function
18958 correctly with first parameter NULL.
18959 * stor-layout.c: Include ggc.h.
18960 (set_sizetype): Add gc root.
18961 (init_stor_layout_once): New function.
18962 * toplev.c (compile_file): Call it.
18964 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
18965 Bernd Schmidt <bernds@cygnus.co.uk>
18966 Mark Mitchell <mark@codesourcery.com>
18968 * Makefile.in (tree.o): Depend on ggc.h.
18969 (varasm.o): Likewise.
18970 (function.o): Likewise.
18971 (stmt.o): Likewise.
18972 (except.o): Likewise.
18973 (optabs.o): Likewise.
18974 (emit-rtl.o): Likewise.
18975 * emit-rtl.c: Include ggc.h.
18976 (sequence_element_free_list): Remove, and all references.
18977 (mark_sequence): New functions.
18978 (mark_emit_state): New function.
18979 * except.c: Include ggc.h.
18980 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
18981 (mark_tree_label_node): New functions.
18982 (mark_eh_state): New function.
18983 * function.c: Include ggc.h.
18984 (mark_temp_slot, mark_function_chain): New functions.
18985 (mark_function_state): New function.
18986 (init_function_once): New function.
18987 * function.h (init_function_once): New function.
18988 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
18989 * ggc.h (label_node): Declare.
18990 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
18991 (lang_mark_false_label_stack): New function.
18992 (mark_temp_slot): Remove declaration.
18993 (mark_function_chain): Likewise.
18994 (mark_eh_state): Adjust prototype.
18995 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
18997 * optabs.c: Include ggc.h.
18998 (mark_optab): New function.
18999 (init_optabs): Add gc roots.
19000 * stmt.c: Include ggc.h.
19001 (mark_cond_nesting, mark_loop_nesting): New functions.
19002 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19003 (mark_stmt_state): New function.
19004 * toplev.c (compile_file): Call init_function_once.
19005 * tree.c: Include ggc.h.
19006 (type_hash): Move declaration earlier in file.
19007 (TYPE_HASH_SIZE, type_hash_table): Likewise.
19008 (init_obstacks): Add gc roots.
19009 (mark_type_hash): New function.
19010 * varasm.c: Include ggc.h.
19011 (mark_pool_constant): New function.
19012 (mark_varasm_state): New function.
19014 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19016 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19018 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19020 * c-decl.c (struct language_function): Renamed from struct c_function.
19022 (c_function_chain): Delete.
19023 (push_c_function_context): New arg F. Don't warn about nested
19024 functions here. Fill LANGUAGE elt of F. Delete code to update
19025 c_function_chain. Don't call push_function_context.
19026 (pop_c_function_context): New arg F. Restore from there instead of
19027 from c_function_chain. Don't call pop_function_context. Clear out
19028 LANGUAGE field of F when done.
19029 * c-lang.c: Include "function.h"
19030 (lang_init): Initialize save_lang_status and restore_lang_status.
19031 * c-parse.in (nested_function, nested_function_notype): Warn about
19032 nested functions. Call push_function_context/pop_function_context
19033 instead of the _c_ variants.
19034 * c-tree.h (push_c_function_context, pop_c_function_context): Update
19036 * Makefile.in (c-lang.o): Update dependencies.
19038 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19039 regno_pointer_flag, regno_pointer_align.
19040 (gen_reg_rtx): Use xrealloc to enlarge them.
19041 (free_emit_status): New function.
19042 * function.c (mark_machine_status, mark_lang_status): New variables.
19043 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
19044 in some bits from assign_stack_local. All callers changed to use new
19046 (assign_stack_local): Just call assign_stack_local_1.
19047 (free_after_compilation): New function.
19048 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19049 (trampoline_address): Likewise.
19050 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19051 (prepare_function_start): Explicitly clear some more variables.
19052 * function.h (struct function): New elt can_garbage_collect.
19053 (mark_machine_status, mark_lang_status): Declare variables.
19054 (free_after_compilation, free_emit_status, free_varasm_status,
19055 init_varasm_status): Declare functions.
19056 * toplev.c (rest_of_compilation): Call free_after_compilation when
19057 done with the current function.
19058 * varasm.c (free_varasm_status): New function.
19060 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
19062 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19063 (EXPAND_BUILTIN_VA_ARG): Define.
19064 * sparc.c (sparc_va_start): New.
19065 (sparc_va_arg): New.
19067 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19069 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19071 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19073 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19075 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
19077 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19078 (OBJS): Add $(GGC).
19079 (ggc-callbacks.o): New target.
19080 * ggc-callbacks.c: New file.
19082 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19084 * expr.h: Collapse individual optab and libfunc vars to arrays.
19085 (optab_index, libfunc_index): New enumerations.
19086 (optab_table, libfunc_table): New arrays.
19087 Add accessor macros for both.
19089 * optabs.c (optab_table, libfunc_table): New.
19090 Delete declarations for individual optab and libfunc vars.
19092 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
19094 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19096 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19098 * Makefile.in (GGC, GGC_LIB): New.
19099 (HOST_RTL): Include ggc-none.o.
19100 (ggc-simple.o): New target.
19101 (ggc-none.o): Likewise.
19102 * tree.h (tree_common): Add gc_mark.
19103 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19104 (struct rtvec_def): Add gc_mark.
19105 * emit-rtl.c (global_rtl): Update static initializers to contain
19106 enough initializers.
19107 * ggc.h, ggc-none.c, ggc-simple.c: New files.
19108 * toplev.c (gc_time): New variable.
19109 (all_time): New variable.
19110 (compile_file): Print gc time.
19111 (print_time): Calculate percentage of the whole.
19113 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19115 Change obstack memory management and varasm constant pool handling so
19116 that nested functions are treated like any other functions.
19117 * function.c (init_machine_status): New variable.
19118 (push_function_context_to): Set contains_functions for the outer
19119 function. Don't call save_varasm_status.
19120 (pop_function_context_from): Don't call restore_varasm_status. Don't
19121 set current_function_contains_functions.
19122 (prepare_function_start): Call init_varasm_status rather than
19123 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
19125 * function.h (struct function) Add field varasm. Delete fields
19126 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19127 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19128 (init_machine_status): Declare.
19129 (save_varasm_status, restore_varasm_status): Delete declarations.
19130 (save_tree_status, restore_tree_status): Delete last argument.
19131 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
19132 code. All callers changed.
19133 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19134 save_constants_in_decl_trees, restore_constants, save_constants,
19135 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19137 (inlining): New variable.
19138 (reg_map, label_map, insn_map, orig_asm_operands_vector,
19139 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19141 (save_for_inline_nocopy): Don't save constants.
19142 Don't set inl_emit field in current_function.
19143 (expand_inline_function): Use emit field, not inl_emit, of the inlined
19144 function. Set new variable inlining before
19145 calling copy_rtx_and_substitute.
19146 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19147 constant pool references if inlining is nonzero.
19148 Delete ADDRESS and (most of the) CONST cases.
19149 (output_inline_function): Save and restore current_function/
19150 current_function_decl. Delete restore_constants code. Don't call
19151 init_const_rtx_hash_table.
19152 * output.h (init_const_rtx_hash_table): Don't declare.
19153 * rtl.h (struct function): Declare.
19154 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19155 * toplev.c (rest_of_compilation): Don't treat nested functions or
19156 functions containing them specially. Delete all code to deal with
19157 save_for_inline_copying.
19158 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19159 inline_obstacks): Delete variables.
19160 (save_tree_status): Lose arg CONTEXT. All callers changed.
19161 Simply allocate a new function_maybepermanent_obstack for the new
19162 function, delete all the special cases.
19163 Don't save inline_obstacks.
19164 (restore_tree_status): Lose arg CONTEXT. All callers changed.
19165 Delete special handling for function_maybepermanent_obstack; simply
19167 Don't restore inline_obstacks.
19168 (permanent_allocation): Delete code that frees inline_obstacks.
19169 (print_inline_obstack_statistics): Delete function.
19170 (dump_tree_statistics): Don't call it.
19171 * varasm.c (struct varasm_status): New.
19172 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19173 last_pool, pool_offset, const_double_chain): Delete global
19174 variables, replace with accessor macros.
19175 (immed_double_const): Don't walk const_double_chain outside a
19176 function, but don't treat nested functions specially anymore.
19177 (immed_real_const_1): Likewise.
19178 (clear_const_double_mem): Don't treat nested functions specially.
19179 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19180 (save_varasm_status, restore_varasm_status): Delete functions.
19181 (init_varasm_status): New function.
19182 (force_const_mem): Don't treat nested functions specially.
19183 (find_pool_constant): Accept new arg F, search for constants in
19184 that function's pool rather than the current one. All callers
19186 (get_pool_constant_for_function, get_pool_mode_for_function): New
19189 * i386.c (init_386_machine_status): New function, mostly from
19190 clear_386_stack_locals.
19191 (struct machine_functions): Rename element names to avoid name
19193 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19194 macros, replacing global variables.
19195 (clear_386_stack_locals, save_386_machine_status,
19196 restore_386_machine_status): Delete functions.
19197 (override_options): Initialize init_machine_status.
19198 * i386.h (INIT_EXPANDERS): Delete macro.
19199 (save_386_machine_status, restore_386_machine_status,
19200 clear_386_stack_locals): Delete declarations.
19202 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19204 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19205 (doloop_begin): Simplify pattern and use emit_jump_insn.
19206 (doloop_end): Simplify pattern, switch operand order,
19207 and use emit_jump_insn.
19209 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19211 * function.h (struct function): Add new element LANGUAGE.
19212 (save_lang_status): Declare new variable.
19213 (restore_lang_status): Likewise.
19214 * function.c (save_lang_status): Define.
19215 (restore_lang_status): Likewise.
19216 (push_function_context_to): Call language-specific save function.
19217 (pop_function_context_from): Call language-specific restore function.
19219 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19221 * i386.md (movsf_1): Check REG_P before use of REGNO.
19222 (movdf_1): Likewise.
19223 (movxf_1): Likewise.
19224 (extendsfdf2): Likewise.
19225 (extendsfxf2): Likewise.
19226 (extenddfxf2): Likewise.
19228 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19230 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19231 constants into memory.
19232 (c4x_shiftable_constant): New function.
19233 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19234 (c4x_shiftable_constant): Declare.
19235 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19236 ashlqi3_noclobber): Add new patterns and associated splitters.
19238 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
19240 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19241 * dwarf2out.c (dwarf2out_frame_init): Likewise.
19242 * final.c (shorten_branches): Likewise.
19243 * global.c (global_alloc): Likewise.
19244 * haifa-sched.c (build_control_flow): Likewise.
19245 * stmt.c (check_for_full_enumeration_handling): Likewise.
19246 (estimate_case_costs): Likewise.
19248 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
19250 * rtl.h (RTL_CHECKC2): Fix typo in last change.
19252 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
19254 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19255 (recompute_reg_usage): Likewise.
19256 * rtlanal.c (find_regno_fusage): Likewise.
19258 * rtl.c (rtl_check_failed_code1): New function.
19259 (rtl_check_failed_code2): New.
19260 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19261 (RTL_CHECKC1, RTL_CHECKC2): New.
19262 (XC*): New accessor macros.
19263 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19264 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19265 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19266 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19267 (TRAP_*, RANGE_INFO_*): Likewise.
19269 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19271 * Makefile.in (tlink.o): Don't depend on toplev.h.
19273 * collect2.c (c_file, o_file, export_file, import_file, ldout,
19274 output_file, nm_file_name, ldd_file_name, strip_file_name,
19275 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19276 add_prefix, prefix_from_env, prefix_from_string, do_wait,
19277 fork_execute, maybe_unlink, add_to_list,
19278 extract_init_priority, write_list, dump_list,
19279 dump_prefix_list, write_list_with_asm, write_c_file,
19280 write_c_file_stat, write_c_file_glob, scan_prog_file,
19281 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19282 ignore_library, extract_string, notice, dump_file, target_machine,
19283 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19284 read_file, print_load_command): Constify a char*.
19285 (fdopen, error, fatal, fatal_perror): Don't prototype.
19286 (my_strerror): Remove. All callers use xstrerror instead.
19287 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19288 (main): Add prototype. Constify lots of char* ptrs. Change calls
19289 to xcalloc/strcpy/strcat/... to one call to concat.
19290 (main, scan_prog_file, scan_libraries): Use an intermediate
19291 `const char **' to build an argv array.
19292 (mapfile, libselect, libcompare, locatelib): Add prototypes.
19294 * collect2.h (collect_execute, collect_wait, dump_file,
19295 file_exists): Constify a char*.
19296 (ldout, c_file_name, temporary_obstack, permanent_obstack,
19297 temporary_firstobj, vflag, debug): Add extern declarations.
19298 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19300 * tlink.c: Don't include toplev.h.
19301 (vflag, debug, ldout, c_file_name, temporary_obstack,
19302 permanent_obstack, temporary_firstobj): Don't declare.
19303 (tlink_execute, frob_extension, symbol_hash_lookup,
19304 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19305 recompile_files, read_repo_files, demangle_new_symbols,
19306 scan_linker_output): Constify a char*.
19307 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19308 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19310 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
19312 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19313 (relative) rather than jsr (absolute) subroutine call insns.
19314 * config/m68k/m68k-coff.h: Ditto.
19316 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
19318 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19319 now rework these too.
19320 (arm_reorg): If an insn can't reach the end of the current pool,
19321 ensure that we emit that pool before the insn.
19323 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
19325 * tlink.c (scan_linker_output): Skip the initial underscore in
19326 a mangled name if appropriate.
19328 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19330 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19331 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19332 error_with_ivar, gen_declarator, create_builtin_decl,
19333 my_build_string, generate_descriptor_table, generate_ivars_list,
19334 generate_dispatch_table, check_protocols, TAG_GETCLASS,
19335 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19336 dump_base_name, lang_decode_option, build_encode_expr,
19337 start_class, finish_class, encode_pointer, really_start_method,
19338 gen_declaration, dump_interface, handle_class_ref, handle_impent):
19340 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19341 Add static prototypes.
19342 (build_objc_string_decl, build_selector_reference_decl,
19343 encode_bitfield, build_class_reference_decl): Remove unused
19344 parameter, all callers changed.
19345 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19346 (objc_printable_name): Likewise. Change second parameter to type int.
19347 (init_objc): Use memcpy, not bcopy, to avoid casts.
19349 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
19351 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19352 reg notes on a deleted insn.
19353 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19355 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
19357 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19359 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19361 * stmt.c (expand_asm_operands): Fix index into inout_mode when
19364 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
19366 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19367 * tm.texi (MD_ASM_CLOBBERS): Document it.
19369 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
19371 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19372 * except.c (expand_rethrow): Remove unused variable.
19373 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19374 * flow.c (replace_insns): Likewise.
19375 (create_edge_list, verify_edge_list): Likewise.
19376 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19378 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19379 is special code to run.
19380 (main): Don't define operands to emit_operand.
19381 * genrecog.c (main): Don't emit an empty peephole2_insn function.
19383 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19385 * alpha/alpha.h (normal_memory_operand): Declare.
19386 (reg_no_subreg_operand): Declare.
19387 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19389 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
19391 * c-parse.in (compstmt_primary_start): New, broken out of first
19392 part of compstmt handling in primary.
19393 (primary): Use it. Add an error clause.
19394 (compstmt_nostart): Renamed from compstmt; remove all
19395 initial invocations of compstmt_start.
19398 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
19400 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
19403 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
19405 * combine.c (simplify_shift_const): Remove extra semicolon.
19406 * dwarf2out.c (remove_AT): Likewise.
19407 * expmed.c (expand_mult): Likewise.
19408 * gcov.c (create_program_flow_graph): Likewise.
19409 * reorg.c (mostly_true_jump): Likewise.
19411 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
19413 * fold-const.c (fold_range_test): Do not try to fold the range
19414 test if the rhs or lhs has side effects.
19416 * combine.c (simplify_rtx): Recognize another case of a synthesized
19419 * varasm.c (mark_constant_pool): When marking indirect references,
19420 only look at SYMBOL_REFs.
19422 * except.c (expand_fixup_region_end): Do not peek at
19423 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19425 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
19427 * flags.h: New variables align_loops, align_loops_log,
19428 align_jumps, align_jumps_log, align_labels, align_labels_log,
19429 align_functions, align_functions_log.
19430 * toplev.c: Define them.
19431 (f_options): Handle -falign-* when they have no argument.
19432 (main): Add logic to set variables for -falign-functions,
19433 -falign-jumps, -falign-labels, -falign-loops.
19434 Make it -fsched-verbose=<n> and -finline-limit=<n>.
19435 (display_help): Change help to match options.
19436 * final.c (LABEL_ALIGN): Default to align_labels_log.
19437 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19438 (LOOP_ALIGN): Default to align_loops_log.
19439 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19440 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19441 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19442 * varasm.c (assemble_start_function): Handle align_functions.
19444 * config/sparc/sparc.h: Don't declare sparc_align_*.
19445 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19446 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19448 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19450 * config/sparc/sparc.c: Delete sparc_align_loops,
19451 sparc_align_jumps, sparc_align_funcs and the corresponding string
19453 (sparc_override_options): Default align_functions on ultrasparc.
19454 Delete -malign-* handling.
19456 * config/mips/mips.c (override_options): On 64-bit targets,
19457 try to align code to 64-bit boundaries.
19458 (print_operand): New substitution, %~,
19459 which aligns labels to align_labels_log.
19460 * config/mips/mips.md (div_trap_normal): Use %~.
19461 (div_trap_mips16): Likewise.
19463 (absdi2): Likewise.
19464 (ffssi2): Likewise.
19465 (ffsdi2): Likewise.
19466 (ashldi3_internal): Likewise.
19467 (ashrdi3_internal): Likewise.
19468 (lshrdi3_internal): Likewise.
19469 (casesi_internal): Likewise.
19471 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
19473 Merge new ia32 backend from the branch!
19475 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19476 See ChangeLog.P2 on new_ia32_branch for details.
19478 * rtl.h (stack_regs_mentioned_p): Delete prototype.
19479 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19480 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19481 * i386/gas.h (ASM_FILE_START): Define.
19482 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19483 for name change of ix86_valid_decl_attribute_p.
19484 (i386_pe_valid_type_attribute_p): Similarly.
19486 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
19488 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19489 to step through CC modes.
19491 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19493 * regmove.c (fixup_match_1): Don't move INSN in front of P if
19494 it would end up in the shadow of a live flags regsiter.
19496 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19498 * reload1.c: Fix many indentation problems.
19499 * reload.c: Likewise.
19501 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
19503 * alias.c (non_local_reference_p): Constify fmt.
19505 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
19507 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19509 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
19511 * cse.c (delete_trivially_dead_insns): Do not delete stores to
19512 the internal_arg_pointer.
19514 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
19516 Merge peephole2 from new_ia32_branch:
19517 * Makefile.in (STAGESTUFF): Add *.peephole2.
19518 (mostlyclean): Likewise.
19519 (recog.o): Depend on resource.h.
19521 * final.c (peephole): Conditionalize decl on HAVE_peephole.
19522 (final_scan_insn): Likewise for the invocation of peephole.
19523 * genconfig.c (main): Look for peephole and peephole2 patterns.
19524 Emit HAVE_peephole* accordingly.
19525 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19526 * flags.h (flag_peephole2): Declare.
19527 * toplev.c: New pass peephole2. New flag -fpeephole2.
19529 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19530 * gencodes.c (main): Likewise.
19531 * genextract.c (main): Likewise.
19532 * genoutput.c (main): Likewise.
19533 * genemit.c (max_operand_1): Look for the max scratch operand.
19534 (gen_rtx_scratch): New.
19535 (gen_exp): Use it, and pass on new arg subroutine_type.
19536 (gen_expand): Take max scratch into account.
19537 (gen_split): Emit peephole2 functions.
19538 (output_peephole2_scratch): New.
19539 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
19540 * genrecog.c (routine_type): Add PEEPHOLE2.
19542 (make_insn_sequence): Match outer parallel for peep2. Discard
19543 top level scratches and dups.
19544 (add_to_sequence): New args insn_type and top. Update all callers.
19545 Handle toplevel peep2 matching insns.
19546 (write_subroutine): Handle peep2.
19547 (write_tree_1): Likewise.
19548 (write_tree): Likewise.
19550 (change_state): New arg afterward. Update all callers.
19551 Handle matching separate insns.
19552 * recog.c (recog_next_insn): New.
19553 (peephole2_optimize): New.
19554 * rtl.def (DEFINE_PEEPHOLE2): New.
19555 * resource.c (find_free_register): New argument last_insn. Use it
19556 to find a register available through the entire span.
19557 * resource.h (find_free_register): Update prototype.
19559 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
19561 * i386.c (output_strlen_unroll): Don't write xops[7]
19562 label if it wasn't set.
19564 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
19566 * cpplib.c (struct directive): Const-ify name pointer and
19567 function pointer prototype.
19568 (validate_else, do_define, do_line, do_include, do_undef,
19569 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19570 do_elif, do_endif, do_sccs, do_assert, do_unassert,
19571 do_warning): Const-ify second arg.
19572 (directive_table): Mark const. Reorder entries by frequency
19573 of usage, record statistics.
19575 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19577 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19578 bounds- check RTL accesses if --enable-checking.
19579 (RTVEC_ELT): Bounds check if --enable-checking.
19580 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19581 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19582 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19584 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19585 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
19587 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19588 (NOTE_SOURCE_FILE): Use X0STR.
19589 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19590 MEM_ALIAS_SET): Use X0INT.
19591 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19592 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19594 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19595 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19596 (rtl_check_failed_bounds, rtl_check_failed_type1,
19597 rtl_check_failed_type2, rtvec_check_failed_bounds): New
19599 (fancy_abort): Fix comment.
19601 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19602 (cse_insn): Decrement LABEL_NUSES for jump target before
19603 deleting jump insn.
19604 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19605 * final.c (alter_subreg): Compute regno before changing x to
19606 REG; set REGNO(x) after changing it.
19607 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19608 notes containing CONST_INTs.
19609 (delete_eh_regions): Use NOTE_EH_HANDLER.
19610 * function.c (put_reg_into_stack): Make reg a MEM before
19612 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
19614 (gen_mem_addressof): Make reg a MEM before initializing it.
19615 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19617 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19618 deleting an insn, not after.
19619 (block_alloc): Only look at PATTERN(insn) if we have to, and
19620 only if it's format class 'i'.
19621 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19622 CONST_INT before using its INTVAL.
19623 * print-rtl.c (print_rtx): Use X0STR.
19624 * regmove.c (fixup_match_1): Don't look at PATTERN of
19625 non-class-'i' insn chain elements.
19626 * reload.c (loc_mentioned_in_p): Take address of
19627 in->fld[1].rtx directly.
19628 * reload1.c (reload): Change reg to a MEM before initializing
19630 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19632 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19634 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
19636 * config/mips/mips.c (machine_dependent_reorg): Force a
19637 barrier to output the local constant pool if a barrier hasn't
19638 been found at a natural point in the instruction stream.
19640 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19642 * c-parse.in (language_string): Constify.
19644 * dwarf2out.c (language_string): Remove declaration.
19646 * dwarfout.c (language_string): Likewise.
19648 * toplev.c (language_string, init_parse, finish_parse): Likewise.
19650 * tree.h (language_string, init_parse, finish_parse): Declare.
19652 * i386/sun386.h (language_string): Remove declaration.
19654 * mips.h (language_string): Likewise.
19656 * nextstep.h (language_string): Likewise.
19658 * nextstep21.h (language_string): Likewise.
19660 * rs6000.c (language_string): Likewise.
19662 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19664 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
19665 (getpwd.o): Remove target.
19667 * getpwd.c: Delete file. Its in libiberty now.
19669 * dbxout.c (getpwd): Don't prototype.
19670 * dwarf2out.c (getpwd): Likewise
19671 * dwarfout.c (getpwd): Likewise
19672 * final.c (getpwd): Likewise.
19673 * protoize.c (getpwd): Likewise.
19675 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19677 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
19679 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
19681 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
19682 mark_set_resources.
19684 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
19686 * fixinc/Makefile.in (subdir): New.
19687 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
19690 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
19692 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
19693 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
19696 * invoke.texi: Fix typo.
19698 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
19699 changed. Handle autoincrement addressing modes.
19701 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
19702 just like we would the virtual incoming args register when
19705 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
19707 * rs6000.h (ASM_FILE_START): Specify complete filename, including
19708 path, in .file directive.
19710 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
19712 * gcc.texi (External Bugs): Remove obsolete note about Perl on
19715 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
19717 * stdbool.h: Make the typedef name _Bool, with bool a #defined
19720 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19722 * tree.c (tree_code_name): Constify a char*.
19724 * tree.h (tree_code_name, decl_printable_name): Likewise.
19726 * function.h (struct function): Likewise.
19728 * toplev.c (decl_name, decl_printable_name): Likewise.
19730 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
19732 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
19733 (init_objc): Remove function pointer cast.
19735 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
19737 * pa.md (interspace_jump): New pattern.
19738 (builtin_longjmp): New expander.
19740 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
19742 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
19743 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
19744 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
19746 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
19748 * jump.c (delete_prior_computation): Also check calls
19749 to constant functions. Don't bother checking for a
19750 REG_UNUSED note before adding it.
19751 (delete_computation): Handle multi-word hard registers
19752 when synthesizing missing REG_DEAD notes for a register
19753 which is both set and used by an insn.
19755 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19757 * loop.c (this_loop_info): New variable.
19758 (loop_has_call, loop_has_volatile, loop_has_tablejump,
19759 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
19761 (prescan_loop, strength_reduce): New argument loop_info. All callers
19763 (scan_loop): New variable loop_info, initialise to address of
19765 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
19766 Delete variable loop_has_multiple_exit targets and replace with
19767 field in this_loop_info.
19768 (find_and_verify_loops): Rename this_loop to this_loop_num.
19769 (strength_reduce): Delete loop_iteration_info. Replace variable
19770 loop_info with function argument of same name.
19771 (insert_bct): Rework test for loop being completely unrolled.
19773 * loop.h (struct loop_info): New fields num, loops_enclosed,
19774 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
19775 has_indirect_jump, and cont. Redefine use of unroll_number.
19776 (loop_unroll_number): Delete.
19778 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
19779 field of loop_info.
19780 (loop_iterations): Delete variable vtop and instead use
19781 loop_info->vtop computed in prescan_loop.
19783 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
19785 * fix-header.c (main): Do not pass a null pointer to strcmp.
19787 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
19789 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
19791 * configure: Rebuilt.
19793 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
19795 * jump.c (jump_optimize_1): Do not delete assignments to
19796 internal_arg_pointer.
19797 * cse.c (delete_trivially_dead_insns): Always consider a set of
19798 the internal_arg_pointer live.
19800 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
19802 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
19803 (update_life_info) [REG_WAS_0]: Search the original insns rather
19804 than the new insns for the note. Fix typos finding note_dest.
19805 If no dest found, discard the note rather than abort.
19806 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
19807 (replace_insns): Remove the old insn list after update_life_info
19810 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
19812 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
19813 sched_analyze_insn.
19814 (sched_analyze_1): Let add_dependence care for not adding dups.
19815 (sched_analyze_2): Likewise.
19816 (add_branch_dependences): Likewise.
19818 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
19820 * i386/winnt.c (export_list): New type.
19821 (exports_head): Rename to
19822 (export_head): this.
19823 (i386_pe_record_exported_symbol): Add is_data flag.
19824 (i386_pe_asm_file_end): Emit directive for exported variables.
19825 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
19827 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
19828 (ASM_DECLARE_OBJECT_NAME): Likewise.
19829 (ASM_DECLARE_FUNCTION_NAME): Likewise.
19830 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
19832 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
19834 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
19836 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
19839 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
19841 * config/openbsd.h: Define SET_ASM_OP.
19842 * tm.texi: cross-reference SET_ASM_OP in the index.
19844 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
19846 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
19847 for a CONST_DOUBLE, at compile time. Initialize rtx_length
19848 and class_narrowest_mode at compile time. Kill init_rtl.
19849 Mark rtx_length, mode_class, mode_size, mode_unit_size,
19850 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
19851 rtx_format as const. Kill all references to EXTRA_CC_MODES or
19853 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
19855 * rtl.h: Declare rtx_length and rtx_format as const.
19856 * machmode.def: Define CC(). Use CC() to define CCmode. If
19857 EXTRA_CC_MODES is defined, expand it here.
19858 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
19859 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
19860 const. Kill all references to EXTRA_CC_MODES.
19862 * toplev.c: Don't prototype or call init_rtl.
19863 * optabs.c: Don't call init_mov_optab.
19864 * genemit.c: Don't generate init_mov_optab. Don't call
19866 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
19868 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
19869 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
19870 genrecog.c: Don't call init_rtl.
19872 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
19873 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
19874 definition of EXTRA_CC_MODES.
19876 * md.texi: Kill ref to EXTRA_CC_NAMES.
19877 * tm.texi: Document new way to define EXTRA_CC_MODES.
19879 * genrecog.c: Do not look up the name of a define_split.
19880 (Unrelated bugfix.)
19882 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
19884 * config/v850/v850.md: Fix typo introduced by previous delta.
19886 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19888 * gcc.c (fatal): Make definition static to match prototype.
19890 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19892 * combine.c (get_last_value): Don't look for earlier sets if the last
19893 known set is somewhere in between the insns being combined.
19895 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
19897 * configure.in: Don't use shell ! to negate exit codes
19898 * configure: Regenerate
19900 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
19902 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
19903 the fact that ALIGN is measured in bits, not bytes.
19905 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
19907 * errors.c: New file; defines functions error, warning, and
19908 fatal, variables have_error and progname.
19909 * errors.h: New file; prototypes and decls for stuff in errors.c.
19911 * Makefile: Add rules to build errors.o and
19912 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
19913 genopinit, genrecog, genextract, genpeep, genattr, and
19914 genoutput with errors.o. Add errors.h to deps of genconfig.o,
19915 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
19916 genpeep.o, genattr.o, and genoutput.o.
19918 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
19919 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
19920 define or prototype fatal. Set progname at beginning of main.
19921 * genoutput.c: Likewise, and don't define or prototype error
19924 * c-typeck.c (c_expand_start_case): Return immediately if exp
19926 * fold-const.c (operand_equal_p): Return immediately if arg1
19927 or arg0 are ERROR_MARKs.
19928 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
19929 fields of type ERROR_MARK when calculating if the record can
19932 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
19933 with much help from Jeffrey A Law and Richard Henderson
19935 * i386.md: In the 6 insns which call output_fix_trunc,
19936 earlyclobber operands[0].
19938 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
19940 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
19941 creating new registers.
19943 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
19945 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
19946 i386_reg_alloc_order, i386_regparm_string,
19947 i386_align_loops_string, i386_align_jumps_string,
19948 i386_align_funcs_string, i386_preferred_stack_boundary_string,
19949 and i386_branch_cost_string as type "const char *".
19950 * i386.c: Define all above strings as type "const char *".
19952 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
19954 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
19955 when emitting alignment padding. Emit padding byte of 0 instead of 4.
19957 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
19959 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
19960 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
19962 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
19964 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
19965 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
19966 (dwarf2out_line, dwarf2out_finish): Likewise.
19967 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
19969 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
19971 * tree.c (lang_unsave_expr_now) : Correct return type.
19972 * tree.h (lang_unsave_expr_now) : Same.
19974 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
19976 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
19977 instead of duplicating code.
19979 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19981 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
19983 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
19985 * tree.h: fancy_abort always takes three args.
19986 * resource.c: Move include of system.h before toplev.h.
19988 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
19990 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
19993 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
19995 * system.h: Don't redefine abort or trim_filename.
19996 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
19997 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
19998 whether or not __FUNCTION__ is available.
19999 * tree.h: Duplicate rtl.h's definition of abort, for files
20000 that don't include rtl.h. Delete all code to perform type
20001 checking with a compiler other than GCC.
20002 * varray.h: Delete all code to perform type checking with a
20003 compiler other than GCC. Make VARRAY_CHECK() always evaluate
20004 its arguments exactly once, using a statement expression.
20005 Adjust the VARRAY_<type> accessor macros to match.
20006 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20007 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20008 caller's location. Define fatal_insn and fatal_insn_not_found
20009 as macros that use _fatal_insn and _fatal_insn_not_found.
20010 (fancy_abort, trim_filename): Kill prototypes.
20012 * rtl.c (trim_filename): Move here from toplev.c.
20013 (fancy_abort): New function.
20014 (DIR_SEPARATOR): Provide default definition.
20015 * tree.c (tree_check_failed, tree_class_check_failed): Go
20016 through fancy_abort.
20017 (tree_check, tree_class_check, cst_or_constructor_check,
20018 expr_check): Delete.
20019 * varray.c (varray_check_failed): New function.
20020 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20021 _fatal_insn and _fatal_insn_not_found. Go through
20023 (trim_filename, fancy_abort): Delete.
20025 * builtins.c (expand_builtin_args_info): Report ICE with abort.
20026 * except.c (start_catch_handler): Report ICE with error/abort
20028 * final.c (output_operand_lossage): Likewise.
20029 * flow.c (verify_flow_info): Likewise.
20031 * gcc.c: Prototype fatal.
20032 * gengenrtl.c: Undef abort after including rtl.h not system.h.
20033 * genattr.c, genattrtab.c, genemit.c, genextract.c,
20034 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20035 Don't define fancy_abort.
20037 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
20039 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20042 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
20044 * m88k.h (VERSION_INFO2): Kill.
20045 (VERSION_STRING): Kill.
20047 (VERSION_INFO1): Tidy.
20048 (TARGET_VERSION): Update.
20049 * m88k/dgux.h (VERSION_INFO2): Kill.
20050 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20051 * m88k/luna.h (VERSION_INFO1): Tidy.
20052 * m88k/sysv4.h (VERSION_INFO1): Likewise.
20053 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20054 (output_file_start): Adjust for death of VERSION_STRING.
20056 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
20058 * cpplib.c (detect_if_not_defined): New function.
20059 (do_if): Use it to detect potential once-only headers.
20061 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
20063 * c-common.c (combine_strings): Always set TREE_CONSTANT.
20065 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
20067 * combine.c (nonzero_bits) : Allow single-ly set registers to be
20068 anywere in the function only if they are pseudos and set before
20069 being used (not live at the start of the function).
20070 (num_sign_bit_copies) : Same.
20071 (get_last_value_validate) : Same.
20072 (get_last_value) : Same.
20074 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
20076 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20077 where N and M are constant and N is an integer multiple of M.
20079 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20081 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20082 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20083 sbitmap_union_of_preds): Add prototypes.
20084 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20085 the intersection of successors with the new flow graph structures.
20086 (sbitmap_intersection_of_preds): New function to compute the
20087 intersection of predecessors with the new flow graph structures.
20088 (sbitmap_union_of_succs): New function to compute the union of
20089 successors with the new flow graph structures.
20090 (sbitmap_union_of_preds): New function to compute the union of
20091 predecessors with the new flow graph structures.
20092 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20093 (expr_reaches_here_p): Use edge and basic_block structures instead
20094 of s_preds and s_succs.
20095 (compute_cprop_avinout): Use new sbitmap routines.
20096 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20097 of s_preds and s_succs.
20098 * flow.c (compute_flow_dominators): Compute dominators using
20099 edges and basic blocks instead of s_preds and s_succs.
20101 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20103 * lists.c (unused_insn_list, unused_expr_list): New file for
20104 maintaining various types of lists. New statics for maintaining a
20105 cache of available INSN_LIST and EXPR_LIST nodes.
20106 (free_list): Static function for freeing a list of INSN/EXPR nodes.
20107 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20108 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20109 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20110 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20111 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20112 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20113 (free_INSN_LIST_node): Free an individual INSN_LIST node.
20114 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20115 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20116 (remove_dependence, free_pending_lists): Use new global routines.
20117 (flush_pending_lists, sched_analyze_insn): Use new global routines.
20118 (sched_analyze, compute_block_backward_dependences): Use new routines.
20119 (sched_analyze_1, sched_analyze_2): Use new routines.
20120 (schedule_insns): Use new global routines.
20121 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20123 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20124 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20126 * toplev.c (rest_of_compilation): Initialize node cache.
20127 * Makefile.in (OBJS): Add lists.o to list of object files.
20128 (lists.o): Add dependancies.
20130 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
20132 * config/v850/v850.md: Fix compile time warning messages.
20133 * config/v850/v850.c: Fix compile time warning messages.
20134 * config/v850/v850.h: Fix compile time warning messages.
20136 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20138 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20139 Remove unused prototype for `init_lengths'.
20141 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20143 * calls.c (emit_call_1): Mark parameter `stack_size' with
20145 (expand_call): Initialize variable `insn'.
20146 (emit_library_call): Likewise for variable `high_to_save'.
20147 (emit_library_call_value): Likewise.
20148 (store_one_arg): Likewise for variables `lower_bound' and
20151 * combine.c (try_combine): Likewise for variables `i2_code_number'
20152 and `other_code_number'.
20153 (find_split_point): Likewise for variables `pos', `unsignedp' and
20155 (simplify_if_then_else): Likewise for variables `op' and `c1'.
20156 (simplify_and_const_int): Remove unused variable `width'.
20157 (merge_outer_ops): Likewise.
20159 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20160 HOST_WIDE_INT' when comparing against one.
20161 (simplify_relational_operation): Likewise.
20162 (cse_insn): Initialize variables `src_eqv_volatile',
20163 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20165 * final.c (init_final): Constify parameter `filename'.
20166 (final_start_function): Mark parameter `optimize' with
20168 (profile_function): Likewise for parameters `first' and `optimize'.
20169 (output_source_line): Likewise for parameter `file'.
20171 * integrate.c (subst_constants): Cast a value to `size_t' when
20172 comparing against one.
20173 (mark_stores): Initialize variable `mode'. Cast a value to
20174 `size_t' when comparing against one.
20176 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20178 * loop.c (move_movables): Initialize variable `first'.
20179 (strength_reduce): Likewise for variable `increment'.
20180 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
20181 value to `size_t' when comparing against one.
20182 (load_mems): Initialize variable `end_label'.
20184 * output.h (init_final): Constify parameter.
20186 * reload.c (decompose): Initialize variable `base'.
20188 * reload1.c (reload): Likewise for variable `is_scalar'.
20189 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20190 (choose_reload_regs): Initialize variable `mode'.
20191 (emit_reload_insns): Likewise for variable `store_insn'.
20192 (reload_cse_noop_set_p): Mark parameter `insn' with
20194 (reload_combine): Initialize variable `set'.
20196 * unroll.c (unroll_loop): Likewise for variable `local_label'.
20197 (copy_loop_body): Cast a value to `size_t' when comparing against
20200 * varasm.c (assemble_variable): Initialize variable `size_tree'.
20201 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20202 (remove_from_pending_weak_list): Mark parameter `name' with
20205 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20207 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20210 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
20212 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20213 (ASM_DECLARE_FUNCTION_NAME): Define.
20214 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20215 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20216 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20217 not already defined.
20219 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
20221 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20222 of n_popped when call/call_value are not defined.
20224 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
20226 * tm.texi: GNU CC -> GCC conversion.
20227 (CC1_SPEC): Indicate it is used for all language front ends.
20229 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
20231 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20232 NOTE_INSN_EH_REGION_END correctly.
20234 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
20235 Jeff Law <law@cygnus.com>
20237 * loop.c (strength_reduce): Automatically unroll loops if the
20238 unrolled loop size is smaller than the rolled loop size.
20240 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20241 and delete comment that code should be rewritten.
20243 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
20245 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20248 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20250 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
20252 * fixinc/mkfixinc.sh: Don't fix uwin headers.
20253 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20254 (LINK_SPEC): Add -u _main when building executables.
20255 (ASM_DECLARE_FUNCTION): Update from Cygwin.
20256 (ASM_FILE_END): Use the default for ix86-pe.
20257 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20259 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
20261 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20262 and ASM_CLOSE_PAREN are empty strings.
20264 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
20265 Geoffrey Keating <geoffk@cygnus.com>
20267 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20268 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20269 (unprotoize.o): Ditto.
20270 (test-protoize-simple): Don't define STD_PROTO_DIR.
20271 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
20272 changes to make 'test-protoize-simple' pass.
20273 (STD_PROTO_DIR): Remove define.
20274 (STANDARD_EXEC_PREFIX): Supply default define.
20275 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20276 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20277 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20278 (GET_ENV_PATH_LIST): New macro.
20279 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20280 (do_processing): Initialize default_syscalls_dir using new
20281 macros. Use it to initialize syscalls_absolute_filename.
20283 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
20285 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20286 B into a register before emit_conditional_move.
20288 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
20290 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20291 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
20292 multiplicand out of (+ (* a b) (* c d)).
20294 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
20295 Richard Henderson <rth@cygnus.com>
20297 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20298 (new_insn_dead_notes): Likewise.
20299 (update_n_sets): Likewise.
20300 (update_flow_info): Move to flow.c, renamed to update_life_info;
20301 extend to handle multiple source insns.
20302 * flow.c: Include resource.h
20303 (unlink_insn_chain): New.
20304 (split_hard_reg_notes): New.
20305 (maybe_add_dead_note): New.
20306 (maybe_add_dead_note_use): New.
20307 (find_insn_with_note): New.
20308 (new_insn_dead_notes): New.
20309 (update_n_sets): New.
20310 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20311 (maybe_remove_dead_notes): New.
20312 (update_life_info): New.
20313 (prepend_reg_notes): New.
20314 (replace_insns): New.
20315 * output.h (update_life_info): Declare.
20316 * recog.c (split_block_insns): Use update_life_info.
20317 * resource.c (find_free_register): Use reg_alloc_order, don't use
20318 fixed regs, make sure the mode is supported, don't use new regs.
20320 * rtl.h (replace_insns): Declare.
20322 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
20324 * expr.c (expand_expr): Cope with COND_EXPRs with one
20325 non-returning branch.
20327 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
20329 * expr.c (store_expr): Always pass down the target, even when not
20332 1999-08-24 Nick Clifton <nickc@cygnus.com>
20334 * configure.in: Define target_cpu_default for v850 targets.
20335 * configure: Regenerate
20337 * config/v850/v850.h (TARGET_CPU_generic): Define.
20338 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20339 addresses are 4 byte aligned.
20341 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20344 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20346 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
20347 (main): Add prototypes.
20349 * genattrtab.c (substitute_address, write_const_num_delay_slots,
20350 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20351 (write_attr_get): Emit prototypes along with function definition.
20352 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20353 (write_complex_function): Emit static prototype along with
20354 function definition.
20356 * genemit.c (gen_split): Emit prototypes along with function
20359 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20360 Likewise for predicates and `insn_operand_predicate'.
20361 (process_template): Emit static prototype along with function
20364 * genrecog.c (make_insn_sequence): Constify a char*. Add
20365 prototypes for get_split_*().
20366 (write_subroutine): Emit prototypes along with function
20369 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20371 * gcse.c (find_avail_set): Follow chains of register-register copies.
20372 Use oprs_not_set_p to guarantee that the returned value can be
20374 (cprop_insn): Don't verify the return value of find_avail_set with
20377 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20378 (cprop_cc0_jump): New function.
20379 (cprop_insn): Break out new function cprop_jump and use it.
20380 Also use cprop_cc0_jump for machines with CC0.
20381 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20383 * tree.h (current_function_calls_setjmp,
20384 current_function_calls_longjmp): Delete declarations.
20385 * dsp16xx.c: Include "function.h".
20386 * elxsi.c: Likewise.
20387 * gmicro.c: Likewise.
20388 * h8300.c: Likewise.
20389 * i370.c: Likewise.
20390 * m32r.c: Likewise.
20391 * mn10200.c: Likewise.
20392 * mn10300.c: Likewise.
20393 * ns32k.c: Likewise.
20394 * spur.c: Likewise.
20395 * v850.c: Likewise.
20397 * rtl.h (rtx_equal_function_value_matters): Declare.
20398 * toplev.c (rtx_equal_function_value_matters): Don't declare.
20400 * function.c: Likewise.
20401 * emit-rtl.c: Likewise.
20403 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
20405 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20408 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20410 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20413 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
20415 * cpp.texi: Add a node documenting macro varargs (copied
20418 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
20420 * cppspec.c: Put a null pointer at the end of the new argv.
20422 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
20424 * configure.in: Remove code to select/de-select the haifa
20425 scheduler. Every scheduled port gets haifa now.
20426 * configure: Rebuilt.
20427 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20429 * Makefile.in: Corresponding changes.
20431 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20433 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20434 All callers changed.
20435 (prepare_float_lib_cmp): Likewise.
20436 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20437 * expr.h (emit_float_lib_cmp): Delete declaration.
20438 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20439 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20440 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20442 (cmptf): Now conditional on TARGET_HARD_QUAD.
20444 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
20446 * resource.c (mark_target_live_regs): Use
20447 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20449 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20451 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20453 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20455 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20457 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20459 * rtl.h (rtx_format): Constify a char*.
20461 * rtl.c (rtx_format): Likewise.
20462 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20463 (init_rtl): Use accessor macro, not `rtx_format'.
20465 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20468 * caller-save.c (mark_referenced_regs): Likewise.
20470 * combine.c (subst, make_compound_operation, known_cond,
20471 gen_rtx_combine, update_table_tick, get_last_value_validate,
20472 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20474 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20475 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20476 count_reg_usage): Likewise.
20478 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20481 * final.c (leaf_renumber_regs_insn): Likewise.
20483 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20484 dump_edge_info, count_reg_references): Likewise.
20486 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20487 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20490 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20491 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20492 add_label_notes): Likewise.
20494 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20495 clear_struct_flag, count_sub_rtxs, count_alternatives,
20496 compares_alternatives_p, contained_in_p, walk_attr_value,
20497 write_expr_attr_cache): Likewise.
20499 * genconfig.c (walk_insn_part): Likewise.
20501 * genemit.c (max_operand_1, gen_exp): Likewise.
20503 * genextract.c (walk_rtx): Likewise.
20505 * genflags.c (num_operands): Likewise.
20507 * genoutput.c (scan_operands): Likewise.
20509 * genpeep.c (match_rtx): Likewise.
20511 * genrecog.c (add_to_sequence): Likewise.
20513 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20516 * integrate.c (save_constants, copy_for_inline,
20517 copy_rtx_and_substitute, subst_constants, restore_constants):
20520 * jump.c (mark_jump_label, invert_exp, redirect_exp,
20521 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20523 * local-alloc.c (contains_replace_regs, memref_referenced_p):
20526 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20527 add_label_notes, replace_call_address, count_nonfixed_reads,
20528 invariant_p, find_single_use_in_loop, find_mem_givs,
20529 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20532 * print-rtl.c (reg_names, print_rtx): Likewise.
20534 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20536 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20537 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20538 print_blocks): Likewise.
20540 * regclass.c (fix_register, record_address_regs,
20541 reg_scan_mark_refs): Likewise.
20543 * regmove.c (stable_but_for_p): Likewise.
20545 * reload.c (loc_mentioned_in_p, operands_match_p,
20546 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20547 copy_replacements, refers_to_regno_for_reload_p,
20548 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20549 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20552 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20553 delete_address_reloads_1, count_occurrences,
20554 reload_cse_mem_conflict_p, reload_combine_note_use,
20555 add_auto_inc_notes): Likewise.
20557 * resource.c (mark_referenced_resources, mark_set_resources):
20560 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20561 reg_mentioned_p, regs_set_between_p, modified_between_p,
20562 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20563 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20564 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20565 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20567 * sched.c (sched_analyze_2, attach_deaths): Likewise.
20569 * stupid.c (stupid_mark_refs): Likewise.
20571 * unroll.c (remap_split_bivs): Likewise.
20573 * varasm.c (mark_constants): Likewise.
20575 * a29k/a29k.c (uses_local_reg_p): Likewise.
20577 * alpha/alpha.c (summarize_insn): Likewise.
20579 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20580 eliminate_lr2ip): Likewise.
20582 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20584 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20585 reg_mentioned_in_mem): Likewise.
20587 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20588 symbolic_reference_mentioned_p): Likewise.
20590 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20592 * sh/sh.c (regs_used, mark_use): Likewise.
20594 * vax/vax.c (vax_rtx_cost): Likewise.
20596 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20598 * machmode.h (mode_name): Constify a char*.
20600 * rtl.c (mode_name): Likewise.
20602 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20604 * optabs.c (init_libfuncs): Constify a char*.
20606 * print-tree.c (mode_name): Remove redundant declaration.
20607 (print_node): Use accessor macro, not `mode_name'.
20609 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
20611 (new_spill_reg): Constify a char*.
20613 * tree.c (mode_name): Remove redundant declaration.
20615 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20617 * rtl.c (rtx_name): Constify a char*.
20619 * rtl.h (rtx_name, fix_sched_param): Likewise.
20621 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20622 (mypr): Use accessor macro, not `rtx_name'.
20624 * genemit.c (print_code): Constify a char*.
20626 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20628 * genpeep.c (print_code): Constify a char*.
20630 * genrecog.c (print_code): Likewise.
20632 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20633 end_bb): Add static prototype.
20634 (draw_edge): Constify a char*.
20635 (end_bb): Remove unused parameter.
20637 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
20638 print_block_visualization): Constify a char*.
20640 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
20642 * c-common.c (c_get_alias_set): Update comment.
20644 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20646 * linux.h (LIB_SPEC): Added.
20648 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20650 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
20652 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
20654 * tree.c (expr_check): Fix typo in last change.
20656 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
20658 * rtl.def (NOTE): Change format to "iuu0n".
20659 (ADDR_DIFF_VEC): Change format to "eEee0".
20660 (ADDRESSOF): Change format to "eit".
20662 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
20663 (RTVEC_ELT): Change to match.
20664 (XVECEXP): Use XVEC and RTVEC_ELT.
20665 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
20666 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
20667 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
20668 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
20669 TRAP_CONDITION, TRAP_CODE): Use XEXP.
20670 (INTVAL): Use XWINT.
20671 (ADDRESSOF_DECL): Use XTREE.
20672 (SET_ADDRESSOF_DECL): Delete.
20673 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
20674 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
20675 ifdefed out since 2.6 at least.
20676 (gen_rtvec_vv): Delete prototype.
20678 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
20680 (copy_most_rtx): Handle 't' format letter.
20681 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
20682 (gen_rtvec_vv): Delete function. All callers changed to use
20683 gen_rtvec_v instead.
20684 * print-rtl.c (print_rtx): Move special casing of NOTEs to
20685 the '0' format letter.
20687 * function.c (gen_mem_addressof): Don't use
20688 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
20690 * integrate.c (copy_rtx_and_substitute): Likewise.
20691 Copy 't' slots with XTREE.
20692 (subst_constants): Treat 't' slots like '[swi]' slots.
20693 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
20694 * jump.c (rtx_equal_for_thread_p): Likewise.
20695 * rtlanal.c (rtx_equal_p): Likewise.
20696 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
20697 only four arguments.
20698 * gengenrtl.c (type_from_format): Provide correct types for
20702 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
20703 If a recent gcc is in use (always in stage2 and beyond), use
20704 statement expressions, so we don't make a function call unless
20705 the check fails. Evaluate arguments exactly once.
20706 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
20707 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
20709 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
20710 they evaluate their arguments exactly once, irrespective of
20711 the compiler in use.
20713 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
20714 is used by the currently-enabled check macros. This is:
20715 (tree_check_failed, tree_class_check_failed): For gcc.
20716 (tree_check, tree_class_check, cst_or_constructor_check,
20717 expr_check): For other compilers.
20719 * gencheck.c: Do not define any *_CHECK1 macros.
20721 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
20722 Mark Mitchell <mark@codesourcery.com>
20724 * c-common.c (c_get_alias_set): Fix support for poitners and
20727 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
20729 * alias.c: Include tree.h.
20730 (nonlocal_reference_p, mark_constant_function): New functions.
20731 * flow.c (life_analysis): Call mark_constant_function.
20732 * rtl.h (mark_constant_function): Declare it.
20734 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
20736 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
20737 unrecognisable switches.
20739 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20741 * loop.c (recombine_givs): Set ix field after sorting.
20742 (recombine_givs): Remove bogus index / giv lockstep looping.
20744 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20746 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
20748 (emit_store_flag_force): Use do_compare_rtx_and_jump.
20749 (do_cmp_and_jump): Formatting fixes.
20750 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
20751 do_compare_rtx_and_jump instead of compare_from_rtx.
20752 (do_compare_rtx_and_jump): New function; mostly copied from
20754 (do_jump_for_compare): Delete.
20755 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
20757 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
20758 of compare/do_jump_for_compare pairs.
20759 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
20760 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
20761 compare_from_rtx/do_jump_for_compare pairs.
20762 (do_jump_by_parts_equality): Likewise.
20763 (do_jump_by_parts_equality_rtx): Likewise.
20764 * expr.h (do_compare_rtx_and_jump): Declare.
20765 * optabs.c (prepare_cmp_insn): New function, contains most of the code
20766 that used to be in emit_cmp_insn.
20767 (cmp_available_p): New function.
20768 (prepare_operand): New function.
20769 (emit_cmp_and_jump_insn_1): New function, contains some code that used
20770 to be in emit_cmp_insn.
20771 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
20772 parameters to be pointers; don't emit final compare but modify some of
20773 the values pointed to by the args so the caller can perform the
20774 correct comparison.
20775 (expand_binop): Call emit_store_flag_force with signed forms of
20777 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
20778 emit_jump_insn pair.
20779 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
20780 emit_cmp_and_jump_insn_1. Call emit_queue.
20781 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
20783 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
20784 jump sets cc0 before deleting it.
20785 * integrate.c (expand_inline_function): Likewise.
20786 * unroll.c (unroll_loop): Similar changes in several places.
20787 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
20788 before deleting it.
20790 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20792 * Makefile.in (insn-recog.o): Update dependencies.
20793 * genrecog.c (main): Make generated file include "function.h".
20795 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
20797 * cse.c (cse_insn): Call never_reached_warning when a jump is
20798 changed to be unconditional.
20799 * flags.h: Declare warn_notreached.
20800 * flow.c (delete_block): Call never_reached_warning when
20801 a block is deleted.
20802 * jump.c (delete_barrier_successors): Call never_reached_warning
20803 when we delete everything after a BARRIER.
20804 (never_reached_warning): New function.
20805 * rtl.h: Declare never_reached_warning.
20806 * toplev.c (warn_notreached): New variable.
20807 (lang_independent_options): Set warn_notreached
20808 when -Wunreachable-code.
20809 (compile_file): We need line numbers for -Wunreachable-code.
20811 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
20813 * haifa-sched.c (insn_unit): Fix typo on out of range test.
20814 * sched.c (insn_unit): Likewise.
20816 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
20818 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
20820 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20822 * flow.c (create_edge_list): Use xmalloc, not malloc.
20824 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
20826 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
20827 C-style comments. Do not lose the character before double slash.
20829 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20831 * basic-block.h (struct edge_list): Stucture to maintain a vector
20833 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
20834 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
20835 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
20836 New function prototypes.
20837 * flow.c (create_edge_list): Function to create an edge list.
20838 (free_edge_list): Discards memory used by an edge list.
20839 (print_edge_list): Debug output showing an edge list.
20840 (verify_edge_list): Internal consistency check for an edge list.
20841 (find_edge_index): Function to find an edge index for a pred and succ.
20843 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
20845 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
20848 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
20850 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
20852 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
20854 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20856 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
20858 * toplev.c (rest_of_compilation): Allow machine dependent
20859 reorganisation pass to place information into the RTL dump
20860 file if it so wishes.
20862 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
20864 * explow.c (hard_function_value): Use VOIDmode instead of
20866 * stmt.c (expand_return): Likewise.
20867 * stor-layout.c (get_best_mode): Likewise.
20869 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
20870 emit call instead of emit_insn call.
20872 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
20874 * configure.in: Handle --disable/enable-win32-registry.
20875 * install.texi: Document --disable/enable-win32-registry.
20876 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
20877 (WIN32_REGISTRY_KEY): New macro.
20878 * prefix.c: Use to enable/disable win32-specific code.
20879 (lookup_key): Use versioned key.
20880 * configure: Regenerate.
20881 * config.in: Likewise.
20883 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
20885 * cpplib.c (read_line_number): New fn, split out of...
20888 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
20890 tree.c (lang_unsave_expr_now) : New.
20891 (unsave_expr_now): Call lang_unsave_expr_now.
20892 tree.h (lang_unsave_expr_now) : New.
20894 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
20896 * toplev.c (flag_new_exceptions): On by default.
20898 1999-08-13 Michael Meissner <meissner@cygnus.com>
20900 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
20902 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20904 * dwarfout.c (fundamental_type_code): Return FT_boolean for
20905 INTEGER_TYPE with precision==1, it's __java_boolean.
20907 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20909 * global.c (prune_preferences): Move some invariants out of the
20912 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
20914 * configure.in (alpha*-dec-osf*): Add osf5.
20916 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
20918 * configure.in: Rework handling of ARM GNU/Linux slightly.
20919 (arm*-*-linux-gnuoldld): New target.
20920 * configure: Regenerate.
20921 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
20922 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
20923 * config/arm/linux-oldld.h: New file.
20924 * config/arm/linux-elf26.h: Don't include linux-elf.h.
20925 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
20927 * config/arm/linux-elf.h (ASM_SPEC): Define.
20928 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
20929 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
20930 for 26-bit APCS and old linker.
20931 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
20933 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
20934 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
20935 don't define `arm' or `arm_elf'.
20936 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
20937 MULTILIB_DIRNAMES): Define. Fix typo in comment.
20939 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
20941 * rtl.texi: Fix typo.
20943 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
20945 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
20947 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
20949 * extend.texi (C++ Signatures): Remove node.
20950 * invoke.texi: Remove discussion of -fhandle-signatures,
20951 signature, sigof, __signature__, and __sigof__.
20953 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
20955 * Makefile.in (JAVAGC): Removed.
20957 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
20959 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20961 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
20963 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20965 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
20967 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
20968 a register that is already known to be a pointer.
20970 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
20972 * fixinc/inclhack.tpl: Only install assert.h conditionally.
20973 * fixinc/inclhack.sh: Regenerated.
20974 * fixinc/fixincl.sh: Regenerated.
20976 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
20978 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
20979 Fix documentation of -ansi flag to describe its C++ behavior.
20980 Remove bogus reference to GCC 2.9.
20982 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
20984 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
20985 note if it is non-NULL.
20987 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20989 * except.h (eh_nesting_info): Add new structure defintion.
20990 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
20991 (reachable_handlers, update_rethrow_references): Add function
20993 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
20994 a rethrow symbol instead of an integer exception region number.
20995 * flow.c (Make_edges): Use new exception nesting routines to determine
20996 which handlers are reachable from a CALL or asynchronous insn.
20997 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
20999 (delete_eh_regions): Update rethrow labels, and don't delete
21000 regions which are the target of a rethrow.
21001 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21002 avoid overloading the SYMBOL_REF_USED flag.
21003 (rethrow_symbol_map): Use new rethrow_ref field.
21004 (rethrow_used): Use new rethrow_ref field.
21005 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21006 of an integer. Fix formatting.
21007 (output_exception_table_entry): Use new rethrow_ref field.
21008 (can_throw): Check for EH_REGION_NOTE before deciding
21009 whether a CALL can throw or not.
21010 (scan_region): Call rethrow_used() instead of accessing data structure.
21011 (update_rethrow_references): New function to make sure only regions
21012 which are still targets of a rethrow are flagged as such.
21013 (process_nestinfo): New static function to initialize a handler
21014 list for a specific region.
21015 (init_eh_nesting_info): New function to allocate and initialize
21016 the list of all EH handlers reachable from all regions.
21017 (reachable_handlers): New function to retrieve the list of handlers
21018 reachable from a specific region and insn.
21019 (free_eh_nesting_info): New function to dispose of a list of
21020 reachable handlers.
21022 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21024 * flow.c (split_edge): Set JUMP_LABEL field.
21025 (commit_one_edge_insertion): Set head correctly for insert_before.
21026 When inserting insns, update insn block numbers if allocated.
21028 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21030 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21031 retry_incomplete_types): Add static prototype.
21032 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21033 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21034 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21035 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21036 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21039 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21040 dwarf2out_start_source_file, dwarf2out_line): Likewise.
21042 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21044 * output.h (assemble_name): Constify a char*.
21046 * varasm.c (UNIQUE_SECTION, assemble_start_function,
21047 assemble_variable, assemble_name): Likewise.
21049 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21051 * arm/pe.c (arm_pe_unique_section): Likewise.
21053 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21055 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21057 * i386/interix.c (i386_pe_unique_section): Likewise.
21059 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21061 * i386/winnt.c (i386_pe_unique_section): Likewise.
21063 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21065 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21067 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21069 * pa/pa.c (output_call): Likewise.
21071 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21073 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21075 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21078 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21081 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21083 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21084 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21086 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21088 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21090 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21092 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21094 * tree.h (lang_identify): Constify a char*.
21095 (print_error_function): Add extern prototype. Constify a char*.
21097 * c-lang.c (lang_identify): Constify a char*.
21099 * objc/objc-act.c (lang_identify): Constify a char*.
21101 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21103 * genpeep.c (main): Make generated file include "function.h".
21104 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21106 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21108 * Makefile.in: Update dependencies.
21109 * alias.c: Include "function.h"
21110 * c-decl.c: Likewise.
21111 * caller-save.c: Likewise.
21112 * calls.c: Likewise.
21113 * combine.c: Likewise.
21115 * explow.c: Likewise.
21116 * final.c: Likewise.
21117 * global.c: Likewise.
21118 * graph.c: Likewise.
21119 * local-alloc.c: Likewise.
21120 * loop.c: Likewise.
21121 * optabs.c: Likewise.
21122 * profile.c: Likewise.
21123 * recog.c: Likewise.
21124 * regclass.c: Likewise.
21125 * regmove.c: Likewise.
21126 * reload.c: Likewise.
21127 * reorg.c: Likewise.
21128 * resource.c: Likewise.
21129 * sched.c: Likewise.
21130 * stupid.c: Likewise.
21131 * config/1750a/1750a.c: Likewise.
21132 * config/a29k/a29k.c: Likewise.
21133 * config/arc/arc.c: Likewise.
21134 * config/arm/arm.c: Likewise.
21135 * config/arm/thumb.c: Likewise.
21136 * config/c4x/c4x.c: Likewise.
21137 * config/clipper/clipper.c: Likewise.
21138 * config/convex/convex.c: Likewise.
21139 * config/fx80/fx80.c: Likewise.
21140 * config/i860/i860.c: Likewise.
21141 * config/m68k/m68k.c: Likewise.
21142 * config/m88k/m88k.c: Likewise.
21143 * config/mips/mips.c: Likewise.
21144 * config/pdp11/pdp11.c: Likewise.
21145 * config/pyr/pyr.c: Likewise.
21146 * config/romp/romp.c: Likewise.
21147 * config/sh/sh.c: Likewise.
21148 * config/tahoe/tahoe.c: Likewise.
21149 * config/vax/vax.c: Likewise.
21150 * config/we32k/we32k.c: Likewise.
21151 * config/sparc/sparc.c: Include "function.h".
21152 (mem_min_alignment): Test current_function rather than
21153 regno_pointer_align.
21154 * config/pa/pa.c: Likewise.
21155 (compute_frame_size): Delete declaration of
21156 current_function_outgoing_args_size.
21157 * config/arc/arc.h (current_function_varargs): Delete declaration.
21158 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21160 * config/i370/i370.h (current_function_outgoing_args_size): Delete
21162 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21163 current_function_uses_pic_offset_table.
21164 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21165 of current_function_returns_pointer.
21166 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21167 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21168 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21169 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21170 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21171 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21172 * config/m88k/m88k.c: Include "function.h"
21173 (call_used_regs, current_function_pretend_args_size,
21174 current_function_outgoing_args_size, frame_pointer_needed): Delete
21176 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21178 * config/mips/mips.h (current_function_calls_alloca): Delete
21180 * config/mn10200/mn10200.h (current_function_needs_context,
21181 rtx_equal_function_value_matters): Delete declarations.
21182 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21183 flag_pic): Delete declarations.
21184 * config/pa/pa.h (current_function_pretend_args_size,
21185 current_function_decl): Delete declarations.
21186 * config/pa/som.h (current_function_varargs): Delete declaration.
21187 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21189 * config/pyr/pyr.h (current_function_pretend_args_size,
21190 current_function_args_size, current_function_calls_alloca): Delete
21192 * config/sh/sh.h (current_function_varargs): Delete declaration.
21193 * config/sparc/sparc.h (current_function_outgoing_args_size,
21194 current_function_calls_alloca, current_function_decl): Delete
21196 * config/spur/spur.h (current_function_pretend_args_size,
21197 current_function_calls_alloca): Delete declarations.
21198 * config/v850/v850.c (current_function_outgoing_args_size): Delete
21200 * config/vax/vms.h (current_function_name): Delete declaration.
21201 * gcse.c: Include "function.h".
21202 (current_function_name, current_function_calls_setjmp): Delete
21204 * haifa-sched.c: Include "function.h".
21205 (forced_labels): Delete declaration.
21206 * jump.c: Likewise.
21207 * reg-stack.c: Likewise.
21208 * reload1.c: Likewise.
21209 * genemit.c (main): Make generated file include function.h.
21210 * genoutput.c (output_prologue): Likewise.
21212 * builtins.c (saveregs_value, apply_args_value): Delete variables.
21213 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21214 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21215 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21216 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
21217 macros for some of them.
21218 (emit_filename, emit_lineno): Delete declarations.
21219 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
21220 regno_pointer_* variables through current_function.
21221 (gen_inline_header_rtx): Delete function.
21222 (save_emit_status): Delete function.
21223 (set_new_last_label_num): New function.
21224 (clear_emit_caches): New function.
21225 (restore_emit_status): Just clear last_labelnum and call
21227 (get_last_insn_anywhere): Variable sequence_stack is now accessed
21228 through macro seq_stack.
21229 (add_insn_after): Likewise.
21230 (add_insn_before): Likewise.
21231 (remove_insn): Likewise.
21232 (pop_topmost_sequence): Likewise.
21233 (in_sequence_p): Likewise.
21234 (start_sequence_for_rtl_expr): Likewise.
21235 (start_sequence): Likewise, and likewise for
21236 sequence_rtl_expr/seq_rtl_expr.
21237 (push_topmost_sequence): Likewise.
21238 (end_sequence): Likewise.
21239 (init_virtual_regs): Now takes a "struct emit_status *" argument.
21240 All callers changed. Store into that pointer instead of globals.
21241 (init_emit): Allocate emit elt of current_function.
21242 Changes for sequence_rtl_expr/sequence_stack renaming.
21243 Call clear_emit_caches instead of doing it in-line.
21244 Access regno_pointer_* variables through current_function.
21245 (init_emit_once) Don't clear sequence_stack.
21247 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21249 (arg_pointer_save_area): Delete declaration.
21250 (finish_expr_for_function): Renamed from init_queue; no longer static.
21251 (init_expr): Don't call init_queue.
21252 (save_expr_status, restore_expr_status): Delete functions.
21253 (expand_expr): Changes to reflect new layout of struct function.
21254 Don't access current_function_check_memory_usage when current_function
21256 * expr.h (forced_labels, save_expr_regs, saveregs_value,
21257 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21258 current_function_outgoing_args_size, current_function_arg_offset_rtx,
21259 current_function_uses_const_pool, function_call_count,
21260 current_function_uses_pic_offset_table, nonlocal_labels,
21261 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21262 current_function_check_memory_usage, nonlocal_goto_handler_slots,
21263 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21265 (finish_expr_for_function): Declare.
21266 * flags.h (current_function_has_nonlocal_label,
21267 current_function_has_nonlocal_goto, current_function_is_thunk,
21268 current_function_has_computed_jump): Delete declarations.
21269 * flow.c (forced_labels): Delete declaration.
21270 * function.c (current_function_pops_args,
21271 current_function_returns_struct, current_function_returns_pcc_struct,
21272 current_function_needs_context, current_function_calls_setjmp,
21273 current_function_calls_longjmp, current_function_has_nonlocal_label,
21274 current_function_has_nonlocal_goto, current_function_is_thunk,
21275 current_function_has_computed_jump, current_function_calls_alloca,
21276 current_function_contains_functions, current_function_returns_pointer,
21277 current_function_epilogue_delay_list, current_function_args_size,
21278 current_function_pretend_args_size, current_function_arg_offset_rtx,
21279 current_function_outgoing_args_size, current_function_varargs,
21280 current_function_stdarg, current_function_args_info, cleanup_label,
21281 current_function_name, current_function_uses_const_pool,
21282 current_function_instrument_entry_exit, current_function_return_rtx,
21283 current_function_uses_pic_offset_table, nonlocal_labels,
21284 current_function_internal_arg_pointer, current_function_cannot_inline,
21285 current_function_check_memory_usage, function_call_count,
21286 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21287 nonlocal_goto_stack_level, return_label, save_expr_regs,
21288 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21289 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21290 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21291 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21292 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21294 (push_function_context_to): Don't save them. Don't call
21295 save_storage_status, save_emit_status or save_expr_status.
21296 (pop_function_context_from): Don't restore them. Don't call
21297 restore_storage_status or restore_expr_status.
21298 (get_func_frame_size): New function.
21299 (get_frame_size): Use it.
21300 (assign_outer_stack_local): Reflect some member name changes in struct
21302 (put_reg_into_stack): Likewise.
21303 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21305 (fixup_var_refs): Likewise.
21306 (fix_lexical_addr): Likewise.
21307 (trampoline_address): Likewise.
21308 (prepare_function_start): Clear field inlinable of current_function.
21309 (init_function_for_compilation): New function.
21310 (expand_dummy_function_end): New function.
21311 (expand_function_end): Call finish_expr_for_function.
21312 * function.h (struct emit_status): New; fields moved here from struct
21313 function and from global variables. Add accessor macros for some of
21315 (struct expr_status): Likewise.
21316 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21317 (struct function): Add fields expr and emit, inlinable, inl_emit,
21318 original_arg_vector, original_decl_initial, inl_last_parm_insn,
21319 inl_max_label_num. Add many comments.
21320 Add accessor macros for all elts of struct function that no longer
21321 have a global variable.
21322 (cleanup_label, return_label, frame_offset, tail_recursion_label,
21323 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21324 stack_slot_list): Delete declarations.
21325 (get_func_frame_size): Declare.
21326 (save_expr_status, restore_expr_status, save_emit_status,
21327 save_storage_status, restore_storage_status): Delete declarations.
21328 (init_virtual_regs): Declare.
21329 * output.h (current_function_pops_args,
21330 current_function_returns_struct, current_function_returns_pcc_struct,
21331 current_function_needs_context, current_function_calls_setjmp,
21332 current_function_calls_longjmp, current_function_calls_alloca,
21333 current_function_has_nonlocal_label, current_function_varargs,
21334 current_function_has_computed_jump, current_function_returns_pointer,
21335 current_function_contains_functions, current_function_args_size,
21336 current_function_pretend_args_size, current_function_stdarg,
21337 current_function_outgoing_args_size, current_function_args_info,
21338 current_function_name, current_function_return_rtx,
21339 current_function_epilogue_delay_list,
21340 current_function_uses_const_pool, current_function_cannot_inline):
21341 Delete declarations.
21342 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21343 regno_reg_rtx): Delete declaration.
21344 (REGNO_POINTER_FLAG): Delete macro.
21345 * stmt.c (expand_goto): Changes to reflect that some fields in struct
21346 function were renamed.
21347 * stor-layout.c (save_storage_status, restore_storage_status): Delete
21349 * toplev.c: Include "function.h".
21350 (current_function_decl): Delete declaration.
21351 (compile_file): Call init_dummy_function_start and
21352 expand_dummy_function_end around some initializations that need to
21354 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21355 Call init_function_for_compilation.
21356 * unroll.c: Include "function.h"
21357 (unroll_loop): Access regno_pointer_* variables through
21360 * tree.h (struct tree_decl): Add elt f to saved_insns member.
21361 (DECL_SAVED_INSNS): use it.
21362 (expand_dummy_function_end): Declare.
21363 (init_function_for_compilation): Declare.
21364 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21365 that it's no longer an INLINE_HEADER.
21366 (expand_call): Likewise.
21367 * integrate.c (finish_inline): Delete function.
21368 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21369 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21370 args. Don't generate an INLINE_HEADER rtx, just return the arg
21371 vector. All callers changed.
21372 (save_for_inline_copying): Create a duplicate struct emit_status to
21373 hold the emit state for compiling the current function. Use this and
21374 the other new fields in struct function that are for integration
21375 instead of an INLINE_HEADER.
21376 Use memcpy instead of bcopy.
21377 Store the current struct function in DECL_SAVED_INSNS of fndecl.
21378 (save_for_inline_nocopy): Similar changes, except no new emit_status
21380 (expand_inline_function): Get information from function structure,
21381 not from an inline header rtx.
21382 (output_inline_function): Lose code to extract the necessary
21383 information from an inline header; simply put back the function
21384 structure into current_function. Clear its inlinable elt.
21385 * rtl.def (INLINE_HEADER): Delete.
21386 * rtl.h: Delete all accessors for an INLINE_HEADER.
21387 (gen_inline_header_rtx): Delete declaration.
21388 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21389 Delete declarations.
21390 (REGNO_POINTER_ALIGN): Delete.
21391 (clear_emit_caches): Declare.
21392 (set_new_last_label_num): Declare.
21394 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
21396 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21398 * except.c (expand_eh_region_start_for_decl): Always start a new block.
21399 * stmt.c (is_eh_region): Make sure current_function is present, too.
21401 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
21403 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21404 for 64bit PA targets.
21406 * pa.h (SELECT_SECTION): Define.
21407 * som.h (SELECT_SECTION): Delete.
21409 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21411 * alias.c (init_alias_analysis): Wrap call to
21412 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21414 1999-08-07 Bruce Korb <autogen@linuxbox.com>
21416 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
21417 <sys/asm.h> contains an asm comment with an apostrophe
21418 * fixinc/inclhack.sh: regen
21419 * fixinc/fixincl.x: regen
21421 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
21423 * function.c (init_function_start): Clear prologue & epilogue.
21424 (prologue_epilogue_contains): New function.
21425 * alias.c (init_alias_analysis): Use it.
21426 * rtl.h (prologue_epilogue_contains): Declare it.
21428 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
21430 * jump.c (onlyjump_p): New function.
21431 * rtl.h: Declare it.
21432 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21433 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21435 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
21437 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21438 to invert loops. Simplify block scanning.
21440 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21442 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21443 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21445 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
21447 * config/sparc/liteelf.h: New file to support sparclite-elf target
21448 * config/sparc/t-sp86x: New file to support sparc86x targets
21449 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21450 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21451 * configure.in: Support above target triplets
21452 * configure: Regenerated
21454 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
21456 * fixinc/server.c (server_setup): Do not prefix function used as
21457 parameter with `&'.
21459 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
21461 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21462 Remove fp reg alternatives.
21464 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
21466 * Makefiin (TAROUTOPTS): Kill.
21467 (install-headers-tar): Use "xpf" for tar headerfile extraction
21468 * i370/x-oe (TAROUTOPTS): Delete.
21469 * m68k/x-apollo68 (TAROUTOPTS): Delete.
21470 * m68k/x-hp320 (TAROUTOPTS): Delete.
21471 * m68k/x-hp320g (TAROUTOPTS): Delete.
21472 * gcc.texi: Update bug reporting text.
21474 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21476 * reg-stack.c (change_stack) Fixed problem with negative array index.
21478 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
21480 * extend.texi, install.texi: Fix spelling mistakes.
21482 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21483 (s-attrtab); No longer try to use pre-made insn-attrtab file.
21484 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21485 PREMADE_ATTRTAB_MD.
21486 * mips/t-ecoff: Likewise.
21487 * mips/t-elf: Likewise.
21488 * mips/t-mips: Likewise.
21489 * mips/t-osfrose: Likewise.
21490 * mips/t-r3900: Likewise.
21491 * mips/t-svr3: Likewise.
21492 * mips/t-svr4: Likewise.
21493 * mips/t-ultrix: Likewise.
21495 * gcc.texi: Document recommend means to provide software floating
21496 point libraries in libgcc.a
21498 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
21500 * c-lex.c (yylex): We can have a number with no digits.
21502 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
21504 * jump.c (delete_prior_computation): New function, broken
21505 out of delete_computation. Check for side effects with
21506 side_effects_p instead of FIND_REG_INC_NOTE. Handle
21507 multi-word hard registers.
21508 (delete_computation): Use it. Check for side effects with
21509 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
21510 missing REG_DEAD note for a register which is both set and
21513 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
21515 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21516 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21517 (ASM_FILE_START): Import _mcount with the right type.
21518 (ASM_DECLARE_FUNCTION_NAME): Define.
21519 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21520 * pa.c (output_function_prologue): Always emit the function's label
21522 * pa.h (TEXT_SPACE_P): Define.
21523 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21524 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21525 * som.h (TEXT_SPACE_P): Delete.
21526 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21527 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21529 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
21531 * expr.c (emit_group_load): Allow src to be a CONCAT.
21533 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21535 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21536 (___mulsi3): Use '!' comment character.
21538 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21540 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21542 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
21544 * gcc.c: Update URLs and mail addresses.
21545 * gcc.texi: Likewise.
21547 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
21549 * rs6000.c (current_file_function_operand): Return zero for
21551 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21553 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21556 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
21558 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21559 allocate space in the stack frame for the PIC register.
21561 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
21563 * m68k.md (xordi3, anddi3): These patterns are not available on
21566 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
21568 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21569 (PUT_REAL): Likewise.
21571 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21573 * final.c (shorten_branches): Don't add an alignment for loops
21574 that have no label inside.
21576 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21578 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21579 prototypes in macro HAVE_cmpstrsi.
21581 * cpplib.c (cpp_get_token): Remove unused label `op3'.
21583 * emit-rtl.c (operand_subword): Remove unused variable
21586 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21588 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21590 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
21592 * cpphash.c (macroexpand): Delete leading whitespace when arg
21593 is concatenated before.
21594 (unsafe_chars): Correct test for whether + and - can extend a
21597 * cppinit.c (cpp_start_read): Do dependencies for
21598 -include/-imacros files also.
21600 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21601 tokenizing non-directive lines.
21602 (cpp_expand_to_buffer): Temporarily disable no-output mode.
21603 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21606 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21608 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21610 * c-lex.c: Sync with C++ frontend.
21611 (linemode): New variable.
21612 (parse_float): imag, conversion_errno, and type are output only.
21613 (yylex): Adjust. Move initial '.' case into main switch.
21615 (handle_generic_pragma): Just deal with tokens.
21616 (readescape): Use ISXDIGIT and ISGRAPH.
21617 * c-parse.in: Add END_OF_LINE token.
21619 * c-lex.c (lang_init): Generalize.
21620 (nextchar): Remove. Replace uses with UNGETC.
21621 (skip_white_space): Handle linemode here. Optimize for cpplib.
21622 (skip_white_space_on_line): Remove.
21623 (extend_token_buffer_to): New fn.
21624 (extend_token_buffer): Use it.
21625 (read_line_number, check_newline): Just deal with tokens.
21626 (token_getch, token_put_back): New fns.
21627 (yylex): Use them. More cpplib optimizations. Simplify.
21629 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
21630 Jason Merrill <jason@yorick.cygnus.com>
21632 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21633 (consume_string): Make this smart about USE_CPPLIB.
21634 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21635 (yylex): Rewrite to be intelligent about USE_CPPLIB.
21636 Also, clean up cases where we redundantly set token_buffer[0].
21637 (read_line_number): New fn.
21638 (ignore_escape_flag): New variable.
21640 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
21642 * a29k/t-a29kbare: Fix some comments.
21643 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
21644 (FPBIT, DPBIT): Define.
21645 * a29k/t-vx29k: Likewise.
21646 * arc/t-arc: Likewise.
21647 * arm/t-arm-elf: Likewise.
21648 * arm/t-bare: Likewise.
21649 * arm/t-pe: Likewise.
21650 * arm/t-pe-thumb: Likewise.
21651 * arm/t-semi: Likewise.
21652 * arm/t-thumb: Likewise.
21653 * arm/t-thumb-elf: Likewise.
21654 * arm/t-thumb-linux: Likewise.
21655 * h8300/t-h8300: Likewise.
21656 * i960/t-i960: Likewise.
21657 * i960/t-vxworks960: Likewise.
21658 * m32r/t-m32r: Likewise.
21659 * mips/t-ecoff: Likewise.
21660 * mips/t-elf: Likewise.
21661 * mips/t-r3900: Likewise.
21662 * pa/t-pro: Likewise.
21663 * rs6000/t-aix43: Likewise.
21664 * rs6000/t-beos: Likewise.
21665 * rs6000/t-newas: Likewise.
21666 * rs6000/t-ppccomm: Likewise.
21667 * rs6000/t-rs6000: Likewise.
21668 * rs6000/t-winnt: Likewise.
21669 * rs6000/t-xnewas: Likewise.
21670 * rs6000/t-xrs6000: Likewise.
21671 * sh/t-sh: Likewise.
21672 * sparc/t-elf: Likewise.
21673 * sparc/t-sparcbare: Likewise.
21674 * sparc/t-sparclite: Likewise.
21675 * sparc/t-splet: Likewise.
21676 * v850/t-v850: Likewise.
21677 * mn10200/t-mn10200: Fix comments.
21678 * mn10300/t-mn10300: Likewise.
21680 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
21681 dummy operand. Allocate a new pseudo for the dummy operand.
21682 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
21684 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
21686 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
21688 * configure: Rebuilt.
21689 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
21691 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
21693 * recog.c (preproces_constraints): Zero recog_op_alt before
21694 processing the constraints.
21696 * arm.c (typedef minipool_node): Renamed from pool_node.
21697 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
21698 (add_minipool_constant): New function.
21699 (dump_minipool): New function.
21700 (find_barrier): Remove special case for getting the insn size of
21701 an insn that references the constant pool.
21702 (minipool_fixup): New structure.
21703 (push_minipool_barrier): New function.
21704 (push_minipool_fix): New function.
21705 (note_invalid_constants): New function.
21706 (add_pool_constant, dump_table, fixit, broken_move): Delete.
21707 (arm_reorg): Rewrite code to fix up the constant pool into a
21708 series of mini-pools embedded in the insn stream.
21709 (arm_output_epilogue): New function, made mainly from the body
21710 of output_func_epilogue.
21711 (output_func_epilogue): Move insn generation part of epilogue code
21712 to arm_output_epilogue.
21713 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
21714 * arm.md (pool_range): New attribute.
21715 (zero_extendqidi2): Add attribute pool_range.
21716 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
21717 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
21718 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
21719 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
21720 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
21721 (epilogue): New expand.
21722 (epilogue_insn): New insn. Call arm_output_epilogue.
21724 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
21725 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
21727 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21729 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21731 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
21733 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
21735 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
21737 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
21739 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
21741 * global.c: Fix comment.
21743 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
21745 * gcc.c (access_check): New static function.
21746 (find_a_file): Use it when searching a directory list.
21747 * collect2.c (find_a_file): Don't accept directories found when
21748 searching a directory list.
21750 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
21752 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
21753 function parameters with `&'.
21754 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
21756 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
21758 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
21759 or tidy_fallthru_edge if the last insn in the block is not
21760 an unconditional jump or a simple conditional jump.
21762 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21764 * Makefile.in (c-decl.o): Depends on defaults.h.
21766 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
21768 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
21770 (CLASS_MAX_NREGS): Likewise.
21772 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
21774 * cse.c (cse_insn): Fix dumb thinko in last change.
21776 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21778 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
21781 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
21783 * dwarf2out.c (add_location_or_const_value_attribute): Correct
21784 test for sizes of passed and declared parameter types.
21786 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21788 * fixincludes: Fix the return type of bsearch, char* -> void*.
21790 * fixinc/inclhack.def: Likewise.
21792 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
21794 * invoke.texi (-fdump-translation-unit): New option.
21796 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
21798 * expr.h (PROMOTE_PROTOTYPES): Move ...
21799 * defaults.h: ... to here.
21800 * c-decl.c: Include defaults.h instead of expr.h.
21801 * c-typeck.c: Include defaults.h.
21803 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
21805 * toplev.h (errorcount): Declare.
21806 (warningcount): Likewise.
21807 (sorrycount): Likewise.
21808 * c-lex.c (errorcount): Don't declare.
21809 * dwarf2out.c (errorcount): Don't declare.
21811 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
21813 * config/libgloss.h: Add a note discouraging use with ELF.
21814 * configure.in: Don't use libgloss.h for ELF targets.
21815 Always use_collect2 on a.out targets.
21817 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
21819 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
21820 (force_to_mode, case ASHIFTRT): Add shiftrt label.
21822 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21824 * loop.c (strength_reduce): When doing biv->giv conversion, update
21825 reg note of NEXT->insn.
21827 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21829 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
21831 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21833 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
21834 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
21835 Ensure expr.h is included.
21836 * c-typecheck.c (convert_arguments): Ditto.
21838 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
21840 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
21841 * config/convex/convex.h: Ditto.
21842 * config/dsp16xx/dsp16xx.h: Ditto.
21843 * config/fx80/fx80.h: Ditto.
21844 * config/gmicro/gmicro.h: Ditto.
21845 * config/i370/i370.h: Ditto.
21846 * config/i386/i386.h: Ditto.
21847 * config/m32r/m32r.h: Ditto.
21848 * config/m68k/m68k.h: Ditto.
21849 * config/m88k/m88k.h: Ditto.
21850 * config/mips/mips.h: Ditto.
21851 * config/pa/pa.h: Ditto.
21852 * config/pyr/pyr.h: Ditto.
21853 * config/tahoe/tahoe.h: Ditto.
21854 * config/we32k/we32k.h: Ditto.
21856 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
21857 based on arch size.
21859 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
21861 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
21864 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
21866 1999-08-02 Richard Henderson <rth@cygnus.com>
21868 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
21869 for the register spill block.
21870 (m32r_va_arg): New.
21871 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
21872 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
21874 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
21875 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
21876 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
21878 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21880 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
21881 MAX_WCHAR_TYPE defined in sparc.h.
21882 * config/sparc/linuxaout.h: Likewise.
21883 * config/sparc/linux64.h: Likewise.
21884 Also default to -mvis if CPU is UltraSPARC.
21886 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21888 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
21889 (RTX_OK_FOR_OLO10): Likewise.
21890 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
21891 %lo(), allow it in addresses...
21892 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
21893 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
21894 does not make sense.
21895 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
21896 (sparc_output_scratch_registers): New function.
21897 (output_function_prologue, sparc_flat_output_function_prologue): Use
21899 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
21901 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
21902 * configure.in: Add check for .register pseudo-op support in as and
21903 check for offsetable %lo().
21904 * acconfig.h: Add templates for the above checks.
21905 * configure: Regenerate.
21907 1999-08-02 Richard Henderson <rth@cygnus.com>
21909 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
21910 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
21911 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
21913 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21915 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21918 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21920 * config/float-sparc.h: New file.
21921 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
21922 sparc-*-linux-gnu and sparc64-*-linux*.
21924 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21926 * rs6000.c (rs6000_va_list): Type is an array.
21927 (rs6000_va_start): Don't doubly adjust for varargs.
21928 (rs6000_va_arg): Evaluate long long GPR adjustment.
21930 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
21932 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
21933 -maix64 and -maix32.
21934 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
21935 LINK_SPEC): Change appropriately.
21936 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
21937 (u_short_cint_operand): Likewise.
21938 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
21940 * rs6000/t-aix43 (MULTILIB): Change to -m64.
21942 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
21944 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
21946 * rs6000/rs6000.c (num_insns_constant_wide): Correct
21947 for type promotion.
21948 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
21949 (non_add_cint_operand): Likewise.
21950 (logical_operand): Likewise.
21951 (non_logical_cint_operand): Likewise.
21952 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
21953 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
21954 (rs6000_select_rtx_section): Suppress warning.
21955 (small_data_operand): Suppress warning.
21956 (rs6000_got_register): Suppress warning.
21957 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
21958 type, so `J' is generally the wrong constraint for a SImode value;
21960 (andsi3_internal2): Likewise.
21961 (andsi3_internal3): Likewise.
21962 (iorsi3_internal1): Likewise.
21963 (xorsi3_internal1): Likewise.
21965 (movsf_softfloat): Likewise.
21966 (scc insns): Likewise.
21967 (movsi+2): Preserve sign bits of SImode constant.
21968 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
21969 (movdf+1): Sign-extend properly.
21970 (movdi_32+1): Sign-extend properly.
21971 (scc insns): Sign-extend properly.
21973 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
21976 1999-08-02 Richard Henderson <rth@cygnus.com>
21978 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
21979 -mcpu parsing code.
21980 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
21981 * alpha.md (all fp insns): Likewise.
21983 1999-08-02 Nick Clifton <nickc@cygnus.com>
21985 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
21988 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
21990 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
21991 pic_load_label generator directly.
21992 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
21993 No longer a named pattern.
21995 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
21997 * explow.c (force_reg): Call force_operand if X does not
21998 satisfy general_operand.
22000 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
22002 * fix-header.c (main): When testing for CONTINUED, use string
22003 equality, not pointer equality.
22005 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
22007 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22009 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
22011 * cse.c (cse_insn): Fix loop which deletes insns after a jump
22012 that has become an unconditional jump.
22014 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22015 (output_function_epilogue): Similarly.
22017 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22019 * tree.h (init_dummy_function_start): Declare.
22021 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22023 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22024 last_expr_type, last_expr_value, block_start_count, block_stack,
22025 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22026 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22027 dynamically in stmt elt of struct function for each function.
22028 (struct nesting): Rename function_call_count elt to n_function_calls,
22029 target_temp_slot_level to block_target_temp_slot_level. All users
22031 (struct stmt_status): New structure definition.
22032 Add many accessor macros for stmt_status elements which previously
22033 were global variables.
22034 (init_stmt_for_function): Allocate stmt elt for current_function.
22035 Reflect that block_start_count was renamed to
22036 current_block_start_count.
22037 (save_stmt_status, restore_stmt_status): Delete functions.
22038 (preserve_subexpressions_p): Don't access loop_stack when outside
22040 (expand_start_bindings): Reflect that block_start_count was renamed to
22041 current_block_start_count.
22042 (expand_fixup): Likewise.
22043 (expand_decl): Don't access block_stack when outside a function.
22044 (expand_decl_cleanup): Likewise.
22045 (expand_dcc_cleanup): Likewise.
22046 (expand_dhc_cleanup): Likewise.
22047 (expand_anon_union_decl): Likewise.
22048 (set_file_and_line_for_stmt): New function.
22049 (in_control_zone_p): New function.
22051 * function.h (struct function): Add new elt stmt.
22052 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22053 case_stack, nesting_stack, nesting_depth, block_start_count,
22054 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22055 emit_lineno, goto_fixup_chain.
22056 (save_eh_status, restore_eh_status, save_stmt_status,
22057 restore_stmt_status): Delete declarations.
22058 * function.c (push_function_context_to): Don't call save_stmt_status.
22059 (pop_function_context_to): Don't call restore_stmt_status.
22060 * tree.h (in_control_zone_p): Declare.
22061 * rtl.h (set_file_and_line_for_stmt): Declare.
22063 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22064 call set_file_and_line_for_stmt.
22066 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
22068 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22069 Also update copyright.
22071 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22073 * c-pragma.c: Don't include "except.h".
22074 * emit-rtl.c: Likewise.
22075 * stor-layout.c: Likewise.
22076 * tree.c: Likewise.
22077 * varasm.c: Likewise.
22079 * flow.c: Include "function.h".
22080 * tree.h (init_dummy_function_start): Declare new function.
22082 * except.h (struct eh_status): New structure.
22083 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22085 (eh_return_stub_label, ehstack, catchstack, ehqueue,
22086 catch_clauses, false_label_stack, caught_return_label_stack,
22087 protect_list, current_function_ehc): Add accessor macros for the
22088 corresponding fields in current_function->eh; delete declarations
22089 for all items that used to be declared here.
22090 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22091 catch_clauses, false_label_stack, caught_return_label_stack,
22092 protect_list, current_function_ehc): Delete variables.
22093 (init_eh_for_function): Allocate current_function->eh.
22094 (save_eh_status, restore_eh_status): Delete functions.
22096 * function.h (struct function): Add fields next_global and eh.
22097 Delete all exception handling related fields.
22098 * function.c (current_function): New variable.
22099 (all_functions): New variable.
22100 (push_function_context_to): Don't allocate a struct function,
22101 use current_function instead. Call init_dummy_function_start when
22102 outside a function. Clear current_function before returning.
22103 (pop_function_context_from): Restore current_function.
22104 Don't free the restored struct function.
22105 (prepare_function_start): New function.
22106 (init_dummy_function_start): New function.
22107 (init_function_start): Break out some code into prepare_function_start
22110 * stmt.c (save_stmt_status): Don't call save_eh_status.
22111 (restore_stmt_status): Don't call restore_eh_status.
22113 * Makefile.in: Update dependencies.
22115 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
22117 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22118 of depending on a magic constant value. Update comments.
22119 (hppa_expand_prologue): Similarly.
22121 * pa.md (reload_indi, reload_outdi): Allow any register for the
22122 original reload register.
22124 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
22126 * cccp.c (print_help): Change marcos to macros.
22128 1999-07-30 Richard Henderson <rth@cygnus.com>
22130 * c-typeck.c (initializer_constant_valid_p): Move ...
22131 * c-common.c (initializer_constant_valid_p): ... here. Use
22132 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
22133 of label addresses.
22134 * c-common.h (initializer_constant_valid_p): Declare.
22135 * c-tree.h (initializer_constant_valid_p): Remove.
22137 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
22139 * config/i386/sol2-c1.asm: Align the stack.
22140 * config/i386/sol2-gc1.asm: Likewise.
22142 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
22144 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22145 -Asparclite for sparc86x.
22146 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22148 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22150 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
22152 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22153 the user if using the non-default arch size in BI_ARCH configuration.
22154 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22156 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22157 Fix patterns so that they actually match.
22158 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22159 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22160 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22162 (mulsidi3): Reflect this in the expand.
22163 (smulsi3_highpart): Only on TARGET_ARCH32.
22164 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22165 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22166 (umulsidi3): Reflect this in the expand.
22167 (umulsi3_highpart): Only on TARGET_ARCH32.
22168 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22169 don't require g0 to be zero.
22170 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22171 ({,u}divsi3): New expands.
22172 ({,u}divsi3_sp64): New patterns.
22173 (after lshrdi3_v8plus): Four new patterns to help combiner
22174 optimizing nested mixed mode shifts.
22176 * config/sparc/sparc.c (sparc_override_options): Use deprecated
22177 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22178 speed things up. Don't use them by default on plain v9 in 64bit
22179 mode, according to what SPAMv9 sais.
22181 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22182 top 32 bits of %[og][0-7] in signal handlers.
22183 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22185 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
22187 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22188 (ashlsi3): Corresponding changes.
22190 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22192 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
22194 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22196 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22198 * arm.h (Hint): Delete macro.
22199 Substitute HOST_WIDE_INT for Hint in some prototypes.
22200 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22202 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
22204 * builtins.c (expand_builtin_setjmp): Use force_operand to
22205 make sure that the buffer address is in a suitable form to be
22206 passed to force_reg.
22208 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
22210 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22213 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
22215 * pa.md (indirect_jump): Remove mode from match_operand. Verify
22216 proper mode in the condition string.
22217 (icacheflush, dcacheflush): Remove modes from match_operands.
22219 * pa.c (emit_move_sequence): Always convert scratch_reg to the
22220 proper mode before using it.
22222 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22225 * pa.c (store_reg): Do not call add_high_const generator directly.
22226 (load_reg, set_reg_plus_d): Likewise.
22227 * pa.md (add_high_const): No longer a named pattern.
22229 * pa.c (legitimize_address): Consistently use Pmode rather than
22230 SImode. Do not call gen_pic2_highpart directly anymore.
22231 * pa.md (pic2_highpart): No longer a named pattern.
22232 (pic2_lo_sum): Similarly. Reformat to make more readable.
22234 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22239 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22241 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22243 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
22245 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
22246 and tag the spill mems.
22247 (hppa_va_start): New.
22248 (hppa_va_arg): New.
22249 * pa.h (EXPAND_BUILTIN_VA_START): New.
22250 (EXPAND_BUILTIN_VA_ARG): New.
22252 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
22254 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22255 and tag the spill mems.
22256 (mn10300_va_start): New.
22257 (mn10300_va_arg): New.
22258 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22259 (EXPAND_BUILTIN_VA_ARG): New.
22261 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
22263 * mn10200.c (mn10200_va_arg): New.
22264 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22266 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
22268 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22269 rather than play with TREE_INT_CST_LOW.
22271 1999-07-27 Philip Blundell <pb@nexus.co.uk>
22273 * config/arm/telf.h: Include dbxelf.h.
22274 (CPP_PREDEFINES): Only define if not already defined.
22275 (ASM_IDENTIFY_GCC): Likewise.
22276 (SUBTARGET_EXTRA_SECTIONS): Likewise.
22277 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22278 * config/arm/thumb.h (LINK_SPEC): Only define if not already
22280 (DBX_DEBUGGING_INFO): Don't define.
22281 * config/arm/linux-telf.h: New file.
22282 * config/arm/linux-tgas.h: New file.
22283 * config/arm/t-thumb-linux: New file.
22284 * config/arm/uclinux-elf.h: New file.
22285 * config/arm/uclinux-telf.h: New file.
22286 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22287 thumb-*-uclinux): New targets.
22288 * configure: Regenerate.
22290 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
22292 * pa.md (post_store, pre_load): New expanders.
22293 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22294 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22295 need to directly generate RTL for them.
22296 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22299 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
22301 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22302 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22303 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22304 (secndary_reload_class): Make TARGET_ELF conditional compile.
22305 (print_operand_address): Similar.
22306 (output_toc): Print all values as hex.
22307 (get_issue_rate): Rearrange and add RS64A and PPC630.
22308 * rs6000.h (processor_type): Add RS64A and PPC630.
22309 (PROCESSOR_POWERPC64): New.
22310 (PROMOTE_MODE): Use word_mode.
22311 (RTX_COSTS): Add RS64A and PPC630.
22312 * rs6000.md (scheduling information): Add lmul and ldiv
22313 representing 64-bit integer multiply and divide. Add rs64a and
22314 PPC630 information.
22315 (ashldi3): Add support for "rldic" instruction.
22316 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22318 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
22320 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22321 instead of V8 for sparclite86x in cpu_table.
22323 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22325 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22326 output_file_directive.
22328 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
22330 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22331 tree for op1, not the rtl.
22333 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
22335 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22336 to m88k_va_start, leaving only the register spill.
22337 (m88k_build_va_list): New.
22338 (m88k_va_start): New.
22339 (m88k_va_arg): New.
22340 * m88k.h (BUILD_VA_LIST_TYPE): New.
22341 (EXPAND_BUILTIN_VA_START): New.
22342 (EXPAND_BUILTIN_VA_ARG): New.
22344 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
22346 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22347 Rename from expand_builtin_saveregs.
22348 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22350 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
22352 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22353 for the register spill block.
22354 (i960_build_va_list): New.
22355 (i960_va_start): New.
22356 (i960_va_arg): New.
22357 * i960.h (BUILD_VA_LIST_TYPE): New.
22358 (EXPAND_BUILTIN_VA_START): New.
22359 (EXPAND_BUILTIN_VA_ARG): New.
22360 * i960.md (store_multiple): Use change_address on individul mems.
22362 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
22364 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22366 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22367 (expand_builtin_va_end): Evaluate arg for side effects.
22368 * c-common.c (c_common_nodes_and_builtins): Construct a
22369 va_list_arg_type_node to handle array decomposition to pointer.
22371 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
22373 * except.c (st_dynamic_cleanup): Use force_operand on the
22376 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
22378 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22379 * c4x.c (c4x_va_arg): New.
22381 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
22383 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22384 has manual_pop set.
22386 1999-07-26 Nathan Sidwell <nathan@acm.org>
22388 * eh-common.h (__eh_matcher): Prototype correctly.
22390 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
22392 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22393 (TARGET_SINGLE_PIC_BASE): Likewise.
22394 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22396 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22397 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22398 (TARGET_OPTIONS): Add -mpic-register=N.
22399 (OUTPUT_INT_ADDR_CONST): New macro.
22400 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22401 LEGITIMATE_PIC_OPERAND_P): Likewise.
22402 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22403 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22404 output_addr_const directly.
22405 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22407 (thumb_pic_register, thumb_pic_register_string): Declare.
22409 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22411 (label_mentioned_p): New function: Imported from arm.c.
22412 (legitimize_pic_address): New function: Imported from arm.c.
22413 (is_pic):New function: Imported from arm.c.
22414 (thumb_finalize_pic):New function: Imported from arm.c.
22415 (add_constant): Cope with PIC constants.
22416 (fixit): Cope with PIC constants.
22417 (output_return): Do not treat the PIC register as live if
22418 TARGET_SINGLE_PIC_BASE is true.
22419 (thumb_function_prologue): Do not treat the PIC register as live if
22420 TARGET_SINGLE_PIC_BASE is true.
22421 (thumb_expand_prologue): Do not treat the PIC register as live if
22422 TARGET_SINGLE_PIC_BASE is true.
22423 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22424 TARGET_SINGLE_PIC_BASE is true.
22425 (thumb_print_operand): Accept '|'.
22426 (thumb_override_options): Process PIC options.
22428 * config/arm/thumb.md (movsi): Support PIC.
22429 (call_insn): Change "i" constraint to "X".
22430 (call_value_insn): Likewise.
22431 (consttable_4, consttable_8, consttable_end): Set and clear
22432 "making_const_table" as appropriate.
22433 (pic_load_addr, pic_add_dot_plus_four): New insns.
22435 * invoke.texi (Thumb Options): Fix spelling. Document new
22436 options -msingle-pic-base and -mpic-register=.
22438 1999-07-26 Andrew Haley <aph@cygnus.com>
22440 * config/m32r/initfini.c (__init): Use a full word immediate for
22441 __fini: this allows it to be placed in any memory region.
22443 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22444 -mmodel=medium. This is OK for all memory models.
22446 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
22448 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22449 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22451 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
22453 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22456 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22458 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
22460 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22461 (BUILD_VA_LIST_TYPE): New.
22462 (EXPAND_BUILTIN_VA_START): New.
22463 (EXPAND_BUILTIN_VA_ARG): New.
22464 * i860.c (output_delayed_branch): Disable.
22465 (output_delay_insn): Likewise.
22466 (i860_saveregs): New.
22467 (i860_build_va_list): New.
22468 (i860_va_start): New.
22469 (i860_va_arg): New.
22470 * i860.md: Disable all peepholes using output_delayed_branch.
22471 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22473 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
22475 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22476 (BUILD_VA_LIST_TYPE): New.
22477 (EXPAND_BUILTIN_VA_START): New.
22478 (EXPAND_BUILTIN_VA_ARG): New.
22479 * clipper.c (clipper_builtin_saveregs): Only dump registers.
22480 Return the address of the save area.
22481 (clipper_build_va_list): New.
22482 (clipper_va_start): New.
22483 (clipper_va_arg): New.
22485 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
22487 * arc.h (EXPAND_BUILTIN_VA_START): New.
22488 (EXPAND_BUILTIN_VA_ARG): New.
22489 * arc.c (arc_setup_incoming_varargs): Set alias set of
22491 (arc_va_start): New.
22494 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
22496 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22497 (BUILD_VA_LIST_TYPE): New.
22498 (EXPAND_BUILTIN_VA_START): New.
22499 (EXPAND_BUILTIN_VA_ARG): New.
22500 * alpha.c (alpha_builtin_saveregs): Delete.
22501 (alpha_build_va_list): New.
22502 (alpha_va_start): New.
22503 (alpha_va_arg): New.
22505 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
22507 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22509 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22510 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22512 * gcc.texi: More changes related to list conversion.
22513 * invoke.texi: Likewise.
22515 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
22517 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22518 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22519 (expand_builtin_next_arg): Accept ARGLIST not EXP.
22520 (stabilize_va_list): New function.
22521 (std_expand_builtin_va_start): New function.
22522 (expand_builtin_va_start): New function.
22523 (get_varargs_alias_set): New function.
22524 (std_expand_builtin_va_arg): New function.
22525 (expand_builtin_va_arg): New function.
22526 (expand_builtin_va_end): New function.
22527 (expand_builtin_va_copy): New function.
22528 (expand_builtin): Call them.
22529 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22530 __builtin_{varargs_start,stdarg_start,end,copy}.
22531 (build_va_arg): New function.
22532 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22533 (build_va_arg): Declare.
22534 * c-decl.c (ptr_type_node, va_list_type_node): New.
22535 * c-parse.gperf (__builtin_va_arg): New.
22536 * c-parse.in (VA_ARG): New token.
22537 (unary_expr): Recognize it.
22538 * expr.c (expand_expr): Expand VA_ARG_EXPR.
22539 * expr.h (std_expand_builtin_va_start): Declare.
22540 (std_expand_builtin_va_arg): Declare.
22541 (expand_builtin_va_arg): Declare.
22542 (get_varargs_alias_set): Declare.
22543 * tree.def (VA_ARG_EXPR): New.
22544 * tree.h (BUILT_IN_VARARGS_START): New.
22545 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22546 (ptr_type_node, va_list_type_node): Declare.
22547 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22548 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22549 * m88k.h, m88k.c: Likewise.
22550 * mn10300.h, mn10300.c: Likewise.
22551 * pa.h, pa.c: Likewise.
22552 * rs6000.h, rs6000.c: Likewise.
22553 * sh.h, sh.c: Likewise.
22554 * sparc.h, sparc.c: Likewise.
22556 * emit-rtl.c (operand_subword): Copy alias set.
22557 (change_address): Likewise.
22559 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
22561 * pa.c (compute_frame_size): Scan all the used callee saved registers,
22562 not just the first one.
22564 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
22566 * config/arm/arm.h (TARGET_SWITCHES): Add
22567 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
22568 (TARGET_OPTIONS): Add -mpic-register=.
22569 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22570 (arm_pic_register_string): Declare.
22571 (NEED_PLT_GOT): Delete, replace with ...
22572 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
22573 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22574 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22575 * config/arm/arm.c (arm_override_options): Add new option
22577 (arm_pic_register_string): New variable.
22578 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22579 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22580 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
22581 (output_return_instruction): Likewise.
22582 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22583 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
22584 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22586 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
22587 mention of -msched-prolog. Document new options -msingle-pic-base
22588 and -mpic-register=.
22590 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
22592 * haifa-sched.c (reemit_notes): Tidy.
22593 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22596 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
22598 * explow.c (trunc_int_for_mode): New function.
22599 (plus_constant_wide): Use it.
22600 * combine.c (simplify_and_const_int): Likewise.
22601 (merge_outer_ops): Likewise.
22602 (simplify_shift_const): Likewise.
22603 * cse.c (simplify_unary_operation): Likewise.
22604 (simplify_binary_operation): Likewise.
22605 * emit-rtl.c (operand_subword): Likewise.
22606 * rtl.h: Declare it.
22608 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22610 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22611 (use NUM_REGS instead of NUM_INTS).
22613 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22615 * builtins.c: New file.
22616 * expr.c (saveregs_value, apply_args_value): Delete definition,
22617 moved into builtins.c.
22618 (string_constant): No longer static.
22619 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22620 apply_args_size, apply_result_size, result_vector,
22621 expand_builtin_apply_args, expand_builtin_apply,
22622 expand_builtin_return): Delete functions, moved into builtins.c.
22623 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22624 * expr.h (saveregs_value, apply_args_value): Declare variables.
22625 (expand_builtin, string_constant): Declare functions.
22626 * Makefile.in: Update to build builtin.o.
22628 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
22630 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22631 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22632 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22633 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22635 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22638 1999-07-21 Michael Meissner <meissner@cygnus.com>
22640 * print-rtl.c (print_rtx): Print the names of the virtual
22643 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
22645 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
22646 introduced in previous delta.
22648 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22650 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
22651 to avoid name clash.
22653 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
22655 * c-lex.c (yylex) : Correct the test for overflow when lexing
22658 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
22660 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
22661 (adjust_priority): Always call ADJUST_PRIORITY.
22662 (schedule_insn): Only put insns into the ready at cost 0.
22663 (schedule_block): Remove redundant initial sort. Give clock_var
22664 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
22666 * tm.texi (MD_SCHED_REORDER): Update docs.
22668 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
22669 * sparc.c (ultra_reorder_called_this_block): Delete.
22670 (ultrasparc_sched_init): Don't set it.
22671 (ultrasparc_sched_reorder): Don't check it.
22673 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
22675 * rs6000.h (struct rs6000_args): Add sysv_gregno.
22676 * rs6000.c (init_cumulative_args): Init sysv_gregno.
22677 (function_arg_boundary): Align DFmode.
22678 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
22679 to get fp reg and stack overflow correct.
22680 (function_arg): Likewise.
22681 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
22682 (setup_incoming_varargs): Restructure for ABI_V4; use
22683 function_arg_advance to skip final named argument.
22684 (expand_builtin_saveregs): Properly unskip the last integer arg
22685 when doing varargs. Adjust overflow location calculation.
22687 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
22688 explicitly unsigned.
22689 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
22690 (__VA_GP_REGSAVE): Similarly.
22691 (__va_longlong_p): Delete.
22692 (__va_arg_type_violation): New declaration.
22693 (va_arg): Restructure. Flag promotion errors. Align double.
22694 TFmode passed by reference.
22696 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
22697 in the HOST_BITS_PER_WIDE_INT > 32 case.
22699 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
22701 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
22703 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
22705 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
22706 * toplev.c (documented_lang_options): Add -fpreprocessed.
22707 * cpplib.h (struct cpp_buffer): Add preprocessed.
22708 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
22709 (cpp_start_read): Don't expand macros or emit an initial #line
22710 directive if -fpreprocessed.
22712 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
22714 * cpplib.h (struct cpp_buffer): Added manual_pop for
22715 better C++ tokenization.
22716 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
22717 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
22718 * c-common.c (cpp_token): Make non-static.
22720 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22722 * c-common.h: New file.
22723 * c-common.c (permanent_obstack): Delete unused declaration.
22724 (c_global_trees): New array.
22725 (c_common_nodes_and_builtins): New function; split off common code
22726 from init_decl_processing in both c-decl.c and cp/decl.c.
22727 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
22728 c_global_trees and accessor macros defined in c-common.h.
22729 Include c-common.h.
22730 * c-decl.c: Delete definitions for tree nodes that were replaced by
22732 (init_decl_processing): Build void_list_node.
22733 Call c_common_nodes_and_builtins; delete code to generate the common
22735 * objc/objc-act.c (build_module_descriptor): Rename variable
22736 void_list_node to avoid clash with c-common.h.
22738 * Makefile.in: Update dependencies.
22739 * objc/Make-lang.in: Likewise.
22741 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
22743 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
22744 (UNIQUE_SECTION_P): Likewise.
22745 (UNIQUE_SECTION): Likewise.
22747 1999-07-19 Linas Vepstas <linas@linas.org>
22749 * config/i370/README: New file.
22750 * config/i370/linux.h: New file.
22751 * config/i370/mvs.h: New file.
22752 * config/i370/oe.h: New file.
22753 * config/i370/t-linux: New file.
22754 * config/i370/t-mvs: New file.
22755 * config/i370/t-oe: New file.
22756 * config/i370/x-oe: New file.
22757 * config/i370/xm-linux.h: New file.
22758 * config/i370/xm-mvs.h: New file.
22759 * config/i370/xm-oe.h: New file.
22761 * i370.c (label_node_t): Add first_ref_page, label_addr,
22762 label_first_ref, label_last_ref members.
22763 (mvs_need_base_reload): Renamed from mvs_label_emitted.
22764 (MAX_MVS_LABEL_SIZE): Define.
22765 (MAX_LONG_LABEL_SIZE): Define.
22766 (alias_node_t, alias_anchor, alias_number): New.
22767 (mvs_function_table): Reorder for EBCDIC.
22768 (ascebc, ebcasc): Unconditionally define.
22769 (i370_branch_dest, i370_branch_length): New functions.
22770 (i370_short_branch, i370_label_scan): New functions.
22771 (mvs_get_label): Renamed from mvs_add_label. Search for
22772 an existing label before creating a new one.
22773 (mvs_add_label): New function.
22774 (mvs_get_label_page): New function.
22775 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
22776 over the entire list.
22777 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
22778 (mvs_check_page) [TARGET_ELF_ABI]: New function.
22779 (mvs_add_alias, mvs_need_alias): New functions.
22780 (mvs_get_alias, mvs_check_alias): New functions.
22781 (handle_pragma): New function.
22782 (mvs_function_check): New function.
22783 (unsigned_jump_follows_p): Search harder.
22784 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
22785 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
22786 * i370.h (TARGET_VERSION): Delete.
22787 (CPP_SPEC, CPP_PREDEFINES): Delete.
22788 (mvs_label_emitted): Delete.
22789 (TARGET_EBCDIC): Delete.
22790 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
22791 (HANDLE_PRAGMA): Define.
22792 (HARD_REGNO_NREGS): Handle complex modes.
22793 (HARD_REGNO_MODE_OK): Likewise.
22794 (CLASS_MAX_NREGS): Likewise.
22795 (RET_REG): Likewise.
22796 (EXTRA_CONSTRAINT): Define.
22797 (RETURN_IN_MEMORY): True for DImode.
22798 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
22799 (FUNCTION_PROFILER): Delete.
22800 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
22801 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
22802 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
22803 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
22804 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
22805 (ASM_FILE_START): Add "RMODE ANY".
22806 (ASM_OUTPUT_EXTERNAL): Check for aliases.
22807 (ASM_GLOBALIZE_LABEL): Likewise.
22808 (ASM_OUTPUT_LABELREF): Likewise.
22809 (ASM_OUTPUT_COMMON): Likewise.
22810 (PRINT_OPERAND): Handle 'K', 'W', default.
22811 (PRINT_OPERAND_ADDRESS): New.
22812 (Lots of defines): Add support for TARGET_ELF_ABI.
22813 * i370.md (attr length): New. Define for all patterns.
22814 (*): Lots of tweeks to assembly output and constraints.
22816 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
22818 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
22819 Disable patterns performing SImode comparisons with SImode values
22820 if TARGET_POWERPC64 and instruction does not sign-extend or does
22821 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
22822 differ for signed quantities.
22823 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
22824 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
22825 (decrement_and_branch_on_count): Add 64-bit variant.
22827 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22829 * final.c (output_asm_insn): When searching for the matching string
22830 for a given dialect, don't run past the end of the list of
22831 alternatives if there are fewer alternatives in the template than
22834 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
22836 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
22837 Removed paragraph about compression of files and size limitation,
22838 duplicated in the FAQ. Use gcc-patches for posting patches.
22839 * gcc.c (main): Updated URL with bug reporting instructions to
22840 gcc.gnu.org. Removed e-mail address.
22841 * system.h (abort): Likewise.
22843 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22845 * Makefile.in (stmp-multilib-sub): Make the files extracted
22846 from $(LIBGCC1) writable.
22848 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
22850 * config/arm/aout.h: Reformat for improved readability.
22852 * config/arm/arm.h: Reformat for improved readability.
22853 Replace uses of fprintf with asm_fprintf where appropriate.
22854 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
22855 function declaration assembler actions.
22856 (NUM_INTS): New macro: Convert from bytes to words.
22857 (NUM_REGS): New macro: Compute number of registers required to
22858 hold a quanitity of tyep MODE.
22859 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
22861 (NUM_ARG_REGS): New macro: The number of argument registers
22863 (ARG_REGISTER): New macro: Compute the register number of the Nth
22865 (LAST_ARG_REGNUM): New macro: The number of the last argument
22867 (SP_REGNUM): New macro: Register number of the stack pointer.
22868 (FP_REGNUM): New macro: Register number of the frame pointer.
22869 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
22870 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
22871 CUMULATIVE_ARGS so that it counts registers not bytes.
22873 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
22875 Replace uses of fprintf with asm_fprintf where appropriate.
22876 (output_ascii_pseudo_op): Replace with version from thumb.c
22878 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
22880 * config/arm/elf.h (CPP_PREDEFINES): Replace with
22881 SUBTARGET_CPP_SPEC.
22882 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
22883 (ASM_FILE_START): Emit ASM_APP_OFF.
22885 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
22887 * pa.c (compute_frame_size): Round frame according to
22888 STACK_BOUNDARY rather than a hardwired value.
22890 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
22892 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
22894 * configure: Rebuilt.
22896 * configure.in (hppa*-*-linux*): New configuration.
22897 * configure: Rebuilt.
22898 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
22899 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
22900 * pa/pa-linux.h: New file.
22901 * pa/t-linux: New file.
22902 * pa/xm-linux.h: New file.
22904 * pa.c (hppa_legitimize_address): Change references from SImode to
22905 either Pmode or word_mode as appropriate.
22906 (emit_move_sequence, store_reg, load_reg): Likewise.
22907 (set_reg_plus_d, hppa_expand_prologue): Likewise.
22908 (output_mul_insn): Likewise.
22909 * pa.h (PROMOTE_MODE): Likewise.
22910 (INITIALZE_TRAMPOLINE): Likewise.
22911 (Pmode): Define to word_mode.
22913 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
22914 value of 4. Allocate 8 bytes for each FP register save.
22915 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
22917 (hppa_expand_prologue): Likewise.
22918 * pa.h (PROMOTE_MODE): Likewise.
22919 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
22920 (FUNCTION_ARG_BOUNDARY): Likewise.
22922 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
22924 * pa.c (out_of_line_prologue_epilogue): Delete.
22925 (override_options): Remove -mspace related code.
22926 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
22927 (compute_frame_size): Only allocate space for register that
22928 actually need to be saved.
22929 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
22930 (TARGET_SWITCHES): Remove -mspace, -mno-space
22931 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
22932 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
22933 * pa/ee.asm, pa/ee_fp.asm: Delete.
22935 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
22937 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
22938 directive in column zero.
22940 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
22942 * m68k.c (output_function_prologue): Fix computation of save mask
22943 when generating PIC code.
22945 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
22947 * tree.c (build_type_attribute_variant): Move current_obstack restore
22948 after build_qualified_type call.
22950 1999-07-15 Mark Mitchell <mark@codesourcery.com>
22952 * configure.in: Use t-iris6, even with GNU LD.
22953 * config/mips/iris6gld.h: Fix typo in linker spec.
22954 * config/mips/t-iris6gld: Remove.
22956 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
22958 * rs6000.md (insv, extzv): Remove SImode dependence in named
22959 patterns. Explicitly generate DImode RTL if PowerPC64 and
22961 (insvdi): Reverse start and size in instruction template.
22963 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
22965 * invoke.texi: Typo fixes.
22967 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
22969 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
22970 handle at this time instead of silently generating incorrect code.
22971 (gen_imagpart): Likewise.
22973 * reload.c (find_reloads): Emit a USE for a pseudo register without
22974 a hard register if we could not create an optional reload for the
22977 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22979 * c-typeck.c (output_init_element, process_init_element):
22980 When advancing constructor_unfilled_fields for a RECORD_TYPE,
22981 check for nameless bit fields.
22983 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
22985 * regclass.c (scan_one_insn): Notice subregs that change the
22986 size of their operand.
22987 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
22989 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
22991 * configure.in (alpha*-*-*): Include alpha/t-ieee.
22992 * configure: Rebuilt.
22993 * alpha/t-ieee: New file.
22995 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
22997 * rs6000.c (find_addr_reg): Do not select r0 as an address
23000 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
23002 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23004 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
23006 * rs6000.md (movsf): Do not force easy FP constants into memory.
23008 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23009 immed_double_const to ensure they are properly truncated then
23012 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23014 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23015 always unless NO_DEBUG is used. Compile this code
23017 (replace_symbols_in_block): Compile it unconditionally.
23019 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
23021 * configure.in (i?86-*-elf*): New target.
23022 * configure: Rebuilt.
23023 * i386/i386elf.h, i386/t-i386elf: New files.
23025 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
23027 * toplev.c (main): Don't complain about saying -gdwarf.
23028 (rest_of_compilation): Remove redundant code.
23030 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
23032 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23034 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
23036 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23037 "Li960R:", to avoid name clash.
23039 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23041 * loop.c (check_dbra_loop): When reversing a loop, delete all
23042 REG_EQUAL notes referencing the reversed biv except those which are
23043 for a giv based on it.
23045 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
23047 * version.c: Drop "gcc-" prefix from version #.
23049 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
23051 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23052 the label if we're being verbose.
23054 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
23056 * m68k.c (output_function_prologue): Add pic register to mask
23057 if live and flag_pic.
23058 (output_function_epilogue): Likewise.
23060 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
23062 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23063 directives in column zero.
23065 * pa/elf.h (ASM_FILE_START): Define.
23066 * pa/som.h (ASM_FILE_START): Include .level directives.
23067 * pa/hpux10.h (ASM_FILE_START): Delete.
23068 * pa/hpux11.h (ASM_FILE_START): Delete.
23070 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23072 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23074 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23075 when reload_out equals reload_in.
23077 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
23079 * invoke.texi (Spec Files): New node: Describe the contents of
23082 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
23084 * invoke.texi (DEC Alpha Options): Put @end table at
23085 beginning of line, to avoid confusing texi2html.
23087 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
23089 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23090 introduced in previous delta.
23092 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23094 * reload1.c (gen_reload): When synthesizing a 3 operand add
23095 sequence, improve test for when to reload OP1 into the reload
23096 register instead of OP0.
23098 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
23100 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23102 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
23104 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23107 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
23109 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23110 (va_dcl): Use __builtin_va_alist_t.
23112 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
23114 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23115 on the permanent_obstack.
23116 * dwarfout.c (output_type): Likewise.
23118 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
23120 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23121 Merged from c-typeck.c and cp/typeck.c.
23122 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23123 Merged into c-common.
23125 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
23127 * c-lex.c (errorcount): Declare it.
23128 (finish_parse): Update errorcount when using CPPLIB.
23130 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
23132 * fixinc/inclhack.def(end_else_label): Double the backslash so
23133 sed gets a chance to see it.
23134 * fixinc/inclhack.sh: regen
23135 * fixinc/fixincl.x: regen
23137 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
23139 Add framework to support armv5 architecture when it becomes
23142 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23143 (arm_arch5): New variable.
23144 (all_architectures): Add armv5 line.
23145 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23146 -march=armv5 is specified on the command line.
23147 (arm_arch5): Export this variable.
23148 * invoke.texi: Document new string accepted by -march= switch for
23151 * config/arm/arm.h: Replace use of constant 12 as a register
23152 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23153 * config/arm/arm.c: Replace use of constant 12 as a register
23154 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23156 * config/arm/elf.h: Tidy up.
23157 * config/arm/coff.h: Tidy up.
23159 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
23161 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23162 * gcc/config/mips/t-iris6gld: New file.
23163 * gcc/config/mips/iris6gld.h: Likewise.
23165 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
23167 * c-decl.c (widest_integer_literal_type_node,
23168 widest_unsigned_literal_type) : New.
23169 (init_decl_processing): Handle/use the two new types.
23170 * c-common.c (type_for_size,type_for_mode) : Same.
23171 * c-lex.c (yylex) : Same.
23172 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23174 * c-tree.h (widest_integer_literal_type_node,
23175 widest_unsigned_literal_type) : New.
23177 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
23179 * dwarfout.c (field_byte_offset): Correctly compute the object's
23180 byte offset for the first bit of a field which crosses an alignment
23181 boundary on a !BYTES_BIG_ENDIAN target.
23183 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
23185 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23188 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
23189 Jeff Law <law@cygnus.com>
23191 * ginclude/varargs.h (va_dcl): Use word_mode for type of
23194 * except.c: Include intl.h.
23195 (expand_eh_return): Set current_function_cannot_inline.
23196 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23197 * function.h (struct function): Add eh_return_stub_label.
23198 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23199 * Makefile.in (except.o): Depend on intl.h.
23201 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
23203 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23204 same as offsettable in cases 1 and 2.
23206 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
23208 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23209 (extlh, extwh): Likewise.
23211 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
23213 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23215 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
23217 * configure.in: Add arm-pe and thumb-pe targets.
23218 * configure: Regenerate.
23220 * thumb.c (arm_naked_function_p): New function: Determines if
23221 a function is naked (has no gcc generated prologue/epilogue).
23222 (is_called_in_ARM_mode): Return true if the func has the
23223 interfacearm attribute.
23224 (output_return): Do not generate a return for naked functions.
23225 (thumb_function_prologue): Do not generate a prologue for
23227 (thumb_expand_prologue): Do not generate a prologue for naked
23229 (thumb_expand_epilogue): Do not generate an epilogue for naked
23231 (arm_valid_machine_decl_attribute): New function, copied from
23232 arm.c: Permit naked and interfacearm attributes.
23234 * config/arm/pe.c: New file: Support code for arm-pe target.
23235 * config/arm/pe.h: New file: Header file for arm-pe target.
23236 * config/arm/tpe.h: New file: Header file for thumb-pe target.
23237 * config/arm/t-thumb-pe: New file: Makefile fragment for
23240 1999-07-01 Mark Kettenis <kettenis@gnu.org>
23242 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23243 -fPIC or -fpic is specified.
23245 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
23247 * expr.c (emit_block_move): Use copy_to_mode_reg for
23248 !TARGET_MEM_FUNCTIONS case too.
23250 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23252 * configure: Rebuilt.
23253 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23254 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
23255 definitions made redundant by dbxelf.h inclusion. Delete
23256 lots of definitions related to assembly output that are
23257 specific to the SOM object format.
23258 * pa.c (output_function_prologue): Do not emit the function's
23260 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23261 * pa-pro.h: Deleted.
23262 * som.h: New file with SOM specific definitions.
23263 * elf.h: New file with ELF specific definitions.
23265 * elfos.h (const_section): Output a tab before assembler directives.
23266 (ctors_section, dtors_section): Likewise.
23267 (ASM_OUTPUT_SECTION_NAME): Likewise.
23269 * pa/pa1.h: Delete unused file.
23271 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
23273 * configure.in (hppa*-hp-hpux11*): New configuration.
23274 * configure: Rebuilt.
23275 * pa/pa-hpux11.h: New file.
23276 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23279 * mips.md (leasi, leadi): New patterns.
23281 * expr.c (emit_block_move): Properly handle case where one of the
23282 block move arguments has a queued increment or decrement.
23283 (clear_storage): Similarly. Fix formatting goof.
23285 1999-06-28 "David O'Brien" <obrien@NUXI.com>
23287 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23288 semicolon from the BSD VA_LIST replacement expression.
23290 * fixinc/inclhack.sh: regen
23291 * fixinc/fixincl.x: regen
23293 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23294 now use the fixincl program.
23296 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
23298 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23299 case. Also make the PIC register call_used.
23301 * m68k.h (FINALIZE_PIC): Delete.
23302 * m68k.c (finalize_pic): Delete.
23304 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
23306 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23309 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
23311 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23313 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
23315 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23317 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
23319 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23321 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
23323 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23325 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
23327 * rs6000.c (output_toc): Always use hex values for floating-point
23328 constants. Store single-precision values in upper-half of TOC
23329 entry in 64-bit mode.
23330 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23331 to final constraints.
23332 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23333 (fctiwz): Improve accuracy of RTL for pattern.
23335 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
23337 * expr.c (expand_expr): Allow RTL_EXPR's through the
23338 MAX_INTEGER_COMPUTATION_MODE checks.
23340 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
23342 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23343 such that MASK_SUPPORT_ARCH is not negative.
23345 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
23347 * loop.c (verify_dominator): Properly handle ADDR_VEC and
23348 ADDR_DIFF_VEC insns that appear inside loops.
23350 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
23351 Jeff Law <law@cygnus.com>
23353 * rs6000.md (movdf_hardfloat32): Revert previous patch.
23354 Handle LO_SUM the same as offsettable in cases 1 and 2.
23355 * rs6000.c (find_addr_reg): Revert previous patch.
23357 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
23359 * system.h (strstr): New external function declaration.
23360 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23361 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23362 * config.in, configure: Rebuilt.
23364 1999-06-24 Tom Tromey <tromey@cygnus.com>
23366 * gcc.c (main): Read user-specified specs files after computing
23367 additional startfile_prefixes.
23369 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
23371 Revert these two patches:
23373 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23374 * loop.c (strength_reduce): When doing biv->giv conversion, update
23375 reg note of NEXT->insn.
23377 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23378 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23380 (recombine_givs): Set ix field after sorting.
23382 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23384 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23385 for the parts of an UNSPEC / UNSPEC_VOLATILE.
23387 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
23389 *fixinc/inclhack.def: Add fix development commentary
23390 (read_ret_type): reactivate and add selection clause
23391 (zzz_*): tweak output file name to match what is used in hackshell.tpl
23392 *fixinc/{fixincl.x|inclhack.sh}: regen
23394 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
23396 * expr.c (expand_expr): STRIP_NOPS before checking against
23397 MAX_INTEGER_COMPUTATION_MODE
23398 (check_max_integer_computation_mode): Likewise.
23400 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
23402 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23404 1999-06-22 Jim Wilson <wilson@cygnus.com>
23406 * expr.c (store_expr): When target is a promoted subreg, return a
23407 promoted subreg as a result.
23409 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
23411 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23413 (dwarf2out_define): Mark unused parameters appropriately.
23414 (gen_unspecified_parameters_die): Ditto.
23415 (gen_subprogram_die): Fix signed/unsigned warnings.
23416 (gen_variable_die): Ditto.
23418 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
23420 * fixinc/inclhack.def(end_else_label): combined else_label
23421 and endif_label and fixed the sed expression.
23422 *fixinc/{fixincl.x|inclhack.sh}: regen
23424 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
23426 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23427 'x' when handling non-offsettable addresses
23429 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
23431 * final.c (shorten_branches): Don't try to split an insn that has
23434 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
23436 * config/mips/mips.c (symbolic_expression_p): New function.
23437 (mips_select_rtx_section): Put symbolic expressions in the
23438 data section, not the read-only data section.
23440 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
23442 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23444 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
23446 * collect2.c (main): Log frame table count.
23447 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23448 (scan_prog_file) [COFF]: Handle frame tables.
23450 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23451 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23452 * alpha/elf.h: Undef them again.
23453 * alpha/vms.h: Remove their definitions.
23455 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23457 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23458 remove the clobber of r0 and change the REG_UNUSED note to
23461 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
23463 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23464 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23465 fits in HOST_WIDE_INT and one uses union to access a long constant
23468 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
23470 * sparc.c (sparc_override_options): Don't allow profiling for
23471 code models other than medlow.
23472 (sparc_function_profiler): New function from old FUNCTION_PROFILER
23473 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23474 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
23475 (sparc_block_profiler): Likewise.
23476 (sparc_function_block_profiler_exit): Likewise.
23477 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23478 (FUNCTION_BLOCK_PROFILER): Likewise.
23479 (BLOCK_PROFILER): Likewise.
23480 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23481 (MCOUNT_FUNCTION): New.
23482 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23483 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23484 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23485 (MCOUNT_FUNCTION): New.
23486 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23487 (BLOCK_PROFILER): Delete.
23488 (MCOUNT_FUNCTION): New.
23490 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
23492 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23494 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23496 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23499 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23502 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23505 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23508 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
23510 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23513 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
23515 * i386/djgpp.h (LIB_SPEC): New.
23516 (STARTFILE_SPEC): New.
23518 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23520 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
23522 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23525 * system.h (WSTOPSIG): New macro.
23527 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
23529 * c-pragma.c (push_alignment): Don't ignore alignments greater than
23531 (insert_pack_attributes): Take into account member natural
23534 * i386/winnt.c (exports_head): New static variable.
23535 (i386_pe_record_exported_symbol): New function.
23536 (i386_pe_asm_file_end): Use.
23537 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23538 symbols to be emitted at end of assembly.
23539 (ASM_DECLARE_OBJECT_NAME): Likewise.
23540 (ASM_DECLARE_FUNCTION_NAME): Likewise.
23542 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23545 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
23547 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23550 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
23552 * haifa-sched.c (sched_analyze_1): Use free_list instead of
23553 zapping reg_last_uses directly.
23554 (sched_analyze_2, sched_analyze_insn): Likewise.
23555 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
23557 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
23559 * rs6000.md (movdf_hardfloat32): Use worst case insn length
23560 attributes for cases 1 and 2.
23562 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
23564 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23567 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
23569 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23571 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
23573 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23574 PIC_OFFSET_TABLE_REGNUM for general alloaction.
23575 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23576 must be stacked if it is used for PIC accesses.
23577 * arm.c (use_return_insn): Handle PIC register specially.
23578 (output_return_instruction): Likewise.
23579 (output_func_{prologue,epilogue}): Likewise.
23580 (output_expand_prologue): Likewise.
23582 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23583 (*strsi_predec): Renamed from *strqi_predec.
23584 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23585 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23587 * arm.c (arm_override_options): Remove warning about PIC code
23588 not being supported.
23590 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
23592 * rs6000.c (find_addr_reg): New function.
23593 * rs6000.h (find_addr_reg): Declare.
23594 (offsettable_addr_operand): Delete.
23595 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23596 from and stores to GPRs.
23598 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
23600 * alpha.c (alpha_expand_block_move): Use get_insns rather than
23601 gen_sequence as argument to emit_no_conflict_block.
23603 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23605 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23606 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23607 *fixinc/fixincl.x: regen
23608 *fixinc/inclhack.sh: regen
23610 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
23612 * added support for -mpcrel (PC relative addressing for m68k)
23613 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
23614 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23615 * m68k.c (print_operand_address): Handle 32-bit PIC case.
23616 (comments for general_src_operand): Add some explanation
23617 about EXTRA_CONSTRAINTS.
23618 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23619 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23620 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23621 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23622 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23623 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23624 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23625 if not already set.
23626 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23627 * m68k.h (TARGET_PCREL): New target flag.
23628 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23629 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23630 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23631 contains a SYMBOL_REF. Relax this constraint during reload, since
23632 we want to use the predicates, not reload's built-in concept of a
23633 valid memory address, to control what insns need reloading.
23634 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23635 operands (essentially 'g', 'm', and 's' under normal circumstances).
23636 * m68k.c (print_operand): Cause printing of pc-relative addresses
23637 to include pc register.
23638 (print_operand_address): Ditto.
23639 (general_src_operand): Accept operands that are not only
23640 general_operands, but are also valid when used as a pc-relative
23642 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
23643 (memory_src_operand): Similar, for memory_operands.
23644 (pcrel_address): New predicate to accept the special case of a
23645 pc-relative address.
23646 * m68k.md (many patterns): Rewrite common SImode, HImode, and
23647 QImode insns to accept *_src_operand instead of *_operand where
23648 pc-relative operands can fit. For example, a pc-relative operand
23649 can be used as a memory source operand for addsi3, but not as a
23650 memory destination.
23651 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
23653 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
23655 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
23656 .thumb_set pseudo op to mark aliases of thumb functions.
23658 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
23660 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
23661 preference to ASM_OUTPUT_DEF, if it is defined.
23663 * tm.texi: Document new, optional target macro
23664 ASM_OUTPUT_DEF_FROM_DECLS.
23666 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23668 * fixincludes: ISCNTL patch
23669 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
23670 (dgux_int_varargs): new for DG/UX
23671 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
23673 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
23675 * invoke.texi (ia32 options): Fix typo.
23677 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23679 * loop.c (strength_reduce): When doing biv->giv conversion, update
23680 reg note of NEXT->insn.
23682 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
23684 * loop.c (move_movables): Note issues with replacing REGs with
23686 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
23688 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
23690 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
23692 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
23693 the reference to `mcount' was not correct for the ELF on FreeBSD.
23695 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23697 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23700 (recombine_givs): Set ix field after sorting.
23702 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
23704 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
23705 to safe to extract a subword out of a REG.
23707 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23709 * sh.md (mulsi3): Don't add a no-op move at the end.
23711 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23713 * cse.c (cse_insn): Don't put hard register source into tables for
23714 the last insn of a libcall.
23716 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23718 * loop.c (strength_reduce): Insert sets of derived givs at every
23719 biv increment, even if it's the only one.
23721 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
23723 * dwarfout.c (add_incomplete_type): New fn.
23724 (output_type): Call it.
23725 (retry_incomplete_types): New fn.
23726 (dwarfout_finish): Call it.
23728 From Eric Raskin <ehr@listworks.com>:
23729 (output_type): Output types for bases.
23731 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23733 * mips.c (mips_output_conditional_branch): Add `break'
23734 between `default' label and `close braces'.
23736 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
23738 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
23739 specifications and make it realistic.
23740 (LIB_SPEC): Likewise.
23742 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
23744 * config/mips/mips.c (mips_secondary_reload_class): Check for
23745 (PLUS (SP) (REG)) and return appropriate register class.
23746 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
23747 Handle (PLUS (SP) (REG)).
23748 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
23749 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
23750 of emit_insn for tablejump.
23752 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
23754 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
23755 asm_fprintf format string by itself.
23756 (output_function_profiler): Likewise.
23758 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
23760 * combine.c (simplify_logical, case AND): Only call
23761 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
23762 or the constant is positive.
23764 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
23766 * configure.in: Fix typo in rs6000-ibm-aix4 case.
23767 * configure: Regenerate.
23769 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
23771 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
23772 require a sub-version #.
23773 * configure: Rebuilt.
23775 1999-06-14 Robert Lipe (robertlipe@usa.net)
23777 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
23779 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
23781 * c-typeck.c (process_init_element): Detect excess elements in
23782 char array initializer.
23784 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
23786 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
23788 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
23790 * invoke.texi (Option Summary): Add -fpermissive flag.
23792 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
23794 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
23795 that require PIC code sequences.
23797 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
23799 * configure.in: Add new target: thumb-elf.
23800 * configure: Regenerate.
23801 * config/arm/t-thumb-elf: New file: Makefile fragment for
23803 * config/arm/telf.h: New file: Header file for thumb-elf
23806 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
23808 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
23809 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
23810 initializers is some circumstances.
23812 * fixinc/inclhack.def (endif_label): Add additional selector for
23813 more bogus stuff after #endif statements.
23814 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
23816 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
23818 * i386/cygwin.h (SET_ASM_OP): Define.
23820 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
23822 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
23824 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23826 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
23829 * sh.md (ic_invalidate_line_i): Remove second alternative.
23831 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23833 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
23834 test for the presence of valid prototypes. Delete bypass expr.
23835 (ioctl_fix_ctrl): Correct the selection expression.
23836 (no_double_slash): Correct quoting rules
23837 *fixinc/fixincl.x: regen
23838 *fixinc/inclhack.sh: regen
23840 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
23842 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
23844 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23846 * rs6000.md (movsi_got_internal_mem): Delete.
23847 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
23848 (GOT_TOC_REGNUM): Delete.
23849 (PIC_OFFSET_TABLE_REGNUM): Define.
23850 (FINALIZE_PIC): Disable.
23851 * rs6000.c (rs6000_got_register): New code for fixed pic register.
23852 (rs6000_replace_regno): Delete.
23853 (rs6000_finalize_pic): Likewise.
23854 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
23856 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23858 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
23859 is a note; use <= for the compare; advance P while it is
23862 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
23864 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
23865 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
23867 * varasm.c (remove_from_pending_weak_list): Verify t->name
23868 is non-NULL before passing it to strcmp.
23870 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23872 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
23873 the typed arguments are not part of a comment
23874 (ioctl_fix_ctrl): Added a purpose comment
23875 *fixinc/fixincl.x: regenerate
23876 *fixinc/inclhack.sh: regenerate
23878 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23880 * invoke.texi: Add C4x invocation docs.
23882 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23884 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
23886 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
23888 (c4x_legitimize_reload_address): New function.
23889 * config/c4x/c4x.md: Update docs.
23891 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
23893 * fixincludes: Avoid removing '.'.
23894 * fixinc/fixinc.svr4: Likewise.
23895 * fixinc/fixinc.winnt: Likewise.
23896 * fixinc/inclhack.tpl: Likewise.
23897 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
23899 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23901 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
23903 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
23905 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
23907 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
23910 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
23912 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
23913 * configure: Regenerate.
23915 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
23917 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
23920 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
23922 * fixinc/inclhack.def (avoid_bool): Also catch
23923 "typedef [unsigned] int bool".
23924 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23926 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
23927 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
23928 * configure: Rebuilt.
23930 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
23932 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
23933 such that we can override its definitions if necessary.
23934 (CPP_SPEC): New define. Support processor specific predefines via
23936 (CC1_SPEC): New define. Support processor specific compiler
23937 options via %(cc1_cpu).
23938 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
23941 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23943 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
23944 between sed's -e flag, and the open-quote following it.
23945 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23947 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
23948 Jeffrey A Law (law@cygnus.com)
23950 * varasm.c (assemble_start_function): Remove the function
23951 from the pending weak decls list when we define a function.
23952 (assemble_variable): Similarly for variables.
23953 (weak_finish): Ignore items on the list with a NULL name.
23954 (remove_from_ending_weak_list); New function to "remove" an item
23955 from the pending weak declarations list.
23957 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
23959 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
23961 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
23963 * c-lex.c (GETC): Redefine to call getch.
23964 (UNGETC): Redefine to call put_back.
23965 (putback_buffer): New structure type.
23966 (putback): New static structure.
23967 (getch): New function.
23968 (put_back): New function.
23969 (yylex): Replace unused bytes from bad multibyte character.
23971 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
23973 * cpplib.c (do_define): Cast `alloca' return value.
23974 (do_include, do_undef, do_pragma): Likewise.
23975 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
23977 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
23978 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
23980 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
23982 * sparc.md (abstf2): This should be an expand.
23983 (split after abstf2_notv9): Fix mode.
23984 (abstf2_hq_v9): New pattern.
23985 (abstf2_v9): Only use when no hard quad.
23986 (absdf2_v9): Fix if target is not the same as source.
23987 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
23988 Add correct output constraints.
23990 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
23992 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
23993 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
23995 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
23997 * mips.h (mips_output_conditional_branch): New function.
23998 (mips_adjust_insn_length): Likewise.
23999 (ASSEMBLER_SCRATCH_REGNUM): New macro.
24000 (ADJUST_INSN_LENGTH): Likewise.
24001 * mips.c (print_operand): Add `F' and `W' for floating-point
24002 comparison opcodes.
24003 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24005 (mips_adjust_insn_length): New function.
24006 (mips_output_conditional_branch): New function.
24007 * mips.md (length): Adjust attribute definition to handle
24008 conditional branches. Change lengths to bytes, rather than
24009 instructions throughout. Remove length attribute from
24010 instructions whose length is four bytes, and rely on the default
24012 (dslot): Fix typo in comment.
24013 Reword conditional branch patterns to use
24014 mips_output_conditional_branch.
24016 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
24018 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24019 (LIB_SPEC): Likewise.
24020 Link with -lprof1_r for -g/-pg.
24022 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24024 * loop.c (check_dbra_loop): Fix change of Jan 19.
24026 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
24028 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
24029 (STARTFILE_SPEC): Define, override the svr4.h version.
24030 (ENDFILE_SPEC): Likewise.
24032 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
24034 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24035 * fixinc/fixincl.x: Regenerated.
24036 * fixinc/inclhack.sh: Regenerated.
24038 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24040 * sh.c (barrier_align): Don't return early for normal branch/barrier
24041 when optimizing for SH2.
24043 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
24045 * i386/udk.h (LINK_SPEC): Correct linker search path for
24048 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24050 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24051 (braf_label_ref_operand): Delete.
24052 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24053 * sh.md (casesi_jump_2): Operand1 is now the inside of a
24054 label_ref, and has no predicate.
24055 The patten has a predicate to guard against invalid substitutions.
24056 (dummy_jump): Delete.
24057 (casesi): Update use of casesi_jump_2.
24059 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24061 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24062 *fixinc/fixincl.x: regenerate
24063 *fixinc/inclhack.sh: regenerate
24065 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
24067 * dwarf2out.c (add_incomplete_type): New fn.
24068 (gen_struct_or_union_type_die): Call it.
24069 (retry_incomplete_types): New fn.
24070 (dwarf2out_finish): Call it.
24072 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
24074 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24075 current block starts with a CODE_LABEL and ends with a CALL and
24076 we can not find all the argument setup instructions for the CALL.
24078 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
24080 Revert this change:
24081 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24082 something is a candidate for optimize_bit_field_compare.
24084 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24086 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24088 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
24090 * alpha.c (override_options): Thinko in last patch.
24092 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24093 (LIB_SPEC): Recognize -pthread.
24095 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
24097 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24098 definition in config/arm/coff.h
24099 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24101 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24103 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24104 fixes that need "file=xxx\n" prepended before invocation
24105 (start_fixer - new): starting the fixer process is complex enough
24106 to warrent its own routine. It prepends the "file=xxx\n" stuff.
24107 (process): uses the new routine; omit usage of putenv()
24108 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24109 * fixinc/fixincl.x: regenerate
24111 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
24113 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24114 and version #s (1.1 -> 2.96) as needed.
24115 * README.g77: Kill way out of date file in the toplevel directory.
24117 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
24119 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24120 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
24121 * configure: Rebuilt.
24122 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24123 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24124 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24125 (SWITCH_TAKES_ARG): Likewise.
24126 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24127 * config/t-freebsd: Moved from config/i386/ so it can used for all
24130 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
24132 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24134 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
24136 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24137 * configure: Rebuilt.
24139 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
24141 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24142 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24143 * rs6000/rs6000.c (rs6000_file_start): Use putc.
24144 (rs6000_output_load_toc_table): Same.
24145 (output_prolog, output_mi_thunk): Same.
24146 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24147 (ASM_GLOBALIZE_LABEL): Use putc.
24149 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
24151 * alpha.md (reload_*_help): New patterns and splitters.
24152 (reload_*): Use them.
24153 (mov[qh]i): Likewise.
24155 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
24157 * cccp.c (handle_directive): Handle backslash-newlines in quoted
24160 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
24162 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24164 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
24166 * flow.c (mark_regs_live_at_end, insn_dead_p,
24167 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24168 and HARD_FRAME_POINTER_REGNUM special treatment if reload
24169 hasn't run or the frame pointer is needed.
24170 * haifa-sched.c (attach_deaths): Likewise.
24171 * sched.c (attach_deaths): Likewise.
24173 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
24175 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24176 calculate_can_reach_end returns nonzero.
24178 * configure.in (native gas tests): Search for an assembler in the
24179 same manner that the installed compiler will.
24180 * configure: Rebuilt.
24181 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24183 * alias.c (find_base_term): Improve handling of addresses
24184 constructed from binary operations.
24186 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
24188 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24190 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
24192 * function.h (cleanup_label, frame_offset): Declare.
24193 (tail_recursion_label, tail_recursion_reentry): Likewise.
24194 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24195 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24196 (tail_recursion_label, tail_recursion_reentry): Likewise.
24197 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24199 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
24201 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24203 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24204 (MAX_OFILE_ALIGNMENT): Define.
24206 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
24208 * fixincl.c: Replace local include scheme with #includes of
24209 gansidecl.h and system.h.
24210 * procopen.c: Likewise.
24211 * server.c: Likewise.
24213 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
24215 * i386/t-dgux (EXTRA_PARTS): Add crti.o
24216 (crti.o): Add build rule and dependencies.
24217 * fixinc/fixinc.dgux: Use modified _int_varargs.h
24219 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24221 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24222 (LIB_LINUX_SPEC): Likewise.
24223 (LIB_LINUX_SPEC): Add support for -pthread
24224 (CPP_OS_LINUX_SPEC): Likewise.
24225 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24228 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
24230 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24232 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24233 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24234 for IEEE math and CC_FCOMI.
24235 (put_jump_code): No IEEE if CC_FCOMI is set.
24237 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24239 * fold-const.c (fold_truthop): Make the field reference unsigned
24240 when converting a single bit compare.
24242 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24244 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24246 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
24248 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24249 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24252 * reload.c (push_reload): Do not call remove_address_replacements
24253 when presented with identical optional reloads.
24255 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
24257 * alpha.h (MASK_FIX, TARGET_FIX): New.
24258 (MASK_*): Reorganize constants.
24259 (CPP_AM_FIX_SPEC): New.
24260 (TARGET_SWITCHES): Add FIX.
24261 (EXTRA_SPECS): Likewise.
24262 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24263 (SECONDARY_MEMORY_NEEDED): Likewise.
24264 (REGISTER_MOVE_COST): Likewise.
24265 * alpha.c (override_options): Add FIX support. Always use
24266 ALPHA_TP_PROG for ev6.
24267 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24268 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24269 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24271 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
24273 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24274 something is a candidate for optimize_bit_field_compare.
24276 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
24278 * gcc.texi (Passes): Document branch-shortening.
24279 * invoke.texi (Debugging Options): Document the fact that `-dp'
24280 outputs length information for instructions.
24282 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
24284 * flow.c: Revert previous delta.
24286 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
24288 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24289 FRAME_POINTER_REGNUM.
24290 (mark_set_1): Ditto.
24291 (mark_used_regs): Ditto.
24293 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
24295 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24296 (GOT_PCREL): New macro. Define to 1 if not already defined.
24297 * arm/elf.h (GOT_PCREL): Define to 0.
24298 * arm.c (arm_finalize_pic): Take into account the setting of
24301 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
24303 * output.h (STRIP_NAME_ENCODING): Provide default definition.
24304 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24306 * flow.c (mark_set_1): Do not record BLKmode stores as dead
24307 store elimination candidates.
24309 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
24311 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24314 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
24316 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24317 Add use of x-aix41-gld.
24319 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
24321 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24322 (ASM_OUTPUT_DESTRUCTOR): Define.
24324 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
24326 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24327 last CODE_LABEL in a loop if we have previously passed a jump
24328 to the top of the loop.
24330 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
24332 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24333 applying Philip's patch.
24335 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
24337 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24340 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
24342 * loop.c (strength_reduce): Grow reg_single_usage as needed.
24344 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
24346 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24347 Also remove a useless comment.
24349 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24351 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
24353 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
24355 * collect2.c (main): Only generate import or export file and add
24356 to link arguments if non-empty. Use xmalloc not alloca.
24357 (write_{export,import}_file): Delete.
24358 (write_aix_file): New function.
24359 (locatelib): Use xmalloc not malloc.
24360 (GCC_OK_SYMBOL): Do not check type if aix64.
24362 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
24364 Based on patch by Scott Bambrough and Pat Beirne:
24365 * config/arm/arm.c (making_const_table): New variable.
24366 * config/arm/arm.h (making_const_table): Declare.
24367 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24369 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24370 Keep track of when we are building the constant table.
24372 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
24374 * config/arm/arm.c (arm_override_options): Fix erroneous warning
24377 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
24379 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24382 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
24384 * tm.texi (FUNCTION_ARG): Correct description of a stack element
24387 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
24389 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24391 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24393 * rs6000.c (output_mi_thunk): Enable full support again.
24395 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24397 * sh.h (BRANCH_COST): Define.
24399 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
24401 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24403 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
24405 * function.c (assign_stack_local): Align stack slot propertly.
24406 (assign_outer_stack_local): Likewise.
24408 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
24410 * expr.h (lang_expand_constant): Declare.
24411 * toplev.c (lang_expand_constant): Define it.
24412 * varasm.c (output_constant): Use it.
24414 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24416 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24417 Change function definitions to K&R style.
24419 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24421 * fixinc/fixincl.c: We must not ignore SIGCLD now.
24423 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
24425 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24426 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24427 (several places): omit static initialization
24428 (process): use single fd, since only the read fd is used
24429 * fixinc/gnu-regex.c: define 'const' away, if not supported
24430 * fixinc/procopen.c(several places): omit static initialization
24431 * fixinc/server.c: define 'volitile' away, if not supported
24433 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24435 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24436 asm_fprintf and %L to generate the label name.
24437 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24438 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24440 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
24442 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24443 insn for a conditional jump can not be found.
24445 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
24447 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24448 on variables in specific sections other than .sbss and .sdata.
24450 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
24452 * stmt.c (expand_return): Call start_cleanup_deferral and
24453 end_cleanup_deferral around conditional code.
24455 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24457 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24458 filename lists. Utilizes new "krstr" AutoGen function.
24459 * fixinc/fixincl.x: Rebuilt.
24461 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
24463 * i386.c (output_float_compare): Avoid GNU-C extensions.
24465 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
24467 * version.c: Bump to distinguish mainline tree from the
24470 See ChangeLog.1 for earlier changes.