1 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
4 (struct sh_args): Add new field force_mem.
5 (INIT_CUMULATIVE_ARGS): Initialize it.
6 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
8 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
10 (expand_call): Do not reverse args in "equal from" field.
11 (emit_library_call_value_1): Emit_libcall_block for const and pure
14 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
16 * reload1.c (reload_combine): Don't enable optimization for fixed
17 registers when encountering a BARRIER.
19 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
21 * builtins.c (expand_builtin_memcmp): Do expansion even with
22 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
24 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
25 stack is propertly aligned; add sanity checking for aligned
27 (expand_library_call_value_1): Add sanity checking for aligned
30 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
32 * calls.c (emit_library_call_value_1): Change 3rd arg to
33 locate_and_pad_parm to disregard the setting of partial.
35 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
37 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
39 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
40 CALL_INSN from the normal case.
42 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
44 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
46 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
48 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
50 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
51 TARGET_ADD_ESP_8): New macros.
52 * i386.md: Add peep2s to convert esp adjustments to push and pop
54 (pushsi_prologue, popsi_epilogue): New patterns.
56 2000-04-12 Jakub Jelinek <jakub@redhat.com>
58 * real.c (toe64): Remove stale #endif from the last change.
60 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
62 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
63 * real.c (toe64): Revert previous change.
65 2000-04-12 Jakub Jelinek <jakub@redhat.com>
67 * objc/objc-act.c: Include ggc.h.
68 (objc_tree_index, objc_global_trees): Convert most of the
69 static tree variables into a static array with previous names
71 (objc_ellipsis_node): New variable.
72 (lang_init): Call objc_act_parse_init and c_parse_init.
73 Create objc_ellipsis_node.
74 (build_selector_translation_table): Use objc_ellipsis_node instead
76 (hack_method_prototype): Likewise.
77 (get_arg_type_list): Likewise.
78 (start_method_def): Likewise.
79 (continue_method_def): Likewise.
80 (gen_method_decl): Likewise.
81 (ggc_mark_imp_list): New function.
82 (ggc_mark_hash_table): New function.
83 (objc_act_parse_init): New function.
84 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
85 * c-parse.in (c_parse_init): For objc add roots of objc specific
87 * objc/objc-parse.y: Rebuilt.
88 * objc/objc-parse.c: Rebuilt.
89 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
91 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
93 * cse.c (delete_trivially_dead_insns): Also delete insns
94 that copy a register to itself where the destination is
97 2000-04-11 Richard Henderson <rth@cygnus.com>
99 * flow.c (struct propagate_block_info): Add new_dead, new_live.
100 (propagate_block): Initialize them. Use them in parallel instead
101 of one tmp variable, ie revert much of the 0408 and 0407 functional
102 changes, but keep the structural changes.
103 (mark_set_regs): Take new_dead from propagate_block_info instead.
104 (mark_set_1, mark_set_reg): Likewise.
105 (mark_used_regs): Likewise with new_live.
106 (mark_used_reg): Likewise. Revert 0408 change.
108 2000-04-11 Nick Clifton <nickc@cygnus.com>
110 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
112 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
114 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
116 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
117 const section to output a CONSTRUCTOR based on the same conditions
120 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
122 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
123 * pa/pa-protos.h (output_call): Add additional argument indicating
124 if the call is a sibling/tail call.
125 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
126 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
127 (function_arg, function_arg_partial_nregs): Likewise
128 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
129 (emit_move_sequence): Zero extend certain constants as needed
131 (compute_zdepdi_operands, output_64bit_and): New functions.
132 (output_64bit_ior, function_arg): Likewise.
133 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
134 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
135 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
136 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
137 (output_bvb): Likewise.
138 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
139 (output_call): New argument 'sibcall'. Generate sibcall sequences
141 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
142 (ouput_arg_descriptor): Do not emit argument descriptors for
144 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
146 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
147 (FUNCTION_OK_FOR_SIBALL): Define.
148 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
149 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
150 (CPP_SPEC): Use new spec infrastructure.
151 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
152 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
153 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
154 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
155 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
156 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
157 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
158 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
159 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
160 (FUNCTION_ARG); Call out to C code.
161 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
162 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
163 (MIN_UNITS_PER_WORD): Likewise.
164 * pa/pa.md (cmpdi): New expander.
165 (scc patterns, movstrsi): Not available for TARGET_64BIT.
166 (64bit conditional arithmetic): New patterns.
167 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
168 (movsicc): Not available if modes on all the operands to not match.
169 (movdicc): New expander and associated patterns.
170 (64bit branches): New patterns.
171 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
172 (pre_ldd, post_std): New patterns.
173 (64bit addil, load low part): New patterns.
174 (special movsf constant): Not available for TARGET_64BIT.
175 (movsf, movdf expanders): Force constants into memory.
176 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
177 (64bit movdf/movdi patterns): New patterns.
178 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
180 (extendqidi2, extendhidi2, extendsidi2): Similarly.
181 (adddi3 expander): Allow "arith_operand" for second input.
182 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
183 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
184 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
185 (muldi3): New expander for TARGET_64BIT.
186 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
188 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
189 patterns for TARGET_64BIT.
190 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
191 patterns for TARGET_64BIT.
192 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
193 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
194 (sibcall_epilogue): New expander.
195 (casesi): Tweak for TARGET_64BIT.
196 (call expanders): Set & use the outgoing argument pointer. Use the
197 64bit call patterns as needed. Add additional arg to output_call.
198 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
199 (sibcall, sibcall_internal_symref): New expanders.
200 (sibcall_value, sibcall_value_internal_symref
201 (interspace_jump): Turn into an expander + matching patterns.
202 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
203 * pa/pa64-regs.h: Eliminate trigraph sequences.
204 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
206 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
208 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
209 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
210 cpp_token with cpp_ttype everywhere.
211 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
212 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
213 CPP_BUF_COL. Line and column numbers are unsigned int, not
215 * cpplex.c (cpp_buf_line_and_col): Delete.
216 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
217 'long lineno' to 'unsigned int lineno'.
218 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
220 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
222 * extend.texi: ISO C99 is not a draft anymore.
223 * invoke.texi: ISO C++ is not a draft anymore.
224 * cpp.texi: __cplusplus is required by the ISO standard.
226 * extend.texi (-fthis-is-variable): Undocument.
227 * flags.h (warn_template_debugging): Remove declaration.
228 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
229 -Wenum-clash, -Wtemplate-debugging): Undocument.
231 2000-04-10 Nick Clifton <nickc@cygnus.com>
233 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
235 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
237 (ARM_SIGN_EXTEND): Use HOST_UINT.
238 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
239 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
240 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
241 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
243 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
244 (arm_gen_constant): Use HOST_UINT.
245 (arm_canonicalize_constant): Use HOST_UINT.
246 (arm_reload_in_hi): Use HOST_UINT.
247 (arm_reload_out_hi): Use HOST_UINT.
248 (output_multi_immediate): Use HOST_UINT.
249 (int_log2): Use HOST_UINT.
250 (arm_poke_function_name): Use HOST_UINT.
251 (arm_output_epilogue): Use arm_volatile_func().
252 (output_thumb_prologue): Use arm_strip_name_encoding().
254 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
256 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
257 of sequence point problems.
259 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
261 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
263 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
265 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
267 * sbitmap.h: Whitespace changes and use upper-case macro args.
268 (struct simple_bitmap_def): All sizes now unsigned.
269 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
270 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
271 (sbitmap_vector_alloc): Parms and local vars now unsigned.
272 (sbitmap_zero): Cast bzero arg to PTR.
273 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
274 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
275 loop to make structure clearer.
276 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
277 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
278 (sbitmap_a_and_b_or_c): Likewise.
279 (sbitmap_intersection_of_succs): Minor cleanups.
280 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
281 (sbitmap_union_of_preds): Likewise.
282 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
283 (debug_sbitmap): New function.
285 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
286 * c-typeck.c (convert_for_assignment): Likewise.
288 * expmed.c (init_expmed): Don't free objects we make.
289 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
291 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
292 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
294 * gcse.c (expr_hash_table_size): Now unsigned.
295 (compute_ae_gen): Local variable `i' now unsigned.
296 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
297 (compute_transout, hoist_code): Likewise.
298 (compute_local_properties): Likewise, also hash_table_size.
299 (alloc_expr_hash_table): N_INSNS now unsigned.
300 (delete_null_pointer_checks): Mark arg F as unused.
302 * regrename.c: Minor cleanups, including chang some variables
305 2000-04-10 Neil Booth <NeilB@earthling.net>
307 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
309 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
311 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
313 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
314 __classof__, and __headof__ from the list of gnu keywords.
315 (-ansi): Remove -foperator-names from list of implied options.
316 Do not call it ANSI C++.
317 (-foperator-names): Document as -fno-operator-names.
319 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
321 * cpphash.c (timestamp): Delete.
322 (del_HASHNODE): If type is T_MCONST, free value.cpval.
323 (special_symbol): Remove unnecessary braces. Remove
324 T_VERSION. Treat T_STDC like T_CONST unless
325 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
326 when one is encountered, then convert them into T_MCONST
328 * cppinit.c (builtin_array): version_string is T_MCONST.
329 __STDC__ has a "1" in its cpval. Don't have a terminator
330 entry. Clean up which entries are dumped.
331 (initialize_builtins): Only __STDC__ gets the special
332 -traditional treatment. Count the length of builtin_array.
333 Render version_string here.
334 * cpphash.h: Remove T_VERSION. Add T_MCONST.
335 * cpplib.h (struct cpp_reader): Remove timebuf.
337 2000-04-09 Richard Henderson <rth@cygnus.com>
339 * genrecog.c (pred): Update comparison_operator for the unordered
342 * config/i386/i386.c (no_comparison_operator): Disallow unordered
344 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
345 (uno_comparison_operator): New.
346 (put_condition_code): Handle UNORDERED/ORDERED.
347 (unsigned_comparison): Likewise.
348 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
349 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
350 (ix86_expand_fp_compare): Use them. Take scratch as argument,
351 update all callers. Handle all 8 unordered operators.
352 (ix86_expand_setcc): Lose the unordered argument, update all callers.
353 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
354 * config/i386/i386.h (PREDICATE_CODES): Update.
355 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
356 (ix86_expand_branch, ix86_expand_setcc): Update.
357 * config/i386/i386.md (sunordered, sordered): New.
358 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
359 (bunordered, bordered): New.
360 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
361 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
362 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
364 2000-04-09 Philip Blundell <philb@gnu.org>
366 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
368 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
370 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
371 fix_truncxfhi2): New patterns.
372 * i386.c (output_fix_trunc): Handle converting to HImode.
374 2000-04-08 Alex Samuel <samuel@codesourcery.com>
376 * ssa.c (convert_to_ssa): Eliminate dead code when calling
378 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
379 (for_each_successor_phi): Change parameter to basic_block.
380 (coalesce_regs_in_successor_phi_nodes): Likewise.
381 (coalesce_regs_in_copies): Likewise.
382 (compute_coalesced_reg_partition): Use basic_block instead of index.
383 * rtl.h (convert_to_ssa): Delete.
384 (convert_from_ssa): Likewise.
385 (successor_phi_fn): Likewise.
386 (for_each_successor_phi): Likewise.
387 (in_ssa_form): Likewise.
388 * basic-block.h (convert_to_ssa): Moved from rtl.h.
389 (convert_from_ssa): Likewise.
390 (successor_phi_fn): Likewise.
391 (in_ssa_form): Likewise.
392 (for_each_successor_phi): Likewise. Change parameter to basic_block.
393 * flow.c (calculate_global_regs_live): Pass a basic_block to
394 for_each_successor_phi.
396 2000-04-08 Richard Henderson <rth@cygnus.com>
398 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
399 was modified in the current insn.
401 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
403 * arm/thumb.md: Delete.
404 * arm/thumb-protos.h: Delete.
406 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
408 Merge changes from merged-arm-thumb-backend-branch onto trunk.
410 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
412 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
415 * arm.md (nop): Use the standard RTL expression. Don't code as a
417 (*arm_nop, *thumb_nop): Delete.
419 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
420 constants. Use casts instead.
421 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
422 output_multi_immediate, arm_poke_function_name): Likewise.
423 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
424 MASK_RETURN_ADDDR): Likewise.
426 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
428 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
431 * arm.md (eh_epilogue): New function.
432 * arm.h (struct machine_function): Move to here ...
433 * arm.c: ... from here.
434 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
435 (thumb_exit): Extra parameter eh_ofs. All callers changed.
436 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
438 2000-03-30 Nick Clifton <nickc@cygnus.com>
440 * config/arm/semi.h (ASM_SPEC): Restore definition.
441 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
443 * config/arm/elf.h (ASM_SPEC): Restore definition.
444 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
446 * config/arm/arm.h (ASM_SPEC): Remove definition.
447 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
449 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
451 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
453 2000-03-24 Nick Clifton <nickc@cygnus.com>
455 Various formating tidyups, elimination of compile time
456 warnings and synchronisation with internal sources:
458 * config/arm/arm-protos.h (assemble_align): Add prototype.
459 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
460 (gen_comapre_reg): Rename to arm_gen_compare_reg.
461 (arm_return_addr_rtx): Rename to arm_return_addr.
463 * config/arm/arm.c: Include except.h.
464 Define shorter typenames for strict minipool_node and struct
466 (arm_return_in_memory): For WinCE return all structures <= 32 bits
468 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
469 (gen_comapre_reg): Rename to arm_gen_compare_reg.
471 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
473 (ASM_SPEC): Define if not already defined.
474 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
476 * config/arm/arm.md: Rename references to gen_rotated_half_load to
477 arm_gen_rotated_half_load, and references to gen_comapre_reg to
479 (indirect_jump): Only accept register operands.
480 (load_indirect_jump): Keep this pattern since combine can generate
483 * config/arm/coff.h: Include aout.h.
484 (MULTILIB_DEFAULTS): Only define if not already defined.
486 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
487 into arm.h (so that COFF ports can support thumb based aliases).
488 (ASM_SPEC): Move definition into arm.h
490 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
492 (ASM_SPEC): Move definition to arm.h
494 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
496 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
497 for entries in the .bss section
499 2000-03-23 Nick Clifton <nickc@cygnus.com>
501 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
502 to thumb_far_jump_used_p.
504 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
505 single integer parameter.
507 * config/arm/arm.c (struct machine_function): Add two new
508 fields, 'far_jump_used' and 'arg_pointer_live'.
509 (thumb_far_jump_used_p): Once the decision has been made that
510 far jumps might be used, always return true.
511 If being called from the initial elimination offset macro then
512 do not bother to perform the test if the arg pointer is not
514 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
515 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
517 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
519 * arm.c (output_return_instruction): Handle more cases where we can
520 return from a function with an ldr instruction.
521 (arm_output_epilogue): Likewise.
523 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
524 if we need to push a large stack frame and there are no callee-saved
527 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
528 in ARM code if the frame pointer has been eliminated.
530 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
531 unspec_volatile arguments to avoid duplicates.
532 (consttable_1, consttable_2): Fixes for big-endian mode.
534 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
537 Re-write constant pool code.
538 * arm.c (minipool_node, minipool_fix): New types.
539 (minifix): Delete type.
540 (arm_add_minipool_constant): Delete.
541 (arm_compute_minipool_offsets, arm_find_barrier,
542 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
543 (get_jump_table_size): Now returns HOST_WIDE_INT.
544 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
546 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
547 (assign_minipool_offsets, arm_print_value): Likewise.
548 (dump_minipool): Rewrite.
549 (arm_barrier_cost): New function.
550 (create_fix_barrier): New function.
551 (push_minipool_barrier): New function.
552 (push_minipool_fix): Record additional information about the fixup
554 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
555 check the mode of what needs fixing.
556 (arm_reorg): Rewrite.
558 2000-03-08 Nick Clifton <nickc@cygnus.com>
560 * config/arm/arm.md (indirect_jump): Force constant addresses into
563 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
565 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
567 2000-02-24 Nick Clifton <nickc@cygnus.com>
569 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
570 adjust is word aligned.
571 (thumb_expand_epilogue): Make sure that stack adjust is word
574 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
576 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
578 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
579 pointer relative addresses.
581 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
583 * arm.c (find_barrier): Find the last barrier within the allowed
586 2000-02-09 Nick Clifton <nickc@cygnus.com>
588 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
590 2000-02-09 Nick Clifton <nickc@cygnus.com>
592 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
593 ARM_FUNCTION_PROFILER.
595 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
596 ARM_FUNCTION_PROFILER.
598 * config/arm/linux-oldld.h: Imported from mainline sources.
600 2000-02-07 Nick Clifton <nickc@cygnus.com>
602 * config/arm/lib1funcs.asm: Merge in thumb functions from
605 * config/arm/lib1thumb.asm: Delete.
607 2000-02-04 Nick Clifton <nickc@cygnus.com>
609 * config/arm/arm.c: Sychronised with current Red hat local
611 * config/arm/arm.h: Ditto.
612 * config/arm/arm-protos.h: Ditto.
614 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
616 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
618 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
621 2000-02-02 Nick Clifton <nickc@cygnus.com>
623 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
625 * config/arm/arm.md (epilogue): Fix rtl checking abort because
626 (return) was emited using an emit_insn() call.
628 2000-01-31 Nick Clifton <nickc@cygnus.com>
630 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
632 (thumb_exit): Move frame pointer back into hard frame pointer
633 register if backtracing is being used.
635 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
637 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
640 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
642 * config/arm/arm.md (neg_pool_offset): Provide default for new
644 (arm_movsi_insn): Add neg_pool_offset attribute.
645 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
646 rtx for the insn that starts the scan and an unsigned long for its
647 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
648 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
649 instructions in *PINSERTED.
650 (struct minipool_fixup): Add MIN_ADDRESS elt.
651 (sort_fixups): Compute it.
652 (arm_reorg): Changes to support inserting pools before the insn to be
655 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
657 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
658 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
659 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
661 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
663 * config/arm/semi.h (TARGET_VERSION): Do not define if already
665 (TARGET_DEFAULT): Do not define if already defined.
667 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
669 * config/arm/arm.md (anddi3): Allow disjoint source operands.
670 (iordi3): Allow disjoint source operands.
671 (xordi3): Allow disjoint source operands.
672 (negdi2): Permit construction for ARM and Thumb.
673 (arm_negdi2): Renamed version of old negdi2 pattern.
674 (thumb_negdi2): New pattern: Only permit non-overlapping
675 source and destination.
677 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
679 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
680 scratch low register so that it will not be deleted.
682 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
684 * config/arm/pe.h (ARM_PE): Define.
686 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
687 interfacearm attribute if this is a PE toolchain.
688 (output_return_instruction): Do not emit anything if the function
689 has the naked attribute set.
690 (is_called_in_ARM_mode): If the function has the interfacearm
691 attribute then return true.
692 (thumb_expand_prologue): Do not generate a prologue for naked
694 (thumb_expand_epilogue): Do not generate an epilogie for a naked
696 (output_thumb_prologue): Do not bother if the function is naked.
697 Strip PE encoding from function name before emitting.
699 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
701 * arm.md (pic_load_addr): Fix constraints.
703 * arm.md (casesi_insn): Fix mis-applied patch.
705 * arm.md ("core" function unit): Add rules for single- and
707 (All TARGET_THUMB patterns): Add "type" attribute information
709 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
710 the following insn is a CALL.
712 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
714 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
715 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
716 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
718 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
720 * config/arm/linux-gas.h: oops - this file was missed out when the
721 branch was created...
723 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
725 * thumb.c: Deleted. Move contents to ...
727 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
729 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
732 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
733 declare a prototype for asm_output_align();
735 * arm.c (thumb_condition_code): Delete.
736 (arm_print_operand): Always use arm_condition_code array.
738 * arm.c (thumb_return_addr_rtx): Delete.
739 (arm_save_machine_status, arm_restore_machine_status): Delete.
740 (arm_init_machine_status, arm_mark_machine_status): New functions.
741 (arm_init_expanders): Update accordingly.
742 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
743 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
744 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
746 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
748 * configure.in : Fix arm-*-aout target to use new t-arm-aout
750 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
753 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
755 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
756 stack backtrace structure.
758 * config/arm/arm-protos.h: Add prototypes for functions defined in
761 * config/arm/arm.c (arm_override_options): Fix selection of
762 attributes of default processor.
764 * config/arm/coff.h: Delete needless #include.
766 * config/arm/pe.c: Delete unused code.
768 * config/arm/pe.h (CPP_DEFINES): Delete
769 (SUBTARGET_CPP_SPEC): Define.
770 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
772 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
774 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
776 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
778 (CAN_DEBUG_WITHOUT_FP): Define.
779 (FIXED_REGISTERS): Make r11 call-saved.
780 (CALL_USED_REGISTERS): Likewise.
781 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
782 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
783 frame-pointer is required.
784 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
785 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
786 if the target normally needs a stack frame in non-leaf functions.
787 (use_return_insn): Correct logic for determining when a return
788 instruction can be used.
789 (output_return_instruction): Handle the frame-pointer register as
790 a normal register when not TARGET_APCS_FRAME.
791 (arm_output_prologue): Likewise.
792 (arm_output_epilogue): Likewise.
793 (output_func_epilogue): Likewise.
794 (arm_expand_prologue): Likewise.
795 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
797 * arm.c (use_return_insn): No need to check floating point regs if
799 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
800 the code of value stored in the minipool array.
801 (arm_add_minipool_constant): Likewise.
803 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
805 * basic-block.h (conflict_graph_enum_fn): K&R fix.
807 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
809 * tree.c (tree_expr_nonnegative_p): New function.
811 * tree.h (tree_expr_nonnegative_p): Declare.
813 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
814 elide some sign_compare warnings.
815 (build_conditional_expr): Likewise.
817 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
819 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
821 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
822 * i386.c (print_operand): Use the proper suffix for a 387 HImode
823 operand. Abort if a 387 operand has an unsupported size.
825 2000-04-08 Neil Booth <NeilB@earthling.net>
827 * cppexp.c (parse_charconst): Null does not end character
829 * cppinit.c (ISTABLE): Null character handled as whitespace.
830 * cpplex.c (null_warning): new function.
831 (skip_string): Emit warning if nulls encountered.
832 (_cpp_skip_hspace): Emit warning if nulls encountered.
833 (_cpp_lex_token): Emit warning if nulls encountered. Drop
837 2000-04-07 Richard Henderson <rth@cygnus.com>
839 * flow.c (loop_depth): Remove.
840 (reg_next_use, cc0_live, mem_set_list): Replace with ...
841 (struct propagate_block_info): New.
842 (life_analysis): Don't allocate reg_next_use.
843 (propagate_block_delete_insn): Break out of propagate_block.
844 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
845 (propagate_block_delete_libcall): Likewise.
846 (propagate_block): Create a propagate_block_info struct to pass
847 to subroutines. Allocate one not two temporary regsets. Don't
848 clobber memory for const calls. Look for clobbers in
849 CALL_INSN_FUNCTION_USAGE.
850 (mark_set_regs): Recognize COND_EXEC.
851 (mark_set_reg): Break out of mark_set_1.
852 (mark_used_reg): Break out of mark_used_regs.
853 (mark_used_regs): Recognize COND_EXEC.
854 (insn_dead_p): Use propagate_block_info struct.
855 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
856 (find_auto_inc, try_pre_increment_1): Likewise.
857 (print_rtl_with_bb): Dump regs live at end too.
858 (count_reg_sets_1): Pass in loop_depth.
859 (count_reg_sets, count_reg_references): Likewise.
860 (recompute_reg_usage): Provide it.
862 2000-04-07 Richard Henderson <rth@cygnus.com>
864 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
867 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
869 * cpplib.c (do_elif): Skip the rest of the line if we're
870 not going to bother evaluating it.
871 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
872 to avoid pointless calls to the lexer.
874 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
876 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
878 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
880 * calls.c (expand_call): emit_queue if we're trying a sibcall.
882 2000-04-07 Jakub Jelinek <jakub@redhat.com>
884 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
886 2000-04-06 Geoff Keating <geoffk@cygnus.com>
888 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
889 crtend so they can be multilibbed.
890 (STAGESTUFF): Remove s-crt and s-crtS.
892 2000-04-07 Richard Henderson <rth@cygnus.com>
894 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
895 if we discover we need a pseudo and no_new_pseudos is true.
896 * config/alpha/alpha.md (ne:DI insn): New.
897 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
899 2000-04-07 Richard Henderson <rth@cygnus.com>
901 * rtl.def (COND_EXEC): New.
902 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
903 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
905 * genconfig.c (have_cond_arith_flag): Remove.
906 (have_cond_exec_flag): New.
907 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
908 (main): Print HAVE_conditional_execution.
910 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
911 (sched_analyze_insn, print_pattern): Likewise.
912 * reload.c (find_equiv_reg): Likewise.
913 * rtlanal.c (reg_referenced_p): Likewise.
914 (note_stores, dead_or_set_regno_p): Likewise.
915 (reg_overlap_mentioned_p): Rewrite to use a switch.
917 * ggc.h (struct rtx_def): Forward declare.
919 * print-rtl.c (debug_rtx_range): New.
920 * rtl.h (debug_rtx_range): Declare.
922 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
924 * gcse.c (gcse_main): Don't rebuild the CFG here.
925 (delete_null_pointer_checks): Likewise.
926 * ssa.c (convert_to_ssa): Likewise.
927 * toplev.c (rest_of_compilation): Do it here instead. Combine
928 sequential calls to TIMEVAR. Consistently use `insns' instead of
929 `get_insns()'. Always split insns after reload when optimizing.
931 * basic-block.h (merge_blocks_nomove): Declare.
932 (tidy_fallthru_edge): Declare.
933 * flow.c (merge_blocks_nomove): Document as merging into previous
934 blocks. Remove cruft from between blocks; remove all edges out of A.
935 (tidy_fallthru_edge): Export.
937 2000-04-06 Alex Samuel <samuel@codesourcery.com>
939 * ssa.c (compute_conservative_reg_partition): Declare with
941 * toplev.c (clean_dump_file): Remove previously-deleted function
942 inadvertantly merged back in.
943 * conflict.c (conflict_graph_add): Use a single call to
944 htab_find_slot to look up and insert.
946 2000-04-06 Richard Henderson <rth@cygnus.com>
948 * genrecog.c (*): Rename _last_insn to last_insn.
949 (make_insn_sequence): Set the position of the peephole2 C test
950 to be at the last insn.
952 2000-04-06 Richard Henderson <rth@cygnus.com>
954 * flow.c (compute_flow_dominators): Free worklist.
956 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
958 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
960 2000-04-06 Alex Samuel <samuel@codesourcery.com>
962 * rtl.h (INSN_P): New macro.
963 (successor_phi_fn): New typedef.
964 (for_each_successor_phi): New prototype.
965 (in_ssa_form): New variable.
966 (PHI_NODE_P): Likewise.
967 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
968 phi nodes in successors.
969 (mark_used_regs): Add PHI case.
970 (set_phi_alternative_reg): New function.
971 (life_analysis): Assert that dead code elimination is not selected
973 * toplev.c (to_ssa_time): New variable.
974 (from_ssa_time): Likewise.
975 (compile_file): Zero to_ssa_time and from_ssa_time.
976 Print time to convert to and from SSA.
977 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
978 (print_time): Compute percent fraction as integer.
979 * ssa.c (PHI_NODE_P): Moved to rtl.h.
980 (convert_to_ssa): Check if we're already in SSA.
981 Don't eliminate dead code in life_analysis.
982 Rerun flow and life analysis at bottom.
983 (eliminate_phi): Use canonical regnos when adding nodes.
984 (mark_reg_in_phi): New function.
985 (mark_phi_and_copy_regs): Likewise.
986 (convert_from_ssa): Rerun life analysis at top.
987 Use coalesced partition.
988 Check for removing a phi node at the end of the block.
989 (compute_coalesced_reg_partition): New function.
990 (coalesce_regs_in_copies): Likewise.
991 (coalesce_reg_in_phi): Likewise.
992 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
993 (for_each_successor_phi): Likewise.
994 (rename_context): New struct.
995 (rename_block): Use a rename_context with rename_insn_1. When
996 renaming sets of a subreg, emit a copy of the entire reg first.
997 (rename_insn_1): Treat data as a rename_context *. Save current
999 (rename_set_data): Add field set_insn.
1000 * Makefile.in (HASHTAB_H): Move up in file.
1001 (OBSTACK_H): New macro.
1002 (collect2.o): Use OBSTACK_H in dependencies.
1003 (sdbout.o): Likewise.
1004 (emit-rtl.o): Likewise.
1005 (simplify-rtx.o): Likewise.
1006 (fix-header.o): Likewise.
1007 (OBJS): Add conflict.o.
1008 (conflict.o): New rule.
1009 * basic-block.h: Include partition.h.
1010 (conflict_graph): New typedef.
1011 (conflict_graph_enum_fn): Likewise.
1012 (conflict_graph_new): New prototype.
1013 (conflict_graph_delete): Likewise.
1014 (conflict_graph_add): Likewise.
1015 (conflict_graph_conflict_p): Likewise.
1016 (conflict_graph_enum): Likewise.
1017 (conflict_graph_merge_regs): Likewise.
1018 (conflict_graph_print): Likewise.
1019 (conflict_graph_compute): Likewise.
1020 * conflict.c: New file.
1022 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1024 * tlink.c (read_repo_files): Don't look for .rpo info for
1027 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1029 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1031 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1033 * config/sh/lib1funcs.asm (___udivsi3_i4):
1034 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1035 only depends on FMOVD_WORKS.
1037 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1039 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1040 make double constant 8-byte aligned.
1042 2000-04-06 Jakub Jelinek <jakub@redhat.com>
1044 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1045 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1046 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1047 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1048 Accept storing GENERAL_REGS into offsetable memory.
1049 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1050 building a TFmode constant other than 0.0L into GENERAL_REGS.
1052 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
1054 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1056 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
1058 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1059 (macro_cleanup): No need to cast pbuf->macro.
1060 (collect_expansion): Use _cpp_get_define_token. Goto done if
1061 it returns VSPACE. Remove check for trailing space after
1063 (_cpp_create_definition): Don't diddle flags here. Return
1065 (unsafe_chars): Handle c1 being EOF.
1066 (push_macro_expansion): Use unsafe_chars for both accidental-paste
1067 checks. Don't push the buffer till after we're done with
1069 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1070 (PEEKN, FORWARD, GETC, PEEKC): Use them.
1071 (cpp_push_buffer): Don't set new->alimit. Set new->mark
1073 (_cpp_parse_assertion): Don't NUL terminate.
1074 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
1075 hspace before calling _cpp_parse_assertion. Remove all sets
1076 of only_seen_white. Treat '\f' as hspace. Don't do anything
1077 special with '\n' here.
1078 (maybe_macroexpand): Handle T_EMPTY hash entries without
1079 pushing a buffer at all.
1080 (cpp_get_token): Handle clearing only_seen_white here. Handle
1081 incrementing the line number here. Clear
1082 potential_control_macro as well as only_seen_white, if
1084 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1085 (_cpp_get_define_token): New function, basically like
1086 _cpp_get_directive_token was but doesn't eat horizontal space.
1087 Don't do anything with only_seen_white here.
1088 (_cpp_get_directive_token): Just call _cpp_get_define_token
1089 repeatedly till it returns non-hspace.
1091 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1092 (conditional_skip, skip_if_group): Return int.
1093 (DIRECTIVE_TABLE): Change origin of all conditional directives
1095 (TRAD_DIRECT_P): New macro.
1096 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
1097 an error for a bogus directive, unless -lang-asm. Use
1098 TRAD_DIRECT_P. Loop calling handler functions till one returns
1100 (get_macro_name): Don't diddle flags here.
1101 (do_define): Diddle flags here. Use _cpp_get_directive_token.
1102 Create T_EMPTY nodes for #define macro /* nothing */.
1103 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
1104 Use hp->name when calling pass_thru_directive.
1105 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1106 Return the result of conditional_skip and/or skip_if_group.
1107 Don't call _cpp_output_line_command.
1108 (consider_directive_while_skipping): Use _cpp_get_directive_token.
1109 Issue -Wtraditional warnings as appropriate. Don't complain
1110 about unrecognized directives. If we are to stop skipping,
1111 return the number of the directive that ended the skip.
1112 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
1113 expansion and line commands while skipping. Return the result
1114 of consider_directive_while_skipping, if nonzero.
1115 (do_endif): Just set potential_control_macro here.
1116 (validate_else): Use _cpp_get_directive_token.
1117 (do_assert, do_unassert): Don't save pointers into the
1118 token_buffer across calls to the lexer. Use
1119 _cpp_get_directive_token.
1121 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
1122 pointer, not an offset. Replace 'data', which was a generic
1123 pointer, with 'macro', which points to a struct hashnode.
1124 (cpp_reader): Add 'potential_control_macro' pointer.
1125 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1126 (CPP_BUF_GET, CPP_FORWARD): Delete.
1127 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1128 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1129 ACTIVE_MARK_P): Update.
1130 (_cpp_get_define_token): New internal function.
1131 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1133 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
1135 * configure.in: And here.
1136 * configure: Regenerate.
1137 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1138 --enable-libstdcxx-v3 is passed at configure time.
1139 * config.h.in: Regenerate.
1141 2000-04-05 Mark Mitchell <mark@codesourcery.com>
1143 * final.c (final): Use xcalloc to allocate line_note_exists.
1144 * function.c (free_after_compilation): Free the temp_slots.
1145 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1146 (combine_temp_slot): Free temp_slots when they get combined.
1147 (purge_addressof): Fix typo in comment.
1148 * stmt.c (mark_goto_fixup): Mark the fixup itself.
1149 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1151 * ggc.h: Include varray.h.
1152 (ggc_pending_trees): Declare.
1153 (ggc_mark_tree_children): Remove declaration.
1154 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1155 * ggc-common.c (ggc_pending_trees): New variable.
1156 (ggc_mark_roots): Call ggc_mark_trees.
1157 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
1158 the ggc_pending_trees.
1159 * Makefile.in (GGC_H): New variable. Use it throughout in place
1162 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1164 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1167 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1169 * sh.c (sh_insn_length_adjustment): New function.
1170 * sh-protos.h (sh_insn_length_adjustment): Declare.
1171 * sh.h (ADJUST_INSN_LENGTH): Use it.
1173 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
1175 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1176 from the insn where REG_RETVAL is added.
1177 (emit_no_conflict_block): Ditto.
1179 * md.texi (Standard Names): Clarify when movX is needed.
1181 * combine.c (simplify_comparison) [MINUS]: Do not replace
1182 all (op (minus A B) 0) with (op A B).
1184 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
1185 J"orn Rennecke <amylaar@cygnus.co.uk>
1187 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1188 (block_lump_real): Likewise.
1190 2000-04-05 Chris Demetriou <cgd@netbsd.org>
1192 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1193 remaining non-zero debugging masks.
1195 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
1197 * basic-block.h (verify_flow_info): Declare.
1198 (flow_loop_outside_edge_p): Declare.
1199 * flow.c (verify_flow_info): Remove declaration.
1200 (clear_log_links, flow_loop_outside_edge_p): Likewise.
1202 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
1204 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1207 2000-04-05 Jakub Jelinek <jakub@redhat.com>
1209 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1210 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1211 seqdi_zero_trunc+1): Allow splits only if registers are
1214 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
1216 * acconfig.h: Add HAVE_GAS_HIDDEN.
1217 * config.in: Regenerated.
1218 * configure.in: Add test for .hidden pseudo-op in gas.
1219 * configure: Regenerated.
1220 * crtstuff.c: Include auto-host.h.
1221 Emit additional .hidden pseudo-op for __dso_handle if the
1222 assembler knows about it.
1224 2000-04-04 Philippe De Muyter <phdm@macqel.be>
1226 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1227 before freeing argnames.
1228 * cpplib.c (do_ifndef): Cast return value of xstrdup.
1230 2000-04-05 Michael Meissner <meissner@redhat.com>
1232 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1233 Walton <jonboy@gordian.com> to make memory references with update
1234 work wtih -mregnames.
1236 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1238 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1239 (regrename_optimize): Rename variables `def_uses' and
1240 `ext_basic_blocks' to avoid conflicts with similarly named
1241 typedefs in traditional C.
1243 * calls.c (initialize_argument_information): Fix typo in previous
1246 2000-04-04 Richard Henderson <rth@cygnus.com>
1248 * regrename.c (consider_available): Test fixed_regs not
1249 PIC_OFFSET_TABLE_REGNUM.
1251 2000-04-04 Geoff Keating <geoffk@cygnus.com>
1253 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1255 (CRTSTUFF_T_CFLAGS_S): Delete definition.
1256 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1257 (ENDFILE_LINUX_SPEC): Always use crtend.
1258 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1259 (powerpc-*-linux-gnu): Likewise.
1260 * configure: Regenerate.
1262 * config/rs6000/eabi.h: Don't include sysv4.h.
1263 (MULTILIB_DEFAULTS): Don't define.
1264 * config/rs6000/eabiaix.h: Don't include eabi.h.
1265 * config/rs6000/eabile.h: Delete.
1266 * config/rs6000/eabilesim.h: Delete.
1267 * config/rs6000/eabisim.h: Don't include eabi.h.
1268 * config/rs6000/linux.h: Don't include sysv4.h.
1269 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1270 (MULTILIB_DEFAULTS): Don't redefine.
1271 * config/rs6000/rtems.h: Don't include eabi.h.
1272 * config/rs6000/sol2.h: Don't include sysv4le.h.
1273 * config/rs6000/sysv4le.h: Don't include sysv4.h.
1274 * config/rs6000/t-ppc: Delete.
1275 * config/rs6000/t-ppcgas: Correct comment.
1276 * config/rs6000/t-ppcos: Correct comment. Don't build
1277 multilibs for -fPIC, rather use -fPIC -mstrict-align
1279 * config/rs6000/t-ppc: Delete.
1280 * config/rs6000/vxppc.h: Don't include sysv4.h.
1281 * config/rs6000/vxppcle.h: Delete.
1282 * configure.in: Use multiple header files for p2pc ELF targets
1283 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1284 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1285 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1286 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
1287 always available for these platforms.
1289 2000-04-04 Richard Henderson <rth@cygnus.com>
1291 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1293 2000-04-04 Stan Cox <scox@cygnus.com>
1295 * Makefile.in: Add rules for regrename.o
1296 * regrename.c: New file.
1297 * rtl.h (regrename_optimize): Add prototype.
1298 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1299 (compile_file, decode_d_option): Add support for -frename-registers.
1300 (rest_of_compilation): Call regrename_optimize.
1301 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1304 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1306 * Makefile (gccbug): New target.
1307 (doc): Depend on it.
1308 * gcc.texi (Bugs): Link subnodes.
1310 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1311 Document severities, priorities, and classes in bug form.
1313 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
1315 * cpplex.c (trigraph_map, speccase): Combine into single
1317 (NORMAL, NONTRI): New macros.
1318 (_cpp_read_and_prescan): Change to use unified table. Use
1319 is_hspace to test for whitespace.
1321 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1322 definition that doesn't provoke the "empty body in an
1323 if-statement" warning.
1325 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
1327 * builtins.c (expand_builtin_strlen): Force the source to
1328 be a memory address.
1330 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1332 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1334 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1336 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1337 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
1338 (ECF_IS_CONST): Rename to ECF_CONST.
1339 (special_function_p): Make static, change interface.
1340 (flags_from_decl_or_type, try_to_integrate): Break out from ...
1341 (expand_call) ... here; convert number of variables to flags.
1342 (emit_library_call_vlue_1): Likewise.
1343 (setjmp_call_p): New function.
1344 (initialize_argument_information): Accepts flags as argument;
1346 (precompute_arguments): Likewise.
1347 * tree.h (special_function_p): Remove.
1348 (setjmp_call_p): Add prototype.
1350 2000-04-04 Jakub Jelinek <jakub@redhat.com>
1352 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1353 so that addresses are offsetable by up to 16 bytes.
1354 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1355 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1358 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1359 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1360 (movsf): Don't force any constant to memory if target is integer
1362 Move fp_zero_operand check below the const0_rtx check.
1363 (movtf): Likewise. Also allow fp_zero_operand for stores into
1365 (movdf): Likewise. Also allow fp_zero_operand for stores into
1366 memory and into integer hard registers.
1367 (clear_df, clear_dfp, movdf_const_intreg_sp32,
1368 movdf_const_intreg_sp64): Remove.
1369 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1371 (movdf_no_e_insn_v9_sp32): New pattern.
1372 (movdf_insn_v9only): Remove.
1373 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1374 (movdf_insn_sp64): Remove.
1375 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1376 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1377 (following splits): Rewrite conditions. Add two new splits
1378 for storing 0.0 into memory and registers.
1379 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1380 (movtf_insn_sp32): Redo constraints and conditions.
1381 (movtf_insn_vis_sp32): New pattern.
1382 (movtf_no_e_insn_sp32): Redo constraints and conditions.
1383 (movtf_insn_hq_sp64): Likewise.
1384 (movtf_insn_hq_vis_sp64): New pattern.
1385 (movtf_insn_sp64): Redo constraints and conditions.
1386 (movtf_insn_vis_sp64): New pattern.
1387 (movtf_no_e_insn_sp64): Redo constraints and conditions.
1388 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1390 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1391 -mvis or -m64 to take down the number of various reload patterns.
1393 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
1395 * pa/pa-64.h: New file.
1396 * pa/pa64-regs.h: New file.
1397 * pa/pa64-start.h: New file.
1398 * pa/t-pa64: New file.
1399 * pa/xm-pa64hpux.h: New file.
1401 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1403 * sparc.c (output_restore_regs): Prototype.
1404 (sparc_emit_float_lib_cmp): Constification.
1406 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1408 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1411 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1412 (get_value_hash, hash_rtx): Likewise.
1414 * ssa.c (compute_conservative_reg_partition): Prototype.
1416 * tree.c (mark_hash_entry): Prototype.
1418 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
1420 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1421 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1422 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1424 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1425 * objc/lang-specs.h: Likewise.
1427 2000-04-03 Neil Booth <NeilB@earthling.net>
1429 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
1430 and SYNTAX_ERROR2. Replace `' in messages with ''.
1431 (op_to_str): Make re-entrant.
1432 (_cpp_parse_expr): Implement new error macros. Use | rather
1433 than || to logically or 2 boolean integers. Simply expression
1434 checking we have a left operand iff needed.
1436 2000-04-03 Nick Clifton <nickc@cygnus.com>
1438 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1440 2000-04-03 Philip Blundell <philb@gnu.org>
1442 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1444 2000-04-03 Felix Lee <flee@cygnus.com>
1446 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
1447 (run_shell): Use it.
1449 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
1451 * Makefile.in (stmp-int-hdrs): Make include subdir here...
1452 (stmp-fixproto): ...rather than here.
1454 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
1456 * pa.c (print_operand): Compute 'base' only inside the code paths
1459 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
1461 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1464 2000-04-03 Philipp Thomas <pthomas@suse.de>
1466 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1468 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
1470 * Makefile.in (alias.o): Depend on $(TREE_H).
1472 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
1474 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1476 * cpplib.c (_cpp_handle_directive): Improve warnings for
1477 traditional C and indented directives.
1479 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1480 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1481 fixinc/inclhack.def: Indent the # of #include_next one space.
1482 * cp/rtti.c: Un-indent #if and #endif.
1484 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1485 syntax error, but an error has already been printed.
1486 * cpplex.c (_cpp_parse_assertion): Give a more specific error
1487 message when called with nothing remaining on the line.
1488 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1489 OTHER token, not an ASSERTION.
1490 * cpplib.c (do_assert): When we create a 'base' node, clear
1491 its aschain pointer.
1493 2000-04-02 Neil Booth <NeilB@earthling.net>
1495 * cppexp.c: New typedef op_t. struct operation and struct
1496 token updated to use it.
1497 (op_to_str): New function.
1498 (_cpp_parse_expr): Error messages modified to use op_to_str.
1500 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1502 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1503 before checking MUST_PASS_IN_STACK.
1505 2000-04-02 Neil Booth <NeilB@earthling.net>
1507 * cppexp.c: New FINISHED dummy token. Combine operator initial
1508 flags and initial priority into a single constant. New
1509 EQUALITY macro. New operator flag SHORT_CIRCUIT.
1510 (_parse_cpp_expr): Implement new constants. Take left operand
1511 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
1512 parse indicated by reducing FINISHED token. Remove new lines
1513 from cpp_error messages.
1515 2000-04-01 Mark Mitchell <mark@codesourcery.com>
1517 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1520 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
1522 * cpplib.c: Include symcat.h. Add 'origin' field to struct
1523 directive. Add origin values to DIRECTIVE_TABLE. Generate
1524 the strings and function names on the fly. Take the #sccs
1525 entry out of the table if SCCS_DIRECTIVE is not defined.
1526 (_cpp_handle_directive): Decide if the # was at the beginning
1527 of the line here. Issue -pedantic warnings for extended
1528 directives here. Warn about K+R directives with the #
1529 indented, and C89/extended directives with the # not indented,
1531 (do_import, do_include_next, do_warning, do_ident, do_sccs,
1532 do_assert, do_unassert): Don't issue pedantic warning here.
1534 * cpphash.h: Add CPP_WTRADITIONAL macro.
1535 * cpplib.h (struct cpp_options): Rename warn_stringify to
1536 warn_traditional; update comments.
1537 * cppinit.c (handle_option): Set warn_traditional not
1539 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1540 CPP_WTRADITIONAL (pfile).
1541 * cpplex.c (_cpp_lex_token): Don't decide if directives should
1542 be ignored in -traditional mode here.
1544 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1545 to initialize speccase[] and trigraph_map[]. Delete all
1546 references to pfile->input_speccase. Always treat '?' as a
1547 special character. Remove table-initialization code from
1548 _cpp_init_input_buffer.
1550 * cpplib.h (struct cpp_reader): Remove input_speccase field.
1551 * cppinit.c (cpp_cleanup): Don't free input_speccase.
1553 2000-04-01 Richard Henderson <rth@cygnus.com>
1555 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1556 (mostlyclean): Likewise.
1558 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1559 (struct dump_file_info, enum dump_file_index, dump_file): New.
1560 (open_dump_file): Take a dump_file_index not a suffix, and a decl
1561 not a string. Clean out file if we havn't yet done so. Do nothing
1562 if the dump isn't enabled.
1563 (close_dump_file): Do nothing if the dump isn't open. Dump
1564 graph data if requested.
1565 (dump_rtl, clean_dump_file): Remove.
1566 (compile_file): Don't clean the dump files. Only finalize .bp dump
1567 if flag_test_coverage or flag_branch_probabilities. Only finalize
1568 .combine dump if optimizing. Iterate over dump_file to finalize the
1570 (rest_of_compilation): Update for open_dump_file/close_dump_file.
1571 Convert all uses of dump_rtl.
1572 (decode_d_option): Iterate over dump_file to implement 'a' and to
1573 locate pass-specific dumps.
1575 2000-04-01 Neil Booth <NeilB@earthling.net>
1577 * cppexp.c: Redefine priority constants.
1578 (_cpp_parse_expr): Replace left and right priority scheme with
1579 single priority logic. Move LOGICAL to same place as COMPARE.
1580 Remove bogus check for multiple unary +/- operators.
1582 2000-04-01 Neil Booth <NeilB@earthling.net>
1584 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1585 within the switch statement. Binary operations break out of
1586 the switch naturally. '(' tokens handled by forcing
1587 immediate shift. ')' handled by forcing immediate reduce to
1588 the previous '('. New error messages.
1590 2000-03-31 Geoff Keating <geoffk@cygnus.com>
1592 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1593 part', it's already in use. Use %K instead. Add a return at the
1594 end of what is now %K.
1595 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
1597 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
1599 * builtins.c (expand_builtin_apply): Pass proper parameters to
1600 allocate_dynamic_stack_space.
1601 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
1602 update stack_pointer_delta; do not update arg_size_so_far.
1603 (compute_argument_block_size): Use stack_delta instead of
1604 stack_pointer_pending and arg_size_so_far.
1605 (expand_call): Add sanity checking for stack_pointer_delta;
1606 save and restore stack_pointer_delta for SIB, use
1607 stack_pointer_delta for alignment; do not update arg_space_so_far.
1608 (emit_library_call_value): Use stack_pointer_delta for alignment.
1609 (store_one_arg): Do not update arg_space_so_far.
1610 * explow.c (adjust_stack, anti_adjust_stack): Update
1611 stack_pointer_delta.
1612 (allocate_dynamic_stack_space): Add sanity checking for
1613 stack_pointer_delta.
1614 * expr.c (init_expr, clear_pending_stack_adjust): Clear
1615 stack_pointer_delta.
1616 (emit_push_insn): Update stack_pointer_delta.
1617 * function.h (struct expr_status): Add x_stack_pointer_delta;
1618 remove x_arg_space_so_far.
1619 (arg_space_so_far): Remove.
1620 (stack_pointer_delta): New macro.
1622 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
1624 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1625 Reorder struct cpp_options and struct cpp_reader for better
1626 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
1627 takes two args. Change all 'char' flags to 'unsigned char'.
1628 Move show_column flag into struct cpp_options. Don't
1629 prototype cpp_options_init.
1630 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1631 cppinit.c, cpplex.c, cpplib.c:
1632 Replace CPP_OPTIONS (pfile)->whatever with
1633 CPP_OPTION (pfile, whatever), and likewise for
1634 opts = CPP_OPTIONS (pfile); ... opts->whatever;
1636 * cppinit.c (merge_include_chains): Take a cpp_reader *.
1637 Extract CPP_OPTION (pfile, pending) and work with that
1639 (cpp_options_init): Delete.
1640 (cpp_reader_init): Turn on on-by-default options here.
1641 Allocate the pending structure here.
1642 (cl_options, enum opt_code): Define these from the same table,
1643 kept in a large macro. Add -fshow-column and -fno-show-column
1646 * cpperror.c (v_message): If show_column is off, don't print
1649 * cppmain.c: Update for new interface.
1650 * fix-header.c: Likewise.
1652 2000-03-30 Geoff Keating <geoffk@cygnus.com>
1654 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1656 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1657 are passed to any invocation of AR_FOR_TARGET.
1658 (AR_CREATE_FOR_TARGET): New macro.
1659 (AR_EXTRACT_FOR_TARGET): New macro.
1660 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1661 AR_EXTRACT_FOR_TARGET.
1662 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1663 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1664 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
1665 AR_EXTRACT_FOR_TARGET to sub-makes.
1667 2000-03-31 Neil Booth <NeilB@earthling.net>
1669 * cppexp.c: Delete SKIP_OPERAND. Correct priority
1671 (_cpp_parse_expr): Check for multiple unary +/- operators.
1672 Correct priorities of ':' and '?'. Treat ')' as having a
1673 value. Ensure conditional expression is not void.
1675 2000-03-31 Mark Mitchell <mark@codesourcery.com>
1677 * alias.c (canon_rtx): Make it global.
1678 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1680 * cse.c (struct table_elt): Add canon_exp.
1682 (invalidate): Canonicalize expressions only once.
1683 * rtl.h (canon_rtx): Declare.
1685 2000-03-30 Mark Mitchell <mark@codesourcery.com>
1687 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1688 * alias.c (reg_known_value): Add comments.
1689 (init_alias_analysis): Likewise.
1690 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1692 (cse_basic_block): Fix typo in comment.
1693 * emit-rtl.c: Include hashtab.h.
1694 (const_int_htab): New variable.
1695 (const_int_htab_hash): New function.
1696 (const_int_htab_eq): Likewise.
1697 (rtx_htab_mark_1): Likewise.
1698 (rtx_htab_mark): Likewise.
1699 (gen_rtx_CONST_INT): Cache all CONST_INTs.
1700 (unshare_all_rtx): Fix formatting.
1701 (init_emit_once): Initialize const_int_htab.
1702 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1704 * rtl.texi: Document the fact that all CONST_INTs with the same
1707 2000-03-30 Richard Henderson <rth@cygnus.com>
1709 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1711 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
1713 * configure.in: Comment out --enable-c-cpplib stanza.
1714 * configure: Regenerate.
1716 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1718 * expr.c (store_constructor): Properly compute displacement and
1719 alignment when offset is variable.
1721 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1722 cases of alignment in bytes.
1724 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
1726 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1727 since it is used to generate c-parse.y.
1728 * objc-parse.c, objc-parse.y: Regenerated.
1730 * function.c (expand_function_end): Pass alignment argument to
1731 emit_block_move in bits, not bytes.
1733 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1735 * expr.c (move_by_pieces_ninsns): Fix one more missing align
1738 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1740 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1741 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1742 * function.c (assign_parms): Likewise.
1743 * integrate.c (expand_inline_function): Likewise.
1744 * stmt.c (expand_decl): Likewise.
1745 (copy_rtx_and_substitute): Likewise.
1746 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1747 (clear_by_pieces): Fix error in last change.
1748 * emit-rtl.c (init_emit): Set known registers alignment in bits.
1749 * function.h (regno_pointer_align): Now unsigned.
1750 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1752 * config/i386/i386.c (aligned_operand): Likewise.
1753 * config/sparc/sparc.c (mem_min_alignment): Likewise.
1754 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1755 (unaligned_memory_operand): Likewise.
1756 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1757 Also make alignments and sizes unsigned and some whitespace cleanup.
1758 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1760 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1761 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1762 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1763 (expand_builtin_memset): Likewise, but to clear_storage.
1764 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1765 (restore_fixed_argument_area): Likewise.
1766 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1767 (load_register_parameters): Likewise, to emit_group_load.
1768 (expand_call): Likewise, to emit_group_store and emit_block_move.
1769 (emit_library_call_value_1): Likewise, to emit_block_move.
1770 (store_one_arg): Likewise, and to emit_push_insn.
1771 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1772 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1773 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1774 (emit_block_move, emit_group_load, emit_group_store): Likewise.
1775 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1776 (expand_assigment, store_expr, store_constructor_field): Likewise.
1777 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1778 (store_constructor, store_field, get_inner_reference): Likewise.
1779 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1780 (expand_expr, case COMPONENT_REF): Likewise.
1781 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1782 and positions; reindent code.
1783 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1784 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1785 (assign_parms): Likewise to emit_group_store.
1786 * optabs.c (prepare_cmp_insn): Alignment is in bits.
1787 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1788 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1789 (expand_return): Likewise to {extract,store}_bit_field.
1790 * stor-layout.c (get_mode_alignment): Minor cleanup.
1791 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1792 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1794 2000-03-29 Nick Clifton <nickc@cygnus.com>
1796 * config/arm/arm.h: Undo effects of previous delta:
1797 (ASM_SPEC): Do not define.
1798 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1800 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1803 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1805 * cppinit.c (cpp_start_read): Call initialize_dependency_output
1806 only after reading in the primary source file.
1808 2000-03-29 Geoff Keating <geoffk@cygnus.com>
1810 * c-common.c (c_common_nodes_and_builtins): The first parameter to
1811 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1812 or a reference to a va_list.
1813 * builtins.c (stabilize_va_list): Simplify now we don't have to
1814 work around C array address decay.
1815 * c-typeck.c (convert_for_assignment): Handle assignment to
1816 a reference parameter by taking the address of the RHS.
1817 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1818 (va_copy): Likewise.
1819 (__va_copy): Likewise.
1820 * ginclude/varargs.h (va_start): Likewise.
1821 (__va_copy): Likewise.
1823 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
1825 * i386/djgpp.h: Remove extraneous "+".
1827 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1829 * calls.c (expand_call): Fix typo in last change.
1831 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
1833 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1836 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1838 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1839 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1840 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1841 * tree.c (bit_position, byte_position): Likewise.
1842 * tree.h: Declare new functions.
1844 2000-03-29 Nick Clifton <nickc@cygnus.com>
1846 * config/arm/arm.c: Minor formatting changes/
1847 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1849 (ASM_SPEC): Define if not already defined.
1851 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1853 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1856 2000-03-29 Jakub Jelinek <jakub@redhat.com>
1858 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1859 value, don't output it as unsigned.
1861 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
1863 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1865 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1867 * c-common.c (c_common_nodes_and_builtins): Don't special case
1868 cplus_mode when declaring builtin bzero/bcmp, always avoid
1869 prototype arguments.
1871 2000-03-29 Bruce Korb <bkorb@gnu.org>
1873 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1876 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
1878 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1879 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1880 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1881 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1882 (save_fixed_argument_area, restore_fixed_argument_area):
1883 conditionize by #ifdef REG_PARM_STACK_SPACE only.
1884 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1885 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1886 (precompute_register_parameters): Avoid #ifdefs on
1887 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1888 (stire_one_args): Likewise.
1889 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1890 (emit_library_call_value_1): Likewise.
1891 (compute_argument_block_size): Align to STACK_BOUNDARY only for
1892 ACCUMULATE_OUTGOING_ARGS.
1893 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1895 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1896 (use_crosses_set_p): Likewise.
1897 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1898 #define ACCUMULATE_OUTGOING_ARGS 1.
1899 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1901 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1903 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1904 (TARGET_SWITCHES): Add push-args, no-push-args,
1905 accumulate-outgoing-args and no-accumulate-outgoing-args.
1906 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1907 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1908 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1910 (emit_push_insn): Likewise.
1911 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1912 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1913 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1914 (STACK_DYNAMIC_OFFSET): Define correctly for both
1915 ACCUMULATE_OUTGOING_ARGS and normal mode.
1916 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1917 * tm.texi (PUSH_ARGS): Document.
1918 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1920 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
1922 * flags.h (flag_optimize_sibling_calls): Declare.
1923 * calls.c (expand_call): Fail sibcall when
1924 !flag_optimize_sibling_calls
1925 * invoke.texi (flag_optimize_sibling_calls): Document.
1926 * toplev.c (flag_optimize_sibling_calls): New global variable.
1927 (f_options): Add flag_optimize_sibling_calls.
1928 (rest_of_compilation): Conditionize
1929 optimize_sibling_and_tail_recursive_calls by
1930 flag_optimize_sibling_calls.
1931 (main): Set flag_optimize_sibling_calls for -O2.
1932 * stmt.c (expand_return): Conditionize tail recursion by
1933 flag_optimize_sibling_calls.
1935 2000-03-29 Richard Henderson <rth@cygnus.com>
1937 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1938 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1940 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
1942 * except.c (add_eh_table_entry): Mark type_info's as referenced.
1944 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1946 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1948 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1949 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1950 * config/rs6000/aix.h: then modified likewise.
1952 2000-03-28 Richard Henderson <rth@cygnus.com>
1954 * rtl.h: Redistribute enum reg_note documentation.
1955 Kill trailing whitespace.
1956 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1957 Kill trailing whitespace.
1959 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
1961 * cppfiles.c (hash_IHASH): Just return i->hash.
1962 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
1963 htab_find_with_hash.
1964 (cpp_read_file): Likewise.
1965 (find_include_file): Likewise. Properly initialize
1966 ih->nshort. Share ih->name and ih->nshort if possible.
1967 * cpphash.c (_cpp_calc_hash): New function.
1968 (hash_HASHNODE): Just return h->hash.
1969 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
1970 htab_find_with_hash.
1971 * cpphash.h: Prototype _cpp_calc_hash.
1972 * cppinit.c (initialize_builtins): Provide a valid hash
1973 to _cpp_make_hashnode, using _cpp_calc_hash.
1975 * cpphash.c (collect_expansion): # is not a special character
1976 in object-like macros. In -traditional mode, /**/ is not
1977 token paste at the beginning or end of the line.
1978 * cpplib.c (do_include, do_import, do_include_next): If
1979 parse_include fails, return immediately.
1981 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
1983 * config/arm/arm.md (return peepholes): Update to reflect the new
1985 * config/arm/arm.c (arm_volatile_func): Also check
1986 current_function_nothrow.
1987 (output_return_instruction, output_func_prologue): Use it.
1988 (arm_output_epilogue, arm_expand_prologue): Likewise.
1990 2000-03-27 Tom Tromey <tromey@cygnus.com>
1992 * gcc.c (handle_braces): In {x*...} case, break out of loop if
1995 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1997 * expr.c (store_constructor): SIZE now signed.
1998 For EXPR_SIZE, don't evaluate size; just needed if constant.
1999 * fold-const.c (fold): Fix a number of cases when folded tree is
2001 * function.c (flush_addressof): Reenable.
2002 * tree.h (flush_addressof): Likewise.
2003 * toplev.c (independent_decode_option): Look at strings_processed.
2004 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2006 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
2008 * sibcall.c (indentify_call_return_value): Find last call in the chain;
2009 Allow stack adjustment after function call.
2011 * regmove.c (struct csa_memlist): Make mem field rtx *.
2012 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2013 (try_apply_stack_adjustment): Replace whole MEM rtx.
2014 (combine_stack_adjustments_for_block): Update calls
2015 to record_one_stack_ref.
2017 2000-03-28 Neil Booth <NeilB@earthling.net>
2019 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2020 '\\' rather than a null character, so nulls are not special. Fix
2021 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
2022 speed trigraph conversion.
2023 (_cpp_init_input_buffer): Initialize trigraph map.
2025 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2027 * config/i386/i386.c (output_387_binary_op): Correct intel
2028 mode assembly output, and add spaces after commas in AT&T
2029 output. Correct Unixware assembler comment. Document input
2030 constraints. Comment fp operations. Reduce profligate buffer
2031 size. Remove extraneous abort. Localize temp var.
2032 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
2033 (output_fix_trunc): Add spaces after commas in assembly output.
2035 2000-03-27 Richard Henderson <rth@cygnus.com>
2037 * i386-protos.h (ix86_match_ccmode): Declare.
2038 * i386.c (ix86_match_ccmode): New.
2039 (ix86_expand_fp_compare): Update for pattern renames.
2040 (ix86_expand_strlensi_unroll_1): Likewise.
2041 * i386.h (EXTRA_CC_MODES): Add CCZ.
2042 (SELECT_CC_MODE): Use it for EQ/NE zero.
2043 * i386.md (cmpsi_ccz_1): New.
2045 (*testsi_ccz_1): New.
2046 (testqi_ccz_1): New.
2047 (cmpsi_ccno_1): Rename from cmpsi_0.
2048 (testsi_ccno_1): Rename from testsi_1.
2049 (testqi_ccno_1): Rename from testqi_1.
2050 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2051 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2052 (*cmphi_0): Use ix86_match_ccmode.
2053 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2054 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2055 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2056 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2057 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2058 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2059 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2060 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2061 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2062 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2063 (appropriate peepholes): Likewise.
2064 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2065 (*subsi_3, *subhi_3, *subqi_3): Remove.
2066 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2067 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2068 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2069 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2070 (x86_shift_adj_1): Use CCZ.
2071 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2073 2000-03-27 Stan Cox <scox@cygnus.com>
2075 * resource.h (mark_resource_type): New.
2076 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
2077 find_free_register): Use mark_resource_type.
2078 (mark_set_resources): Change include_delayed_effects
2079 to mark_resource_type.
2080 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
2081 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
2082 Use mark_resource_type.
2084 2000-03-27 Richard Henderson <rth@cygnus.com>
2086 * i386.md (call_pop_0, call_value_pop_0): New.
2087 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
2088 (call_value_pop_1): Likewise.
2089 (call_0, call_value_0): New.
2090 (call_1, call_value_1): Remove constraint from unused arg.
2092 2000-03-27 Nick Clifton <nickc@cygnus.com>
2094 * invoke.texi (Spec Files): Document new spec % command created by
2095 Tom Tromey's recent patch.
2097 2000-03-27 Jakub Jelinek <jakub@redhat.com>
2099 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2102 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2104 * expr.c (expand_assignment): Fix typo in last change.
2106 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2108 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2110 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2111 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2112 and DECL_INLINE if FUNCTION_DECL.
2113 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2114 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2115 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2116 (combine_parm_decls): Likewise.
2117 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2118 * print-tree.c (print_node): Likewise.
2119 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2120 DECL_TRANSPARENT_UNION on proper decl types.
2121 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2122 * stor-layout.c (layout_decl): Only check DECL_PACKED and
2123 DECL_BIT_FIELD of FIELD_DECL.
2124 * tree.h (DECL_RESULT_FLD): New macro.
2126 * expr.c (expand_assignment): Add code to handle variable-sized
2129 2000-03-26 Richard Henderson <rth@cygnus.com>
2131 * calls.c (expand_call): Pass parms not original exp to
2132 optimize_tail_recursion. Mind return value instead of looking
2134 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2135 call_expr. Move checks for call_expr and current_function_decl ...
2136 (expand_return): ... here.
2138 2000-03-26 Tom Tromey <tromey@cygnus.com>
2140 * gcc.c (handle_braces): Recognize `%{<S}' construct.
2141 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2143 (process_command): Use them.
2144 (check_live_switch): Likewise.
2145 (give_switch): Skip ignored switches.
2147 2000-03-26 Jan Hubicka <jh@suse.cz>
2149 * jump.c (jump_optimize_1): Fix typo in elide optimizations
2150 for minimal jump pass test.
2152 2000-03-26 Mark Mitchell <mark@codesourcery.com>
2154 * integrate.c (function_cannot_inline_p): Do inline functions that
2157 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2159 * stor-layout.c (layout_type, set_sizetype): early_type_list is
2160 now a list of TREE_LIST entries, not types.
2161 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2163 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2164 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2166 * config/mips/mips.c (function_arg): Likewise; also remove cast
2167 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2168 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2169 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2170 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2171 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2172 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2173 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2174 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2175 num_adjusts now unsigned.
2176 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2177 * config/sparc/sparc.c (struct function_arg_record_value_parms):
2179 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2180 as is BITPOS variable; use host_integerp and int_bit_position.
2181 (function_arg_record_value_2): Likewise.
2182 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2183 Variable REGNO now unsigned.
2184 (function_arg_record_value): NREGS now unsigned.
2186 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
2188 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2190 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2192 * Rework fields used to describe positions of bitfields and
2193 modify sizes to be unsigned and use HOST_WIDE_INT.
2194 * alias.c (reg_known_value_size): Now unsigned.
2195 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2196 (really_start_incremental_init): Use bitsize_zero_node.
2197 (push_init_level, pop_init_level, output_init_element): Likewise.
2198 Use bitsize_unit_node and bitsize_one_node.
2199 (output_pending_init_elements, process_init_element): Likewise.
2200 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2201 (make_extraction): Position and length HOST_WIDE_INT and unsigned
2202 HOST_WIDE_INT, respectively.
2203 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2204 (num_sign_bit_copies): Returns unsigned.
2205 BITWIDTH now unsigned; rework arithmetic.
2206 Remove recursive call from arg to MAX.
2207 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2208 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2210 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2211 (find_split_point, expand_compound_operation, make_extraction): LEN
2212 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2213 (make_field_assignment): Likewise.
2214 (combine_simplify_rtx): Add cast.
2215 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2216 (force_to_mode): WIDTH now unsigned; add cast.
2217 (if_then_else_cond): SIZE now unsigned.
2218 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2219 (extended_count): Now returns unsigned.
2220 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2221 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2222 (simplify_comparison): MODE_WIDTH now unsigned.
2223 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2224 (mark_used_regs_combine): Likewise; rework arithmetic.
2225 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2226 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2227 (record_promoted_value): REGNO now unsigned.
2228 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2229 (get_last_value): REGNO now unsigned.
2230 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2231 (reg_dead_regno, reg_dead_endregno): Now unsigned.
2232 (remove_death): Arg REGNO now unsigned.
2233 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2234 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2236 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2237 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2238 (struct cse_reg_info): REGNO now unsigned.
2239 (cached_regno): Now unsigned.
2240 (REGNO_QTY_VALID_P): Add cast.
2241 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2242 (remove_invalid_regs): Likewise.
2243 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2244 as are variables END and I.
2245 (get_cse_reg_info, insert): Likewise.
2246 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2247 (canon_hash): Likewise.
2248 (insert_regs, lookup_for_remove): REGNO now unsigned.
2249 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2251 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2252 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2253 * emit-rtl.c (subreg_realpart_p): Add cast.
2254 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2255 (operand_subword_force): Arg I is now unsigned.
2256 * except.c (eh_regs): Variable I is now unsigned.
2257 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2258 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2259 length is unsigned HOST_WIDE_INT; likewise for internal variables.
2260 (store_split_bit_field, extract_fixed_bit_field): Likewise.
2261 (extract_split_bit_field, store_bit_field, extract_bit_field):
2263 * expr.c (store_constructor_fields, store_constructor, store_field):
2264 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2265 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2266 (do_jump): Likewise.
2267 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2268 MAX_SIZE is now unsigned.
2269 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2270 (emit_group_store): Likewise.
2271 (emit_move_insn): I now unsigned.
2272 (store_constructor): Use host_integerp, tree_low_cst, and
2274 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2275 Rework all calculations to use trees and new fields.
2276 * expr.h (promoted_input_arg): Regno now unsigned.
2277 (store_bit_field, extract_bit_field): Adjust types of pos and size.
2278 (mark_seen_cases): Arg is HOST_WIDE_INT.
2279 * flow.c (verify_wide_reg_1): REGNO now unsigned.
2280 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2281 precisions and alignments are unsigned.
2282 (optimize_bit_field_compare, fold_truthop): Likewise.
2283 (int_const_binop): Adjust threshold for size_int_type_wide call.
2284 (fold_convert): Likewise.
2285 (size_int_type_wide): Make table larger and fix thinko that only
2286 had half of table used.
2287 (all_ones_mask_p, fold): Precisions are unsigned.
2288 * function.c (put_reg_info_stack): REGNO is unsigned.
2289 (instantiate_decl): Size is HOST_WIDE_INT.
2290 (instantiate_virtual_regs): I is unsigned.
2291 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2292 (promoted_input_arg): REGNO is unsigned.
2293 * function.h (struct function): x_max_parm_reg is now unsigned.
2294 * gcse.c (max_gcse_regno): Now unsigned.
2295 (struct null_pointer_info): min_reg and max_reg now unsigned.
2296 (lookup_set, next_set): REGNO arg now unsigned.
2297 (compute_hash_table): REGNO and I now unsigned.
2298 (handle_avail_expr): regnum_for_replacing now unsigned.
2299 (cprop_insn): REGNO now unsigned.
2300 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2301 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2302 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2303 * hard-reg-set.h (reg_class_size): Now unsigned.
2304 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2305 * jump.c (mark_modified_reg): I now unsigned; add cast.
2306 (rtx_equal_for_thread_p): Add cast.
2307 * loop.c (max_reg_before_loop): Now unsigned.
2308 (struct_movable): REGNO now unsigned.
2309 (try_copy_prop): REGNO arg unsigned.
2310 (regs_match_p): XN and YN now unsigned.
2311 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2312 (strength_reduce): Likewise; NREGS also unsigned.
2313 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2314 * loop.h (struct iv_class): REGNO now unsigned.
2315 (max_reg_before_loop, first_increment_giv, last_increment_giv):
2317 * machmode.h (mode_size, mode_unit_size): Now unsigned.
2318 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2319 * optabs.c (expand_binop): I and NWORDS now unsigned.
2320 (expand_unop): I now unsigned.
2321 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2322 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2323 * real.c (significand_size): Now returns unsigned.
2324 * real.h (significand_size): Likewise.
2325 * regclass.c (reg_class_size): Now unsigned.
2326 (choose_hard_reg_mode): Both operands now unsigned.
2327 (record_reg_classes): REGNO and NR now unsigned.
2328 (reg_scan): NREGS now unsigned.
2329 (reg_scan_update): old_max_regno now unsigned.
2330 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2331 * reload.c (find_valid_class): BEST_SIZE now unsigned.
2332 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2333 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2334 Likewise for variable R.
2335 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2336 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2337 (find_equiv_reg): Add casts.
2338 (regno_clobbered_p): Arg REGNO now unsigned.
2339 * reload.h (struct reload): NREGS now unsigned.
2340 (refers_to_regno_for_reload_p): Regno args are unsigned.
2341 (regno_clobbered_p): Likewise.
2342 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2343 (compute_use_by_pseudos): REGNO now unsigned.
2344 (find_reg): I and J now unsigned, new variable K, and change loop
2345 variables accordingly; THIS_NREGS now unsigned.
2346 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2347 (spill_hard_reg): REGNO arg now unsigned; add casts.
2348 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2349 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2350 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2351 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2352 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2353 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2354 (emit_reload_insns): REGNO now unsigned.
2355 (reload_cse_move2add): Add cast.
2356 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2358 * resource.c (mark_referenced_resources, mark_set_resources): New
2359 variable R; REGNO and LAST_REGNO now unsigned.
2360 (mark_target_live_regs): J and REGNO now unsigned.
2361 * rtl.c (mode_size, mode_unit_size): Now unsigned.
2362 * rtl.h (union rtunion_def): New field rtuint.
2363 (XCUINT): New macro.
2364 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2365 (operand_subword, operand_subword_force): Word number is unsigned.
2366 (choose_hard_reg_mode): Operands are unsigned.
2367 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2368 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2369 (regno_use_in, combine_instructions, remove_death): Likewise.
2370 (reg_scan, reg_scan_update): Likewise.
2371 (extended_count): Return is unsigned.
2372 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2373 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2374 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2375 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2376 (reg_reg_last_1): FIRS and LAST now unsigned.
2377 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2378 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2380 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2381 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2382 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2383 (replace_regs): Arg NREGS now unsigned.
2384 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2385 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2386 (simplify_binary_operation): Likewise.
2387 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2388 THIS_LAST now unsigned.
2389 (cselib_record_set): Add cast.
2390 * ssa.c (ssa_max_reg_num): Now unsigned.
2391 (rename_block): REGNO now unsigned.
2392 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2394 (all_cases_count): Just return -1 not -2.
2395 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2396 Rework tests to use trees whenever possible.
2397 Use host_integerp and tree_low_cst.
2398 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2399 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2400 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2401 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2402 (smallest_mode_for_size): Likewise.
2403 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2404 KNOWN_ALIGN is now an alignment, so simplify code.
2405 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2406 (start_record_layout): Renamed from new_record_layout_info.
2407 Update to new fields.
2408 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2410 (place_union_field): Renamed from layout_union_field.
2411 Update to use new fields in rli.
2412 (place_field): Renamed from layout_field.
2413 Major rewrite to use new fields in rli; pass alignment to layout_decl.
2414 (finalize_record_size): Rework to use new fields in rli and handle
2416 (compute_record_mode): Rework to simplify and to use new DECL fields.
2417 (finalize_type_size): Make rounding more consistent.
2418 (finish_union_layout): Deleted.
2419 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2420 (layout_type, case RECORD_TYPE): Call new function names.
2421 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2422 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2423 (get_best_mode): UNIT is now unsigned; remove casts.
2424 * tree.c (bit_position): Compute from new fields.
2425 (byte_position, int_byte_position): New functions.
2426 (print_type_hash_statistics): Cast to remove warning.
2427 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2428 (build_index_type): Likewise; make subtype of sizetype.
2429 (build_index_2_type): Pass sizetype to build_range_type.
2430 (build_common_tree_nodes): Use size_int and bitsize_int to
2431 initialize nodes; add bitsize_{zero,one,unit}_node.
2432 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2433 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2434 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2435 (DECL_FIELD_BITPOS): Deleted.
2436 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2437 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2438 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2439 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2440 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2441 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2442 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2443 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2444 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2445 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2446 (DECL_ALIGN): Adjust to new field in union.
2447 (DECL_OFFSET_ALIGN): New field.
2448 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2449 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2450 (union tree_decl): Add struct for both aligns.
2451 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2452 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2453 (struct record_layout_info): Rework fields to have offset
2454 alignment and byte and bit position.
2455 (start_record_layout, place_field): Renamed from old names.
2456 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2457 (byte_position, int_byte_position): Likewise.
2458 (get_inner_reference): Change types of position and length.
2459 * unroll.c (unroll_loop): New variable R; use for some loops.
2460 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2461 (calculate_giv_inc): Arg REGNO now unsigned.
2462 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2463 * varasm.c (assemble_variable): Clean up handling of size using
2464 host_integerp and tree_low_cst.
2465 (decode_addr_const): Use byte, not bit, position.
2466 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2467 use tree_low_cst and int_bit_position.
2468 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2470 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
2472 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2473 (reorder_block_def): New members eff_head and eff_end.
2474 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2475 (verify_insn_chain): New function.
2476 (skip_insns_between_block): Add code to skip deleted insns.
2477 Check for note before using.
2478 (chain_reorder_blocks): Replace calls to skip_insns_between_block
2479 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2480 Check for note before using.
2481 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2482 (fixup_reorder_chain): Restructure, clean up, defect removal.
2483 (reorder_basic_blocks): Remove last_insn and references to it.
2484 Moved insn chain verification code into a new function (see above).
2485 Delete defective code that sets last insn.
2486 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2489 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2491 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2493 2000-03-24 Richard Henderson <rth@cygnus.com>
2495 * tree.c (lang_safe_for_unsave): Remove.
2496 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2497 allowing for two levels of unsafeness. Remove lang hook.
2498 * tree.h: Update declarations.
2499 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2500 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2501 Always fail sibcalls when there are pending cleanups.
2503 2000-03-24 Geoff Keating <geoffk@cygnus.com>
2505 * flow.c (propagate_block): When we delete an ADDR_VEC,
2506 also delete the BARRIER following it if there is one.
2508 2000-03-24 Richard Henderson <rth@cygnus.com>
2510 * builtins.c (expand_builtin_bzero): Convert `length' argument
2513 2000-03-24 Jakub Jelinek <jakub@redhat.com>
2515 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2516 comparison if regno's are equal.
2517 * calls.c (initialize_argument_informat): Add ecf_flags argument.
2518 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2519 (expand_call): Update caller.
2520 Avoid making a sibling call if argument size of the callee is larger
2521 than argument size of the caller.
2522 Call hard_function_value with outgoing set if in sibcall pass.
2523 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2525 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2526 Change LEAF_REGISTERS from an array initializer to actual array
2527 identifier. Move static global variable into the function.
2528 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2529 sequences for leaf functions.
2530 * global.c (global_alloc): Likewise.
2531 * tm.texi (LEAF_REGISTERS): Update documentation.
2533 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2534 TARGET_FLAT leaf disabling hack.
2535 (LEAF_REGISTERS): Changed from an array initializer to actual array
2536 identifier to avoid duplication and remove the above hack.
2537 (FUNCTION_OK_FOR_SIBCALL): Define.
2538 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2539 always like call attribute.
2540 (eligible_for_sibcall_delay): New attribute.
2541 (sibcall): New delay type.
2542 (sibcall, sibcall_value, sibcall_epilogue): New expands.
2543 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2544 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2545 * config/sparc/sparc.c (sparc_leaf_regs): New array.
2546 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2548 (output_function_epilogue): Move part of the code into
2549 output_restore_regs.
2550 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2552 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2555 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2556 until infrastructure is finished.
2558 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
2560 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2561 (save_parm_insns): Not here.
2563 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2565 * builtins.c (expand_builtin_bzero): New function.
2566 (expand_builtin): Handle bzero.
2568 * builtins.def: Add BUILT_IN_BZERO.
2570 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2571 prototype & function for bzero.
2573 2000-03-23 Michael Meissner <meissner@redhat.com>
2575 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2576 change adding TARGET_FP to the TF floating point insns, except for
2577 trunctfsf2, which generates direct calls to truncdfsf2.
2579 2000-03-23 Geoff Keating <geoffk@cygnus.com>
2581 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2582 try to protect against middle-end changes that break binary
2584 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2586 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2588 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
2590 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2592 * calls.c (expand_call): If TARGET is passed by reference and
2593 is readonly, write a CLOBBER.
2595 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2597 * builtins.c (expand_builtin): Handle bcmp.
2599 * builtins.def: Add BUILT_IN_BCMP.
2601 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2602 prototype & function for bcmp.
2604 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
2606 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2607 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2608 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2610 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
2612 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2613 alternative when using -fp64 -gp32.
2615 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2617 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2618 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2619 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2621 * frame.h (frame_state): Revert last change.
2622 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2623 * libgcc2.c (throw_helper): Revert last change.
2625 2000-03-22 Richard Henderson <rth@cygnus.com>
2627 * stmt.c (expand_asm_operands): Don't promote the temporary.
2629 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2631 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2632 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2633 c_get_alias_set): Likewise.
2634 * c-decl.c (duplicate_decls): Likewise.
2635 * c-typeck.c (default_conversion,build_unary_op): Likewise.
2636 * calls.c (initialize_argument_information): Likewise.
2637 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2639 * dwarfout.c (decl_class_context,output_type): Likewise.
2640 * expr.c (get_inner_reference): Likewise.
2641 * fold-const.c (simple_operand_p,fold): Likewise.
2642 * function.c (aggregate_value_p): Likewise.
2643 * stmt.c (expand_asm_operands): Likewise.
2644 * varasm.c (named_section): Likewise.
2646 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2648 Implement dwarf2 exception handling for the ARM.
2649 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2650 (DWARF_FRAME_RETURN_COLUMN): Define.
2651 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
2652 REG_FRAME_RELATED_EXPR note.
2653 (emit_sfm): Likewise.
2654 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2655 * dwarf2out.c (reg_save): Handle saving a register to itself.
2656 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2657 * except.c (eh_regs): Don't use the static chain reg if it's
2659 * frame.h (frame_state): Add cfa_saved field.
2660 * frame.c (execute_cfa_insn): Set it.
2661 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
2663 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2665 (instantiate_virtual_regs): Adjust.
2667 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2668 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2669 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2671 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2672 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2674 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2676 * builtins.def: New file.
2678 * Makefile.in (TREE_H): Depend on builtins.def.
2680 * builtins.c (built_in_names): Use builtins.def.
2682 * tree.h (built_in_function): Likewise.
2684 2000-03-22 Mark Mitchell <mark@codesourcery.com>
2686 * tree.c (size_in_bytes): Return size_zero_node, not
2689 2000-03-22 Geoff Keating <geoffk@cygnus.com>
2691 * config/fp-bit.c (pack_d): Correct the case when a denormal
2692 is rounded up and stops being denormal.
2694 2000-03-21 Richard Henderson <rth@cygnus.com>
2696 * config/alpha/alpha.c (function_arg): Check for void_type_node
2697 before using MUST_PASS_IN_STACK.
2699 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
2701 * regmove.c (combine_stack_adjustments_for_block): Check that
2702 the stack pointer is a valid memory address.
2704 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
2706 * calls.c: re-install Mar 16 emit_library_call merge.
2708 2000-03-21 Jakub Jelinek <jakub@redhat.com>
2710 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2711 we cannot be sure that if reload_completed base register will
2712 be properly aligned.
2714 2000-03-21 Richard Henderson <rth@cygnus.com>
2716 * flow.c (delete_block): Fix typo last change.
2718 2000-03-21 Mark Mitchell <mark@codesourcery.com>
2720 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2721 not COMPLETE_TYPE_P, to check the type of the expression.
2723 2000-03-21 Michael Meissner <meissner@redhat.com>
2725 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2726 all floating point insns that just tested the macro
2727 TARGET_HAS_XFLOATING_LIBS.
2728 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2729 used to only use the gprs.
2731 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
2733 * tree.h (COMPLETE_TYPE_P): New macro.
2734 (COMPLETE_OR_VOID_TYPE_P): New macro.
2735 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2736 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2737 * c-aux-info.c (gen_type): Use them.
2738 * c-common.c (c_expand_expr_stmt): Likewise.
2739 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2740 grokdeclarator, grokparms, finish_struct, start_function,
2741 store_parm_decls, combine_parm_decls): Likewise.
2742 * c-parse.y (cast_expr): Likewise.
2743 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2744 c_size_in_bytes, c_alignof, build_component_ref,
2745 build_indirect_ref, build_array_ref, convert_arguments,
2746 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2747 * calls.c (initialize_argument_information): Likewise.
2748 * convert.c (convert_to_integer): Likewise.
2749 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2750 * dwarfout.c (location_or_const_value_attribute,
2751 output_enumeration_type_die, output_structure_type_die,
2752 output_union_type_die, output_type): Likewise.
2753 * expr.c (safe_from_p, expand_expr): Likewise.
2754 * function.c (assign_parms): Likewise.
2755 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2756 * tree.c (build_array_type, build_function_type,
2757 build_method_type, build_offset_type, build_complex_type): Likewise.
2758 * c-parse.c, c-parse.h: Regenerated.
2760 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2762 * config/c4x/rtems.h: Include config/rtems.h.
2764 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
2766 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2767 decl is a FUNCTION_DECL
2769 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
2771 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2772 function uses output registers. Don't save RP for leaf functions.
2773 Do save RP even if no epilogue.
2774 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2775 (CALL_USED_REGISTERS): Unmark in registers.
2776 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
2779 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2781 * config/rs6000/rs6000.md (bunordered): New expander.
2782 (bordered): New expander.
2783 (buneq): New expander.
2784 (bunge): New expander.
2785 (bungt): New expander.
2786 (bunle): New expander.
2787 (bunlt): New expander.
2788 (bltgt): New expander.
2790 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2791 (ccr_bit_negated_p): New function.
2792 (print_operand): For %C, generate appropriate cror for UNEQ,
2793 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
2795 2000-03-20 Andreas Jaeger <aj@suse.de>
2797 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2800 * tree.h (safe_for_unsave): Prototype.
2802 2000-03-20 Richard Henderson <rth@cygnus.com>
2804 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2805 (combine_stack_adjustments_for_block): Don't allow sp references
2806 in the side of a set we're not fixing up.
2807 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2808 after life_analysis.
2810 2000-03-20 Richard Henderson <rth@cygnus.com>
2812 * calls.c (expand_call): Don't bother generating tail call
2813 sequences if there are pending cleanups. Use
2814 expand_start_target_temps/expand_end_target_temps to elide
2815 cleanups created during sibcall expansion.
2817 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2819 * configure.in: Set $IFS to a value if it doesn't already have one
2820 in the --enable-checking handling.
2821 * configure: Regenerate.
2823 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2825 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2826 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2829 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
2831 * jump.c (delete_noop_moves): Remove code attempting to
2832 combine stack adjustments.
2834 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2836 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2837 * except.c (emit_cleanup_handler): Use them.
2838 (expand_end_all_catch): Likewise.
2839 * function.c (fixup_var_refs): Likewise.
2840 (expand_function_end): Clear catch_clauses_last.
2841 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2842 * except.h (struct eh_status): New field x_catch_clauses_last.
2843 (catch_clauses_last): New define.
2845 * Makefile.in (tree.o): Depend on HASHTAB_H.
2846 * tree.c: Include hashtab.h.
2847 (struct type_hash): Remove next field.
2848 (TYPE_HASH_SIZE): Remove.
2849 (TYPE_HASH_INITIAL_SIZE): New define.
2850 (type_hash_table): Change type to htab_t.
2851 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2852 mark_hash_entry): New functions.
2853 (init_obstacks): Allocate type hash.
2854 (type_hash_lookup): Use htab functions.
2855 (type_hash_add, mark_type_hash): Likewise.
2856 (dump_tree_statistics): Call print_type_hash_statistics.
2858 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2860 * rs6000/t-aix41: New file.
2862 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2864 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
2866 * tm.texi (Driver): Fix typos and tweak entry for
2868 Move misplaced STRUCT_FORCE_BLK entry ...
2869 (Storage Layout): ... to here.
2870 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2872 2000-03-19 Richard Henderson <rth@cygnus.com>
2874 * flow.c (delete_block): Delete the addr_vec along with the block.
2875 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2878 * fold-const.c (extract_muldiv): Apply type check for defined
2879 overflow to multiply as well as divide.
2881 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2883 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2885 * emit-rtl.c (remove_unncessary_notes): Check that all
2886 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2887 associated NOTE_BLOCK.
2888 * function.h (identify_blocks): Update comments.
2889 (reorder_blocks): Declare.
2890 * function.c (identify_blocks): Don't take paramters.
2891 (reorder_blocks): Don't take parameters.
2892 * loop.h (find_loop_tree_blocks): Remove.
2893 (unroll_block_trees): Likewise.
2894 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
2895 reorder_blocks instead of unroll_block_trees.h
2896 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2897 * stmt.c (find_loop_tree_blocks): Remove.
2898 (unroll_block_trees): Likewise.
2899 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2900 in whole-function mode.
2901 * tree.h (reorder_blocks): Remove declaration.
2903 * expr.c: Include intl.h.
2904 * Makefile.in (expr.o): Depend on intl.h.
2906 2000-03-18 Richard Henderson <rth@cygnus.com>
2908 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2910 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2912 * tree.h (tree_index): Remove enumerals for integer types.
2913 (integer_type_kind): New type.
2914 (integer_types): New variable.
2915 (char_type_node): Adjust.
2916 (signed_char_type_node): Likewise.
2917 (unsigned_char_type_node): Likewise.
2918 (short_integer_type_node): Likewise.
2919 (short_unsigned_type_node): Likewise.
2920 (integer_type_node): Likewise.
2921 (unsigned_type_node): Likewise.
2922 (long_integer_type_node): Likewise.
2923 (long_unsigned_type_node): Likewise.
2924 (long_long_integer_type_node): Likewise.
2925 (long_long_unsigned_type_node): Likewise.
2926 * tree.c (integer_types): New variable.
2927 (init_obstacks): Register it as a root.
2929 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
2931 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2932 NEXT_INSN. Update last insn in chain.
2934 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
2936 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2937 with TYPE_DECL_SUPPRESS_DEBUG set.
2939 2000-03-18 Richard Henderson <rth@cygnus.com>
2941 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2943 2000-03-18 Richard Henderson <rth@cygnus.com>
2945 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2946 care for HALF_PIC_P.
2947 (expander_call_insn_operand): Remove.
2948 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2949 * i386.h (PREDICATE_CODES): Update.
2950 * i386.md (all call expanders): Remove predicates, remove special
2951 handling for half-pic.
2952 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2953 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2954 (sibcall_epilogue): New.
2956 2000-03-17 Richard Henderson <rth@cygnus.com>
2958 * rtlanal.c (single_set): Reject if the parallel has anything
2959 except SET or USE or CLOBBER.
2961 2000-03-17 Jeff Law <law@cygnus.com>
2962 Richard Henderson <rth@cygnus.com>
2964 * Makefile.in (OBJS): Add sibcall.o.
2966 * sibcall.c: New file.
2967 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2968 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2969 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2970 Emit sibcall patterns when requested. Update all callers.
2971 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2972 elimination seems feasable.
2973 * final.c (leaf_function_p): Sibling calls don't discount being
2975 * flow.c (HAVE_sibcall_epilogue): Provide default.
2976 (find_basic_blocks_1): Sibling calls don't throw.
2977 (make_edges): Make edge from sibling call to EXIT.
2978 (propagate_block): Don't remove sibcall_epilogue insns.
2979 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
2980 (sibcall_epilogue): New.
2981 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2982 (identify_blocks_1): Likewise. Break out from ...
2983 (identify_blocks): ... here.
2984 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
2985 (reorder_blocks): ... here.
2986 (init_function_for_compilation): Zap prologue/epilogue as varrays.
2987 (record_insns): Extend a varray instead of mallocing new memory.
2988 (contains): Read a varray not array of ints.
2989 (sibcall_epilogue_contains): New.
2990 (thread_prologue_and_epilogue_insns): Emit and record
2991 sibcall_epilogue patterns.
2992 (init_function_once): Allocate prologue/epilogue varrays.
2993 * genflags.c (gen_insn): Treat sibcall patterns as calls.
2994 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2996 (save_for_inline_nocopy): ... here.
2997 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
2999 (expand_inline_function): ... here.
3000 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3001 (subst_constants): Handle 'n' formats.
3002 * jump.c (jump_optimize_minimal): New.
3003 (jump_optimize_1): New arg `minimal'; update callers. Elide most
3004 optimizations if it's set.
3005 * rtl.c (copy_rtx): Do copy jump & call for insns.
3006 * rtl.h (struct rtx_def): Document use of jump and call for insns.
3007 (SIBLING_CALL_P): New.
3008 (sibcall_use_t): New.
3009 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3010 Invoke optimize_sibling_and_tail_recursive_calls.
3011 * tree.c (lang_safe_for_unsave): New.
3012 (safe_for_unsave): New.
3013 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3015 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3016 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3017 (*sibcall_osf_1, *sibcall_value_osf_1): New.
3019 2000-03-17 Mark Mitchell <mark@codesourcery.com>
3021 * objc/objc-act.c (encode_method_prototype): Pass types, not
3022 PARM_DECLs, to int_size_in_bytes.
3024 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
3026 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3028 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3029 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3031 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3033 * Clean up usages of TREE_INT_CST_LOW.
3034 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3035 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3037 * c-tree.h (min_precision): Move declaration to here.
3038 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3039 (build_unary_op, add_pending_init): Use bit_position.
3040 (pending_init_member, process_init_element): Likewise.
3041 (really_start_incremental_init, push_init_level, pop_init_level):
3042 Don't make copies of nodes or modify them in place, use consistent
3043 types when tracking positions, and use tree routines computations.
3044 (set_init_index, output_init_element): Likewise.
3045 (output_pending_init_elements, process_init_element): Likewise.
3046 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3047 tree_low_cst and int_bit_position; also minor cleanup.
3048 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3049 (print_cst_octal): Precision is unsigned.
3050 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3051 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3052 (simple_type_align_in_bits): Result is unsigned int.
3053 Use tree_int_low_cst and host_integerp.
3054 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3055 (field_byte_offset): Result is HOST_WIDE_INT.
3056 Change types of internal variables so alignments are unsigned int,
3057 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3058 Use host_integerp, tree_low_cst, and int_bit_position.
3059 (add_bit_offset_attribute): Likewise.
3060 (add_data_member_location_attribute): Use tree_cst_low.
3061 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3062 (add_bit_size_attribute): Use tree_low_cst.
3063 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3064 * dwarfout.c: Similar changes to dwarf2out.c.
3065 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3066 * genoutput.c (n_occurences): Return -1 for null string.
3067 (strip_whitespace): Accept null string and make into function.
3068 (scan_operands): Reflect above changes.
3069 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3070 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3071 * ssa.c (rename_registers): Add missing cast of arg to bzero.
3072 * tree.c (int_size_in_bytes): Check for too big to represent.
3073 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3074 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3076 (min_precision): Delete from here.
3077 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3078 and int_bit_position.
3079 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3080 (encode_method_def): Likewise.
3081 (build_ivar_list_initializer): Use int_bit_position.
3082 (generate_shared_structures): Convert size.
3083 (encode_type, encode_complete_bitfield): Use integer_zerop.
3084 (encode_bitfield): Use tree_low_cst and int_bit_position.
3086 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3088 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3090 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3092 * call.c (special_function_p): It is only malloc if it returns
3095 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3097 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3098 (C33_FLAG, TARGET_C3X): Add macros.
3099 (TARGET_SWITCHES): Add -m33 option.
3100 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3102 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3104 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3105 (PARALLEL_PACK_FLAG): Delete.
3106 (TARGET_SWITCHES): Update.
3107 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3109 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3111 * fold-const.c (fold): Fix a few cases when the returned result
3112 is not of the same type as the input.
3114 2000-03-16 Nick Clifton <nickc@cygnus.com>
3116 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3119 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3121 * libgcc2.h: Move prototypes above macros with the same name.
3122 Wrap some function prototypes in the conditional which indicates
3123 whether they are supported, i.e. "BITS_PER_UNIT == 8".
3125 2000-03-16 Richard Henderson <rth@cygnus.com>
3127 * calls.c: Revert last two changes.
3129 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
3131 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3132 has exponent 0 is a zero.
3134 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3135 HASH may already be nonzero. Add code/mode into hash value
3136 immediately after repeat label.
3137 (cselib_lookup): Don't leave the hash table in an inconsistent
3138 state before a hash lookup operation.
3140 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
3142 * i386.md (all HI and QI mode non-move patterns): Conditionize
3143 by TARGET_[HQ]IMODE_MATH.
3144 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3145 x86_promote_qi_regs): Declare.
3146 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3147 TARGET_PROMOTE_QI_REGS): New macros.
3148 (PROMOTE_MODE): New macro.
3149 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3150 x86_promote_qi_regs): New global variables.
3152 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
3154 * calls.c (emit_library_call_value_1): Break out from ...; handle
3155 VOIDmode function calls too.
3156 (emit_library_call_value): ... here.
3157 (emit_library_call): Implement by calling emit_library_call_value_1.
3159 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
3161 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3162 Update arg_space_so_far on stack adjustments.
3163 (emit_library_call, emit_library_call_value): Likewise; take into
3164 account arg_space_so_far and pending_stack_adjust when calculcating
3167 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
3169 * flow.c: Move all basic block reordering code into its own file.
3170 (create_basic_block): Externalize.
3171 * bb-reorder.c: New file. Copy all basic block reordering code from
3172 flow.c to this file.
3173 (reorder_basic_blocks): Fix fencepost error in for-loop.
3174 (reorder_basic_blocks): Remove braces from single statement for-loops.
3175 * basic-block.h: Add declaration for create_basic_block.
3176 * Makefile.in: Add rules for bb-reorder.o.
3178 2000-03-16 Neil Booth <NeilB@earthling.net>
3180 * cppinit.c (handle_option): Implement #unassert directive
3181 as -A- command line option.
3182 (print_help): Update.
3183 * cpptexi.c: Update.
3185 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
3187 * md.texi (Standard Names): Document `jump'.
3189 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3191 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3194 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3196 Merge changes from newppc-branch onto trunk.
3198 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3200 * rs6000.c (toc_hash_table): Update for new hash table functions.
3201 (toc_hash_function): Likewise.
3202 (toc_hash_eq): Likewise.
3203 (toc_hash_mark_entry): Likewise.
3204 (toc_hash_mark_table): Likewise.
3205 (output_toc): Likewise.
3206 (rs6000_add_gc_roots): Likewise.
3208 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3210 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
3211 (AR_FLAGS_FOR_TARGET): here. New macro.
3213 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
3215 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3216 fpmem_operand) Delete.
3218 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3219 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3220 (rs6000_save_machine_status, rs6000_restore_machine_status,
3221 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
3222 references to above variables.
3223 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3224 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3225 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3226 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3227 (XER_REGNO_P, XER_REGNO): New.
3228 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3229 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3230 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
3232 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3233 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
3234 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3236 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3238 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3239 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3240 * rs6000.h: from here.
3242 * rs6000-protos.h (rs6000_select_section): Provide prototype.
3243 (rs6000_select_rtx_section): Likewise.
3244 (rs6000_encode_section_info): Likewise.
3245 (sdata_section): Likewise.
3246 (sdata2_section): Likewise.
3247 (sbss_section): Likewise.
3248 * sysv4.h (rs6000_select_section): Delete prototype.
3249 (rs6000_select_rtx_section): Likewise.
3250 (rs6000_encode_section_info): Likewise.
3251 (sdata_section): Likewise.
3252 (sdata2_section): Likewise.
3253 (sbss_section): Likewise.
3254 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3256 * sysv4.h: Delete various unnecessary #undef's and put a comment
3257 on the remaining ones.
3258 Change various comments according to coding standard.
3260 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
3262 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
3263 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3264 (CR0_REGNO_P) Remove.
3265 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
3266 setup_incoming_varargs, mtcrf_operation, print_operand,
3267 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
3268 Use the above macros.
3270 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
3272 * config/rs6000/rs6000.md: Added a new alternative for each
3273 pattern that had a 'x' alternative but no 'y' alternative.
3274 Added a new split for each of the above patterns.
3276 2000-02-18 Geoff Keating <geoffk@cygnus.com>
3278 * aix41.h (ASM_CPU_SPEC): Delete.
3279 (CPP_CPU_SPEC): Delete.
3281 * aix.h (RS6000_OUTPUT_BASENAME): Define.
3282 (ASM_OUTPUT_LABEL): Define.
3283 (ASM_GLOBALIZE_LABEL): Define.
3284 (STRIP_NAME_ENCODING): Define.
3285 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3286 (STRIP_NAME_ENCODING): Don't define.
3287 (ASM_OUTPUT_LABEL): Don't define.
3288 (ASM_GLOBALIZE_LABEL): Don't define.
3289 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3290 names, and ASM_OUTPUT_LABEL to output labels, rather than
3292 (ASM_OUTPUT_LABEL): Define.
3293 (ASM_OUTPUT_INT): Use assemble_name.
3294 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3295 (STRIP_NAME_ENCODING): Don't undefine first.
3296 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3298 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3299 specified with 'asm' even with -fleading-underscore.
3300 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3301 (output_epilog): Likewise.
3302 (output_toc): Likewise.
3303 * tramp.asm: Handle -fleading-underscore correctly.
3305 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3307 (nonlocal_goto_receiver): Delete.
3308 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3310 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3311 (SET_ASM_OP): Define.
3312 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3314 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3317 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3318 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3320 * rs6000.h: Add 'u' to more constants.
3322 2000-02-18 David Edelsohn <edelsohn@gnu.org>
3324 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3326 2000-02-15 David Edelsohn <edelsohn@gnu.org>
3328 * rs6000.c (reg_or_u_cint_operand): New function.
3329 (logical_operand): Handle 64-bit hosts.
3330 (logical_u_operand): New function.
3331 (non_logical_cint_operand): Handle 64-bit hosts.
3332 (non_logical_u_cint_operand): New function.
3333 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3334 (PREDICATE_CODES): Define new functions.
3335 * rs6000-protos.h: Declare new functions.
3336 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3337 (movdi_64): Bracket code intended for 64-bit hosts. Create
3338 CONST_DOUBLE for 32-bit values.
3339 (scc insns): Generate DImode compares.
3340 (mfcr insns): Create DImode versions.
3341 (sge matchers): New patterns.
3343 2000-02-15 Gabriel Paubert <paubert@iram.es>
3345 * rs6000.md: Correct instructions length attributes and
3346 constraints on unsigned compare instructions.
3347 (*ne0): Disable for PowerPC64.
3349 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3351 * rs6000.c (output_function_profiler): Use .long for a 32-bit
3352 quantity, fix profile1.C test failure under -fPIC.
3354 * rs6000.c: Add 'u' to many constants to suppress warnings.
3355 (constant_pool_expr_1): Make static.
3356 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3357 * rs6000.h: Add 'u' to many constants to suppress warnings.
3359 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3360 for the start of the TOC, instead of LCTOC..0.
3361 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3363 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3364 (load_toc_aix_di): Use LCTOC..1.
3366 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3367 * rs6000.c (rs6000_legitimize_address): New function from
3368 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
3369 symbols in the constant pool that really are TOC references.
3370 (print_operand_address): For ELF, write TOC offsets under
3371 -fPIC as subtractions in the insn.
3372 (output_toc): For ELF, define symbols in TOC as normal labels,
3374 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3375 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3376 (create_TOC_reference): Prototype only when RTX_CODE is defined.
3377 * rs6000.md (movsi): Only use create_TOC_reference on
3378 symbols in the constant pool that really are TOC references.
3380 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3381 * rs6000.c (rs6000_reorg): Delete.
3382 * rs6000-protos.h (rs6000_reorg): Delete.
3384 2000-02-09 Geoff Keating <geoffk@cygnus.com>
3386 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3388 * aix.h (SETUP_FRAME_ADDRESSES): Define.
3389 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3390 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3391 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3392 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3393 rs6000_aix_emit_builtin_unwind_init.
3394 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
3395 rs6000_emit_eh_toc_restore on AIX.
3396 (return_eh_si): Use r2.
3397 (return_eh_di): Use r2.
3399 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3400 since we're breaking binary compatibility anyway.
3402 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3404 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3405 constant_pool_expr_p): Declare them.
3406 (constant_pool_expr_p): Declare it.
3407 * config/rs6000/rs6000.c (toc_label_name): Define.
3408 (rs6000_override_options): Set toc_label_name.
3409 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3410 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3411 uses_TOC): New functions.
3412 (print_operand): Delete old '*' case.
3413 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3414 and strip off rtl for TOC before calling output_addr_const.
3415 (rs6000_emit_load_toc_table): Use toc_label_name.
3416 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3418 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3419 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3420 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3421 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3422 into explicit TOC_REGISTER offsets.
3423 (TOC_REGISTER): New macro.
3424 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
3425 TARGET_TOC to reference TOC_REGISTER.
3426 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3427 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
3428 uses_TOC before emitting label references.
3430 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3432 * rs6000.md (stack_tie): Fix warning.
3434 * eabi-ctors.c: Use 'asm' names for the start/end variables,
3435 to handle -fleading-underscore.
3436 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3437 (USER_LABEL_PREFIX): New macro.
3438 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3439 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3440 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3441 call-linux can use the same multilibs.
3442 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3443 and call-linux multilibs. Do multilib with -fleading-underscore.
3444 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3445 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
3448 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3449 have MASK_SOFT_FLOAT set.
3450 (CPP_FLOAT_DEFAULT_SPEC): New macro.
3451 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3452 CPP_FLOAT_DEFAULT_SPEC.
3454 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3455 * rs6000.md: Whitespace change.
3456 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3457 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3459 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3461 * rs6000.md (eh_epilogue): New expander.
3462 (eh_reg_restore): New expand/split/insn combination.
3463 (return_eh_si): New insn.
3464 (return_eh_di): New insn.
3466 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3467 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3468 * eabi-ctors.c (__do_global_ctors): Register this object's
3469 frame. Clean up. Call atexit() after the constructors.
3470 (__do_global_dtors): Deregister this object's frame. Clean up.
3471 Allow for recursive calls to exit().
3472 * rs6000.c (fixuplabelno): New variable.
3473 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3474 TARGET_RELOCATABLE, it slows down exec() under linux.
3475 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3477 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3478 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3479 (ASM_OUTPUT_DWARF_DELTA2): New macro.
3480 (ASM_OUTPUT_DWARF_DELTA4): New macro.
3481 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3482 (ASM_OUTPUT_DWARF_ADDR): New macro.
3483 (ASM_OUTPUT_DWARF_DATA4): New macro.
3484 (ASM_OUTPUT_DWARF_DATA2): New macro.
3485 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3486 (ASM_OUTPUT_DWARF_OFFSET): New macro.
3487 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3489 2000-02-03 Geoff Keating <geoffk@cygnus.com>
3491 * rs6000.c (rs6000_sr_alias_set): New variable.
3492 (rs6000_override_options): Initialise rs6000_sr_alias_set.
3493 (rs6000_emit_stack_tie): New function.
3494 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3495 in a way that dwarf2out can understand.
3496 (rs6000_frame_related): New function.
3497 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
3498 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3499 Use rs6000_emit_stack_tie when needed.
3500 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
3501 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
3502 * rs6000.md (stack_tie): New insn.
3503 (return_internal_si): Allow return value to be in the count
3505 (return_internal_di): Likewise.
3507 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3509 2000-02-03 Geoff Keating <geoffk@cygnus.com>
3511 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3513 2000-01-31 Geoff Keating <geoffk@cygnus.com>
3515 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3517 * rs6000.md (stmw): Use the right POWER opcode.
3520 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3522 * rs6000-protos.h: New file.
3524 * rs6000.c: Include tm_p.h. Fix compile time warnings.
3526 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
3529 * sysv4.h: Likewise.
3531 2000-01-28 Geoff Keating <geoffk@cygnus.com>
3533 * ../../configure.in: Delete powerpcle-*-winnt*
3534 and powerpcle-*-pe|powerpcle-*-cygwin*.
3535 * ../../configure: Regenerated.
3537 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3538 (TARGET_WINDOWS_NT): Delete.
3540 (CALL_NT_DLLIMPORT): Delete.
3541 Delete NT-specific code.
3542 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3545 * nt-ci.asm: Delete.
3546 * nt-cn.asm: Delete.
3547 * ntstack.asm: Delete.
3549 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3551 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3552 (ASM_FILE_START): Likewise.
3553 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3554 (ASM_OUTPUT_LABELREF): Likewise.
3555 (ASM_OUTPUT_SKIP): Likewise.
3556 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3557 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3558 (ASM_OUTPUT_CASE_LABEL): Likewise.
3559 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3560 (ASM_OUTPUT_ASCII): Likewise.
3562 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
3564 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3565 reload_toc_labelno for non-prologue TOC reloads. Also, don't
3566 increment rs6000_pic_labelno here.
3567 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3568 and increment rs6000_pic_labelno here.
3570 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
3572 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3573 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3574 allocation knows (reg) is dead before the insn.
3576 2000-01-21 Geoff Keating <geoffk@cygnus.com>
3578 * rs6000.md (movsi_to_cr): Correct typo in output template.
3580 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
3582 * rs6000.c (rs6000_pic_labelno): Always define.
3583 (rs6000_pic_func_labelno): Delete.
3584 (lmw_operation): Check for a zero base register,
3585 which doesn't mean what we want.
3586 (stmw_operation): New function.
3587 (print_operand): Define new 'l' modifier.
3588 (rs6000_stack_info): We must save all 64 bits of the registers
3589 if TARGET_POWERPC64.
3590 (rs6000_output_load_toc_table): Delete.
3591 (rs6000_emit_load_toc_table): New function.
3592 (rs6000_allocate_stack_space): Delete.
3593 (rs6000_emit_allocate_stack): New function.
3594 (rs6000_emit_prologue): New function.
3595 (output_prolog): Use rs6000_emit_prologue.
3596 (rs6000_emit_epilogue): Change a few variable names to be
3597 more accurate. Restore all 64 bits of the registers if
3598 TARGET_POWERPC64. Only restore the FP registers which were used
3599 if they are being saved/restored one-at-a-time.
3600 (output_mi_thunk): Delete inefficient code generation.
3601 (output_function_profiler): Don't use rs6000_output_load_toc_table.
3602 * rs6000.h: Declare rs6000_emit_load_toc_table,
3603 rs6000_allocate_stack_space, stmw_operation. Don't declare
3604 rs6000_output_load_toc_table.
3605 * rs6000.md (elf_high): Allow register 0, but discourage it
3607 (elf_low): Support loading into register 0.
3608 (load_toc_aix_si): New pattern.
3609 (load_toc_aix_di): New pattern.
3610 (load_toc_v4_pic_si): New pattern.
3611 (load_toc_v4_pic_di): New pattern.
3612 (load_toc_v4_PIC_1): New pattern.
3613 (load_toc_v4_PIC_1b): New pattern.
3614 (load_toc_v4_PIC_2): New pattern.
3615 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3616 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3617 (prologue): New expander.
3618 (movesi_from_cr): New pattern.
3619 (stmw): New pattern.
3620 (save_fpregs_si): New pattern.
3621 (save_fpregs_di): New pattern.
3623 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3625 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3630 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3632 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3634 (movsi_got_internal): Likewise.
3635 (movsi_got_internal+1): Likewise.
3636 (set_sp): 'unspec 7' does a SImode clobber.
3638 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3640 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3641 allocate a stack temporary.
3642 (floatsidf2_internal): Likewise.
3643 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
3645 (floatunssidf2): Don't use the fpmem "register", just
3646 allocate a stack temporary.
3647 (floatunssidf2_internal): Likewise.
3648 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
3650 (floatsidf2_loadaddr): Delete.
3651 (floatsidf2_store1): Delete.
3652 (floatsidf2_store2): Delete.
3653 (floatsidf2_load): Delete.
3654 (fix_truncdfsi2): Don't use the fpmem "register", just
3655 allocate a stack temporary.
3656 (fix_truncdfsi2_internal_si): Delete.
3657 (fix_truncdfsi2_internal_di): Delete.
3658 (fix_truncdfsi2_internal): New insn.
3659 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3660 (fix_truncdfsi2_store): Delete.
3661 (fix_truncdfsi2_load): Delete.
3662 (fctiwz): Produce gen_fctiwz.
3664 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
3666 * eabi.h (INVOKE__main): Define.
3667 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3669 (rs6000_emit_prologue): Likewise.
3670 * rs6000.h (struct rs6000_stack): Don't keep track of whether
3671 this is the main program.
3673 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3675 * rs6000.c (rs6000_va_arg): Delete some unused variables.
3677 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3679 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3680 goes after the argument.
3682 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3684 * rs6000.md: Document 'unspec' values used.
3685 (epilogue): New expander.
3686 (movesi_to_cr_one): New expander.
3687 (movesi_to_cr and following): New pattern.
3689 (return_internal_si): New pattern.
3690 (return_internal_di): New pattern.
3691 (return_and_restore_fpregs_si): New pattern.
3692 (return_and_restore_fpregs_di): New pattern.
3693 * rs6000.h: Declare new functions.
3694 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3695 rather than rs6000_calls_p.
3696 (rs6000_makes_calls): Delete.
3697 (lmw_operation): New function.
3698 (mtcrf_operation): New function.
3699 (rs6000_emit_epilogue): New function.
3700 (output_epilog): Call rs6000_emit_epilogue and final if
3701 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3703 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3705 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3706 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3707 * aix.h (SUBTARGET_SWITCHES): Document switches.
3708 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
3709 sched-prolog and sched-epilog the same. Document all the
3711 (TARGET_OPTIONS): No longer allow -mdebug-.
3713 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3715 * rs6000.h (ASM_FILE_END): Move to aix.h.
3716 (EXTRA_SECTIONS): Move to aix.h.
3717 (READONLY_DATA_SECTION): Move to aix.h.
3718 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3719 (SELECT_SECTION): Move to aix.h.
3720 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3721 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3722 (LINK_REGISTER_REGNUM): New definition.
3723 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3724 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3726 * sysv4.h: Delete the code between the inclusion of rs6000.h
3728 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
3729 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
3730 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
3731 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
3732 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
3733 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
3734 (fix_truncdfsi2_internal_di): New pattern.
3735 (fix_truncdfsi2_store): The second arg here is Pmode too.
3736 (fix_truncdfsi2_load): The second arg here is Pmode too.
3737 (tablejumpdi): Now that switch tables hold only SImode values,
3738 gcc needs to know how to add them to the pc which is DImode.
3739 * rs6000.c (rs6000_stack_info): Use symbolic name for
3740 LINK_REGISTER_REGNUM.
3741 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
3742 (output_toc): Delete unused variables s1 and s2.
3743 (output_ascii): Use fputs not fprintf on a variable string.
3745 2000-01-07 David Edelsohn <edelsohn@gnu.org>
3747 * rs6000.c (processor_target_table): Add power3 as alias for 630.
3748 * aix43.h: Revert Aug 2 change.
3749 (HAS_INIT_SECTION): Define, not visible yet.
3750 (LD_INIT_SWITCH): Define, not visible yet.
3751 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3753 2000-01-04 Joel Sherrill (joel@OARcorp.com>
3755 * config/rs6000/rtems.h: Include config/rtems.h.
3757 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3759 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3760 (SLOW_UNALIGNED_ACCESS): Define.
3761 (CASE_VECTOR_MODE): Always use 32-bit offsets.
3762 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3763 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3764 (toc_section): Likewise and .toc pseudo-op.
3765 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
3767 (TEXT_SECTION_ASM_OP): Likewise.
3768 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3771 1999-12-17 Jakub Jelinek <jakub@redhat.com>
3773 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
3774 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3777 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3779 * rs6000.h: Move more stuff from here...
3781 * sysv4.h: Cleanup accordingly.
3782 * netware.h: Likewise
3784 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3786 * rs6000.h: Continue cleanup.
3789 * netware.h: Likewise.
3791 * sysv4.h: Likewise.
3792 * win-nt.h: Likewise.
3794 * rs6000.h (TARGET_SWITCHES): Add descriptions.
3795 (TARGET_OPTIONS): Likewise.
3797 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
3798 (SUBTARGET_OPTIONS): Likewise.
3800 * rs6000.md: Fix compile time warnings.
3802 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3804 vxworks patches from the Cygnus tree originally by
3805 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
3806 <vmakarov@cygnus.com>.
3807 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
3808 (ENDFILE_SPEC): Likewise.
3809 (LIB_VXWORKS_SPEC): New macro.
3810 (STARTFILE_VXWORKS_SPEC): New macro.
3811 (ENDFILE_VXWORKS_SPEC): New macro.
3812 (LINK_START_VXWORKS_SPEC): New macro.
3813 (LINK_OS_VXWORKS_SPEC): New macro.
3814 (CPP_OS_VXWORKS_SPEC): New macro.
3815 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
3816 * vxppc.h: Rewrite to use proper configuration method.
3817 * vxppcle.h: New file.
3818 * ../../configure.in: Add powerpcle-wrs-vxworks*.
3819 * ../../configure: Rebuilt.
3821 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3823 Lots of changes to rs6000.h, sysv4.h, aix.h,
3824 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
3825 with the aim that rs6000.h is the first header
3826 included and the others override it.
3829 * x-aix41-gld: Remove.
3831 * x-aix41: Remove target-specific switches, and don't specify
3832 -Wl,-bbigtoc as we don't need it any more.
3833 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
3834 Use t-aix43 for AIX 4.3 and above.
3835 * ../../configure: Regenerated.
3837 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
3838 options, that don't do anything yet.
3839 (MASK_SCHED_PROLOG): New macro.
3840 (MASK_SCHED_EPILOG): New macro.
3841 (TARGET_SCHED_PROLOG): New macro.
3842 (TARGET_SCHED_EPILOG): New macro.
3844 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3846 * rs6000.c: Correct comment, the `minimal' TOCs are actually
3847 one per translation unit, not one per function.
3848 (output_toc): Also do duplicate constant elimination
3849 for per-translation-unit TOCs.
3851 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
3852 a comment explaining _exactly_ when this pattern gets used.
3853 (builtin_setjmp_receiver): New pattern for better clarity.
3854 (init_v4_pic): Move it into a section dealing with TOC registers.
3856 1999-12-30 Geoff Keating <geoffk@cygnus.com>
3858 * rs6000.c (toc_hash_table): New variable.
3859 (rs6000_hash_constant): New function.
3860 (toc_hash_function): New function.
3861 (toc_hash_eq): New function.
3862 (toc_hash_mark_entry): New function.
3863 (toc_hash_mark_table): New function.
3864 (output_toc): Don't output duplicate TOC entries in
3866 (rs6000_add_gc_roots): Add the hash table as a GC root.
3867 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
3868 where they clearly shouldn't be. This may need to be fixed
3869 later when there is a GNU ar for AIX.
3870 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
3871 Don't define BOOT_LDFLAGS as it is now not necessary.
3873 1999-12-29 Geoff Keating <geoffk@cygnus.com>
3875 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
3876 for va_list on AIX. Use unsigned_char_type_node rather than
3877 constructing our own version on svr4.
3879 1999-12-17 Geoff Keating <geoffk@cygnus.com>
3881 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
3882 since patently it's not.
3884 1999-12-08 Geoff Keating <geoffk@cygnus.com>
3886 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
3887 define_expand/define_insn pair, and handle restore of the
3888 SVR4 -fpic register.
3890 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
3892 * acconfig.h (HAVE_GAS_WEAK): New define.
3893 * configure.in (assembler weak support): Check for .weak support.
3894 * config.in, configure: Rebuilt.
3895 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
3896 HAVE_GAS_WEAK is defined.
3898 2000-03-15 Nick Clifton <nickc@cygnus.com>
3900 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
3903 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
3905 * cppfiles.c (open_include_file): New function.
3906 (find_include_file, cpp_read_file): Use it.
3908 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3910 * cpphash.c (dump_hash_helper): Take the slot, not the element.
3912 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
3914 * flow.c (verify_flow_info): Check for unconditional return.
3916 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
3918 * config/ia64/ia64.md (restore_stack_nonlocal): New.
3919 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
3920 (__ia64_restore_stack_nonlocal): New.
3921 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
3923 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3925 * cpphash.c (collect_formal_parameters): Do not complain about
3926 parameter names that just start with `__VA_ARGS__'.
3928 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
3930 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
3931 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
3932 * i386.c (pentiumpro_cost): Set mul cost to 4.
3933 (x86_use_movx): Set for PPro.
3935 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
3937 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
3938 STACK_BOUNDARY for empty frames now.
3940 2000-03-14 Mark Mitchell <mark@codesourcery.com>
3942 * stor-layout.c (layout_union): Remove.
3943 (layout_union_field): New function, split out from layout_union.
3944 (finish_union_layout): Likewise.
3945 (layout_field): Handle unions by calling layout_union_field.
3946 (finish_record_layout): Handle unions.
3947 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
3948 QUAL_UNION_TYPE handling.
3950 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
3952 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
3953 end of basic block is jump_insn, not barrier; use create_basic_block
3954 instead of creating basic block by hand.
3956 2000-03-14 Jason Eckhardt <jle@cygnus.com>
3958 * flow.c (reorder_basic_blocks): Account for barriers when writing
3959 over NEXT_INSN (last_bb->end).
3960 (verify_flow_info): Add check for missing barriers.
3962 2000-03-14 Greg McGary <gkm@gnu.org>
3964 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
3965 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
3966 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
3967 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
3968 __unbounded, __unbounded__): New keywords.
3969 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
3970 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
3971 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
3973 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
3975 * cselib.h: New file.
3976 * alias.c: Include "cselib.h".
3977 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
3978 MEMs as two new arguments.
3979 (get_addr): New static function.
3980 (find_base_term): Handle VALUEs.
3981 (memrefs_conflict_p): Likewise.
3982 (true_dependence): Call get_addr on the addresses.
3983 Call fixed_scalar_and_varying_struct_p with addresses that have been
3984 passed through get_addr and canon_rtx.
3985 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
3986 with true_dependence.
3987 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
3988 * loop.c: Include "cselib.h".
3989 (load_mems): Process extended basic block that enters the loop with
3990 cselib. Use that information to change initialization of the shadow
3991 register so that a constant equivalence is seen by later passes.
3992 * reload1.c: Include "cselib.h".
3993 (reload_cse_invalidate_regno): Delete function.
3994 (reload_cse_mem_conflict_p): Likewise.
3995 (reload_cse_invalidate_mem): Likewise.
3996 (reload_cse_invalidate_rtx): Likewise.
3997 (reload_cse_regno_equal_p): Likewise.
3998 (reload_cse_check_clobber): Likewise.
3999 (reload_cse_record_set): Likewise.
4000 (reg_values): Delete static variable.
4001 (invalidate_regno_rtx): Likewise.
4002 (reload_cse_delete_noop_set): New static function.
4003 (reload_cse_simplify): New static function, broken out of
4005 (reload_cse_noop_set_p): Delete unused argument INSN.
4006 Just call rtx_equal_for_cselib_p on set source and destination.
4007 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4008 reload_cse_delete_noop_set. Delete code to keep track of values; use
4009 cselib functions instead. Delete code to push/pop obstacks.
4010 (reload_cse_simplify_set): Use cselib to find equivalent values.
4011 Delete code to push/pop obstacks.
4012 (reload_cse_simplify_operands): Likewise.
4013 * rtl.def (VALUE): New rtx code.
4014 * rtl.h (union rtunion_def): New elt rt_cselib.
4015 (X0CSELIB, CSELIB_VAL_PTR): New macros.
4016 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4017 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4018 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4019 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4020 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4021 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4022 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4023 cselib_record_set, cselib_record_sets): New static functions.
4024 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4025 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4026 references_value_p): New functions.
4027 (MAX_USELESS_VALUES, REG_VALUES): New macros.
4028 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4029 n_useless_values, reg_values, callmem, cselib_obstack,
4030 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4031 New static variables.
4032 * varray.h (union varray_data_tag): New elt te.
4033 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4034 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4037 2000-03-14 Nick Clifton <nickc@cygnus.com>
4039 * gcc.c (do_spec_1): Catch the case where %* is used in a
4040 substitution pattern, but it has not been initialised.
4041 Issue a meaningful error message if an unrecognised operator
4042 is encountered in a spec string.
4044 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
4046 * function.c (prepare_function_start): Correctly initialize
4047 cfun->stack_alignment_needed.
4049 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
4051 * cppfiles.c (find_include_file): Don't assume nshort is a
4054 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
4056 * configure.in (hppa configurations): Add pa32-regs.h to the
4057 list of tm files as appropriate.
4058 * configure: Rebuilt.
4059 * pa.c (compute_frame_size): Remove explicit knowledge about FP
4061 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4062 (fmpyaddoperands, fmpysuboperands): Likewise.
4063 * pa.h: Remove various definitions which depend on knowing
4064 how registers are numbered.
4065 * pa32-regs.h: New file with PA32 register numbering specific
4068 2000-03-14 Richard Henderson <rth@cygnus.com>
4070 * regmove.c (combine_stack_adjustments): New.
4071 (stack_memref_p, single_set_for_csa): New.
4072 (free_csa_memlist, record_one_stack_memref): New.
4073 (try_apply_stack_adjustment): New.
4074 (combine_stack_adjustments_for_block): New.
4075 * rtl.h (combine_stack_adjustments): Declare.
4076 * toplev.c (rest_of_compilation): Call it.
4078 * i386.md: Revert 2000-01-16 change.
4080 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4082 * gccbug.in: Add web category, gcc specific classes.
4084 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
4086 * stor-layout.c (finalize_record_size): Fix typo.
4088 2000-03-14 Stan Shebs <shebs@apple.com>
4090 * c-typeck.c (c_alignof): Error on incomplete types.
4091 * extend.texi (Alignment): Document this.
4093 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4095 * cppfiles.c: Include mkdeps.h.
4096 (find_include_file, read_include_file): Remove _cpp_ prefix
4097 from name, make static.
4098 (_cpp_execute_include): New function, broken out of
4101 * cpplib.c: Don't include mkdeps.h.
4102 (struct directive): Remove type field. Reorder entries. The
4103 function takes only one argument.
4104 (struct if_stack): Make type field an int.
4105 (directive_table): Rename to dtable. Generate it, the
4106 prototypes of the directive handlers, and the enum for the
4107 directive numbers, from a template macro.
4108 (do_ifndef, do_include_next, do_import): New functions.
4109 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4110 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4111 do_ident, do_assert, do_unassert, do_sccs): Take only one
4113 (do_sccs): Define always, but alter behavior based on
4115 (_cpp_handle_directive, consider_directive_while_skipping):
4116 Restructure for new directive table layout.
4118 (pass_thru_directive): Take a directive number, not a pointer
4119 to a struct directive.
4120 (parse_include): New function, broken out of do_include.
4121 (do_include, do_import, do_include_next): Use parse_include
4122 and _cpp_execute_include.
4123 (do_elif, do_else): Test for T_ELSE specifically when checking
4124 for #elif/#else after #else.
4125 (parse_ifdef): New function, broken out of do_ifdef.
4126 (validate_else): Expect a name arg without a leading #.
4127 (if_directive_name): Delete.
4128 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4129 directive handlers with only one argument.
4131 * cpphash.h: Update prototypes.
4132 (enum node_type): Remove entries for directives.
4133 * Makefile.in: Update dependencies.
4135 * cpphash.c (dump_hash_helper): Only dump nodes of type
4136 T_MACRO. Emit a newline after each definition.
4138 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4140 * gccbug.in: New file.
4141 * configure.in (all_outputs): Add gccbug.
4142 * Makefile.in (install-common): Install gccbug.
4143 (GCCBUG_INSTALL_NAME): New variable.
4144 * configure: Rebuilt.
4146 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4148 * function.c (put_var_into_stack): Use type_for_mode to calculate
4149 part_type. Use MEM_SET_IN_STRUCT_P.
4150 * expr.c (store_field): Handle CONCAT.
4151 (store_constructor): Use fields_length.
4152 * tree.c (fields_length): New fn.
4153 * tree.h: Declare it.
4155 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4157 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4158 (cpplex.o): New target.
4159 * po/POTFILES.in: Add cpplex.c.
4161 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4162 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4163 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4164 skip_block_comment, skip_line_comment, skip_comment,
4165 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4166 _cpp_parse_name, skip_string, parse_string,
4167 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4168 _cpp_get_directive_token, find_position,
4169 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4170 (maybe_macroexpand, _cpp_lex_token): New functions.
4172 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4173 parse_goto_mark): Delete.
4174 (_cpp_handle_eof): New function.
4175 (_cpp_handle_directive): Rename from handle_directive.
4176 (_cpp_output_line_command): Rename from output_line_command.
4177 (do_if, do_elif): Call _cpp_parse_expr directly.
4178 * cppfiles.c (_cpp_read_include_file): Don't call
4179 init_input_buffer here.
4180 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4181 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4182 here; pop the token_buffer and skip the rest of the line here.
4183 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4186 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4188 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4189 CPP_GOTO_MARK): New macros.
4190 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4191 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4192 _cpp_read_and_prescan, _cpp_init_input_buffer,
4193 _cpp_grow_token_buffer, _cpp_get_directive_token,
4194 _cpp_handle_directive, _cpp_handle_eof,
4195 _cpp_output_line_command): Prototype them here.
4196 * cpplib.h (enum cpp_token): Add CPP_MACRO.
4197 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4198 quote_string, output_line_command): Remove.
4200 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
4202 * stmt.c (expand_end_case): RANGE may be signed, and when checking
4203 whether it is too large we must also verify that it isn't negative.
4205 2000-03-13 Jakub Jelinek <jakub@redhat.com>
4207 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4208 (movsi_zero_liveg0): Remove.
4209 (movsf_insn_novis_liveg0): Remove.
4211 (negsi2_not_liveg0): Rename to negsi2.
4212 (one_cmplsi2): Remove.
4213 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4214 (one_cmplsi2_liveg0): Remove.
4215 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4216 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4217 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4218 (PREDICATE_CODES): Remove zero_operand.
4219 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4220 TARGET_BROKEN_SAVERESTORE.
4221 (zero_operand): Remove.
4222 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4223 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4225 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4226 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4227 TARGET_BROKEN_SAVERESTORE): Remove.
4228 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4230 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4232 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4235 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4237 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4239 * cpplib.c (do_pragma_implementation): Fix off-by-one error
4240 truncating a string. Don't assume tokens are nul terminated.
4241 Problem noted by Andreas Jaeger <aj@suse.de>
4243 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4245 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4246 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4247 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4249 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
4251 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4252 STRUCTURE_SIZE_BOUNDARY.
4254 2000-03-13 Mark Mitchell <mark@codesourcery.com>
4256 * tree.h (record_layout_info_s): New structure.
4257 (record_layout_info): New type.
4258 (new_record_layout_info): New function.
4259 (layout_field): Likewise.
4260 (finish_record_layout): Likewise.
4261 * stor-layout.c (layout_record): Remove.
4262 (new_record_layout_info): New function.
4263 (layout_field): New function, broken out from layout_record.
4264 (finalize_record_size): Likewise.
4265 (compute_record_mode): Likewise.
4266 (finalize_type_size): New function, broken out from layout_type.
4267 (finish_record_layout): Likewise.
4268 (layout_type): Use them.
4270 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4272 * cpphash.c: Don't include version.h.
4273 (special_symbol) [case T_VERSION]: Look for the string in
4274 hp->value.cpval; don't use version_string.
4275 * cppinit.c (initialize_builtins): Set hp->value.cpval for
4276 __VERSION__ to version_string.
4277 * Makefile.in (cpphash.o): Update deps.
4279 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4281 Convert cpplib to use libiberty/hashtab.c.
4283 * cpplib.h (struct cpp_reader): Make hashtab and
4284 all_include_files of type 'struct htab *'. Delete HASHSIZE
4285 and ALL_INCLUDE_HASHSIZE macros.
4287 * cpphash.h: Update prototypes.
4288 (struct hashnode): Remove next, prev, and bucket_hdr members.
4289 Make length a size_t. Add hash member.
4290 (struct ihash): Remove next member. Add hash member. Make
4291 name a flexible array member.
4293 * cppfiles.c: Include hashtab.h.
4294 (include_hash): Delete.
4295 (IHASHSIZE): New macro.
4296 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4297 (cpp_included): Do the hash lookup here.
4298 (_cpp_find_include_file): Rewrite.
4299 (cpp_read_file): Put the "fake" hash entry into the hash
4300 table. Honor the control_macro, if it turns out we've seen
4301 the file before. Don't push the buffer here.
4302 (_cpp_read_include_file): Push the buffer here.
4303 (OMODES): New macro. Use it whenever we call open(2).
4305 * cpphash.c: Include hashtab.h.
4306 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4307 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4308 _cpp_lookup_slot): New functions.
4309 (HASHSIZE): new macro.
4310 (hashf, _cpp_install, _cpp_delete_macro): Delete.
4311 (_cpp_lookup): Use hashtab.h routines.
4313 * cppinit.c: Include hashtab.h.
4314 (cpp_reader_init): Call _cpp_init_macro_hash and
4315 _cpp_init_include_hash. Don't allocate hashtab directly.
4316 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4317 pfile->all_include_files.
4318 (initialize_builtins): Use _cpp_make_hashnode and
4319 htab_find_slot to add hash entries.
4320 (cpp_finish): Just call _cpp_dump_macro_hash.
4321 * cpplib.c: Include hashtab.h.
4322 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4323 create hash entries.
4324 (do_pragma_poison, do_assert): Likewise.
4325 (do_include): Don't push the buffer here. Don't increment
4326 system_include_depth unless _cpp_read_include_file succeeds.
4327 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4329 (do_pragma_implementation): Use alloca to create copy.
4331 * Makefile.in: Update dependencies.
4333 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4335 * cppinit.c (cl_directive_handler): More K&R fixing.
4337 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
4339 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4341 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4343 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4345 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4346 Change from char[] to macros.
4348 2000-03-12 Neil Booth <NeilB@earthling.net>
4350 * cppinit.c (cpp_start_read): Update indirect function
4353 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
4355 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4358 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4359 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4361 2000-03-11 Neil Booth <NeilB@earthling.net>
4363 * cppinit.c (struct pending option): Replace undef with a
4364 pointer to a directive handling routine.
4365 (struct cpp_pending): Replace separate assert_ and define_
4366 lists with one directive_ list.
4367 (new_pending_define): Rename new_pending_directive. Extra
4368 argument is the directive's handling routine.
4369 (handle_option): Update to use new_pending_directive.
4371 2000-03-11 Neil Booth <NeilB@earthling.net>
4373 * cppfiles.c (file_cleanup, _cpp_find_include_file,
4374 remap_filename, _cpp_read_include_file, actual_directory,
4375 hack_vms_include_specification): Replace bcopy(), index() etc
4376 calls. Add casts to some allocations. Make some variables
4377 pointers to const [unsigned] char.
4378 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4379 collect_formal_parameters): Similarly.
4380 * cppinit.c (struct pending_option, append_include_chain,
4381 cpp_options_init, cpp_reader_init, initialize_standard_includes,
4382 cpp_start_read, new_pending_define, handle_option): Similarly.
4383 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4384 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4385 do_pragma_implementation, detect_if_not_defined,
4386 do_ifdef, skip_if_group, cpp_get_token, parse_string,
4387 do_assert, do_unassert): Similarly.
4388 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
4389 function prototypes.
4390 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
4392 2000-03-10 Richard Henderson <rth@cygnus.com>
4394 * builtins.c (expand_builtin_strlen): Revert last change.
4395 Use emit_insn_before if we're at the beginning of a sequence.
4397 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
4399 * builtins.c (expand_builtin_strlen): Make sure that we have something
4400 at the beginning of the sequence.
4402 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4405 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4407 2000-03-10 Richard Henderson <rth@cygnus.com>
4409 * except.c (can_throw): Use INTVAL on a CONST_INT.
4410 (reachable_handlers): Likewise.
4411 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4413 2000-03-10 Andreas Jaeger <aj@suse.de>
4415 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4416 MD_STARTFILE_PREFIX since those are not needed on linux.
4417 (ASM_FILE_START): New, from mips/gnu.h.
4419 2000-03-09 Richard Henderson <rth@cygnus.com>
4420 Alex Samuel <samuel@codesourcery.com> and others
4422 * Makefile.in (ssa.o): New rule.
4424 (STAGESTUFF): Add *.ssa and *.ussa.
4425 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4426 * rtl.def (PHI): New RTL expression.
4427 * rtl.h (clear_log_links): New declaration.
4428 (convert_to_ssa): Likewise.
4429 (convert_from_ssa): Likewise.
4430 * flow.c (split_edge): If the entry node falls through to the
4431 split edge's source block, split the entry edge.
4432 (clear_log_links): New function.
4433 * toplev.c (ssa_dump): New variable.
4434 (flag_ssa): Likewise.
4435 (f_options): Add "ssa".
4436 (compile_file): Create SSA dump files.
4437 (rest_of_compilation): Go to and from SSA if enabled.
4438 (decide_d_option): Handle -de for SSA dump files.
4441 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
4443 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4446 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
4448 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4450 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
4452 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4453 (MD_STARTFILE_PREFIX_1): New macro.
4455 2000-03-09 Robert Lipe <robertl@sco.com>
4457 * config/ia64/ia64.c: Include system.h.
4459 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
4461 * except.c (nothrow_function_p): If -fno-exceptions, just return.
4462 (init_eh_nesting_info): Likewise.
4464 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4465 (TREE_NOTHROW): Rename from TREE_RAISES.
4466 * toplev.c (rest_of_compilation): Set it.
4467 * print-tree.c (print_node): Adjust.
4468 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4469 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4470 * calls.c (emit_call_1): Add 'nothrow' parm. Add
4471 REG_EH_REGION note as appropriate.
4472 (libfunc_nothrow): New fn.
4473 (emit_library_call, emit_library_call_value): Use it.
4474 (expand_call): Check TREE_NOTHROW.
4476 * varasm.c (make_decl_rtl): Skip initial '*' when setting
4477 DECL_ASSEMBLER_NAME.
4479 2000-03-09 Andreas Jaeger <aj@suse.de>
4481 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4482 (TARGET_MEM_FUNCTIONS): Define.
4484 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
4486 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4488 * except.c (can_throw): See through a SEQUENCE.
4489 (nothrow_function_p): New fn.
4490 * except.h: Declare it.
4491 * function.c (current_function_nothrow): New var.
4492 (prepare_function_start): Initialize it.
4493 * output.h: Declare it.
4494 * toplev.c (rest_of_compilation): Set it.
4495 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4497 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
4499 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4500 match. (cpp_compare_defs): Count the nul separator when
4501 advancing over argument names.
4503 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
4505 * recog.c (preprocess_constraints): Matching constraints affect
4506 same alternative/different operand, not same operand/different
4509 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4510 register and a constant specially.
4512 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4514 * libgcc2.h: New file.
4515 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4517 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
4519 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4520 * configure: Regenerate.
4523 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4525 * Makefile.in (LIBCPP_DEPS): New macro.
4526 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4528 * cpperror.c: Include cpphash.h.
4529 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
4531 (lex): Don't use CPP_WARN_UNDEF.
4532 (_cpp_parse_expr): Return an int, the truth value.
4533 * cppfiles.c: Include cpphash.h.
4534 (_cpp_merge_include_chains): Move to cppinit.c and make static.
4535 * cppinit.c (include_defaults_array): Disentangle.
4536 (cpp_cleanup): Don't free the if stack here.
4537 (cpp_finish): Pop off all buffers, not just one.
4538 * cpplib.c (eval_if_expr): Return int.
4539 (do_xifdef): Rename do_ifdef.
4540 (handle_directive): Don't use CPP_PREPROCESSED.
4541 (cpp_get_token): Don't use CPP_C89.
4542 * fix-header.c: Don't use CPP_OPTIONS.
4544 * cpplib.h: Move U_CHAR, enum node_type, struct
4545 file_name_list, struct ihash, is_idchar, is_idstart,
4546 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4547 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4548 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4549 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4550 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4551 of _cpp_simplify_pathname, _cpp_find_include_file,
4552 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4553 Move struct if_stack to cpplib.c. Move struct cpp_pending to
4555 Change all uses of U_CHAR to be unsigned char instead.
4556 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4558 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
4560 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4561 (dwarf2out_begin_prologue): Set it.
4562 (output_call_frame_info): Don't emit EH unwind info for leaves.
4564 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4565 can occur outside of an EH region.
4566 * except.c: Correct comments about rethrow behavior.
4567 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4569 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
4571 * flow.c (make_edges): Always call make_eh_edge for calls.
4573 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4575 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4576 (struct cpp_buffer): Remove fname and underflow fields.
4577 (struct cpp_reader): Remove get_token field.
4578 (struct include_hash): Rename to struct ihash. Add typedef to
4580 (struct if_stack): Remove fname field.
4581 (IF_STACK_FRAME): Rename to IF_STACK.
4583 * cpperror.c (print_containing_files): Trust that there are no
4584 macro buffers below the top file buffer.
4585 * cppfiles.c: Replace all references to 'struct include_hash'
4586 with 'IHASH'. Rename initialize_input_buffer to
4587 init_input_buffer. Don't set or reference cpp_buffer->fname,
4588 use buffer->ihash->name instead.
4589 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
4590 not CPP_NULL_BUFFER.
4591 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4592 IF_STACK_FRAME, IHASH not struct include_hash.
4593 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
4594 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
4595 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
4596 references to cpp_buffer->fname (delete entirely, or use
4597 ->ihash->name instead) and IF_STACK->fname.
4598 (cpp_push_buffer): Don't set new->underflow.
4599 (do_include): Use cpp_file_buffer.
4601 * cpphash.c (collect_formal_parameters): Remove duplicate
4602 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
4603 used as a macro argument name. Don't append "..." to namebuf
4604 for varargs macros. After we're done scanning, go through
4605 namebuf and make it NUL separated, not comma separated.
4606 (_cpp_compare_defs): Remove register tag from variables.
4607 Expect defn->argnames to be NUL separated.
4608 (_cpp_dump_definition): Expect defn->argnames to be NUL
4609 separated and in forward order.
4610 * cpphash.h: Update documentation of argnames field.
4612 2000-03-08 Richard Henderson <rth@cygnus.com>
4614 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4615 to fail. Don't pre-expand the source operand.
4617 * i386.md (strlensi): Initialize eoschar and align before use.
4619 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
4621 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4622 CONSTRUCTOR element.
4624 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
4626 * mips.c (mips_expand_prologue): If the last
4627 named argument is the vararg marker "va_list", treat it as
4628 an unnamed argument.
4630 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
4632 * dbxout.c (dbxout_parms): When correcting for promoted
4633 big-endian parameters, use the mode of the DECL_RTL rather
4634 than UNITS_PER_WORD.
4636 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
4638 * c-common.h (make_fname_decl): Declare.
4639 * c-common.c (make_fname_decl): Define.
4640 (declare_hidden_char_array): Remove.
4641 (declare_function_name): Use make_fname_decl.
4642 * c-decl.c (c_make_fname_decl): New function.
4643 (init_decl_processing): Set make_fname_decl.
4645 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
4647 * cccp.c (handle_directive): Initialize backslash_newlines_p.
4649 2000-03-07 Philipp Thomas <pthomas@suse.de>
4651 * po/POTFILES.in: Remove cppalloc.c from file list.
4653 2000-03-07 Steve Chamberlain <sac@pobox.com>
4655 * pj.c (pj_expand_prologue): current_function->args_info is
4656 now current_function_args_info.
4658 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4659 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4660 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4662 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4664 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4665 output as hexadecimal rather than the default octal.
4667 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
4669 * cpphash.c (special_symbol): Fix thinko in previous commit.
4671 2000-03-07 Neil Booth <NeilB@earthling.net>
4673 * cppexp.c (struct operation, left_shift, right_shift,
4674 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4675 "int"s to "unsigned int"s.
4676 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4678 * cpplib.h: Update for above.
4679 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4680 returned from allocations.
4682 * cppinit.c (opt_comp, parse_options): New functions.
4683 (handle_option): Use parse_option to parse a single command
4684 line option, that possibly takes an argument.
4685 (cpp_handle_options): Sort the array of command line options on
4686 first invocation (non-ASCII hosts only).
4687 (print_help): Update.
4689 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
4691 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4692 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
4694 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4696 * cppinit.c (cpp_cleanup): Free imp->nshort also.
4698 * cpperror.c (cpp_print_containing_files,
4699 cpp_print_file_and_line, v_cpp_message): Rename to
4700 print_containing_files, print_file_and_line, and v_message.
4701 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4702 to _cpp_parse_expr, parse_escape, and lex.
4703 (parse_charconst): Remove broken multibyte support.
4704 * cppfiles.c (include_hash): Make static.
4705 (cpp_included): New function.
4706 (merge_include_chains, find_include_file, finclude,
4707 simplify_pathname): Rename to _cpp_merge_include_chains,
4708 _cpp_find_include_file, _cpp_read_include_file, and
4709 _cpp_simplify_pathname.
4710 * cpphash.c (cpp_lookup, free_definition, delete_macro,
4711 cpp_install, create_definition, macroexpand, compare_defs,
4712 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4713 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4714 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4715 * cppinit.c (cpp_handle_option): Rename to handle_option, make
4717 * cpplib.c: Remove extern prototype of cpp_parse_expr.
4719 * cpphash.h: Update prototypes.
4720 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
4722 2000-03-07 Andrew Haley <aph@cygnus.com>
4724 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4725 PTRDIFF_TYPE should be based solely on Pmode.
4728 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4730 * rtl.h (rtunion_def): Constify member `rtstr'.
4731 (emit_line_note_after, emit_line_note, emit_line_note_force,
4732 emit_note, decode_asm_operands): Constify.
4734 * cse.c (canon_hash): Likewise.
4736 * dbxout.c (dbxout_block): Likewise.
4738 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
4739 v_warning_for_asm): Likewise.
4741 * dwarfout.c (function_start_label): Likewise.
4743 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
4744 emit_line_note_force): Likewise.
4746 * final.c (last_filename, asm_insn_count, final_scan_insn,
4747 output_source_line): Likewise.
4749 * function.h (struct emit_status): Likewise.
4751 * gcse.c (hash_expr_1): Likewise.
4753 * genattr.c (gen_attr, main): Likewise.
4755 * genattrtab.c (struct function_unit, current_alternative_string,
4756 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
4757 attr_numeral, check_attr_test, check_attr_value,
4758 convert_set_attr_alternative, convert_set_attr,
4759 compute_alternative_mask, simplify_by_exploding, gen_attr,
4760 gen_unit): Likewise.
4762 * genflags.c (gen_insn): Likewise.
4764 * gengenrtl.c (type_from_format): Likewise.
4766 * genopinit.c (gen_insn): Likewise.
4768 * genoutput.c (n_occurrences, process_template, process_template):
4771 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4774 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4777 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
4778 ggc_set_mark, ggc_get_size): Likewise.
4780 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
4782 * optabs.c (init_one_libfunc): Likewise.
4784 * output.h (assemble_start_function): Likewise.
4786 * recog.c (decode_asm_operands): Likewise.
4788 * toplev.c (rest_of_compilation): Likewise.
4790 * tree.h (emit_line_note_after, emit_line_note,
4791 emit_line_note_force): Likewise.
4793 * varasm.c (asm_output_bss, asm_output_aligned_bss,
4794 asm_emit_uninitialised, assemble_start_function,
4795 assemble_variable, const_hash, compare_constant_1,
4796 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
4798 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
4800 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
4802 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
4804 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
4806 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
4807 arm_dllimport_name_p): Likewise.
4809 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
4812 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
4814 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4816 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
4817 arm_mark_dllexport, arm_mark_dllimport,
4818 arm_pe_encode_section_info): Likewise.
4820 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
4821 ASM_FINISH_DECLARE_OBJECT): Likewise.
4823 * arm/thumb.c (thumb_function_prologue): Likewise.
4825 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
4827 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4829 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
4831 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
4833 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4835 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4837 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
4838 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
4840 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
4842 * i386/i386.c (asm_output_function_prefix): Likewise.
4844 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
4846 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4848 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
4850 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
4851 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
4852 ASM_OUTPUT_SECTION_NAME): Likewise.
4854 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
4856 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
4858 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
4860 * m32r/m32r.c (m32r_encode_section_info): Likewise.
4862 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4864 * mcore/mcore.c (mcore_encode_section_info): Likewise.
4866 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4868 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4870 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4872 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
4874 * mips/mips.md (movdi, movsi): Likewise.
4876 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4878 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4880 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4882 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
4883 ASM_OUTPUT_ASCII): Likewise.
4885 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
4886 output_mi_thunk, output_toc): Likewise.
4888 * rs6000/rs6000.md (movsi): Likewise.
4890 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
4892 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
4894 * v850/v850.c (print_operand, print_operand_address,
4895 v850_encode_data_area): Likewise.
4897 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
4899 * config/mips/mips.md (zero_extendsidi2): Always force operand
4900 one to memory for mips16.
4902 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4904 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
4905 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
4906 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
4907 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
4908 (min_precision): Result is unsigned.
4909 (add_double, neg_double, mul_double): Low word is unsigned.
4910 (lshift_double, rshift_double, lrotate_double): Likewise.
4911 (rrotate_double, div_and_round_double): Likewise.
4912 (tree_floor_log2, compare_tree_int): New functions.
4913 (preserve_rtl_expr_temps): New declaration.
4914 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
4915 (decl_attributes): Use tree_log2 to find alignment.
4916 Check for TREE_INT_CST_HIGH for format args.
4917 (min_precision): Now unsigned.
4918 Use tree_floor_log2.
4919 (truthvalue_conversion): Delete long-disabled code.
4920 * c-decl.c (finish_struct): Clean up tests on field width.
4921 (finish_function): Use compare_tree_int.
4922 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
4923 * c-typeck.c (comptypes): Use tree_int_cst_equal.
4924 (default_conversion, digest_init): Use compare_tree_int.
4925 (build_binary_op): Use integer_all_onesp and compare_tree_int.
4926 Fix type errors in forming masks.
4927 * calls.c (initialize_argument_information): Use compare_tree_int.
4928 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
4929 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
4930 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
4931 (store_field): Use compare_tree_int.
4932 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
4933 (expand_expr, case ARRAY_REF): Use compare_tree_int.
4934 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
4935 (do_store_flag): Use compare_tree_int.
4936 * fold-const.c (encode, decode): Low part is always unsigned.
4937 (force_fit_type, add_double, neg_double, mul_double): Likewise.
4938 (lshift_double, rshift_double, lrotate_double): Likewise.
4939 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
4940 (fold_convert): Use compare_tree_int.
4941 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
4942 (invert_truthvalue, case INTEGER_CST): Likewise.
4943 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
4944 * mkdeps.c (deps_dummy_targets): Make I unsigned.
4945 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
4946 (lshift_double, rshift_double, lrotate_double, rrotate_double):
4948 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
4949 (expand_end_case): Use compare_tree_int.
4950 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
4951 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
4952 (layout_decl): Likewise.
4953 (layout_record, layout_union): Make sizes unsigned.
4954 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
4955 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
4956 * tree.c (struct type_hash): hashcode is unsigned.
4957 (build_type_attribute_variant, type_hash_list): Likewise.
4958 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
4959 (attribute_hash_list, build_array_type, build_method_type): Likewise.
4960 (build_complex_type): Likewise.
4961 (real_value_from_int_cst): Remove unneeded casts.
4962 (integer_all_onesp): Add casts.
4963 (tree_floor_log2, compare_tree_int): New functions.
4964 (build_index_type): Use tree_int_cst_sgn.
4965 * varasm.c (assemble_variable): Use compare_tree_int.
4967 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
4969 * cpphash.c (collect_expansion): Also catch ## at start of macro.
4971 * varasm.c (make_decl_rtl): Don't add a number to members of
4973 (make_function_rtl): Likewise.
4975 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4977 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
4978 patch from 2000-01-28.
4980 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
4982 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
4983 filled with an insn from the jump target.
4985 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4987 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
4988 (c4x_external_ref): Likewise.
4989 * config/c4x/c4x.c (struct name_list): Likewise.
4991 1999-12-16 Ben Collins <bcollins@debian.org>
4993 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
4994 argument to genmultilib.
4995 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
4996 the contents into the multilib.h header.
4997 * gcc.c: Declare multilib_exclusions for the specs file.
4998 (set_multilib_dir): Use it.
4999 (print_multilib_info): Likewise.
5000 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5001 to pass to genmultilib.
5003 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5005 * builtins.c (built_in_class_names, built_in_names): Constify a
5008 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5010 (_mcleanup): Ensure value matches format specifier in sprintf.
5012 * cpphash.c (special_symbol): Don't needlessly cast away
5015 * cppinit.c (base_name): Delete unused prototype.
5017 * mkdeps.c (deps_init): Make definition K&R safe.
5019 * tree.h (built_in_class_names, built_in_names): Constify a
5022 2000-03-06 Jakub Jelinek <jakub@redhat.com>
5024 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5025 floating point instructions for epilogue delay.
5027 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5028 to gas if it supports .register pseudo.
5030 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5031 LONG_DOUBLE_TYPE_SIZE if not defined.
5032 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5033 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5035 * gengenrtl.c: Likewise.
5036 * print-rtl.c: Likewise.
5038 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5039 MASK_LONG_DOUBLE_128.
5040 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5041 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5042 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5043 (SUBTARGET_SWITCHES): Define.
5044 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5045 with -mlong-double-128.
5046 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5047 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5048 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5049 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5050 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5051 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5052 with -mlong-double-128.
5053 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5054 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5055 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5056 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5057 TARGET_LONG_DOUBLE_128): Define.
5058 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5059 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5060 long double on TARGET_ARCH64.
5062 2000-03-06 Mark Mitchell <mark@codesourcery.com>
5064 * function.c (free_temps_for_rtl_expr): Don't free slots
5065 that have been pushed into a higher level.
5068 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5070 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5072 * basic-block.h (ALLOCA_REG_SET): Remove.
5073 (INITIALIZE_REG_SET): New macro.
5074 * flow.c (update_life_info): Use it.
5075 (calculate_global_regs_live): Likewise.
5076 (propagate_block): Likewise.
5077 * global.c (build_insn_chain): Likewise.
5078 * haifa-sched.c (schedule_region): Likewise.
5080 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
5082 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5083 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5084 (DWARF_ARANGES_PAD_SIZE): New define.
5085 (output_aranges): Use it to pad the address range header.
5086 (DWARF_ROUND): Fix for non power of 2 rounding.
5088 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
5090 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5092 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5094 * tree.def (RTL_EXPR): Update documentation.
5095 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5096 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5097 * function.c (preserve_rtl_expr_temp): New function.
5098 (preserve_rtl_expr_temps): Likewise.
5099 (preserve_rtl_expr_result): Use it.
5102 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5104 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
5106 * regmove.c (copy_src_to_dest) Do not create src->dest move
5107 for unchanging destination.
5109 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5111 * function.h (struct sequence_stack): Remove rtl_expr.
5112 (struct emit_staus): Likewise.
5113 (seq_rtl_expr): Remove.
5114 * tree.h (free_temps_for_rtl_expr): Don't declare.
5115 (start_sequence_for_rtl_expr): Likewise.
5116 * rtl.h (preserve_rtl_expr_result): Likewise.
5117 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5118 (start_sequence_for_rtl_expr): Remove.
5119 (push_topmost_sequence): Don't save sequence_rtl_expr.
5120 (pop_topmost_sequence): Remove comment about not restoring it.
5121 (end_sequence): Don't set seq_rtl_expr.
5122 (init_emit): Don't initialize it.
5123 (mark_sequence_stack): Don't mark it.
5124 (mark_emit_status): Likewise.
5125 * except.c (protect_with_terminate): Use
5126 start_sequence_for_rtl_expr, not start_sequence.
5127 * expr.c (expand_expr, case RTL_EXPR): Don't call
5128 preserve_rtl_expr_result or free_temps_for_rtl_expr.
5129 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5130 (preserve_rtl_expr_result): Remove.
5131 (free_temps_for_rtl_expr): Likewise.
5132 (pop_temp_slots): Likewise.
5133 (mark_temp_slot): Don't mark the rtl_expr.
5134 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5135 start_sequence_for_rtl_expr.
5137 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
5139 * mkdeps.c, mkdeps.h: New files.
5140 * po/POTFILES.in: Add them.
5141 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5142 (cpplib.o, cppinit.o): Depend on mkdeps.h.
5143 (mkdeps.o): New target.
5145 * cppfiles.c: Delete deps_output.
5146 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
5147 OBJECT_SUFFIX, and base_name.
5148 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
5150 (initialize_dependency_output): Use deps_init,
5151 deps_add_target, deps_calc_target, and deps_add_dep. Remove
5152 all the unnecessary string bashing.
5153 (cpp_finish): Use deps_write. Remove an unnecessary nesting
5155 * cpplib.c (do_include): Use deps_add_dep.
5156 * cpplib.h (struct cpp_reader): Replace deps_buffer,
5157 deps_allocated_size, deps_size, deps_column members with
5158 single pointer to a struct deps. Delete prototype of
5161 * cppinit.c: Fix thinko in previous patch.
5163 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5165 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5166 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5167 (mode_for_size_tree): New function.
5168 (layout_decl, layout_type): Call it and clean up BLKmode checks.
5169 * tree.h (mode_for_size_tree): New declaration.
5171 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5173 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
5175 * stmt.c (is_body_block): Move...
5176 * dwarfout.c, dwarf2out.c: ...from here.
5177 * tree.h: Declare it.
5178 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5179 * final.c (final_start_function): Do call remove_unnecessary_notes
5182 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5184 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5186 * cpplib.h (_dollar_ok): New macro.
5187 (is_idchar, is_idstart): Use it.
5188 (IStable): Rename to _cpp_IStable. Declare it const if
5189 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
5190 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5191 is_space): Update for renamed IStable.
5193 * cppinit.c: Delete all references to FAKE_CONST and CAT
5194 macros. Define init_IStable as empty macro if gcc >=2.7 or
5195 C99. Change TABLE() to ISTABLE and hardcode name of table.
5196 (cpp_start_read): Don't change the IStable based on
5199 * cpphash.c (unsafe_chars): Add pfile argument. All callers
5200 changed. Handle '$' for char1 correctly.
5201 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5203 * cppexp.c (tokentab2): Make const.
5204 (cpp_lex): Make toktab const.
5205 * cppinit.c (include_defaults_array): Make const.
5206 (initialize_standard_includes): Make default_include const.
5208 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5210 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5211 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5212 (gen_decl_die): Likewise.
5213 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5214 (output_decl): Likewise.
5216 * varasm.c (make_function_rtl): If we change the name used in the
5217 rtl, update DECL_ASSEMBLER_NAME accordingly.
5218 (make_decl_rtl): Likewise.
5220 * toplev.c (rest_of_compilation): Tweak formatting.
5222 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5223 remove_unnecessary_notes.
5224 (debug_ignore_block): New fn.
5225 * toplev.h: Declare it.
5226 * emit-rtl.c (remove_unncessary_notes): Call it.
5227 * dwarf2out.c (dwarf2out_ignore_block): New fn.
5228 * dwarf2out.h: Declare it.
5229 * final.c (final_start_function): Don't call remove_unnecessary_notes
5230 if we did insn scheduling.
5232 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5234 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5235 * cpplib.h: Delete SET_CPP_PEDANTIC.
5237 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5239 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5240 result is a RECORD_TYPE.
5242 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
5244 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5246 2000-03-03 Richard Henderson <rth@cygnus.com>
5248 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5249 addition over compliments over shifts.
5251 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5253 * reload1.c (reload_combine_note_use): Handle return register USEs.
5254 REG case: Handle multi-hard-register hard regs.
5256 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5258 * md.texi: Document use of '*' in insn pattern name.
5260 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5262 * calls.c (special_function_p): operator new may not be malloc-like.
5264 * gcse.c (dump_hash_table): Really fix error in last change.
5266 2000-03-02 Denis Chertykov <denisc@overta.ru>
5268 * avr.c (print_operand): Use print_operand_address instead of
5270 * avr/libgcc.S: Cleanup code.
5272 2000-03-02 Richard Henderson <rth@cygnus.com>
5274 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5276 2000-03-02 Mark Mitchell <mark@codesourcery.com>
5278 * tree.h (TYPE_ALIGN_UNIT): New macro.
5280 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
5282 * i386.c: (constant_call_address_operand): Reject CONST_INT.
5284 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
5286 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5288 (SET_CPP_PEDANTIC): New macro.
5289 * cpplib.c (do_include): Don't bother checking system_header_p.
5290 (do_warning, do_ident, do_assert, do_unassert): Likewise.
5291 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5293 * function.h (struct expr_status): Add x_arg_space_so_far.
5294 (arg_space_so_far): New macro.
5295 * expr.c (init_expr): Initialize it.
5296 * calls.c (emit_call_1): Reset it.
5297 (compute_argument_block_size, expand_call): Use it.
5298 (expand_call, store_one_arg): Increment it.
5300 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5302 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5305 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
5307 * cppfiles.c (cpp_read_file): New function.
5309 * cpphash.c (collect_expansion): Make sure to reset last_token
5310 to NORM when we hit a string. Handle trailing whitespace
5311 properly when the expansion is empty.
5312 (create_definition): Disable line commands while parsing the
5314 (dump_definition): If pfile->lineno == 0, output a line
5315 command ahead of the dump, and add a trailing newline.
5317 * cppinit.c (append_include_chain): Add fifth argument, which
5318 indicates whether or not system headers are C++ aware.
5319 (initialize_standard_includes): New function,
5320 broken out of read_and_prescan. Pass 'cxx_aware' value from
5321 the include_defaults_array on to append_include_chain.
5322 (dump_special_to_buffer): Const-ify char array.
5323 (builtin_array): Don't dump __BASE_FILE__.
5324 (cpp_start_read): Use cpp_read_file. Reorder code for
5325 clarity. Don't output line commands here for -D/-A/-U
5326 switches. Don't call deps_output for files included with
5327 -include or -imacros.
5329 * cpplib.c (do_define): Don't pay any attention to the second
5331 (cpp_expand_to_buffer): Disable line commands while scanning.
5332 (output_line_command): Work in the file buffer.
5333 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5334 Fix formatting of comments. Prototype cpp_read_file.
5336 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5338 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5339 reference the language-equivalent of sizetype.
5340 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5341 * fold-const.c (size_binop, size_diffop): Put back checks.
5342 * gcse.c (dump_hash_table): Fix minor error in last change.
5343 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5344 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5347 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
5349 * calls.c (expand_call) Do not attempt to combine stack adjustments
5350 with inhibit_defer_pop set.
5352 2000-03-01 Mark Mitchell <mark@codesourcery.com>
5354 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5355 the DECL_SIZE for a FIELD_DECL.
5357 2000-03-01 Bruce Korb <bkorb@gnu.org>
5359 * fixinc/inclhack.tpl: remove unused symlinks
5360 * fixinc/README: GCC Maintainer info
5361 * fixinc/inclhack.sh: regen
5362 * fixinc/fixincl.sh: regen
5364 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
5366 * cpphash.c (collect_expansion): Trim trailing white space
5367 from macro definitions, but don't go past the last insertion
5370 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
5372 * i386.md (mulqi3): New pattern.
5374 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
5376 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5378 (struct cpp_reader): Add parsing_if_directive and
5379 parsing_define_directive flags.
5380 (struct cpp_options): Remove output_conditionals flag.
5381 (check_macro_name): Delete prototype.
5383 * cpphash.h (struct macrodef): Delete.
5384 (struct reflist): Separate from struct definition.
5385 (struct definition): Remove unused fields. Add column number.
5386 (create_definition): Returns a DEFINITION *. Takes a
5387 cpp_reader * and an int.
5389 * cpphash.c (SKIP_WHITE_SPACE): Delete.
5390 (PEEKC): Copy defn from cpplib.c.
5391 (rest_extension, REST_EXTENSION_LENGTH): Delete.
5393 (struct arglist): Simplify.
5394 (collect_expansion): Rewrite. Get tokens by calling
5395 cpp_get_token. Add more error checking.
5396 (collect_formal_parameters): New function, broken out of
5397 create_definition and reworked to use get_directive_token.
5398 (create_definition): All real work is now in collect_expansion
5399 and collect_formal_parameters. do_define handles finding the
5400 macro name. Return a DEFINITION, not a MACRODEF.
5401 (macroexpand): Replace bcopy with memcpy throughout. Replace
5402 character-at-a-time copy loop with memcpy and pointer increments.
5403 (compare-defs): d1->argnames / d2->argnames might be null.
5405 * cpplib.c (copy_rest_of_line): Delete function.
5406 (skip_rest_of_line): Do all the work ourselves.
5407 (skip_string): New function.
5408 (parse_string): Use skip_string.
5409 (get_macro_name): New function.
5410 (check_macro_name): Delete.
5411 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5412 (cpp_skip_hspace): Use CPP_BUMP_LINE.
5413 (handle_directive): ICE if we're called on a macro buffer.
5414 (do_define): Determine macro name and type (funlike/objlike)
5415 here. Expunge all uses of MACRODEF.
5416 (cpp_push_buffer): Set line_base to NULL.
5417 (do_undef, read_line_number): Don't worry about getting a POP token.
5418 (eval_if_expression): Set/reset parsing_if_directive around
5419 cpp_parse_expr. Don't clear only_seen_white.
5420 (skip_if_group): Remove output_conditionals logic. Use
5422 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5423 tokens under appropriate conditions.
5424 (cpp_unassert): Call do_unassert not do_assert. Oops.
5426 * cppexp.c (parse_defined): New function, break out of
5428 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5429 ourselves, with cpp_defined.
5430 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5432 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5433 * gcc.dg/strpaste-2.c: New.
5435 2000-02-29 Mark Mitchell <mark@codesourcery.com>
5437 * fold-const.c (size_binop): Don't asert inputs are the same and
5438 have TYPE_IS_SIZETYPE set.
5439 (size_diffop): Likewise.
5441 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
5443 * dwarfout.c (output_block): Output abstract blocks even if they
5444 don't have TREE_ASM_WRITTEN set.
5446 * calls.c (emit_library_call): Check for null REG.
5448 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
5450 * c-decl.c (current_function_decl): Move to toplev.c.
5451 (init_decl_processing): Don't add current_function_decl as a ggc
5453 * dbxout.c (dbxout_symbol): Change return type to int.
5454 (dbxout_symbol_location, dbxout_syms): Likewise.
5455 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5456 any locals. Use current_function_func_begin_label if set.
5457 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5458 * dwarf2out.c (dwarf2out_begin_prologue): Set
5459 current_function_func_begin_label.
5460 * final.c (final_start_function): Reset it.
5461 * toplev.c (current_function_decl): Define it here.
5462 (current_function_func_begin_label): New variable.
5463 (main): Add both as ggc roots.
5464 * tree.h (current_function_func_begin_label): Declare.
5466 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5468 * gcse.c: Cleanups throughout: mostly white-space, but also
5469 some minor rearrangement of code.
5471 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
5473 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5474 returns a PARALLEL. Use emit_group_load and use_group_regs
5476 (emit_library_call_value): Similarly.
5478 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5479 * pa/quadlib.asm: Remove.
5480 * pa/quadlib.c: New file.
5482 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5483 * configure: Rebuilt.
5485 2000-02-29 Philip Blundell <pb@futuretv.com>
5487 * config/arm/conix-elf.h: New file.
5488 * configure.in (arm*-*-conix*): New configuration.
5489 * configure: Regenerate.
5491 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
5493 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5494 don't have TREE_ASM_WRITTEN set.
5496 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5498 * Eliminate DECL_FIELD_SIZE.
5499 * builtins.c (built_in_class_names, built_in_names): New variables.
5500 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5501 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5502 DECL_SIZE, not DECL_FIELD_SIZE.
5503 * print-tree.c (print_node): Remove code that prints extra blank
5504 lines in some cases.
5505 Properly handle inline and builtin function cases.
5506 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5507 * tree.h (built_in_class_named, built_in_names): New declarations.
5508 (union tree_decl): Rename internal unions to u1 and u2 and change
5509 some of their components.
5510 Add new field built_in_class.
5511 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5512 Reflect above changes.
5513 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5514 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5515 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5516 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5518 2000-02-28 Dmitri Makarov <dim@windriver.com>
5520 * extend.texi: Document ARM's support for long/short calls.
5522 * invoke.texi: Document ARM's -mlong-calls command line switch.
5524 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5525 (arm_encode_call_attribute): Add prototype.
5526 (arm_set_default_type_attribute): Add prototype.
5527 (arm_strip_name_encoding): Add prototype.
5529 * config/arm/arm.c (arm_init_cumulative_args): replace
5530 initialisation og 'long_calls' field with initialisation of
5531 'call_cookie' field.
5532 (enum arm_pragma_enum): New enum.
5533 (arm_pragma_long_calls): New static variable.
5534 (arm_process_pragma): Also process "#pragma long_calls_off".
5535 (arm_valid_type_attribute_p): Accept short_call attribute.
5536 (arm_comp_type_attributes): Check long/short call attributes.
5537 (arm_encode_call_attribute): New function: Encode long_call
5538 or short_call attribute in function name.
5539 (arm_set_default_type_attributes): New function: Assign
5540 default attributes to newly defined type.
5541 (current_file_function_operand): New function: Return true if
5542 the symbol is a function which has already been compiled.
5543 (arm_is_longcall_p): New function: Return true if the
5544 indicated function should be called via a long call.
5545 (arm_get_strip_length): New function. Returns number of
5546 prefix characters to be stripped from a function's name.
5547 (arm_strip_name_encoding): New function. Strip prefix characters
5548 from a function's name.
5550 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5552 (SHORT_CALL_FAG_CHAR): Define.
5553 (LONG_CALL_FAG_CHAR): Define.
5554 (ENCODED_SHORT_CALL_ATTR_P): Define.
5555 (ENCODED_LONG_CALL_ATTR_P): Define.
5556 (ARM_NAME_ENCODING_LENGTHS): Define.
5557 (STRIP_NAME_ENCODING): Define.
5558 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5559 (ARM_ENCODE_CALL_TYPE): Define.
5560 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5561 (ARM_DECLARE_FUNCTION_SIZE): Define.
5562 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5564 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5565 if a long call is needed.
5566 (call_value): Ditto.
5567 (call_symbol): Ditto.
5569 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5570 ARM_DECLARE_FUNCTION_SIZE.
5572 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5573 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5574 (ARM_STRIP_NAME_ENCODING): Undefine.
5575 (STRIP_NAME_ENCODING): Undefine.
5576 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5577 (ASM_DECLARE_FUNCTION_NAME): Ditto.
5578 (ASM_OUTPUT_COMMON): Ditto.
5579 (ASM_DECLARE_OBJECT_NAME): Ditto.
5581 * config/arm/pe.c (arm_dllexport_name_p): Check for
5583 (arm_dllimport_name_p): Ditto.
5584 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5585 (arm_mark_dllimport): Ditto.
5587 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5589 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5591 2000-02-28 Mark Mitchell <mark@codesourcery.com>
5593 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5595 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
5597 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5598 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5599 NO_BUILTIN_WCHAR_TYPE is not defined.
5600 (CPP_WCHAR_TYPE): Delete.
5601 * cccp.c (main): Don't change wchar_type if cplusplus.
5602 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5604 2000-02-28 Nick Clifton <nickc@cygnus.com>
5606 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5608 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
5610 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5611 (ASM_WEAKEN_LABEL): Define.
5613 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
5615 * expr.c (store_constructor): Do not emit USE.
5616 * rtl.h (stupid_life_analysis): Remove.
5618 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5620 * function.c (number_blocks): Reset next_block_index based on
5621 what debugging format is used, not what is defined.
5623 * lcm.c: Minor reformatting throughout.
5624 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5626 * toplev.c (rest_of_compilation): Account for time in
5627 optimize_mode_switching.
5629 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5630 if only marking labels.
5632 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
5634 * calls.c (expand_call): Attempt to combine stack adjustments with
5635 pending stack adjustments.
5637 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5639 * loop.c (reg_in_basic_block_p): Don't abort when falling through
5640 to the end of the function.
5642 2000-02-27 Mark Mitchell <mark@codesourcery.com>
5644 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5646 * final.c (next_block_index): Remove.
5647 (max_block_depth): Likewise.
5648 (pending_blocks): Likewise.
5649 (init_final): Don't initialize them.
5650 (final_start_function): Don't set next_block_index. Set up
5652 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5653 * function.h (number_blocks): New function.
5654 * function.c (get_block_vector): New function.
5655 (identify_blocks): Use it.
5656 (reorder_blocks): Set NOTE_BLOCK.
5657 (number_blocks): New function.
5658 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5659 * tree.h (BLOCK_NUMBER): New macro.
5660 (tree_block): Add block_num field.
5661 * dbxout.c (next_block_number): Remove.
5662 (dbxout_init): Don't set it.
5663 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5664 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
5666 * toplev.c (rest_of_compilation): Always call
5667 find_loop_tree_blocks. Fix indentation.
5668 * dwarf2out.c (next_block_number): Remove.
5669 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5670 to determine block numbers.
5671 (gen_inlined_subroutine_die): Likewise.
5672 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5673 (decls_for_scope): Don't increment next_block_number.
5674 * dwarfout.c (next_block_number): Remove.
5675 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5676 to determine block numbers.
5677 (output_inlined_subroutine_die): Likewise.
5678 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5679 (output_decls_for_scope): Don't increment next_block_number.
5680 * sdbout.c (next_block_number): Remove.
5681 (sdbout_block): Use BLOCK_NUMBER.
5682 (sdbout_begin_block): Simplify.
5683 * xcoffout.c (next_block_number): Remove.
5684 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5685 (xcoffout_begin_block): Don't set next_block_number.
5686 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5689 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5691 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5692 (expand_builtin_strcpy): Pass correct type to size_binop.
5693 (expand_builtin_strcmp): Likewise.
5694 Clean up conditional structure.
5695 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5696 (complete_array_type): Don't use size_binop for MAXINDEX.
5697 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5698 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5699 (c_alignof): Use size_one_node.
5700 (build_unary_op): Pass arg of proper type to size_binop.
5701 (really_start_incremental_init, push_init_level): Use sizetype for
5702 constructor{,_bit,_unfilled}_index.
5703 (pop_init_label, output_init_element): Likewise.
5704 (output_pending_init_elements, process_init_element): Likewise.
5705 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5706 * expr.c (store_expr): Use size_int.
5707 (store_constructor): Use proper types for size_binop args.
5708 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5709 (expand_expr_unaligned): Likewise.
5710 (string_contant): Return object of sizetype.
5711 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5712 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5713 (ARGS_SIZE_TREE): Pass proper types to size_binop.
5714 * fold-const.c (int_const_binop): Refine when size_int is called.
5715 (fold_convert): Likewise.
5716 (size_int_wide): Rework to take KIND as arg, only take low order
5717 bits, handle new sizetype_tab datatype, and chain entries in
5719 (size_int_type_wide): New function.
5720 (size_binop): Validate types of arguments.
5721 (ssize_binop): Deleted.
5722 (size_diffop): New function.
5723 (extract_muldiv): Only fold division into multiplication for sizetypes.
5724 * function.c (assign_parms): Use size_diffop and make sure
5725 VAR field is of ssizetype; also pass proper type to size_binop.
5726 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
5727 (round_down): Deleted from here.
5728 * store-layout.c (sizetype_tab): Now an array.
5729 (sizetype_set, early_root_list): New variables.
5730 (variable_size): Use size_one_node.
5731 (round_up): Pass proper type to size_binop.
5732 (round_down): Moved to here and corrected as above.
5733 (layout_record): Pass proper arg types to size_binop.
5734 (layout_type): Likewise.
5735 If sizetype_set is zero, record the type just laid out.
5736 (make_unsigned_type): Don't call set_sizetype;
5737 (make_signed_type): Likewise; also, call fixup_signed_type.
5738 (initialize_sizetypes): New function.
5739 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
5740 set name of bitsizetype to "bit_size_type".
5741 Fix up type of sizes of all types made before call.
5742 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
5743 * tree.c (fix_sizetype): Deleted.
5744 (build_common_tree_nodes): Call initialize_sizetypes.
5745 (build_common_tree_nodes_2): Don't call fix_sizetype.
5746 * tree.h (TYPE_IS_SIZETYPE): New macro.
5747 (initialize_sizetype): New declaration.
5748 (enum size_type_kind): New type.
5749 (struct sizetype_tab): Deleted.
5750 (sizetype_tab): Now array; adjust sizetype macros.
5751 (size_diffop, size_int_type_wide): New functions.
5752 (size_int_wide): Change number of args and type; access macros changed.
5753 (ssize_int, sbitsize_int): New macros.
5754 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
5755 (ROUND_TYPE_SIZE_UNIT): New macro.
5757 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
5759 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
5761 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5763 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
5764 Mark as possibly unused.
5766 * cse.c (cse_insn): Delete dead code involving tablejump.
5767 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
5769 * Makefile.in (libcpp.a): Start by deleting it.
5771 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5773 * cpplib.h (enum file_change_code): Added rename_file.
5774 * cpplib.c (do_line): If a filename is given, set file_change to
5776 (output_line_command): If file_change is rename_file, always
5777 output a # directive with the file name.
5779 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
5781 2000-02-26 Mark Mitchell <mark@codesourcery.com>
5783 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
5784 when copying a PARM_DECL or RESULT_DECL.
5786 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5788 * fix-header.c (recognized_function): Also fix prototypes for
5789 functions taking "void".
5791 2000-02-26 Geoff Keating <geoffk@cygnus.com>
5793 * reload1.c (do_output_reload): Check reg_reloaded_valid before
5794 looking at reg_reloaded_contents.
5796 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
5798 * Makefile.in (STMP_FIXINC): New toggle.
5799 (LIBGCC2_DEPS): Delete all references.
5800 (stmp-headers): Delete target. All references either deleted
5801 or changed to stmp-int-headers.
5802 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
5803 (LIBCPP_OBJS): Take out cppalloc.o.
5804 (cppalloc.o): Delete target.
5805 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
5806 (gen-protos, fix-header): Link with libiberty.a.
5807 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
5810 * configure.in: Remove refs to strerror.
5811 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
5812 * system.h: Take out strerror stanza.
5814 * cpperror.c (my_strerror): Delete function.
5815 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
5816 * cppmain.c (main): Call xmalloc_set_program_name first thing.
5817 * cppalloc.c: Delete file.
5818 * gen-protos.c: Don't provide xrealloc.
5820 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
5821 xstrerror throughout.
5823 2000-02-26 Bruce Korb <bkorb@gnu.org>
5825 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
5826 match for DOS headers, too.
5827 * fixinc/inclhack.sh,fixincl.x: Regenerate.
5829 2000-02-26 Geoff Keating <geoffk@cygnus.com>
5831 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
5832 is right for most ELF targets.
5833 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
5834 Let the default file use %U properly.
5835 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
5838 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
5841 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5843 * toplev.c (documented_lang_options): Correct spelling error.
5844 (decode_d_option, decode_f_option, main): Likewise.
5846 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
5848 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
5849 to tell assembler it is permitted to expand large constants.
5851 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
5853 * protoize.c: (AUX_INFO_SUFFIX): New macro.
5854 (aux_info_suffix): Use.
5855 (SAVE_SUFFIX): New macro.
5857 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
5858 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
5859 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
5861 * invoke.texi (Running Protoize): Update documentation.
5863 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
5865 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
5867 2000-02-25 John Wehle (john@feith.com)
5869 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
5871 2000-02-25 Anthony Green <green@cygnus.com>
5873 * toplev.c (rest_of_compilation): Rebuild jump labels if
5874 combine_instructions has created a new direct jump.
5875 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
5877 (combine_instructions): Call try_combine with new argument.
5878 Return non-null value when new direct jump instruction is created.
5879 * rtl.h: combine_instructions returns an int.
5881 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
5883 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
5884 jump when changing a computed jump into a jump to a known
5887 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
5889 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
5890 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
5892 * i386.md (define_expand "clrstrsi"): Fix typo.
5894 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
5896 * rtl.texi: Fix typo.
5898 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5900 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
5901 UNITS_PER_WORD. Change caller initial_elimination_offset.
5902 (rounded_frame_size): Take into account that argument pushed has
5903 changed. Fix TARGET_ALIGN_DOUBLE problem.
5905 2000-02-25 Geoff Keating <geoffk@cygnus.com>
5907 * haifa-sched.c (schedule_block): Explain the real reason
5908 we delete REG_SAVE_NOTEs on the first insn of a block.
5909 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
5911 2000-02-24 Mark Mitchell <mark@codesourcery.com>
5913 * input.h (push_srcloc): New function.
5914 (pop_srcloc): Likewise.
5915 * toplev.c (push_srcloc): Define it.
5916 (pop_srcloc): Likewise.
5918 2000-02-24 Richard Henderson <rth@cygnus.com>
5920 * flow.c (life_analysis): When collecting reg info, clear
5923 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5925 Fix bug exposed by reload.c no longer rounding the frame
5926 size to BIGGEST_ALIGNMENT:
5927 * sh.c (rounded_frame_size): New function.
5928 (sh_expand_prologue, sh_expand_epilogue): Use it.
5929 (initial_elimination_offset): Likewise.
5931 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5933 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
5934 * sh-protos.h (sh_need_epilogue): Declare.
5935 * sh.c (sh_need_epilogue_known): New static variable.
5936 (sh_need_epilogue): New function.
5937 (function_epilogue): Clear need_epilogue_known.
5938 * sh.md (return): Split into expander / insn pattern.
5939 Make the expander conditional on ! sh_need_epilogue ().
5941 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
5943 * machmode.h (get_mode_alignment): Declare.
5944 (GET_MODE_ALIGNMENT): Call it.
5945 * stor-layout.c (get_mode_alignment): New function. Make
5946 sure alignment is always power of 2.
5948 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
5950 * i386.h: Remove useless definition of "I386" and misleading
5953 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
5955 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
5956 under which TREE_PERMANENT will be set.
5957 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
5958 build1): Use TREE_SET_PERMANENT.
5959 * print-tree.c (print_node): Don't report value of
5960 TREE_PERMANENT if ggc_p is true.
5962 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
5963 decide whether to give a type a new alias set.
5964 * objc/objc-act.c (build_objc_string_object): Never copy the string.
5965 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
5966 of value of 'obstack'.
5969 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5971 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
5973 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5975 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
5976 * cpplib.c (cpp_get_token): Produce them.
5977 * cppexp.c (cpp_lex): Handle them.
5979 2000-02-23 Nick Clifton <nickc@cygnus.com>
5981 * config/arm/arm.c (arm_comp_type_attributes): Simply and
5982 comment tests on type attributes.
5984 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5986 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
5987 conform to documentation.
5988 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
5989 to check for special cases.
5990 * sh-protos.h (sh_loop_align): Declare.
5991 * sh.c (sh_loop_align): Define.
5993 2000-02-22 Andrew Haley <aph@cygnus.com>
5995 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
5996 (SIZE_TYPE): Is 32 bits when using -mgp32.
5997 (PTRDIFF_TYPE): Ditto.
5999 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6001 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6003 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6005 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6006 BIGGEST_FIELD_ALIGNMENT a constant.
6008 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
6010 * dwarf2out.c (output_line_info): Put the marker for the end of
6011 the line number info at the actual end.
6012 (gen_struct_or_union_type_die): Use decl_function_context
6013 to check for local classes.
6014 * dwarfout.c (output_type): Likewise.
6016 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
6018 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6019 for arguments with a mode, but no type.
6020 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6021 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6022 * pa/long_double.h: New file.
6023 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6024 both have 128bit wide long doubles.
6025 * configure: Rebuilt.
6027 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6029 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6031 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6032 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6033 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6035 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6037 * integrate.c (compare_blocks, find_block): Likewise.
6039 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6041 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6043 * stmt.c (stmt_status, set_file_and_line_for_stmt,
6044 expand_asm_operands): Likewise.
6046 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
6048 * predict.c (estimate_probability): Added the pointer heuristic to
6049 the collection of static branch predictors.
6051 2000-02-21 Catherine Moore <clm@cygnus.com>
6053 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6054 * invoke.texi (-mfix7000): Document.
6056 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
6058 * diagnostic.c (init_output_buffer): Make it possible to output at
6059 least 32 characters if we're given a too long prefix.
6061 2000-02-20 Mark Mitchell <mark@codesourcery.com>
6063 * varasm.c (initializer_constant_valid_p): Call
6064 lang_expand_constant to simplify the constant.
6066 2000-02-20 Bruce Korb <bkorb@gnu.org>
6068 * fixinc/inclhack.def(stdio_va_list):
6069 typedef needs to be disabled.
6070 * fixinc/inclhack.sh: regen
6071 * fixinc/fixincl.x: regen
6073 2000-02-20 Geoff Keating <geoffk@cygnus.com>
6075 * print-rtl.c (print_rtx): Don't print addresses when
6076 flag_dump_unnumbered.
6078 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6080 * sparc.c (sparc_output_scratch_registers): Mark parameter with
6082 (sparc_va_arg, sparc_flat_output_function_prologue,
6083 sparc_flat_output_function_epilogue): Cast value to unsigned in
6085 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6087 * sparc.md: Add default case in switch.
6089 2000-02-19 Richard Henderson <rth@cygnus.com>
6091 * c-typeck.c (add_pending_init): Don't abort for multiple
6092 fields at the same offset.
6093 (pending_init_member): Test the correct member.
6095 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6097 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6099 (start_catch_handler) : Same.
6101 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
6103 * Makefile.in: Have flow.o depend on $(EXPR_H)
6105 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6107 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6108 * c-decl.c (duplicate_decls, finish_enum): Likewise.
6109 (finish_decl): Remove -Wlarger-than code from here.
6110 * flags.h (id_clash_len): Now int.
6111 (larger_than_size): Now HOST_WIDE_INT.
6112 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6113 Clean up checking to see if in table.
6114 (make_bit_field_ref): Remove extra parm to bitsize_int.
6115 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6116 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6117 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6118 and for computing size of decl.
6119 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6120 Move -Wlarger-than code to here.
6121 (layout_record): Remove extra arg to bitsize_int.
6122 Set TYPE_BINFO_SIZE_UNIT.
6123 (layout_union): Remove extra arg to bitsize_int.
6124 Use proper type for size of QUAL_UNION.
6125 (layout_type): Remove extra arg to bitsize_int.
6126 * toplev.c (id_clash_len): Now int.
6127 (larger_than_size): Now HOST_WIDE_INT.
6128 (decode_W_option): Clean up id-clash and larger-than- cases.
6129 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6130 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6131 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6132 (struct tree_decl): New field size_unit.
6133 (size_int_wide): No HIGH operand; NUMBER is now signed.
6134 (size_int_2): Deleted.
6135 (size_int, bitsize_int): Don't use it and rework args.
6136 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6138 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
6140 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6142 2000-02-18 Geoff Keating <geoffk@cygnus.com>
6144 * invoke.texi (Warning Options): Add an explanation of why
6145 you might want the -Wfloat-equal flag.
6147 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6149 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6150 * cppinit.c (new_pending_define): Add cast to avoid warning.
6151 * expmed.c (extract_bit_field): Likewise.
6152 * flow.c (enum reorder_skip_type): New type.
6153 (skip_insns_between_blcok): New it.
6154 Rework to avoid warning about possibly undefined variable.
6155 * function.c (assign_parms): Make thisparm_boundary unsigned.
6156 * genrecog.c (write_switch): Cast XWINT result to int.
6157 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6158 * mips-tfile.c (init_file): Make two versions of FDR intializer:
6159 one for MIPS and one for Alpha.
6160 (get_tag, copy_object): Add casts to avoid warnings.
6161 * optabs.c (init_one_libfunc): Cast NAME to (char *).
6162 * reload.c (find_reloads): Make TYPE enum reload_type.
6163 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6164 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6165 * varasm.c (compare_constant_1): Add cast to avoid warning.
6166 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6168 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6169 Cast switch operand of size to int.
6170 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6171 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6174 2000-02-18 Nick Clifton <nickc@cygnus.com>
6176 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6177 anything for an alignment of zero.
6179 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6180 anything for an alignment of zero.
6182 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
6184 * gcc.texi (Bug Reporting): Refer to bugs.html.
6185 (Bug Lists): Likewise.
6186 * system.h (GCCBUGURL): New preprocessor define.
6187 * rtl.c (fancy_abort): Use it.
6188 * gcc.c (main): Likewise.
6190 2000-02-18 Richard Henderson <rth@cygnus.com>
6192 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6193 (life_analysis_1): Subsume into ...
6194 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
6195 Use update_life_info for the relaxation.
6196 (update_life_info): Update REG_BASIC_BLOCK for registers live on
6197 entry and regs_live_at_setjmp.
6198 (set_noop_p): Simplify.
6199 (notice_stack_pointer_modification_1): Renamed from s/_1//.
6200 (record_volatile_insns): Split into ...
6201 (delete_noop_moves): ... here,
6202 (notice_stack_pointer_modification): ... here,
6203 (insn_dead_p): ... and here.
6204 (propagate_block): Don't query INSN_VOLATILE.
6205 (mark_used_regs): Mind !PROP_REG_INFO.
6206 * toplev.c (rest_of_compilation): Call mark_constant_function here,
6207 not in life_analysis.
6209 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
6211 * loop.c (canonicalize_condition): New function,
6212 broken out of get_condition.
6213 (get_condition): Use it.
6214 * expr.h (canonicalize_condition): Prototype it.
6216 * tree.h (tree_int_cst_msb): Declare.
6217 * tree.c (tree_int_cst_msb): New function.
6219 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6221 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6224 * invoke.texi (-fmessage-length=n): Document.
6226 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
6228 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6230 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6232 * function.c (thread_prologue_and_epilogue_insns): Put a line note
6235 2000-02-17 Nick Clifton <nickc@cygnus.com>
6237 * config/arm/thumb.c: Replace includes of system headers with
6238 #include "system.h".
6240 2000-02-16 Richard Henderson <rth@cygnus.com>
6242 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6243 Add crtbeginS.o and crtendS.o.
6244 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6245 (ENDFILE_SPEC): Use crtendS.o.
6246 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6248 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6249 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
6251 (__dso_handle): New variable.
6252 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6253 bias to __CTOR_END__.
6255 2000-02-16 Richard Henderson <rth@cygnus.com>
6257 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6259 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
6261 * longlong.h (__clz_tab): Declare as static to match definition.
6263 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6264 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6265 (XREF_FILE_NAME): Define.
6267 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6268 (EH_FRAME_SECTION_ASM_OP): Define.
6269 (IDENT_ASM_OP): Define.
6270 (TEXT_SECTION_ASM_OP): Define.
6272 (CTORS_SECTION_ASM_OP): Define.
6273 (CTOR_SECTION_FUNCTION): Use it.
6274 (DTORS_SECTION_ASM_OP): Define.
6275 (DTOR_SECTION_FUNCTION): Use it.
6277 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
6279 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6282 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6283 debug_bb_n): New functions.
6284 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6285 * basic-block.h: Prototype new functions.
6287 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
6289 * configure.in: Add support for avr target.
6290 * configure: Rebuilt.
6292 * invoke.texi: Add AVR invocation docs.
6293 * install.texi: Add information about AVR.
6294 * md.texi: Add AVR constraint letters description.
6295 * extend.texi: Add description for AVR specific attributes.
6297 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
6299 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6301 2000-02-16 Nick Clifton <nickc@cygnus.com>
6303 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6304 (make_insn_raw): Move RTL check here.
6306 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6308 * version.c: Include gansidecl.h and version.h.
6310 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6312 * configure.in (gcc_version): When setting, narrow search to
6313 lines containing `version_string'.
6315 * Makefile.in (mainversion): Likewise.
6316 (GCC_H): New variable.
6317 (gcc.h): Delete target.
6318 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6319 (version.o): Depend on version.h.
6320 (dbxout.o): Don't depend on gcc.h.
6322 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
6323 Michael Meissner <meissner@cygnus.com>
6325 * md.texi (Simple Constraints): Add item about whitespace.
6326 * genoutput.c (strip_whitespace): New.
6327 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6328 strip_whitespace for constraints.
6329 Test pointer using NULL, not 0.
6331 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6333 * cpplib.c (do_line): Pedwarn for #line > 32767.
6335 * c-lex.c (readescape): Warn about '\x', but do not reject it.
6337 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
6339 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6340 to default cpp spec.
6341 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6342 * cpp.texi: Document __GNUC_PATCHLEVEL__.
6345 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6348 2000-02-15 Denis Chertykov <denisc@overta.ru>
6350 * configure.in: Add support for avr target.
6352 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6354 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6355 (sh_addr_diff_vec_mode): Don't declare.
6356 * sh.c (sh_addr_diff_vec_mode): Delete.
6358 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6360 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6362 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6364 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6365 (smulsi3_highpart_i): Name.
6366 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6367 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6368 (smulsi3_highpart, umulsi3_highpart): Likewise.
6370 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6371 correctly independent of endianness.
6372 (mulsidi3, umulsidi3): Now define_insn. Hide details that
6373 confuse the optimizers.
6374 (mulsidi3+1, umulsidi3+1): New define_split.
6376 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
6378 * config/sh/sh.md: Guard insn splits against illegal registers.
6379 * config/sh/sh.h: Correct comment about macros.
6381 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6382 Andrew MacLeod <amacleod@cygnus.com>
6384 * Makefile.in (lcm.o): Depend on insn-attr.h.
6385 * basic-block.h (optimize_mode_switching): Declare.
6386 * lcm.c (tm_p.h, insn-attr.h): #include.
6387 (seginfo, bb_info): New structs.
6388 (antic, transp, comp, delete, insert) : New file-scope static variables.
6389 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6390 (reg_becomes_live, optimize_mode_switching): Likewise.
6391 * tm.texi: Add description of mode switching macros.
6392 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6394 * sh-protos.h (remove_dead_before_cse): Remove prototype.
6395 (fldi_ok, fpscr_set_from_mem): New prototypes.
6396 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6397 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6398 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6399 (sh_flag_remove_dead_before_cse): Remove declaration.
6400 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6401 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6402 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6403 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6404 (barrier_align): Allow for JUMP_INSNS containing a parallel.
6405 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6406 (fldi_ok): New function.
6407 (get_fpscr_rtx): Add fpscr_rtx as GC root.
6408 (emit_sf_insn): Only generate fpu switches when optimize < 1.
6409 (emit_df_insn): Likewise.
6410 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6411 (sh_flag_remove_dead_before_cse): Delete.
6412 (get_free_reg, fpscr_set_from_mem): New functions.
6413 * sh.md (movdf, movsf): Remove no_new_pseudos code.
6414 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6416 2000-02-15 Loren Rittle <ljrittle@acm.org>
6418 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6420 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6422 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6423 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6425 * cccp.c: Include version.h and/or don't declare `version_string'.
6426 * collect2.c: Likewise.
6427 * alpha.c: Likewise.
6428 * arm/aof.h: Likewise.
6429 * arm/coff.h: Likewise.
6430 * arm/elf.h: Likewise.
6431 * arm/pe.h: Likewise.
6432 * arm/tcoff.h: Likewise.
6433 * arm/telf.h: Likewise.
6434 * arm/tpe.h: Likewise.
6435 * arm/vxarm.h: Likewise.
6436 * convex/convex.c: Likewise.
6437 * i386/dgux.c: Likewise.
6438 * i386/sun386.h: Likewise.
6439 * m88k/m88k.c: Likewise.
6440 * mcore/mcore-pe.h: Likewise.
6441 * mips/mips.h: Likewise.
6442 * romp/romp.h: Likewise.
6443 * sh/sh.c: Likewise.
6444 * cpphash.c: Likewise.
6445 * cppinit.c: Likewise.
6446 * dwarf2out.c: Likewise.
6447 * dwarfout.c: Likewise.
6450 * mips-tfile.c: Likewise.
6451 * protoize.c: Likewise.
6452 * toplev.c: Likewise.
6455 * version.c (version_string): Constify a char*.
6457 * version.h: New file.
6459 2000-02-14 Nick Clifton <nickc@cygnus.com>
6461 * configure.in: Add mcore-elf and mcore-pe targets.
6462 * configure: Regenerate.
6464 * NEWS: Add note that MCore port has been contributed.
6466 * invoke.texi: Document command line switches for MCore port.
6467 * install.texi: Add MCore to list of supported targets.
6469 2000-02-14 Geoff Keating <geoffk@cygnus.com>
6471 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6472 then we will need to import the frame handling functions.
6473 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6474 to import the frames themselves.
6476 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
6477 Jason Eckhardt <jle@cygnus.com>
6479 * basic_block.h: Added prototype for reorder_basic_blocks.
6480 * toplev.c: Changes to add -freorder-blocks and graph dump after
6481 block reordering is done.
6482 * flow.c (reorder_block_def): New structure for use during block
6484 (REORDER_BLOCK_*): New macros to access members of above structure.
6485 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6486 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6487 functions for block reordering.
6489 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
6491 * gcc.texi (Passes): Fix typo.
6492 * md.texi (Standard Names): Ditto.
6493 * tm.texi (Storage Layout): Ditto.
6495 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
6497 * cpplib.c (do_define): Only free the old definition if it
6500 2000-02-13 Neil Booth <NeilB@earthling.net>
6502 * cppfiles.c (read_and_prescan): When emitting deferred
6503 newlines, test speccase[] again instead of checking each
6504 possible whitespace character in turn. When we encounter \r,
6505 look behind for \n first, then ahead.
6507 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
6509 * cse.c (cse_altered): New internal flag.
6510 (cse_insn): Set it if we changed an insn.
6511 (cse_main): Clear cse_altered before each basic block.
6512 Only garbage collect if cse_altered is true afterward.
6514 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6516 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6518 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
6520 * combine.c (simplify_comparison): Fix typo.
6522 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
6524 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6527 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6529 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6530 previously inserted node instead of root node. Caller changed.
6532 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6534 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6536 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6538 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6539 __dereg_frame_dtor): Add prototype argument.
6541 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6543 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6545 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6547 * gthr-vxworks.h (__gthread_once): Likewise.
6549 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6551 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
6553 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6554 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6555 stack pointer in functions w/o saved registers, output LEAVE more often
6556 on TARGET_USE_LEAVE machines.
6558 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6560 * config/arm/arm.c (arm_init_cumulative_args); New function:
6561 Initlaise the CUMULATIE_ARGS strcuture for a function
6563 (arm_function_arg): New function: Determine where to place a
6564 function's argument. Also handles deciding the function's
6566 (current_file_function_operand): New function: Return true if
6567 the symbol is a function which has already been compiled.
6568 (arm_is_long_call_p): New function: Return true if the
6569 indicated function should be called via a long call.
6570 (arm_valid_type_attribute_p): New function: Return true if the
6571 attribute is a valid, arm specific, attribute.
6572 (arm_comp_type_attribute): New function: Return true if the
6573 two types have compatable, arm specific, attributes.
6575 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6577 (FUNCTION_ARG): Redefine to call arm_function_arg.
6578 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6580 (INIT_CUMULATIVE_ARGS): Redefine to call
6581 arm_init_cumulative_args.
6582 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6584 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
6586 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6588 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6589 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6590 (COMP_TYPE_ATTRIBUTES): Define.
6592 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6593 if a long call is needed.
6594 (call_value): Call arm_is_long_call_p to decide if a long call
6596 (call_symbol): Call arm_is_long_call_p to decide if a long call
6599 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6601 2000-02-11 Denis Chertykov <denisc@overta.ru>
6603 * README.AVR: New file with information about the avr ports.
6604 * config/avr: New directory with avr port files.
6606 2000-02-11 Andreas Jaeger <aj@suse.de>
6608 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6610 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
6612 * cpphash.c: Fix formatting, update commentary.
6613 (dump_definition): Take three separate arguments instead of a
6614 MACRODEF structure argument.
6615 * cpphash.h: Update prototype of dump_definition.
6616 * cppinit.c (cpp_finish): Update call of dump_definition.
6618 * cpplib.c (do_define): Always create new hash entry with
6619 T_MACRO type. Remove redundant check for redefinition of
6620 poisoned identifier. Update call of dump_definition.
6621 (do_undef): Don't call check_macro_name. Rename sym_length to
6623 (do_error, do_warning): Don't use copy_rest_of_line or
6625 (do_warning): Don't use pedwarn for the actual warning,
6626 only the notice about its not being in the standard. (Fixes
6627 bug with #warning in system headers.)
6628 (do_ident): Stricter argument checking - accept only a single
6629 string after #ident. Also, macro-expand the line.
6630 (do_xifdef): Use cpp_defined. De-obfuscate.
6632 (do_pragma): Split out specific pragma handling to separate
6633 functions. Use get_directive_token. Update commentary. Do
6634 not pass on #pragma once or #pragma poison to the front end.
6635 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6636 do_pragma_default): New.
6638 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
6640 * jump.c (jump_optimize_1): The first operand in a relational
6642 * optabs.c (emit_conditional_move): Handle relationals which
6643 have a known true/false result.
6645 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6647 * function.c (thread_prologue_and_epilogue_insns): Don't insert
6648 a RETURN insn into a block which already ends with a jump.
6650 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6652 * haifa-sched.c (BUF_LEN): Increase a lot.
6654 2000-02-11 Nick Clifton <nickc@cygnus.com>
6656 * configure.in: Add tm_p_file specification for thumb targets.
6657 * configure: Regenerate.
6659 * config/arm/thumb-protos.h: New file: Prototypes for exported
6660 functions defined in thumb.c.
6662 2000-02-11 Robert Lipe <robertl@sco.com>
6664 * Makefile.in (bootstrap-lean): Remove additional files.
6665 (bootstrap2-lean): Likewise.
6666 (VOL_FILES): List of files for above.
6668 2000-02-11 Nathan Sidwell <nathan@acm.org>
6670 * cpphash.c (special_symbol): Remove spurious argument to
6673 2000-02-11 Joel Sherrill (joel@OARcorp.com>
6675 * configure.in: (i*86-*-rtems*): Swapped elf and coff
6677 * configure: Rebuilt.
6679 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
6681 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6683 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
6685 * pa.c, pa.h: Remove trigraph sequences within comments.
6687 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
6689 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6691 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
6693 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6695 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6697 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6699 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6701 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6702 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6703 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6704 (ASM_FILE_END): Use c4x_file_end.
6705 * config/c4x/c4x.c (c4x_global_label): New function.
6706 (c4x_external_ref, c4x_file_end): Likewise.
6708 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6709 (c4x_external_ref, c4x_end_file): Likewise.
6711 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
6713 * cppexp.c: Don't include cpphash.h.
6714 (parse_charconst, cpp_lex): Use cpp_defined.
6715 (cpp_lex): Use get_directive_token throughout. Remove
6716 unnecessary cases from switch. Move assertion-handling code
6718 (cpp_parse_expr): If we see '+' or '-', check the context to
6719 determine if they are unary or binary operators. Streamline
6720 the jumps a bit. Do not call skip_rest_of_line.
6722 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6723 static. Export get_directive_token. Update commentary.
6724 (cpp_defined): New function.
6725 (do_define): Remove reference to T_PCSTRING. Call
6726 free_definition to release memory for old definition, when
6728 (eval_if_expression): Set only_seen_white to 0 before calling
6729 cpp_parse_expr. Call skip_rest_of_line after it returns.
6730 (cpp_read_check_assertion): Don't preserve a pointer into the
6731 token buffer across a call to cpp_get_token.
6733 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
6734 * cppfiles.c (redundant_include_p): Use cpp_defined.
6735 * cpphash.c (free_definition): New function.
6736 (delete_macro): Use it. Update commentary.
6737 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
6739 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
6740 from enum node_type. Prototype cpp_defined and get_directive_token.
6741 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
6743 * fix-header.c (check_macro_names): Use cpp_defined.
6744 (read_scan_file): Set inhibit_warnings and inhibit_errors in
6745 the options structure.
6747 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6749 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
6751 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
6753 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
6754 rather than die->die_tag.
6756 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6758 * combine.c (make_extraction, force_to_mode): Avoid warning on
6759 mixed-signedness conditionals.
6760 (make_field_assignment, nonzero_bits): Likewise.
6761 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
6762 (store_split_bit_field, extract_split_bit_field): Likewise.
6763 (extract_fixed_bit_field, store_bit_field,
6764 * expr.c: Change alignment to be unsigned everywhere.
6765 (move_by_pieces, store_constructor_field, store_constructor):
6766 Alignment parm is unsigned.
6767 (emit_block_move, emit_group_load, emit_group_store): Likewise.
6768 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6769 (do_compare_rtx_and_jump): Likewise.
6770 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
6771 Compare align with GET_MODE_ALIGNMENT.
6772 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
6773 (get_inner_reference): Likewise.
6774 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
6775 (expand_assignment): Local vars for alignment now unsigned.
6776 (store_constructor, store_field, expand_expr, do_jump): Likewise.
6777 (do_compare_and_jump): Likewise.
6778 (store_field): Call new function expr_align.
6779 * expr.h (emit_block_move, emit_group_load, emit_group_store):
6780 Alignment arg now unsigned.
6781 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6782 (do_compare_rtx_and_jump, store_bit_field): Likewise.
6783 (extract_bit_field): Likewise.
6784 * fold-const.c (add_double): Add cast to eliminate signedness warning.
6785 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
6786 (get_best_mode): Alignment arg is unsigned.
6787 * rtl.h (move_by_pieces): Likewise.
6788 * store-layout.c (maximum_field_alignment, set_alignment):
6790 (layout_decl): Alignment arg is now unsigned.
6791 Remove unneeded casts.
6792 (layout_record, layout_union, layout_type): Remove unneeded casts.
6793 Local alignment variables now unsigned.
6794 (get_best_mode): Alignment arg now unsigned.
6795 * tree.c (expr_align): New function.
6796 * tree.h (expr_align): Likewise.
6797 (maximum_field_alignment, set_alignment): Now unsigned.
6798 (get_inner_reference): Alignment argument is now pointer to unsigned.
6799 * varasm.c (assemble_variable): Add cast to eliminate warning.
6801 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
6803 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
6804 then store directly into op0.
6806 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
6807 the CALL_INSN, and emit the note immediately after it.
6809 2000-02-10 Nick Clifton <nickc@cygnus.com>
6811 * config/arm/thumb.md (epilogue): Include a (return) in the
6812 generated insn, and emit it using emit_jump_insn not
6815 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
6817 * function.c (assign_temp): Change zero-sized arrays to size 1.
6818 * integrate.c (expand_inline_function): Do not update
6819 stack_alignment_needed
6820 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
6821 add some sanity checking, remove optimization for function with
6824 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6826 * flow.c (mark_regs_live_at_end): Delete unused variables.
6828 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
6830 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
6831 in macro FRAME_GROWS_DOWNWARD.
6833 * stmt.c (expand_end_bindings): Delete unused variable.
6835 * unroll.c (iteration_info): Mark parameter `loop' with
6838 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6840 * fixinc/server.c (load_data): Return NULL if the marker line is
6842 (run_shell): If load_data returns NULL, retry the command once, in
6845 * configure: Rebuilt.
6847 2000-02-09 Bruce Korb <bkorb@gnu.org>
6849 * gcc/fixincludes: ** DELETED **
6850 * gcc/fixcpp: ** DELETED **
6851 * gcc/fixinc-nt.sed: ** DELETED **
6852 * gcc/just-fixinc: ** DELETED **
6853 * gcc/Makefile.in: Removed out-dated commentary
6854 * gcc/configure.in: Removed fast-fixincludes disablement.
6855 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
6857 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
6858 * function.c (thread_prologue_and_epilogue_insns): Uncomment
6861 2000-02-09 Richard Henderson <rth@cygnus.com>
6863 * jump.c (delete_insn): Don't delete user labels at -O0.
6865 2000-02-09 Robert Lipe <robertl@sco.com>
6867 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
6868 Don't link with HOST_LIBS.
6870 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6872 * configure.in: Correct --help text for --with-dwarf2.
6873 Put tm-dwarf2.h after other tm files, if it's requested.
6874 * configure: Regenerate.
6875 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
6878 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6880 * cpplib.h: Provide HASHNODE typedef and forward decl of
6881 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
6882 DEFINITION, struct hashnode, struct macrodef, struct
6883 definition, scan_decls prototype, default defn of
6884 INCLUDE_LEN_FUDGE moved elsewhere.
6886 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
6887 definition, and struct hashnode moved here. Remove the unused
6888 'predefined' field from struct definition. Replace the 'args'
6889 union with its sole member. All users updated (cpphash.c).
6890 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
6891 multiple include guard.
6893 * cpphash.c (hashf): Make static; use better algorithm; drop
6894 HASHSIZE parameter; return an unsigned int.
6895 (cpp_lookup): Drop HASH parameter. PFILE parameter is
6896 used. Calculate HASHSIZE modulus here.
6897 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
6899 (create_definition): Drop PREDEFINITION parameter.
6900 * cpplib.c (do_define): Don't calculate a hash value here.
6901 Don't pass (keyword == NULL) to create_definition.
6903 * scan.h: Prototype scan_decls here.
6904 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
6905 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
6906 callers of cpp_lookup and cpp_install updated.
6908 * cpphash.c (macarg): Hoist all the flag diddling out of the
6910 (macroexpand): ... and out of the loop that calls macarg.
6911 Skip over the initial paren before macro arguments with
6912 cpp_get_non_space_token; point may be some distance before
6913 that paren. Abort if it's not there.
6915 * cpplib.c (parse_clear_mark): Delete function.
6916 (parse_set_mark, parse_goto_mark): Make static.
6917 (ACTIVE_MARK_P): New macro.
6918 (skip_block_comment, skip_line_comment): Do not bump the line
6919 if ACTIVE_MARK_P is true.
6920 (cpp_pop_buffer): The buffer to be popped may not have an
6922 (cpp_get_token): When looking for the initial paren before
6923 macro arguments, only set a mark in a file buffer, Always
6924 return to that mark before proceeding to call macroexpand or
6925 return a NAME token.
6927 * cpplib.h: Remove prototypes of parse_set_mark,
6928 parse_clear_mark, parse_goto_mark.
6929 (struct cpp_options): Rename 'put_out_comments' to
6930 'discard_comments' and invert its sense.
6931 * cppinit.c, cpphash.c, cpplib.c: All users of
6932 put_out_comments changed to use discard_comments, with
6935 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
6937 * function.c (thread_prologue_and_epilogue_insns): Don't delete
6938 the edge from a block that both jumps and falls through to the
6941 2000-02-09 Scott Bambrough <scottb@netwinder.org>
6943 * config/arm/arm.md (movsi): In PIC mode, make sure that a
6944 constant source address is legitimate.
6946 2000-02-09 Philip Blundell <pb@futuretv.com>
6948 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
6951 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
6953 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
6955 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6957 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
6958 ends with a newline and a NUL. Don't be so clever manipulating
6961 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
6963 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
6964 not to BIGGEST_ALIGNMENT.
6966 2000-02-08 Geoff Keating <geoffk@cygnus.com>
6968 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
6969 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
6970 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
6971 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
6972 * frame.c (execute_cfa_insn): Handle
6973 DW_CFA_GNU_negative_offset_extended.
6975 2000-02-08 Richard Henderson <rth@cygnus.com>
6977 * flow.c (tidy_fallthru_edges): Split out from ...
6978 (delete_unreachable_blocks): ... here.
6979 (find_basic_blocks): Use it.
6981 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6983 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
6985 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
6987 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
6988 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
6989 (fix-header.o): Don't depend on cpphash.h.
6991 * scan.c (hashstr): New function.
6992 * scan.h: Prototype it.
6993 * fix-header.c: Don't include cpphash.h. Use hashstr.
6994 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
6995 hashstr. Report hash table statistics. Add private
6996 definition of xrealloc.
6998 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7000 * i386.h (TARGET_SWITCHES): Fix typo in option name.
7002 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
7004 * function.c (thread_prologue_and_epilogue_insns): Don't replace
7005 jumps with returns unless they are jumps to the fallthru block.
7007 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
7009 * i386.md (addqi3_cc): Fix contraints.
7011 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
7013 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7015 2000-02-07 Mark Mitchell <mark@codesourcery.com>
7017 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7018 carriage return after a macro name.
7020 2000-02-07 Fred Fish <fnf@be.com>
7022 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7023 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7025 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
7027 * cppfiles.c (deps_output): Count spacers in deps_column.
7029 2000-02-07 Neil Booth <NeilB@earthling.net>
7031 * cppinit.c (initialize_dependency_output): If there is no
7032 suffix, don't try to look for known suffixes. Use strrchr.
7033 (cpp_start_read): Remove duplicate initialization.
7035 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
7037 * calls.c (compute_argument_block_size): New argument
7038 preferred_stack_boundary.
7039 (expand_call): update cfun->preferred_stack_boundary, update call of
7040 compute_argument_block_size
7041 (emit_library_call): Increate cfun->preferred_stack_boundary
7042 to PREFERRED_STACK_BOUNDARY
7043 (emit_library_call_value): Likewise.
7044 * explow.c (allocate_dynamic_stack_spave): Likewise.
7045 * function.c (prepare_function_start): Set
7046 cfun->preferred_stack_boundary
7047 * function.h (struct function): Add preferred_stack_boundary field.
7048 * integrate.c (expand_inline_function): Update
7049 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7050 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7051 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7053 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
7055 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7056 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7057 cpp_pedwarn, cpp_pedwarn_with_line,
7058 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7059 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7060 v_cpp_error_with_line, v_cpp_warning_with_line,
7061 cpp_message_from_errno, cpp_perror_with_name): Delete.
7063 * cpperror.c (cpp_print_containing_files): Take starting
7065 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7066 (v_cpp_message): Now called directly by all entry points.
7068 (cpp_pfatal_with_name, cpp_message): Delete.
7069 (cpp_notice_from_errno, cpp_ice): New functions.
7070 (cpp_notice): Is now for reporting error conditions, just
7071 without an associated file.
7072 (cpp_error, cpp_error_with_line): Don't do anything if
7073 opts->inhibit_errors is on.
7074 (cpp_pedwarn_with_file_and_line): Take column argument also.
7076 * cpplib.h: Update prototypes of exported functions.
7077 (struct cpp_options): Add inhibit_errors.
7079 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7080 non-error messages. Include intl.h.
7082 * cppinit.c, cppmain.c: Likewise. Also, use
7083 cpp_notice_from_errno instead of cpp_perror_with_name or
7084 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7086 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7087 report internal errors.
7089 * cpplib.c (do_define): Switch bcopy to memcpy.
7090 Give cpp_pedwarn_with_file_and_line a dummy column argument.
7092 * cpplib.c (copy_rest_of_line): Revert previous change: don't
7093 bail out early if we hit a line comment.
7095 2000-02-06 Richard Henderson <rth@cygnus.com>
7097 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7098 * basic-block.h: Declare them.
7099 * emit-rtl.h (active_insn_p): New.
7100 (next_active_insn, prev_active_insn): Use it.
7101 * rtl.h: Declare it.
7102 * function.c (emit_return_into_block): New.
7103 (thread_prologue_and_epilogue_insns): Insert return insns instead
7104 of epilogues when possible.
7105 * jump.c (jump_optimize_1): Remove code to insert a return insn
7106 on the fallthru to the exit block.
7108 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7109 and for non-empty stack frames.
7110 * i386.md (return): Expand to return-pop as needed.
7112 2000-02-06 Richard Henderson <rth@cygnus.com>
7114 * simplify-rtx.c (simplify_relational_operation): Canonicalize
7115 constant to op1 for testing.
7117 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7119 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7120 (fixuns_truncqfqi2): Use it.
7122 2000-02-06 Richard Henderson <rth@cygnus.com>
7124 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7127 * i386.md (widening and peepholes): Mask the constant instead of
7130 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7132 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7133 input pointer before possibly branching off to the backslash
7135 * cpphash.c (macroexpand): Correctly delete \r escapes when
7136 stringifying parameters.
7137 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7138 if we can; bail out early if we hit a line comment.
7139 (handle_directive): Treat '# 123' in an .S file just like
7140 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
7141 Return 1 for '# not_a_directive'.
7142 (get_directive_token): Pop macro buffers here, so that
7143 cpp_get_token can't sneakily move past a newline.
7145 (cpp_get_token): goto randomchar if handle_directive returns 0.
7147 * cppalloc.c: Update copyright.
7148 * cpplib.c: Merge all the static function prototypes into one
7150 * cpplib.h: Remove #if 0 block.
7152 * cpperror.c: Remove #ifdef EMACS block.
7153 * cppmain.c: Likewise.
7154 * cpphash.c: Remove #if 0 blocks.
7155 * cppinit.c: Remove #if 0 blocks, and the -lint option.
7156 * cpplib.c: Remove #if 0 blocks and code referencing
7157 pcp_inside_if or for_lint. Remove duplicate error message.
7158 Fix error messages for #else after #else or #elif. Reformat.
7159 Remove archaic TODO list.
7160 * cpplib.h: Remove pcp_inside_if and for_lint flags.
7162 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7164 * i386/osf1elf.h: Add missing backslash to multiline string.
7166 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7168 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7170 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7172 * Makefile.in (c-common.o): Depend on $(EXPR_H).
7174 * c-common.c: Include expr.h.
7176 * c-pragma.c (mark_align_stack): Add prototype.
7178 * caller-save.c (add_stored_regs): Likewise.
7180 * combine.c (record_promoted_value): Likewise.
7182 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7185 * cppinit.c (new_pending_define): Likewise.
7187 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7189 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7190 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7191 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7192 class_scope_p): Likewise.
7194 * dwarf2out.h (dwarf2out_set_demangle_name_func,
7195 dwarf2out_add_library_unit_info): Likewise.
7197 * ggc.h (ggc_page_print_statistics): Likewise.
7199 * haifa-sched.c (propagate_deps): Likewise.
7201 * reg-stack.c (next_flags_user, record_label_references): Likewise.
7203 * rtl.h (set_stack_check_libfunc): Likewise.
7205 * toplev.h (set_fatal_function): Likewise.
7207 * toplev.c (set_fatal_function): Delete prototype.
7209 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7211 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7213 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7214 (FUNC_END): Likewise.
7216 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7218 * caller-save.c: Include tm_p.h.
7220 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7222 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7224 2000-02-04 Neil Booth <NeilB@earthling.net>
7226 * cccp.c (main): Check 'dir' for a NULL pointer before passing
7229 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
7231 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7232 * genflags.c: Use the max_operand_1 logic from genemit.c to
7233 calculate how many arguments gen_insn prototypes have. Remove
7234 NO_MD_PROTOTYPES ifdefs from the generated file.
7235 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7236 file. Cast gen_insn initializers to insn_gen_fn.
7237 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7238 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7240 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7242 * fixinc/Makefile.in (HDR): Add machname.h.
7245 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7247 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7248 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7249 (c4x_cpu_version): Ditto.
7250 * config/c4x/c4x-protos.h: ... here.
7252 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
7254 * dwarf2out.c (add_abstract_origin_attribute): Don't call
7255 gen_abstract_function on our context if we're a nested function.
7257 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7259 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7260 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7262 2000-02-04 Bruce Korb <bkorb@gnu.org>
7264 * fixinc/genfixes(machname.h):
7265 Move the functionality from gen-machine.h into this file.
7266 UNdef MN_NAME_PAT if there are no names to change.
7267 Also, be a little kinder when AutoGen is not present.
7269 * fixinc/Makefile.in(machname.h):
7270 Change the generation rule to use genfixes.
7272 * fixinc/fixfixes.c(machine_name):
7273 machine_name_fix's functionality now dependent upon whether
7274 MN_NAME_PAT is defined.
7276 * fixinc/fixtests.c(machine_name):
7279 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7282 * fixinc/fixlib.h(mn_get_regexps):
7285 * fixinc/gen-machine.h: DELETED
7287 2000-02-04 Jan Hubicka <jh@suse.cz>
7288 Richard Henderson <rth@cygnus.com>
7290 * i386.c (SAVE_REGS_FIRST): Remove.
7291 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7292 (ix86_compute_frame_size): Likewise.
7293 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
7294 (ix86_emit_restore_regs): Remove.
7295 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7296 when a frame pointer is in use.
7297 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
7298 instead of pop to restore a register when profitable; emit leave
7300 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7302 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7303 * i386.md (prologue_allocate_stack): Remove.
7304 (epilogue_deallocate_stack): Remove.
7305 (pro_epilogue_adjust_stack): New.
7307 2000-02-04 Richard Henderson <rth@cygnus.com>
7309 * function.c (diddle_return_value): Rework to use a callback function.
7310 Use current_function_return_rtx if it's been set up.
7311 (do_clobber_return_reg, clobber_return_register): New.
7312 (do_use_return_reg, use_return_register): New.
7313 (expand_function_end): Use them.
7314 * stmt.c (expand_null_return): Likewise.
7315 * function.h: Declare them.
7316 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7317 (mark_reg): Change arguments as appropriate for callback.
7318 * integrate.c (expand_inline_function): Revert 19 Jan change.
7320 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
7322 * tm.texi (Values in Registers): Fix typo: "fo" "for".
7323 (Misc): Say the scheduler, not the Haifa scheduler.
7325 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
7327 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7328 when in_mem is set. Update all callers.
7330 2000-02-04 Richard Henderson <rth@cygnus.com>
7332 * i386/openbsd.h (INT_ASM_OP): Define.
7334 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
7336 * tm.texi: Fix various typos.
7338 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
7340 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7341 (MD_STARTFILE_PREFIX_1): New macro.
7343 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
7345 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7346 destination when needed.
7347 (strmovsi, strsetsi): New expander.
7348 (strmovsi_1, strsetsi_1): New pattern.
7349 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7350 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7351 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7352 * invoke.texi (align-stringops, inline-all-stringops): Document.
7354 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
7356 * i386/netbsd.h (INT_ASM_OP): Define.
7358 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
7360 * cpplib.h (cpp_reader): Add new flag, no_directives.
7361 * cpphash.c (macarg): Set it.
7362 * cpplib.c (handle_directive): If no_directives is on and we
7363 find a directive, issue an error and discard the line.
7365 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
7367 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7368 FP constants. Add ! TARGET_FPU check for FP constants.
7370 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
7372 * flow.c (find_basic_blocks): Don't kill label_value_list
7374 (cleanup_cfg): Kill it here.
7376 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7378 * expr.c (store_field): Ensure ALIGN is no stricter than the
7381 2000-02-02 Richard Henderson <rth@cygnus.com>
7383 * jump.c (delete_insn): Partially revert 19 Jan change;
7384 don't convert unused code labels to notes at -O0.
7386 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7388 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7389 split_all_insns to recreate REG_LABEL notes for flow2 pass.
7391 2000-02-01 Richard Henderson <rth@cygnus.com>
7393 * i386.c (general_no_elim_operand): New.
7394 (nonmemory_no_elim_operand): New.
7395 (ix86_expand_move): Copy eliminable operands before a push.
7396 * i386-protos.h: Declare new functions.
7397 * i386.h (CAN_ELIMINATE): Simplify.
7398 (PREDICATE_CODES): Update.
7399 * i386.md (push insns): Don't allow eliminable register operands.
7401 2000-02-01 Richard Henderson <rth@cygnus.com>
7403 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7404 replace BLKmode with DECL_RTL's mode.
7406 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
7408 * frame.c (find_fde): Convert for loop to do-while so compiler
7409 sees it's always executed at least once.
7410 * libgcc2.c (BBINBUFSIZE): Kill.
7411 (__bb_init_prg): Use fgets.
7412 (__bb_exit_trace_func): Don't paste strings.
7413 * unroll.c (unroll_loop): Initialize unroll_type, not
7414 unroll_number, and tweak logic to match.
7416 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7418 (ix86_flags_dependant): Likewise. Disentangle control flow.
7419 (ix86_sched_reorder): Break guts out to
7420 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7421 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7424 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7425 use string concatenation. Don't save and restore esi.
7427 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7428 (machname.h): Remove script to separate file. Use two-step
7429 sequence so target is not created if script fails.
7430 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
7431 identifiers are defined.
7432 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7433 an empty string, machine_name doesn't need to do anything at
7435 (is_cxx_header): Add more cases to regexp.
7436 * fixinc/fixlib.h: Update prototype.
7437 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7439 * fixinc/fixincl.c: Define NO_BOGOSITY.
7441 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7442 (hp_sysfile): Add missing comma.
7443 (math_exception): Put the wrapper ifdefs at the beginning and
7444 the end of the file.
7445 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7447 2000-02-01 Richard Henderson <rth@cygnus.com>
7449 * sparc.c (fp_zero_operand): Turn into a normal predicate.
7450 Use CONST0_RTX. Update all callers.
7451 * sparc.h, sparc-protos.h: Update accordingly.
7452 * sparc.md (fp mov insns): Use fp_zero_operand directly
7455 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
7457 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7460 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7462 * Makefile.in (specs.ready): New target.
7463 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7465 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7467 * fixinc.irix: Use unique filenames for writing into /tmp,
7468 * fixinc.ptx: Likewise.
7469 * fixinc.sco: Likewise.
7470 * fixinc.svr4: Likewise.
7471 * fixinc.winnt: Likewise.
7473 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7475 * tsystem.h: New file.
7477 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7478 s-crtS): Depend on tsystem.h.
7480 * crtstuff.c: Include tsystem.h.
7481 * frame.c: Likewise.
7482 * libgcc2.c: Likewise.
7484 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
7486 * builtins.c (expand_builtin_memset): Expand for variable sized
7489 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
7491 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7494 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
7496 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7498 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7500 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
7502 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7503 case 3->2 combining (combining with splitting) in which 2 is CC0
7504 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
7505 checked at the begining of the function with the aid of calling
7506 function 'can_combine_p'.
7508 2000-01-31 Dave Brolley <brolley@redhat.com>
7510 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7512 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
7514 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7517 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7519 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7521 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7524 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
7526 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7527 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7528 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7529 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7530 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7531 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7532 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7533 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7534 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7535 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7537 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7538 Add %(cpp_cpu) to CPP_SPEC.
7540 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7541 Add %(cc1_cpu) to CC1_SPEC.
7543 2000-01-28 Ulrich Drepper <drepper@redhat.com>
7545 * c-decl.c (c_decode_option): Accept optional numeric argument to
7546 -Wformat and set warn_format.
7547 * c-common.c: Don't emit warning about non-constant printf format
7548 string unless warn_format > 1.
7550 2000-01-30 Richard Henderson <rth@cygnus.com>
7552 * alpha.md (return_internal): Allow after reload only.
7554 2000-01-30 Richard Henderson <rth@cygnus.com>
7556 * i386.c (ix86_compute_frame_size): Omit padding1 if the
7557 local frame size is zero.
7559 2000-01-30 Richard Henderson <rth@cygnus.com>
7561 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7562 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
7563 * alpha.md (return): Turn into an expander.
7564 (return_internal): Don't use $26.
7565 (epilogue): Emit the return insn.
7567 2000-01-30 Richard Henderson <rth@cygnus.com>
7569 * alpha.md (negtf2, abstf2): Fix word order thinko.
7571 (trunctfsf2): Avoid intermediate rounding errors.
7573 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
7575 * cppfiles.c (find_position): Drop 'colp' argument, return the
7577 (read_and_prescan): Adjust to match. Don't ever manipulate
7578 line or line_base except via find_position.
7580 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
7582 * c-parse.in: Apply Ulrich's changes from c-parse.y.
7583 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7586 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
7588 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7589 just print "<command line>". If 'filename' is null or an
7590 empty string, print "<stdin>" for the filename.
7591 * cpplib.c (do_define): Don't print the 'location of the
7592 previous definition' message if we're still parsing the
7594 (cpp_pedwarn_with_file_and_line): Always call
7595 cpp_file_line_for_message.
7597 2000-01-29 Mark Mitchell <mark@codesourcery.com>
7599 * flow.c (mark_regs_live_at_end): Fix typo.
7601 2000-01-28 Ulrich Drepper <drepper@redhat.com>
7603 * c-common.c: Adjust variable names, comments, help strings to c99.
7604 * c-lex.c: Likewise.
7605 * c-parse.y: Likewise.
7606 * c-tree.h: Likewise.
7608 * cpplib.h: Likewise.
7609 * c-decl.c: Likewise. Recognize options with names "*99" as well.
7610 * cppinit.c: Likewise.
7612 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7614 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7615 * c4x.c: Define the optab rtx values.
7616 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7617 (c4x_emit_libcall): Use new optab rtx values.
7618 (c4x_emit_libcall3): Likewise.
7619 (c4x_emit_libcall_mulhi): Likewise.
7620 * c4x-protos.h: Add prototypes for optab rtx values and change
7621 prototypes for above c4x_emit_libcall functions.
7623 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7625 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7627 (c4x_function_prologue): Use regnames intead of float_reg_names when
7629 (c4x_function_epilogue): Likewise.
7630 (c4x_print_operand): Likewise.
7631 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7632 * c4x.md (set_high): Disable for TARGET_TI.
7634 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7636 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7637 of framepointer + constant to ADDR_REGS class.
7638 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7639 * c4x.c (std_or_reg_operand): New function.
7640 * c4x-protos.h (std_or_reg_operand): Prototype it.
7642 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7644 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7645 object names as libgcc2.c.
7646 * libgcc.S: Use newly defined names.
7648 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
7649 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7651 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7652 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7653 (FLOW_LOOP_LAST_BLOCK): Likewise.
7655 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7657 * basic-block.h (struct loop): New fields 'first' and 'last'.
7658 * flow.c (flow_loops_find): Compute loop->first and loop->last.
7659 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7660 and loop->last to check for NOTE_INSN_LOOP_END.
7662 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
7664 * predict.c (estimate_probability): Use the new FIRST and LAST fields
7665 of the loop descriptor rather than HEADER and LATCH. Also added
7666 missing break statements as well making some coding style modifications
7667 as suggested by Michael Hayes.
7669 2000-01-28 Richard Henderson <rth@cygnus.com>
7671 * flow.c (find_basic_blocks): Remove do_cleanup argument.
7672 Break out that code ...
7673 (cleanup_cfg): ... here.
7674 (commit_one_edge_insertion): Detect a return instruction being
7675 emitted to an edge. Emit a barrier following; clear fallthru.
7676 (commit_edge_insertions): Verify CFG consistency.
7677 * function.c (expand_function_start): Kill unused variable.
7678 (expand_function_end): Likewise.
7679 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7680 to insert the epilogue.
7682 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7683 (delete_null_pointer_checks): Likewise.
7684 * output.h: Likewise.
7685 * reg-stack.c (reg_to_stack): Likewise.
7686 * toplev.c (rest_of_compilation): Likewise. Run
7687 thread_prologue_and_epilogue_insns after rebuilding the CFG.
7689 2000-01-28 Richard Henderson <rth@cygnus.com>
7691 * Makefile.in (flow.o): Revert 24 Jan change.
7692 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
7693 FUNCTION_VALUE result to DECL_RESULT's mode.
7695 * haifa-sched.c (schedule_insns): Don't recompute reg info
7698 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
7700 * configure.in: Make --enable-cpplib the default.
7701 * configure: Regenerate.
7702 * gcc.dg/990119-1.c: No longer expected to fail.
7704 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
7706 * jump.c (jump_optimize_1): Delete an optimization that is also done
7707 by merge_blocks in flow.
7709 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7711 * diagnostic.c (build_message_string, output_printf,
7712 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7713 (build_location_prefix): Fix non-literal format string.
7715 2000-01-27 Richard Henderson <rth@cygnus.com>
7717 * alpha.md (trunctfsf2): New.
7719 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
7721 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7723 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7725 * cppinit.c (cpp_handle_option): Recognize C++ comments under
7727 * cpplib.c (skip_block_comment, skip_line_comment): Split code
7729 (skip_comment) ... here. Permit C++ comments in system
7730 headers always. Warn about C++ comments in user code under
7731 -std=gnu89 -pedantic.
7732 (copy_comment): Use skip_comment.
7733 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
7735 (consider_directive_while_skipping, do_else, do_endif): Call
7736 validate_else unconditionally.
7737 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
7738 text after the conditional in a system header.
7739 * cpplib.h (struct cpp_buffer): Add flag
7740 warned_cplusplus_comments.
7742 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
7744 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
7745 Use unshare_all_rtl_1.
7746 (unshare_all_rtl_again): New function.
7747 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
7749 * function.c (purge_addressof_1): Use unshare_all_rtl_again
7750 rather than resetting the 'used' flags ourself.
7752 * toplev.c (rest_of_compilation): Add current_function_decl
7753 to the unshare_all_rtl call.
7754 * tree.h: Prototype unshare_all_rtl.
7755 * rtl.h: Prototype unshare_all_rtl_again here.
7757 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
7759 * genoutput.c (output_prologue): Include ggc.h in generated
7761 * Makefile.in (insn-output.o): Depends on ggc.h.
7763 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
7764 Hans-Peter Nilsson <hp@bitrange.com>
7766 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
7767 Remove redundant include of xm-ns32k.h.
7768 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
7769 Remove redundant include of xm-ns32k.h.
7770 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
7771 Remove redundant include of xm-ns32k.h.
7772 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
7774 * ns32k/ns32k.h: Update comment on multiply-add instructions.
7775 (TARGET_SWITCHES): Add documentation strings.
7776 (DWARF_FRAME_REGNUM): Override default definition.
7777 (REG_CLASS_CONTENTS): Add comments.
7778 (SUBSET_P): Format to reduce line length.
7779 (SMALL_REGISTER_CLASSES): Make a run time option.
7780 (GO_IF_NONINDEXED_ADDRESS): Reformat.
7781 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
7782 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
7783 (regclass_map): fix typo in comment.
7784 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
7785 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
7786 (trace, reg_or_mem_operand): Delete, unused function.
7787 (calc_address_cost): Small offsets are cheaper than large ones.
7788 (expand_block_move): Generate more efficient code when bytes is a
7789 known at compile time.
7790 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
7791 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
7792 instead of reg_or_mem_operand.
7794 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
7795 not general_operand. Similarly use "=rm" or stricter, not "=g".
7796 For input operands, use stricter constraints than "g" if not
7797 general_operand. Similarly use stricter predicate than
7798 "general_operand" when stricter constraints than "g" are present,
7799 except for matching constraints.
7800 (movstrsi): Use "memory_operand" for operands 0 and 1.
7801 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
7802 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
7803 not reg_or_mem_operand.
7804 (udivmoddisi4): Ditto.
7805 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
7806 Use nonimmediate_operand for operand 3, not register_operand.
7807 (udivmoddiqi4_internal): Use register_operand for operand 1, not
7810 2000-01-27 Fred Fish <fnf@be.com>
7812 * gthr-posix.h: Fix typo; compatibily -> compatibility.
7813 * gthr-single.h: Likewise.
7814 * gthr-solaris.h: Likewise.
7815 * gthr-vxworks.h: Likewise.
7816 * gthr-win32.h: Likewise.
7819 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7821 * cppinit.c: Add " (cpplib)" to end of string printed by
7824 2000-01-27 Richard Henderson <rth@cygnus.com>
7826 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
7827 testing for a signed comparison.
7828 (alpha_emit_floatuns): New.
7829 * alpha-protos.h: Declare it.
7830 * alpha.md (floatunsdisf2, floatunsdidf2): New.
7831 (extendsfdf2): Tidy.
7833 2000-01-27 Jakub Jelinek <jakub@redhat.com>
7835 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
7836 no -g option specifying debugging format, default to -gstabs+.
7838 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7840 * calls.c (special_function_p): New argument fork_or_exec.
7841 (expand_call): When profile_arc_flag is set and the function
7842 is in the fork_or_exec group, call __bb_fork_func first.
7843 * libgcc2.c, _bb module (__bb_fork_func): New function.
7844 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
7846 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
7847 * tree.h (special_function_p): Update prototype.
7849 2000-01-26 Richard Henderson <rth@cygnus.com>
7851 * alpha.c (alpha_split_tfmode_pair): New.
7852 * alpha-protos.h: Declare it.
7853 * alpha.md (abstf2, negtf2): New.
7854 (movtf insn): Add input G constraint.
7855 (movtf splitter): Use alpha_split_tfmode_pair.
7857 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7859 * i386/cygwin.h: PROTO -> PARAMS.
7861 2000-01-26 Jakub Jelinek <jakub@redhat.com>
7863 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
7864 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
7865 using _Qp_cmp/_Q_cmp and testing the return value.
7866 (print_operand): Call reverse_condition_maybe_unordered if
7867 we are handling CCFPmode or CCFPEmode.
7868 Handle ORDERED, UN* and LTGT comparisons.
7869 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
7870 if not TARGET_HARD_QUAD.
7871 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
7872 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
7873 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
7874 Adjust gen_b* calls so that they reflect return comparison of
7875 sparc_emit_float_lib_cmp.
7877 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7879 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
7880 incoming operands array is large enough for one more operand.
7881 (alpha_emit_xfloating_arith): Likewise.
7883 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
7885 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
7886 file with one line and no trailing newline.
7887 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
7888 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
7889 checking if the match is on the line.
7890 * fixinc/gnu-regex.c: Provide regerror not __regerror.
7892 2000-01-25 Richard Henderson <rth@cygnus.com>
7894 * sparc.c (output_cbranch): Fix accidental squashing of the
7895 fp branch pre-delay nop.
7897 2000-01-25 Richard Henderson <rth@cygnus.com>
7899 * tree.def (UNNE_EXPR): Remove.
7900 * c-typeck.c (build_binary_op): Don't handle it.
7901 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
7903 * rtl.def (UNNE): Remove.
7905 * jump.c (reverse_condition): Update accordingly.
7906 (swap_condition): Likewise.
7907 (comparison_dominates_p): Handle unordered comparisons.
7908 (reverse_condition_maybe_unordered): New.
7909 * rtl.h (reverse_condition_maybe_unordered): Declare.
7911 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
7912 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
7913 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
7914 * sparc.md (bltgt): New.
7916 2000-01-25 Nick Clifton <nickc@redhat.com>
7918 * emit-rtl.c (emit_insn): Only check machine class insns for
7919 improper emission of a RETURN.
7921 2000-01-25 Richard Henderson <rth@cygnus.com>
7923 * Makefile.in (flow.o): Depend on $(EXPR_H).
7924 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
7925 duplicate the structure of diddle_return_value for keeping regs live.
7927 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7929 * loop.c (current_loop_info): Delete.
7930 (consec_sets_invariant_p): Add loop argument, update callers.
7931 (get_condition_for_loop): Likewise.
7932 (count_nonfixed_reads, update_giv_derive): Likewise.
7933 (simplify_giv_expr, general_induction_var): Likewise.
7934 (consec_sets_giv, recombine_givs): Likewise.
7935 (move_movables): Delete loop_start and loop_end arguments,
7936 add loop argument, and update callers.
7937 (find_mem_givs, check_final_value): Likewise.
7938 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
7939 (loop_invariant_p): Rename from invariant_p, add loop argument, and
7941 (basic_induction_var): Add loop argument, delete loop_level argument,
7943 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
7944 add loop argument, and update callers.
7945 (find_splittable_regs, find_splittable_givs): Likewise.
7946 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
7947 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
7948 (biv_total_increment): Delete loop_start and loop_end arguments;
7950 (precondition_loop_p): Delete loop_start and loop_info arguments;
7952 * loop.h (get_condition_for_loop): Add loop argument.
7953 (biv_total_increment): Delete loop_start and loop_end arguments.
7954 (precondition_loop_p): Delete loop_start and loop_info arguments;
7956 (final_biv_value): Delete loop_start and loop_end arguments;
7958 (final_giv_value, back_branch_in_range_p): Likewise.
7960 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
7962 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
7964 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
7966 * Makefile.in (c-gperf.h) : Change the "See" pointer to
7967 point to the new "generated_files" doc.
7969 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
7971 * config/fp-bit.c (_unord_f2): Fix typo.
7973 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
7975 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
7976 c-typeck.c, objc/objc-act.c: Remove all references to obstack
7977 functions obsoleted by GC, such as push_obstacks_nochange,
7978 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
7979 and code which existed only to decide whether or not to call
7980 them. Remove now-unused NESTED argument from start_function;
7981 all callers changed. Do not change behavior based on ggc_p.
7982 The use of the ixp_obstack in c-iterate.c and the util_obstack
7983 in objc/objc-act.c remain; these are not obsoleted by garbage
7985 * c-tree.h: Update prototype for start_function.
7987 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
7989 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
7991 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
7994 2000-01-25 Richard Henderson <rth@cygnus.com>
7996 * sparc-protos.h (select_cc_mode): Declare.
7997 * sparc.c (select_cc_mode): New. Handle unordered compares.
7998 (output_cbranch): Always reverse via code change. Handle
7999 unordered compares. Factor tests and string updates.
8000 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8001 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8002 * sparc.md (bunordered, bordered): New.
8003 (bungt, bunlt, buneq, bunge, bunle): New.
8005 2000-01-25 Richard Henderson <rth@cygnus.com>
8007 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8008 * ggc-common.c (ggc_add_rtx_varray_root): New.
8009 (ggc_mark_rtx_varray): New.
8010 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
8011 functions down below ggc_mark_foo.
8012 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8014 2000-01-25 Richard Henderson <rth@cygnus.com>
8016 * alpha.c (secondary_reload_class): Don't allocate a secondary
8017 for integral mode memories into FLOAT_REGS. Rearrange the more
8018 complicated memory expression inward.
8020 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
8022 * inclhack.def: Fixes to play nicer with FreeBSD, and
8023 corrections to comments.
8024 (cxx_unready): Add select expression.
8025 (irix_sockaddr): Add bypass expression.
8026 (machine_ansi_h_va_list): New fix.
8027 (stdio_va_list): No need to edit _BSD_VA_LIST_.
8028 Split out addition of "#include <stdarg.h>" to...
8029 (stdio_stdarg_h): ... here.
8030 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
8031 to stdlib.h also. Do not munge _BSD_SIZE_T_.
8032 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8034 (ultrix_ifdef): Tighten up select expression.
8036 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
8037 re_ct and max_mach to avoid use of shell. Make printed names
8038 match names in inclhack.def. Use static copyright date.
8039 Don't count c_test and test expressions as requiring regex_t
8040 slots. Add some commentary.
8041 * inclhack.tpl: Do not include the 'This script contains N
8042 fixup scripts' line if PROGRAM is defined. Use static
8045 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
8047 * dwarf2out.c: include "varray.h", not dyn-string.h.
8048 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8049 (addr_const_to_string, addr_to_string): Lose.
8050 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8051 (struct dw_val_struct): val_addr is now an rtx.
8052 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8053 (used_rtx_varray): New varray.
8054 (dwarf2out_init): Initialize it.
8056 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8058 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8059 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8060 * Makefile.in (dwarf2out.o): Update dependencies.
8062 2000-01-24 Richard Henderson <rth@cygnus.com>
8064 * i386.c (i386_dwarf_output_addr_const): New.
8065 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8067 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8069 * dwarfout.c (output_mem_loc_descriptor): Likewise.
8070 * i386.c (i386_simplify_dwarf_addr): New.
8071 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8073 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
8075 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8076 TYPE_STUB_DECL is NULL.
8078 2000-01-24 Richard Henderson <rth@cygnus.com>
8080 * builtins.c (expand_tree_builtin): Move ...
8081 * c-common.c (expand_tree_builtin): ... here.
8083 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8085 * loop.h (LOOP_INFO): New accessor macro.
8086 * basic-block.h (struct loop): Rename field `info' to `aux'.
8087 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8088 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8089 * unroll.c (loop_iterations, unroll_loop): Likewise.
8091 2000-01-24 Christopher Faylor <cgf@cygnus.com>
8093 * config/i386/t-cygwin: Accomodate new winsup directory layout
8094 when searching for include files.
8096 2000-01-24 Richard Henderson <rth@cygnus.com>
8098 * rtl.def: Add unordered fp comparisions.
8099 * tree.def: Likewise.
8100 * tree.h: Add ISO C 9x unordered fp comparision builtins.
8102 * builtins.c (expand_tree_builtin): New function.
8103 * c-typeck.c (build_function_call): Use it.
8104 (build_binary_op): Support unordered compares.
8105 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8107 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8108 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8109 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8110 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8111 * jump.c (reverse_condition): Don't abort for UNLE etc, but
8113 (swap_condition): Handle unordered compares.
8114 (thread_jumps): Check can_reverse before reversing.
8115 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
8118 * optabs.c (can_compare_p): New argument CODE. Verify branch or
8119 setcc is present before acking for cmp_optab. Update all callers.
8120 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8121 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8122 * expr.c (expand_expr): Likewise. Support unordered compares.
8123 (do_jump, do_store_flag): Likewise.
8124 * expr.h (enum libfunc_index): Add unordered compares.
8126 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8127 (DPBIT_FUNCS): Add _unord_df.
8128 * config/fp-bit.c (_unord_f2): New.
8129 * fp-test.c (main): Try unordered compare builtins.
8131 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8132 * alpha.c (alpha_comparison_operator): Check mode properly.
8133 (alpha_swapped_comparison_operator): Likewise.
8134 (signed_comparison_operator): Likewise.
8135 (alpha_fp_comparison_operator): New.
8136 (alpha_emit_conditional_branch): Handle unordered compares.
8137 * alpha.h (PREDICATE_CODES): Update.
8138 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8139 (bunordered, bordered): New.
8141 2000-01-24 Richard Henderson <rth@cygnus.com>
8143 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8144 * alpha.md (movtf): New expander, insn, and splitter.
8146 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
8148 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8151 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
8153 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8154 (FIXED_REGISTERS, CALL_USED_REGISTERS,
8155 REG_ALLOC_ORDER): Add frame pointer
8156 (FRAME_POINTER_REGNUM): Set to 20
8157 (HARD_FRAME_POINTER_REGNUM): New macro.
8158 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8159 to HARD_FRAME_POINTER.
8160 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8161 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8162 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8163 (HI_REGISTER_NAMES): Add "frame".
8164 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8165 (debug_reg): Handle FRAME_POINTER_REGNUM.
8166 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8167 GENERAL_REGS and INDEX_REGS.
8168 * i386.c (SAVED_REGS_FIRST): new macro.
8169 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8170 (ix86_decompose_address, memory_address_length): Likewise.
8171 (regclass_map): Add frame pointer.
8172 (call_insn_operand): Handle frame_pointer_rtx.
8173 (reg_no_sp_operand): Likewise.
8174 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8175 (print_operand, legitimize_pic_address): Fix formating.
8176 (ix86_compute_frame_size): Make static, update prototype, new
8177 parameters padding1, padding2, use ix86_nsaved_regs, use
8178 stack_alignment_needed.
8179 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8180 to HARD_FRAME_POINTER_REGNUM conversions.
8181 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8182 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8183 (print_reg): Abort on FRAME_POINTER_REGNUM
8185 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
8187 * i386.h (PREDICATE_CODES): Add aligned_operand.
8188 * i386.c (aligned_operand): New function.
8189 (ix86_aligned_p): Kill.
8190 * i386.md (movhi_1): Emit mov for aligned operands.
8191 (promoting peep2s): Use aligned_operand.
8193 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
8195 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8196 expression to allow underscores in macro names.
8197 (fix_char_macro_defines): Increment scanning pointer.
8199 2000-01-23 Richard Henderson <rth@cygnus.com>
8201 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8202 * alpha/osf5.h: New file.
8203 * configure.in (alpha-*-osf5): Add it to tm_file.
8205 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8207 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8208 (alpha_emit_xfloating_cvt, function_arg): Declare.
8209 * alpha.c (alpha_emit_conditional_branch): Call
8210 alpha_emit_xfloating_compare for TFmode compares.
8211 (alpha_lookup_xfloating_lib_func): New.
8212 (alpha_compute_xfloating_mode_arg): New.
8213 (alpha_emit_xfloating_libcall): New.
8214 (alpha_emit_xfloating_arith): New.
8215 (alpha_emit_xfloating_compare): New.
8216 (alpha_emit_xfloating_cvt): New.
8217 (print_operand): Add default abort case.
8218 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8219 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8220 (BIGGEST_ALIGNMENT): Increase to 128 bits.
8221 (RETURN_IN_MEMORY): True for TF/TCmode.
8222 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8223 (FUNCTION_ARG): Move to function_arg.
8224 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8225 (ASM_OUTPUT_LONG_DOUBLE): New.
8226 (ASM_OUTPUT_DOUBLE): Always output bits.
8227 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8228 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8229 (extenddftf2, trunctfdf2): New.
8231 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8233 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8234 * config/sparc/sol2.h: ... here.
8236 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8238 * basic-block.h (struct loops): New field `levels'.
8239 * flow.c (flow_loops_level_compute): Traverse all outer loops.
8240 (flow_loop_level_compute): Initialise level to 1.
8241 (flow_loops_find): Set loops->levels.
8242 (flow_loops_dump): Print loops->levels.
8244 2000-01-23 Richard Henderson <rth@cygnus.com>
8246 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8247 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8249 2000-01-23 Richard Henderson <rth@cygnus.com>
8251 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8252 * i386.h (DBX_REGISTER_NUMBER): Use them.
8253 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8254 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8255 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8256 * i386/sequent.h: Kill incorrect comment.
8258 2000-01-23 Mark Mitchell <mark@codesourcery.com>
8260 * ggc-page.c (struct page_entry): Make `context_depth' an
8262 (struct globals): Likewise.
8264 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
8266 * loop.c (check_dbra_loop): When checking a loop for
8267 reversability, check the source of any stores to ensure
8268 they don't depend on an initial value.
8270 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8272 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8274 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
8276 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8277 'pz_scan' into scope of entire function. Only affects
8278 compiles with -DDEBUG.
8280 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8282 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8283 section naming to that prior to 2000-01-07 patch.
8284 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8285 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8286 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8287 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8288 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8290 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
8292 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8295 2000-01-21 Jim Wilson <wilson@cygnus.com>
8297 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8298 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8300 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8302 * cpphash.c (change_newlines): Delete function.
8303 (struct argdata): Delete 'newlines' and 'use_count' fields.
8304 (macroexpand): Remove code referencing those fields.
8306 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8308 * loop.c (loops_info): New variable.
8309 (loop_optimize): Allocate loops->array and free it on exit.
8310 Allocate memory for loops_info and assign to each loop,
8312 (find_and_verify_loops): Do not allocate loops->array.
8314 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8316 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8318 2000-01-21 Jakub Jelinek <jakub@redhat.com>
8320 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8321 pseudos if expanded after first flow.
8322 (movdi_pic_label_ref): Likewise.
8324 2000-01-20 Richard Henderson <rth@cygnus.com>
8326 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8328 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
8330 * Makefile.in (fixinc.sh): Depend on specs.
8331 * fixinc/Makefile.in: Add rule to create machname.h.
8332 (fixlib.o): Depend on machname.h.
8333 * fixinc/fixtests.c (machine_name): New test.
8334 * fixinc/fixfixes.c (machine_name): New fix.
8335 * fixinc/fixlib.c (mn_get_regexps): New helper function for
8336 the machine_name test and fix.
8337 * fixinc/fixlib.h: Prototype it.
8338 * fixinc/inclhack.def (machine_name): Use the C test and fix.
8339 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8341 * gcc.c (do_spec_1) [case P]: Take care not to create
8342 identifiers with three leading or trailing underscores.
8344 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8345 (fixincl): Don't specify libraries twice on link line.
8346 (gnu-regex.o): Remove special rule.
8347 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8348 defined by config.h. Do not define _REGEX_RE_COMP.
8349 (regcomp): Allocate and initialize a fastmap.
8350 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8352 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
8354 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8356 2000-01-19 Richard Henderson <rth@cygnus.com>
8358 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8359 arguments with BB. Update all callers. Tidy line wrapping.
8361 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
8363 * emit-rtl.c (try_split): Return last_insn if we split the
8366 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
8368 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8369 (ix86_initial_elimination_offset): Declare.
8370 * i386.c (ix86_nsaved_regs): Break out from ...
8371 (ix86_can_use_return_insn_p): ... here.
8372 (ix86_emit_save_regs): Break out from ...
8373 (ix86_expand_prologue): ... here.
8374 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8376 (ix86_expand_epilogue): ... here.
8377 (ix86_compute_frame_size): Make static, add prototype.
8378 (ix86_initial_elimination_offset): Break out from ...
8379 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8381 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8383 * recog.h (OUT_FCN): Delete.
8385 * vax.md: Call `get_insn_template' instead of OUT_FCN.
8387 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8389 * cppalloc.c: PROTO -> PARAMS.
8390 * cpperror.c: Likewise.
8391 * cppfiles.c: Likewise.
8392 * cpplib.c: Likewise.
8393 * cpplib.h: Likewise.
8395 * config/arm/arm-protos.h: PROTO -> PARAMS.
8396 * config/arm/arm.c: Likewise.
8397 * config/c4x/c4x.c: Likewise.
8398 * config/fr30/fr30-protos.h: Likewise.
8399 * config/nextstep.c: Likewise.
8400 * config/pa/pa.c: Likewise.
8401 * config/pj/pj.c: Likewise.
8402 * config/rs6000/rs6000.c: Likewise.
8403 * config/v850/v850-protos.h: Likewise.
8404 * config/v850/v850.c: Likewise.
8406 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8408 * i370-protos.h: New file.
8410 * i370.c: Include tm_p.h. Fix compile time warnings.
8412 * i370.h: Move prototypes to i370-protos.h. Fix compile time
8415 * i370.md: Likewise.
8417 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8419 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8420 (target_isinf, target_isnan, eisnan): Mark parameter with
8422 (eiisinf): Wrap in INFINITY.
8423 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8424 (ibmtoe): Remove unused variable `rndsav'.
8426 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8428 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8429 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8431 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
8433 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8434 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8435 (fix_char_macro_defines, fix_char_macro_uses): New functions.
8437 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8438 Recognize Emacs mode markers also.
8439 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8440 C++ comments in C++ headers. Call is_cxx_header only if
8443 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8445 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8446 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8447 ... these, which use the new C fixes.
8448 (math_exception): Escape literal '+' in bypass expression.
8450 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8453 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8455 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8458 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8460 * loop.c (loop_optimize): Allocate loop_info structure for each loop
8461 prior to calling scan_loop.
8463 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8465 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8466 (split_branches, calc_live_regs): Likewise.
8468 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8470 * sh.md (fpu_single, fp_mode): New attributes.
8472 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8474 * loop.c (current_loop_info): Renamed from loop_info_data
8475 and changed to a pointer.
8476 (loop_optimize): Allocate loop_info structure for each loop
8477 and initialise to zero.
8478 (scan_loop): Set current_loop_info.
8480 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8483 2000-01-19 Richard Henderson <rth@cygnus.com>
8485 * stupid.c: Die die die.
8486 * Makefile.in (OBJS): Remove stupid.o.
8487 (stupid.o): Likewise.
8489 * except.c (emit_eh_context): Don't emit USEs for stupid.
8490 * explow.c (probe_stack_range): Likewise.
8491 * flags.h (obey_regdecls): Remove.
8492 * flow.c (find_basic_blocks): Don't run try_merge_blocks
8493 when not optimizing.
8494 (life_analysis): Limit data collection when not optimizing.
8495 (mark_regs_live_at_end): Always mark the return value registers.
8496 (mark_used_regs): Remove dummy RETURN case.
8497 (print_rtl_with_bb): Don't consult obey_regdecls.
8498 * function.c (use_variable, use_variable_after): Remove.
8499 (assign_parms): Consult optimize not obey_regdecls.
8500 (expand_function_start): Don't emit USEs for stupid.
8501 (expand_function_end): Likewise.
8502 * global.c (build_insn_chain): Export.
8503 * integrate.c (expand_inline_function): Kill return-value USE
8505 * jump.c (jump_optimize_1): Do simple jump optimizations and
8506 dead code elimination.
8507 (calculate_can_reach_end): Remove check_deleted argument.
8508 (delete_insn): Patch out insns even when not optimizing.
8509 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8510 * rtl.h (use_variable, use_variable_after): Remove declarations.
8511 (build_insn_chain): Declare.
8512 * stmt.c (expand_value_return): Don't emit USEs for stupid.
8513 (expand_end_bindings): Likewise.
8514 (expand_decl): Likewise. Consult optimize not obey_regdecls.
8515 * toplev.c (obey_regdecls): Remove.
8516 (rest_of_compilation): Don't set it. Kill stupid in favour of
8517 flow1, local-alloc, and reload.
8518 (main): Don't set obey_regdecls.
8520 * config/nextstep.c (handle_pragma): Likewise.
8522 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8524 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8526 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8528 * alpha-protos.h: PROTO -> PARAMS.
8529 * alpha.c: Likewise.
8531 * h8300.c: Likewise.
8532 * i386-protos.h: Likewise.
8534 * m32r-protos.h: Likewise.
8537 * mips.md: Likewise.
8538 * gmon-sol2.c: Likewise.
8539 * sparc.c: Likewise.
8541 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8543 * ns32k-protos.h: New file.
8545 * ns32k.c: Fix compile time warnings.
8547 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
8550 * ns32k.md: Likewise.
8552 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8554 * vax-protos.h: New file.
8556 * vax.c: Fix compile time warnings.
8558 * vax.h: Move prototypes to vax-protos.h. Fix compile time
8563 * vaxv.md: Likewise.
8565 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8567 * romp-protos.h: New file.
8569 * romp.c: Fix compile time warnings.
8571 * romp.h: Move prototypes to romp-protos.h. Fix compile time
8574 * romp.md: Likewise.
8576 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8578 * we32k-protos.h: New file.
8580 * we32k.c: Fix compile time warnings.
8582 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
8585 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8587 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8589 * except.c (eh_regs): Likewise.
8591 * final.c (output_operand): Likewise.
8593 * fold-const.c (target_isinf, target_isnan): Likewise.
8595 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
8597 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8598 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8600 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8602 (clrstrsi): Rewrite.
8603 (strsethi, strsetqi): New expanders.
8604 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8605 (cmpstrsi): Emit compare insn before cmpstrsi_1
8606 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8607 (strlensi_1): Likewise.
8608 (cmpstrsi_1): Likewise; do not output compare.
8609 (strlen expander): Do not unroll when optimizing for size.
8610 (*subsi3_carry): Rename to subsi3_carry
8611 (addqi3_cc): New pattern.
8612 * i386.h (processor_costs): Add move_ratio field.
8613 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8614 * i386.c (*_cost): Set move_ratio.
8615 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8616 (x86_expand_strlensi_1): Rewrite the main loop.
8618 2000-01-17 Richard Henderson <rth@cygnus.com>
8620 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8621 * cse.c (find_comparison_args, fold_rtx): Likewise.
8622 * integrate.c (subst_constants): Likewise.
8623 * loop.c (get_condition): Likewise.
8625 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8627 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8629 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8631 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8632 (RESTORE_WARN_FLAGS): Unpack it.
8633 Change semantic type of extension to ttype.
8634 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8635 * c-parse.y, c-parse.c, objc/objc-parse.y,
8636 objc/objc-parse.c: Regenerate.
8638 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
8640 * fixinc/fixlib.c: Add copyright notice.
8641 (compile_re): New function.
8642 * fixinc/fixlib.h: Prototype compile_re.
8644 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8645 Use compile_re to compile regular expressions.
8647 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8648 where the pattern matched.
8650 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8652 (ultrix_ansi_compat): Likewise.
8653 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8655 (interactv_add2, interactv_add3): Delete.
8656 (x11_sprintf): Don't use filename glob.
8657 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8660 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8662 * print-rtl.c: PROTO -> PARAMS.
8664 * reg-stack.c: Likewise.
8665 * resource.c: Likewise.
8666 * sdbout.h: Likewise.
8667 * simplify-rtx.c: Likewise.
8668 * stor-layout.c: Likewise.
8669 * stupid.c: Likewise.
8670 * xcoffout.c: Likewise.
8671 * xcoffout.h: Likewise.
8673 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8675 * toplev.c: PROTO -> PARAMS.
8676 * toplev.h: Likewise.
8679 * unroll.c: Likewise.
8680 * varasm.c: Likewise.
8681 * varray.c: Likewise.
8682 * varray.h: Likewise.
8684 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8686 * reload.c: PROTO -> PARAMS.
8687 * reload.h: Likewise.
8688 * reload1.c: Likewise.
8689 * reorg.c: Likewise.
8690 * resource.h: Likewise.
8693 * rtlanal.c: Likewise.
8694 * sbitmap.h: Likewise.
8695 * sdbout.c: Likewise.
8696 * stack.h: Likewise.
8698 * system.h: Likewise.
8700 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8702 * machmode.h: PROTO -> PARAMS.
8703 * mbchar.h: Likewise.
8704 * mips-tdump.c: Likewise.
8705 * mips-tfile.c: Likewise.
8706 * optabs.c: Likewise.
8707 * output.h: Likewise.
8708 * prefix.c: Likewise.
8709 * profile.c: Likewise.
8710 * protoize.c: Likewise.
8712 * recog.c: Likewise.
8713 * recog.h: Likewise.
8714 * regclass.c: Likewise.
8715 * regmove.c: Likewise.
8718 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8720 * ggc-common.c: PROTO -> PARAMS.
8721 * ggc-page.c: Likewise.
8722 * ggc-simple.c: Likewise.
8724 * global.c: Likewise.
8725 * graph.c: Likewise.
8726 * gthr-win32.h: Likewise.
8727 * haifa-sched.c: Likewise.
8728 * halfpic.h: Likewise.
8729 * integrate.c: Likewise.
8730 * integrate.h: Likewise.
8733 * local-alloc.c: Likewise.
8737 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8739 * genattr.c: PROTO -> PARAMS.
8740 * genattrtab.c: Likewise.
8741 * gencheck.c: Likewise.
8742 * gencodes.c: Likewise.
8743 * genconfig.c: Likewise.
8744 * genemit.c: Likewise.
8745 * genextract.c: Likewise.
8746 * genflags.c: Likewise.
8747 * gengenrtl.c: Likewise.
8748 * genopinit.c: Likewise.
8749 * genoutput.c: Likewise.
8750 * genpeep.c: Likewise.
8751 * genrecog.c: Likewise.
8753 2000-01-16 Mark Mitchell <mark@codesourcery.com>
8755 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
8757 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8759 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
8760 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
8761 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
8762 * configure, config.in: Rebuilt.
8764 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
8766 * config/i386/i386.md: Add peephole to merge successive stack
8769 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
8771 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
8772 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
8773 when walking backwards to find all the parameter loads when
8774 the basic block ends in a call.
8776 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8778 * loop.c (this_loop_info): Delete.
8779 (uid_loop): Add in place of uid_loop_num. All uses updated.
8780 (loop_number_exit_count): Delete and replace with entry in loop
8781 structure. All uses updated.
8782 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8783 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8784 (loop_outer_loop): Likewise.
8785 (loop_invalid, loop_number_exit_labels): Likewise.
8786 (loop_used_count_register): Delete and replace with entry in
8787 loop_info structure.
8788 (find_and_verify_loops): Add loops argument.
8789 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
8790 loop_end, etc. arguments with loop structure pointer. All callers
8792 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
8793 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
8794 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
8795 (insert_bct): Likewise.
8796 (basic_induction_var): New argument level.
8797 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
8798 vtop, and cont. Add used_count_register.
8799 (uid_loop): Delete declaration.
8800 (loop_number_exit_count): Likewise.
8801 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8802 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8803 (loop_outer_loop, loop_used_count_register): Likewise.
8804 (loop_invalid, loop_number_exit_labels): Likewise.
8805 (unroll_loop): Replace loop_start and loop_end arguments
8806 with loop structure pointer.
8807 (loop_precondition_p, loop_iterations): Likewise.
8808 Include basic-block.h.
8809 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
8810 with loop structure pointer.
8811 (loop_precondition_p, loop_iterations): Likewise.
8812 * basic-block.h (struct loop): New entries vtop, cont,
8813 cont_dominator, start, end, top, scan_start, exit_labels,
8815 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
8817 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8819 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
8821 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
8823 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
8825 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8827 * pdp11-protos.h: New file.
8829 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
8832 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
8835 * pdp11.md: Likewise.
8839 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8841 * mn10300-protos.h: New file.
8843 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
8846 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
8849 * mn10300.md: Likewise.
8851 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8853 * mn10200-protos.h: New file.
8855 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
8858 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
8861 * mn10200.md: Likewise.
8863 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8865 * h8300-protos.h: New file.
8867 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
8870 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
8873 * h8300.md: Likewise.
8875 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8877 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
8878 (asm_emit_uninitialised): Likewise.
8880 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
8882 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
8883 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
8885 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8887 * config/mips/mips.c (override_options): Don't turn on extra
8888 alignment for mips16.
8890 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8892 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
8893 eabi, and make sure queued POSTINCREMENT rtl is emitted at
8896 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8898 * builtins.c (PAD_VARARGS_DOWN): Define.
8899 (std_expand_builtin_va_arg): Use the above macro.
8900 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
8901 * tm.texi (Register Arguments): Document the above macro.
8903 2000-01-14 Nick Clifton <nickc@cygnus.com>
8905 * emit-rtl.c (emit_insn): If checking is enabled, make sure
8906 that this function has not been used to emit a jump
8909 * jump.c (return_jump_1): Cope with being passed a null rtx.
8911 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8913 * eh-common.h: PROTO -> PARAMS.
8914 * emit-rtl.c: Likewise.
8915 * errors.c: Likewise.
8916 * errors.h: Likewise.
8917 * except.c: Likewise.
8918 * except.h: Likewise.
8919 * explow.c: Likewise.
8920 * expmed.c: Likewise.
8923 * final.c: Likewise.
8924 * fix-header.c: Likewise.
8926 * fold-const.c: Likewise.
8927 * function.c: Likewise.
8928 * function.h: Likewise.
8930 * gcov-io.h: Likewise.
8934 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8936 * sh-protos.h: New file.
8938 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
8939 Add static prototypes. Fix compile time warnings.
8941 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
8945 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8947 * arc-protos.h: New file.
8949 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
8952 * arc.h: Move prototypes to arc-protos.h. Fix compile time
8957 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8959 * dsp16xx-protos.h: New file.
8961 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
8964 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
8967 * dsp16xx.md: Likewise.
8969 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8971 * convex-protos.h: New file.
8973 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
8976 * convex.h: Move prototypes to convex-protos.h. Fix compile time
8979 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8981 * elxsi-protos.h: New file.
8983 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
8986 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
8989 * elxsi.md: Likewise.
8991 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8993 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
8994 case for moving from HI/LO/HI_LO_REG. This makes the behavior
8995 match the comment for MIPS16.
8997 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
8999 * flow.c (split_edge): Do not call set_block_for_insn if we
9000 do not have a basic_block_for_insn structure.
9002 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9003 and destination functions are 32bit aligned within the trampoline.
9004 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9005 (TRAMPOLINE_ALIGNMENT): Define.
9007 * cse.c (cse_insn): When changing (set (pc) (reg)) to
9008 (set (pc) (label_ref)), verify the change creates a valid insn.
9010 * fr30.c (call_operand): Tighten and rework to match rules for
9011 call RTL expressions.
9012 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9013 * fr30.md (call patterns): Improve constraints.
9015 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
9017 * fr30.c (fr30_expand_epilogue): Revert last change.
9018 Use emit_jump_insn for the return insn.
9020 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
9021 Stan Cox <scox@cygnus.com>
9023 * predict.c: New file. Preliminary infrastructure work for static
9024 branch prediction and basic block reordering.
9025 * basic-block.h: Add prototype for estimate_probability.
9026 * Makefile.in: Add rules for predict.o.
9028 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
9030 * fixincludes (va_list): Use __not_va_list__ for the dummy.
9031 * fixinc/*: Likewise.
9033 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9035 * cccp.c: PROTO -> PARAMS.
9037 * collect2.c: Likewise.
9038 * combine.c: Likewise.
9039 * convert.h: Likewise.
9041 * dbxout.c: Likewise.
9042 * dbxout.h: Likewise.
9043 * diagnostic.c: Likewise.
9044 * doprint.c: Likewise.
9045 * dwarf2out.c: Likewise.
9046 * dwarf2out.h: Likewise.
9047 * dwarfout.c: Likewise.
9048 * dwarfout.h: Likewise.
9049 * dyn-string.h: Likewise.
9051 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9053 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9054 macro conditionals guarding use.
9056 * dwarf2out.c: Include "tm_p.h".
9058 * function.c (locate_and_pad_parm): Mark parameter with
9060 (expand_function_end): Likewise for variable `context'.
9062 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9064 2000-01-13 Nick Clifton <nickc@cygnus.com>
9066 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9067 register to prevent compile time warnings.
9069 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
9071 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9072 to avoid -Wtraditional warning.
9074 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9076 * 1750a-protos.h: New file.
9078 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
9081 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
9084 * 1750a.md: Likewise.
9086 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9088 * a29k-protos.h: New file.
9090 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
9093 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
9096 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9098 * clipper-protos.h: New file.
9100 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
9103 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
9106 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9108 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9110 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
9112 * configure.in (--enable-new-gxx-abi): New option.
9113 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9114 * Makefile.in (GXX_ABI_FLAG): New variable.
9115 * configure: Regenerate.
9117 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9119 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9120 * tm.texi (FORCE_STRUCT_BLK): Document.
9121 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9123 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
9125 * config/ns32k/ns32k.md: Revert Jan 9 change.
9127 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9128 to a mode-test, if the predicate is address_operand.
9130 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
9132 * combine.c (if_then_else_cond): Be careful about what kinds
9133 of RTL expressions are passed to operand_subword.
9135 * flow.c (split_edge): If we have to insert a new jump, make
9136 sure to associate it with a basic block.
9138 * flow.c (commit_one_edge_insertion): A block with one successor
9139 can end in a JUMP_INSN that is not a simplejump.
9141 2000-01-12 Robert Lipe <robertl@sco.com>
9143 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9144 (BUILD_VA_LIST_TYPE): Define.
9145 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9148 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
9150 * cccp.c (do_pragma): Add cast to (char *).
9152 2000-01-12 Richard Henderson <rth@cygnus.com>
9153 Fred Fish <fnf@be.com>
9154 Jason Merrill <jason@cygnus.com>
9156 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9157 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9158 * i386/beos-elf.h, i386/beos-pe.h: New files.
9160 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9161 * cross-make (SYSTEM_HEADER_DIR): Define using
9162 CROSS_SYSTEM_HEADER_DIR.
9164 * gcc.c (LIBRARY_PATH_ENV): Provide default.
9165 (process_command): Use it.
9166 (main): Likewise. Kill trailing = from env vars.
9167 (build_search_list): Put it back.
9168 * collect2.c (main): Use LIBRARY_PATH_ENV.
9170 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9171 * toplev.c: Use NEED_DECLARATION_ENVIRON.
9173 * tm.texi (Frame Layout): Document SMALL_STACK.
9174 * c-common.c (c_common_nodes_and_builtins): Check it.
9176 * system.h: Undef alloca after including glibc's <stdlib.h>,
9177 if USE_C_ALLOCA is defined.
9179 * gcc.c (set_input): New fn.
9180 (main): After all input files are compiled, reset the input file
9183 * aclocal.m4 (rindex, index): If already defined, don't attempt
9186 * ginclude/varargs.h: (__va_list__): Define ifndef.
9187 * ginclude/stdarg.h: Likewise.
9189 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9190 instead of unsigned char.
9192 * hash.h (true, false, boolean): Undef before enum.
9194 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9195 proper type of "HOST_WIDE_INT *", rather than their natural type of
9196 "unsigned HOST_WIDE_INT *".
9198 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9200 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9202 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9204 * regclass.c (choose_hard_reg_mode): Likewise.
9206 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9208 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9210 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9212 * c-common.c: PROTO -> PARAMS.
9213 * c-common.h: Likewise.
9214 * c-decl.c: Likewise.
9215 * c-iterate.c: Likewise.
9216 * c-lang.c: Likewise.
9217 * c-lex.c: Likewise.
9218 * c-lex.h: Likewise.
9219 * c-parse.in: Likewise.
9220 * c-pragma.c: Likewise.
9221 * c-pragma.h: Likewise.
9222 * c-tree.h: Likewise.
9223 * c-typeck.c: Likewise.
9224 * objc/objc-act.c: Likewise.
9225 * objc/objc-act.h: Likewise.
9227 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9229 * m88k-protos.h: New file.
9231 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
9234 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
9236 * m88k.md: Likewise.
9238 * tekXD88.h: Likewise.
9240 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9242 * m68k-protos.h: New file.
9244 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
9247 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
9249 * mot3300.h: Likewise.
9251 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
9253 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9255 (extract_bitlist): Declare bitlen.
9257 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
9259 * cccp.c: Accept and ignore -lang-fortran.
9261 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9262 qualifiers don't match at any level of pointerness.
9264 2000-01-12 Robert Lipe <robertl@sco.com>
9266 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9268 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
9270 * reload1.c (reload_reg_unavailable): New static variable.
9271 (reload_reg_free_p): Test it.
9272 (reload_reg_free_for_value_p): Test it instead of
9274 (choose_reload_regs_init): Compute it.
9276 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
9278 * reorg.c (fill_slots_from_thread): Check modified_in_p
9281 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
9283 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9284 these nodes even if INTERNALS is not set.
9286 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
9288 * gcse.c (delete_null_pointer_checks_1): Cope when
9289 get_condition cannot determine the condition.
9291 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
9293 * toplev.h (set_message_length): Declare.
9295 * diagnostic.c (obstack_chunk_alloc): Define macro.
9296 (obstack_chunk_free): Likewise.
9297 (struct output_buffer): New data structure.
9299 (output_maximum_width): New variable.
9300 (doing_line_wrapping, set_message_length, init_output_buffer,
9301 get_output_prefix, output_space_left, emit_output_prefix,
9302 output_newline, output_append, output_puts, dump_output,
9303 vbuild_message_string, build_message_string, build_location_prefix,
9304 voutput_notice, output_printf, line_wrapper_printf,
9305 vline_wrapper_message_with_location): New functions. Implement
9306 automatic line wrapping.
9307 (v_message_with_decl): Make it handle automatic line wrapping.
9308 (v_error_with_file_and_line): Likewise.
9309 (v_warning_with_file_and_line): Likewise.
9310 (announce_function): Likewise.
9311 (default_print_error_function): Likewise.
9313 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
9315 * cpplib.h (struct cpp_options): Change lang_asm to char.
9317 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9318 done in cpp_handle_option now.
9319 (initialize_builtins): Take out special case code used only by
9321 (cpp_handle_option): Turn off trigraphs and trigraph warnings
9322 if -traditional. Recognize -lang-fortran and set
9323 lang_fortran, also turn off cplusplus_comments.
9324 (print_help): Document -lang-fortran.
9325 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9326 lang_asm. Ignore all directives other than `# 123 "file"' if
9328 (cpp_get_token): If -traditional, don't recognize directives
9329 unless the # is in column 1.
9330 (parse_string): If lang_fortran or lang_asm, silently
9331 terminate strings ('' or "") at end of line.
9332 Remove unnecessary braces.
9334 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9335 Richard Henderson <rth@cygnus.com>
9337 * resource.c (mark_referenced_resources): Mark a set strict_low_part
9339 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9340 strict_low_part when possible.
9342 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9344 * alias.c: PROTO -> PARAMS.
9345 * basic-block.h: Likewise.
9346 * bitmap.c: Likewise.
9347 * bitmap.h: Likewise.
9348 * builtins.c: Likewise.
9349 * c-aux-info.c: Likewise.
9350 * caller-save.c: Likewise.
9351 * calls.c: Likewise.
9353 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9355 * Makefile.in (toplev.o): Depend on regs.h.
9357 * output.h (tdesc_section): Prototype.
9359 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9361 * sdbout.c: Include "tm_p.h".
9363 * toplev.c: Include "regs.h".
9365 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
9367 * unroll.c (unroll_loop): Add EH support.
9369 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9371 * pa-protos.h: New file.
9373 * pa.c: Include recog.h and tm_p.h.
9374 (compute_zdepwi_operands, compute_movstrsi_length,
9375 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9376 find_addr_reg, import_milli): Add static prototypes.
9377 (pa_cpu_string, pa_arch_string): Constify a char*.
9378 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9379 (read_only_operand): Add argument `mode'.
9380 (singlemove_string, output_move_double, output_fp_move_double,
9381 output_block_move, output_and, output_ior, output_ascii,
9382 remove_useless_addtr_insns, milli_names, output_mul_insn,
9383 output_div_insn, output_mod_insn, output_arg_descriptor,
9384 output_cbranch, output_bb, output_bvb, output_dbra, ,
9385 output_millicode_call, output_call, hppa_encode_label,
9386 output_parallel_movb, output_parallel_addb): Constify a char*.
9387 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9388 (output_parallel_addb): Remove extra arg to `constrain_operands'
9390 * pa.h: Move all prototypes to pa-protos.h.
9391 (pa_cpu_string, pa_arch_string): Constify a char*.
9392 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9394 * pa.md: Call `function_label_operand' with mode argument.
9395 Likewise for `read_only_operand'.
9396 Fix nesting of parens in call to `symbolic_operand'.
9398 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9400 * i860-protos.h: New file.
9402 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
9405 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
9407 * i860.md: Likewise.
9409 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
9411 * i386.md (movstrsi expander): Rewrite.
9412 (movstrsi_1 insn): Deleted.
9413 (strmovhi, strmovqi expander): New expanders.
9414 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9415 * i386.c (x86_single_stringop): New global variable.
9416 * i386.h (x86_single_stringop): Declare.
9417 (TARGET_SINGLE_STRINGOP): New macro.
9419 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
9421 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9422 integer vararg POSTINCREMENT before the destination of the jump
9423 for the hard fp case.
9424 (function_arg_pass_by_reference): Pass a copy of CUM to
9427 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9428 for CONSTANT_ADDRESS_P above while loop for subreg.
9430 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
9432 * flow.c (propagate_block): When a prologue/epilogue insn
9433 is marked dead, unconditionally clear libcall_is_dead and
9434 insn_is_dead, and only dump rtl if warnings aren't being
9437 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
9439 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9440 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9441 (FIXED_REGISTERS): Set dirflag as fixed.
9442 (CALL_USED_REGISTERS): Set dirflag as used.
9443 (REG_ALLOC_ORDER): Set dirflag as last one.
9444 (DIRFLAG_REG): New macro.
9445 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9446 (HI_REGISTER_NAMES): Add dirflag.
9447 (DEBUF_PRINT_REG): Handle dirflag.
9448 * i386.md (type attribute): New cld and str types.
9449 (length_opcode attribute): Set cld and str to 1.
9450 (memory attribute): Set str to unknown - it is not clear from the
9452 (pent_np function unit): Prefixed string operations takes 12 cycles
9453 minimally; cld takes 2 cycles.
9454 (ppro_uops attribute): Str is "many" and cld is "few".
9455 (ppro_p0 unit): Handle cld here.
9456 (k6_alux unit): Handle cld and str types.
9457 (k6_load unit): It is ocupied by str opcodes.
9458 (k6_store unit): It is ocupied by str opcodes.
9459 (athlon_decode): Str is vector decoded.
9460 (athlon_ieu): Handle str and cld.
9462 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9463 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9464 cmpstrsi_nz_1 insn): Do not output cld instruction
9466 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
9468 * gcc.texi (G++ and GCC): Add Java and Chill.
9469 (Bug Critera): Don't list languages.
9471 * gcc.texi (Incompatibilities): No longer claim most C compilers
9474 * gcc.texi (G++ and GCC): Update other front-ends list.
9476 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
9478 * i386.c (ix86_expand_setcc): Fix typo.
9479 (ix86_expand_movcc): Similarly.
9481 * Band-aid until haifa's bitset implementation is nuked.
9482 * haifa-sched.c (extract_bitlst): New parameter for size of the
9483 bitset in bits. All callers changed. Avoid looking at undefined
9485 (edgeset_bitsize): New variable.
9486 (schedule_region): Initialize edgeset_bitsize.
9488 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9490 * Makefile.in (optabs.o): Depend on real.h
9491 (resource.o): Depend on insn-attr.h
9493 * builtins.c (result_vector): Wrap prototype in macro conditions
9494 governing definition and use.
9496 * c-common.c: Include tm_p.h.
9498 * c-lex.c: Likewise.
9500 * elfos.h: Constify a char*.
9502 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9503 (get_attr_length, shorten_branches, profile_after_prologue): Mark
9504 parameter with ATTRIBUTE_UNUSED.
9506 * fold-const.c (exact_real_inverse): Wrap variable `i' in
9509 * haifa-sched.c (schedule_insns): Mark parameter with
9512 * optabs.c: Include real.h.
9514 * real.h (ereal_atof): Add prototype arguments.
9516 * resource.c: Include insn-attr.h.
9518 * sdbout.c (sdbout_queue_anonymous_type,
9519 sdbout_dequeue_anonymous_types): Wrap in macro
9520 SDB_ALLOW_FORWARD_REFERENCES.
9521 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9524 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9526 * stupid.c: Include tm_p.h.
9528 * tree.c (real_value_from_int_cst): Mark parameter with
9531 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9533 * i960-protos.h: New file.
9535 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
9538 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
9540 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9542 * combine.c (expand_field_assignment): Do not discard SUBREGs
9543 while computing nonzero_bits.
9545 2000-01-09 Nick Clifton <nickc@cygnus.com>
9547 * config/arm/arm.c: Fix compile time warnings about signed vs
9549 * config/arm/arm.h: Fix compile time warnings about signed vs
9552 2000-01-09 Philip Blundell <philb@gnu.org>
9554 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9555 than `ldm' with only one register.
9556 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9559 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9562 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
9564 * config/ns32k/ns32k.md (load or push effective address): Operand 1
9567 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9569 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9570 assignment used as truth value.
9572 * function.c (assign_temp): Mark parameter `dont_promote' with
9573 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
9574 PROMOTE_FOR_CALL_ONLY.
9576 * genrecog.c (write_subroutine): Mark variable `operands' with
9579 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9582 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9583 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9585 * toplev.c (note_deferral_of_defined_inline_function): Likewise
9588 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9590 * config/c4x.h: Tidy up comments.
9591 * config/c4x.c: Likewise.
9593 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
9595 * fold-const.c (lshift_double, rshift_double): Handle
9596 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9598 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9600 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9601 in prepare_function_start().
9603 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
9605 * config/v850/v850.c (expand_epilogue): Interrupt functions no
9606 longer allocate extra stack for function calls.
9608 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9610 * config/c4x/c4x.md (*subqf3_set): Fix typo.
9612 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9614 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9616 2000-01-07 David Edelsohn <edelsohn@gnu.org>
9618 * rs6000.c (processor_target_table): Add power3 as alias for 630.
9619 * aix43.h: Revert Aug 2 change.
9620 (HAS_INIT_SECTION): Define, not visible yet.
9621 (LD_INIT_SWITCH): Define, not visible yet.
9622 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9624 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9626 * collect2.c (main): Expand ld2 size further.
9627 (export_object_lst): Cast assignment to avoid warning.
9628 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9629 (scan_prog_file, COFF): Do not collect initialization or
9630 finalization functions generated for entire shared object if
9631 init/fini support present.
9633 2000-01-07 Nick Clifton <nickc@cygnus.com>
9635 * config/elfos.h: Tidy up formatting of marcos. Make sure
9636 that .section directives are always prefixed by a tab.
9638 * config/svr4.h: Add #include "elfos.h" and remove duplicate
9641 2000-01-07 Matt Austern <austern@sgi.com>
9643 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9646 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
9648 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9650 (crtbegin.o, s-crtS): Likewise.
9652 2000-01-06 Richard Henderson <rth@cygnus.com>
9654 * alpha.md (adddi_2+1): Limit offset such that it will be
9655 loadable with a single ldah+lda pair.
9656 (adddi_2+2): Explicitly fail split if we can't make it work.
9658 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
9660 * protoize.c: Conditionally include unistd.h.
9661 (IS_SAME_PATH_CHAR): New macro.
9662 (IS_SAME_PATH): New macro.
9663 (CPLUS_FILE_SUFFIX): New macro.
9664 (cplus_suffix): New static variable.
9665 (is_abspath): New static function.
9666 (in_system_include_dir): Handle DOS style pathnames.
9667 (file_could_be_converted): Likewise.
9668 (file_normally_convertible): Likewise.
9669 (directory_specified_p): Likewise.
9670 (file_excluded_p): Likewise.
9671 (abspath): Likewise.
9672 (shortpath): Likewise.
9673 (referenced_file_is_newer): Likewise.
9674 (save_def_or_dec): Likewise.
9675 (do_processing): Likewise.
9677 (edit_file): Likewise. Use rename instead of link.
9678 (rename_c_file): Likewise. Don't rename syscalls file.
9679 (munge_compile_params): Define null device for DOS based systems.
9680 (process_aux_info_file): Use binary mode if appliable.
9681 (edit_file): Likewise.
9682 * invoke.texi (Running Protoize): Document C++ suffixes used.
9684 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9685 IS_DIR_SEPARATOR macros.
9686 * collect2.c: Likewise.
9687 * cppinit.c: Likewise.
9688 * dwarf2out.c: Likewise.
9691 * prefix.c: Likewise.
9693 * toplev.c: Likewise.
9694 * system.h: And move to here.
9696 * prefix.c (update_path): Fix typo in variable name.
9698 2000-01-06 Richard Henderson <rth@cygnus.com>
9700 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9701 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9702 (count_reg_sets_1, count_reg_references): Likewise.
9703 (flow_loops_level_compute): Start counting actual loop depth at 1.
9704 (flow_loops_find): Likewise.
9705 * local-alloc.c (update_equiv_regs): Likewise.
9706 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9708 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
9710 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9711 FIRST_PSEUDO_REGISTER
9712 * dwarf2out.c: Don't include frame.h
9713 * dwarfout.c: Likewise
9714 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9717 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
9719 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9722 * i386.c (movsf splitter): Fix typo in my last checkin.
9724 2000-01-05 Nick Clifton <nickc@cygnus.com>
9726 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
9727 own definition of this macro.
9728 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
9729 flag_data_sections or UNIQUE_SECTION_P are true.
9731 * tm.texi (UNIQUE_SECTION): Document that it can be called for
9732 unitialised data decls.
9734 * config/i386/winnt.c (i386_pe_unique_section): Cope with
9735 being called for uninitialised data.
9737 * config/i386/interix.c (i386_pe_unique_section): Cope with
9738 being called for uninitialised data.
9740 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
9741 for uninitialised data.
9743 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
9744 for uninitialised data.
9746 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
9747 for uninitialised data.
9749 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
9750 (UNIQUE_SECTION_P): Always generate a unique section if
9751 flag_data_sections is true.
9752 (UNIQUE_SECTION): Also generate unique sections for
9754 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
9755 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
9758 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9760 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
9763 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9765 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
9766 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
9767 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
9768 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
9769 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
9771 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
9773 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
9775 * c-decl.c (finish_enum): Simplify code to determine minimum and
9776 maximum values of the enum, and calculate the type. Remove check
9777 for FUNCTION_DECLs in the values list, which cannot happen. Replace
9778 the DECL_INITIAL of each enumeration constant with a copy converted
9779 to the enumeration type. When updating variant types, don't bother
9780 updating the type itself.
9782 * c-typeck.c (build_binary_op): Simplify conditional expressions
9783 when weeding out spurious signed-unsigned warnings. Add new
9784 spurious warning category: if the unsigned quantity is an enum
9785 and its maximum value fits in signed_type(result_type). Update
9787 (build_conditional_expr): Warn here if one alternative is signed
9788 and the other is unsigned.
9790 2000-01-05 Nick Clifton <nickc@cygnus.com>
9792 * config/fr30/fr30.h: Remove extraneous comments.
9794 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
9796 * reload1.c (choose_reload_regs): When disabling a reload, also
9797 set reload_spill_index to -1.
9799 2000-01-04 Joel Sherrill (joel@OARcorp.com>
9801 * configure.in (m68*-*-rtemscoff*): New target, formal name for
9803 (m68*-*-rtemself*): New target.
9804 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
9805 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
9806 (sparc*-*-rtemself*): New target.
9807 (sparc*-*-rtems*): Now elf not a.out.
9808 * config/i386/rtems.h: Include config/rtems.h.
9809 * config/i386/rtemself.h: Include config/rtems.h.
9810 * config/i960/rtems.h: Include config/rtems.h.
9811 * config/m68k/rtems.h: Include config/rtems.h.
9812 * config/m68k/rtemself.h: Include config/rtems.h.
9813 * config/mips/rtems64.h: Include config/rtems.h.
9814 * config/pa/rtems.h: Include config/rtems.h.
9815 * config/rs6000/rtems.h: Include config/rtems.h.
9816 * config/sh/rtems.h: Include config/rtems.h.
9817 * config/sh/rtemself.h: Include config/rtems.h.
9818 * config/sparc/rtems.h: Include config/rtems.h.
9819 * config/sparc/rtemself.h: Include config/rtems.h
9821 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
9823 * final.c (shorten_branches): Correctly compute length of
9824 asms without operands.
9826 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
9828 * configure.in: Add pj target.
9829 * configure: Regenerate.
9830 * config/pj: New directory.
9831 * config/pj/lib1funcs.S: New file.
9832 * config/pj/linux.h: New file.
9833 * config/pj/pj.c: New file.
9834 * config/pj/pj.md: New file.
9835 * config/pj/pjl.h: New file.
9836 * config/pj/t-pj: New file.
9837 * config/pj/xm-pj.h: New file
9839 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
9841 * toplev.c (rest_of_compilation): Run shorten-branches before
9844 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9846 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
9847 macros so that they're consistent with their names.
9848 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9849 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9851 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9853 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
9854 modified inadvertently.
9856 2000-01-04 Joel Sherrill <joel@OARcorp.com>
9858 * configure.in (v850*-*-rtems*): New target.
9859 * configure: Regenerate.
9860 * config/v850/rtems.h: New file.
9862 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
9864 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
9865 (__gthread_key_create): Likewise.
9866 (__gthread_key_dtor): Likewise.
9867 (__gthread_once): Fix logic.
9868 (__gthread_key_delete): Cast away constness.
9870 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
9871 * invoke.texi: Document.
9872 * i386/mingw32.h (CPP_SPEC): Use.
9873 (LIBGCC_SPEC): Likewise.
9874 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
9876 2000-01-04 David Edelsohn <edelsohn@gnu.org>
9878 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
9879 (HANDLE_PRAGMA_PACK): Undefine.
9880 (SLOW_UNALIGNED_ACCESS): Define.
9882 2000-01-04 David Edelsohn <edelsohn@gnu.org>
9884 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9885 to default definition.
9886 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
9887 (store_fixed_bit_field): Call macro with word_mode and alignment.
9888 (extract_bit_field): Call macro with relevant mode and alignment.
9889 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9890 to default definition.
9891 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
9893 (move_by_pieces_ninsns): Likewise.
9894 (clear_by_pieces): Likewise.
9895 (emit_push_insn): Likewise.
9896 (store_field): Call macro with relevant mode and alignment.
9897 (expand_expr): Likewise.
9898 (expand_expr_unaligned): Likewise.
9900 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
9901 (SLOW_UNALIGNED_ACCESS): Define.
9902 (CASE_VECTOR_MODE): Always use 32-bit offsets.
9903 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
9904 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
9905 (toc_section): Likewise and .toc pseudo-op.
9906 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
9908 (TEXT_SECTION_ASM_OP): Likewise.
9909 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
9912 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
9913 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
9914 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
9915 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
9916 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
9918 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
9920 * regclass.c: Revert my Jan 4 change to loop cost computation.
9922 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
9924 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
9927 2000-01-04 Stan Cox <scox@cygnus.com>
9929 * haifa-sched.c (build_control_flow): Change unreachable simple
9930 loop test to check if current block has only one predecessor.
9931 (find_rgns): Initialize degree. Use dest as degree index, not src.
9933 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9935 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
9937 * calls.c (expand_call): Likewise for
9938 `old_stack_arg_under_construction'.
9940 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
9942 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
9945 * gcc.c (execute): Likewise for `ut' and `st'.
9947 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
9949 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
9951 * jump.c (jump_optimize_1): Likewise for `temp2'.
9953 * local-alloc.c (block_alloc): Likewise for `r1'.
9955 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
9957 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
9958 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
9960 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
9963 * reload.c (find_reloads): Likewise for `goal_alternative_number'
9964 and `goal_earlyclobber'.
9966 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
9968 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
9970 * stupid.c (stupid_life_analysis): Likewise for `chain'.
9972 * unroll.c (copy_loop_body): Likewise for `copy'.
9974 * varasm.c (output_constructor): Likewise for `byte'.
9976 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
9978 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
9979 all FP constants for constant->reg moves.
9980 (ix86_split_to_parts): Try to convert memory address into immediate
9981 when available in the constant pool.
9982 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
9984 (LEGITIMATE_CONSTANT_P): Return 1.
9985 * i386.md (pushsf): New splitter to convert constant pool memory
9986 reference to immediate.
9987 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
9990 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
9992 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
9993 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
9994 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
9995 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
9996 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
9998 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
10000 * ginclude/stdbool.h: Support compilation as C++.
10002 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10004 * fold-const.c (make_range): Don't try to reverse an unbounded range.
10006 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
10008 * regclass.c (regclass): Properly compute loop_cost. Adjust
10011 * regclass.c: Fix minor whitespace problems.
10013 2000-01-03 Anthony Green <green@cygnus.com>
10015 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10016 Restore the pic register if required.
10018 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
10020 * c-common.c (format_char_info): Update comment.
10021 (check_format_info): Recognize 'z' modifier in the same way 'Z'
10022 was recognized. Emit warning for formats new in ISO C99 only
10023 if flag_isoc9x is not set.
10025 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
10027 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10029 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10031 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10032 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10033 (make_compound_operation): Choose cheaper alternative between
10034 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10036 * regclass.c (op_costs): Remove global variable.
10037 (record_reg_classes): New parameter "op_costs" and "reg_pref".
10038 (record_operand_costs): Break out from ...
10039 (scan_one_insn): ... here.
10040 (dump_regclass): Make dumps nicer.
10041 (regclass): Dump preferrences choosed and changes done during passes.
10043 2000-01-03 Jakub Jelinek <jakub@redhat.com>
10045 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10047 2000-01-03 Jakub Jelinek <jakub@redhat.com>
10049 * config/sparc/sparc.c (gen_df_reg): New function.
10050 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10051 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10052 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10053 movtf_cc_reg_sp64+1): Use it.
10055 2000-01-02 Mark Mitchell <mark@codesourcery.com>
10057 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10058 copied LABEL_DECLs.
10060 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
10062 * config/i386/i386.c (ix86_expand_unary_operator): Function
10063 definition made void.
10064 (ix86_expand_binary_operator): Update outdated preceding comment.
10065 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10068 * config/i386/i386.c (override_options): Fix option-name typo.
10070 2000-01-02 Mark Mitchell <mark@codesourcery.com>
10072 * system.h (CEIL): Define.
10073 * builtins.c (CEIL): Remove.
10074 * expmed.c (CEIL): Likewise.
10075 * expr.c (CEIL): Likewise.
10076 * stor-layout.c (CEIL): Likewise.
10078 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10080 * expr.c (store_constructor_field): Fix typo introduced with last
10083 2000-01-01 Mark Mitchell <mark@codesourcery.com>
10085 * tree.h (BINFO_N_BASETYPES): New macro.
10087 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
10089 * expmed.c (emit_store_flag): Prevent losing a pending stack
10090 adjust the same way we prevent losing queued increments.
10092 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10094 * function.c (update_temp_slot_address): Handle case where sum of
10095 temporary address plus offset in register is a valid address.
10097 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10099 * genrecog.c (change_state) Corrected typo.
10101 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10103 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10104 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10105 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10107 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
10109 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10110 case, expand GT comparisons correctly. Fix a comment before this
10113 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
10115 * dwarfout.c: Include "frame.h"
10116 * dwarf2out.c: Likewise.
10117 * Makefile.in (dwarfout.o): Depend on frame.h
10118 (dwarf2out.o): Likewise.
10120 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10122 Restore i386 binary compatibility in Dwarf EH info.
10123 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10124 value of FIRST_PSEUDO_REGISTER.
10125 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10126 (struct frame_state): Use DWARF_FRAME_REGISTERS.
10127 * dwarfout.c (output_reg_number): Ditto.
10128 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10129 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10131 1999-12-29 Bruce Korb <autogen@linuxbox.com>
10133 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10134 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10135 (<hack>_RE_CT): not needed
10136 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10137 rewritten to scan the file text once only
10138 "template<..." test added
10139 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10140 (is_cxx_header): declaration added
10141 * fixinc/fixtests.c(is_cxx_header): removed
10142 (apply_fix_p_t): removed
10143 (double_slash_test): is_cxx_header is only called once now
10144 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10145 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10146 within the templates.
10147 The borken spelling of "broken" was fixed.
10148 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10149 The default level depends on FIXINC_DEBUG.
10151 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10153 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10154 Otherwise provide a declaration for atexit.
10155 (init_dummy): Make sure dummy call to atexit is nevertheless
10156 called with correct number of args.
10158 * frame.c: Update comments referring to other files.
10160 * libgcc2.c: Likewise.
10162 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10164 * cse.c (free_element, get_element): Remove unused prototypes.
10166 * fold-const.c (extract_muldiv): Initialize variables `op0' and
10169 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10172 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
10174 * configure.in,configure: case arm for mn10200-*-* now sets
10175 float_format=i32 so that float.h will correctly claim "double"
10176 to be 32 bits. Ran autoconf to generate configure from .in file.
10178 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
10180 * pa.md (conditional zero): If op1 is a register, force it into
10181 the same register as op0.
10183 1999-12-28 Mark Mitchell <mark@codesourcery.com>
10185 * tree.h (BINFO_BASETYPES): Improve documentation.
10187 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10189 * configure.in (--enable-checking): Use a more portable `for'
10192 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10194 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10195 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10197 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10200 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10201 Delete descriptions.
10203 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10204 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10205 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10206 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10207 xm-svr4.h: Remove all instances of sys_siglist handling.
10209 1999-12-27 Jakub Jelinek <jakub@redhat.com>
10211 * config/sparc/sparc.md (cmp_zero_qi,
10212 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10213 cmp_zero_extendqidi2_andcc_set): New patterns.
10215 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
10217 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10218 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10219 (fpgnulib.c, xfgnulib.c): Add rules.
10220 * m68k/t-mot3300-gas: Likewise.
10222 1999-12-27 Ian Lance Taylor <ian@zembu.com>
10224 * configure.in: Avoid [[ by using test and changequote. Add
10225 changequote required by 1999-12-14 change.
10226 * configure: Rebuild.
10228 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
10230 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10232 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
10234 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10235 * flow.c (find_use_as_address): Likewise.
10236 * function.c (fixup_var_refs_1): Likewise.
10237 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10238 * jump.c (invert_exp, redirect_exp): Likewise.
10239 * loop.c (replace_call_address): Likewise.
10240 (count_nonfixed_reads): Likewise.
10241 * rtlanal.c (modified_between_p): Likewise.
10242 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10243 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10244 * unroll.c (remap_split_bivs): Likewise.
10246 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10248 * diagnostic.c (v_message_with_decl): Use .* format specifier
10249 instead of building the format specifier width manually.
10251 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10252 determining whether to provide a prototype. Remove the
10253 sys_siglist clause in the conditional.
10255 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10257 * fold-const.c (operand_equal_p): Use memcmp to compare string
10259 Suggested by D. J. Bernstein
10261 1999-12-17 Jakub Jelinek <jakub@redhat.com>
10263 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10264 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10266 * config/mips/mips.h (TARGET_64BIT): Likewise.
10267 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10268 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10269 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
10270 dsps. Give routines proper names if SI/DI modes are not used.
10271 * longlong.h: Use DWunion instead of DIunion.
10273 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
10275 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10276 GC_CHECKING, GC_ALWAYS_COLLECT.
10277 * configure.in: Allow --enable-checking with an argument
10278 listing check modes to enable.
10279 * config.in, configure: Rebuilt.
10280 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10281 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10282 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
10283 ENABLE_GC_ALWAYS_COLLECT.
10284 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10286 * tree.h, tree.c: Change ENABLE_CHECKING to
10287 ENABLE_TREE_CHECKING throughout.
10289 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10291 * fold-const.c (fold_truthop): Properly check for FP RHS.
10293 1999-12-24 Mark Mitchell <mark@codesourcery.com>
10295 * toplev.h (note_deferall_of_defined_inline_function): Declare.
10296 * toplev.c (note_deferral_of_defined_inline_function): New
10297 function, split out from ...
10298 (rest_of_compilation): ... here. Use it.
10300 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10302 * expr.c (store_constructor): Don't call clear_storage if size is
10305 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10307 * Makefile.in (toplev.o): Depend on loop.h.
10309 * dwarfout.c: Include tm_p.h.
10311 * emit-rtl.c (restore_emit_status): Mark parameter with
10314 * final.c (final_scan_insn): Likewise.
10316 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10317 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10318 flow_depth_first_order_compute, flow_loop_pre_header_find,
10319 flow_loop_tree_node_add, flow_loops_tree_build,
10320 flow_loop_level_compute, flow_loops_level_compute,
10321 flow_loop_outside_edge_p): Add prototypes.
10322 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10324 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10325 Mark with ATTRIBUTE_NORETURN.
10327 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10329 * local-alloc.c (no_conflict_p): Likewise.
10331 * loop.c (insert_bct): Hide definitions of variables with hidden
10333 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10335 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10336 with ATTRIBUTE_UNUSED.
10337 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10338 (reg_scan): Likewise.
10340 * reload.c (find_reloads): Remove unused variables `changed'.
10342 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10344 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10345 Remove unused variable `insn'.
10347 * toplev.c: Include loop.h.
10348 (report_file_and_line): Remove unnecessary prototype.
10350 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10352 * unroll.c (biv_total_increment): Likewise.
10354 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10356 * reload1.c (emit_input_reload_insns): Restore old behaviour
10357 wrt. 'special' reloads.
10359 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
10361 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10362 hash.h. (cse.c): Don't depend on hashtab.h.
10364 * cse.c: Don't include hashtab.h.
10365 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10367 * ggc-simple.c: Don't include hash.h.
10369 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
10371 * dwarf2out.c (add_abstract_origin_attribute): Call
10372 gen_abstract_function on our function context.
10374 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
10376 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10378 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10380 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10383 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10385 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10386 constraints to "a!r".
10388 1999-12-21 Mark Mitchell <mark@codesourcery.com>
10390 * Makefile.in (calls.o): Depend on function.h.
10391 (alias.o): Likewise.
10393 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
10395 * reload1.c (emit_reload_insns): Break out code and variables into...
10396 (input_reload_insns, other_input_address_reload_insns,
10397 other_input_reload_insns, input_address_reload_insns,
10398 inpaddr_address_reload_insns, output_reload_insns,
10399 output_address_reload_insns, outaddr_address_reload_insns,
10400 operand_reload_insns, other_operand_reload_insns,
10401 other_output_reload_insns): ... new static variables, and...
10402 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10403 do_output_reload): ... new functions.
10405 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10407 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10409 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10411 * md.texi: Add c4x constraints documentation.
10413 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10415 * config/i386/dgux.c (struct option): Rename to
10416 lang_independent_option.
10417 (struct m_options): Add description field.
10418 (output_options): Rename option type, add sep declaration, output
10419 ix86_cpu_string and ix86_arch_string only if set.
10420 (output_file_start): Rename option type.
10422 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
10424 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10426 (libgcc2.a): Similarly.
10428 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
10430 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10431 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
10432 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10434 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
10436 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10437 Remove redundant initialization of "frexpon" and "expon".
10439 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10441 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10443 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10444 (store_constructor_field, expand_expr): Pass new arg.
10446 1999-12-20 Mark Mitchell <mark@codesourcery.com>
10448 * Makefile.in (explow.o): Depend on function.h.
10450 * stor-layout.c (set_sizetype): Fix typo.
10452 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
10454 * function.c (cfun): Renamed from current_function. All users
10456 * function.h (cfun): Rename declaration as well.
10458 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10459 to be of type regset_head, not regset. All users changed by adding
10461 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10463 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10465 * config/c4x/rtems.h: New file.
10467 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
10469 * reload1.c (spill_failure): Take class of failed reload as argument
10470 and print it. Caller changed.
10472 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10474 * rs6000.h (SUBTARGET_DEFAULT): New macro.
10475 (TARGET_SWITCHES): Allow subtargets to default switches.
10476 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10478 1999-12-18 Mark Mitchell <mark@codesourcery.com>
10480 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10483 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
10485 * cccp.c (main): Define __STDC_VERSION__ as necessary.
10486 * cppinit.c (cpp_handle_option): Likewise.
10488 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10489 determine when to define.
10491 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
10493 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10494 cmove with mismatched test and data modes.
10496 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
10498 * c-typeck.c (c_expand_start_case): Don't warn for long switch
10501 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10503 * alias.c: Minor reformatting.
10504 * flow.c: Likewise.
10505 * regs.h: Likewise.
10506 * stor-layout.c: Likewise.
10507 * fold-const.c: Likewise.
10508 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10509 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10511 (size_int_wide): Cache nodes even if garbage collecting.
10512 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10513 of SAVE_EXPR has no side effects.
10514 * cse.c: Move a comment.
10515 * tree.c: Minor reformatting.
10516 (int_size_in_bytes): Return -1 if constant overflows.
10518 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10520 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10522 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
10524 * objc/objc-parse.c: Regenerate. This file must be rebuilt
10525 after any change to c-parse.in, even if objc-parse.y didn't
10528 1999-12-18 David S. Miller <davem@redhat.com>
10530 * toplev.c (rest_of_compilation): Restore BLOCK tree
10531 reconstruction and branch shortening changes lost in
10532 December 18th change.
10534 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
10536 * config/arm/linux-elf.h: Change all instances of
10537 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10538 * config/arm/uclinux-elf.h: Likewise.
10540 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
10542 * toplev.c (notice, vmessage, v_message_with_file_and_line,
10543 v_message_with_decl, file_and_line_for_asm,
10544 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10545 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10546 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10547 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10548 pfatal_with_name, fatal_io_error, need_error_newline,
10549 last_error_function, last_error_tick, announce_function,
10550 default_print_error_function, print_error_function,
10551 report_error_function, fnotice, error_with_file_and_line,
10552 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10553 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10554 warning_with_decl, warning_for_asm, warning, pedwarn,
10555 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10557 (compile_file): Use fnotice instead of notice. Adjust call.
10559 * diagnostic.c: New file.
10561 * Makefile.in (OBJS): Include diagnostic.o
10562 (diagnostic.o): Define dependence.
10564 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10566 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10569 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10571 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10573 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
10575 * fixtests.c (is_cxx_header): New fn, split out of
10577 (else_endif_label): Allow "#endif // comment" in C++ headers,
10578 as determined by is_cxx_header.
10579 * fixfixes.c (else_endif_label_fix): Update comment.
10580 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10582 * genfixes: Correct double thinko in commandline parsing.
10583 * hackshell.tpl: Generate correct sh syntax for bypass
10586 * inclhack.def (all): Whenever an inserted preprocessor
10587 conditional is split over multiple lines, use double
10588 backslashes in this file so the fixed header will be readable.
10590 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10591 and add bypass entry for correct version of this header.
10592 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10593 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10595 (hpux8_bogus_inlines): New fix, split from...
10596 (ultrix_atof_param) ... here.
10597 (math_expression): Add bypass entry keyed to glibc comment
10598 indicating the problem has been dealt with; disable
10599 unnecessary sed operations; update commentary.
10600 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10601 add select and bypass entries, simplify shell operation.
10602 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10604 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10605 ultrix_atof_param): Add select entry.
10606 (stdio_va_list, sunos_mather_decl): Add bypass entry.
10607 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10608 comments with the fixes they describe.
10610 * c-parse.in (string action): Do not warn about ANSI string
10611 concatenation in system headers. Affects C parser only.
10612 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10614 1999-12-16 Jakub Jelinek <jakub@redhat.com>
10616 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10617 compiling libgcc2 the macro depends always on arch cpp defines.
10619 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
10621 * loop.c (insert_loop_mem): Don't record MEMs from inside
10624 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
10626 * regclass.c (regclass): Do not use flowgraph when not optimizing.
10628 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10629 notes too, create one when replacement failed, attempt to simplify
10631 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10632 or REG_EQUIV notes.
10634 1999-12-16 Mark Mitchell <mark@codesourcery.com>
10636 * crtstuff.c (__dso_handle): Declare.
10637 (__cxa_finalize): Likewise.
10638 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10641 * invoke.texi: Document -fuse-cxa-atexit.
10643 * tree.h (ptr_type_node): Document.
10644 (const_ptr_type_node): Likewise.
10646 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10648 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10649 (optimize_reg_copy_2): Likewise.
10650 (optimize_reg_copy_3): Likewise.
10651 (fixup_match_2): Likewise.
10652 (regmove_optimize): Likewise.
10653 (fixup_match_1): Liekwise.
10655 * i386.md (HI to SImode promoting splitters): Rewrite.
10656 (pushsf mem peep2): New.
10657 (testhi to andhi peep2): Remove.
10658 * i386.h (x86_promote_QImode): New.
10659 (TARGET_PROMOTE_QImode): New.
10660 (PREDICATE_CODES): Add promotable_binary_operator.
10661 * i386.c (x86_promote_QImode0: New.
10662 (promotable_binary_operator): New.
10663 * i386-protos.h (promotable_binary_operator): New.
10665 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10667 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10669 1999-12-16 Mark Mitchell <mark@codesourcery.com>
10671 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10672 * function.c (insert_block_after_note): Remove.
10673 (retrofit_block): Likewise.
10674 (identify_blocks): Fix indentation.
10675 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10676 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10677 * function.h (insert_block_after_note): Remove prototype.
10678 (retrofit_block): Likewise.
10679 * integrate.c (expand_inline_function): Don't call
10680 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
10681 just expand_start_bindings. Use the block_map to remap old
10682 NOTE_BLOCKs to new ones.
10683 (integrate_decl_tree): Keep track of remapped blocks.
10684 * integrate.h (struct inline_remap): Add block_map.
10685 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
10686 NOTE_BLOCK on the notes.
10687 (expand_start_bindings): Rename to ...
10688 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
10689 (expand_end_bindings): Set NOTE_BLOCK.
10690 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10691 reconstruct the BLOCK tree.
10692 * tree.h (expand_start_bindings): Macroize. Call ...
10693 (expand_start_bindings_and_block): New function.
10695 1999-12-16 Jakub Jelinek <jakub@redhat.com>
10697 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10698 to match the format.
10700 1999-12-16 David S. Miller <davem@redhat.com>
10702 * expr.c (emit_move_insn_1): Only emit clobbers if one of
10703 the outputs is a SUBREG.
10704 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10707 * config/sparc/sparc.c (epilogue_renumber): Add default case
10710 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10712 * toplev.c (rest_of_compilation): Run branch shortening after
10715 * regclass.c (loop_depth): Remove
10716 (scan_one_insn): Do not handle LOOP_NOTE insns.
10717 (regclass): Go through basic blocks and set loop_cost
10719 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
10721 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10723 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10725 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10726 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
10727 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
10729 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
10731 * loop.c (insert_loop_mem): Ignore memory clobbers.
10733 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
10736 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
10738 * profile.c: Remove redundant #include "output.h".
10740 * h8300.md (HImode preinc peephole): Fix typo.
10742 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10744 * function.c (retrofit_block): Abort if we don't find a suitable insn.
10745 (insert_block_after_note): Abort if we don't have a previous block.
10746 Remove FN parameter.
10747 * function.h: Adjust.
10749 1999-12-15 Mark Mitchell <mark@codesourcery.com>
10751 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
10752 argument more than once.
10754 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10756 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
10758 1999-12-15 Jakub Jelinek <jakub@redhat.com>
10760 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
10762 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10764 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
10765 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
10766 update stack_alignment_needed.
10767 (prepare_function_start): Initialize stack_alignment_needed
10768 * function.h (struct function): Add field stack_alignment_needed.
10770 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10772 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
10773 Handle live_throughout / dead_or_set instead of live_before /
10775 (save_call_clobbered_regs): Get register livenessinformation from
10776 chain->live_throughout.
10777 (add_stored_regs): New function.
10778 (insert_restore, insert_save): Add restored / saved registers to
10780 * global.c (reg_dies): New parameter chain.
10781 (reg_becomes_live): Third parameter is regs_set now.
10782 Changed all callers.
10783 (reg_dies): New parameter chain. Changed all callers.
10784 (build_insn_chain): Set live_throughout instead of
10785 live_before / live_after.
10786 * reload.h (struct insn_chain): Replace members live_before /
10787 live_after with live_throughout / dead_or_set.
10788 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
10789 instead of live_before / live_after.
10790 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
10791 (order_regs_for_reload, find_reg, finish_spills): Likewise.
10792 (choose_reload_regs_init): Likewise.
10793 * stupid.c (current_chain, find_clobbered_regs): Delete.
10794 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
10795 instead of chain->live_before / chain->live_after.
10796 (mark_hard_ref): New function.
10797 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
10799 1999-12-15 David S. Miller <davem@redhat.com>
10801 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
10803 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10805 * flow.c (calculate_loop_depth): Make global, remove prototype,
10806 rewrite to use new loop infrastructure.
10807 (find_basic_block): Remove calculate_loop_depth call.
10808 * toplev.c (rest_of_compilation): Call find_basic_block.
10809 * output.h (calculate_loop_depth): Declare.
10811 * flow.c (dump_flow_info): Dump loop_depth.
10812 (flow_loops_nodes_find): Increase loop_depth for basic block in the
10814 (flow_loops_find): Initialize the loop_depth for each basic block.
10816 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10818 * tree.c (decl_function_context): Handle virtual functions.
10820 * tlink.c (scan_linker_output): Don't look in demangled name when
10821 looking for linker output keywords.
10823 * dwarfout.c (output_type): We can defer namespace-scope classes.
10825 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
10827 * regclass.c (record_reg_classes): Update comment for merging
10828 register class preferences in reg->reg copies. Tighten conditions
10829 for merging register class preferences in reg->reg copies.
10831 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
10833 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
10835 1999-12-14 Geoff Keating <geoffk@cygnus.com>
10837 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
10838 (INIT_SECTION_ASM_OP): Delete.
10839 (FINI_SECTION_ASM_OP): Delete.
10840 (STARTFILE_SPEC): Define to hold just crtbegin.o.
10842 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
10844 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
10845 the abstract origin wasn't emitted.
10847 * dwarf2out.c (class_scope_p): New fn.
10848 (gen_subprogram_die): Use it.
10849 (gen_variable_die): Use it. Tweak logic.
10850 (gen_struct_or_union_type_die): Check context_die to determine
10851 if we're function-local.
10852 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
10854 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10856 * loop.c (check_dbra_loop): Can't reverse a biv that has
10857 maybe_multiple set.
10859 1999-12-14 Nick Clifton <nickc@cygnus.com>
10861 * config/arm/arm.c: Add support for -mcpu=arm720 command line
10864 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10866 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
10867 for givs made from biv increments.
10869 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
10871 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
10872 * alpha.c (override_options): Recognize -mcpu=ev67.
10873 * alpha.h (CPP_CPU_EV67_SPEC): New.
10874 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
10875 (EXTRA_SPECS): Update.
10877 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
10879 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
10880 appropriate for -lang-c89 and -std=*.
10881 * cppinit.c (cpp_handle_option): Likewise.
10882 (new_pending_define): New, split out from cpp_handle_option.
10883 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
10884 or enable trigraphs for -ansi/-std=*.
10886 * ginclude/stdarg.h (__va_copy): New.
10887 (va_copy): Don't define for C89.
10889 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
10891 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
10892 for long long multiply-accumulate.
10894 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10896 * regclass.c (scan_one_insn): Set loop_cost to 1 when
10897 optimizing for size.
10899 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10901 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
10902 if something changed. Back out that part of yesterday's changes.
10904 * loop.c (loop_max_reg): New static variable.
10905 (loop_optimize): Initialize it. Eliminate one unnecessary call to
10907 (scan_loop): Call reg_scan_update whenever we may have added new
10908 registers, and update loop_max_reg.
10910 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10912 * regclass.c (record_reg_classes): Do not do the copying preferrencing
10913 when source does not die.
10915 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
10917 1999-12-14 Jakub Jelinek <jakub@redhat.com>
10919 * config/sparc/linux64.h (TARGET_LIVE_G0,
10920 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
10922 * config/sparc/linux.h (TARGET_LIVE_G0,
10923 TARGET_BROKEN_SAVERESTORE): Likewise.
10924 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
10925 TARGET_BROKEN_SAVERESTORE): Likewise.
10927 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
10928 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
10930 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
10931 as sparc64 block profiling register.
10932 * config/sparc/sparc.c (sparc_override_options): Allow block
10933 profiling with -m32.
10934 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
10935 profiling register.
10936 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
10937 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
10938 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
10940 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
10942 * config/sparc/sparc.h: Likewise.
10943 * config/sparc/xm-sysv4-64.h: Likewise.
10944 * config/float-sparc.h: Likewise.
10945 * glimits.h: Likewise.
10946 * longlong.h: Likewise.
10948 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
10949 (ASM_IDENTIFY_GCC): Remove.
10951 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10953 * combine.c (combine_simplify_rtx): Don't make shared rtl.
10954 (simplify_logical): Likewise.
10956 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
10958 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
10959 * cppfiles.c (INO_T_EQ): Likewise.
10961 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
10963 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
10964 * i386/mingw32.h (LIB_SPEC): Likewise.
10965 (STARTFILE_SPEC): Likewise.
10966 * i386/uwin.h (LIB_SPEC): Likewise.
10967 (STARTFILE_SPEC): Likewise.
10969 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
10970 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
10972 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
10974 * combine.c (combine_simplify_rtx): Fix order of checks for
10975 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
10977 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
10979 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
10980 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
10982 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
10984 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
10986 * regclass.c (inv_reg_alloc_order): New array.
10987 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
10989 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
10990 counted_for_groups, counted_for_nongroups. Add fields rld and
10992 * reload.c (push_secondary_reload): Don't set nongroup field of
10994 (push_reload): Likewise.
10995 (find_reloads): Delete code to compute nongroup fields.
10996 * reload1.c (reload_insn_firstobj): New static variable.
10997 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
10999 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11000 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11001 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11003 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11005 (struct hard_reg_n_uses): Deleted.
11006 (potential_reload_regs): Deleted.
11007 (init_reload): Initialize spilled_pseudos and pseudos_counted.
11008 (reload): Don't try to allocate reload registers if we already know
11009 we have to make another pass. Call select_reload_regs. Free memory
11010 starting with reload_firstobj when starting another pass.
11011 Don't allocate spilled_pseudos.
11012 (calculate_needs_all_insns): Call copy_reloads for an insn that
11013 needs reloads; don't call calculate_needs.
11014 (spill_cost): New static array.
11015 (used_spill_regs_local): New static variable.
11016 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11017 to compute potential_reload_regs.
11018 (find_reload_regs): Completely rewritten to use find_reg.
11019 (allocate_reload_reg): Don't test counted_for_groups or
11020 counted_for_nongroups. Lose NOERROR arg and code to give an error;
11021 all cllers changed.
11022 (choose_reload_regs): Add fallback code that uses the existing
11023 register allocation from find_reload_regs.
11025 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
11027 * flow.c (create_edge_list): Cast xmalloc return value.
11029 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
11031 * doprnt.c: Remove incorrect comment closure.
11033 * cse.c: Fix a few minor whitespace goofs.
11035 1999-12-13 Don Bowman <don@pixstream.com>
11037 * mips/vxworks.h: Fix problem with comment termination.
11038 (EXTRA_SECTIONS): Add in_sbss.
11039 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11041 1999-12-12 David S. Miller <davem@redhat.com>
11043 * cse.c (struct cse_reg_info): Add hash_next member,
11044 reorder rest of struct for better packing on 64-bit
11046 (cse_reg_info_tree): Kill.
11047 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11048 REGHASH_FN): New custom pow2 hash mechanism.
11050 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11051 use a pow2 hash table.
11052 (get_cse_reg_info): Rework to use new REGHASH.
11053 (new_basic_block): Likewise, use HASH_SIZE, and inline
11055 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11056 and inline free_element call.
11057 (lookup_as_function, insert, flush_hash_table, invalidate,
11058 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11059 invalidate_for_call, use_related_value, find_comparison_args,
11060 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11061 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11062 get_element): Kill.
11064 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
11066 * cse.c (cse_basic_block): Free qty_table consistently.
11068 1999-12-12 David S. Miller <davem@redhat.com>
11069 Jakub Jelinek <jakub@redhat.com>
11071 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11072 SUBREGs by hand, gen the appropriate hard reg directly.
11073 (movtf reg/mem split): Likewise and alter_subreg on destination
11075 (movtf mem/reg split): Similarly.
11076 (movdf_cc_sp64): Rename from hidden pattern.
11077 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11078 (movtf_cc_sp64, following split): New pattern and splitter.
11079 (movdf_cc_reg_sp64): Rename from hidden pattern.
11080 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11082 (movtf_cc_reg_sp64, following split): New pattern and splitter.
11084 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
11086 * loop.c (load_mems): Don't hoist written floating point mem
11089 1999-12-12 Mark Mitchell <mark@codesourcery.com>
11091 * except.h (struct eh_queue): Add `next' pointer.
11092 (struct eh_status): Make x_ehqueue a pointer.
11093 (push_ehqueue): Declare.
11094 (pop_ehqueue): Likewise.
11095 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11097 (expand_fixup_region_end): Likewise.
11098 (expand_leftover_cleanups): Likewise.
11099 (push_ehqueue): Define.
11100 (pop_ehqueue): Likewise.
11101 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11102 than doing it inline.
11103 (expand_start_all_catch): Adjust now that ehqueue is a
11105 (mark_eh_queue): Mark all level of the queue.
11106 (mark_eh_status): Adjust now that ehqueue is a
11108 (init_eh_for_function): Allocate ehqueue.
11109 (free_eh_status): Free it.
11110 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11111 expansion for a fixup.
11113 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11115 * gthr-single.h (__gthread_active_p): Add prototype arguments.
11117 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11118 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11119 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11120 function_ptr, getpagesize, __enable_execute_stack,
11121 __enable_execute_stack, __clear_insn_cache,
11122 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11123 _cleanup, _exit, __default_terminate, __terminate_func,
11124 __terminate, __empty, __throw, new_eh_context,
11125 eh_context_initialize, eh_context_static, eh_context_specific,
11126 get_eh_context, __get_eh_context, __get_eh_info,
11127 init_reg_size_table, eh_threads_initialize,
11128 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11129 __unwinding_cleanup, throw_helper, __throw, __rethrow,
11130 __pure_virtual): Add prototype arguments.
11131 (__bb_exit_func): Cast a sizeof to long when comparing against one.
11132 Cast a signed value to unsigned long when comparing against one.
11133 (new_eh_context): Wrap in _GTHREADS macro.
11134 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11136 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11137 (throw_helper): Initialize variables `handler_p' and `pc_p'.
11139 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11141 * combine.c (record_promoted_value): Remove unused variable
11144 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11146 * global.c (record_conflicts): Likewise for `j'.
11148 * genoutput.c (output_insn_data): Don't unnecessarily cast away
11151 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11153 * i386-protos.h (output_387_binary_op, output_fix_trunc,
11154 output_fp_compare): Constify a char*.
11156 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11158 (override_options, ix86_comp_type_attributes, print_operand,
11159 output_387_binary_op, output_fix_trunc, output_fp_compare):
11161 (ix86_sched_reorder): Mark parameter `clock_var' with
11164 * i386.h (DEBUG_PRINT_REG): Constify a char*.
11166 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
11168 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11169 operand, for use in the Java front-end.
11171 1999-12-10 Ben Collins <bcollins@debian.org>
11173 * configure.in: Fix typo for "-64" in 64bit as check.
11174 * configure: Rebuilt.
11176 1999-12-10 Jakub Jelinek <jakub@redhat.com>
11178 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11181 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11183 * c-parse.in (string): With -Wtraditional, warn if ANSI string
11184 concatenation is utilized.
11186 * invoke.texi (-Wtraditional): Document it.
11188 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11190 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11191 Cast a ptrdiff_t to long and pass it to printf with %ld.
11193 1999-12-10 Geoff Keating <geoffk@cygnus.com>
11195 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11196 68881, we have no 68881 registers at all.
11197 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11198 value in a 68881 register if it is available.
11200 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
11202 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11203 for long long multiply-accumulate.
11205 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
11207 * loop.c (insert_loop_mem): Undo last change.
11209 1999-12-10 David S. Miller <davem@redhat.com>
11211 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11213 * config/sparc/sparc-protos.h: Add them.
11214 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11215 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11216 constraints which use those helpers.
11217 (EXTRA_CONSTRAINT): Use this new macro.
11218 * md.texi: Update sparc target constraints documentation.
11219 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11220 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11221 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11222 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11223 (movsf high/lo_sum split): Rework for new patterns.
11224 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11226 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
11228 * c-common.c (c_common_nodes_and_builtins):
11229 Create __builtin_ptrdiff_t and __builtin_size_t.
11231 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
11233 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11235 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11237 * regclass.c (globalize_reg): Re-instate test that allows
11238 fixed registers to be declared as a variable even after functions
11241 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11243 * i386.md (cpu attribute): Add "athlon".
11244 (athlon_decode): New attribute.
11245 (Athlon scheduling units definitions): New.
11246 (fcmp and shld patterns): Set athlon_decode to "vector".
11247 * i386.c (athlon_cost): New.
11249 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11250 x86_use_sahf): Set for Athlon.
11251 (x86_use_fiop): Unset for Athlon.
11252 (override_options): Define Athlon alignments and "athlon" name.
11253 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11254 * i386.h (TARGET_ATHLON): New.
11255 (enum processor_type): Add PROCESSOR_ATHLON.
11256 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11258 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11260 1999-12-09 Andreas Jaeger <aj@suse.de>
11262 * loop.c (record_biv): Declare parameter as int.
11264 * config/i386/i386-protos.h: Declare long_memory_operand.
11266 1999-12-09 Mark Mitchell <mark@codesourcery.com>
11268 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11269 EXPR_WITH_FILE_LOCATION.
11271 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11273 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11276 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11278 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11281 1999-12-09 Jakub Jelinek <jakub@redhat.com>
11283 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11284 default on linux64 again.
11285 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11286 models for multilibing.
11287 * genmultilib: Accept | as alternative separator within a set in
11290 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11292 * calls.c (precompute_arguments): Make sure initial_value contains
11293 value pseudo which CSE expects.
11294 * cse.c (struct set): New entry orig_src.
11295 (cse_insn): Set it early on entry, use it for libcall EQUIV note
11298 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
11300 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11302 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
11304 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11306 1999-12-08 Jakub Jelinek <jakub@redhat.com>
11308 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11309 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11311 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11314 * longlong.h: Merge in changes from glibc.
11315 Also don't clobber %g2 register in 32bit SPARC assembly, so that
11316 -mno-app-regs libgcc can be compiled.
11317 * libgcc2.c: Add defines so that the updated longlong.h
11318 can be used in libgcc2.a. Also, make sure on most architectures
11319 (at least on all which have optimized code in longlong.h defined
11320 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11322 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11324 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11325 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11326 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11328 * configure: Rebuilt.
11330 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
11332 * alpha.c (secondary_reload_class): For !BWX, sub-simode
11333 outputs require a register.
11335 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
11337 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11338 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
11339 functions like dptoul will be resolved.
11340 (libgcc2.a): Make sure that the object files from DPBIT are named
11341 differently (prefix `_dp') from those that would be coming from
11344 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
11346 * configure.in: When target is sparc* and tm_file contains 64,
11347 test for 64bit support in assembler. If not supported, remove
11348 sparc/t-sol2-64 from target-dependent Makefile fragments.
11349 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11350 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11351 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11352 * acconfig.h (AS_SPARC64_FLAG): Added.
11353 * configure, config.in: Rebuilt.
11354 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11355 support. Use AS_SPARC64_FLAG.
11357 1999-12-07 Jakub Jelinek <jakub@redhat.com>
11359 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11360 suitable for holding OFmode values so that gcc works with complex
11362 (hard_64bit_mode_classes): Likewise.
11364 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11365 so that it is actually matched.
11366 (sethi_di_medlow): Likewise.
11368 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11369 as legitimate constant if -mvis.
11370 * config/sparc/sparc.md (movtf): Likewise.
11371 (clear_sf): Use const_double_operand.
11372 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11374 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11375 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11376 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11377 routines, _Qp_* cannot be handled like that now.
11378 (INIT_TARGET_OPTABS): Likewise.
11379 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11380 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11381 sparc_emit_float_lib_cmp if ARCH64 and soft float.
11382 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11383 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11384 divtf3, sqrttf3): New expanders.
11385 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11386 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11387 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11390 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11391 * configure: Rebuilt.
11392 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11393 -mcpu is given and we're doing 64bit compiles.
11395 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
11397 * loop.h (struct induction): Add multi_insn_incr.
11398 * loop.c (basic_induction_var): New multi_insn_incr argument.
11399 Set it if we search back through previous insns for the biv.
11400 (record_biv): New multi_insn_incr argument; fill in struct induction.
11401 (strength_reduce): Discard an iv with multiple bivs, any of
11402 which require multiple insns to increment.
11404 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
11406 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11409 1999-12-06 David S. Miller <davem@redhat.com>
11411 * combine.c (check_promoted_subreg): Do not conditionalize this upon
11412 PROMOTE_FUNCTION_RETURN.
11414 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
11416 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11417 and handle REG_UNUSED note on insn.
11419 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
11420 inner_mask instead of mask.
11422 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
11424 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11425 zero if there was an error.
11427 1999-12-06 Jakub Jelinek <jakub@redhat.com>
11429 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11432 * longlong.h: Fix clobbers in SPARC asm statements.
11434 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11435 valid sethi operations when TARGET_ARCH64.
11437 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11438 always use move_by_pieces to avoid infinite recursion.
11439 (restore_fixed_argument_area): Likewise.
11441 * combine.c (check_promoted_subreg, record_promoted_value): New
11443 (combine_instructions): Use them to retain nonzero and sign bit
11444 information after SUBREGs are eliminated by optimizations in
11445 this pass if PROMOTE_FUNCTION_RETURN.
11447 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11448 .register declaration. Don't use variables with __ prefixes.
11450 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11452 * fold-const.c (optimize_bit_field_compare): Only use one mode
11453 for both RHS and LHS in non-constant case.
11455 1999-12-06 Nathan Sidwell <nathan@acm.org>
11457 * frame.c (start_fde_sort): Only allocate erratic array, if
11458 linear one was allocated. Return allocated flag.
11459 (fde_insert): Only insert, if there's a valid array.
11460 (fde_end_sort): Split, sort and merge if linear and erratic
11461 arrays exist, else just sort linear one.
11462 (search_fdes): New function. Linear search through original fde
11464 (frame_init): Permit multiple initializations. Cope with
11466 (find_fde): Fallback on linear search, if failed to sort array.
11467 (__deregister_frame_info): Only free sorted array, if we
11470 1999-12-06 Jakub Jelinek <jakub@redhat.com>
11472 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11474 1999-12-05 Jakub Jelinek <jakub@redhat.com>
11476 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11478 1999-12-05 Mark Mitchell <mark@codesourcery.com>
11480 * tree.h (special_function_p): Declare.
11481 * calls.c (special_function_p): Make it global. Don't take `name'
11482 as a parameter. Fix typo in 1999-11-28 change.
11483 (expand_cal): Adjust.
11485 1999-12-04 Mark Mitchell <mark@codesourcery.com>
11487 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11488 * tree.h (EXPR_WFL_FILENAME): Define in terms of
11489 EXPR_WFL_FILENAME_NODE.
11490 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11492 * print-tree.c (print_note): Print TREE_PRIVATE and
11495 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11496 the original die cannot be found.
11498 * varray.h (varray_head_tag): Add elements_used.
11499 (VARRAY_PUSH): New macro.
11500 (VARRAY_POP): Likewise.
11501 (VARRAY_TOP): Likewise.
11502 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11504 * varray.c (varray_init): Initialize elements_used.
11505 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11506 (INTEGRATE_H): New variable.
11507 (integrate.o): Depend on INTEGRATE_H.
11508 (unroll.o): Likewise.
11510 * function.h (insert_block_after_note): Declare.
11511 * function.c (insert_block_after_note): Split out from ...
11512 (retrofit_block): ... here.
11514 * stmt.c (expand_fixup): Fix typo in comment.
11516 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11518 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11519 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11520 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11521 (regmove_optimize, fixup_match_1): Likewise.
11523 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11525 * flow.c (flow_loops_dump): Add missing argument when calling
11526 flow_loop_nested_p.
11528 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
11529 Greg McGary <gkm@gnu.org>
11531 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11532 (init_attributes): Add A_NO_LIMIT_STACK.
11533 (decl_attributes): Handle A_NO_LIMIT_STACK.
11534 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11535 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11536 Handle stack bounds checking.
11537 * flags.h (flag_stack_check): Use the word 'probe' rather than
11538 'check', because the flag doesn't actually cause any checking to
11540 * function.c (expand_function_start): Set
11541 current_function_limit_stack.
11542 * function.h (struct function): Add limit_stack.
11543 (current_function_limit_stack): Define.
11544 * invoke.texi (Code Gen Options): Document new options.
11545 * rtl.h: Declare stack_limit_rtx.
11546 * toplev.c (stack_limit_rtx): New variable.
11547 (decode_f_option): Handle new options -fstack-limit-register=REG,
11548 -fstack-limit-symbol=IDENT, -fno-stack-limit.
11549 (main): Add stack_limit_rtx as GC root.
11550 * tree.h (DECL_NO_LIMIT_STACK): New macro.
11551 (struct tree_decl): New member no_limit_stack.
11553 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11555 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11556 (conditional_trap+1): Get new mnemonic correct.
11557 (conditional_trap+2): New pattern for DImode traps.
11559 * config/m68k/m68k.c (output_function_prologue): Handle
11561 * config/m68k/m68k.md (trap): New insn.
11562 (conditional_trap): New insn.
11563 * md.texi (Standard Names): Document `trap' and
11564 `conditional_trap'.
11565 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11566 so a cc0 setter doesn't get emitted at some random place in the
11569 * config/i960/i960.md (trap): New insn.
11570 (conditional_trap): New expander.
11571 (conditional_trap+1, conditional_trap+2): New insns for signed
11572 and unsigned cases.
11573 * config/i960/i960.c (i960_function_prologue): Use
11574 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
11576 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
11577 Geoffrey Keating <geoffk@cygnus.com>
11579 * flags.h (warn_padded, warn_packed): Add global var decls.
11580 * toplev.c (warn_padded, warn_packed): Add global var defns.
11581 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11582 * stor-layout.c (layout_record): Add local variable `type'
11583 to hold often-used TREE_TYPE (field). Add local variable
11584 `unpacked_align' to hold alignment that would be in force
11585 if no `packed' attribute were present. Warn if `packed' attribute
11586 is unnecessary, or even harmful. Warn when gcc inserts padding
11587 to satisfy alignment requirements of members. Use NULL_TREE
11588 when checking whether var_size is set.
11589 * invoke.texi: Document new flags.
11591 1999-12-03 Nathan Sidwell <nathan@acm.org>
11593 * frame.c (fde_split): Reimplement to avoid variable sized array.
11595 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11597 * combine.c (try_combine): Before fixing up LOG_LINKS for the
11598 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11600 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
11602 * invoke.texi: Document the mips option -mno-crt0
11604 1999-12-02 Mike Karr <mkarr@mathworks.com>
11606 * cccp.c (argdata): Added free_ptr member.
11607 (macroexpand): Initialize free_ptr of each argument. When an
11608 argument's buffers are freed, if the argument's free_ptr corresponds
11609 to a buffer on the input stack, then return the free_ptr to that stack
11610 frame, otherwise, free it.
11611 (macarg): If an argument begins and ends on the same input stack level,
11612 then transfer the free_ptr of that buffer to the argument in case
11613 the stack is popped during the processing of a subsequent argument.
11615 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
11617 * loop.c (note_reg_stored): New function.
11618 (struct note_reg_stored_arg): New structure.
11619 (try_copy_prop): Change to be more conservative; only replace within
11620 one extended basic block and stop replacing if a store to the
11621 replacement reg is seen.
11623 1999-12-02 Nick Clifton <nickc@cygnus.com>
11625 * config/fp-bit.c: Initialise all fields of the NAN
11628 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11631 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
11633 * i386.md (extend?f?f2): Force the input into a register, not
11636 1999-12-01 Jakub Jelinek <jakub@redhat.com>
11638 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11640 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11641 alternative because setting up 64bit constant is usually costly,
11642 especially when reload is in progress or completed.
11643 (movdf_const_intreg_sp64): Likewise.
11644 (movdf_const_intreg split): Fix building up constants when
11645 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11647 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
11649 * combine.c (if_then_else_cond): Use const_true_rtx instead of
11650 const1_rtx for return values in EQ/NE comparison against (const_int 0)
11653 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11654 (asm_file_start): Emit .am33 into assembly file when compiling for
11656 (print_operand_address): Handle POST_INC addresses.
11657 (can_use_return_insn, initial_offset): Check AM33 registers too.
11658 (expand_prologue): Check & save AM33 registers too.
11659 (expand_epilogue): Similarly.
11660 (secondary_reload_class): Handle AM33 specific secondary reloads.
11661 (output_tst): Emit efficient code for the AM33 too.
11662 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11663 (TARGET_SWITCHES): Add -mam33 switch.
11664 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11665 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11666 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11667 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11668 (enum reg_class, REG_CLASS_NAMES): Likewise.
11669 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11670 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11671 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11672 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11673 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11674 (HAVE_POST_INCREMENT): Define.
11675 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11676 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11677 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11678 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11679 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11680 (zero_extend to SI from QI/HI): Likewise.
11681 (sign_extend to SI from QI/HI): Likewise.
11682 (mulsidi3, umulsidi3): New patterns for the AM33.
11683 (tstsi with zero extension from QI/HI): Add AM33 variants.
11684 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11685 (return_internal_regs, store_movm): Handle new AM33 registers.
11686 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11687 (LIBGCC, INSTALL_LIBGCC): Likewise.
11688 * invoke.texi: Document new flags.
11690 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
11692 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11693 (addsi3_carry): Likewise.
11694 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11695 (sbbsi3_carry): Likewise.
11696 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11697 (mulhi3): Likewise.
11698 (test?i_1): Ensure that only one operand is memory.
11699 (conditional move patterns): likewise.
11700 (shift and rotate patterns): Rewrite to expander, add
11701 "binary_operator_ok" to the condition.
11703 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11704 * i386.h (procesor_costs): Add movzbl_load field.
11705 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11706 non-Q registers, accept DImode registers anywhere.
11708 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11709 * i386.c (*_cost): Set value for movxbl_load field.
11711 * (addsi): New add to lea splitter.
11712 (ashlsi): Likewise.
11713 (lea to add/shift peep2): New.
11715 1999-12-01 Mark Salter <msalter@cygnus.com>
11717 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11718 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11719 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11721 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11723 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11724 * i386.md (movsi_xor): New.
11726 (movsi_1, movhi_1, movqi_1): Remove.
11727 (movsi_2): Rename to movsi_1.
11728 (movhi_2): Rename to movhi_1.
11729 (movqi_2): Rename to movqi_1.
11730 (movdi_1): Remove; remove splitter.
11731 (movdi_2): Rename to movdi_1.
11732 (divmodsi4 splitter): Do not emit clobbers for move patterns.
11733 (long move peep2): Do not create QI or HI mode mov0s
11734 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
11736 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
11739 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
11740 (abs?f2_if): Likewise.
11742 1999-11-30 Alex Samuel <samuel@codesourcery.com>
11744 * ggc.h (ggc_test_and_set_mark): New macro.
11745 (ggc_mark_rtx): Use ggc_test_and_set_mark.
11746 (ggc_mark_tree): Likewise.
11747 (ggc_mark_rtvec): Likewise.
11748 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
11750 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
11752 * dwarf2out.c (scope_die_for): Only handle types. Only search for
11754 (decl_scope_table): Just an array of trees now.
11755 (push_decl_scope): Simplify.
11756 (dwarf2out_init): Adjust.
11757 (local_scope_p): New fn.
11758 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
11759 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
11760 (gen_typedef_die): Likewise.
11761 (gen_lexical_block_die): Don't call push/pop_decl_scope.
11762 (gen_inlined_subroutine_die): Likewise.
11763 (gen_abstract_function): Set current_function_decl temporarily.
11764 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
11765 Handle block extern declarations. Don't call push/pop_decl_scope.
11766 (gen_decl_die): Fix logic for block externs.
11768 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11770 * calls.c (special_function_p): Remove `realloc' and add `strdup'
11771 to the list of functions which have attribute malloc by default.
11773 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11775 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
11776 integer constant does not match the traditional type, limit the
11777 warnings to cases where the base of the type is ten.
11779 * invoke.texi (-Wtraditional): Document it.
11781 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11783 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
11784 * rs6000.md: Only access a CONST_INT with INTVAL
11786 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
11788 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
11789 (compute_nearerout): Likewise.
11790 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
11791 size_t to unsigned long for formatting.
11793 1999-11-30 Jakub Jelinek <jakub@redhat.com>
11795 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
11796 Allow the user to override call-used/fixed state of %g2-5
11797 registers from the command line (with the exception of %g4 for
11799 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
11800 there is a higher chance of having a leaf function.
11801 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
11802 for ARCH64 which has %ccr register.
11803 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
11805 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
11806 insn accept into delay slot any insn which does not use %[ol]
11807 registers. Accept some LO_SUM and shift left by 1 for the normal
11809 (output_function_epilogue): Likewise.
11810 (epilogue_renumber): Added argument which inhibits any renumbering
11811 and just tests if the rtx does not use any %[ol] registers.
11812 (output_return): Reflect above change.
11814 1999-11-30 Jakub Jelinek <jakub@redhat.com>
11816 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
11817 aggregate passing for sizes <= 16 bytes.
11819 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
11821 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
11822 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
11823 * reload.c (find_dummy_reload): Likewise.
11824 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
11825 * reload1.c (reload_as_needed): Likewise.
11826 * stupid.c (stupid_find_reg): Likewise.
11827 * tm.texi (Obsolete Register Macros): Delete section.
11828 * gmicro.h: Remove all traces of the two macros.
11829 * i386.h: Likewise.
11830 * m88k.h: Likewise.
11831 * mips.h: Likewise.
11833 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
11835 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
11836 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
11837 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
11838 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
11839 units for the sparclite86x chip.
11840 (flush): Revert October 14th change; add SImode specifically.
11841 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
11842 * invoke.texi: Document it.
11844 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
11846 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
11847 psimode_truncation_operand.
11849 * config/mn10200/mn10200.c (psimode_truncation_operand): New
11850 function. Return true if the operand is either a MEM valid
11851 for a PSImode address or not a MEM at all.
11853 * config/mn10200/mn10200.md (truncsipsi2): Use
11854 psimode_truncation_operand.
11856 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11858 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
11859 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
11860 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
11861 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
11862 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
11863 (flow_loop_level_compute, low_loops_level_compute): Likewise.
11864 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
11865 * basic-block.h: Protect from multiple inclusion.
11866 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
11867 (struct loops, struct loop): Define structures.
11868 * sbitmap.c (sbitmap_a_subset_b_p): New function.
11869 * sbitmap.h: Protect from multiple inclusion.
11870 (sbitmap_a_subset_b_p): Add prototype.
11871 * Makefile.in (LOOP_H): New macro.
11872 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
11874 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
11876 * cppinit.c (CAT): The argument list of this macro may not contain
11879 1999-11-29 David S. Miller <davem@redhat.com>
11881 Move quantity tables and register equivalence chains into
11882 per-qty and per-register structure arrays respectively.
11883 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
11884 qty_const_insn, qty_comparison_code, qty_comparison_const,
11885 qty_comparison_qty): Delete, replace with...
11886 (qty_table): this structure table.
11887 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
11888 (reg_eqv_table): this structure table.
11889 (make_new_qty): Add argument MODE. Caller updated.
11890 Update to use qty_table and reg_eqv_table.
11891 (make_regs_eqv, delete_reg_equiv, insert_regs,
11892 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
11893 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
11894 cse_process_notes, cse_main, cse_basic_block): Likewise.
11896 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11898 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
11899 operation if C is negative.
11900 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
11901 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
11902 law for some divisions if constant is negative and change other
11903 divisions to the opposite rounding.
11905 * expr.c (store_constructor_field): If bit position is not multiple
11906 of alignment of TARGET's mode, use BLKmode.
11908 * expr.c (expand_expr_unaligned): Add more code from full case
11909 that is needed when OP0 is in a register.
11911 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11913 * dwarfout.c (field_byte_offset): Size can be zero if there was
11916 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
11918 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
11919 (associate_trees): Delete unused var TEM.
11920 (extract_muldiv): Delete unused var CANCEL_P.
11922 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
11923 (target_isinf, target_isnan, target_negative): Add return types to
11924 function definitions.
11926 1999-11-29 Bruce Korb <autogen@linuxbox.com>
11928 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
11929 * fixinc/hackshell.tpl: ditto
11930 * fixinc/fixtests.c(double_slash_test): more C++ header testing
11931 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
11933 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
11935 * reload.c (push_reload): When looking for a register to put into
11936 reg_rtx, make sure all hard regs in a multi-reg register are in the
11937 right class and nonfixed.
11939 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
11940 pending_read_insns, pending_write_insns, pending_read_mems,
11941 pending_write_mems, pending_list_length, last_pending_memory_flush,
11942 last_function_call, sched_before_next_call): Move static variables
11944 (bb_ prefixed versions): Replace with single array bb_deps.
11945 (struct deps): New structure.
11946 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
11947 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
11948 argument of type "struct deps *"; use that instead of global
11949 variables. All callers changed.
11950 (init_rgn_data_dependencies): Delete function.
11951 (init_rtx_vector): Delete function.
11952 (init_deps): New function.
11954 (free_pending_lists): Simplify, we always use the bb_deps array even
11955 if only one basic block.
11956 (compute_block_backward_dependences): Likewise.
11957 (schedule_region): Likewise.
11959 (propagate_deps): New function, broken out of
11960 compute_block_backward_dependences.
11961 (compute_block_backward_dependences): Use it.
11963 * alpha.md: Delete useless patterns that tried to work around
11964 register elimination problems.
11966 * unroll.c (loop_iterations): Don't abort if iteration variable
11969 From Joern Rennecke:
11970 * reload1.c (reloads_conflict): Reverse test comparing operand
11971 numbers when testing for conflict between output/outaddr reloads.
11973 1999-11-29 David S. Miller <davem@redhat.com>
11975 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
11977 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
11979 1999-11-28 Robert Lipe <robertl@cygnus.com>
11981 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
11982 table from .fini into .dtor.
11984 1999-11-28 Anthony Green <green@cygnus.com>
11986 * tree.h (struct tree_decl): Add malloc_flag.
11987 (DECL_IS_MALLOC): Define.
11988 * c-common.c (attrs): Add A_MALLOC attribute.
11989 (init_attributes): Add this attribute to the table.
11990 (decl_attributes): Handle malloc attribute.
11991 * calls.c (special_function_p): Check for the malloc attribute.
11992 * extend.texi (Function Attributes): Document malloc attribute.
11994 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
11996 * pa.md (reload shift-add patterns): Remove.
11998 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12000 * reorg.c (dbr_schedule) Print more statistics. Corrected
12001 problem when printing info when 3 delay slots are filled.
12003 1999-11-28 Jakub Jelinek <jakub@redhat.com>
12005 * combine.c (setup_incoming_promotions): Pass an outgoing
12006 regno to FUNCTION_ARG_REGNO_P which it expects.
12008 1999-11-28 Andreas Jaeger <aj@suse.de>
12010 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12012 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
12014 * cccp.c (do_include): Avoid initialization of automatic variable.
12016 * integrate.c (mark_stores): Function definition made void, to match
12017 previous declaration.
12018 * regclass.c (dump_regclass): Ditto.
12019 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12021 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12023 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12024 known to be multiple of divisor.
12026 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12028 * combine.c (try_combine): Add code to try to merge a set of a
12029 two-word pseudo to a constant with a setting of one of those words
12032 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12033 (split_tree): Completely rework to make more general.
12034 (make_range, fold): Call negate_expr.
12035 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12036 (fold, associate): Call new split_tree and associate_trees.
12037 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12039 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
12041 * loop.c (try_copy_prop): Avoid GNU C extension.
12043 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12045 * except.c (init_eh_for_function): Still zero eh_return_context,
12046 eh_return_stack_adjust, and eh_return_handler.
12048 * except.h (eh_status): Adjust documentation for x_protect_list.
12049 (begin_protect_partials): New function.
12050 * except.c (enqueue_eh_entry): Fix formatting.
12051 (get_first_handler): Add consistency check.
12052 (add_partial_entry): Adjust usage of protect_list.
12053 (emit_cleanup_handler): Save and restore ehqueue.
12054 (expand_start_all_catch): Add comment.
12055 (begin_protect_partials): New function.
12056 (end_protect_partials): Adjust usage of protect_list.
12057 (init_eh_for_function): Use xcalloc.
12059 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12061 * c-common.c (check_format_info): Don't call a variadic function
12062 with a non-literal format string.
12064 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12066 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12067 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12070 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12073 * collect2.c (collect_wait): Likewise.
12075 * dbxout.c (dbxout_type): Likewise.
12077 * gcc.c (do_spec_1): Likewise.
12079 * genemit.c (gen_insn, gen_expand): Likewise.
12081 * genrecog.c (write_switch, write_subroutine): Likewise.
12083 * mips-tfile.c (catch_signal, botch): Likewise.
12085 * print-rtl.c (print_rtx): Likewise.
12087 * toplev.c (default_print_error_function, report_error_function,
12088 _fatal_insn): Likewise.
12090 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12092 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12094 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12096 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12097 operations when needed.
12098 * i386.md (fop_?f_comm): New.
12099 (fop_?f_1): Do not accept commutative operands.
12101 1999-11-25 Andreas Jaeger <aj@suse.de>
12103 * config/mips/mips.md (casesi_internal): Add missing brace.
12105 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
12107 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12108 (splice_child_die): Handle moving a child DIE from the declaration
12109 DIE of a class to its specification.
12110 (gen_struct_or_union_type_die): Use 'complete' consistently.
12111 (gen_decl_die): Generate the virtual context DIE first.
12112 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12114 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
12116 * config/mips/mips.md (call_value_multiple_interanal1): New.
12118 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
12120 * dwarf2out.c (free_AT, free_die): New fns.
12121 (remove_children): Call them.
12122 (output_line_info): Disable removal of duplicate notes.
12124 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12125 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12126 means pretend the type isn't defined.
12127 Don't defer emitting types.
12128 (gen_type_die_for_member): New fn.
12129 (gen_decl_die): Call it.
12130 (splice_child_die): New fn.
12131 (gen_member_die): Call it rather than generate duplicate dies.
12133 Defer emitting information for the abstract instance of an inline
12134 until we either inline it or emit an out-of-line copy.
12135 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12136 from output_inline_function if DECL_ABSTRACT is also set.
12137 (block_ultimate_origin): Likewise.
12138 (gen_abstract_function): New fn.
12139 (gen_decl_die, gen_inlined_subroutine_die): Call it.
12140 (gen_subprogram_die): An abstract instance is not a declaration
12141 just because it doesn't match current_function_decl. Don't abort
12142 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
12143 has an abstract origin.
12144 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12145 abstract instance here.
12147 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
12149 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12150 where we need to reload fpul from a system register.
12152 1999-11-24 Andreas Jaeger <aj@suse.de>
12154 * config/mips/linux.h (CPP_PREDEFINES): Added.
12155 (LINK_SPEC): Remove -Y since this is only needed on sparc.
12157 1999-11-24 Andreas Jaeger <aj@suse.de>
12159 * config/mips/linux.h (TARGET_VERSION): Added.
12160 (HANDLE_SYSV_PRAGMA): Added.
12161 (DEFAULT_VTABLE_THUNKS): Added.
12163 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12165 * local-alloc.c (qty): New structure and static variable.
12166 (qty_phys_reg): Remove, all references changed to qty.
12167 (qty_n_refs): Likewise.
12168 (qty_min_class): Likewise.
12169 (qty_birth): Likewise.
12170 (qty_death): Likewise.
12171 (qty_size): Likewise.
12172 (qty_mode): Likewise.
12173 (qty_n_calls_crossed): Likewise.
12174 (qty_alternate_class): Likewise.
12175 (qty_changes_size): Likewise.
12176 (qty_first_reg): Likewise.
12177 (alloc_qty): Rename variable QTY to QTYNO.
12178 (finf_free_reg): Likewise.
12179 (local_alloc): Allocate qty, do not allocate the removed variables.
12181 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
12183 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12184 when -membedded-pic is passed.
12186 * config/mips/mips.md (casesi): Handle 64-bit case too.
12187 (casesi_internal_di): New insn.
12189 * config/mips/mips.c (embedded_pic_offset): Always make the
12190 embedded-pic subtractions relative to the name of the current
12191 function by use of the magic string "..CURRENT_FUNCTION".
12192 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12194 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
12196 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12197 of (const_int 0), when what we really care about is
12198 whether it's a zero constant anyway.
12199 (div_trap_mips16): Likewise.
12201 1999-11-23 Mark Mitchell <mark@codesourcery.com>
12203 * loop.c (loop_optimize): Always find_loop_tree_blocks and
12204 unroll_block_trees when generating debuggable code.
12206 * tree.h (unsave_expr_1): New function.
12207 (lang_unsave): New variable.
12208 (get_callee_fndecl): New function.
12209 * tree.c (unsave_expr_now_r): New function.
12210 (lang_unsave): Define.
12211 (unsave_expr_1): Likewise.
12212 (unsave_expr_now_r): Split out from unsave_expr_now.
12213 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
12214 call unsave_expr_now_r.
12215 (get_callee_fndecl): Define.
12217 * Makefile.in (gencheck): Don't depend on lang_tree_files.
12218 (gencheck.o): Do depend on lang_tree_files.
12220 * integrate.h (copy_decl_for_inlining): New declaration.
12221 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12222 (copy_decl_for_inlining): New function.
12223 (integrate_parm_decls): Use it.
12224 (integrate_decl_tree): Likewise.
12226 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
12228 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12229 the second two from the first.
12230 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12231 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12232 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12234 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12235 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12238 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
12240 * pa.md (call_internal_symref, call_value_internal_symref): No mode
12241 needed on the address operand.
12242 * pa.c (call_operand_address): Check for the correct mode.
12244 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
12246 * loop.c: Include "basic-block.h".
12247 (try_copy_prop, replace_loop_reg): New functions.
12248 (load_mems): Detect registers that just hold copies of the hoisted
12249 mem, and call try_copy_prop to eliminate them.
12250 * Makefile.in (loop.o): Update dependencies.
12252 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
12254 * Makefile.in (gencheck.o): Depend on gencheck.h.
12255 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12256 (insn-peep.o): Depend on except.h and function.h.
12257 (insn-attrtab.o): Depend on RECOG_H.
12258 (insn-output.o): Depend on toplev.h and flags.h.
12259 (gengenrtl.o): Depend on real.h.
12260 (gen-protos.o): Depend on cpplib.h and cpphash.h.
12261 Unify all dependencies to be on RECOG_H rather than recog.h.
12263 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12265 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12266 * configure.in: Try building a bi-arch 32/64-bit compiler on
12267 sparc-*-solaris2.7 and higher.
12268 * configure: Rebuild.
12270 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
12272 * config/freebsd.h: New, FreeBSD architecture independent file.
12273 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12274 independent pieces.
12275 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12276 directly by i386/freebsd.h.
12277 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12278 independent configuration file.
12279 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12280 directly by i386/freebsd.h.
12281 * configure: Rebuilt.
12283 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12284 which is in the user's namespace.
12285 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12286 `i386' which is not in our namespace.
12288 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
12290 * invoke.texi (ARM Options): Add in -mno-alignment-traps
12292 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12294 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12295 (add_dwarf_attr, add_child_die): Just push onto the front.
12296 (reverse_die_lists): New fn.
12297 (add_sibling_attributes): Use it.
12298 (push_decl_scope): Reorganize.
12299 (add_name_and_src_coords_attributes): Don't set file and line for
12300 an artificial decl.
12301 (gen_subprogram_die): An artificial function doesn't need to match
12303 (gen_compile_unit_die): Return the generated die. Only add
12304 AT_comp_dir if the filename is relative.
12305 (remove_AT): Simplify loop. Also free string values.
12306 (output_die): A DIE ref can't be null.
12307 (output_value_format, value_format): Take a dw_attr_ref.
12308 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12309 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12310 AT_addr, AT_lbl): New fns.
12311 (various): Use them.
12312 (various): Constify.
12314 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12316 * combine.c (combine_simplify_rtx): When handling a SUBREG,
12317 take SUBREG_WORD into account.
12318 (if_then_else_cond): Likewise.
12320 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12322 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12323 clause from BSD license, pursuant with
12325 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12327 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
12329 * loop.c (load_mems): Reformat slightly.
12330 * basic-block.h (regset_head): New typedef.
12331 (INIT_REG_SET): New macro.
12333 1999-11-22 Bruce Korb <autogen@linuxbox.com
12335 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12336 (mips-dec-bsd*): non-functional code
12337 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12339 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12340 added three replacement fixes
12341 (no_double_slash): removed comments that are not (any longer) pertinent
12342 (bad_lval): this fix currently runs against many files.
12343 The comment seems to indicate that we should select for files
12344 containing 'pragma extern_prefix'.
12346 * fixinc/fixinc.x86-linux-gnu: deleted
12347 * fixinc/inclhack.sh: regen
12348 * fixinc/fixincl.x: regen
12349 * fixinc/fixincl.sh: regen
12351 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
12353 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12354 its code is INSN and it has no notes.
12356 1999-11-22 Andrew Haley <aph@cygnus.com>
12358 * varasm.c (function_defined): Remove.
12359 (make_function_rtl): Don't set function_defined.
12360 (make_decl_rtl): Remove global register warning.
12361 * regclass.c (no_global_reg_vars): New variable.
12362 (globalize_reg): Warn if function has already been defined.
12363 (regclass_init): Set no_global_reg_vars.
12365 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12367 * regclass.c (reg_pref): New structure and static variable
12368 (prefclass): Delete.
12369 (altclass): Delete.
12370 (all uses of prefclass and altclass): Use reg_pref instead.
12372 1999-11-21 Nick Clifton <nickc@cygnus.com>
12374 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12376 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12377 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12378 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12380 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
12382 * varasm.c (output_constructor): Solve problem with long long
12383 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12385 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12387 * global.c (allocno): New structure and static variable.
12388 (allocno_reg): Remove, all references replaced by allocno.
12389 (allocno_size): Likewise.
12390 (hard_reg_conflicts): Likewise.
12391 (hard_reg_preferences): Likewise.
12392 (hard_reg_copy_preferences): Likewise.
12393 (hard_reg_full_preferences): Likewise.
12394 (regs_someone_prefers): Likewise.
12395 (allocno_calls_crossed): Likewise.
12396 (allocno_n_refs): Likewise.
12397 (allocno_live_length): Likewise.
12398 (find_reg): Rename ALLOCNO to NUM.
12400 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12401 references updated.
12402 (may_move_out_cost): New variable.
12403 (init_reg_sets_1): Initialize may_move_out_cost.
12404 (record_reg_classes): Use may_move_out_cost.
12406 * regclass.c (dump_regclass): New function.
12407 (regclass): New parameter DUMP, call DUMP_REGCLASS.
12408 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12409 pass rtl_dump_file to regclass.
12410 * rtl.h (regclass): Update prototype.
12412 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12414 * i386.md (neg, not and abs patterns): Revmap to use
12415 ix86_expand_unary_operator and ix86_unary_operator_ok.
12416 (add?f and sub?f expanders): Force operand 1 to register.
12417 * i386.c (ix86_expand_unary_operator): Rewrite.
12418 (ix86_unary_operator_ok): Ensure that memory operands
12420 (ix86_binary_operator_ok): Do not allow operand 1 to
12421 come into memory and operand 0 not.
12422 (ix86_expand_binary_operator): Ensure that
12423 src1 is not non-matching memory.
12425 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12426 to support integer registers and memory.
12427 (abss?2_integer): Likewise.
12429 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12430 (REG_CLASS_NAMES): Likewise.
12431 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12433 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12434 (movsf): Likewise; unify 4th and 5th alternative.
12435 (pushdf): Likewise.
12436 (movdf_1): Likewise; rename to movdf_integer.
12437 (pushxf): Likewise; rename to pushxf_integer; fix output template;
12438 remove redundant splitter.
12439 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12440 (movdf_nointeger): New.
12441 (movxf_nointeger): New.
12442 (pushxf_nointeger): New.
12444 * i386.md (extend?f?f): Split to expander and pattern, refuse two
12445 memory operands in patterns.
12446 (fop*): Refuse two memory operands.
12448 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12449 on !TARGET_USE_CLTD CPUs.
12451 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
12453 * extend.texi: Document C++ restricted pointers and references.
12455 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
12457 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12458 (invalidate_skipped_set): Call it unconditionally.
12459 (cse_set_around_loop): Likewise.
12461 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12463 * rtl.texi (mem): Add documentation for alias-set argument
12466 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12468 * i386.h (struct_processor_costs): New fields int_load, int_store,
12469 fp_move, fp_load and fp_store
12470 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12472 (MEMORY_MOVE_COST): New macro.
12473 * i386.c (386_cost): Define new fields.
12474 (i486_cost): Likewise.
12475 (pentium_cost): Likewise.
12476 (pentiumpro_cost): Likewise.
12477 (k6_cost): Likewise.
12479 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
12480 Geoffrey Keating <geoffk@cygnus.com>
12482 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12484 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12487 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12488 (TARGET_STRICT_ALIGNMENT): New macro.
12489 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12490 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12491 * invoke.texi (M680x0 Options): Document -mstrict-align.
12493 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
12494 Richard Henderson <rth@cygnus.com>
12496 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12497 (ix86_split_long_move): Declare.
12498 * i386.c (split_xf, ix86_split_movdi): Remove.
12499 (ix86_split_to_parts, ix86_split_long_move): New.
12500 * i386.md (dimode move splitters): Use ix86_split_long_move.
12501 (dfmode move splitters): Likewise.
12502 (xfmode move splitters): Likewise.
12503 (movsf_1): Allow F->r.
12504 (movdf_1, movxf_1): Allow F->ro.
12506 1999-11-17 Mark Mitchell <mark@codesourcery.com>
12508 * except.h (struct eh_entry): Add goto_entry_p.
12509 (eh_region_from_symbol): Remove prototype.
12510 * except.c (find_func_region_from_symbol): New function.
12511 (emit_cleanup_handler): Likewise.
12512 (eh_region_from_symbol): Make it static.
12513 (add_new_handler): Verify the argument.
12514 (find_func_region): Update comment.
12515 (expand_eh_region_end): Expand handlers here, rater than waiting
12516 until expand_leftover_cleanups or start_all_catch.
12517 (expand_leftover_cleanups): Don't expand here.
12518 (expand_start_all_catch): Or here.
12519 (expand_rethrow): Check the return value from find_func_region.
12520 * function.c (expand_function_end): Emit the catch_clauses.
12522 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
12524 * integrate.c (expand_inline_function): Add necessary check for NULL.
12526 1999-11-18 Nick Clifton <nickc@cygnus.com>
12528 * toplev.c (main): Correctly detect an unrecognised option.
12530 * cppinit.c (cpp_handle_option): Do not claim to have consumed
12531 a -f option if it has not been recognised.
12533 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
12535 * basic-block.h (update_life_extent): Remove trailing comma on
12536 enumeration type list.
12538 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12540 * varasm.c (output_constructor) Solved problem with long long
12541 bitfields. Corrected calculating this_time and shift. Also
12542 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12544 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
12546 * flow.c (split_edge): Take looping structure into account when
12547 determining where to put the new block note.
12549 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
12551 * Makefile.in (ggc-none.o): Provide host specific version if
12554 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
12556 * cse.c (delete_trivially_dead_insns): Identify no-op insns
12557 containing subregs too.
12559 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12561 * invoke.texi: Add documentation for -muninit-const-in-rodata.
12562 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12563 (TARGET_UNINIT_CONST_IN_RODATA): Define.
12564 (text_section): Add switches -munint-const-in-rodata and
12565 -mno-uninit-const-in-rodata.
12566 (ASM_OUTPUT_COMMON): Remove.
12567 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12568 const objects should be placed in read-only data. Otherwise declare
12571 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
12573 * jump.c (jump_optimize_1): Revert last change.
12575 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
12577 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12578 test if optimizing for size.
12580 1999-11-17 Mark Mitchell <mark@codesourcery.com>
12582 * Makefile.in (toplev.o): Depend on except.h.
12583 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12585 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12587 * i386.md (divmodsi4): Rewrite to expander.
12588 (*divmodsi4_nocltd): New.
12589 (*divmodsi4_cltd): New.
12590 (divmodsi4 splitter): Handle the case when input comes in edx.
12591 (udivmodhi4): Do not use constraints in exander.
12592 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12594 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
12596 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12597 for the common case.
12599 1999-11-16 Jakub Jelinek <jakub@redhat.com>
12601 * explow.c (hard_function_value): Add outgoing argument.
12602 * expr.h (hard_function_value): Declare it.
12603 * calls.c (expand_call, emit_library_call_value): Update callers.
12604 * function.c (aggregate_value_p): Ditto.
12605 (diddle_return_value): Must look at the outgoing registers
12606 on archs with register windows.
12608 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
12610 * alpha.c (alpha_build_va_list): Use make_lang_type and
12611 initialize TYPE_NAME for the va_list record.
12613 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12615 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12617 * ggc.h (struct ggc_statistics): Rearrange elements for better
12618 packing on 64-bit hosts.
12619 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12620 (compute_nearerout): Likewise.
12622 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
12624 * config/rs6000/rs6000.c (first_reg_to_save): Save
12625 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12627 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
12629 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12630 notion of nesting to find the DIE for a type or function.
12631 DIEs can go in limbo even if we got a context_die.
12632 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12633 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12635 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12636 (gen_type_die): Writing out the context doesn't cause member class
12637 template instantiations to be written out as well.
12639 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
12641 * rs6000.h (ASM_OUTPUT_DEF): New.
12642 Based on proposed addition from David Edelsohn.
12644 1999-11-15 Robert Lipe <RobertLipe@usa.net>
12645 Bruce Korb <autogen@linuxbox.com>
12647 * fixinc/inclhack.def
12648 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
12649 (unixware7_byteorder_fix): added. Removes conflicts for new defs
12651 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
12652 (svr4_endian): enabled with SVR5
12653 (svr4_mkdev): simplified syntax and enabled with SVR5
12655 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
12657 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12658 * configure: Rebuilt.
12659 * config/t-freebsd-thread: New file.
12661 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
12663 * i386.c (ix86_decompose_address): Verify the base is a REG
12664 before trying to examine its register number.
12666 * basic-block.h: Remove all #defines and prototypes related to
12668 (free_bb_mem, compute_preds_succs): Remove prototype.
12669 * rtl.h (free_bb_mem): Remove prototype.
12670 * flow.c (alloc_int_list_node); Remove function.
12671 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12672 (compute_preds_succs, free_bb_mem): Likewise.
12673 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12674 * toplev.c (rest_of_compilation): Likewise.
12675 * haifa-sched.c (build_control_flow): Use flow generated edge
12676 list to build the haifa specific edge list.
12677 (find_rgns): Use new CFG data structures instead of pred/succ lists.
12678 (schedule_insns): Do not build pred/succ lists anymore. Instead
12679 build the edge table.
12681 * basic-block.h (dump_bb_data): Remove declaration.
12682 * flow.c (dump_bb_data): Remove function.
12683 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12684 (sbitmap_union_of_predsucc): Likewise.
12686 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12687 argument. All callers changed.
12688 (delete_null_pointer_checks_1): No longer need to compute the
12691 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12692 All callers changed.
12693 (pre_expr_reaches_here_p_work): Likewise.
12694 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12695 * lcm.c (compute_laterin): Fix initialization of LATER.
12696 (compute_nearerout): Similarly for NEARER.
12698 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12700 * cse.c (set_nonvarying_address_components): Delete unused function.
12701 (refers_to_p): Likewise.
12703 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
12705 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12708 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12710 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12711 definition in do while (0).
12713 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
12715 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12717 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
12719 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12721 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
12723 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12724 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12725 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12726 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
12728 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
12729 saved on the stack. Output more accurate stack frame statistics
12730 into assembler file.
12732 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
12734 * genextract.c (record_insn_name): New function.
12735 (get_insn_name): No longer a stub.
12736 (main): Call record_insn_name for each insn. After each label
12737 written, print the insn name in a comment.
12739 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12741 * output.h (const_section, init_section, fini_section): Add
12744 * alpha/elf.h (const_section): Delete declaration.
12746 * svr4.h (const_section): Likewise.
12748 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
12750 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
12751 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
12752 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
12754 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
12755 variable-sized array bounds.
12757 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
12759 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
12762 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12764 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
12765 addresses the same way GO_IF_LEGITIMATE_INDEX does.
12767 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12769 * cse.c (hash_arg_in_struct): Delete.
12770 (struct table_elt): Delete elt in_struct.
12771 (struct set): Delete elt src_in_struct.
12772 (merge_equiv_classes): Don't set either hash_arg_in_struct or
12773 the corresponding in_struct elts.
12774 (canon_hash): Likewise.
12775 (safe_hash): Likewise.
12776 (find_best_addr): Likewise.
12777 (record_jump_cond): Likewise.
12778 (cse_insn): Likewise.
12780 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
12782 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
12784 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
12787 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
12789 * function.c (diddle_return_value): Put back check that the DECL_RTL
12790 for the function is a register.
12792 * function.c (diddle_return_value): Use hard_function_value to
12793 get an rtx suitable for use in the USE/CLOBBER insn.
12795 * global.c (global_conflicts): Update comments.
12796 (record_conflicts): No need to record conflicts between pseudos here.
12798 1999-11-11 Bruce Korb <autogen@linuxbox.com>
12800 * fixinc/fixincl.c: Added verbose levels for status messages
12802 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12804 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
12805 operand as argument to expand_and or expand_binop.
12807 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
12809 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
12810 gcc_add_string_root.
12812 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
12814 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
12816 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
12818 * flow.c (compute_flow_dominators): Initially put all blocks on
12820 * lcm.c (compute_antinout_edge, compute_available): Similarly.
12821 * gcse.c (compute_cprop_avinout): Remove.
12822 (compute_cprop_data): Use compute_available.
12823 (delete_null_pointer_checks_1): Use compute_available.
12825 * basic-block.h (compute_available): Returns a void now.
12826 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
12827 to return a value anymore.
12828 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
12829 worklists. Fix boundary cases. Compute maximal solutions.
12830 (compute_laterin, compute_nearerout): Similarly.
12832 * dwarf2out.c (add_AT_location_description): Allow
12833 (mem (plus (pseudo) (...)) too.
12835 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
12837 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
12839 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
12840 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12842 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
12844 * gansidecl.h: Likewise.
12850 * toplev.h: Likewise.
12852 * tree.c: Likewise.
12854 * tree.h: Likewise.
12856 * varray.c: Likewise.
12858 * varray.h: Likewise.
12860 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
12862 * gcov.c (struct arcdata): Add hits and total, remove prob.
12863 (output_branch_counts): New.
12864 (process_args): Set output_branch_counts if -c.
12865 (calculate_branch_probs): Store hits and total instead of
12867 (output_data): Emit counts if output_branch_counts is true.
12868 * gcov.texi (Invoking Gcov): Document -c switch..
12870 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
12872 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
12873 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
12875 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
12877 * invoke.texi (C Dialect Options): Add missing builtins from
12878 c-common.c to list.
12879 * extend.texi (Other Builtins): Copy to this list.
12881 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12883 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
12884 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
12885 redundant bitmap.h.
12887 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
12889 * flow.c (compute_flow_dominators): No longer treat basic block 0
12890 or (n_basic_blocks - 1) specially. Clear the AUX field before
12891 starting computation of doms/pdoms. Fix initial state for pdoms.
12893 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12895 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
12896 match rtl.o's: added ggc.h and toplev.h
12897 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
12898 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
12899 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
12901 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
12903 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
12904 from HAVE_DOS_BASED_FILESYSTEM.
12905 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
12906 HAVE_DOS_BASED_FILESYSTEM.
12908 (split_directories): Only special-case DOS file names if
12909 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
12910 instead of explicit tests. Conditionalize on !VMS.
12911 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
12912 tests. Conditionalize on !VMS.
12913 (process_command): Only use make_relative_prefix if !VMS.
12914 (free_split_directories): Conditionalize on !VMS.
12915 (DIR_UP): Conditionalize on !VMS.
12917 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
12919 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
12921 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
12923 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
12926 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
12928 * invoke.texi (Environment Variables): Document relative path
12930 * gcc.c (DIR_UP): If not defined, define as "..".
12931 (standard_bindir_prefix): New static, holds target location to
12933 (split_directories): New function to split a filename into
12934 component directories.
12935 (free_split_directories): New function, release memory allocated
12936 by split_directories.
12937 (make_relative_prefix): New function, make a relative pathname if
12938 the compiler is not in the expected location.
12939 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
12940 can figure out an appropriate prefix from argv[0].
12941 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
12942 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
12943 STANDARD_BINDIR_PREFIX.
12945 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12947 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
12949 * config/c4x/c4x.h: Moved prototypes to c4x.h.
12950 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
12951 c4x_secondary_memory_needed) Delete.
12952 (fp_zero_operand): Add mode argument.
12954 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
12956 * reload1.c (reload_reg_free_for_value_p): Don't use a register
12957 that is in reload_reg_used.
12959 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
12961 * config/arm/arm-protos.h: New file: Prototypes for functions
12962 defined in arm.c and pe.c.
12963 * config/arm/arm.h: Fix compile time warnings.
12964 * config/arm/arm.c: Fix compile time warnings.
12965 * config/arm/pe.h: Fix compile time warnings.
12966 * config/arm/aout.h: Fix compile time warnings.
12968 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
12970 * config/m32r/m32r-protos.h: New file: Prototypes for functions
12973 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
12974 Add support for subtargets.
12975 Add prototypes for new predicates.
12976 Add scheduling macros.
12978 * config/m32r/m32r.c: Fix compile time warnings.
12979 (int8_operand): New predicate function.
12980 (reg_or_cmp_int16_operand): New predicate function.
12981 (extend_operand): New predicate function.
12982 (m32r_adjust_code): New scheduling function.
12983 (m32r_adjust_priorty): New scheduling function.
12984 (m32r_sched_init): New scheduling function.
12985 (m32r_sched_reorder): New scheduling function.
12986 (m32r_sched_variable_issue): New scheduling function.
12987 (direct_return): New codegen function.
12988 (m32r_not_same_reg): New rtl testsing function.
12990 * config/m32r/m32r.md: Fix compile time warnings.
12991 Add support for pre decrement and post increment memory
12993 Add S<cc> patterns.
12996 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12998 * global.c (EXECUTE_IF_CONFLICT): Don't define.
12999 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13000 (find_reg): Likewise.
13002 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
13004 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13005 to avoid assembler errors.
13007 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
13009 * config/v850/v850-protos.h: New file: Prototypes for functions
13011 * config/v850/v850.h: Move prototypes to v850-protos.h
13012 * config/v850/v850.c: Move prototypes to v850-protos.h
13013 * config/v850/v850.md: Fix compile time warnings.
13015 * config/fr30/fr30-protos.h: New file: Prototypes for functions
13017 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13018 * config/fr30/fr30.c: Fix compile time warnings.
13019 * config/fr30/fr30.md: Fix compile time warnings.
13021 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
13023 * tree.h (get_containing_scope): Declare it.
13024 * tree.c (get_containing_scope): New fucntion.
13025 (decl_function_context): Use it.
13026 * toplev.c (rest_of_compilation): Use get_containing_scope.
13028 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13030 * Makefile.in (rtl.o): Depend on toplev.h.
13032 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
13034 * cse.c (delete_trivially_dead_insns): Replace alloca with
13036 * except.c (update_rethrow_references): Likewise.
13037 (init_eh_nesting_info): Likewise.
13038 * function.c (identify_blocks): Likewise.
13039 * gcse.c (dump_hash_table): Likewise.
13040 * graph.c (print_rtl_graph_with_bb): Likewise.
13041 * loop.c (combine_movables): Likewise.
13042 (move_movables): Likewise.
13043 (count_loop_regs_set): Likewise.
13044 (strength_reduce): Likewise.
13045 * profile.c (compute_branch_probabilities): New function, split
13047 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
13048 * regclass.c (regclass): Likewise.
13049 * regmove.c (regmove_optimize): Likewise.
13050 * toplev.c (compile_file): Likewise.
13051 (main): Don't mess with the stack rlimit.
13053 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
13055 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13056 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13058 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
13060 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13062 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
13064 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13065 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13068 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
13070 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13072 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
13074 * gcse.c (post_dominators): Kill.
13075 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13076 (compute_code_hoist_data): Use compute_flow_dominators. Do not
13077 pass in a pdom array since we do not need pdoms.
13078 * haifa-sched.c (schedule_insns): Similarly.
13079 * flow.c (compute_dominators): Remove dead function.
13080 (compute_flow_dominators): Do not compute doms or pdoms if the
13081 caller does not request them. Split up loop to build doms and
13082 pdoms. Use a worklist to compute doms and pdoms.
13083 * basic-block.h (compute_dominators): Remove prototype.
13085 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
13087 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13088 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13089 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13090 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13091 (cant_move, fed_by_spec_load, is_load_insn): Remove.
13092 (schedule_region): Remove unused variable.
13093 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13095 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
13097 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13098 (update_equiv_regs): Likewise.
13099 (block_alloc): Likewise.
13100 * reg-stack.c (reg_to_stack): Likewise.
13101 (convert_regs_2): Likewise.
13102 * reload1.c (reload_as_needed): Likewise.
13104 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
13106 * Makefile.in (dbxout.o): Depend on ggc.h.
13107 (dwarf2out.o): Likewise.
13108 (xcoffout.o): Likewise.
13109 * dbxout.c: Include ggc.h.
13110 (dbxout_init): Register lastfile as a root.
13111 * dwarf2out.c: Include ggc.h.
13112 (dwarf2out_line): Register lastfile as a root.
13113 * xcoffout.c: Include ggc.h.
13114 (xcoffout_source_line): Register xcoff_lastfile as a root.
13116 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
13118 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13120 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
13122 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13124 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13126 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13128 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13129 (EXECUTE_IF_CONFLICT): Likewise.
13130 (ALLOCNO_LIVE_P): Avoid signed division.
13131 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13132 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13133 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13135 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
13137 * haifa-sched.c (schedule_block): Don't crash if there's no
13138 next insn for an interblock movement.
13139 (add_branch_dependences): Don't allow clobber insns to move either.
13141 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
13143 * i386.c (split_xf): New.
13144 * i386-protos.h: Declare it.
13145 * i386.md (movxf_1): Add general regs alternatives.
13146 (movxf_1+1): New splitter for same.
13148 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
13150 * function.c (purge_addressof_1): Add missing return values.
13152 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
13154 * function.c (is_addressof): New function. Returns true if
13155 the given piece of RTL is an ADDRESSOF.
13156 (purge_addressof_1): Make boolean. Return false if the
13157 ADDRESSOFs could not be purged.
13158 (purge_addressof): If ADDRESSOFs could not be purged from the
13159 notes attached to an insn, remove the offending note(s),
13160 unless they are attached to a libcall.
13162 1999-11-05 Andreas Jaeger <aj@suse.de>
13164 * genoutput.c (null_operand =): Initialize all fields.
13166 * errors.h: Add extern to prototypes.
13168 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
13170 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13171 * configure: Rebuilt.
13173 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13175 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13176 (mirror_conflicts): New function.
13177 (global_alloc): Call it.
13178 (expand_preferences): Remove redundant CONFLICTP test.
13179 (find_reg, dump_conflicts): Likewise.
13180 (prune_preferences): Process conflicts one word at a time.
13182 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
13184 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13185 instead of an explicit loop.
13187 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
13189 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
13190 if REG_RETVAL check succeeds, then put classp in src_elt.
13192 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
13194 * function.c (pad_to_arg_alignment): Only update argument_pad
13195 if the argument's alignment is greater than STACK_BOUNDARY.
13197 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
13199 * bitmap.h (BITMAP_XFREE): New.
13200 * flow.c (life_analysis): Use it.
13201 (life_analysis_1): Free blocks.
13203 * combine.c (undo_commit): New.
13204 (try_combine): Use it. Don't zap undobuf.undos.
13205 (combine_instructions): Don't zap undobuf.undos; free the
13206 undobuf.frees list.
13208 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13210 * stmt.c (cost_table_): New.
13211 (estimate_case_costs): Use it instead of xmalloc.
13213 * toplev.c (compile_file): Reuse dumpname memory instead
13216 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
13218 * reg-stack.c (convert_regs_1): Initialize target_stack->top
13219 after verifying an EH edge.
13221 * haifa-sched.c (init_rgn_data_dependences): Correctly
13222 size bb_pending_lists_length when zeroing.
13224 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
13226 * function.c (diddle_return_value): New.
13227 (expand_function_end): Use it.
13228 * stmt.c (expand_null_return): Likewise.
13229 (expand_value_return): Likewise.
13231 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13233 * reload1.c (reload): Don't remove return value clobbers.
13235 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
13237 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13239 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
13241 * cse.c (cse_main): Use xmalloc, not alloca.
13242 (cse_basic_block): Likewise.
13243 * local-alloc.c (local_alloc): Likewise.
13245 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
13246 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13248 * rtl.c: Include toplev.h.
13249 (fatal): Remove declaration.
13251 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
13253 * haifa-sched.c (schedule_block): Fix thinko.
13255 1999-11-03 James McKelvey <mckelvey@fafnir.com>
13257 * fixinc/fixincl.c(create_file): Allow for systems that do not have
13258 S_IR* defined values
13260 1999-11-03 Philippe De Muyter <phdm@macqel.be>
13262 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13263 call `malloc' instead.
13265 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
13267 * flags.h (flag_renumber_insns): Declare.
13268 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
13270 * rtl.h (renumber_insns): Change prototype.
13271 * toplev.c (flag_renumber_insns): Define.
13272 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13274 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
13276 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13277 and fpsqrtd. Use them and create fdiv function unit to more
13278 accurately represent fpu sqrt pipeline semantics on UltraSparc.
13279 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13281 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
13283 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13285 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13286 insn into ready list, do not use just a raw swap.
13288 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
13290 * rtl.h (renumber_insns): New function.
13291 (remove_unnecessary_notes): Likewise.
13292 * emit-rtl.c (renumber_insns): Define.
13293 (remove_unncessary_notes): Likewise.
13294 * toplev.c (rest_of_compilation): Remove dead code.
13295 Use renumber_insns and remove_unncessary_notes.
13297 * gcse.c (struct null_pointer_info): New type.
13298 (get_bitmap_width): New function.
13299 (current_block): Remove.
13300 (nonnull_local): Likewise.
13301 (nonnull_killed): Likewise.
13302 (invalidate_nonnull_info): Take a null_pointer_info as input.
13303 (delete_null_pointer_checks_1): New function.
13304 (delete_null_pointer_checks): Use it.
13306 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13307 (split_edges): Likewise.
13308 (schedule_block): Likewise.
13309 (compute_block_backward_dependencies): Likewise.
13310 (schedule_region): Likewise.
13311 (schedule_insns): Likewise.
13313 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
13315 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13316 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13317 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13318 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13319 * jump.c (delete_unreferenced_labels): Don't delete if
13320 LABEL_ALTERNATE_NAME is set.
13321 * print-rtl.c (print_rtx): Dump alternate name.
13322 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13323 * rtl.h (LABEL_ALTERNATE_NAME): Define.
13324 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13325 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13327 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13329 * fix-header.c (recognized_extern, recognized_function): Constify
13332 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13333 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13334 (compute_available): Remove unused variable `last'.
13335 (compute_nearerout): Remove unused variable `temp_bitmap'.
13336 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13337 Remove unused variable `x'.
13339 * scan.h (recognized_function, recognized_extern): Constify a
13342 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13344 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13346 * varasm.c (decode_rtx_const): Use XSTR to access the string
13349 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
13351 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13353 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13355 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13357 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
13359 * pa.c (ireg_operand): New function.
13360 * pa.h (PREDICATE_CODES): Handle ireg_operand.
13361 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13362 Fix out of date comment.
13364 * pa.md (negdi2): Turn into expander + anonymous pattern.
13366 * reload.c (find_reloads): Fix typos in recent change.
13368 * dwarf2out.c: Do not include ctype.h.
13370 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13372 * regclass.c (record_reg_classes): Always use may_move_cost when
13373 seeing how operand fits with various register classes.
13375 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
13377 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13378 * toplev.c: Revert Nov 1 13:22 change.
13380 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
13382 * config/pa/pa.md (height reduction patterns): Add checks for
13383 overlapping operands to avoid semantic-destroying splits for
13384 height reduction patterns.
13386 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13388 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13389 have been an hyphen, fixed.
13390 * configure: Rebuilt.
13392 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
13394 * config/arm/tpe.h: Add prototypes for exported functions.
13395 * config/arm/pe.c: Fix compile time warnings.
13396 * config/arm/semi.h: Fix compile time warnings.
13397 * config/arm/arm.c: Fix compile time warnings.
13398 * config/arm/arm.h: Fix compile time warnings.
13399 * config/arm/arm.md: Fix compile time warnings.
13400 * config/arm/thumb.c: Fix compile time warnings.
13401 * config/arm/thumb.h: Fix compile time warnings.
13402 * config/arm/thumb.md: Fix compile time warnings.
13404 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
13406 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13409 * unroll.c (unroll_loop): Remove LOOP notes when loop is
13410 completely unrolled.
13412 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13414 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13416 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
13418 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13419 * rtl.h (rtx_equal_p): Move prototype.
13420 * rtl.c (rtx_equal_function_value_matters): Move from
13422 (rtx_equal_p): Likewise.
13423 * rtlanal.c (rtx_equal_function_value_matters): Delete.
13424 (rtx_equal_p): Likewise.
13426 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
13428 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13429 ! HAS_INIT_SECTION.
13431 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
13433 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13435 * pa.h (ADDR_VEC_ALIGN): Define.
13437 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13438 notes when presented with "if (foo) break; end_of_loop" and
13439 the break sequence gets moved out of the loop.
13441 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13442 Remove explicit zero initializations of entries within MAP.
13444 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
13446 * reg-stack.c (convert_regs_1): Handle EH edges specially.
13448 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
13450 * bitmap.h (BITMAP_XMALLOC): New macro.
13451 * flow.c (CLEAN_ALLOCA): Remove.
13452 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13453 (life_analysis): Likewise.
13454 (update_life_info): Don't use CLEAN_ALLOCA.
13455 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13456 (calculate_global_regs_live): Likewise.
13457 (print_rtl_with_bb): Likewise.
13458 (verify_flow_info): Likewise.
13459 * global.c (global_alloc): Likewise.
13460 (global_conflicts): Likewise.
13461 * integrate.c (save_for_inline_nocopy): Likewise.
13462 (expand_inline_function): Likewise.
13463 * jump.c (jump_optimize_1): Likewise.
13464 (duplicate_loop_exit_test): Likewise.
13465 (thread_jumps): Likewise.
13466 * loop.c (loop_optimize): Likewise.
13467 (combine_givs): Likewise.
13468 (recombine_givs): Likewise.
13469 * reorg.c (dbr_schedule): Likewise.
13470 * unroll.c (unroll_loop): Likewise.
13472 * combine.c (combine_instructions): Use xmalloc instead of alloca.
13474 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
13476 * toplev.c (rest_of_compilation): Don't optimize the CFG
13477 when rebuilding, just before dbr.
13479 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13481 * output.h (assemble_end_function, assemble_destructor,
13482 assemble_constructor, assemble_gc_entry, assemble_global,
13483 assemble_label, output_constant_pool) Constify a char*.
13485 * varasm.c (assemble_destructor, assemble_constructor,
13486 assemble_gc_entry, assemble_end_function, assemble_global,
13487 assemble_label, output_constant_pool): Likewise.
13489 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
13491 * config/arm/thumb.c (thumb_expand_prologue): Add comments
13492 explaining what is goin on in this function.
13494 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13496 * regclass.c (record_reg_classes): In matching case, recompute
13497 costs since the direction of movement is different.
13499 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
13501 * resource.c (mark_target_live_regs): For unconditional branches,
13502 the resources found at the branch target should be added to the
13503 resources found so far, not intersected.
13505 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
13507 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13509 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13510 (sys/mman.h): Include this file only if #HAVE_MMAP.
13511 (run_compiles): Initialize `esac_fmt' with one old KR string, not
13512 with automatically concatenated ANSI strings.
13514 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
13516 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13517 (DIV_ROUND_UP): Robustify.
13518 (ggc_recalculate_in_use_p): New function.
13519 (release_pages): Don't inline it.
13520 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13522 (ggc_pop_context): Use ggc_recalculate_in_use_p.
13523 (clear_marks): Always save in_use_p.
13524 (sweep_pages): Use ggc_recalculate_in_use_p.
13525 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13526 Release pages before counting statistics.
13528 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
13530 * toplev.c (rest_of_compilation): Fix thinko in this change:
13532 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
13534 (rest_of_compilation): If inside an inlined external function,
13535 pretend we are just being declared.
13537 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
13539 * flow.c (calculate_global_regs_live): Fix thinko.
13541 * integrate.c (expand_inline_function): Fix bugs in previous
13542 change from Oct 28, 1999.
13544 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
13546 * stmt.c (expand_value_return): Fix typo in this change:
13548 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13549 (expand_value_return): Correctly convert VAL when promoting function
13550 return; support RETURN_REG being a PARALLEL.
13552 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
13554 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13556 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13558 * hard-reg-set.h (reg_names): Constify a char*.
13560 * regclass.c (reg_names): Likewise.
13562 * regs.h (reg_names): Likewise
13564 * a29k/a29k.c (reg_names): Delete declaration.
13566 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13568 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13569 arc_output_function_epilogue): Likewise.
13571 * elxsi/elxsi.c (reg_names): Likewise.
13573 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13575 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13578 * m88k/m88k.c (output_function_profiler): Likewise.
13580 * sparc/sparc.c (sparc_flat_output_function_prologue,
13581 sparc_flat_output_function_epilogue): Likewise.
13583 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
13585 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13586 warning from -Wuninitialized and put it under -W.
13587 * function.c (uninitialized_vars_warning): Warn only when the
13588 corresponding flag is set.
13590 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
13592 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13593 is nonzero and the single set does not have an elt, then assign
13596 * simplify-rtx.c: New file.
13597 * Makefile.in (OBJS): Add simplify-rtx.o
13598 (simplify-rtx.o): Add dependencies.
13599 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13600 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13601 (cse_gen_binary, simplify_unary_operation): Delete.
13602 (simplify_binary_operation, simplify_plus_minus): Likewise.
13603 (check_fold_consts, simplify_relation_operation): Likewise.
13604 (simplify_ternary_operation): Likewise.
13605 (delete_trivially_dead_insns): Simplify the contents of the
13606 REG_EQUAL note before trying to substitute it into the source
13607 of the reg-reg copy at the end of a libcall sequence.
13609 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
13610 references/callers changed.
13612 * mn10200.c (mn10200_va_arg): Force the return value into a
13615 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13617 * cccp.c (macroexpand): Avoid out of range accesses for omitted
13620 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
13622 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13624 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
13626 * fold-const.c (fold): Fix thinko when optimizing comparisons
13629 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
13631 * gcc.texi (Passes): Update front-end files to their current
13634 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
13636 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13637 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13638 (PREDICATE_CODES): Add addition_operation.
13639 * alpha-protos.h (addition_operation): Declare.
13640 (secondary_reload_class): Likewise.
13641 * alpha.c (addition_operation): New.
13642 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13643 * alpha.md (adddi3): Turn into expander.
13644 (*lda, *adddi_2): New.
13645 (movsf, movdf patterns): Don't preference integer regs.
13646 (movsi, movdi patterns): Don't preference fp regs.
13648 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
13650 * genrecog.c (write_switch): Check for duplicate CODE cases.
13652 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
13654 * ggc-common.c: Update pre-function commentary.
13655 * ggc-page.c: Likewise.
13657 (poison_pages): Use memset directly.
13658 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
13659 (ggc_collect): Poison before sweeping.
13660 * ggc-simple.c: Update pre-function commentary.
13661 (ggc_alloc_obj): Poison non-zeroed memory.
13663 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
13665 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13666 match format string, even on 64-bit hosts.
13667 * gcc-page.c (ggc_page_print_statistics): Likewise.
13669 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
13671 * config/i386/i386.c (ix86_cpu): Revert last patch.
13672 * config/i386/i386.h (ix86_cpu): Ditto.
13674 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
13676 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13677 TYPE_SIZE, convert type of result to sizetype.
13679 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
13681 * flow.c (count_or_remove_death_notes): Equate NULL with the
13684 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13685 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13688 * i386.c (pic_label_no): Delete.
13689 (ix86_attr_length_default): Don't use single_set to peek
13692 * recog.c (peephole2_optimize): Allow recog_next_insn to index
13693 the first insn after bb->end.
13694 * i386.md (push mem peeps): Scratch is live after evaluation
13696 (cmp mem peep): Similarly.
13698 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
13700 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13701 * function.c (pad_to_arg_alignment): Add missing braces.
13703 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13705 * alpha/alpha-protos.h (literal_section): Add prototype.
13706 (alpha_need_linkage, alpha_start_function,alpha_end_function):
13709 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13711 (alpha_start_function, alpha_end_function, float_strings,
13712 alpha_need_linkage): Constify a char*
13714 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13716 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13718 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13720 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13722 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13724 * flow.c (debug_flow_info): Add prototype.
13726 * gcc.c (main): Likewise.
13728 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
13731 * reload1.c (failed_reload, set_reload_reg): Likewise.
13733 * mips-tfile.c (main): Likewise.
13734 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
13735 with ATTRIBUTE_NORETURN.
13737 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
13739 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
13740 DECL is not a memory ref.
13742 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
13744 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
13745 * config/i386/i386.c (ix86_cpu): Add extern attribute.
13747 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
13749 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
13750 * config/mips/elf64.h: ditto.
13752 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
13754 * expr.c (emit_push_insn): New argument alignment_pad.
13755 Update all callers. Adjust stack pointer based on alignment pad.
13756 * function.c (pad_to_arg_alignment): New argument alignment_pad.
13757 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
13758 (locate_and_pad_parm): New argument alignment_pad. Update all
13760 * expr.h (emit_push_insn): Update prototype.
13761 (locate_and_pad_parm): Update prototype.
13762 * calls.c (arg_data): Add new field alignment_pad.
13763 (initialize_argument_information): Initialize alignment_pad.
13765 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
13767 * except.c (free_eh_nesting_info): Free the info itself.
13768 * function.c (free_after_compilation): Don't free NULL.
13769 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
13770 (pre_edge_insert): Free inserted.
13771 * stmt.c (free_stmt_status): Don't free NULL.
13773 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
13775 * gcov.c (DIR_SEPARATOR): Provide default.
13776 (output_data): Add test for MS-DOS format absolute filename.
13777 (fancy_abort): Correct program name.
13778 (open_files): Open all files in binary mode.
13779 * libgcc2.c (__bb_exit_func): Likewise.
13781 * profile.c (init_branch_prob): Specify binary when opening files.
13783 * flags.h (flag_unwind_tables): New decl.
13784 * toplev.c (flag_unwind_table): New definition.
13785 (f_options): Add -funwind-tables.
13786 (decode_g_option): Clarify warning when unknown -g option is given.
13787 (rest_of_compilation): If inside an inlined external function,
13788 pretend we are just being declared.
13790 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
13791 (dwarf2out_frame_finish): Likewise.
13793 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
13795 * fold-const.c (merge_ranges): If not in0, but in1, handle
13796 upper bounds equal like subset case.
13798 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
13800 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
13801 passed in a register but moved to the stack.
13803 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
13805 * gcc.c (pass_exit_codes, greatest_status): New variables.
13806 (struct option_map): Add entry for "--pass-exit-codes".
13807 (execute): Update greatest_status if error.
13808 (display_help): Add documentation for -pass-exit-codes.
13809 (process_command): Handle -pass-exit-codes.
13810 (main): Look at pass_exit_codes and greatest_status on call to exit.
13812 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13814 * reload.c (find_reloads): Refine test for no input reload
13815 case to not includes reloads emitted after insn.
13817 * function.c (find_temp_slots_from_address): Handle sum involving
13818 a register that points to a temp slot.
13819 (update_temp_slot_address): Make recursive call if both old and
13820 new are PLUS with a common operand.
13821 * calls.c (expand_call): Mark temp slot for result as having
13824 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
13826 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
13827 component as well as "BINUTILS".
13829 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
13830 * integrate.c (copy_rtx_and_substitute): Likewise.
13831 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
13832 All callers changed.
13833 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
13835 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
13836 gdb extensions, write size of type; also be more consistent
13837 in using references when this is a subtype.
13839 * pa.md (extv, extzv, insv): Use define_expand to reject constant
13840 that is out of range.
13842 * loop.c (unknown_constant_address_altered): New variable.
13843 (prescan_loop): Initialize it.
13844 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
13845 (invariant_p, case MEM): Remove handling for volatile and readonly;
13846 check new variable if readonly.
13847 (check_dbra_loop): Chdeck unknown_constant_address_altered.
13849 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
13850 (addr_affects_sp_p): Removed from note_mem_written and only
13851 define #ifdef AUTO_INC_DEC.
13853 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
13855 * regclass.c (record_reg_classes): Properly handle register move
13858 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
13859 Don't think valid if both operands are invalid.
13860 (struct constant_descriptor): New field RTL.
13861 (mark_const_hash_entry): Mark it.
13862 (record_constant{,_rtx}): Initialize it.
13863 (output_constant_def): Allocate RTL in permanent obstack and
13865 ({record,compare}_constant_1): Modes must match for
13866 CONSTRUCTOR of ARRAY_TYPE.
13868 * c-common.h (initializer_constant_valid_p): Delete decl from here.
13869 * output.h (initializer_constant_valid_p): Move decl to here.
13870 * c-common.c (initializer_constant_valid_p): Delete function from here.
13871 * varasm.c (initializer_constant_valid_p): Move function to here.
13873 * tree.h (STRIP_SIGN_NOPS): New macro.
13874 * fold-const.c (optimize_minmax_comparison): New function.
13875 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
13876 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
13877 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
13878 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
13879 widening conversions.
13880 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
13881 to look at size of mode, not precision of type; also add missing cases.
13882 (optimize_bit_field_compare, decode_field_reference): Don't try to
13883 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
13885 * dwarf2out.c (ctype.h): Include.
13886 (dwarf2out_set_demangle_name_func): New function.
13887 (size_of_line_info): Deleted.
13888 (output_line_info): Compute size of line info table from difference
13890 (base_type_die, add_name_attribute): Call demangle function, if any.
13891 (field_byte_offset): Use bits per word for variable length fields.
13892 (gen_array_type_die): Add array name.
13893 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
13894 (dwarf2out_add_library_unit_info): New function.
13896 * explow.c (set_stack_check_libfunc): New function.
13897 (stack_check_libfunc): New static variable.
13898 (probe_stack_range): Allow front-end to set up a libfunc to call.
13900 * combine.c (simplify_comparison): When making comparison in wider
13901 mode, check for having commuted an AND and a SUBREG.
13902 (contains_muldiv): New function.
13903 (try_combine): Call it when dividing a PARALLEL.
13904 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
13905 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
13907 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
13908 use one of the CLOBBERs instead.
13909 (if_then_else_cond): If comparing against zero, just return thing
13912 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
13913 Don't generate shifts and subtract if have conditional arithmetic.
13915 * rtl.h (delete_barrier): New declaration.
13916 * jump.c (jump_optimize): Set up to handle conditional call.
13917 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
13918 (delete_barrier): New function.
13920 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
13922 * recog.c (nonmemory_operand): Accept ADDRESSOF.
13924 * tree.c (build_type_attribute_variant): Push to obstack of
13925 ttype around type_hash_canon call.
13927 * expr.c (placeholder_list): Move decl to file scope.
13928 (expand_expr): Don't force access to volatile just because its
13930 If ignoring reference operations, just expand the operands.
13931 (expand_expr, case COMPONENT_REF): Propagate
13932 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
13933 Refine test for using bitfield operations vs pointer punning.
13934 (expand_expr, case CONVERT_EXPR): If converting to
13935 BLKmode UNION_TYPE from BLKmode, just return inner object.
13936 Use proper mode in store_field call.
13937 Properly set sizes of object to store and total size in store_field
13938 call for convert to union.
13939 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
13940 memory (like for ADDR_EXPR). Also, don't put constant in register if
13941 we'll want it in memory.
13942 (readonly_fields_p): New function.
13943 (expand_expr, case INDIRECT_REF): Call it if LHS.
13944 (expand_assignment): Handle a RESULT_DECL where
13945 DECL_RTL is a PARALLEL.
13946 (do_jump, case WITH_RECORD_EXPR): New case.
13947 (get_inner_reference): Always go inside a CONVERT_EXPR
13948 and NOP_EXPR if both modes are the same.
13949 (store_field): Use bitfield operations if size of bitsize is not same
13950 as size of RHS's type.
13951 Check for bitpos not a multiple of alignment in BLKmode case.
13952 Do block move in largest possible alignment.
13953 (store_constructor): Set BITSIZE to -1 for variable size and properly
13954 in case of array of BLKmode.
13955 (expand_expr_unaligned): New function.
13956 (do_compare_and_jump): Call it.
13958 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
13959 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
13960 does not include 'o'.
13962 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
13963 both SET_DEST and SET_SRC reference a virtual register.
13964 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
13966 * integrate.c (expand_inline_function): Handle case of setting
13967 virtual stack vars register (from built in setjmp); when parameter
13968 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
13969 (subst_constant): Add new parm, MEMONLY.
13970 (expand_inline_function, integrate_parm_decls): Pass new parm.
13971 (integrate_decl_tree): Likewise.
13972 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
13973 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
13974 (copy_rtx_and_substitute, case SET): Add explicit calls to
13975 copy_rtx_and_substitute for both sides.
13977 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
13979 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
13980 within INDEX_TYPE, instead of before.
13981 (fixup_gotos): Use f->target_rtl, not the next insn,
13982 since latter may be from a later fixup.
13983 (expand_value_return): Correctly convert VAL when promoting function
13984 return; support RETURN_REG being a PARALLEL.
13985 (expand_return): When checking for result in regs and having
13986 cleanup, consider PARALLEL in DECL_RTL as being in regs.
13988 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
13990 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
13991 last_nominal_fname): Mark const.
13992 (struct include_hash: name, nshort, control_macro): Mark
13994 (struct macrodef: symnam): Mark const.
13995 (struct if_stack: fname): Mark const.
13996 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
13997 (IStable): New character-syntax array which encompasses all
13998 the old is_foo arrays.
13999 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14000 is_space): New macros for interrogating IStable.
14001 (check_macro_name): Kill last argument. All callers changed.
14003 * cppinit.c (initialize_char_syntax): Delete.
14004 (is_idchar, is_idstart, is_hor_space, is_space,
14005 trigraph_table): Delete.
14006 (IStable): New. Initialize with clever macros to avoid
14007 information duplication.
14008 (builtin_array): Table of builtins to get rid of explicit list
14009 in initialize_builtins.
14010 (initialize_builtins): Use builtins_array.
14011 (cpp_start_read): Call init_IStable, and set IStable['$'] if
14012 opts->dollars_in_ident.
14014 * cppexp.c: Change all refs to is_xyz[] arrays to use new
14016 (cpp_parse_expr): Avoid 'format string is not constant'
14017 warning. Use ISGRAPH to identify printable chars.
14018 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14020 (read_and_prescan): Map trigraphs to chars with open-coded
14021 if-else-if-... sequence, not a lookup table.
14022 * cpphash.c: Change all refs to is_xyz[] arrays to use new
14024 * cpplib.c: Change all refs to is_xyz[] arrays to use new
14025 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
14026 (check_macro_name): Remove ability to report an invalid
14027 assertion name, which is never used.
14028 (do_line): Constify a couple of char *'s.
14029 * cppmain.c (main): Call cpp_cleanup before returning.
14031 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
14033 * ggc.h (struct ggc_statistics): New type.
14034 (ggc_get_size): New function.
14035 (ggc_print_statistics): Likewise.
14036 * ggc-common.c (ggc_stats): New variable.
14037 (ggc_mark_rtx_children): Keep statistics.
14038 (ggc_mark_tree_children): Likewise.
14039 (ggc_print_statistics): New function.
14040 * ggc-page.c (struct globals): Add bytes_mapped field.
14041 (alloc_anon): Update it.
14042 (release_pages): Likewise.
14043 (ggc_get_size): New function.
14044 (ggc_page_print_statistics): New function.
14045 * ggc-simple.c (ggc_get_size): New function.
14047 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
14049 * flow.c (propagate_block): When the last reference to a label
14050 before an ADDR_VEC is deleted because the reference is a dead
14051 store, delete the ADDR_VEC.
14053 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
14055 * resource.c (find_free_register): Don't use the frame pointer
14056 if frame_pointer_needed.
14058 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
14060 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14061 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14063 * config/i960/i960.c (i960_va_start): New locals base, num.
14064 Use INDIRECT_REF instead of ARRAY_REF on valist.
14065 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14067 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
14069 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14071 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
14073 * tree.def (PLACEHOLDER_EXPR): Update comments.
14075 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14077 * c-common.c (check_format_info): Avoid non-literal format string
14078 warnings when `first_arg_num' is zero.
14080 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14082 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14084 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
14086 * arm.md (casesi_insn): Add a clobber of the condition code
14089 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
14091 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14092 used by both cc1 and cc1plus.
14094 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
14096 * config/arm/arm.c: Initialise arm_structure_size_boundary to
14097 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14098 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14099 to the value 32 if it has not already been defined.
14100 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14101 Override definition in arm.h with a value of 8.
14103 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
14105 * c-pragma.c (push_alignment): Don't check the return value
14108 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
14110 * sparc.h (ADJUST_COST): Fix thinko.
14112 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
14114 * cccp.c (rescan): Fixed obp pointer handling around call to
14115 check_expand subroutine.
14117 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
14119 * gcse.c (delete_null_pointer_checks): Only record non-null info
14120 for pseudos when examining stores.
14122 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14123 splitters for these patterns. Use "#" for output templates.
14124 (addsi3_carryin_shift): New pattern.
14126 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
14128 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14129 of the function return register into a plain REG until
14130 after function inlining is done.
14132 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
14134 * jump.c (jump_optimize_1): If we did cross-jumping, and
14135 the data will matter, rebuild the CFG.
14136 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14137 not optimizing. Don't run shorten_branches.
14138 * toplev.c (rest_of_compilation): Run shorten_branches after
14141 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
14143 * rtl.h (note_stores): Add additional paramter.
14144 * rtlanal.c (reg_set_p_1): Take additional paramter.
14145 (reg_set_last_1): Likewise.
14146 (reg_set_p): Adjust call to note_stores.
14147 (reg_set_last): Likewise.
14148 (note_stores): Pass data parameter to worker function.
14149 * alias.c (record_set): Take additional parameter.
14150 (init_alias_analysis): Pass it.
14151 * caller-save.c (mark_set_regs): Take additional parameter.
14152 (save_call_clobbered_regs): Pass NULL to note_stores.
14153 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14155 (record_dead_and_set_regs_1): Likewise.
14156 (reg_dead_at_p_1): Likewise.
14157 (combine_instructions): Adjust calls to note_stores.
14158 (try_combine): Likewise.
14159 (record_dead_insn): Remove.
14160 (record_dead_and_set_regs): Adjust calls to note_stores.
14161 (reg_dead_at_p): Likewise.
14162 * cse.c (invalidate_skipped_set): Take additional parameter.
14163 (cse_check_loop_start): Likewise.
14164 (cse_check_loop_start_value): Remove.
14165 (cse_set_around_loop): Adjust calls to note_stores.
14166 * flow.c (notice_stack_pointer_modification): Take additional
14167 parameter. Remove duplicate declaration.
14168 (record_volatile_insns): Adjust calls to note_stores.
14169 * gcse.c (record_set_info): Take additional parameter.
14170 (record_last_set_info): Likewise.
14171 (invalidate_nonnull_info): Likewise.
14172 (record_set_insn): Remove.
14173 (compute_sets): Adjust calls to note_stores.
14174 (last_set_insn): Remove.
14175 (compute_hash_table): Adjust calls to note_stores.
14176 (insert_insn_end_bb): Likewise.
14177 (delete_null_pointer_checks): Likewise.
14178 * global.c (mark_reg_store): Take additional parameter.
14179 (mark_reg_clobber): Likewise.
14180 (reg_becomes_live): Likewise.
14181 (global_conflicts): Adjust calls to note_stores.
14182 (build_insn_chain): Likewise.
14183 * integrate.c (note_modified_parmregs): Take additional parameter.
14184 (mark_stores): Likewise. Make it static.
14185 (save_for_inline_nocopy): Adjust calls to note_stores.
14186 (try_constants): Likewise.
14187 * integrate.h (mark_stores): Remove declaration.
14188 * jump.c (mark_modified_reg): Take additional parameter.
14189 (thread_jumps): Adjust calls to note_stores.
14190 * local-alloc.c (validate_equiv_mem_from_store): Take additional
14192 (no_equiv): Likewise.
14193 (reg_is_set): Likewise.
14194 (validate_equiv_mem): Adjust calls to note_stores.
14195 (update_equiv_regs): Likewise.
14196 (block_alloc): Likewise.
14197 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14198 (note_addr_stored): Take additional parameter.
14199 (note_set_pseudo_multiple_uses): Likewise.
14200 (record_initial): Likewise.
14201 (prescan_loop): Adjust calls to note_stores.
14202 (strength_reduce): Likewise.
14203 (check_dbra_loop): Likewise.
14204 * regmove.c (flags_set_1): Take additional paramter.
14205 (mark_flags_life_zones): Adjust calls to note_stores.
14206 * reload1.c (mark_not_eliminable): Take additional parameter.
14207 (forget_old_reloads_1): Likewise.
14208 (reload_cse_invalidate_rtx): Likewise.
14209 (reload_cse_check_clobber): Likewise.
14210 (reload_combine_note_store): Likewise.
14211 (move2add_note_store): Likewise.
14212 (reload): Adjust calls to note_stores.
14213 (reload_as_needed): Likewise.
14214 (emit_reload_insns): Likewise.
14215 (reload_cse_regs_1): Likewise.
14216 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14217 (reload_combine): Adjust calls to note_stores.
14218 * resource.c (update_live_status): Take additional paramter.
14219 (mark_target_live_regs): Adjust calls to note_stores.
14220 * stupid.c (find_clobbered_regs): Take additional parameter.
14221 (stupid_life_analysis): Adjust calls to note_stores.
14223 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
14225 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14228 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14231 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14232 of the variable arm_structure_size_boundary.
14234 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
14236 * alias.c (init_alias_analysis): Allocate reg_known_value and
14237 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
14239 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14240 * cse.c (cse_main): Call end_alias_analysis.
14241 * haifa-sched.c (schedule_insns): Likewise.
14242 * local-alloc. (update_equiv_regs): Likewise.
14243 * reload1.c (reload_cse_regs): Likewise.
14245 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14247 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14248 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14249 mapping from MASK_FPU.
14251 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
14253 * sparc.md (call): Don't bound structure return size to 0xfff.
14255 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
14257 * resource.c (mark_target_live_regs): Check that the target
14258 insn wasn't created after compute_bb_for_insn.
14260 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
14262 * ggc-page.c (poison_pages): Don't be overzealous.
14264 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
14266 * alias.c: Update comments for ADDRESS.
14267 (nonlocal_reference_p): Look inside the ADDRESS to determine if
14268 it is a local memory reference.
14270 * c-typeck.c (build_function_call): Check that the built-in
14271 function is of class BUILT_IN_NORMAL before trying to recongize
14272 it as BUILT_IN_ABS.
14273 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14274 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14276 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
14278 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14280 (pre_gcse): Likewise.
14281 (hoist_expr_reaches_here_p): Likewise.
14282 (hoist_code): Likewise.
14283 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
14285 (pre_expr_reaches_here_p_work): ... here.
14286 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
14288 (expr_reaches_here_p_work): ... here.
14290 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
14292 * resource.c (find_basic_block): Delete.
14293 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14294 (init_resource_info): Call compute_bb_for_insn.
14296 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
14298 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14299 with already adjacent blocks, but no fallthru.
14300 (merge_blocks_move_successor_nojumps): Simplify.
14301 (debug_flow_info): New.
14303 * toplev.c (rest_of_compilation): Open jump1 dump file before
14304 jump and close after, as opposed to just using dump_rtl.
14306 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14308 * reload.h (earlyclobber_operand_p): Declare.
14309 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
14310 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
14311 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14312 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
14314 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
14315 Richard Henderson <rth@cygnus.com>
14317 * emit-rtl.c (emit_block_insn_before): New.
14318 (emit_block_insn_after): New.
14319 * basic-block.h: Declare them.
14321 * bitmap.h: Protect from multiple inclusion.
14323 * recog.c (scratch_operand): Handle VOIDmode correctly.
14325 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14327 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14328 * function.c (assign_parms): Likewise.
14329 * global.c (global_conflicts): Clarify STACK_REGS commentary.
14331 * reg-stack.c (max_uid): Remove.
14332 (blocks, block_begin, block_end, block_drops_in): Remove.
14333 (block_stack_in, block_out_reg_set, block_number): Remove.
14334 (struct block_info_def, BLOCK_INFO): New.
14335 (enum emit_where): New.
14336 (current_block): New.
14337 (BLOCK_NUM): Remove.
14338 (mark_regs_pat, record_label_references): Remove.
14339 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14341 (goto_block_pat, print_blocks, dump_stack_info): Remove.
14342 (reg_to_stack): Simplified test for existance of fp code. Use
14343 flow.c code. Call shorten_branches after cross-jump opt.
14344 (check_asm_stack_operands): Renamed from record_asm_reg_life.
14345 Return false if the asm doesn't use stack regs. Don't do life
14346 analysis on the asm.
14347 (emit_pop_insn): Replace function pointer arg `when' with
14348 enum `where'. Update all callers.
14349 (change_stack): Likewise. Update basic block end.
14350 (emit_swap_insn): Use current_block->head to limit reverse search
14351 for start of block. Use emit_block_insn_after.
14352 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14353 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
14354 structure assignment instead of bcopy.
14355 (print_stack): New.
14356 (convert_regs_entry, convert_regs_exit): New.
14357 (convert_regs_1, convert_regs_2): Split out from convert_regs.
14358 Work on basic blocks and the CFG.
14359 (convert_regs): Use them.
14361 * i386.c (output_fix_trunc): Remove code for DImode input operand
14362 not at top-of-stack.
14363 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14365 (fix_truncdi_1): Allow any mode scratch.
14367 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
14369 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14370 * linux.h, netbsd.h, vms.h: Not here.
14372 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
14374 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14375 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14376 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14377 CONDITIONAL_REGISTER_USEAGE): Use them.
14378 * config/mips/mips.c (mips_move_1word,mips_move_2words,
14379 gen_conditional_branch,override_options) : Use them.
14380 * config/mips/mips.md : Use them.
14382 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
14384 * i386.md (zero_extendqihi2): Use SImode register name with andl.
14386 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
14388 * integrate.c (function_cannot_inline_p): Don't allow inlining
14391 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14393 * c-parse.in (cast_expr): Constify.
14395 * cccp.c (special_symbol): Likewise.
14397 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14399 * dwarf2out.c (base_type_die): Likewise.
14401 * global.c (allocno_compare): Likewise.
14403 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14405 * regclass.c (fix_register): Likewise.
14407 * rtl.h (fix_register): Likewise.
14409 * stupid.c (stupid_reg_compare): Likewise.
14411 * toplev.c (decode_f_option): Likewise.
14413 * tree.c (build_complex_type): Likewise.
14415 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
14417 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14419 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14421 * reload.c (find_reloads): Compute mode and nregs fields of all
14423 * reload1.c (calculate_needs_all_insns): Simplify a bit.
14424 (calculate_needs): Use precomputed mode/nregs values.
14425 (allocate_reload_reg): Likewise.
14427 (failed_reload, set_reload_reg): ... new functions.
14428 (choose_reload_regs_init): New function, mostly broken out from...
14429 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
14430 Also lose one #if 0 block.
14432 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
14434 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
14437 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
14439 * tree.h (BLOCK_TYPE_TAGS): Remove.
14440 (BLOCK_END_NOTE): Likewise.
14441 (BLOCK_LIVE_RANGE_FLAG): Likewise.
14442 (BLOCK_LIVE_RANGE_START): Likewise.
14443 (BLOCK_LIVE_RANGE_END): Likewise.
14444 (tree_block): Remove live_range_flag, live_range_var_flag, and
14445 type_tags. Remove end_note, live_range_start, and live_range_end.
14446 (remember_end_note): Remove prototype.
14447 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14448 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14450 * ggc-common.c (ggc_mark_tree_children): Don't mark
14451 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14452 * integrate.c (adjust_copied_decl_tree): Remove.
14453 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14454 * stmt.c (last_block_end_note): Remove.
14455 (init_stmt): Don't add a GC root for it.
14456 (expand_fixup): Don't set it.
14457 (remember_end_note): Remove.
14458 (expand_end_bindings): Don't set last_block_end_note.
14460 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14462 * reload1.c (reload_reg_free_for_value_p): Show
14463 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14466 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
14468 * expmed.c (extract_bit_field): Allow for the case of non-integer
14469 objects that are smaller than a word (like SFmode on a 64-bit
14472 * loop.c (basic_induction_var): A non-integer variable which is
14473 being set by a paradoxical subreg is probably not a biv.
14475 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14477 * prefix.c (translate_name) Check for empty prefix string.
14479 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
14481 * Makefile.in (CPP_CROSS_NAME): New variable.
14482 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14484 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14485 names of the files to be uninstalled.
14487 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
14489 * collect2.c (IS_DIR_SEPARATOR): Define.
14490 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14492 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14495 * haifa-sched.c (add_dependence): Update the true dependency
14496 cache the first time we add a true dependence to the LOG_LINKS chain.
14498 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
14500 * fold-const.c (fold): Fix comment.
14502 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14504 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14505 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14506 dbxout_start_new_source_file, dbxout_source_file,
14507 dbxout_source_line, dbxout_finish, dbxout_type_fields,
14508 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14510 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14511 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14512 (dbxout_block): Initialize variable `blocknum'.
14514 * dbxout.h (dbxout_init, dbxout_finish,
14515 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14516 dbxout_args, dbxout_source_line): Constify a char*.
14518 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14519 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14520 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14521 low_pc_attribute, high_pc_attribute, body_begin_attribute,
14522 body_end_attribute, comp_dir_attribute, sf_names_attribute,
14523 src_info_attribute, mac_info_attribute, producer_attribute,
14524 lookup_filename, generate_macinfo_entry, fundamental_type_code,
14525 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14526 dwarfout_undef): Constify a char*.
14527 (add_incomplete_type, retry_incomplete_types): Add prototypes.
14529 * dwarfout.h (dwarfout_define, dwarfout_undef,
14530 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14532 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
14534 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14535 (MULTILIB_ISA_DEFAULT): New.
14536 (MULTILIB_DEFAULTS): Use it.
14537 * config/mips/mips.c (): Remove the now unnecessary definition
14538 of MIPS_ISA_DEFAULT.
14539 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14540 unnecessary definition.
14542 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
14544 * arm.md (pic_load_addr): Add constraints to operand 1.
14546 1999-10-25 Bruce Korb <autogen@linuxbox.com>
14548 * fixinc/genfixes: Provide a means for specifying -D options to
14551 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
14553 * arm.c (arm_override_options): Correct initialization of
14554 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14555 arm_is_strong, and arm_is_6_or_7.
14557 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14558 (note_set_pseudo_multiple_uses): New function.
14559 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14560 if a pseudo set in the loop exit is used elsewhere.
14562 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
14564 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14566 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
14568 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14569 a single load-address pattern.
14571 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
14573 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14574 depending on whether or not line-number notes are present.
14576 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14578 * cccp.c (progname, file_buf, default_include, include_file,
14579 macrodef, definition, hashval, wchar_type, user_label_prefix,
14580 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14581 expand_to_temp_buffer, is_system_include, base_name,
14582 absolute_filename, read_name_map, open_include_file,
14583 record_control_macro, check_precompiled, check_preconditions,
14584 pcfinclude, pass_thru_directive, create_definition,
14585 check_macro_name, comp_def_part, collect_expansion,
14586 check_assertion, read_token_list, assertion_install,
14587 assertion_lookup, eval_if_expression, conditional_skip,
14588 validate_else, skip_quoted_string, quote_string, macarg1,
14589 error_from_errno, install, lookup, hashf, dump_defn_1,
14590 perror_with_name, pfatal_with_name, main, trigraph_pcp,
14591 check_white_space, rescan, handle_directive, monthnames,
14592 special_symbol, do_include, remap_include_file, write_output,
14593 arglist, do_assert, do_unassert, do_line, do_error, do_once,
14594 do_ident, do_sccs, do_xifdef, skip_if_group,
14595 output_line_directive, macroexpand, macarg, change_newlines,
14596 initialize_builtins, make_definition): Constify a char*.
14598 * pcp.h (stringdef): Likewise.
14600 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
14602 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14605 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
14606 Richard Henderson <rth@cygnus.com>
14608 * alias.c: Include ggc.h.
14609 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14610 (record_set): Verify enough room in reg_base_value.
14611 (init_alias_analysis): Allocate reg_base_value with xcalloc.
14612 Register it as a GC root.
14613 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
14614 * Makefile.in (alias.o): Depend on ggc.h.
14616 * unroll.c (unroll_loop): Verify the insn before a barrier
14617 is a JUMP_INSN before checking JUMP_LABEL.
14619 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14621 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14622 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14623 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14624 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14625 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14626 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14628 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14630 * output.h (ctors_section, dtors_section, bss_section): Prototype.
14632 * alpha/alpha-interix.h (text_section): Delete prototype.
14633 * alpha/elf.h (text_section): Likewise.
14634 * arm/linux-elf.h (text_section): Likewise.
14635 * arm/linux-telf.h (text_section): Likewise.
14636 * c4x/c4x.h (text_section): Likewise.
14637 * dsp16xx/dsp16xx.h (bss_section): Likewise.
14638 * elfos.h (text_section): Likewise.
14639 * i386/aix386ng.h (text_section): Likewise.
14640 * i386/i386-interix.h (text_section): Likewise.
14641 * i386/sco5.h (text_section): Likewise.
14642 * i386/svr3gas.h (text_section): Likewise.
14643 * nextstep.h (text_section): Likewise.
14644 * psos.h (text_section): Likewise.
14645 * ptx4.h (text_section): Likewise.
14646 * svr3.h (text_section): Likewise.
14647 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14649 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14651 * final.c (peephole): Delete prototype.
14653 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14654 (pre_insert_copies): Remove unused variable `bb'.
14656 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14659 * output.h (peephole): Add prototype.
14661 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
14663 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14666 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
14668 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14669 for inlined declarations.
14671 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
14673 * arm.c (logical_binary_operator): New fucntion.
14674 * arm.h (logical_binary_operator): Declare it.
14675 (PREDICATE_CODES): Handle logical_binary_operator.
14676 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14677 output constraints. Add appropriate splitters.
14678 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14679 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14680 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14682 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14684 * genoutput.c (struct operand_data): New elt eliminable.
14685 (output_operand_data): Write it.
14686 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14687 (compare_operands): Take it into account.
14688 * recog.h (struct insn_operand_data): New elt eliminable.
14689 * reload1.c (check_eliminable_occurrences, elimination_effects): New
14691 (old_asm_operands_vec, new_asm_operands_vec): Delete.
14692 (eliminate_regs): Move code that detects changes to elimination
14693 target regs into new function elimination_effects.
14694 Delete one #if 0 block.
14695 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14696 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14697 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14698 Only call eliminate_regs for real operands of the insn, not for parts
14699 of its structure or parts matched by things like match_operator.
14700 Use elimination_effects and check_eliminable_occurrences. Use
14701 copy_insn to duplicate the pattern when not in the final pass.
14703 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
14705 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14708 1999-10-22 Bruce Korb <autogen@linuxbox.com>
14710 * fixinc/README: document the "mach" machine matching test
14711 * fixinc/fixfixes.c: Implement the #else/#endif label fix
14712 * fixinc/fixtests.c: Implement the #else/#endif label test
14713 * fixinc/inclhack.def: utilize these tests and fixes
14714 * fixinc/inclhack.sh: regen
14715 * fixinc/fixincl.x: regen
14716 * fixinc/fixincl.sh: regen
14718 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
14720 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
14723 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
14725 * gcc.1: Document exit codes.
14727 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14729 * calls.c: Include tm_p.h later, so everything we need is defined.
14730 * expr.c: Likewise.
14731 * function.c: Likewise.
14733 * except.c: Include tm_p.h.
14735 * sparc.c: Likewise.
14736 (dwarf2out_cfi_label): Don't prototype.
14737 (check_return_regs, epilogue_renumber,
14738 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
14739 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
14740 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
14741 ultra_schedule_insn): Add static prototype.
14742 (data_segment_operand, text_segment_operand): Call itself with the
14743 proper number of arguments.
14744 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
14746 * sparc.h: Move all declarations to sparc-protos.h.
14747 (SELECT_RTX_SECTION): Pass a missing MODE argument to
14750 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
14752 * config/svr4.h (text_section, ctors_section, dtors_section): Add
14754 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
14755 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
14756 ASM_OUTPUT_ASCII): Constify a char*.
14758 * sparc-protos.h: New file for sparc prototypes.
14760 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14762 * function.c (record_insns, contains): Always declare and define.
14763 (record_insns): Mark with ATTRIBUTE_UNUSED.
14765 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
14767 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
14768 to .section when outputting a .bss section to deal with multiple
14769 .bss input sections (as happens with -fdata-sections)
14770 Also output %progbits, not @progbits so the assembler doesn't treat as
14772 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
14774 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
14775 thumb parts even when building with non-thumb CPUs, by forcing
14778 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
14780 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
14781 (movdf_const_intreg_sp64): Similarly.
14783 * local-alloc.c (update_equiv_regs): Check the correct insn
14784 for pre-existing REG_EQUIV notes.
14786 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
14788 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
14789 block reached by a branch if we're not going to actually process
14792 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
14794 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
14795 a local extern function declaration.
14797 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
14799 * i386.c (ix86_expand_prologue): Properly wrap USE around
14800 reg for CALL_INSN_FUNCTION_USAGE.
14802 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
14804 * config/mips/mips.md (movdf_internal1a): Allow floating-point
14805 move between GP_REGs.
14807 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
14809 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
14810 the mode size when finding out if an offset is legal.
14812 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
14814 * basic-block.h (PROP_*): Move constants from ...
14815 * flow.c: ... here.
14816 (compute_bb_for_insn): Free the array before reallocating.
14817 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
14818 (allocate_reg_life_data): Reset all reg variables collected by
14820 (get_block_head_tail): Don't convert from bb to block.
14821 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
14822 (find_insn_reg_weight): Take block not bb.
14823 (schedule_block): Don't set block num for moved insns.
14824 (schedule_region): Don't update_life_info or find_insn_reg_weight.
14825 (schedule_insns): Do it here instead.
14826 * combine.c (combine_instructions): Invoke compute_bb_for_insn
14827 before update_life_info.
14828 * recog.c (split_all_insns, peephole2_optimize): Update for
14829 new arg to update_life_info.
14830 * rtlanal.c (remove_note): Cope with NULL note.
14831 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
14834 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
14836 * jump.c (jump_optimize_1): More accurately detect casesi insns.
14838 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
14839 block records so that merge_blocks_nomove will clean up correctly.
14840 (split_edge): Handle casesi insns.
14842 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
14844 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
14846 * pa.md (call, call_value): Do not emit a blockage after restoring
14849 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
14851 * c-typeck.c (c_expand_asm_operands): Fix typo.
14853 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14855 * arm.c (fpu_rhs_operand): Verify modes.
14856 (fpu_add_operand): Likewise.
14857 (di_operand): Likewise.
14858 (soft_df_operand): Likewise.
14860 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
14862 * arm.c (arm_return_in_memory): APCS rules state that the elements
14863 of a structure returned in a register must be 'integer-like'.
14865 1999-10-19 Bruce Korb <autogen@linuxbox.com>
14867 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
14868 in the source tree when the generated targets are out of date
14869 * fixinc/genfixes: Alter it to run individual fixes for make.
14870 * fixinc/README: rewrite
14871 * fixinc/inclhack.def: moved initial comments to README
14873 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
14875 * toplev.c (main): Do not generate an error message if an
14876 unrecognised command line switch is recognisable by another
14877 language. If extra_warnings are enabled, then generate a
14878 warning message instead.
14880 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
14882 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
14883 (insert_pack_attributes): Delete prototype.
14885 * c-pragma.c (default_alignment): New static variable.
14886 (push_alignment): Initialize to current effective alignment.
14887 (pop_alignment): Use to set new alignment.
14888 (insert_pack_attributes): Delete function.
14889 (handle_pragma_token): Set default_alignment as well each time
14890 a #pragma pack(<n>) is encountered.
14892 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
14894 * reg-stack.c (stack_result): Aggregates are not returned in
14897 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
14899 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
14901 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
14903 * basic-block.h (set_block_num): Declare.
14904 * flow.c (update_life_info): Don't call compute_bb_for_insn
14905 or free_basic_block_vars.
14906 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
14907 (insn_orig_block): Remove.
14908 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
14909 (schedule_block): Keep BLOCK_NUM up-to-date.
14910 (schedule_insns): Use compute_bb_for_insn.
14911 * recog.c (split_all_insns): Likewise.
14912 (peephole2_optimize): Likewise.
14914 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
14916 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
14917 if the pic register is used.
14919 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14921 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
14922 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
14923 if that tests TREE_PERMANENT.
14925 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
14927 * cse.c (invalidate_for_call): Do not remove memory references from
14928 the table here. It's handled elsewhere.
14930 * haifa-sched.c (add_dependence): Protect references to the
14931 true dependency cache with #ifdef INSN_SCHEDULING.
14932 (remove_dependence): Similarly.
14934 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
14935 to the cfg code that this is a return instruction.
14936 * mn10300.md (return_internal): Similarly.
14938 * combine.c (get_last_value): If the last set of a register
14939 is after subst_low_cuid, then we can not use it to determine
14940 the register's last value.
14942 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
14944 * Makefile.in: Back out previous change.
14946 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
14948 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
14950 * haifa-sched.c (add_dependence): Only check/update the cache
14952 (remove_dependence): Likewise.
14953 (schedule_insns): Only create the true_dependency_cache if the
14954 average number of instructions in a basic block is very large.
14956 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
14958 * Makefile.in (ggc-common.o): Depend on genrtl.h.
14959 (ggc-simple.o): Likewise.
14960 (ggc-page.o): Likewise.
14962 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
14964 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
14965 Prototype for exported functions.
14966 (pre_lcm, pre_rev_lcm): Remove prototypes.
14967 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
14968 (compute_available): Move to lcm.c, and change parameter order.
14969 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
14970 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
14971 (gcse_main): No longer call compute_preds_succs. Rebuild the
14972 set table after reach pre pass.
14973 (pre_insert_map, pre_delete_map, edge_list): New.
14974 (alloc_pre_mem): Allocate edge vectors.
14975 (free_pre_mem): Delete edge vectors.
14976 (compute_pre_data): Call new edge based lcm routines.
14977 (process_insert_insn): New function.
14978 (insert_insn_end_bb): Use it.
14979 (pre_edge_insert): New function.
14980 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
14982 (pre_insert_copies): Revamp using new edge based lcm outputs.
14983 (pre_delete): Likewise.
14984 (one_pre_gcse_pass): Insert & remove fake edges to the exit
14986 (compute_code_hoist_vbeinout): New new edge based routines.
14987 * lcm.c: Remove all the old LCM functions. Replace with new ones
14988 that work with the new cfg datastructures and work with edges
14991 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14993 * reload.h (struct reload): Add new fields "mode" and "nregs".
14994 * reload1.c: Change all occurrences of reload_mode and reload_nregs
14995 to reference the "mode" and "nregs" field within struct reload.
14997 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
14999 * haifa-sched.c (true_dependency_cache): New.
15000 (add_dependence): Use the true dependency cache to avoid expensive
15001 walks down the LOG_LINKS dependency list. Add entries to the
15002 cache as necessary.
15003 (remove_dependence): Remove entries from the true dependency cache
15005 (schedule_insns): Allocate and initialize and free the true
15008 * haifa-sched.c (schedule_insns): Do not remove inter-block
15009 dependencies anymore.
15011 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
15013 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15014 * i386/t-winnt: Likewise.
15016 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
15018 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15020 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
15022 * Makefile.in (LANGUAGES): Omit "proto".
15023 (clean): Remove stale comment about removing unprotoize.c.
15025 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15027 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15028 using arithmetic on void pointers.
15030 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
15032 * haifa-sched.c (compute_block_forward_dependencies): Only check
15033 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15035 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
15037 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15038 (expr_equiv_p): Reject memories with different alias sets.
15040 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
15042 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15043 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15044 (f_options): Add "bounded-pointers" and "bounds-check" entries.
15045 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15046 (lang_init): Set default for flag_bounds_check if still "unspecified".
15048 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15050 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
15052 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15054 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15057 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15059 * config/c4x/c4x.md (*db_noclobber,
15060 *decrement_and_branch_until_zero_noclobber): New patterns and
15061 associated splitters.
15063 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15065 * config/c4x/c4x.md (parallel instruction patterns): Rework
15066 constraints to keep reload happy.
15068 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15070 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15071 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15072 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15073 Add new patterns and associated post-reload splitters.
15075 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15077 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15079 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15081 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15083 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15085 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15087 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
15090 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
15092 * pa.c (move_operand): Rely on memory_address_p to determine the
15093 validity of non-indexed memory addresses.
15094 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15095 operand in DFmode and SFmode when generating PA2.0 code.
15097 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
15099 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15101 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
15103 * mips.c (function_prologue): Fix argument types.
15104 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15105 (casesi_internal): Write to the scratch register.
15107 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
15109 * cppexp.c (cpp_parse_escape): Make static. Change second arg
15111 (parse_charconst): Delete unnecessary cast when calling
15113 (cpplib.h): Kill prototype of cpp_parse_escape.
15115 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
15117 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15118 * unroll.c (unroll_loop): Cast return value of alloca.
15119 * i370/i370.c: Include function.h and toplev.h.
15120 (i370_label_scan): Remove c++ commented abort.
15121 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15122 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15123 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15124 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15126 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
15128 * config/t-freebsd: Do not override USER_H.
15129 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15131 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15132 Mumit Khan <khan@xraylith.wisc.edu>
15134 * c-parse.in (component_decl): Support anonymous struct/union.
15136 * c-parse.y: Regenerate.
15137 * c-parse.c: Likewise.
15138 * objc/objc-parse.y: Likewise.
15139 * objc/objc-parse.c: Likewise.
15140 * c-decl.c (finish_struct): Don't sort the fields.
15141 (field_decl_cmp): Delete unused function.
15143 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
15145 * sparc.md (movsf_const_intreg): Revert last constraint change.
15146 (movdf_const_intreg_sp32): Likewise.
15148 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
15150 * cse.c: Include hashtab.h instead of splay-tree.h
15151 (struct cse_reg_info): No longer use variant union. Add new
15152 field "regno". All references changed to avoid union.
15153 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15154 (free_cse_reg_info): Remove.
15155 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15156 (get_cse_reg_info): Revamp to use expandable hash tables instead
15157 of splay trees. Initialize new fields in cse_reg_info structure.
15158 (new_basic_block): Similarly.
15160 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
15162 * genrecog.c (message_with_line): Prototype.
15163 (validate_pattern): Pass along the set for the dest, not a flag.
15164 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
15165 Check for PC/CC0 as sources.
15166 (nodes_identical): Check for children position match before
15167 allowing the combination.
15169 * rtl.c (read_rtx): Track line number across \\\n.
15171 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
15173 * mips.h (SPECIAL_MODE_PREDICATES): New.
15174 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15175 (movdi+1, movsi+1): Add output reload constraint.
15176 (casesi_internal): Likewise. Fix commentary.
15177 (return_internal): Use pmode_register_operand.
15179 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
15181 * 1750a.md (movstrqi): Add missing output reload constraint.
15182 (call_value): Likewise.
15183 * a29k.md (cpxxx patterns): Add missing match_operator mode.
15184 (jmpfdec): Add missing inout reload constraint.
15185 * elxsi.md (addsi patterns): Add missing output reload constraint.
15186 (move from sp): Use @ alternates.
15187 (call_value): No constraint on output.
15188 * fr30.md (movsi_pop): Add missing output reload constraint.
15189 (movsf_constant_store): Likewise.
15190 (splits): Remove constraints.
15191 (subsi3): Add missing mode.
15192 * i370.md (cmpstrsi+1): Add missing output reload constraint.
15193 (call_value): Likewise.
15194 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15195 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15196 * m32r.md (movsicc_internal): Add output reload constraint.
15197 (movstrsi_internal): Add inout reload constraints.
15198 * m88k.h (reg_names): Don't declare.
15199 (SPECIAL_MODE_PREDICATES): New.
15200 * m88k.md (*): Use register_operand not reg_or_0_operand
15202 * mn10200.h (PREDICATE_CODES): New.
15203 * ns32k.md (ffs pattern): Add output reload constraint.
15204 * pdp11.md (sob pattern): Add inout reload constraint.
15205 * sh.md (splits): Remove constraints.
15206 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15207 * v850.md (pattern_is_ok_for_epilogue): Likewise.
15208 * vax.md (jgequ pattern): Add inout reload constraint.
15210 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
15212 * configure.in (djgpp): Revert previous patch.
15213 * configure: Rebuit.
15214 * config/i386/djgpp.h: Revert previous patch.
15216 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
15218 * fixinc/inclhack.def: Restore patch lost during last merge of
15219 "no_bogosity" branch.
15220 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15222 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
15224 * fixincludes: Add a HPUX 11 fix for inttypes.h.
15225 * fixinc/inclhack.def: Same.
15226 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15228 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
15230 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15231 as the base of a PLUS.
15233 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15235 * config/c4x/c4x.md: Define mode for remaining unspec operators.
15236 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
15238 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
15240 * pa.md (post_stw+1): Use pmode_register_operand.
15241 (dcacheflush, icacheflush): Likewise.
15243 * i386.md (movstricthi_1): Allow r/r.
15245 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
15247 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15248 to (not (and (arg0) (arg1))). Similary for and.
15250 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15251 fallthrough to associate code.
15252 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15255 * combine.c (simplify_logical): Convert XOR to IOR if operands have
15256 no bits in common; remove XOR to ROTATE conversion.
15258 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15260 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15262 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15264 * config/c4x/c4x.c (dst_operand): New.
15265 (PREDICATE_CODES): Update.
15266 * config/c4x/c4x.h (dst_operand): Declare it.
15267 * config/c4x/c4x.md: Define mode for each unspec usage.
15268 (move patterns): Use dst_operand predicate instead of src_operand.
15269 (movqi_update, movqf_update): Delete.
15271 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
15273 * recog.c (pmode_register_operand): New.
15274 * recog.h: Declare it.
15275 * genrecog.c (pred_codes): Likewise.
15276 (special_mode_pred_table): Likewise.
15277 (validate_pattern): Don't warn no mode for address_operand.
15279 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15280 if the operand is not insn-like.
15282 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
15283 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15285 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15287 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
15289 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15290 instead of general_operand in a SET_DEST. Use const_double_operand
15291 instead of an explicit test against CONST_DOUBLE.
15292 (movsf_const_lo): Add missing register mode.
15293 (goto_handler_and_restore): Add auxiliary test for Pmode.
15294 (flush): Adjust to use address_operand.
15295 (return_sf_no_fpu): Add missing output constraint.
15297 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
15299 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15300 for call return value.
15301 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15303 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
15305 * toplev.c (main): Only warn about options for other languages.
15306 * collect2.c (main): Pass -w to sub-gcc.
15308 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
15310 * flow.c (propagate_block): Add call-clobbered registers to
15313 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15314 zapping mem_set_list.
15315 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15316 (mark_set_1, mark_used_regs): Likewise.
15318 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
15320 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15322 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15324 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15325 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15326 options. Also add a new item "C-only Warning Options" to the
15329 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
15331 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15332 from multiple calls.
15334 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
15336 * i386.md (call value patterns): Move to the end of the file.
15337 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15339 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15341 * configure.in (djgpp configuration): Define extra_objects..
15342 * configure: Rebuilt.
15343 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15344 (DTORS_SECTION_ASM_OP): Define.
15345 (INIT_SECTION_ASM_OP): Define.
15346 (FINI_SECTION_ASM_OP): Define.
15347 (DATA_SECTION_ASM_OP): Define.
15348 (TEXT_SECTION_ASM_OP): Define.
15349 (EH_FRAME_SECTION_ASM_OP): Define.
15350 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15351 (STARTFILE_SPEC): Add crtbegin.o.
15352 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15353 to here from LINK_COMMAND_SPEC.
15354 (DO_GLOBAL_CTORS_BODY): Define.
15355 (CRTSTUFF_USE_FINI_SECTION): Define
15356 (HAS_INIT_SECTION): Delete.
15358 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
15360 * Makefile.in (all.cross): Depend on xcpp$(exeext).
15362 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
15364 * pa.h (PREDICATE_CODES): New.
15366 * genrecog.c (validate_pattern): Condense the destination
15367 non-lvalue message.
15369 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
15371 * alpha.md (call-1): Supply missing mode for operator.
15372 (*): Add missing output reload constraints. Remove constraints
15373 from define_splits.
15375 * i386.h (SPECIAL_MODE_PREDICATES): New.
15376 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15377 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15378 (addsi_lea_3): Add missing mode for op 3.
15379 (prologue_set_got, prologue_get_pc): Add missing modes.
15380 (*) Add missing output reload constraints.
15382 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
15384 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15385 check for member bit-size overflow and use var_size if it occurs.
15386 (layout_record): Use bitsize_int() to define the type size in bits.
15387 Likewise for computation and assignment to DECL_FIELD_BITPOS.
15388 (layout_decl): Likewise when assigning to DECL_SIZE.
15390 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
15392 * genrecog.c (validate_pattern): Typo last change. Verify
15393 that output operands have output reloads.
15395 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
15397 * genrecog.c (special_mode_pred_table): New.
15398 (NUM_SPECIAL_MODE_PREDS): New.
15399 (find_operand): New.
15400 (validate_pattern): New argument `insn'. Warn for assignment to
15401 any predicate accepting non-lvalues. Conditionaly warn for
15402 match_operand without a mode. Try much harder to match source
15403 and destination modes on a set.
15404 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15406 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
15408 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15410 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
15412 * combine.c (simplify_logical): Recognize xor pattern that encodes
15415 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15417 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15420 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
15422 * ggc-page.c (MAP_FAILED): Provide default.
15424 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
15426 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15427 * sparc.h (PREDICATE_CODES): Update.
15429 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
15431 * alpha.c (some_ni_operand): New.
15432 * alpha-protos.h: Declare it.
15433 * alpha.h (PREDICATE_CODES): Update.
15434 * alpha.md (sXaddq reload insns): Use some_ni_operand
15435 for SET_DEST instead of some_operand.
15437 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
15438 Jim Wilson <wilson@cygnus.com>
15440 * genrecog.c (maybe_both_true_2): Don't compare modes of
15442 (process_tree): Elide peephole2_insns. Invoke simplify_tests
15443 after find_afterward.
15444 (debug_decision_1): Dump next and afterward codes.
15446 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
15448 * rtl.c (dump_and_abort): Remove.
15449 (fatal_with_file_and_line): New.
15450 (fatal_expected_char): New.
15451 (read_rtx_lineno, read_rtx_filename): New.
15452 (read_skip_spaces): Track line number.
15453 (read_name): Use fatal_with_file_and_line.
15454 (read_rtx): Use fatal_expected_char. Track line number.
15455 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15457 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15458 if it isn't a CODE_LABEL.
15460 * genattr.c (main): Set read_rtx_filename.
15461 * genattrtab.c (main): Likewise.
15462 * gencodes.c (main): Likewise.
15463 * genconfig.c (main): Likewise.
15464 * genemit.c (main): Likewise.
15465 * genextract.c (main): Likewise.
15466 * genflags.c (main): Likewise.
15467 * genopinit.c (main): Likewise.
15468 * genoutput.c (main): Likewise.
15469 * genpeep.c (main): Likewise.
15471 * genrecog.c (decision_test.u.insn): Add `lineno'.
15472 (pattern_lineno, error_count): New variables.
15473 (message_with_line): New.
15474 (add_to_sequence): Break out checking code to ...
15475 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
15476 (merge_insn): Use message_with_line.
15477 (make_insn_sequence): Use validate_pattern. Record insn lineno.
15478 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
15480 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15482 * expr.c (store_constructor): Clear union if constructor is empty.
15484 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
15486 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15487 Add !endian checks. Change %{...} to %(...).
15489 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
15491 * i386.md (*addsi3_cc): Renamed from addcsi3.
15492 (*addsi3_carry): Renamed from addxsi3.
15493 (*subsi3_cc): Renamed from subcsi3.
15494 (*subsi3_carry): Renamed from subxsi3.
15495 (*xorqi_cc_1): Renamed from xorcqi_1.
15496 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15497 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15499 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
15501 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15502 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15504 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
15506 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15507 climb up the chain of insns.
15509 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
15511 * genrecog.c (write_subroutine): Careful for null trees.
15512 (process_tree): Don't elide empty functions.
15514 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
15516 * Makefile.in (genrtl.o): Depend on ggc.h.
15517 * configure.in (valloc): Probe for it.
15518 (with-gc): Use ggc-page if valloc present.
15519 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15520 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15521 (ggc_alloc_string): Moved from ggc-page.c.
15522 * ggc-none.c (ggc_alloc_obj): New.
15523 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15524 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15525 (struct globals): Likewise for dev_zero_fd.
15526 (init_ggc): Likewise for it's initialization.
15527 (ggc_allocated_p): Move careful dereference from ...
15528 (ggc_lookup_page_table): ... here. Delete.
15529 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15530 (alloc_anon): Use valloc if no mmap.
15531 (release_pages): Use free if using valloc.
15532 (ggc_alloc_obj): Renamed from alloc_obj.
15533 (ggc_set_mark): Renamed from mark_obj.
15534 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15535 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15536 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15537 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15538 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15539 (ggc_collect): Use fp printing instead of our own rounding.
15540 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15541 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15542 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15543 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15544 (struct ggc_string, struct ggc_any): Delete.
15545 (offsetof): Provide default definition.
15546 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15548 (struct ggc_mem): New, from corpse of ggc_any.
15549 (struct ggc_status): Delete.
15550 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15551 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15552 (n_strings_collected, n_anys_collected): Delete.
15553 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15554 (ggc_alloc_string, ggc_alloc): Delete.
15555 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15556 (ggc_free_string, ggc_free_any): Delete.
15557 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15558 (ggc_compare_addresses, ggc_mark_string): Delete.
15559 (ggc_mark_string_if_gcable, ggc_mark): Delete.
15560 (search_data): Delete.
15561 (struct globals): New.
15562 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15563 (tree_insert, tree_lookup): New.
15564 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15565 (clear_marks, sweep_objs): New.
15566 (ggc_collect): Gut. Use clear_marks, sweep_objs.
15567 (init_ggc): Set allocated_last_gc.
15568 (ggc_push_context): Gut. Use G.context.
15569 (ggc_pop_context): Likewise.
15570 (ggc_pop_context_1): New.
15571 (debug_ggc_tree): New.
15572 (debug_ggc_balance, tally_leaves): New.
15573 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15574 (ggc_mark_string_if_gcable): Remove decl.
15575 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15576 (ggc_mark_rtvec_children): New.
15577 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15578 (ggc_mark_if_gcable): New decl.
15579 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15580 (ggc_alloc_tree, ggc_alloc): Likewise.
15581 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15582 (ggc_alloc_obj): New decl.
15583 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15584 (ggc_alloc_tree, ggc_alloc): Likewise.
15585 (ggc_set_mark): New decl.
15586 * rtl.h (struct rtx_def): Remove gc_mark.
15587 (struct rtvec_def): Likewise.
15588 * tree.h (struct tree_common): Likewise.
15590 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
15592 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15593 float_format and thread_file definitions.
15594 * configure: Rebuilt.
15596 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
15598 * extend.texi (Function Names): Document types of function names.
15600 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15602 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
15603 an earlyclobbered output conflict with RELOAD_INPUT reloads.
15605 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15607 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15609 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15611 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15613 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
15615 * collect2.c (main): Do prelimnary link on AIX if rflag.
15617 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15619 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15620 __CTOR_LIST__ in opposite order, which is the correct order for sorted
15622 (__do_global_dtors): similarly for __DTOR_LIST__.
15624 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15625 Diego Novillo <dnovillo@cygnus.com>
15627 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15630 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
15632 * fixincl/*: Merged "no_bogosity" branch
15633 * fixincl/fixlib.h: protect against doubly defining t_bool
15634 * fixincl/server.h: protect against doubly defining t_bool
15636 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
15638 * genoutput.c: Include toplev.h.
15640 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
15642 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15644 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15645 * configure: Regenerate.
15647 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
15649 * gcse.c (delete_null_pointer_checks): Returns void.
15651 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15653 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15654 * emit-rtl.c (copy_insn_1): Likewise.
15656 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
15658 * config/mips/mips.c (mips_build_va_list): Correct
15659 TREE_CHAIN setting when hard-float.
15660 (mips_va_start): Use corrected setting.
15661 (mips_va_arg): Likewise. Also pass a tree to build of
15662 POSTINCREMENT_EXPR rather than a naked 'int'.
15664 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
15666 * ggc.h (ggc_push_context): Fix comment.
15667 (ggc_pop_context): Likewise.
15668 (mark_string_if_gcable): Likewise.
15669 * ggc-common.c (ggc_mark_rtx_children): Use
15670 ggc_mark_string_if_gcable.
15671 * ggc-page.c (ggc_lookup_page_table): New function.
15672 (ggc_allocated_p): Likewise.
15673 (mark_obj): Fix formatting.
15674 (ggc_mark_string_if_gcable): New function.
15675 * ggc-simple.c (ggc_allocated_strings): New variable.
15676 (ggc_strings_used): Likewise.
15677 (ggc_compare_addresses): New function.
15678 (ggc_pop_context): Pop the `any' memory too.
15679 (ggc_mark_string_if_gcable): New function.
15680 (ggc_collect): Initialize and tear down ggc_allocated_strings.
15682 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
15684 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15685 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15686 * rs6000.c (expand_block_move): Match movstrsi_?reg register
15689 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
15691 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15692 (sched_reg_live_length, sched_reg_basic_block): Delete.
15693 (current_block_num, bb_live_regs, old_live_regs): Delete.
15694 (dead_notes, struct sometimes): Delete.
15695 (sched_note_set, birthing_insn_p): Delete.
15696 (adjust_priority): Gut useless reg lifetime code.
15697 (create_reg_dead_note, attach_deaths): Delete.
15698 (attach_deaths_insn, new_sometimes_live): Delete.
15699 (finish_sometimes_live): Delete.
15700 (find_pre_sched_live, find_post_sched_live): Delete.
15701 (update_reg_usage): Delete.
15702 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15703 (schedule_insns): Delete reg lifetime code.
15704 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15705 (unlink_other_notes): Adjust REG_NOTE commentary.
15706 (reemit_notes): Use REG_SAVE_NOTE.
15707 (schedule_block): Likewise.
15708 (schedule_region): Allocate bitmap of blocks in region. Use
15709 count_or_remove_death_notes. Use update_life_info.
15711 * rtl.h (REG_SAVE_NOTE): New.
15712 * rtl.c (reg_note_name): Update.
15714 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
15716 * combine.c (refresh_blocks, need_refresh): New.
15717 (combine_instructions): Allocate refresh_blocks. Invoke
15718 update_life_info if needed.
15719 (distribute_notes): Mark refresh_blocks instead of installing
15721 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15722 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15724 * Makefile.in (recog.o): Depend on basic-block.h.
15726 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
15728 * genrecog.c (add_to_sequence): Thinko last change: delete
15729 shadowing allow_const_int variable.
15731 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15733 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
15734 __GNUC__ and __GNUC_MINOR__.
15736 * gansidecl.h: Likewise.
15742 * toplev.h: Likewise.
15744 * tree.c: Likewise.
15746 * tree.h: Likewise.
15748 * varray.c: Likewise.
15750 * varray.h: Likewise.
15752 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15754 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
15755 use one before a jump table.
15757 * rtl.def (ADDRESS): Change documentation to match reality.
15758 * md.texi: Don't document it.
15759 * gmicro.md (load address pattern): Use 'p' constraint, delete use
15762 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
15764 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
15766 * genrecog.c (add_to_sequence): Move allow_const_int test outside
15767 known predicate block; default allow_const_int true.
15768 (debug_decision_list): New.
15770 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
15772 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
15774 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
15776 * gcse.c (gcse_main): Avoid global optimizations if we have a
15777 large number of basic blocks and the ratio of edges to blocks
15779 (delete_null_pointer_checks): Likewise.
15781 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
15783 * c-common.c (check_format_info): Warn if format string isn't a
15786 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15788 * configure.in (arm*-*-*): Don't let autoconf remove brackets
15789 * configure: regenerate
15791 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
15793 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
15794 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
15795 (peepholes): Re-enable.
15797 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
15799 * Makefile.in (flow.o): Depend on TREE_H.
15800 * basic-block.h (REG_SET_EQUAL_P): New.
15801 (XOR_REG_SET): New.
15802 (n_edges): Declare.
15803 (free_regset_vector): Remove declaration.
15804 (flow_delete_insn_chain): Declare.
15805 (enum update_life_extent): New.
15806 (update_life_info, count_or_remove_death_notes): Declare.
15807 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
15808 Verify register live at bb->global_live_at_start before adding USE.
15809 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
15810 (CLEAN_ALLOCA): New.
15812 (PROP_*): New flags.
15813 (find_basic_blocks_1): Use alloc_EXPR_LIST.
15814 (clear_edges): Zero n_edges.
15815 (make_edge): Increment n_edges.
15816 (split_edge): Don't allocate bb->local_set. Increment n_edges.
15817 (flow_delete_insn_chain): Export.
15818 (delete_block): Decrement n_edges.
15819 (merge_blocks_nomove): Likewise.
15820 (life_analysis): Give life_analysis_1 PROP flags.
15821 (verify_wide_reg_1, verify_wide_reg): New.
15822 (verify_local_live_at_start): New.
15823 (update_life_info): Rewrite to call into propogate_block.
15825 (mark_regs_live_at_end): After reload, if epilogue as rtl,
15826 always mark stack pointer. Conditionally mark PIC register.
15827 After reload, mark call-saved registers, return regsiters.
15828 (life_analysis_1): Accept PROP flags not remove_dead_code.
15829 Call mark_regs_live_at_end before zeroing regs_ever_live.
15830 Use calculate_global_regs_live. Copy global_live_at_end before
15831 calling final propagate_block. Zero reg_next_use on exit.
15832 (calculate_global_regs_live): New.
15833 (allocate_bb_life_data): Don't allocate bb->local_set.
15834 (init_regset_vector, free_regset_vector): Remove.
15835 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
15836 Test flags before every operation. Warn if prologue/epilogue insn
15837 would have been deleted.
15838 (mark_set_regs, mark_set_1): Accept and use FLAGS.
15839 Use alloc_EXPR_LIST.
15840 (mark_used_regs): Accept and use FLAGS, not FINAL.
15841 Remove special handling for RETURN.
15842 (try_pre_increment): Use alloc_EXPR_LIST.
15843 (dump_flow_info): Dump n_edges.
15844 (unlink_insn_chain, split_hard_reg_notes): Remove.
15845 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
15846 (find_insn_with_note, new_insn_dead_notes): Remove.
15847 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
15848 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
15849 (replace_insns): Remove.
15850 (count_or_remove_death_notes): New.
15851 (verify_flow_info): Abort on error after all checks.
15852 (remove_edge): Decrement n_edges.
15853 (remove_fake_edges): Tweek format.
15854 * haifa-sched.c (schedule_insns): Use split_all_insns.
15855 * output.h (update_life_info): Remove declaration.
15856 * recog.c (split_all_insns): From the corpse of split_block_insns,
15857 do the whole function block by block. Use update_life_info.
15858 (recog_last_allowed_insn): New.
15859 (recog_next_insn): Mind it.
15860 (peephole2_optimize): Set it. Walk backwards through blocks.
15861 Use update_life_info.
15862 * rtl.h (update_flow_info, replace_insns): Remove declarations.
15863 (split_all_insns): Declare.
15864 * toplev.c (rest_of_compilation): Thread prologue before flow2.
15865 Use split_all_insns.
15867 * i386.md (or -1 peep2s): Disable.
15869 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
15871 * config/mips/mips.md (movstrsi+[123]) : Combine these into
15872 a single pattern. Scrap the 'd' versions as unnecessary.
15874 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
15875 tablejump_mips162,tablejump_internal4): The operands to a
15876 label_ref must be VOIDmode.
15878 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15880 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
15882 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
15884 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
15886 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
15888 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
15889 cache every function if ggc_p.
15891 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15893 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
15894 instead of copy_rtx. Accept sequences that contain asm statements.
15895 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
15896 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
15897 orig_asm_operands_vector, copy_asm_operands_vector,
15898 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
15900 * rtl.h (copy_insn, copy_insn_1): Declare.
15902 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15904 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
15906 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
15907 arguments to `current_file_function_operand'.
15909 * genrecog.c: Include hard-reg-set.h and resource.h in the
15910 generated output file.
15912 * real.c: Include tm_p.h.
15914 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15916 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
15919 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
15921 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
15922 before the fctiwz insn.
15924 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15925 Mark Mitchell <mark@codesourcery.com>
15927 * tree.c (make_lang_type_fn): New funtion pointer.
15928 (make_lang_type): Call it.
15929 * tree.h (make_lang_type): Declare.
15930 (make_lang_type_fn): Likewise.
15931 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
15933 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
15935 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
15936 make sure that HIGH instructions are copied into BASE_REGS.
15938 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
15940 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
15942 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
15944 * c-decl.c (finish_struct): Use simpler method of
15945 removing elements of a singly-linked list.
15947 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
15949 * alpha.md (peephole2's): Comment out peephole2's that generate
15952 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
15954 * genrecog.c (add_to_sequence): Disable mode check for
15957 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15959 * ggc-simple.c (init_ggc): Set empty_string.
15961 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
15963 * configure.in: Detect mmap. Add --with-gc=foo to select
15964 garbage collector; default to page if mmap available.
15965 * Makefile.in (GGC): Substitute.
15967 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
15969 * c-decl.c (ggc_p): Enable.
15971 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15973 * flow.c (verify_flow_info): Make it extern & unconditionally define.
15975 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
15977 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
15978 string for little-endian-data.
15980 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
15982 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
15983 case somebody tries to compile --enable-checking code with gcc
15986 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
15988 * genrecog.c (add_to_sequence): Verify operand to label_ref is
15991 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
15993 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
15994 * jump.c (jump_optimize_1): Document why.
15996 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15998 * collect2.c (scan_prog_file, scan_libraries): Prototype function
15999 pointers and casts for `int_handler' and `quit_handler'.
16001 * flow.c (verify_flow_info, split_hard_reg_notes,
16002 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16003 remove_edge, remove_fake_successors): Add static prototypes.
16004 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16005 (mark_set_1): Initialize variable `regno'.
16006 (unlink_insn_chain): Likewise for variable `curr'.
16007 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16009 * loop.c (strength_reduce): Initialize variable
16010 `unrolled_insn_copies'.
16011 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16012 prototypes. Change these functions to take const PTR parameters
16013 to avoid prototype conflict when used as the comparson argument
16015 (check_dbra_loop): Initialize variable `comparison_val'.
16017 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16018 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16019 (find_valid_class): Initialize variable `best_class'.
16020 (find_reloads): Call memcpy, not bcopy.
16022 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16023 (hard_reg_use_compare): Don't needlessly cast away const.
16024 (reload_reg_class_lower): Likewise.
16025 (choose_reload_regs): Initialize variable `regno'.
16027 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
16029 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16031 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
16033 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16034 ({,d}discard): Add forward declarations. Declare parameter as
16036 (main_without_main): Explicitly declare return type to be int.
16037 (memcpy): Properly declare.
16039 * libgcc2.c (toplevel): If inhibit_libc is defined and not
16040 building the trampoline support, declare malloc, free, and
16042 (__clear_cache): Mark arguments as potentially unused.
16044 * frame.c (toplevel): If inhibit_libc is defined, declare
16047 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
16049 * flow.c (make_edge): Accept an optional 2D bitmap in which
16050 to cache edge existence. Update all callers.
16051 (make_label_edge, make_eh_edge): Pass through the edge cache.
16052 (make_edges): Provide the cache.
16054 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16056 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16058 (local_mbtowc): Change the type of variable `i' from int to size_t.
16060 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16061 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16063 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
16065 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16066 after other includes that define the appropriate types. Include
16067 tm_p.h for getting user prototypes.
16068 * ggc-callbacks.c (toplevel): Ditto.
16069 * ggc-none.c (toplevel): Ditto.
16070 * gcc-page.c (toplevel): Ditto.
16071 * ggc-simple.c (toplevel): Ditto.
16073 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
16074 Jonathan Larmour <jlarmour@cygnus.co.uk>
16076 * config/mips/mips.c (mips_move_2words): Split doubles if
16077 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16079 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
16081 * genrecog.c (struct decision_test): New.
16082 (struct decision): Remove test-related members, sort the rest by size.
16083 (IS_SPLIT): Simplify.
16084 (new_decision, new_decision_test): New.
16085 (add_to_sequence): Use them. No special handling for args of
16087 (maybe_both_true): Renamed from not_both_true; return sense changed.
16088 (maybe_both_true_1, maybe_both_true_2): New. Broken out
16089 of maybe_both_true and adjusted for decision_test.
16090 (position_merit): Remove.
16091 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16092 (merge_accept_insn): New, broken out of merge_trees.
16093 (merge_trees): Use them. No special case for c_test; no node
16094 splitting; use test type instead of position_merit.
16095 (factor_tests): New.
16096 (simplify_tests): New.
16097 (break_out_subroutines): Don't write code now.
16098 (find_afterward): New.
16099 (write_afterward, write_switch, write_cond): New.
16100 (write_action, is_unconditional): New.
16101 (write_node): New. Use them.
16102 (write_tree_1): Rewrite. Use the new functions above.
16103 (write_tree): Remove afterward processing.
16104 (write_subroutine): Simplify function variant emission.
16105 (write_subroutines): New.
16106 (same_codes, clear_codes): Remove.
16107 (same_modes, clear_modes): Remove.
16108 (write_header): New, broken out of main.
16109 (make_insn_sequence): Use new_decision and new_decision_test.
16110 (process_tree): New, broken out of main.
16111 (main): Adjust for merge_trees interface change.
16112 Don't #define operands in the output file.
16113 (record_insn_name): New, broken out of make_insn_sequence.
16114 (debug_decision_2, debug_decision_1, debug_decision_0): New.
16115 (debug_decision): New.
16117 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
16119 * resource.c (find_free_register): Mark class_str argument const.
16120 * resource.h: Update prototype to match.
16122 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16123 * i386.md: Give all anonymous insns names.
16125 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
16127 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16130 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
16132 * toplev.c (dbr_sched_time): Unconditional.
16133 (peephole2_time): New.
16134 (compile_file): Add pass numbers to all of the dump file suffixes.
16135 Dump peephole2_time. Don't dump times for non-applicable passes.
16136 (rest_of_compilation): Add pass numbers to dump file suffixes.
16137 Conditionalize calls to the scheduler.
16138 * invoke.texi: Update.
16140 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
16142 * flow.c (make_edges): Fix insn iteration.
16143 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16144 (find_basic_blocks_1): Fix spelling mistake.
16146 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
16148 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16149 always have side-effects. Use memset not bzero.
16150 (make_node): Likewise.
16152 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
16154 * stmt.c (expand_anon_union_decl): When any of the elements of the
16155 union is addressable, so is the entire union.
16157 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
16159 * sbitmap.c (sbitmap_ones): Don't set too many bits.
16161 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16162 * bitmap.c (bitmap_operation): Return true iff TO changed.
16163 (bitmap_equal_p): New.
16164 (bitmap_bit_p): Tidy arithmetic.
16165 (debug_bitmap_file): Likewise.
16167 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
16169 * toplev.c (rest_of_compilation): Turn on cse_not_expected
16170 before cse2 instead of after.
16172 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
16174 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16177 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16179 * cppinit.c (is_idchar initializer): Loosen tests to accept
16182 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
16184 * mips.md: Define conditional move patterns for floating point
16185 operands and DI mode conditions.
16187 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
16189 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16190 always have side-effects.
16192 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
16194 * mn10200.c (asm_file_start): Fix typo.
16196 * cppinit.c (is_idchar initializer): Tighten tests for when
16197 to put the table into initialized memory.
16199 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16200 not an array of rtunion.
16201 * gcc-page.c (ggc_alloc_rtvec): Similarly.
16202 * gcc-simple (ggc_free_rtvec): Similarly.
16204 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16207 * mbchar.h: Add missing #endif.
16209 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16210 (FPBIT, DPBIT): Define.
16212 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16214 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16216 * profile.c (instrument_arcs, output_gcov_string,
16217 tablejump_entry_p): Add static prototypes.
16218 (output_gcov_string): Constify a char*.
16220 * regmove.c (replacement_quality, fixup_match_2): Add static
16223 * resource.h (reg_dead_p): Add extern prototype.
16225 * rtl.c (trim_filename): Add static prototype.
16227 * scan-decls.c (skip_to_closing_brace): Likewise.
16229 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16230 (expand_end_case): Initialize variable `range'.
16231 (emit_case_nodes): Remove unused prototype `rtx_fn'.
16233 * varasm.c (asm_emit_uninitialised): Add static prototype.
16234 (asm_emit_uninitialised, assemble_variable): Mark parameter with
16237 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16239 * cpplib.c (if_directive_nameo): Add static prototype.
16241 * cse.c (cse_insn): Remove unused variable `p'.
16243 * except.c (create_rethrow_ref, push_entry,
16244 receive_exception_label, new_eh_region_entry, find_func_region,
16245 clear_function_eh_region, process_nestinfo): Add static prototypes.
16246 (get_reg_for_handler): Hide definition.
16247 (process_nestinfo): Initialize variable `extra_handlers'.
16249 * expr.h (expand_builtin_longjmp): Add extern prototype.
16251 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16253 * function.c (prepare_function_start): Likewise.
16254 (pop_function_context_from): Mark parameter `context' with
16256 (push_temp_slots_for_block, flush_addressof): Hide definition.
16258 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16259 solve_program_flow_graph, calculate_branch_probs,
16260 function_summary, main, fancy_abort): Add prototypes.
16262 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16263 (add_hash): Constify a char*.
16265 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16266 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16267 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16269 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16271 * lists.c (free_list, zap_lists): Likewise.
16273 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16275 * alias.c (nonlocal_reference_p): Add static prototype.
16277 * bitmap.c (bitmap_element_allocate): Prototype args in function
16280 * builtins.c (stabilize_va_list): Add static prototype.
16281 (expand_builtin_va_arg): Constify a char*.
16283 * c-lex.c (getch, put_back, extend_token_buffer_to,
16284 read_line_number, token_getch, token_put_back): Add static
16287 * c-parse.gperf (hash, is_reserved_word): Likewise.
16289 * cccp.c (is_dir_separator): Likewise.
16291 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16293 * graph.h: New file to prototype functions exported by graph.c.
16295 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16297 * graph.c: Include graph.h.
16299 * toplev.c: Likewise. Remove redundant prototypes.
16301 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
16303 * invoke.texi: Removed duplicated description for -Q.
16305 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
16307 * extend.texi: Grammar fix in __extension__ text.
16309 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
16311 * md.texi (define_peephole2): New section.
16313 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
16315 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16316 (mov $-1 to or peepholer): Enable for pentium when optimizing for
16319 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
16321 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16323 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
16325 * i386.md (ffs expander): Emit Pentium friendly code for
16328 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
16330 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16332 (build1): Likewise.
16334 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16336 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16338 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
16340 * config/m68k/m68k.c (use_return_insn): Return false if the pic
16341 register is in use.
16343 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16345 * md.texi (No Constraints): Delete section.
16346 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16347 * final.c (final_scan_insn): We always have register constraints.
16348 * genattrtab.c: Don't include "insn-config.h".
16349 (write_attr_case): We always have register constraints.
16350 * genconfig.c (register_constraint_flag): Delete.
16351 (walk_insn_part): Don't check whether we have register constraints.
16352 (main): Don't write out "#define REGISTER_CONSTRAINTS".
16353 * genoutput.c (have_constraints): Delete.
16354 (main): Don't set it.
16355 (output_operand_data): We always have constraints.
16356 (scan_operands): Likewise.
16357 (compare_operands): Likewise.
16358 * local-alloc.c (block_alloc): We always have constraints.
16359 (requires_inout): Always compile this function.
16360 * recog.c (extract_insn): We always have constraints.
16361 (constrain_operands, reg_fits_class_p): Always compile these
16363 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16365 (struct insn_operand_data): Likewise.
16366 * regclass.c (regclass): We always have constraints.
16367 (record_reg_classes, copy_cost, record_address_regs,
16368 auto_inc_dec_reg_p): Always compile these functions.
16369 * regmove.c (regmove_optimize): We always have constraints.
16370 * reload.c (find_reloads): Likewise.
16371 * reload1.c (reload): Likewise.
16372 (reload_cse_simplify_operands): Likewise.
16373 * i860.c (output_delay_insn): Likewise.
16375 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
16377 * iris6.h (BUILD_VA_LIST_TYPE): Define.
16379 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16381 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16382 for the va_list record.
16384 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
16386 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16389 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
16391 * alias.c: Include insn-flags.h.
16392 * Makefile.in (alias.o): Update.
16394 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
16396 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16397 to LTU and GEU. Handle more cases using sbb.
16399 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
16401 * i386.md (truncatexfdf splitters): Do not use subreg.
16402 (fop XFmode patterns): Fix mode in operand testing.
16404 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
16406 * jump.c (jump_optimize_1): Amend last change to test only the
16407 form of the operand, not the insn.
16409 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16410 not register_operand to determine when B may need preloading.
16412 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
16414 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16415 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16416 (call-value patterns): Move to end of file.
16417 (*): Remove mode from label_ref in (pc) context.
16418 (movstrqi): Use memory not general_operand for BLKmode operands.
16419 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16420 to register_operand operands.
16421 (peep2 patterns): Convert from commented-out peephole patterns.
16423 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16425 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16426 to BUILT_IN_INIT_DWARF_REG_SIZES.
16427 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16428 Renamed from BUILT_IN_DWARF_REG_SIZE; call
16429 expand_builtin_init_dwarf_reg_sizes.
16430 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16431 with __builtin_init_dwarf_reg_size_table.
16432 * dwarf2out.c (struct reg_size_range): Delete.
16433 (expand_builtin_init_dwarf_reg_sizes): New function.
16434 (expand_builtin_dwarf_reg_size): Delete.
16435 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16436 (expand_builtin_dwarf_reg_size): Don't declare.
16437 * libgcc2.c (dwarf_reg_size_table_initialized): New.
16438 (dwarf_reg_size_table): New.
16439 (init_reg_size_table): New function.
16440 (copy_reg): Use dwarf_reg_size_table.
16441 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16444 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
16446 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16447 Correctly build argument list to constructor and destructor functions.
16449 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
16451 * c-tree.h (warn_float_equal): Declare.
16452 * c-decl.c (warn_float_equal): Define.
16453 (c_decode_option): Recognize -W[no-]float-equal.
16454 * c-typeck.c (build_binary_op): Conditionally warn
16455 about equality tests of floating point types.
16456 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16457 * invoke.texi: Add docs for -Wfloat-equal warning.
16459 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
16461 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16462 generating RTL directly.
16463 * mips.h (INIT_TARGET_OPTABS): Likewise.
16464 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16466 * expr.h (init_mov_optab): Delete declaration
16468 * h8300.c (WORD_REG_USED): Update to avoid useless register
16469 saves in interrupt functions and functions which never return.
16471 * cse.c (struct set): Delete inner_dest_loc field.
16472 (cse_insn): Remove assignments to inner_dest_loc field.
16474 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
16476 * ggc-page.c: Don't include <unistd.h> etc taken care of
16477 by "system.h". Include <sys/mman.h> afterward.
16479 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
16481 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16484 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
16486 * xcoffout.c (xcoffout_declare_function): Add documentation.
16487 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16488 TARGET_64BIT. Compare constant to -1, not bit pattern.
16489 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16490 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
16493 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
16495 * dwarf2out.c (add_abstract_origin_attribute): Abort if
16496 origin_die is NULL.
16497 (gen_inlined_enumeration_type_die): Do not abort if the type has
16498 not been writeen out.
16499 (gen_inlined_structure_type_die): Do not abort if the type has
16500 not been writeen out.
16501 (gen_inlined_union_type_die): Do not abort if the type has
16502 not been writeen out.
16503 (gen_tagged_type_instantiation_die): Do not abort if the type
16504 has not been written out.
16506 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16508 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16510 * reg-stack.c (straighten_stack): Copy hard reg set with
16513 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
16515 * builtins.c (stabilize_va_list): Stabilize array type va_list
16516 to a pointer type, not the base record type.
16517 (expand_builtin_va_copy): Dereference the pointers explicitly;
16518 use the correct size for the copy.
16520 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16521 (rs6000_va_arg): Likewise.
16523 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
16525 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16527 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
16529 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16531 (DECL_BUILT_IN_CLASS): Adjust accordingly.
16533 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
16535 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16536 (init_ggc): Use it instead of a constant.
16537 (ggc_collect): Bound allocated_last_gc by it.
16539 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
16541 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16544 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
16546 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
16547 (mips*-*-openbsd*): Let big endian configuration be a fragment.
16548 * configure: Regen.
16549 * config/mips/openbsd.h: New, OpenBSD little endian target.
16550 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
16551 * config/mips/xm-openbsd.h: New, OpenBSD host.
16553 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
16555 * config/m68k/m68k.c (output_function_prologue,
16556 output_function_epilogue): Use
16557 current_function_uses_pic_offset_table instead of regs_ever_live
16558 to decide whether to save/restore pic register.
16559 (legitimize_pic_address): Don't modify regs_ever_live any more.
16561 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
16563 * function.h (struct function): Add x_dont_save_pending_sizes_p.
16564 * stor-layout.c (variable_size): Don't add sizes to the pending
16565 sizes list if x_dont_save_pending_sizes_p is set.
16567 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
16569 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16570 for symbolic_operand().
16571 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16573 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16575 * combine.c (gen_rtx_combine): Add missing call to va_end().
16577 * final.c (asm_fprintf): Likewise.
16579 * genattrtab.c (attr_rtx): Likewise.
16581 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
16583 * cse.c: Update comments.
16584 (cse_insn): When converting a conditional/computed jump into
16585 an unconditional jump, always make sure a BARRIER immediately
16586 follows the converted jump. Do not delete unreachable code.
16587 (cse_basic_block): Do not delete unreachable code.
16588 * toplev.c (rest_of_compilation): Move call to
16589 delete_trivially_dead_insns after the conditional call to
16592 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16594 * collect2.c (make_temp_file): Don't prototype.
16596 * gcc.c (make_temp_file): Likewise.
16598 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16600 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
16602 * varasm.c (asm_emit_uninitialised): New function: Generate
16603 the assembler statements necessary to declare an uninitialised
16605 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16607 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16608 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16610 (assemble_variable): Use asm_emit_uninitialised to emit an
16611 uninitialised variable.
16613 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
16615 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16616 constant on a 64 bit host. Patch supplied by Geoffrey Keating
16617 <geoffk@cygnus.com>.
16619 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16621 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16622 * c-common.h (builtin_function): Don't declare.
16624 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16626 (pushdecl): Likewise.
16627 (finish_decl): Likewise.
16628 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
16629 int. All callers changed.
16630 Set the builtin's DECL_BUILT_IN_CLASS.
16631 * tree.h (enum built_in_class): New.
16632 (enum built_in_function): Delete NOT_BUILT_IN.
16633 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16635 (DECL_SET_FUNCTION_CODE): Likewise.
16636 (DECL_BUILT_IN_CLASS): New macro.
16637 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16638 (struct tree_decl): Split builtin function code field into a
16640 (builtin_function): Declare.
16642 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
16644 * optabs.c (init_traps): Fix typo in last change.
16646 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
16648 * toplev.c (rest_of_decl_compilation): Update comment.
16650 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
16652 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16653 in .sbss if appropriate.
16654 (EXTRA_SECTION_FUNCTIONS): Add sbss.
16655 (SBSS_SECTION_ASM_OP): New macro.
16656 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16657 (EXTRA_SECTIONS): Add in_sbss.
16658 * config/mips/mips.h: Prototype sbss_section.
16660 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
16662 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16665 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
16667 * optabs.c (init_traps): Register trap_rtx as a GC root.
16669 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16671 * config/mips/mips.c (function_arg_pass_by_reference): Define
16672 unconditionally, since it's called unconditionally.
16674 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16676 * toplev.c (documented_lang_options): Add -fshort-wchar.
16677 * c-decl.c (c_decode_option): Likewise.
16678 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16680 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16681 * gcc.c (default_compilers): If -fshort-wchar,
16682 override __WCHAR_TYPE__.
16683 * tm.texi (C Dialect Options): Add -fshort-wchar.
16685 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16686 symbol for a variable.
16688 * cpplib.h (CPP_PREPROCESSED): New macro.
16689 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16690 we're seeing this input for a second time.
16692 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
16694 * emit-rtl.c (init_emit_once): Initialize modes first.
16696 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
16698 * config/i386/i386.c (pic_label_name): Change to char pointer.
16699 (global_offset_table): New variable.
16700 (load_pic_register): Fill global_offset_table if it hasn't
16701 already been done. Allocate pic_label_name dynamically.
16702 * ggc.h (empty_string): New variable.
16703 * ggc-simple.c (empty_string): Likewise.
16704 (init_ggc): Allocate empty_string and add as root.
16705 * stmt.c (digit_strings): New variable.
16706 (init_stmt): Add last_block_end_note as root. Allocate and
16707 initialize digit_strings.
16708 (expand_asm_operands): Use empty_string instead of string
16709 constant. Use digit_strings instead of string constants.
16710 * profile.c (init_arc_profiler): Allocate string with
16711 ggc_alloc_string instead of xmalloc.
16712 (output_func_start_profiler): Likewise.
16713 * c-typeck.c (digest_init): Check if init is error_mark_node.
16715 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
16716 Richard Henderson <rth@cygnus.com>
16718 * ggc-page.c: New file.
16719 * Makefile.in (ggc-page.o): New.
16721 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
16723 * invoke.texi: Document -fdelete-null-pointer-checks
16724 * toplev.c (flag_delete_null_pointer_checks): New.
16725 (f_options): Add entry for -fdelete-null-pointer-checks.
16726 (rest_of_compilation): Conditionalize null pointer check
16727 elimination on flag_delete_null_pointer_checks.
16728 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
16730 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
16732 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
16733 copyright notice and special exception to GPL.
16735 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16737 * abi64.h (mips_function_value): Add prototype arguments.
16739 * mips-protos.h: New file with mips prototypes.
16741 * mips.c: Include "tm_p.h".
16742 (mktemp, lookup_name): Add prototype arguments.
16743 (extern_list, string_constant, mips_fill_delay_slot,
16744 mips_output_external, mips_output_external_libcall,
16745 mips_output_filename, mips_declare_object, function_prologue,
16746 mips_expand_prologue, function_epilogue, mips16_constant,
16747 build_mips16_function_stub, mips_output_conditional_branch):
16749 (mips_va_start): Remove unused variable `u'.
16750 (mips_va_arg): Cast value to unsigned when comparing against one.
16752 (save_restore_insns, mips_expand_prologue): Add missing arg in
16753 call to `large_int'.
16755 * mips.h: Move prototypes to mips-protos.h.
16756 (data_section, memory_address_p, rdata_section,
16757 readonly_data_section, simple_epilogue_p, text_section): Delete
16758 prototypes delcared elsewhere.
16759 (mips_epilogue_delay_slots, print_options): Delete unused decls.
16761 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
16763 * mips.md: Delete extra args in call to `mips_move_2words'.
16765 * xm-iris6.h (alloca): Add prototype argument.
16767 * genpeep.c: Include "tm_p.h" in generated output file.
16769 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16771 * basic-block.h (find_edge_index): Change parameters.
16772 * flow.c (verify_edge_list): Pass basic_block parameters to
16773 find_edge_index instead of integers.
16775 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
16777 * combine.c (simplify_comparison): Use an unsigned shift to adjust
16780 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
16782 * gcc.1: Fix a formatting error.
16784 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16786 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
16787 i786, mn10200, mn10300, pdp11, v850.
16789 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
16791 * libgcc2.c (num_digits): Add prototype with
16792 __attribute__((const)).
16793 (__terminate): Add prototype.
16795 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
16797 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
16799 * alpha/alpha.c (print_operand): Fix type of `code'.
16800 (alpha_output_filename): Constify.
16801 * alpha/alpha.h: Move all function declarations ...
16802 * alpha/alpha-protos.h: ... here. New file.
16803 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
16804 (SECTION_FUNCTION_TEMPLATE): Likewise.
16806 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16808 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
16809 * expr.c (expand_expr): Likewise.
16810 (do_jump): Likewise.
16811 (do_store_flag): Pass ccp_store_flag to can_compare_p.
16812 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
16814 (enum can_compare_purpose): New.
16815 (can_compare_p): Adjust prototype.
16816 (prepare_cmp_insn, prepare_operand): Declare.
16817 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
16818 * optabs.c (cmp_available_p): Deleted.
16819 (expand_abs): Pass ccp_jump to can_compare_p.
16820 (can_compare_p): New arg PURPOSE. Check for combined optabs.
16821 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
16822 Call can_compare_p rather than cmp_available_p.
16823 (prepare_operand): No longer static.
16824 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
16825 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
16826 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
16827 sequence to use emit_cmp_and_jump_insns.
16828 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
16830 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
16832 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
16833 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
16834 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
16835 (plus (reg) (const_int 0))
16836 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
16838 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
16840 * rs6000.c (expand_block_move): DImode loads and stores require
16841 word-aligned displacements. Increment address registers with
16842 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
16844 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
16846 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
16847 is no name for the base type, rather than segfault. If we are
16848 writing out a complex integer type, use DW_ATE_lo_user.
16850 * expr.c (emit_move_insn_1): If we are copying a complex that fits
16851 in one word or less (complex char, complex short, or on 64 bit
16852 systems complex float) to/from a hard register, copy it through
16853 memory instead of dying in gen_{real,imag}part. If we have a
16854 short complex type, prevent inlining since it allocates stack
16857 * tree.c (build_complex_type): If we are writing dwarf2 output,
16858 generate a name for complex integer types.
16860 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16862 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
16863 * flow.c (remove_edge): Remove extra whitespace.
16864 (remove_fake_edges): Fix comment.
16865 (add_noreturn_fake_exit_edges): Use the correct name.
16867 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
16869 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
16870 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
16871 (clean): Depend on INTL_CLEAN.
16872 (maintainer-clean): Adjust.
16874 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16876 * configure.in (AC_PREREQ): Bump to 2.13.
16877 (AC_C_STRINGIZE): Call this instead of using a custom macro.
16879 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
16881 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
16883 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
16885 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
16886 (HAVE_STRINGIZE): Define.
16888 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
16890 * c-parse.in: save and restore warn_pointer_arith on __extension__
16891 along with pedantic.
16892 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
16893 Set the type of extension to itype rather than $<itype>1 kludge.
16894 * extend.texi (Alternate Keywords): Adjust documentation.
16895 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
16897 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
16899 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
16900 most assembler templates.
16902 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
16903 FP loads and stores.
16904 (following_call): Always return zero for the PA8000.
16905 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
16906 FP loads and stores.
16907 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
16909 * pa.h (BRANCH_COST): Define.
16911 * pa.md (return, return_internal): Use bve for PA2.0.
16913 * pa.md (fused multiply): Add variants which reduce height for the
16914 fused multiply, but which still generate 2 insns.
16915 (fnegabs): Similarly.
16917 * pa.md (subsi3): Turn into an expander. Create two anonymous
16918 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
16919 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
16921 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
16923 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
16925 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
16926 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
16928 * regclass.c (init_regs): Add "top_of_stack" as a garbage
16931 * flow.c (record_active_eh_regions): Terminate loop after finding
16932 the last insn in the last basic block.
16934 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16936 * config/c4x/c4x.md: Delete parallel instruction peepholes.
16938 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16940 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
16942 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16944 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
16945 splitting to not use output template.
16947 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16949 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
16950 * config/c4x/c4x.c (c4x_va_start): New function.
16952 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
16954 * genrecog.c (not_both_true): Handle correctly cases when called for
16955 tests with different positions in the insn.
16957 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16959 * machmode.h (HOST_PTR_PRINTF): Move from here ...
16961 * system.h (HOST_PTR_PRINTF): ... to here.
16963 * mips-tfile.c: Don't include machmode.h.
16965 * Makefile.in (MACHMODE_H): New variable. Update to use it.
16966 (mips-tfile.o): Don't depend on machmode.h.
16968 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16970 * haifa-sched.c (sched_analyze): Rename local variable `region' to
16971 avoid conflicts with typedef struct `region' at the top level scope.
16973 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
16975 * basic-block.h (basic_block): Add eh_beg, eh_end.
16976 * flow.c (entry_exit_blocks): Update.
16977 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
16978 Call new functions.
16979 (find_basic_blocks_1): Don't record eh_list at each bb. Use
16980 lists.c functions to allocate insn lists.
16981 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
16983 (make_eh_edge): ... here. New.
16984 (move_stray_eh_region_notes): New.
16985 (record_active_eh_regions): New.
16986 (delete_unreachable_blocks): Split out block merging ...
16987 (try_merge_blocks): ... here. New.
16988 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
16989 Dump debugging data.
16990 (merge_blocks_move_successor_nojumps): Likewise.
16991 (merge_blocks): Use eh_beg+eh_end to validate block movement.
16993 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16995 * extend.texi (Bound member functions): Document unbound pmf
16998 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17000 * flow.c (split_edge): Handle insertion on a fallthrough edge which
17001 has the EXIT_BLOCK as a dest.
17003 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17005 * flow.c (remove_edge): New function to remove an edge from the
17007 (remove_fake_successors): New function to remove fake successor edges.
17008 (remove_fake_edges): New function to remove all fake edges from the
17010 (add_fake_exit_edges): New function to add fake edges from all blocks
17011 with no successors to the exit block.
17012 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17013 prototypes for new functions.
17015 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17017 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17018 Use Pmode to determine whether to output .dword or .word.
17020 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
17022 * tree.c (built_in_filename): New variable.
17023 (BUILT_IN_FILENAME): New macro.
17024 (init_tree_codes): Allocate built_in_filename.
17025 (make_node): Use built_in_filename instead of string constant.
17027 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
17029 * configure.in: Add fr30 target.
17030 * configure: Regenerate.
17031 * config/fr30: New directory.
17032 * config/fr30/crti.asm: New file.
17033 * config/fr30/fr30.c: New file.
17034 * config/fr30/crtn.asm: New file.
17035 * config/fr30/fr30.h: New file.
17036 * config/fr30/fr30.md: New file.
17037 * config/fr30/lib1funcs.asm: New file.
17038 * config/fr30/t-fr30: New file.
17039 * config/fr30/xm-fr30.h: New file.
17041 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
17043 * flow.c (merge_blocks_move_successor_nojumps): Delete the
17044 BARRIER at the end of the successor, not the BARRIER before
17047 * pa.c (pa_add_gc_roots): Fix thinko in last change.
17049 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
17051 * stmt.c (any_pending_cleanups): Don't crash when
17052 current_function->stmt is unset.
17054 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17056 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17057 other initializations that may use it for relative offsets.
17059 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17061 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17062 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
17063 * config/i386/sol2dbg.h: Removed.
17064 * config/i386/sol2gas.h: New file, to enable gas work-around.
17065 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17066 Don't use sol2dbg.h.
17067 * configure: Rebuilt.
17069 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
17071 * invoke.texi (-fthis-is-variable): Remove documentation.
17073 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
17075 * basic-block.h (compute_bb_for_insn): Declare.
17076 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
17077 to use; set size of basic_block_for_insn directly.
17078 (find_basic_blocks): Update.
17080 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17082 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17084 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17086 * crtstuff.c (ON_EXIT): Delete empty macro definition.
17087 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17089 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
17091 * c-decl.c (c_decode_option): Extend comment.
17093 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
17095 * toplev.c (progname): Make 'const char *'
17096 (flag_print_mem): Move out of main.
17097 (version_flag): Move out of main.
17098 (filename): Move out of main.
17099 (debug_args): Remove g prefix from options.
17100 (documented_lang_options): Remove cpplib specific options.
17101 (display_help): Add g prefix to debug options.
17102 (check_lang_option): Delete this function.
17103 (decode_d_option): New function: Decode -d... option.
17104 (decode_f_option): New function: Decode -f... option.
17105 (decode_W_option): New function: Decode -W... option.
17106 (decode_g_option): New function: Decode -g... option.
17107 (independent_decode_option): New function: Decode a language
17108 independent command line option.
17109 (main): Invoke lang_decode_option and then
17110 independent_decode_option on each command line option in
17113 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
17115 Revert this change. Gavin's patch to operand_equal_p is a better fix.
17116 * fold-const.c (fold_range_test): Do not try to fold the range
17117 test if the rhs or lhs has side effects.
17119 * basic-block.h (compute_flow_dominators): Declare.
17121 * gcse.c (alloc_code_hoist_mem): New function.
17122 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17123 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17124 (hoist_code, one_code_hoisting_pass): Likewise.
17125 (gcse_main): If optimizing for size, then hoist expressions
17126 computed in multiple dominated basic blocks.
17128 * gcse.c (invalid_nonnull_info): New function.
17129 (delete_null_pointer_checks): Likewise.
17130 * rtl.h (delete_null_pointer_checks): Declare.
17131 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17133 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17134 (merge-blocks_move_successor_nojumps): Likewise.
17135 (merge_blocks): Allow merging of some blocks, even if it requires
17136 physical movement of the blocks, but not if it requires new jumps.
17138 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17139 Callers and prototype changed.
17140 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17142 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17144 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17145 -YP when both -p and -pg are present. From i386/sol2.h.
17147 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17149 * Makefile.in (distclean): Delete tm_p.h.
17150 * configure.in: Create a new file, "tm_p.h", from a list in
17151 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17152 "i386/i386-protos.h".
17154 * alias.c: Include "tm_p.h".
17155 * c-typeck.c: Likewise.
17156 * calls.c: Likewise.
17158 * emit-rtl.c: Likewise.
17159 * explow.c: Likewise.
17160 * expmed.c: Likewise.
17161 * expr.c: Likewise.
17162 * final.c: Likewise.
17163 * flow.c: Likewise.
17164 * fold-const.c: Likewise.
17165 * function.c: Likewise.
17166 * gcse.c: Likewise.
17167 * global.c: Likewise.
17168 * haifa-sched.c: Likewise.
17169 * integrate.c: Likewise.
17170 * jump.c: Likewise.
17171 * local-alloc.c: Likewise.
17172 * loop.c: Likewise.
17173 * optabs.c: Likewise.
17174 * recog.c: Likewise.
17175 * reg-stack.c: Likewise.
17176 * regclass.c: Likewise.
17177 * regmove.c: Likewise.
17178 * reload.c: Likewise.
17179 * reload1.c: Likewise.
17180 * reorg.c: Likewise.
17181 * resource.c: Likewise.
17182 * stmt.c: Likewise.
17183 * stor-layout.c: Likewise.
17184 * toplev.c: Likewise.
17185 * tree.c: Likewise.
17186 * unroll.c: Likewise.
17187 * genattrtab.c (main): Make generated file include "tm_p.h".
17188 * genemit.c (main): Likewise.
17189 * genoutput.c (main): Likewise.
17190 * genrecog.c (main): Likewise.
17192 * i386.h: Delete all prototypes.
17193 * i386.c: Include "tm_p.h".
17194 (ix86_attr_length_default): Call constant_call_address_operand
17195 with correct number of arguments.
17196 * i386-protos.h: New file.
17197 * i386.md (unnamed patterns): Call constant_call_address_operand
17198 with correct number of arguments.
17199 (exception_receiver): Call load_pic_register with correct number
17202 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
17204 * c-pragma.c (mark_align_stack): Dereference the void* properly.
17206 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
17208 * rtl.h (insns_safe_to_move_p): New function.
17209 * loop.c (find_and_verify_loops): Use it.
17210 * rtlanal.c (insns_safe_to_move_p): Define it.
17212 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
17214 * c-pragma.c: Include ggc.h.
17215 * Makefile.in (c-pragma.o): Update.
17217 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17219 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17220 (LIB_SPEC): Likewise.
17221 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17222 Reindent -YP/-p/-pg.
17223 Copied from config/sparc/sol2.h.
17225 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
17227 * c-pragma.c (mark_align_stack): New.
17228 (init_pragma): New.
17229 * c-pragma.h (init_pragma): Declare it.
17230 * c-lex.c (init_parse): Call it.
17232 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17234 * configure.in: Pick up thread library on Solaris/x86 just
17235 like on Solaris/sparc.
17236 * configure: Rebuilt.
17238 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
17240 * rtl.h (global_rtx_index): New enum.
17241 (global_rtl): Change to array of rtx.
17242 (pc_rtx, cc0_rtx): Redefine accordingly.
17243 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17244 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17245 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17246 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17247 (const_int_rtx): Change to array of rtx.
17248 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17250 * emit-rtl.c (global_rtl): Change to array of rtx.
17251 (const_int_rtx): Change to aray of rtx.
17252 (gen_rtx_CONST_INT): Redefine accordingly.
17253 (init_emit_once): Allocate and initialize global_rtl. Likewise
17254 for const_int_rtx. Add both as GC roots.
17255 * genattrtab.c (global_rtl): Update declaration.
17257 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
17259 * Makefile (USER_H): Add iso646.h back.
17261 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
17263 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17264 zapping the LOG_LINKS of sched_before_next_call.
17266 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17267 * pa.c (insn_refs_are_delayed): Renamed from
17268 insn_sets_and_refs_are_delayed.
17270 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
17272 * functiion.h (struct function): Add x_whole_function_mode_p.
17273 (retrofit_block): Declare.
17274 * function.c (retrofit_block): New function.
17275 (identify_blocks): Add assertions. Allow an incomplete set of
17276 block notes if we're still generating code for the function.
17277 * integrate.c: Include loop.h.
17278 (expand_inline_function): Call find_loop_tree_blocks to map block
17279 notes to blocks when in whole-function mode. Use retrofit_block
17280 to insert new BLOCKs for the inlined function, rather than
17282 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
17283 * Makefile.in (integrate.o): Depend on loop.h.
17285 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
17287 * tree.h (warn_about_unused_variables): Declare.
17288 * stmt.c (warn_about_unused_variables): New function, split out
17290 (expand_end_bindings): Here.
17292 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
17294 * stmt.c (preserve_subexpressions_p): Don't crash when
17295 current_function->stmt is unset.
17297 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
17299 * stmt.c (expand_start_bindings): Allow callers to pass a flag
17300 indicating that no NOTE_INSN_BLOCK_BEG note is required.
17301 (expand_start_target_temps): Use it.
17302 * except.c (expand_eh_region_start_for_decl): Likewise.
17303 * expr.c (expand_expr): Likewise.
17305 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
17307 * fold-const.c (operand_equal_p): Pay attention to side effects.
17309 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
17311 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17312 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17314 * tlink.c (scan_linker_output): Look for keywords before accepting
17315 a mangled name in quotes.
17317 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
17319 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17320 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17322 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
17324 * alpha.md: Revert Thu Nov 26 change that came in through the
17325 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17326 Avoid earlyclobber when possible.
17328 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17330 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17332 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17333 Define HAVE_ON_EXIT.
17335 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17337 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
17338 CTYPE_CONV in all ctype macros.
17340 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17343 * cexp.y (initialize_random_junk): Likewise.
17345 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17347 * i370.c (handle_pragma): Likewise.
17349 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17351 * v850.c (override_options): Likewise.
17353 * doprint.c (_doprnt): Likewise.
17355 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17358 * fixinc/server.c (load_data): Likewise.
17360 * fold-const.c (real_hex_to_f): Likewise.
17362 * genattr.c (write_upcase, gen_attr): Likewise.
17364 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17365 write_upcase): Likewise.
17367 * genemit.c (print_code): Likewise.
17369 * genopinit.c (gen_insn): Likewise.
17371 * genpeep.c (print_code): Likewise.
17373 * genrecog.c (print_code): Likewise.
17375 * optabs.c (init_libfuncs): Likewise.
17377 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
17379 * haifa-sched.c (sched_analyze): Keep the list of notes organized
17381 (reemit_notes): Likewise.
17383 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
17385 * ggc.h (ggc_root): Move to ggc-common.c.
17387 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17388 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17389 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17390 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17391 * ggc-common.c (ggc_root): Move from ggc.h.
17392 (roots): Declare, static.
17393 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17394 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17395 null or check/set mark bit.
17396 (ggc_mark_roots): New.
17397 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17399 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
17401 * m32r.c: Include toplev.h.
17402 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17403 (gen_compare): Rename swap_p to must_swap to match uses.
17404 Add default abort case.
17405 (m32r_output_function_epilogue): Remove unused variables.
17406 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17407 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17408 define to empty parameter list. Update all uses.
17409 (predicate decls): Use enum machine_mode not int.
17410 * m32r.md (movsi): Call abort, not fatal_insn.
17411 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17413 1999-09-14 Andrew Haley <aph@cygnus.com>
17415 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17416 use $0 instead of 0.
17418 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17420 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17421 computation out of loop over hard regs.
17423 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
17425 * function.c (identify_blocks): Don't shadow a variable in an
17427 * integrate.c (integrate_decl_tree): Don't use pushlevel,
17428 pushdecl, or poplevel to build up the new BLOCK tree.
17429 (expand_inline_function): Likewise.
17430 (integrate_parm_decls): Likewise.
17432 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
17434 * c-typeck.c (qualify_type): Merge qualifiers from both types.
17436 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
17438 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17439 * invoke.texi: Document this change.
17441 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
17443 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17445 (mark_emit_status): Renamed from mark_emit_state.
17446 * except.c (mark_eh_status): Renamed from mark_eh_state.
17447 Check not null before marking.
17448 (free_eh_status): New.
17449 * expr.c (mark_expr_status, free_expr_status): New.
17450 * function.c (free_machine_status): New.
17451 (free_after_parsing): New.
17452 (free_after_compilation): Move bits to free_after_parsing; call
17453 free_eh_status, free_expr_status; zero the marked members of the
17455 (prepare_function_start): No can_garbage_collect.
17456 Call init_eh_for_function.
17457 (expand_dummy_function_end): Free up current_function state.
17458 (mark_function_status): Renamed from mark_function_state.
17459 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
17460 * function.h (struct function): No can_garbage_collect.
17461 (free_machine_status, free_after_parsing): Declare.
17462 (free_eh_status, free_expr_status): Declare.
17463 * ggc.h (mark_expr_status): Declare.
17464 * stmt.c (free_stmt_status): Free the struct.
17465 (mark_stmt_status): Renamed from mark_stmt_state.
17466 (init_stmt): Don't call init_eh.
17467 (init_stmt_for_function): Don't call init_eh_for_function.
17468 * toplev.c (compile_file): Call init_eh.
17469 (rest_of_compilation): Free basic block info before ggc_collect.
17470 Call free_after_parsing; conditionally call free_after_compilation.
17471 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17472 Check not null before marking.
17473 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
17475 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
17477 * c-lex.c (yylex): Initialize warn.
17479 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
17481 * pa.c (emit_move_sequence): Properly set the mode of the scratch
17482 register when performing secondary reloads for the SAR register.
17484 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
17486 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17487 (NOTE_BLOCK): New macro.
17488 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17489 * function.h (identify_blocks): Change prototype.
17490 * function.c (identify_blocks): Simplify.
17491 (reorder_blocks): Likewise.
17492 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17493 NOTE_INSN_BLOCK_{BEG,END}.
17494 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17495 the list of saved notes if the note isn't a
17496 NOTE_INSN_BLOCK_{BEG,END}.
17497 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17499 (reemit_notes): Adjust recreation of notes to reflect new saved
17501 * print-rtl.c (print_rtx): Print the address of the BLOCK when
17502 printing a block note.
17503 * stmt.c (block_vector): Remove.
17504 (find_loop_tree_blocks): Simplify.
17505 (unroll_block_trees): Likewise.
17506 * tree.h (reorder_block): Change prototype.
17508 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
17510 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
17511 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17512 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17513 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
17514 (atexit, exit): Simplify.
17515 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
17516 * config/lots: Remove defns of HAVE_ATEXIT.
17518 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
17520 * calls.c (precompute_arguments): Fix typo in comment.
17521 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17524 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
17526 * dsp16xx.c (override_options): Fix typos in GC root registration.
17528 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
17530 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17531 from config/svr4.h.
17532 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17533 (FUNCTION_PROFILER): Redefine appropriately for Linux.
17534 (CC1_SPEC): Likewise.
17536 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17538 * genattr.c (main): Add extern prototype. Call return, not exit.
17539 * genattrtab.c (main): Likewise.
17540 * gencheck.c (main): Likewise.
17541 * gencodes.c (main): Likewise.
17542 * genconfig.c (main): Likewise.
17543 * genemit.c (main): Likewise.
17544 * genextract.c (main): Likewise.
17545 * genflags.c (main): Likewise.
17546 * gengenrtl.c (main): Likewise.
17547 * genopinit.c (main): Likewise.
17548 * genoutput.c (main): Likewise.
17549 * genpeep.c (main): Likewise.
17550 * genrecog.c (main): Likewise.
17552 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17553 * genattrtab.c (get_insn_name): Likewise.
17554 * gencodes.c (get_insn_name): Likewise.
17555 * genconfig.c (get_insn_name): Likewise.
17556 * genemit.c (get_insn_name): Likewise.
17557 * genextract.c (get_insn_name): Likewise.
17558 * genflags.c (get_insn_name): Likewise.
17559 * genopinit.c (get_insn_name): Likewise.
17560 * genpeep.c (get_insn_name): Likewise.
17562 * gencheck.c (usage): Add static prototype.
17563 * genextract.c (print_path): Constify a char*.
17564 * genopinit.c (optabs): Likewise.
17565 * genoutput.c (operand_data, data, output_predicate_decls,
17566 compare_operands): Likewise.
17567 * genrecog.c (write_tree): Add default case in switch.
17569 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17571 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17573 * print-rtl.c (get_insn_name): Remove prototype.
17575 * toplev.h (progname): Declare const.
17577 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17578 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17579 dump_sched_info, dump_local_alloc, regset_release_memory,
17580 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17581 error_with_file_and_line, error_with_decl, error_for_asm, error,
17582 fatal, warning_with_file_and_line, warning_with_decl, warning,
17583 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17584 Remove redundant prototypes.
17586 (notice, check_lang_option, report_file_and_line, vnotice,
17587 mark_file_stack): Add static prototype.
17588 (set_fatal_function): Add prototype.
17589 (vnotice, report_file_and_line, set_fatal_function,
17590 check_lang_option): Constify a char*.
17591 (main): Prototype. Call return, not exit.
17593 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17595 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17597 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17599 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17601 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17603 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17605 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
17606 behave as if it's zero in all cases.
17607 (expand_function_start): Adjust call to assign_parms.
17608 * tree.h (assign_parms): Adjust prototype.
17609 * objc/objc-act.c (hack_method_prototype): Adjust call to
17612 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
17614 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17615 arg_pointer_rtx fixed if the argument pointer register is
17617 (NONZERO_BASE_PLUS_P): Likewise.
17619 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
17621 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17622 match_insn2 to match_insn.
17623 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17625 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
17627 * Makefile.in (USER_H): Remove va-foo.h.
17629 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17630 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17631 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17632 va-spur.h,va-v850.h}: Remove.
17634 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
17636 * sparc/sparc.md (eligible_for_return_delay): New attribute.
17637 (in_return_delay): Use it instead of match_insn.
17639 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17641 * config/alpha/va_list.h (va-alpha.h): Do not include.
17642 (__gnuc_va_list): Typedef as in varargs.h.
17644 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
17646 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17647 DECL_LIVE_RANGE_RTL.
17649 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
17651 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17652 not NOTE_BLOCK_NUMBER.
17653 (expand_eh_region_end): Likewise.
17654 (find_exception_handler_labels): Likewise.
17655 (scan_region): Likewise.
17656 (exception_optimize): Likewise.
17657 (update_rethrow_references): Likewise.
17658 (set_insn_eh_region): Likewise.
17659 * final.c (final_scan_insn): Likewise.
17660 * flow.c (make_edges): Likewise.
17661 * integrate.c (expand_inline_function): Likewise.
17662 * print-rtl.c (print_rtx): Likewise.
17664 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
17666 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17667 terms of builtin functions and types.
17669 * mips.c (mips_build_va_list): New.
17670 (mips_va_start, mips_va_arg): New.
17671 * mips.h (BUILD_VA_LIST_TYPE): New.
17672 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17674 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17675 (sh_build_va_list, sh_va_start, sh_va_arg): New.
17676 * sh.h (BUILD_VA_LIST_TYPE): New.
17677 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17679 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
17681 * recog.h (struct recog_data): Make dup_num, operand_address_p,
17682 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17683 (struct insn_data): Likewise with n_operands, n_dups,
17684 n_alternatives, output_format.
17685 * regclass.c (scan_one_insn): Cast n_operands to int before
17686 arithmetic inside comparison.
17688 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
17690 * toplev.c (compile_function): Unconditionally emit nop.
17692 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17694 * haifa-sched.c (actual_hazard): Move declaration of variable
17695 `this_cost' into the scope where it is used.
17697 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17699 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17700 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
17701 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17703 * genrecog.c (make_insn_sequence): Call memset, not bzero.
17705 * jump.c (find_insert_position): Don't declare or define unless
17706 !HAVE_conditional_arithmetic.
17707 (returnjump_p_1, delete_prior_computation): Add static prototypes.
17709 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17711 * recog.c (offsettable_address_p): Prototype function pointer.
17712 (preprocess_constraints): Call memset, not bzero.
17714 * tree.c (tree_node_kind_names): Constify a char*. Make static.
17715 (gcc_obstack_init): Don't declare.
17716 (fix_sizetype): Add static prototype.
17717 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17718 (tree_cons): Call memset, not bzero.
17720 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17721 definition in macro ASM_WEAKEN_LABEL.
17722 (mark_const_hash_entry): Add static prototype.
17724 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17726 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
17728 * unroll.c (find_common_reg_term, subtract_reg_term,
17729 loop_find_equiv_value): Add static prototypes.
17730 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
17731 (copy_loop_body): Remove unreachable break statement.
17733 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
17735 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
17737 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17739 Undo some changes from the gcc2 merge:
17740 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
17741 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
17745 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
17746 * emit-rtl.c (gen_lowpart_common): Disable optimization of
17747 initialized float-int union if the value is a NaN.
17749 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
17751 * gthr-win32.h: New file.
17753 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
17754 shared as a valid attribute.
17755 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
17756 * extend.texi: Document `shared' variable attribute.
17758 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
17760 * configure.in: Handle --enable-threads on FreeBSD.
17761 * configure: Rebuit.
17763 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17765 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
17767 * configure: Rebuilt.
17769 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
17770 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
17771 Rosimildo DaSilva <rdasilva@connecttel.com>
17773 * configure.in (m68k-*-rtemscoff*): Added.
17774 * configure.in (mips64orion-*-rtems*): Converted to ELF.
17775 * configure.in (sparc-*-rtemsaout*): Added as alias for old
17776 sparc-rtems configuration.
17777 * configure.in (sparc-*-rtemself*): Added.
17778 * configure.in (sparc-*-rtems*): Now ELF not a.out.
17779 * config/i386/rtems.h: Added comment.
17780 * config/sparc/rtemself.h: New file.
17782 * configure.in (m68k-rtemself): Added.
17783 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
17784 and DWARF_DEBUGGING_INFO.
17785 * config/m68k/crti.s: New file.
17786 * config/m68k/crtn.s: New file.
17787 * config/m68k/t-crtstuff: New file.
17788 * config/m68k/rtemself.h: New file.
17790 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
17791 global ctor/dtor and C++ exception handling.
17792 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
17793 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
17795 * config/i386/t-rtems-i386: New File.
17797 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
17799 * stmt.c (expand_end_case): Return right away if the case stack is
17802 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
17804 * Makefile.in (version.c): Remove rule incorrectly brought in from
17807 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
17809 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
17810 * msdos/top.sed: Take into account a prepended $(SHELL) to
17812 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
17814 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
17816 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17818 * regmove.c (fixup_match_1): Don't change an unchanging register.
17819 (stable_but_for_p): Renamed to:
17820 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
17821 Changed all callers.
17823 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
17825 * loop.c (strength_reduce): Don't call reg_used_between_p if the
17826 insn from BL2 is after the insn from BL.
17828 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
17830 * recog.h (INSN_OUTPUT_FORMAT_*): New.
17831 (struct insn_data): Merge `template' and `outfun' into `output'.
17832 Add `output_format'.
17833 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
17834 (struct data): Remove `outfun'; add `output_format'.
17835 (name_for_index): Remove declaration.
17836 (output_insn_data): Handle output formats.
17837 (process_template): Emit the bare array for @.
17838 (gen_expand, gen_split): Set output_format to NONE.
17839 * output.h (get_insn_template): Declare.
17840 * final.c (get_insn_template): New.
17841 (final_scan_insn): Use it.
17842 * toplev.c (compile_file): Likewise.
17844 * c4x/c4x.c (c4x_process_after_reload): Likewise.
17845 * i860/i860.c (output_delayed_branch): Likewise.
17846 (output_delay_insn): Likewise.
17848 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17850 * rtl.c (obstack_alloc_rtx): Removed.
17852 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
17854 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
17856 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
17858 * i386.c (call_insn_operand): Reject const_int.
17859 (expander_call_insn_operand): Use call_insn_operand.
17861 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17863 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
17865 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
17867 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
17868 Use DImode operation.
17870 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
17872 * gcc.c: Include sys/resource.h.
17873 (report_times): New flag.
17874 (execute): If report_times is set, calculate and report the
17875 CPU time consumed by each subprocess.
17877 (rus, prus): New globals.
17878 (option_map): Add --time.
17879 (display_help): Document -time.
17880 (process_command): Set report_times if -time is given.
17881 Turn off -pipe if -time is given.
17883 * invoke.texi: Document new option -time.
17885 * configure.in: Check for getrusage. Check if we have to
17886 prototype getrusage.
17887 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
17888 * configure: Regenerate.
17889 * config.in: Regenerate.
17891 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
17893 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
17896 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
17898 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
17899 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
17900 (nan): Return _thenan_sf or _thenan_df as appropriate.
17901 (L_thenan_sf): Define _thenan_sf.
17902 (L_thenan_df): Define _thenan_df.
17904 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
17905 (DPBIT_FUNCS): Add _thenan_df.
17907 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
17909 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
17912 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17914 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
17917 (lang_specific_driver): Don't take a function pointer parameter.
17918 All callers changed.
17920 * gcc.c: Include gcc.h.
17921 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
17922 lang_specific_extra_outfiles, fatal): Don't declare.
17923 (multilib_defaults_raw): Constify.
17924 (read_specs): Call memset, rather than bzero.
17925 (main): Call return, not exit.
17926 (lookup_compiler): Call memcpy, not bcopy.
17927 (fatal): Make extern.
17929 * cppspec.c: Include gcc.h.
17930 (lang_specific_driver): Initialize variable `quote'. Constify a
17931 char*. All calls to the function pointer parameter now
17932 explicitly call `fatal'.
17934 * gccspec.c (lang_specific_driver): Include gcc.h.
17936 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
17938 * arm.c (note_invalid_constants): Use recog_data.operand_type
17941 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17943 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
17946 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
17947 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
17948 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
17949 reload_secondary_in_reload, reload_secondary_out_reload,
17950 reload_secondary_in_icode, reload_secondary_out_icode,
17951 reload_reg_rtx, reload_when_needed): Delete declarations.
17952 (struct reload): New structure.
17953 (rld): Declare new array.
17954 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
17955 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
17956 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
17957 reload_secondary_in_reload, reload_secondary_out_reload,
17958 reload_secondary_in_icode, reload_secondary_out_icode,
17959 reload_reg_rtx, reload_when_needed): Delete definitions.
17961 (whole file): Replace uses of the deleted arrays with uses of rld.
17962 * reload1.c (whole file): Replace uses of the deleted arrays with
17964 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
17965 explicit loops, not with bcopy.
17967 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
17969 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
17970 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
17971 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
17972 insn_name): Delete and consolidate into new structures.
17973 (insn_operand_predicate_fn): New.
17974 (insn_output_fn): New.
17975 (insn_gen_fn): New.
17976 (struct insn_operand_data): New.
17977 (struct insn_data): New.
17979 (OUT_FCN): Update for insn_data change.
17980 * builtins.c (expand_builtin_strlen): Likewise.
17981 (expand_builtin_memcmp): Likewise.
17982 * combine.c (make_extraction, simplify_comparison): Likewise.
17983 * cse.c (canon_reg, cse_insn): Likewise.
17984 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
17985 * expmed.c (store_bit_field, extract_bit_field): Likewise.
17986 (emit_store_flag): Likewise.
17987 * expr.c (convert_move, emit_block_move): Likewise.
17988 (clear_storage, emit_push_insn, expand_increment): Likewise.
17989 (do_store_flag): Likewise.
17990 * expr.h (GEN_FCN): Likewise.
17991 (insn_gen_function): Die.
17992 * final.c (final_scan_insn): Update for insn_data change.
17993 (output_asm_name): Likewise.
17994 * function.c (fixup_var_refs_1): Likewise.
17995 * loop.c (check_dbra_loop): Likewise.
17996 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
17997 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
17998 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
17999 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18000 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18001 * regmove.c (gen_add3_insn): Likewise.
18002 * reload.c (push_secondary_reload, combine_reloads): Likewise.
18003 (find_reloads, find_reloads_address_1): Likewise.
18004 (debug_reload_to_stream): Likewise.
18005 * reload1.c (emit_reload_insns, gen_reload): Likewise.
18006 * stmt.c (expand_end_case): Likewise.
18007 * toplev.c (compile_file): Likewise.
18009 * c4x/c4x.c (c4x_process_after_reload): Likewise.
18010 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18012 * print-rtl.c (insn_name_ptr): Remove declaration.
18013 (get_insn_name): Declare.
18014 (print_rtx): Use it.
18015 * genoutput.c (insn_name_ptr): Remove.
18016 (next_operand_number): New.
18017 (struct operand_data): New.
18018 (null_operand, odata, odata_end): New.
18019 (struct data): Use struct operand_data.
18020 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18021 (get_insn_name): Renamed from name_for_index.
18022 (output_prologue): Define NO_MD_PROTOTYPES.
18023 (output_predicate_decls): Break out from output_epilogue.
18024 Iterate over the operands list.
18025 (output_operand_data): Break out from output_epilogue. Emit
18026 just the operands list.
18027 (output_insn_data): Break out from output_epilogue. Emit just
18029 (output_epilogue): Remove.
18030 (output_get_insn_name): New.
18031 (constraints, op_n_alternatives, predicates, address_p): Die.
18032 (modes, strict_low, seen): Die.
18033 (scan_operands): Take new param `d' instead of writing to
18034 seven global variables.
18035 (compare_operands): New.
18036 (place_operands): New.
18037 (validate_insn_alternatives): Update for struct data change.
18038 (gen_insn): Don't zero or copy 7 global arrays. Update for
18039 scan_operands; call place_operands.
18040 (gen_peephole, gen_expand, gen_split): Likewise.
18041 (main): Update for new output routines.
18043 * genattr.c (insn_name_ptr): Remove.
18044 (get_insn_name): New function.
18045 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18046 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18047 * genrecog.c: Likewise.
18049 * alpha.md (adddi3): Make `pattern' array static.
18051 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18053 * config/c4x/c4x.h (c4x_rpts_cycles_string,
18054 c4x_cpu_version_string): Constify char *.
18055 * config/c4x/c4x.c (c4x_rpts_cycles_string,
18056 c4x_cpu_version_string): Likewise.
18058 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
18060 * tree.c (save_tree_status): Revert 10 Sep change.
18061 (restore_tree_status): Likewise. Call obstack_free with NULL
18062 before freeing the obstack proper.
18064 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
18066 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18068 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18069 surrounding context.
18071 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
18073 * tree.c (type_hash_canon): Put all types in the hash-table, when
18076 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
18078 * recog.h (struct recog_data, recog_data): New.
18079 (recog_foo variables): Kill.
18080 * recog.c (recog_operand, recog_operand_loc): Kill.
18081 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18082 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18083 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18084 (recog_data): Define.
18085 (extract_insn): Update all recog_foo references to use recog_data.
18086 (preprocess_constraints, constrain_operands): Likewise.
18087 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18088 * genattrtab.c (main): Likewise.
18089 * genextract.c (main): Likewise.
18090 * genoutput.c: Likewise.
18091 * genrecog.c (write_subroutine, main): Likewise.
18092 * local-alloc.c (block_alloc): Likewise.
18093 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18094 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18095 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18096 * reload.c (find_reloads, find_reloads_toplev): Likewise.
18097 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18098 (reload_cse_simplify_operands): Likewise.
18100 * arc/arc.c (arc_final_prescan_insn): Likewise.
18101 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18102 * h8300/h8300.c (notice_update_cc): Likewise.
18103 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18104 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18105 * mn10200/mn10200.c (notice_update_cc): Likewise.
18106 * mn10300/mn10300.c (notice_update_cc): Likewise.
18107 * romp/romp.c (update_cc): Likewise.
18108 * sparc/sparc.c (check_pic): Likewise.
18109 * v850/v850.c (notice_update_cc): Likewise.
18111 * genemit.c (main): Don't declare recog_operand.
18113 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
18115 * ggc.h (rtvec_def): Forward declare.
18116 (tree_node): Likewise.
18117 (ggc_root): Define.
18119 (ggc_set_mark_rtx): Add prototype.
18120 (ggc_set_mark_rtvec): Likewise.
18121 (ggc_set_mark_tree): Likewise.
18122 * ggc-simple.c (ggc_root): Don't define.
18123 (roots): Don't declare.
18124 (ggc_mark_rtx): Remove.
18125 (ggc_mark_rtvec): Likewise.
18126 (ggc_mark_tree): Likewise.
18127 (ggc_mark_varray): Likewise.
18128 (ggc_mark_tree_hash_table_entry): Likewise.
18129 (ggc_mark_tree_hash_table): Likewise.
18130 (ggc_set_mart_rtx): New function.
18131 (ggc_set_mark_rtvec): Likewise.
18132 (ggc_set_mark_tree): Likewise.
18133 (ggc_add_root): Remove.
18134 (ggc_add_rtx_root): Likewise.
18135 (ggc_remove_tree_root): Likewise.
18136 (ggc_add_string_root): Likewise.
18137 (ggc_add_tree_varray_root): Likewise.
18138 (ggc_add_tree_hash_table_root): Likewise.
18139 (ggc_del_root): Likewise.
18140 (ggc_mark_rtx_ptr): Likewise.
18141 (ggc_mark_tree_ptr): Likewise.
18142 (ggc_mark_string_ptr): Likewise.
18143 (ggc_mark_tree_varray_ptr): Likewise.
18144 (ggc_mark_tree_hash_table_ptr): Likewise.
18145 * ggc-common.c: New file.
18146 * Makefile.in (OBJS): Add ggc-common.o.
18147 (ggc-common.o): List dependencies.
18149 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
18151 * cppalloc.c (xstrdup): Use memcpy.
18152 * cpperror.c (cpp_print_containing_files): Don't use
18154 * cpplib.c (conditional_skip): Set temp->lineno.
18155 (do_endif): Make error message less obscure.
18156 (if_directive_name): New function.
18157 (cpp_get_token [case EOF]): Unwind the if stack and generate
18158 error messages for each unterminated conditional in this file.
18159 (parse_string): Do not behave differently if -traditional.
18161 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
18163 * builtins.c (expand_builtin_va_arg): Cope with an array-type
18164 va_list decomposing to pointer-type.
18165 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18166 (rs6000_va_arg): Likewise.
18168 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
18170 * except.c (start_dynamic_handler): Compute size using
18171 STACK_SAVEAREA_MODE.
18173 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18175 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
18176 include directory headers. Don't define strrchr. Don't provide
18177 my_* replacement functions. Prefer PTR over `pointer_type'.
18178 Don't prototype system functions. Don't redefine getopt.
18180 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18181 safe_read, safe_write, save_pointers, restore_pointers,
18182 is_id_char, in_system_include_dir, directory_specified_p,
18183 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18184 find_corresponding_lparen, referenced_file_is_newer,
18185 save_def_or_dec, munge_compile_params, gen_aux_info_file,
18186 process_aux_info_file, identify_lineno, check_source,
18187 seek_to_line, forward_to_next_token_char, output_bytes,
18188 output_string, output_up_to, other_variable_style_function,
18189 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18190 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18191 find_static_definition, connect_defs_and_decs, add_local_decl,
18192 add_global_decls, needs_to_be_converted, visit_each_hash_node,
18193 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18194 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18195 scan_for_missed_items, edit_file, string_list_cons): Add static
18197 (standard_exec_prefix, target_machine, target_version,
18198 default_syscalls_dir, string_list, string_list_cons, find_file,
18199 do_cleaning): Constify a char*.
18200 (safe_read, safe_write): Use PTR, not a char*.
18201 (is_id_char): Take an int, not a char.
18202 (main): Add prototype. Call return, not exit.
18204 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
18206 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18207 when comparing types.
18209 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
18211 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18212 (strength_reduce): Release the varrays from the no-bivs early exit.
18214 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18215 the loop over the registers.
18217 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18219 (restore_tree_status): Check that instead when freeing the obstack.
18221 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
18223 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18226 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18228 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
18229 operand size modifiers.
18231 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18233 * c-common.c (c_common_nodes_and_builtins): Don't build
18235 * c-common.h (enum c_tree_index and related accesor macros): Remove
18236 everything now declared in tree.h.
18237 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18238 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18239 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18240 (error_mark_node, void_type_node, char_type_node, integer_type_node,
18241 unsigned_type_node, ptr_type_node, va_list_type_node,
18242 integer_zero_node, null_pointer_node, integer_one_node): Delete.
18243 (init_decl_processing): Call build_common_tree_nodes and
18244 build_common_tree_nodes_2 instead of building their nodes here.
18245 Don't add roots for these nodes.
18246 * stor-layout.c (size_zero_node, size_one_node): Delete.
18247 (set_sizetype): Make a new node for bitsizetype each time.
18248 * tree.c (global_trees): New variable.
18249 (init_obstacks): Add a gc root for it.
18250 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18251 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18252 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18253 (build_common_tree_nodes): New function.
18254 (fix_sizetype): New function.
18255 (build_common_tree_nodes_2): New function.
18256 * tree.h (enum tree_index): New.
18257 (global_trees): Declare.
18258 Add accessor macros for all nodes now moved to global_trees.
18259 Delete their declarations.
18261 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
18263 * c-decl.c (finish_function): When processing a nested function,
18264 push and pop GC context around rest_of_compilation.
18266 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
18268 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18269 Default ix86_arch to PROCESSOR_I386.
18270 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
18271 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18272 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18273 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18274 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
18275 (EXTRA_SPECS): Remove deleted specs.
18277 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
18279 * function.c (assign_stack_local_1): Allocate from
18280 function->x_frame_offset, not frame_offset.
18282 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
18284 * ggc.h (lang_cleanup_tree): Remove.
18285 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18286 * ggc-callbacks.c (lang_cleanup_tree): Remove.
18288 * c-decl.c (finish_struct): Use ggc_alloc to allocate
18289 TYPE_LANG_SPECIFIC when garbage collecting.
18290 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18291 (lang_cleanup_tree): Remove.
18293 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
18295 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18296 * crtstuff.c: Not here.
18297 * dwarf2out.c: Or here.
18298 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18301 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
18303 * function.h (free_after_compilation): Remove decl parameter.
18304 (free_varasm_status0: Likewise.
18305 (free_emit_status): Likewise.
18306 (free_stmt_status): Likewise.
18307 (free_after_compilation): Likewise.
18308 (init_lang_status): New variable.
18309 (free_lang_status): Likewise.
18310 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18311 * function.c (init_lang_status): New variable.
18312 (free_lang_status): Likewise.
18313 (push_function_context_to): Don't set function::decl here.
18314 (free_after_copmilation): Make decl parameter implicit. Call
18315 free_lang_status if defined.
18316 (prepare_function_start): Call init_lang_status if defined.
18317 (init_function_start): Set function::decl here.
18318 * profile.c (output_func_start_profiler): Don't call pushdecl
18319 until we've actually started the function.
18320 * stmt.c (free_stmt_status): Make decl parameter implicit.
18321 * toplev.c (rest_of_compilation): Don't pass decl to
18322 free_after_compilation.
18323 * varasm.c (free_varasm_status): Likewise.
18325 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18327 * except.c (call_get_eh_context): Add root when allocating static
18330 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
18332 * arm.c: Include "ggc.h".
18333 (arm_add_gc_roots): New function.
18334 (arm_override_options): Call it.
18335 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18337 * arm.md (define_asm_attributes): Add a pool_range attribute.
18339 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
18341 * extend.texi (Volatiles): New node.
18343 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
18345 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18346 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18347 (struct ggc_any): Replace `mark' with `magic_mark'.
18348 (ggc_alloc_string): Use memcpy, not bcopy.
18349 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
18350 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18351 (ggc_free_any): New.
18352 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
18353 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
18354 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
18355 Use IS_MARKED. Use ggc_free_any.
18357 1999-09-09 Scott Bambrough <scottb@netwinder.org>
18359 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18361 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
18363 * toplev.c (main): Always init_ggc.
18365 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
18367 * except.c (find_all_handler_type_matches): Free the list if
18368 we found no matches.
18370 * combine.c (SUBST): Break out to a real function do_SUBST.
18371 (SUBST_INT): Likewise.
18372 * gcse.c (free_pre_mem): Free `temp_bitmap'.
18373 (pre_insert): Free `inserted'.
18374 * loop.c (basic_induction_var): Always set `location'.
18376 * function.c (expand_function_end): Add initial_trampoline as a root.
18377 * rtl.h (init_varasm_once): Declare.
18378 * toplev.c (compile_file): Call it.
18379 * ggc-simple.c (ggc_mark_string_ptr): New.
18380 (ggc_add_string_root): New.
18381 (ggc_collect): Disable collection avoidance temporarily.
18382 * ggc.h (ggc_add_string_root): Declare.
18383 * except.c (create_rethrow_ref): Use ggc_alloc_string.
18384 * optabs.c (init_libfuncs): Likewise.
18385 * varasm.c (named_section): Use ggc_alloc_string.
18386 (make_function_rtl): Likewise.
18387 (make_decl_rtl): Likewise.
18388 (assemble_static_space): Likewise.
18389 (assemble_trampoline_template): Likewise.
18390 (output_constant_def): Likewise.
18391 (force_const_mem): Likewise.
18392 (mark_const_hash_entry): New.
18393 (mark_pool_sym_hash_table): New.
18394 (mark_varasm_state): Use it.
18395 (init_varasm_once): New.
18397 * expr.h (init_one_libfunc): Declare.
18398 * optabs.c (init_one_libfunc): New.
18399 (init_optabs): Use it.
18400 * config/gofast.h: Likewise.
18401 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18402 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18404 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
18406 * Makefile.in (cppexp.o): Depend on cpphash.h.
18407 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18409 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18410 * cpplib.c (do_define): Generalise to handle poisoned definitions,
18411 redefining poisoned identifiers, etc.
18412 (do_undef): Don't allow poisoned identifiers to be undefined.
18413 (do_pragma): Add #pragma poison.
18414 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18416 * cccp.c: Add T_POISON node type.
18417 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18419 (do_define): Generalise to handle poisoned definitions,
18420 redefining poisoned identifiers, etc.
18421 (do_undef): Don't allow poisoned identifiers to be undefined.
18422 (do_pragma): Add #pragma poison.
18423 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18425 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18426 * c-pragma.h: Add ps_poison state. We now always have generic
18429 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
18431 * ggc.h (ggc_alloc): New function.
18432 (ggc_mark): Likewise.
18433 * ggc-simple.c (ggc_any): New structure.
18434 (ggc_status): Add anys.
18435 (n_anys_collected): New variable.
18436 (ggc_alloc): Define.
18437 (ggc_mark): Likewise.
18438 (ggc_collect): Collect the anys.
18440 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18442 * c-decl.c (mark_binding_level): Make static to match prototype.
18444 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
18446 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18448 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
18450 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18451 will use into account. Expand the max width to 5.
18454 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
18456 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18457 for the rtx length.
18459 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
18461 * alpha.md (call value patterns): Remove the result predicates.
18463 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
18465 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18468 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18470 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18471 changed from extern char *, to extern PTR. Also fix typo in
18472 NEED_DECLARATION_REALLOC test.
18474 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18476 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18478 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18479 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18480 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18481 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18483 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18485 * cccp.c (pcfinclude): Likewise.
18487 * global.c (allocno_compare): Likewise.
18489 * haifa-sched.c (rank_for_schedule): Likewise.
18491 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18493 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18495 * stupid.c (stupid_reg_compare): Likewise.
18497 * tree.c (_obstack_allocated_p): Likewise.
18499 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18501 1999-09-08 Bruce Korb autogen@linuxbox.com
18503 * Makefile.in: Give the hapless gperf user a hint about
18504 why "gperf -F" fails.
18506 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
18508 * lists.c: Include ggc.h.
18510 (init_EXPR_INSN_LIST_cache): Install it.
18512 * ggc-simple.c (init_ggc): Absorb the old init.
18513 (ggc_push_context): Use xcalloc.
18514 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18515 (ggc_collect): Add [rvts] tags to the collection stats.
18517 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
18519 * cccp.c (main): Fix handling of -include and -imacros options.
18521 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
18523 * cpplib.c (cpp_push_buffer): Fix order of arguments.
18525 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18527 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18530 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
18532 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18533 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18534 and SET_DEST. Update comment.
18536 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18538 * config/c4x/c4x.c: Include ggc.h.
18539 (c4x_add_gc_roots): New function.
18540 (c4x_override_options): Call c4x_add_gc_roots.
18542 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
18544 * defaults.h (TARGET_ESC): Move ...
18545 * system.h: ... here, where Linas had it in the first place. Silly me.
18547 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
18549 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18550 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18551 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18552 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18553 * defaults.h (TARGET_ESC): Add default.
18555 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
18557 * configure.in: add i370-*-openedition, i370-*-mvs and
18558 i370-*-linux targets
18560 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
18562 * dsp16xxx.c: Include ggc.h
18563 (override_options): Mark GC roots.
18564 * mn10200.c: Include ggc.h.
18565 (asm_file_start): Mark GC roots.
18566 * tahoe.c: Include ggc.h.
18567 (extensible_operand): Mark GC roots.
18569 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
18571 * README: Add section discussing status of ELF ABI.
18572 * i370.c: Fix misc spelling mistakes.
18573 (i370_label_scan): Updated notes, exception handling.
18574 (i370_function_prolog): Simplify ELF stack handling.
18575 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18576 (STACK_GROWS_DOWNWARD): ELF stack grows down.
18577 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18578 * i370.md: (movdi): Add notes.
18579 (floatsidf2): Use stack not rtca for scratch float area.
18580 (iorsi3): Correct operand constraints.
18581 * x-oe: Restore TAROUTOPTS which are used by pax.
18583 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
18585 * rs6000.c: Include ggc.h.
18586 (rs6000_add_gc_roots): New function.
18587 (override_options): Call it.
18589 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
18591 * alpha.h (alpha_compare): New.
18592 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18593 * alpha.c: Likewise for the definitions.
18594 (alpha_emit_conditional_branch): Update for alpha_compare.
18595 (alpha_emit_conditional_move): Likewise.
18596 * alpha.md (cmpdf, cmpdi): Likewise.
18597 (setcc patterns): Likewise. Zero alpha_compare after use.
18598 (sne): Optimize (x != 0) into (0U < x).
18600 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
18602 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18603 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18604 (INIT_EXPANDERS): Remove.
18605 * alpha.c: Include ggc.h.
18606 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18607 (alpha_init_machine_status, alpha_mark_machine_status): New.
18608 (override_options): Install them.
18609 (struct machine_function): Moved to alpha.h.
18610 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18611 (alpha_init_expanders): Remove.
18612 (alpha_return_addr): Adjust to use current_function->machine.
18613 (alpha_ra_ever_killed): Likewise.
18614 (alpha_expand_epilogue): Likewise.
18615 * alpha.md (eh_epilogue): Likewise.
18617 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
18618 Melissa O'Neill <oneill@cs.sfu.ca>
18619 Geoffrey Keating <geoffk@cygnus.com>
18621 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18622 call-used registers (call-saved registers must still be contiguous
18623 and end with r31, of course).
18625 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
18627 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18628 (self_promoting_type_p): Delete.
18629 (self_promoting_args_p): Move ...
18630 * c-common.c: ... here.
18631 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18632 (simple_type_promotes_to): New.
18633 * builtins.c (lang_type_promotes_to): New.
18634 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18635 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18636 * c-common.h: ... here.
18637 (self_promoting_args_p, simple_type_promotes_to): Declare.
18638 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18639 (grokdeclarator): Likewise.
18640 * tree.h (lang_type_promotes_to): Declare.
18642 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
18644 Add some machine-dependent GC roots.
18645 * sparc.c: Include ggc.h.
18646 (sparc_add_gc_roots): New function.
18647 (mark_ultrasparc_pipeline_state): Likewise.
18648 (override_options): Call sparc_add_gc_roots.
18649 * pa.c: Include ggc.h.
18650 (pa_add_gc_roots): New function.
18651 (mark_deferred_plabels): Likewise.
18652 (override_options): Call pa_add_gc_roots.
18653 * mips.c: Include ggc.h.
18654 (mips_add_gc_roots): New function.
18655 (override_options): Use it.
18657 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18659 * cpperror.c (cpp_file_line_for_message): Constify a char*.
18661 * cppexp.c (parse_number, parse_charconst, cpp_lex,
18662 cpp_parse_expr): Add static prototypes.
18663 (parse_charconst): Don't cast away const-ness.
18664 (token): Constify a char*.
18666 * cppfiles.c (file_name_list, include_hash, find_include_file,
18667 finclude, initialize_input_buffer): Constify a char*.
18668 (file_cleanup, find_position): Add static prototypes.
18670 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18671 collect_expansion): Add static prototypes.
18672 (cpp_install, create_definition, monthnames): Constify a char*.
18674 * cpphash.h (cpp_install): Likewise.
18676 * cppinit.c (known_suffixes, default_include,
18677 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18678 (base_name, dump_special_to_buffer, initialize_dependency_output):
18679 Add static prototypes.
18681 * cpplib.c (my_strerror): Constify a char*.
18682 (null_underflow, null_cleanup, skip_comment, copy_comment,
18683 copy_rest_of_line, handle_directive, pass_thru_directive,
18684 get_directive_token, read_line_number, cpp_print_file_and_line,
18685 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18686 v_cpp_warning_with_line, detect_if_not_defined,
18687 consider_directive_while_skipping): Add static prototypes.
18688 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18689 cpp_pedwarn_with_file_and_line): Constify a char*.
18691 * cpplib.h (cpp_options, include_hash, progname, definition,
18692 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18693 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18694 find_include_file, deps_output, include_hash): Constify a char*.
18696 * cppmain.c (progname): Constify.
18697 (main): Add prototype. Use return, not exit.
18699 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18700 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18701 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18702 check_protection): Add static prototype.
18704 (progname, recognized_macrom, recognized_extern): Constify a char*.
18705 (main): Add prototype.
18707 * gen-protos.c (progname): Constify a char*.
18709 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
18711 * emit-rtl.c (free_emit_status): Take decl as a parameter.
18712 (init_emit_once): Add more GC roots.
18713 * except.c (mark_func_eh_entry): New function.
18714 (mark_eh_node): Mark false_label and rethrow_label.
18715 (init_eh): Add more GC roots.
18716 * function.c (free_after_compilation): Take decl as a paramter.
18717 Call free_stmt_status.
18718 (mark_function_state): Don't assume x_parm_reg_stack_loc is
18720 * function.h (free_after_compilation): Change prototype.
18721 (free_varasm_status): Likewise.
18722 (free_emit_status): Likewise.
18723 (free_stmt_status): New function.
18724 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18725 Remove, replacing with ...
18726 (ggc_status): New structure.
18727 (ggc_chain): New variable.
18728 (init_gcc): Define.
18729 (ggc_push_context): New function.
18730 (ggc_pop_context): Likewise.
18731 (ggc_alloc_rtx): Adjust for use of ggc_chain.
18732 (ggc_alloc_rtvec): Likewise.
18733 (ggc_alloc_tree): Likewise.
18734 (ggc_alloc_string): Likewise.
18735 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
18736 (ggc_mark_tree): Give language-dependent code a chance to mark
18738 (ggc_mark_tree_varray): Handle empty arrays.
18739 (ggc_collect): Adjust for use of ggc_chain. Clear
18740 bytes_alloced_since_last_gc.
18741 * ggc.h (ggc_pop_context): New function.
18742 (ggc_push_context): Likewise.
18743 * print-tree.c (print_node): Don't print obstacks when GC'ing.
18744 * stmt.c (free_stmt_status): New function.
18745 (init_stmt_for_function): Clear last_expr_value.
18746 * toplev.c (rest_of_compilation): Always call free_after_compilation.
18747 Conditionalize call to ggc_collect.
18748 (main): Call init_ggc.
18749 * tree.c (push_obstacks): Do the push, even when GC'ing.
18750 (push_obstacks_nochange): Likewise.
18751 (pop_obstacks): Liekwise.
18752 * varasm.c (free_varasm_status): Take decl as a parameter.
18754 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
18756 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
18757 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
18758 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
18759 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
18761 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
18763 * pa/x-pa-mpeix: New file for the MPE port.
18765 * pa/quadlib.asm: New file for long double support.
18767 * configure.in: Add hppa1.0-*-mpeix for MPE port.
18768 * configure: Rebuilt.
18770 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
18772 * final.c (shorten_branches): Fix last change.
18774 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
18776 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
18778 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
18780 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
18783 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18785 * c-aux-info.c (concat): Don't define.
18787 * cccp.c (my_strerror): Likewise. All callers changed to use
18789 (do_include): Call xstrdup, not xmalloc/strcpy.
18790 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
18791 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
18793 * collect2.c (my_strsignal): Likewise. All callers changed to use
18795 (locatelib): Call xstrdup, not xmalloc/strcpy.
18797 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
18799 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
18801 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
18803 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
18805 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
18807 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
18809 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
18811 (find_all_handler_type_matches): Likewise. Don't check return
18813 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
18814 xmalloc, not malloc.
18815 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
18817 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
18818 (init_spec): Call xcalloc, not xmalloc/bzero.
18819 (set_spec): Call xstrdup, not save_string.
18820 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
18821 (find_a_file): Call xstrdup, not xmalloc/strcpy.
18822 (process_command): Call xstrdup, not save_string.
18823 (main): Call xcalloc, not xmalloc/bzero.
18825 * gcov.c (xmalloc): Don't define.
18826 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
18827 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
18828 (output_data): Call xcalloc, not xmalloc/bzero.
18830 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
18832 * mips-tdump.c (xmalloc): Don't define.
18833 (print_symbol): Call xmalloc, not malloc.
18834 (read_tfile): Call xcalloc, not calloc.
18836 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
18837 Don't define. All callers of xfree/my_strsignal changed to use
18838 free/strsignal instead.
18839 (allocate_cluster): Call xcalloc, not calloc.
18841 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
18842 Fix memory leak, free allocated memory.
18844 * prefix.c (translate_name): Call xstrdup, not save_string.
18845 (update_path): Likewise.
18847 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
18849 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
18850 Don't define. Callers of xfree/savestring2 changed to use
18851 free/concat instead.
18853 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
18854 (init_elim_table): Likewise.
18856 * resource.c (init_resource_info): Likewise.
18858 * stupid.c (stupid_life_analysis): Likewise.
18860 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
18861 (open_dump_file): Call concat, not xmalloc/strcpy/...
18862 (clean_dump_file): Likewise.
18863 (compile_file): Call xstrdup, not xmalloc/strcpy.
18865 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
18867 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
18868 * v850.c (v850_va_arg): New.
18870 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18872 * haifa-sched.c: Tidy comments.
18874 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18876 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
18877 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
18878 $(out_object_file)): Depend on ggc.h.
18879 * c-common.c: Include "ggc.h".
18880 (combine_strings): If doing GC, use ggc_alloc_string.
18881 * c-decl.c: Include "ggc.h".
18882 (ggc_p): Define with value 0.
18883 (mark_binding_level): New function.
18884 (init_decl_processing): Add GC roots.
18885 (mark_c_function_context): New function.
18886 (lang_mark_false_label_stack): New function.
18887 (lang_mark_tree): New function.
18888 (lang_cleanup_tree): New function.
18889 * c-lang.c: Include "ggc.h".
18890 (lang_init): Call c_parse_init.
18891 * c-lex.c: Include "ggc.h".
18892 (check_linenum): If doing GC, don't copy filenames to permanent
18894 * c-parse.in: Include "ggc.h".
18895 (c_parse_init): New function.
18896 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
18897 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
18899 * except.c (mark_eh_state): Mark more state.
18900 * function.c (mark_function_state): Likewise.
18901 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
18902 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
18903 * toplev.c (mark_file_stack): New function.
18904 (compile_file): If doing GC, use ggc_alloc_string on input filename.
18905 (main): Add root for input_file_stack.
18907 * i386.c: Include "ggc.h".
18908 (ix86_mark_machine_status): New function.
18909 (override_options): Set mark_machine_status.
18911 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18913 * tree.c (copy_node): Copy node contents also if doing GC.
18915 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18917 * collect2.c (scan_libraries): Fix double-thinko :-).
18919 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
18921 * collect2.c (scan_libraries): Fix thinko.
18923 * cse.c (delete_trivially_dead_insns): Do not skip the last
18924 insn if it is a real insn.
18926 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
18928 * Makefile.in (ggc-simple.o): Depend on hash.h.
18929 * ggc.h (ggc_add_tree_hash_table_root): Declare.
18930 (ggc_mark_tree_varray): Likewise.
18931 (ggc_mark_tree_hash_table): Likewise.
18932 * ggc-simple.c: Include hash.h.
18933 (ggc_mark_tree_hash_table_ptr): New function.
18934 (ggc_mark_tree_hash_table_entry): Likewise.
18935 (ggc_mark_tree_hash_table): Likewise.
18936 (ggc_add_tree_hash_table_root): Likewise.
18937 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
18938 rtx, when defining fields.
18940 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
18942 * profile.c (output_func_start_profiler): Remove apparently
18943 nonsensical call to start_sequence.
18945 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
18947 * clipper/clipper.c (clipper_va_start): Fix typos.
18949 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
18950 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
18951 (spur_va_arg): New stub.
18953 * configure.in: Comment out pyramid.
18955 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
18957 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
18958 don't conflict with the bits that win32, cygwin, and dgux
18961 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
18962 Bernd Schmidt <bernds@cygnus.co.uk>
18964 * integrate.c (function_cannot_inline_p): Do not inline
18965 functions with forced labels.
18967 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
18968 Bernd Schmidt <bernds@cygnus.co.uk>
18969 Mark Mitchell <mark@codesourcery.com>
18971 * Makefile.in (ggc-simple.o): Depend on varray.h.
18972 (rtl.o): Depend on ggc.h.
18973 (genattrtab.o): Depend on ggc.h.
18974 (print-tree.o): Likewise.
18975 (fold-const.o): Likewise.
18976 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
18977 (make_insn_raw): Don't cache insns when GC'ing.
18978 (emit_insn_before): Likewise.
18979 (emit_insn_after): Likewise.
18980 (emit_insn): Likewise.
18981 (start_sequence): Use xmalloc to allocate the sequence_stack.
18982 (end_sequence): Add free to free it.
18983 (gen_sequence): Don't cache insns when GC'ing.
18984 (clear_emit_caches): Don't use sequence_element_free_list.
18985 (init_emit): Use xcalloc, not xmalloc+bzero.
18986 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
18987 * function.c (pop_function_context_from): Use free to free the
18988 fixup_var_refs_queue.
18989 (put_reg_into_stack): Allocate it with xmalloc.
18990 * genattrtab.c: Include ggc.h.
18991 (operate_exp): Don't use obstack_free when GC'ing.
18992 (simplify_cond): Likewise.
18993 (simplify_text_exp): Likewise.
18994 (optimize_attrs): Likewise.
18995 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
18997 (gencode): Generate a #include for ggc.h.
18998 * ggc-callbacks.c (ggc_p): Define it to zero.
18999 * ggc-none.c (ggc_p): Likewise.
19000 * ggc-simple.c: Include varray.h.
19001 (ggc_mark_tree_varray): New function.
19002 (ggc_add_tree_varray_root): Likewise.
19003 (ggc_mark_tree_varray_ptr): Likewise.
19004 * ggc.h (ggc_p): Declare.
19005 (varray_head_tag): Likewise.
19006 (ggc_add_tree_varray_root): Declare.
19007 * print-tree.c (print_node): Don't check for TREE_PERMANENT
19008 inconsistencies when GC'ing.
19009 * rtl.c: Include ggc.h.
19010 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19011 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19012 (rtx_free): Don't call obstack_free when GC'ing.
19013 * toplev.c (rest_of_compilation): Call ggc_collect after every
19015 * tree.c (push_obstacks): Do nothing, if GC'ing.
19016 (pop_obstacks_nochange): Likewise.
19017 (pop_obstacks): Likewise.
19018 (make_node): Use ggc_alloc_tree when GC'ing.
19019 (copy_node): Likewise.
19020 (get_identifier): Use ggc_alloc_string when GC'ing.
19021 (build_string): Likewise.
19022 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19023 (tree_cons): Likewise.
19024 (build1): Likewise.
19025 (type_hash_canon): Don't call obstack_free when GC'ing.
19027 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
19029 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19030 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19032 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
19033 Bernd Schmidt <bernds@cygnus.co.uk>
19034 Mark Mitchell <mark@codesourcery.com>
19036 * Makefile.in (stor-layout.o): Depend on ggc.h.
19037 (expr.o): Depend on ggc.h.
19038 (profile.o): Depend on ggc.h.
19039 (stor-layout.o): Depend on ggc.h.
19040 * emit-rtl.c (init_emit_once): Add gc roots.
19041 * expr.c: Include ggc.h.
19042 (emit_block_move): Add gc roots.
19043 (clear_storage): Likewise.
19044 * expr.h (init_stor_layout_once): New function.
19045 * profile.c: Include ggc.h.
19046 (init_arc_profiler): profiler_label is a root.
19047 * scan.c (make_sstring_space): Trust xrealloc to function
19048 correctly with first parameter NULL.
19049 * stor-layout.c: Include ggc.h.
19050 (set_sizetype): Add gc root.
19051 (init_stor_layout_once): New function.
19052 * toplev.c (compile_file): Call it.
19054 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
19055 Bernd Schmidt <bernds@cygnus.co.uk>
19056 Mark Mitchell <mark@codesourcery.com>
19058 * Makefile.in (tree.o): Depend on ggc.h.
19059 (varasm.o): Likewise.
19060 (function.o): Likewise.
19061 (stmt.o): Likewise.
19062 (except.o): Likewise.
19063 (optabs.o): Likewise.
19064 (emit-rtl.o): Likewise.
19065 * emit-rtl.c: Include ggc.h.
19066 (sequence_element_free_list): Remove, and all references.
19067 (mark_sequence): New functions.
19068 (mark_emit_state): New function.
19069 * except.c: Include ggc.h.
19070 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19071 (mark_tree_label_node): New functions.
19072 (mark_eh_state): New function.
19073 * function.c: Include ggc.h.
19074 (mark_temp_slot, mark_function_chain): New functions.
19075 (mark_function_state): New function.
19076 (init_function_once): New function.
19077 * function.h (init_function_once): New function.
19078 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19079 * ggc.h (label_node): Declare.
19080 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19081 (lang_mark_false_label_stack): New function.
19082 (mark_temp_slot): Remove declaration.
19083 (mark_function_chain): Likewise.
19084 (mark_eh_state): Adjust prototype.
19085 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19087 * optabs.c: Include ggc.h.
19088 (mark_optab): New function.
19089 (init_optabs): Add gc roots.
19090 * stmt.c: Include ggc.h.
19091 (mark_cond_nesting, mark_loop_nesting): New functions.
19092 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19093 (mark_stmt_state): New function.
19094 * toplev.c (compile_file): Call init_function_once.
19095 * tree.c: Include ggc.h.
19096 (type_hash): Move declaration earlier in file.
19097 (TYPE_HASH_SIZE, type_hash_table): Likewise.
19098 (init_obstacks): Add gc roots.
19099 (mark_type_hash): New function.
19100 * varasm.c: Include ggc.h.
19101 (mark_pool_constant): New function.
19102 (mark_varasm_state): New function.
19104 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19106 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19108 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19110 * c-decl.c (struct language_function): Renamed from struct c_function.
19112 (c_function_chain): Delete.
19113 (push_c_function_context): New arg F. Don't warn about nested
19114 functions here. Fill LANGUAGE elt of F. Delete code to update
19115 c_function_chain. Don't call push_function_context.
19116 (pop_c_function_context): New arg F. Restore from there instead of
19117 from c_function_chain. Don't call pop_function_context. Clear out
19118 LANGUAGE field of F when done.
19119 * c-lang.c: Include "function.h"
19120 (lang_init): Initialize save_lang_status and restore_lang_status.
19121 * c-parse.in (nested_function, nested_function_notype): Warn about
19122 nested functions. Call push_function_context/pop_function_context
19123 instead of the _c_ variants.
19124 * c-tree.h (push_c_function_context, pop_c_function_context): Update
19126 * Makefile.in (c-lang.o): Update dependencies.
19128 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19129 regno_pointer_flag, regno_pointer_align.
19130 (gen_reg_rtx): Use xrealloc to enlarge them.
19131 (free_emit_status): New function.
19132 * function.c (mark_machine_status, mark_lang_status): New variables.
19133 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
19134 in some bits from assign_stack_local. All callers changed to use new
19136 (assign_stack_local): Just call assign_stack_local_1.
19137 (free_after_compilation): New function.
19138 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19139 (trampoline_address): Likewise.
19140 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19141 (prepare_function_start): Explicitly clear some more variables.
19142 * function.h (struct function): New elt can_garbage_collect.
19143 (mark_machine_status, mark_lang_status): Declare variables.
19144 (free_after_compilation, free_emit_status, free_varasm_status,
19145 init_varasm_status): Declare functions.
19146 * toplev.c (rest_of_compilation): Call free_after_compilation when
19147 done with the current function.
19148 * varasm.c (free_varasm_status): New function.
19150 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
19152 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19153 (EXPAND_BUILTIN_VA_ARG): Define.
19154 * sparc.c (sparc_va_start): New.
19155 (sparc_va_arg): New.
19157 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19159 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19161 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19163 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19165 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
19167 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19168 (OBJS): Add $(GGC).
19169 (ggc-callbacks.o): New target.
19170 * ggc-callbacks.c: New file.
19172 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19174 * expr.h: Collapse individual optab and libfunc vars to arrays.
19175 (optab_index, libfunc_index): New enumerations.
19176 (optab_table, libfunc_table): New arrays.
19177 Add accessor macros for both.
19179 * optabs.c (optab_table, libfunc_table): New.
19180 Delete declarations for individual optab and libfunc vars.
19182 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
19184 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19186 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19188 * Makefile.in (GGC, GGC_LIB): New.
19189 (HOST_RTL): Include ggc-none.o.
19190 (ggc-simple.o): New target.
19191 (ggc-none.o): Likewise.
19192 * tree.h (tree_common): Add gc_mark.
19193 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19194 (struct rtvec_def): Add gc_mark.
19195 * emit-rtl.c (global_rtl): Update static initializers to contain
19196 enough initializers.
19197 * ggc.h, ggc-none.c, ggc-simple.c: New files.
19198 * toplev.c (gc_time): New variable.
19199 (all_time): New variable.
19200 (compile_file): Print gc time.
19201 (print_time): Calculate percentage of the whole.
19203 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19205 Change obstack memory management and varasm constant pool handling so
19206 that nested functions are treated like any other functions.
19207 * function.c (init_machine_status): New variable.
19208 (push_function_context_to): Set contains_functions for the outer
19209 function. Don't call save_varasm_status.
19210 (pop_function_context_from): Don't call restore_varasm_status. Don't
19211 set current_function_contains_functions.
19212 (prepare_function_start): Call init_varasm_status rather than
19213 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
19215 * function.h (struct function) Add field varasm. Delete fields
19216 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19217 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19218 (init_machine_status): Declare.
19219 (save_varasm_status, restore_varasm_status): Delete declarations.
19220 (save_tree_status, restore_tree_status): Delete last argument.
19221 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
19222 code. All callers changed.
19223 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19224 save_constants_in_decl_trees, restore_constants, save_constants,
19225 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19227 (inlining): New variable.
19228 (reg_map, label_map, insn_map, orig_asm_operands_vector,
19229 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19231 (save_for_inline_nocopy): Don't save constants.
19232 Don't set inl_emit field in current_function.
19233 (expand_inline_function): Use emit field, not inl_emit, of the inlined
19234 function. Set new variable inlining before
19235 calling copy_rtx_and_substitute.
19236 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19237 constant pool references if inlining is nonzero.
19238 Delete ADDRESS and (most of the) CONST cases.
19239 (output_inline_function): Save and restore current_function/
19240 current_function_decl. Delete restore_constants code. Don't call
19241 init_const_rtx_hash_table.
19242 * output.h (init_const_rtx_hash_table): Don't declare.
19243 * rtl.h (struct function): Declare.
19244 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19245 * toplev.c (rest_of_compilation): Don't treat nested functions or
19246 functions containing them specially. Delete all code to deal with
19247 save_for_inline_copying.
19248 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19249 inline_obstacks): Delete variables.
19250 (save_tree_status): Lose arg CONTEXT. All callers changed.
19251 Simply allocate a new function_maybepermanent_obstack for the new
19252 function, delete all the special cases.
19253 Don't save inline_obstacks.
19254 (restore_tree_status): Lose arg CONTEXT. All callers changed.
19255 Delete special handling for function_maybepermanent_obstack; simply
19257 Don't restore inline_obstacks.
19258 (permanent_allocation): Delete code that frees inline_obstacks.
19259 (print_inline_obstack_statistics): Delete function.
19260 (dump_tree_statistics): Don't call it.
19261 * varasm.c (struct varasm_status): New.
19262 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19263 last_pool, pool_offset, const_double_chain): Delete global
19264 variables, replace with accessor macros.
19265 (immed_double_const): Don't walk const_double_chain outside a
19266 function, but don't treat nested functions specially anymore.
19267 (immed_real_const_1): Likewise.
19268 (clear_const_double_mem): Don't treat nested functions specially.
19269 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19270 (save_varasm_status, restore_varasm_status): Delete functions.
19271 (init_varasm_status): New function.
19272 (force_const_mem): Don't treat nested functions specially.
19273 (find_pool_constant): Accept new arg F, search for constants in
19274 that function's pool rather than the current one. All callers
19276 (get_pool_constant_for_function, get_pool_mode_for_function): New
19279 * i386.c (init_386_machine_status): New function, mostly from
19280 clear_386_stack_locals.
19281 (struct machine_functions): Rename element names to avoid name
19283 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19284 macros, replacing global variables.
19285 (clear_386_stack_locals, save_386_machine_status,
19286 restore_386_machine_status): Delete functions.
19287 (override_options): Initialize init_machine_status.
19288 * i386.h (INIT_EXPANDERS): Delete macro.
19289 (save_386_machine_status, restore_386_machine_status,
19290 clear_386_stack_locals): Delete declarations.
19292 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19294 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19295 (doloop_begin): Simplify pattern and use emit_jump_insn.
19296 (doloop_end): Simplify pattern, switch operand order,
19297 and use emit_jump_insn.
19299 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19301 * function.h (struct function): Add new element LANGUAGE.
19302 (save_lang_status): Declare new variable.
19303 (restore_lang_status): Likewise.
19304 * function.c (save_lang_status): Define.
19305 (restore_lang_status): Likewise.
19306 (push_function_context_to): Call language-specific save function.
19307 (pop_function_context_from): Call language-specific restore function.
19309 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19311 * i386.md (movsf_1): Check REG_P before use of REGNO.
19312 (movdf_1): Likewise.
19313 (movxf_1): Likewise.
19314 (extendsfdf2): Likewise.
19315 (extendsfxf2): Likewise.
19316 (extenddfxf2): Likewise.
19318 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19320 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19321 constants into memory.
19322 (c4x_shiftable_constant): New function.
19323 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19324 (c4x_shiftable_constant): Declare.
19325 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19326 ashlqi3_noclobber): Add new patterns and associated splitters.
19328 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
19330 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19331 * dwarf2out.c (dwarf2out_frame_init): Likewise.
19332 * final.c (shorten_branches): Likewise.
19333 * global.c (global_alloc): Likewise.
19334 * haifa-sched.c (build_control_flow): Likewise.
19335 * stmt.c (check_for_full_enumeration_handling): Likewise.
19336 (estimate_case_costs): Likewise.
19338 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
19340 * rtl.h (RTL_CHECKC2): Fix typo in last change.
19342 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
19344 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19345 (recompute_reg_usage): Likewise.
19346 * rtlanal.c (find_regno_fusage): Likewise.
19348 * rtl.c (rtl_check_failed_code1): New function.
19349 (rtl_check_failed_code2): New.
19350 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19351 (RTL_CHECKC1, RTL_CHECKC2): New.
19352 (XC*): New accessor macros.
19353 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19354 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19355 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19356 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19357 (TRAP_*, RANGE_INFO_*): Likewise.
19359 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19361 * Makefile.in (tlink.o): Don't depend on toplev.h.
19363 * collect2.c (c_file, o_file, export_file, import_file, ldout,
19364 output_file, nm_file_name, ldd_file_name, strip_file_name,
19365 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19366 add_prefix, prefix_from_env, prefix_from_string, do_wait,
19367 fork_execute, maybe_unlink, add_to_list,
19368 extract_init_priority, write_list, dump_list,
19369 dump_prefix_list, write_list_with_asm, write_c_file,
19370 write_c_file_stat, write_c_file_glob, scan_prog_file,
19371 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19372 ignore_library, extract_string, notice, dump_file, target_machine,
19373 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19374 read_file, print_load_command): Constify a char*.
19375 (fdopen, error, fatal, fatal_perror): Don't prototype.
19376 (my_strerror): Remove. All callers use xstrerror instead.
19377 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19378 (main): Add prototype. Constify lots of char* ptrs. Change calls
19379 to xcalloc/strcpy/strcat/... to one call to concat.
19380 (main, scan_prog_file, scan_libraries): Use an intermediate
19381 `const char **' to build an argv array.
19382 (mapfile, libselect, libcompare, locatelib): Add prototypes.
19384 * collect2.h (collect_execute, collect_wait, dump_file,
19385 file_exists): Constify a char*.
19386 (ldout, c_file_name, temporary_obstack, permanent_obstack,
19387 temporary_firstobj, vflag, debug): Add extern declarations.
19388 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19390 * tlink.c: Don't include toplev.h.
19391 (vflag, debug, ldout, c_file_name, temporary_obstack,
19392 permanent_obstack, temporary_firstobj): Don't declare.
19393 (tlink_execute, frob_extension, symbol_hash_lookup,
19394 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19395 recompile_files, read_repo_files, demangle_new_symbols,
19396 scan_linker_output): Constify a char*.
19397 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19398 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19400 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
19402 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19403 (relative) rather than jsr (absolute) subroutine call insns.
19404 * config/m68k/m68k-coff.h: Ditto.
19406 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
19408 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19409 now rework these too.
19410 (arm_reorg): If an insn can't reach the end of the current pool,
19411 ensure that we emit that pool before the insn.
19413 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
19415 * tlink.c (scan_linker_output): Skip the initial underscore in
19416 a mangled name if appropriate.
19418 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19420 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19421 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19422 error_with_ivar, gen_declarator, create_builtin_decl,
19423 my_build_string, generate_descriptor_table, generate_ivars_list,
19424 generate_dispatch_table, check_protocols, TAG_GETCLASS,
19425 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19426 dump_base_name, lang_decode_option, build_encode_expr,
19427 start_class, finish_class, encode_pointer, really_start_method,
19428 gen_declaration, dump_interface, handle_class_ref, handle_impent):
19430 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19431 Add static prototypes.
19432 (build_objc_string_decl, build_selector_reference_decl,
19433 encode_bitfield, build_class_reference_decl): Remove unused
19434 parameter, all callers changed.
19435 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19436 (objc_printable_name): Likewise. Change second parameter to type int.
19437 (init_objc): Use memcpy, not bcopy, to avoid casts.
19439 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
19441 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19442 reg notes on a deleted insn.
19443 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19445 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
19447 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19449 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19451 * stmt.c (expand_asm_operands): Fix index into inout_mode when
19454 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
19456 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19457 * tm.texi (MD_ASM_CLOBBERS): Document it.
19459 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
19461 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19462 * except.c (expand_rethrow): Remove unused variable.
19463 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19464 * flow.c (replace_insns): Likewise.
19465 (create_edge_list, verify_edge_list): Likewise.
19466 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19468 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19469 is special code to run.
19470 (main): Don't define operands to emit_operand.
19471 * genrecog.c (main): Don't emit an empty peephole2_insn function.
19473 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19475 * alpha/alpha.h (normal_memory_operand): Declare.
19476 (reg_no_subreg_operand): Declare.
19477 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19479 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
19481 * c-parse.in (compstmt_primary_start): New, broken out of first
19482 part of compstmt handling in primary.
19483 (primary): Use it. Add an error clause.
19484 (compstmt_nostart): Renamed from compstmt; remove all
19485 initial invocations of compstmt_start.
19488 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
19490 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
19493 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
19495 * combine.c (simplify_shift_const): Remove extra semicolon.
19496 * dwarf2out.c (remove_AT): Likewise.
19497 * expmed.c (expand_mult): Likewise.
19498 * gcov.c (create_program_flow_graph): Likewise.
19499 * reorg.c (mostly_true_jump): Likewise.
19501 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
19503 * fold-const.c (fold_range_test): Do not try to fold the range
19504 test if the rhs or lhs has side effects.
19506 * combine.c (simplify_rtx): Recognize another case of a synthesized
19509 * varasm.c (mark_constant_pool): When marking indirect references,
19510 only look at SYMBOL_REFs.
19512 * except.c (expand_fixup_region_end): Do not peek at
19513 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19515 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
19517 * flags.h: New variables align_loops, align_loops_log,
19518 align_jumps, align_jumps_log, align_labels, align_labels_log,
19519 align_functions, align_functions_log.
19520 * toplev.c: Define them.
19521 (f_options): Handle -falign-* when they have no argument.
19522 (main): Add logic to set variables for -falign-functions,
19523 -falign-jumps, -falign-labels, -falign-loops.
19524 Make it -fsched-verbose=<n> and -finline-limit=<n>.
19525 (display_help): Change help to match options.
19526 * final.c (LABEL_ALIGN): Default to align_labels_log.
19527 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19528 (LOOP_ALIGN): Default to align_loops_log.
19529 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19530 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19531 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19532 * varasm.c (assemble_start_function): Handle align_functions.
19534 * config/sparc/sparc.h: Don't declare sparc_align_*.
19535 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19536 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19538 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19540 * config/sparc/sparc.c: Delete sparc_align_loops,
19541 sparc_align_jumps, sparc_align_funcs and the corresponding string
19543 (sparc_override_options): Default align_functions on ultrasparc.
19544 Delete -malign-* handling.
19546 * config/mips/mips.c (override_options): On 64-bit targets,
19547 try to align code to 64-bit boundaries.
19548 (print_operand): New substitution, %~,
19549 which aligns labels to align_labels_log.
19550 * config/mips/mips.md (div_trap_normal): Use %~.
19551 (div_trap_mips16): Likewise.
19553 (absdi2): Likewise.
19554 (ffssi2): Likewise.
19555 (ffsdi2): Likewise.
19556 (ashldi3_internal): Likewise.
19557 (ashrdi3_internal): Likewise.
19558 (lshrdi3_internal): Likewise.
19559 (casesi_internal): Likewise.
19561 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
19563 Merge new ia32 backend from the branch!
19565 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19566 See ChangeLog.P2 on new_ia32_branch for details.
19568 * rtl.h (stack_regs_mentioned_p): Delete prototype.
19569 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19570 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19571 * i386/gas.h (ASM_FILE_START): Define.
19572 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19573 for name change of ix86_valid_decl_attribute_p.
19574 (i386_pe_valid_type_attribute_p): Similarly.
19576 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
19578 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19579 to step through CC modes.
19581 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19583 * regmove.c (fixup_match_1): Don't move INSN in front of P if
19584 it would end up in the shadow of a live flags regsiter.
19586 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19588 * reload1.c: Fix many indentation problems.
19589 * reload.c: Likewise.
19591 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
19593 * alias.c (non_local_reference_p): Constify fmt.
19595 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
19597 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19599 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
19601 * cse.c (delete_trivially_dead_insns): Do not delete stores to
19602 the internal_arg_pointer.
19604 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
19606 Merge peephole2 from new_ia32_branch:
19607 * Makefile.in (STAGESTUFF): Add *.peephole2.
19608 (mostlyclean): Likewise.
19609 (recog.o): Depend on resource.h.
19611 * final.c (peephole): Conditionalize decl on HAVE_peephole.
19612 (final_scan_insn): Likewise for the invocation of peephole.
19613 * genconfig.c (main): Look for peephole and peephole2 patterns.
19614 Emit HAVE_peephole* accordingly.
19615 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19616 * flags.h (flag_peephole2): Declare.
19617 * toplev.c: New pass peephole2. New flag -fpeephole2.
19619 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19620 * gencodes.c (main): Likewise.
19621 * genextract.c (main): Likewise.
19622 * genoutput.c (main): Likewise.
19623 * genemit.c (max_operand_1): Look for the max scratch operand.
19624 (gen_rtx_scratch): New.
19625 (gen_exp): Use it, and pass on new arg subroutine_type.
19626 (gen_expand): Take max scratch into account.
19627 (gen_split): Emit peephole2 functions.
19628 (output_peephole2_scratch): New.
19629 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
19630 * genrecog.c (routine_type): Add PEEPHOLE2.
19632 (make_insn_sequence): Match outer parallel for peep2. Discard
19633 top level scratches and dups.
19634 (add_to_sequence): New args insn_type and top. Update all callers.
19635 Handle toplevel peep2 matching insns.
19636 (write_subroutine): Handle peep2.
19637 (write_tree_1): Likewise.
19638 (write_tree): Likewise.
19640 (change_state): New arg afterward. Update all callers.
19641 Handle matching separate insns.
19642 * recog.c (recog_next_insn): New.
19643 (peephole2_optimize): New.
19644 * rtl.def (DEFINE_PEEPHOLE2): New.
19645 * resource.c (find_free_register): New argument last_insn. Use it
19646 to find a register available through the entire span.
19647 * resource.h (find_free_register): Update prototype.
19649 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
19651 * i386.c (output_strlen_unroll): Don't write xops[7]
19652 label if it wasn't set.
19654 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
19656 * cpplib.c (struct directive): Const-ify name pointer and
19657 function pointer prototype.
19658 (validate_else, do_define, do_line, do_include, do_undef,
19659 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19660 do_elif, do_endif, do_sccs, do_assert, do_unassert,
19661 do_warning): Const-ify second arg.
19662 (directive_table): Mark const. Reorder entries by frequency
19663 of usage, record statistics.
19665 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19667 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19668 bounds- check RTL accesses if --enable-checking.
19669 (RTVEC_ELT): Bounds check if --enable-checking.
19670 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19671 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19672 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19674 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19675 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
19677 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19678 (NOTE_SOURCE_FILE): Use X0STR.
19679 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19680 MEM_ALIAS_SET): Use X0INT.
19681 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19682 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19684 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19685 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19686 (rtl_check_failed_bounds, rtl_check_failed_type1,
19687 rtl_check_failed_type2, rtvec_check_failed_bounds): New
19689 (fancy_abort): Fix comment.
19691 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19692 (cse_insn): Decrement LABEL_NUSES for jump target before
19693 deleting jump insn.
19694 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19695 * final.c (alter_subreg): Compute regno before changing x to
19696 REG; set REGNO(x) after changing it.
19697 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19698 notes containing CONST_INTs.
19699 (delete_eh_regions): Use NOTE_EH_HANDLER.
19700 * function.c (put_reg_into_stack): Make reg a MEM before
19702 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
19704 (gen_mem_addressof): Make reg a MEM before initializing it.
19705 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19707 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19708 deleting an insn, not after.
19709 (block_alloc): Only look at PATTERN(insn) if we have to, and
19710 only if it's format class 'i'.
19711 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19712 CONST_INT before using its INTVAL.
19713 * print-rtl.c (print_rtx): Use X0STR.
19714 * regmove.c (fixup_match_1): Don't look at PATTERN of
19715 non-class-'i' insn chain elements.
19716 * reload.c (loc_mentioned_in_p): Take address of
19717 in->fld[1].rtx directly.
19718 * reload1.c (reload): Change reg to a MEM before initializing
19720 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19722 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19724 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
19726 * config/mips/mips.c (machine_dependent_reorg): Force a
19727 barrier to output the local constant pool if a barrier hasn't
19728 been found at a natural point in the instruction stream.
19730 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19732 * c-parse.in (language_string): Constify.
19734 * dwarf2out.c (language_string): Remove declaration.
19736 * dwarfout.c (language_string): Likewise.
19738 * toplev.c (language_string, init_parse, finish_parse): Likewise.
19740 * tree.h (language_string, init_parse, finish_parse): Declare.
19742 * i386/sun386.h (language_string): Remove declaration.
19744 * mips.h (language_string): Likewise.
19746 * nextstep.h (language_string): Likewise.
19748 * nextstep21.h (language_string): Likewise.
19750 * rs6000.c (language_string): Likewise.
19752 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19754 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
19755 (getpwd.o): Remove target.
19757 * getpwd.c: Delete file. Its in libiberty now.
19759 * dbxout.c (getpwd): Don't prototype.
19760 * dwarf2out.c (getpwd): Likewise
19761 * dwarfout.c (getpwd): Likewise
19762 * final.c (getpwd): Likewise.
19763 * protoize.c (getpwd): Likewise.
19765 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19767 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
19769 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
19771 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
19772 mark_set_resources.
19774 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
19776 * fixinc/Makefile.in (subdir): New.
19777 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
19780 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
19782 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
19783 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
19786 * invoke.texi: Fix typo.
19788 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
19789 changed. Handle autoincrement addressing modes.
19791 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
19792 just like we would the virtual incoming args register when
19795 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
19797 * rs6000.h (ASM_FILE_START): Specify complete filename, including
19798 path, in .file directive.
19800 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
19802 * gcc.texi (External Bugs): Remove obsolete note about Perl on
19805 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
19807 * stdbool.h: Make the typedef name _Bool, with bool a #defined
19810 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19812 * tree.c (tree_code_name): Constify a char*.
19814 * tree.h (tree_code_name, decl_printable_name): Likewise.
19816 * function.h (struct function): Likewise.
19818 * toplev.c (decl_name, decl_printable_name): Likewise.
19820 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
19822 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
19823 (init_objc): Remove function pointer cast.
19825 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
19827 * pa.md (interspace_jump): New pattern.
19828 (builtin_longjmp): New expander.
19830 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
19832 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
19833 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
19834 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
19836 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
19838 * jump.c (delete_prior_computation): Also check calls
19839 to constant functions. Don't bother checking for a
19840 REG_UNUSED note before adding it.
19841 (delete_computation): Handle multi-word hard registers
19842 when synthesizing missing REG_DEAD notes for a register
19843 which is both set and used by an insn.
19845 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19847 * loop.c (this_loop_info): New variable.
19848 (loop_has_call, loop_has_volatile, loop_has_tablejump,
19849 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
19851 (prescan_loop, strength_reduce): New argument loop_info. All callers
19853 (scan_loop): New variable loop_info, initialise to address of
19855 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
19856 Delete variable loop_has_multiple_exit targets and replace with
19857 field in this_loop_info.
19858 (find_and_verify_loops): Rename this_loop to this_loop_num.
19859 (strength_reduce): Delete loop_iteration_info. Replace variable
19860 loop_info with function argument of same name.
19861 (insert_bct): Rework test for loop being completely unrolled.
19863 * loop.h (struct loop_info): New fields num, loops_enclosed,
19864 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
19865 has_indirect_jump, and cont. Redefine use of unroll_number.
19866 (loop_unroll_number): Delete.
19868 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
19869 field of loop_info.
19870 (loop_iterations): Delete variable vtop and instead use
19871 loop_info->vtop computed in prescan_loop.
19873 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
19875 * fix-header.c (main): Do not pass a null pointer to strcmp.
19877 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
19879 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
19881 * configure: Rebuilt.
19883 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
19885 * jump.c (jump_optimize_1): Do not delete assignments to
19886 internal_arg_pointer.
19887 * cse.c (delete_trivially_dead_insns): Always consider a set of
19888 the internal_arg_pointer live.
19890 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
19892 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
19893 (update_life_info) [REG_WAS_0]: Search the original insns rather
19894 than the new insns for the note. Fix typos finding note_dest.
19895 If no dest found, discard the note rather than abort.
19896 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
19897 (replace_insns): Remove the old insn list after update_life_info
19900 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
19902 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
19903 sched_analyze_insn.
19904 (sched_analyze_1): Let add_dependence care for not adding dups.
19905 (sched_analyze_2): Likewise.
19906 (add_branch_dependences): Likewise.
19908 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
19910 * i386/winnt.c (export_list): New type.
19911 (exports_head): Rename to
19912 (export_head): this.
19913 (i386_pe_record_exported_symbol): Add is_data flag.
19914 (i386_pe_asm_file_end): Emit directive for exported variables.
19915 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
19917 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
19918 (ASM_DECLARE_OBJECT_NAME): Likewise.
19919 (ASM_DECLARE_FUNCTION_NAME): Likewise.
19920 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
19922 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
19924 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
19926 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
19929 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
19931 * config/openbsd.h: Define SET_ASM_OP.
19932 * tm.texi: cross-reference SET_ASM_OP in the index.
19934 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
19936 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
19937 for a CONST_DOUBLE, at compile time. Initialize rtx_length
19938 and class_narrowest_mode at compile time. Kill init_rtl.
19939 Mark rtx_length, mode_class, mode_size, mode_unit_size,
19940 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
19941 rtx_format as const. Kill all references to EXTRA_CC_MODES or
19943 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
19945 * rtl.h: Declare rtx_length and rtx_format as const.
19946 * machmode.def: Define CC(). Use CC() to define CCmode. If
19947 EXTRA_CC_MODES is defined, expand it here.
19948 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
19949 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
19950 const. Kill all references to EXTRA_CC_MODES.
19952 * toplev.c: Don't prototype or call init_rtl.
19953 * optabs.c: Don't call init_mov_optab.
19954 * genemit.c: Don't generate init_mov_optab. Don't call
19956 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
19958 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
19959 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
19960 genrecog.c: Don't call init_rtl.
19962 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
19963 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
19964 definition of EXTRA_CC_MODES.
19966 * md.texi: Kill ref to EXTRA_CC_NAMES.
19967 * tm.texi: Document new way to define EXTRA_CC_MODES.
19969 * genrecog.c: Do not look up the name of a define_split.
19970 (Unrelated bugfix.)
19972 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
19974 * config/v850/v850.md: Fix typo introduced by previous delta.
19976 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19978 * gcc.c (fatal): Make definition static to match prototype.
19980 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19982 * combine.c (get_last_value): Don't look for earlier sets if the last
19983 known set is somewhere in between the insns being combined.
19985 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
19987 * configure.in: Don't use shell ! to negate exit codes
19988 * configure: Regenerate
19990 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
19992 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
19993 the fact that ALIGN is measured in bits, not bytes.
19995 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
19997 * errors.c: New file; defines functions error, warning, and
19998 fatal, variables have_error and progname.
19999 * errors.h: New file; prototypes and decls for stuff in errors.c.
20001 * Makefile: Add rules to build errors.o and
20002 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
20003 genopinit, genrecog, genextract, genpeep, genattr, and
20004 genoutput with errors.o. Add errors.h to deps of genconfig.o,
20005 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20006 genpeep.o, genattr.o, and genoutput.o.
20008 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20009 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
20010 define or prototype fatal. Set progname at beginning of main.
20011 * genoutput.c: Likewise, and don't define or prototype error
20014 * c-typeck.c (c_expand_start_case): Return immediately if exp
20016 * fold-const.c (operand_equal_p): Return immediately if arg1
20017 or arg0 are ERROR_MARKs.
20018 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20019 fields of type ERROR_MARK when calculating if the record can
20022 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
20023 with much help from Jeffrey A Law and Richard Henderson
20025 * i386.md: In the 6 insns which call output_fix_trunc,
20026 earlyclobber operands[0].
20028 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
20030 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20031 creating new registers.
20033 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
20035 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20036 i386_reg_alloc_order, i386_regparm_string,
20037 i386_align_loops_string, i386_align_jumps_string,
20038 i386_align_funcs_string, i386_preferred_stack_boundary_string,
20039 and i386_branch_cost_string as type "const char *".
20040 * i386.c: Define all above strings as type "const char *".
20042 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
20044 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20045 when emitting alignment padding. Emit padding byte of 0 instead of 4.
20047 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
20049 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20050 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20052 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
20054 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20055 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20056 (dwarf2out_line, dwarf2out_finish): Likewise.
20057 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20059 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
20061 * tree.c (lang_unsave_expr_now) : Correct return type.
20062 * tree.h (lang_unsave_expr_now) : Same.
20064 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
20066 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20067 instead of duplicating code.
20069 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20071 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20073 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
20075 * tree.h: fancy_abort always takes three args.
20076 * resource.c: Move include of system.h before toplev.h.
20078 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
20080 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20083 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
20085 * system.h: Don't redefine abort or trim_filename.
20086 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20087 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20088 whether or not __FUNCTION__ is available.
20089 * tree.h: Duplicate rtl.h's definition of abort, for files
20090 that don't include rtl.h. Delete all code to perform type
20091 checking with a compiler other than GCC.
20092 * varray.h: Delete all code to perform type checking with a
20093 compiler other than GCC. Make VARRAY_CHECK() always evaluate
20094 its arguments exactly once, using a statement expression.
20095 Adjust the VARRAY_<type> accessor macros to match.
20096 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20097 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20098 caller's location. Define fatal_insn and fatal_insn_not_found
20099 as macros that use _fatal_insn and _fatal_insn_not_found.
20100 (fancy_abort, trim_filename): Kill prototypes.
20102 * rtl.c (trim_filename): Move here from toplev.c.
20103 (fancy_abort): New function.
20104 (DIR_SEPARATOR): Provide default definition.
20105 * tree.c (tree_check_failed, tree_class_check_failed): Go
20106 through fancy_abort.
20107 (tree_check, tree_class_check, cst_or_constructor_check,
20108 expr_check): Delete.
20109 * varray.c (varray_check_failed): New function.
20110 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20111 _fatal_insn and _fatal_insn_not_found. Go through
20113 (trim_filename, fancy_abort): Delete.
20115 * builtins.c (expand_builtin_args_info): Report ICE with abort.
20116 * except.c (start_catch_handler): Report ICE with error/abort
20118 * final.c (output_operand_lossage): Likewise.
20119 * flow.c (verify_flow_info): Likewise.
20121 * gcc.c: Prototype fatal.
20122 * gengenrtl.c: Undef abort after including rtl.h not system.h.
20123 * genattr.c, genattrtab.c, genemit.c, genextract.c,
20124 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20125 Don't define fancy_abort.
20127 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
20129 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20132 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
20134 * m88k.h (VERSION_INFO2): Kill.
20135 (VERSION_STRING): Kill.
20137 (VERSION_INFO1): Tidy.
20138 (TARGET_VERSION): Update.
20139 * m88k/dgux.h (VERSION_INFO2): Kill.
20140 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20141 * m88k/luna.h (VERSION_INFO1): Tidy.
20142 * m88k/sysv4.h (VERSION_INFO1): Likewise.
20143 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20144 (output_file_start): Adjust for death of VERSION_STRING.
20146 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
20148 * cpplib.c (detect_if_not_defined): New function.
20149 (do_if): Use it to detect potential once-only headers.
20151 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
20153 * c-common.c (combine_strings): Always set TREE_CONSTANT.
20155 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
20157 * combine.c (nonzero_bits) : Allow single-ly set registers to be
20158 anywere in the function only if they are pseudos and set before
20159 being used (not live at the start of the function).
20160 (num_sign_bit_copies) : Same.
20161 (get_last_value_validate) : Same.
20162 (get_last_value) : Same.
20164 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
20166 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20167 where N and M are constant and N is an integer multiple of M.
20169 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20171 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20172 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20173 sbitmap_union_of_preds): Add prototypes.
20174 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20175 the intersection of successors with the new flow graph structures.
20176 (sbitmap_intersection_of_preds): New function to compute the
20177 intersection of predecessors with the new flow graph structures.
20178 (sbitmap_union_of_succs): New function to compute the union of
20179 successors with the new flow graph structures.
20180 (sbitmap_union_of_preds): New function to compute the union of
20181 predecessors with the new flow graph structures.
20182 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20183 (expr_reaches_here_p): Use edge and basic_block structures instead
20184 of s_preds and s_succs.
20185 (compute_cprop_avinout): Use new sbitmap routines.
20186 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20187 of s_preds and s_succs.
20188 * flow.c (compute_flow_dominators): Compute dominators using
20189 edges and basic blocks instead of s_preds and s_succs.
20191 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20193 * lists.c (unused_insn_list, unused_expr_list): New file for
20194 maintaining various types of lists. New statics for maintaining a
20195 cache of available INSN_LIST and EXPR_LIST nodes.
20196 (free_list): Static function for freeing a list of INSN/EXPR nodes.
20197 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20198 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20199 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20200 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20201 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20202 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20203 (free_INSN_LIST_node): Free an individual INSN_LIST node.
20204 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20205 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20206 (remove_dependence, free_pending_lists): Use new global routines.
20207 (flush_pending_lists, sched_analyze_insn): Use new global routines.
20208 (sched_analyze, compute_block_backward_dependences): Use new routines.
20209 (sched_analyze_1, sched_analyze_2): Use new routines.
20210 (schedule_insns): Use new global routines.
20211 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20213 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20214 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20216 * toplev.c (rest_of_compilation): Initialize node cache.
20217 * Makefile.in (OBJS): Add lists.o to list of object files.
20218 (lists.o): Add dependancies.
20220 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
20222 * config/v850/v850.md: Fix compile time warning messages.
20223 * config/v850/v850.c: Fix compile time warning messages.
20224 * config/v850/v850.h: Fix compile time warning messages.
20226 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20228 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20229 Remove unused prototype for `init_lengths'.
20231 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20233 * calls.c (emit_call_1): Mark parameter `stack_size' with
20235 (expand_call): Initialize variable `insn'.
20236 (emit_library_call): Likewise for variable `high_to_save'.
20237 (emit_library_call_value): Likewise.
20238 (store_one_arg): Likewise for variables `lower_bound' and
20241 * combine.c (try_combine): Likewise for variables `i2_code_number'
20242 and `other_code_number'.
20243 (find_split_point): Likewise for variables `pos', `unsignedp' and
20245 (simplify_if_then_else): Likewise for variables `op' and `c1'.
20246 (simplify_and_const_int): Remove unused variable `width'.
20247 (merge_outer_ops): Likewise.
20249 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20250 HOST_WIDE_INT' when comparing against one.
20251 (simplify_relational_operation): Likewise.
20252 (cse_insn): Initialize variables `src_eqv_volatile',
20253 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20255 * final.c (init_final): Constify parameter `filename'.
20256 (final_start_function): Mark parameter `optimize' with
20258 (profile_function): Likewise for parameters `first' and `optimize'.
20259 (output_source_line): Likewise for parameter `file'.
20261 * integrate.c (subst_constants): Cast a value to `size_t' when
20262 comparing against one.
20263 (mark_stores): Initialize variable `mode'. Cast a value to
20264 `size_t' when comparing against one.
20266 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20268 * loop.c (move_movables): Initialize variable `first'.
20269 (strength_reduce): Likewise for variable `increment'.
20270 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
20271 value to `size_t' when comparing against one.
20272 (load_mems): Initialize variable `end_label'.
20274 * output.h (init_final): Constify parameter.
20276 * reload.c (decompose): Initialize variable `base'.
20278 * reload1.c (reload): Likewise for variable `is_scalar'.
20279 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20280 (choose_reload_regs): Initialize variable `mode'.
20281 (emit_reload_insns): Likewise for variable `store_insn'.
20282 (reload_cse_noop_set_p): Mark parameter `insn' with
20284 (reload_combine): Initialize variable `set'.
20286 * unroll.c (unroll_loop): Likewise for variable `local_label'.
20287 (copy_loop_body): Cast a value to `size_t' when comparing against
20290 * varasm.c (assemble_variable): Initialize variable `size_tree'.
20291 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20292 (remove_from_pending_weak_list): Mark parameter `name' with
20295 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20297 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20300 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
20302 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20303 (ASM_DECLARE_FUNCTION_NAME): Define.
20304 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20305 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20306 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20307 not already defined.
20309 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
20311 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20312 of n_popped when call/call_value are not defined.
20314 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
20316 * tm.texi: GNU CC -> GCC conversion.
20317 (CC1_SPEC): Indicate it is used for all language front ends.
20319 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
20321 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20322 NOTE_INSN_EH_REGION_END correctly.
20324 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
20325 Jeff Law <law@cygnus.com>
20327 * loop.c (strength_reduce): Automatically unroll loops if the
20328 unrolled loop size is smaller than the rolled loop size.
20330 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20331 and delete comment that code should be rewritten.
20333 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
20335 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20338 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20340 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
20342 * fixinc/mkfixinc.sh: Don't fix uwin headers.
20343 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20344 (LINK_SPEC): Add -u _main when building executables.
20345 (ASM_DECLARE_FUNCTION): Update from Cygwin.
20346 (ASM_FILE_END): Use the default for ix86-pe.
20347 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20349 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
20351 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20352 and ASM_CLOSE_PAREN are empty strings.
20354 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
20355 Geoffrey Keating <geoffk@cygnus.com>
20357 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20358 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20359 (unprotoize.o): Ditto.
20360 (test-protoize-simple): Don't define STD_PROTO_DIR.
20361 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
20362 changes to make 'test-protoize-simple' pass.
20363 (STD_PROTO_DIR): Remove define.
20364 (STANDARD_EXEC_PREFIX): Supply default define.
20365 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20366 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20367 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20368 (GET_ENV_PATH_LIST): New macro.
20369 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20370 (do_processing): Initialize default_syscalls_dir using new
20371 macros. Use it to initialize syscalls_absolute_filename.
20373 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
20375 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20376 B into a register before emit_conditional_move.
20378 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
20380 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20381 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
20382 multiplicand out of (+ (* a b) (* c d)).
20384 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
20385 Richard Henderson <rth@cygnus.com>
20387 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20388 (new_insn_dead_notes): Likewise.
20389 (update_n_sets): Likewise.
20390 (update_flow_info): Move to flow.c, renamed to update_life_info;
20391 extend to handle multiple source insns.
20392 * flow.c: Include resource.h
20393 (unlink_insn_chain): New.
20394 (split_hard_reg_notes): New.
20395 (maybe_add_dead_note): New.
20396 (maybe_add_dead_note_use): New.
20397 (find_insn_with_note): New.
20398 (new_insn_dead_notes): New.
20399 (update_n_sets): New.
20400 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20401 (maybe_remove_dead_notes): New.
20402 (update_life_info): New.
20403 (prepend_reg_notes): New.
20404 (replace_insns): New.
20405 * output.h (update_life_info): Declare.
20406 * recog.c (split_block_insns): Use update_life_info.
20407 * resource.c (find_free_register): Use reg_alloc_order, don't use
20408 fixed regs, make sure the mode is supported, don't use new regs.
20410 * rtl.h (replace_insns): Declare.
20412 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
20414 * expr.c (expand_expr): Cope with COND_EXPRs with one
20415 non-returning branch.
20417 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
20419 * expr.c (store_expr): Always pass down the target, even when not
20422 1999-08-24 Nick Clifton <nickc@cygnus.com>
20424 * configure.in: Define target_cpu_default for v850 targets.
20425 * configure: Regenerate
20427 * config/v850/v850.h (TARGET_CPU_generic): Define.
20428 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20429 addresses are 4 byte aligned.
20431 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20434 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20436 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
20437 (main): Add prototypes.
20439 * genattrtab.c (substitute_address, write_const_num_delay_slots,
20440 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20441 (write_attr_get): Emit prototypes along with function definition.
20442 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20443 (write_complex_function): Emit static prototype along with
20444 function definition.
20446 * genemit.c (gen_split): Emit prototypes along with function
20449 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20450 Likewise for predicates and `insn_operand_predicate'.
20451 (process_template): Emit static prototype along with function
20454 * genrecog.c (make_insn_sequence): Constify a char*. Add
20455 prototypes for get_split_*().
20456 (write_subroutine): Emit prototypes along with function
20459 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20461 * gcse.c (find_avail_set): Follow chains of register-register copies.
20462 Use oprs_not_set_p to guarantee that the returned value can be
20464 (cprop_insn): Don't verify the return value of find_avail_set with
20467 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20468 (cprop_cc0_jump): New function.
20469 (cprop_insn): Break out new function cprop_jump and use it.
20470 Also use cprop_cc0_jump for machines with CC0.
20471 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20473 * tree.h (current_function_calls_setjmp,
20474 current_function_calls_longjmp): Delete declarations.
20475 * dsp16xx.c: Include "function.h".
20476 * elxsi.c: Likewise.
20477 * gmicro.c: Likewise.
20478 * h8300.c: Likewise.
20479 * i370.c: Likewise.
20480 * m32r.c: Likewise.
20481 * mn10200.c: Likewise.
20482 * mn10300.c: Likewise.
20483 * ns32k.c: Likewise.
20484 * spur.c: Likewise.
20485 * v850.c: Likewise.
20487 * rtl.h (rtx_equal_function_value_matters): Declare.
20488 * toplev.c (rtx_equal_function_value_matters): Don't declare.
20490 * function.c: Likewise.
20491 * emit-rtl.c: Likewise.
20493 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
20495 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20498 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20500 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20503 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
20505 * cpp.texi: Add a node documenting macro varargs (copied
20508 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
20510 * cppspec.c: Put a null pointer at the end of the new argv.
20512 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
20514 * configure.in: Remove code to select/de-select the haifa
20515 scheduler. Every scheduled port gets haifa now.
20516 * configure: Rebuilt.
20517 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20519 * Makefile.in: Corresponding changes.
20521 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20523 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20524 All callers changed.
20525 (prepare_float_lib_cmp): Likewise.
20526 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20527 * expr.h (emit_float_lib_cmp): Delete declaration.
20528 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20529 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20530 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20532 (cmptf): Now conditional on TARGET_HARD_QUAD.
20534 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
20536 * resource.c (mark_target_live_regs): Use
20537 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20539 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20541 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20543 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20545 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20547 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20549 * rtl.h (rtx_format): Constify a char*.
20551 * rtl.c (rtx_format): Likewise.
20552 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20553 (init_rtl): Use accessor macro, not `rtx_format'.
20555 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20558 * caller-save.c (mark_referenced_regs): Likewise.
20560 * combine.c (subst, make_compound_operation, known_cond,
20561 gen_rtx_combine, update_table_tick, get_last_value_validate,
20562 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20564 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20565 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20566 count_reg_usage): Likewise.
20568 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20571 * final.c (leaf_renumber_regs_insn): Likewise.
20573 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20574 dump_edge_info, count_reg_references): Likewise.
20576 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20577 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20580 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20581 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20582 add_label_notes): Likewise.
20584 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20585 clear_struct_flag, count_sub_rtxs, count_alternatives,
20586 compares_alternatives_p, contained_in_p, walk_attr_value,
20587 write_expr_attr_cache): Likewise.
20589 * genconfig.c (walk_insn_part): Likewise.
20591 * genemit.c (max_operand_1, gen_exp): Likewise.
20593 * genextract.c (walk_rtx): Likewise.
20595 * genflags.c (num_operands): Likewise.
20597 * genoutput.c (scan_operands): Likewise.
20599 * genpeep.c (match_rtx): Likewise.
20601 * genrecog.c (add_to_sequence): Likewise.
20603 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20606 * integrate.c (save_constants, copy_for_inline,
20607 copy_rtx_and_substitute, subst_constants, restore_constants):
20610 * jump.c (mark_jump_label, invert_exp, redirect_exp,
20611 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20613 * local-alloc.c (contains_replace_regs, memref_referenced_p):
20616 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20617 add_label_notes, replace_call_address, count_nonfixed_reads,
20618 invariant_p, find_single_use_in_loop, find_mem_givs,
20619 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20622 * print-rtl.c (reg_names, print_rtx): Likewise.
20624 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20626 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20627 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20628 print_blocks): Likewise.
20630 * regclass.c (fix_register, record_address_regs,
20631 reg_scan_mark_refs): Likewise.
20633 * regmove.c (stable_but_for_p): Likewise.
20635 * reload.c (loc_mentioned_in_p, operands_match_p,
20636 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20637 copy_replacements, refers_to_regno_for_reload_p,
20638 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20639 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20642 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20643 delete_address_reloads_1, count_occurrences,
20644 reload_cse_mem_conflict_p, reload_combine_note_use,
20645 add_auto_inc_notes): Likewise.
20647 * resource.c (mark_referenced_resources, mark_set_resources):
20650 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20651 reg_mentioned_p, regs_set_between_p, modified_between_p,
20652 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20653 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20654 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20655 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20657 * sched.c (sched_analyze_2, attach_deaths): Likewise.
20659 * stupid.c (stupid_mark_refs): Likewise.
20661 * unroll.c (remap_split_bivs): Likewise.
20663 * varasm.c (mark_constants): Likewise.
20665 * a29k/a29k.c (uses_local_reg_p): Likewise.
20667 * alpha/alpha.c (summarize_insn): Likewise.
20669 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20670 eliminate_lr2ip): Likewise.
20672 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20674 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20675 reg_mentioned_in_mem): Likewise.
20677 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20678 symbolic_reference_mentioned_p): Likewise.
20680 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20682 * sh/sh.c (regs_used, mark_use): Likewise.
20684 * vax/vax.c (vax_rtx_cost): Likewise.
20686 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20688 * machmode.h (mode_name): Constify a char*.
20690 * rtl.c (mode_name): Likewise.
20692 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20694 * optabs.c (init_libfuncs): Constify a char*.
20696 * print-tree.c (mode_name): Remove redundant declaration.
20697 (print_node): Use accessor macro, not `mode_name'.
20699 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
20701 (new_spill_reg): Constify a char*.
20703 * tree.c (mode_name): Remove redundant declaration.
20705 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20707 * rtl.c (rtx_name): Constify a char*.
20709 * rtl.h (rtx_name, fix_sched_param): Likewise.
20711 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20712 (mypr): Use accessor macro, not `rtx_name'.
20714 * genemit.c (print_code): Constify a char*.
20716 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20718 * genpeep.c (print_code): Constify a char*.
20720 * genrecog.c (print_code): Likewise.
20722 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20723 end_bb): Add static prototype.
20724 (draw_edge): Constify a char*.
20725 (end_bb): Remove unused parameter.
20727 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
20728 print_block_visualization): Constify a char*.
20730 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
20732 * c-common.c (c_get_alias_set): Update comment.
20734 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20736 * linux.h (LIB_SPEC): Added.
20738 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20740 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
20742 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
20744 * tree.c (expr_check): Fix typo in last change.
20746 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
20748 * rtl.def (NOTE): Change format to "iuu0n".
20749 (ADDR_DIFF_VEC): Change format to "eEee0".
20750 (ADDRESSOF): Change format to "eit".
20752 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
20753 (RTVEC_ELT): Change to match.
20754 (XVECEXP): Use XVEC and RTVEC_ELT.
20755 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
20756 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
20757 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
20758 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
20759 TRAP_CONDITION, TRAP_CODE): Use XEXP.
20760 (INTVAL): Use XWINT.
20761 (ADDRESSOF_DECL): Use XTREE.
20762 (SET_ADDRESSOF_DECL): Delete.
20763 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
20764 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
20765 ifdefed out since 2.6 at least.
20766 (gen_rtvec_vv): Delete prototype.
20768 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
20770 (copy_most_rtx): Handle 't' format letter.
20771 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
20772 (gen_rtvec_vv): Delete function. All callers changed to use
20773 gen_rtvec_v instead.
20774 * print-rtl.c (print_rtx): Move special casing of NOTEs to
20775 the '0' format letter.
20777 * function.c (gen_mem_addressof): Don't use
20778 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
20780 * integrate.c (copy_rtx_and_substitute): Likewise.
20781 Copy 't' slots with XTREE.
20782 (subst_constants): Treat 't' slots like '[swi]' slots.
20783 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
20784 * jump.c (rtx_equal_for_thread_p): Likewise.
20785 * rtlanal.c (rtx_equal_p): Likewise.
20786 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
20787 only four arguments.
20788 * gengenrtl.c (type_from_format): Provide correct types for
20792 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
20793 If a recent gcc is in use (always in stage2 and beyond), use
20794 statement expressions, so we don't make a function call unless
20795 the check fails. Evaluate arguments exactly once.
20796 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
20797 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
20799 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
20800 they evaluate their arguments exactly once, irrespective of
20801 the compiler in use.
20803 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
20804 is used by the currently-enabled check macros. This is:
20805 (tree_check_failed, tree_class_check_failed): For gcc.
20806 (tree_check, tree_class_check, cst_or_constructor_check,
20807 expr_check): For other compilers.
20809 * gencheck.c: Do not define any *_CHECK1 macros.
20811 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
20812 Mark Mitchell <mark@codesourcery.com>
20814 * c-common.c (c_get_alias_set): Fix support for poitners and
20817 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
20819 * alias.c: Include tree.h.
20820 (nonlocal_reference_p, mark_constant_function): New functions.
20821 * flow.c (life_analysis): Call mark_constant_function.
20822 * rtl.h (mark_constant_function): Declare it.
20824 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
20826 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
20827 unrecognisable switches.
20829 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20831 * loop.c (recombine_givs): Set ix field after sorting.
20832 (recombine_givs): Remove bogus index / giv lockstep looping.
20834 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20836 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
20838 (emit_store_flag_force): Use do_compare_rtx_and_jump.
20839 (do_cmp_and_jump): Formatting fixes.
20840 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
20841 do_compare_rtx_and_jump instead of compare_from_rtx.
20842 (do_compare_rtx_and_jump): New function; mostly copied from
20844 (do_jump_for_compare): Delete.
20845 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
20847 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
20848 of compare/do_jump_for_compare pairs.
20849 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
20850 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
20851 compare_from_rtx/do_jump_for_compare pairs.
20852 (do_jump_by_parts_equality): Likewise.
20853 (do_jump_by_parts_equality_rtx): Likewise.
20854 * expr.h (do_compare_rtx_and_jump): Declare.
20855 * optabs.c (prepare_cmp_insn): New function, contains most of the code
20856 that used to be in emit_cmp_insn.
20857 (cmp_available_p): New function.
20858 (prepare_operand): New function.
20859 (emit_cmp_and_jump_insn_1): New function, contains some code that used
20860 to be in emit_cmp_insn.
20861 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
20862 parameters to be pointers; don't emit final compare but modify some of
20863 the values pointed to by the args so the caller can perform the
20864 correct comparison.
20865 (expand_binop): Call emit_store_flag_force with signed forms of
20867 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
20868 emit_jump_insn pair.
20869 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
20870 emit_cmp_and_jump_insn_1. Call emit_queue.
20871 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
20873 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
20874 jump sets cc0 before deleting it.
20875 * integrate.c (expand_inline_function): Likewise.
20876 * unroll.c (unroll_loop): Similar changes in several places.
20877 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
20878 before deleting it.
20880 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20882 * Makefile.in (insn-recog.o): Update dependencies.
20883 * genrecog.c (main): Make generated file include "function.h".
20885 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
20887 * cse.c (cse_insn): Call never_reached_warning when a jump is
20888 changed to be unconditional.
20889 * flags.h: Declare warn_notreached.
20890 * flow.c (delete_block): Call never_reached_warning when
20891 a block is deleted.
20892 * jump.c (delete_barrier_successors): Call never_reached_warning
20893 when we delete everything after a BARRIER.
20894 (never_reached_warning): New function.
20895 * rtl.h: Declare never_reached_warning.
20896 * toplev.c (warn_notreached): New variable.
20897 (lang_independent_options): Set warn_notreached
20898 when -Wunreachable-code.
20899 (compile_file): We need line numbers for -Wunreachable-code.
20901 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
20903 * haifa-sched.c (insn_unit): Fix typo on out of range test.
20904 * sched.c (insn_unit): Likewise.
20906 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
20908 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
20910 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20912 * flow.c (create_edge_list): Use xmalloc, not malloc.
20914 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
20916 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
20917 C-style comments. Do not lose the character before double slash.
20919 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20921 * basic-block.h (struct edge_list): Stucture to maintain a vector
20923 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
20924 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
20925 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
20926 New function prototypes.
20927 * flow.c (create_edge_list): Function to create an edge list.
20928 (free_edge_list): Discards memory used by an edge list.
20929 (print_edge_list): Debug output showing an edge list.
20930 (verify_edge_list): Internal consistency check for an edge list.
20931 (find_edge_index): Function to find an edge index for a pred and succ.
20933 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
20935 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
20938 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
20940 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
20942 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
20944 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20946 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
20948 * toplev.c (rest_of_compilation): Allow machine dependent
20949 reorganisation pass to place information into the RTL dump
20950 file if it so wishes.
20952 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
20954 * explow.c (hard_function_value): Use VOIDmode instead of
20956 * stmt.c (expand_return): Likewise.
20957 * stor-layout.c (get_best_mode): Likewise.
20959 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
20960 emit call instead of emit_insn call.
20962 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
20964 * configure.in: Handle --disable/enable-win32-registry.
20965 * install.texi: Document --disable/enable-win32-registry.
20966 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
20967 (WIN32_REGISTRY_KEY): New macro.
20968 * prefix.c: Use to enable/disable win32-specific code.
20969 (lookup_key): Use versioned key.
20970 * configure: Regenerate.
20971 * config.in: Likewise.
20973 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
20975 * cpplib.c (read_line_number): New fn, split out of...
20978 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
20980 tree.c (lang_unsave_expr_now) : New.
20981 (unsave_expr_now): Call lang_unsave_expr_now.
20982 tree.h (lang_unsave_expr_now) : New.
20984 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
20986 * toplev.c (flag_new_exceptions): On by default.
20988 1999-08-13 Michael Meissner <meissner@cygnus.com>
20990 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
20992 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20994 * dwarfout.c (fundamental_type_code): Return FT_boolean for
20995 INTEGER_TYPE with precision==1, it's __java_boolean.
20997 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20999 * global.c (prune_preferences): Move some invariants out of the
21002 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
21004 * configure.in (alpha*-dec-osf*): Add osf5.
21006 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
21008 * configure.in: Rework handling of ARM GNU/Linux slightly.
21009 (arm*-*-linux-gnuoldld): New target.
21010 * configure: Regenerate.
21011 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21012 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
21013 * config/arm/linux-oldld.h: New file.
21014 * config/arm/linux-elf26.h: Don't include linux-elf.h.
21015 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21017 * config/arm/linux-elf.h (ASM_SPEC): Define.
21018 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21019 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21020 for 26-bit APCS and old linker.
21021 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21023 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21024 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21025 don't define `arm' or `arm_elf'.
21026 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21027 MULTILIB_DIRNAMES): Define. Fix typo in comment.
21029 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
21031 * rtl.texi: Fix typo.
21033 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
21035 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21037 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
21039 * extend.texi (C++ Signatures): Remove node.
21040 * invoke.texi: Remove discussion of -fhandle-signatures,
21041 signature, sigof, __signature__, and __sigof__.
21043 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
21045 * Makefile.in (JAVAGC): Removed.
21047 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
21049 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21051 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21053 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21055 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
21057 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21058 a register that is already known to be a pointer.
21060 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
21062 * fixinc/inclhack.tpl: Only install assert.h conditionally.
21063 * fixinc/inclhack.sh: Regenerated.
21064 * fixinc/fixincl.sh: Regenerated.
21066 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
21068 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21069 Fix documentation of -ansi flag to describe its C++ behavior.
21070 Remove bogus reference to GCC 2.9.
21072 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
21074 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21075 note if it is non-NULL.
21077 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21079 * except.h (eh_nesting_info): Add new structure defintion.
21080 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21081 (reachable_handlers, update_rethrow_references): Add function
21083 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
21084 a rethrow symbol instead of an integer exception region number.
21085 * flow.c (Make_edges): Use new exception nesting routines to determine
21086 which handlers are reachable from a CALL or asynchronous insn.
21087 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21089 (delete_eh_regions): Update rethrow labels, and don't delete
21090 regions which are the target of a rethrow.
21091 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21092 avoid overloading the SYMBOL_REF_USED flag.
21093 (rethrow_symbol_map): Use new rethrow_ref field.
21094 (rethrow_used): Use new rethrow_ref field.
21095 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21096 of an integer. Fix formatting.
21097 (output_exception_table_entry): Use new rethrow_ref field.
21098 (can_throw): Check for EH_REGION_NOTE before deciding
21099 whether a CALL can throw or not.
21100 (scan_region): Call rethrow_used() instead of accessing data structure.
21101 (update_rethrow_references): New function to make sure only regions
21102 which are still targets of a rethrow are flagged as such.
21103 (process_nestinfo): New static function to initialize a handler
21104 list for a specific region.
21105 (init_eh_nesting_info): New function to allocate and initialize
21106 the list of all EH handlers reachable from all regions.
21107 (reachable_handlers): New function to retrieve the list of handlers
21108 reachable from a specific region and insn.
21109 (free_eh_nesting_info): New function to dispose of a list of
21110 reachable handlers.
21112 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21114 * flow.c (split_edge): Set JUMP_LABEL field.
21115 (commit_one_edge_insertion): Set head correctly for insert_before.
21116 When inserting insns, update insn block numbers if allocated.
21118 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21120 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21121 retry_incomplete_types): Add static prototype.
21122 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21123 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21124 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21125 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21126 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21129 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21130 dwarf2out_start_source_file, dwarf2out_line): Likewise.
21132 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21134 * output.h (assemble_name): Constify a char*.
21136 * varasm.c (UNIQUE_SECTION, assemble_start_function,
21137 assemble_variable, assemble_name): Likewise.
21139 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21141 * arm/pe.c (arm_pe_unique_section): Likewise.
21143 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21145 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21147 * i386/interix.c (i386_pe_unique_section): Likewise.
21149 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21151 * i386/winnt.c (i386_pe_unique_section): Likewise.
21153 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21155 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21157 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21159 * pa/pa.c (output_call): Likewise.
21161 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21163 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21165 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21168 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21171 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21173 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21174 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21176 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21178 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21180 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21182 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21184 * tree.h (lang_identify): Constify a char*.
21185 (print_error_function): Add extern prototype. Constify a char*.
21187 * c-lang.c (lang_identify): Constify a char*.
21189 * objc/objc-act.c (lang_identify): Constify a char*.
21191 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21193 * genpeep.c (main): Make generated file include "function.h".
21194 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21196 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21198 * Makefile.in: Update dependencies.
21199 * alias.c: Include "function.h"
21200 * c-decl.c: Likewise.
21201 * caller-save.c: Likewise.
21202 * calls.c: Likewise.
21203 * combine.c: Likewise.
21205 * explow.c: Likewise.
21206 * final.c: Likewise.
21207 * global.c: Likewise.
21208 * graph.c: Likewise.
21209 * local-alloc.c: Likewise.
21210 * loop.c: Likewise.
21211 * optabs.c: Likewise.
21212 * profile.c: Likewise.
21213 * recog.c: Likewise.
21214 * regclass.c: Likewise.
21215 * regmove.c: Likewise.
21216 * reload.c: Likewise.
21217 * reorg.c: Likewise.
21218 * resource.c: Likewise.
21219 * sched.c: Likewise.
21220 * stupid.c: Likewise.
21221 * config/1750a/1750a.c: Likewise.
21222 * config/a29k/a29k.c: Likewise.
21223 * config/arc/arc.c: Likewise.
21224 * config/arm/arm.c: Likewise.
21225 * config/arm/thumb.c: Likewise.
21226 * config/c4x/c4x.c: Likewise.
21227 * config/clipper/clipper.c: Likewise.
21228 * config/convex/convex.c: Likewise.
21229 * config/fx80/fx80.c: Likewise.
21230 * config/i860/i860.c: Likewise.
21231 * config/m68k/m68k.c: Likewise.
21232 * config/m88k/m88k.c: Likewise.
21233 * config/mips/mips.c: Likewise.
21234 * config/pdp11/pdp11.c: Likewise.
21235 * config/pyr/pyr.c: Likewise.
21236 * config/romp/romp.c: Likewise.
21237 * config/sh/sh.c: Likewise.
21238 * config/tahoe/tahoe.c: Likewise.
21239 * config/vax/vax.c: Likewise.
21240 * config/we32k/we32k.c: Likewise.
21241 * config/sparc/sparc.c: Include "function.h".
21242 (mem_min_alignment): Test current_function rather than
21243 regno_pointer_align.
21244 * config/pa/pa.c: Likewise.
21245 (compute_frame_size): Delete declaration of
21246 current_function_outgoing_args_size.
21247 * config/arc/arc.h (current_function_varargs): Delete declaration.
21248 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21250 * config/i370/i370.h (current_function_outgoing_args_size): Delete
21252 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21253 current_function_uses_pic_offset_table.
21254 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21255 of current_function_returns_pointer.
21256 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21257 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21258 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21259 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21260 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21261 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21262 * config/m88k/m88k.c: Include "function.h"
21263 (call_used_regs, current_function_pretend_args_size,
21264 current_function_outgoing_args_size, frame_pointer_needed): Delete
21266 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21268 * config/mips/mips.h (current_function_calls_alloca): Delete
21270 * config/mn10200/mn10200.h (current_function_needs_context,
21271 rtx_equal_function_value_matters): Delete declarations.
21272 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21273 flag_pic): Delete declarations.
21274 * config/pa/pa.h (current_function_pretend_args_size,
21275 current_function_decl): Delete declarations.
21276 * config/pa/som.h (current_function_varargs): Delete declaration.
21277 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21279 * config/pyr/pyr.h (current_function_pretend_args_size,
21280 current_function_args_size, current_function_calls_alloca): Delete
21282 * config/sh/sh.h (current_function_varargs): Delete declaration.
21283 * config/sparc/sparc.h (current_function_outgoing_args_size,
21284 current_function_calls_alloca, current_function_decl): Delete
21286 * config/spur/spur.h (current_function_pretend_args_size,
21287 current_function_calls_alloca): Delete declarations.
21288 * config/v850/v850.c (current_function_outgoing_args_size): Delete
21290 * config/vax/vms.h (current_function_name): Delete declaration.
21291 * gcse.c: Include "function.h".
21292 (current_function_name, current_function_calls_setjmp): Delete
21294 * haifa-sched.c: Include "function.h".
21295 (forced_labels): Delete declaration.
21296 * jump.c: Likewise.
21297 * reg-stack.c: Likewise.
21298 * reload1.c: Likewise.
21299 * genemit.c (main): Make generated file include function.h.
21300 * genoutput.c (output_prologue): Likewise.
21302 * builtins.c (saveregs_value, apply_args_value): Delete variables.
21303 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21304 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21305 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21306 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
21307 macros for some of them.
21308 (emit_filename, emit_lineno): Delete declarations.
21309 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
21310 regno_pointer_* variables through current_function.
21311 (gen_inline_header_rtx): Delete function.
21312 (save_emit_status): Delete function.
21313 (set_new_last_label_num): New function.
21314 (clear_emit_caches): New function.
21315 (restore_emit_status): Just clear last_labelnum and call
21317 (get_last_insn_anywhere): Variable sequence_stack is now accessed
21318 through macro seq_stack.
21319 (add_insn_after): Likewise.
21320 (add_insn_before): Likewise.
21321 (remove_insn): Likewise.
21322 (pop_topmost_sequence): Likewise.
21323 (in_sequence_p): Likewise.
21324 (start_sequence_for_rtl_expr): Likewise.
21325 (start_sequence): Likewise, and likewise for
21326 sequence_rtl_expr/seq_rtl_expr.
21327 (push_topmost_sequence): Likewise.
21328 (end_sequence): Likewise.
21329 (init_virtual_regs): Now takes a "struct emit_status *" argument.
21330 All callers changed. Store into that pointer instead of globals.
21331 (init_emit): Allocate emit elt of current_function.
21332 Changes for sequence_rtl_expr/sequence_stack renaming.
21333 Call clear_emit_caches instead of doing it in-line.
21334 Access regno_pointer_* variables through current_function.
21335 (init_emit_once) Don't clear sequence_stack.
21337 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21339 (arg_pointer_save_area): Delete declaration.
21340 (finish_expr_for_function): Renamed from init_queue; no longer static.
21341 (init_expr): Don't call init_queue.
21342 (save_expr_status, restore_expr_status): Delete functions.
21343 (expand_expr): Changes to reflect new layout of struct function.
21344 Don't access current_function_check_memory_usage when current_function
21346 * expr.h (forced_labels, save_expr_regs, saveregs_value,
21347 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21348 current_function_outgoing_args_size, current_function_arg_offset_rtx,
21349 current_function_uses_const_pool, function_call_count,
21350 current_function_uses_pic_offset_table, nonlocal_labels,
21351 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21352 current_function_check_memory_usage, nonlocal_goto_handler_slots,
21353 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21355 (finish_expr_for_function): Declare.
21356 * flags.h (current_function_has_nonlocal_label,
21357 current_function_has_nonlocal_goto, current_function_is_thunk,
21358 current_function_has_computed_jump): Delete declarations.
21359 * flow.c (forced_labels): Delete declaration.
21360 * function.c (current_function_pops_args,
21361 current_function_returns_struct, current_function_returns_pcc_struct,
21362 current_function_needs_context, current_function_calls_setjmp,
21363 current_function_calls_longjmp, current_function_has_nonlocal_label,
21364 current_function_has_nonlocal_goto, current_function_is_thunk,
21365 current_function_has_computed_jump, current_function_calls_alloca,
21366 current_function_contains_functions, current_function_returns_pointer,
21367 current_function_epilogue_delay_list, current_function_args_size,
21368 current_function_pretend_args_size, current_function_arg_offset_rtx,
21369 current_function_outgoing_args_size, current_function_varargs,
21370 current_function_stdarg, current_function_args_info, cleanup_label,
21371 current_function_name, current_function_uses_const_pool,
21372 current_function_instrument_entry_exit, current_function_return_rtx,
21373 current_function_uses_pic_offset_table, nonlocal_labels,
21374 current_function_internal_arg_pointer, current_function_cannot_inline,
21375 current_function_check_memory_usage, function_call_count,
21376 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21377 nonlocal_goto_stack_level, return_label, save_expr_regs,
21378 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21379 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21380 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21381 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21382 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21384 (push_function_context_to): Don't save them. Don't call
21385 save_storage_status, save_emit_status or save_expr_status.
21386 (pop_function_context_from): Don't restore them. Don't call
21387 restore_storage_status or restore_expr_status.
21388 (get_func_frame_size): New function.
21389 (get_frame_size): Use it.
21390 (assign_outer_stack_local): Reflect some member name changes in struct
21392 (put_reg_into_stack): Likewise.
21393 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21395 (fixup_var_refs): Likewise.
21396 (fix_lexical_addr): Likewise.
21397 (trampoline_address): Likewise.
21398 (prepare_function_start): Clear field inlinable of current_function.
21399 (init_function_for_compilation): New function.
21400 (expand_dummy_function_end): New function.
21401 (expand_function_end): Call finish_expr_for_function.
21402 * function.h (struct emit_status): New; fields moved here from struct
21403 function and from global variables. Add accessor macros for some of
21405 (struct expr_status): Likewise.
21406 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21407 (struct function): Add fields expr and emit, inlinable, inl_emit,
21408 original_arg_vector, original_decl_initial, inl_last_parm_insn,
21409 inl_max_label_num. Add many comments.
21410 Add accessor macros for all elts of struct function that no longer
21411 have a global variable.
21412 (cleanup_label, return_label, frame_offset, tail_recursion_label,
21413 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21414 stack_slot_list): Delete declarations.
21415 (get_func_frame_size): Declare.
21416 (save_expr_status, restore_expr_status, save_emit_status,
21417 save_storage_status, restore_storage_status): Delete declarations.
21418 (init_virtual_regs): Declare.
21419 * output.h (current_function_pops_args,
21420 current_function_returns_struct, current_function_returns_pcc_struct,
21421 current_function_needs_context, current_function_calls_setjmp,
21422 current_function_calls_longjmp, current_function_calls_alloca,
21423 current_function_has_nonlocal_label, current_function_varargs,
21424 current_function_has_computed_jump, current_function_returns_pointer,
21425 current_function_contains_functions, current_function_args_size,
21426 current_function_pretend_args_size, current_function_stdarg,
21427 current_function_outgoing_args_size, current_function_args_info,
21428 current_function_name, current_function_return_rtx,
21429 current_function_epilogue_delay_list,
21430 current_function_uses_const_pool, current_function_cannot_inline):
21431 Delete declarations.
21432 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21433 regno_reg_rtx): Delete declaration.
21434 (REGNO_POINTER_FLAG): Delete macro.
21435 * stmt.c (expand_goto): Changes to reflect that some fields in struct
21436 function were renamed.
21437 * stor-layout.c (save_storage_status, restore_storage_status): Delete
21439 * toplev.c: Include "function.h".
21440 (current_function_decl): Delete declaration.
21441 (compile_file): Call init_dummy_function_start and
21442 expand_dummy_function_end around some initializations that need to
21444 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21445 Call init_function_for_compilation.
21446 * unroll.c: Include "function.h"
21447 (unroll_loop): Access regno_pointer_* variables through
21450 * tree.h (struct tree_decl): Add elt f to saved_insns member.
21451 (DECL_SAVED_INSNS): use it.
21452 (expand_dummy_function_end): Declare.
21453 (init_function_for_compilation): Declare.
21454 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21455 that it's no longer an INLINE_HEADER.
21456 (expand_call): Likewise.
21457 * integrate.c (finish_inline): Delete function.
21458 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21459 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21460 args. Don't generate an INLINE_HEADER rtx, just return the arg
21461 vector. All callers changed.
21462 (save_for_inline_copying): Create a duplicate struct emit_status to
21463 hold the emit state for compiling the current function. Use this and
21464 the other new fields in struct function that are for integration
21465 instead of an INLINE_HEADER.
21466 Use memcpy instead of bcopy.
21467 Store the current struct function in DECL_SAVED_INSNS of fndecl.
21468 (save_for_inline_nocopy): Similar changes, except no new emit_status
21470 (expand_inline_function): Get information from function structure,
21471 not from an inline header rtx.
21472 (output_inline_function): Lose code to extract the necessary
21473 information from an inline header; simply put back the function
21474 structure into current_function. Clear its inlinable elt.
21475 * rtl.def (INLINE_HEADER): Delete.
21476 * rtl.h: Delete all accessors for an INLINE_HEADER.
21477 (gen_inline_header_rtx): Delete declaration.
21478 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21479 Delete declarations.
21480 (REGNO_POINTER_ALIGN): Delete.
21481 (clear_emit_caches): Declare.
21482 (set_new_last_label_num): Declare.
21484 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
21486 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21488 * except.c (expand_eh_region_start_for_decl): Always start a new block.
21489 * stmt.c (is_eh_region): Make sure current_function is present, too.
21491 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
21493 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21494 for 64bit PA targets.
21496 * pa.h (SELECT_SECTION): Define.
21497 * som.h (SELECT_SECTION): Delete.
21499 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21501 * alias.c (init_alias_analysis): Wrap call to
21502 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21504 1999-08-07 Bruce Korb <autogen@linuxbox.com>
21506 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
21507 <sys/asm.h> contains an asm comment with an apostrophe
21508 * fixinc/inclhack.sh: regen
21509 * fixinc/fixincl.x: regen
21511 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
21513 * function.c (init_function_start): Clear prologue & epilogue.
21514 (prologue_epilogue_contains): New function.
21515 * alias.c (init_alias_analysis): Use it.
21516 * rtl.h (prologue_epilogue_contains): Declare it.
21518 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
21520 * jump.c (onlyjump_p): New function.
21521 * rtl.h: Declare it.
21522 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21523 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21525 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
21527 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21528 to invert loops. Simplify block scanning.
21530 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21532 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21533 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21535 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
21537 * config/sparc/liteelf.h: New file to support sparclite-elf target
21538 * config/sparc/t-sp86x: New file to support sparc86x targets
21539 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21540 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21541 * configure.in: Support above target triplets
21542 * configure: Regenerated
21544 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
21546 * fixinc/server.c (server_setup): Do not prefix function used as
21547 parameter with `&'.
21549 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
21551 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21552 Remove fp reg alternatives.
21554 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
21556 * Makefiin (TAROUTOPTS): Kill.
21557 (install-headers-tar): Use "xpf" for tar headerfile extraction
21558 * i370/x-oe (TAROUTOPTS): Delete.
21559 * m68k/x-apollo68 (TAROUTOPTS): Delete.
21560 * m68k/x-hp320 (TAROUTOPTS): Delete.
21561 * m68k/x-hp320g (TAROUTOPTS): Delete.
21562 * gcc.texi: Update bug reporting text.
21564 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21566 * reg-stack.c (change_stack) Fixed problem with negative array index.
21568 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
21570 * extend.texi, install.texi: Fix spelling mistakes.
21572 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21573 (s-attrtab); No longer try to use pre-made insn-attrtab file.
21574 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21575 PREMADE_ATTRTAB_MD.
21576 * mips/t-ecoff: Likewise.
21577 * mips/t-elf: Likewise.
21578 * mips/t-mips: Likewise.
21579 * mips/t-osfrose: Likewise.
21580 * mips/t-r3900: Likewise.
21581 * mips/t-svr3: Likewise.
21582 * mips/t-svr4: Likewise.
21583 * mips/t-ultrix: Likewise.
21585 * gcc.texi: Document recommend means to provide software floating
21586 point libraries in libgcc.a
21588 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
21590 * c-lex.c (yylex): We can have a number with no digits.
21592 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
21594 * jump.c (delete_prior_computation): New function, broken
21595 out of delete_computation. Check for side effects with
21596 side_effects_p instead of FIND_REG_INC_NOTE. Handle
21597 multi-word hard registers.
21598 (delete_computation): Use it. Check for side effects with
21599 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
21600 missing REG_DEAD note for a register which is both set and
21603 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
21605 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21606 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21607 (ASM_FILE_START): Import _mcount with the right type.
21608 (ASM_DECLARE_FUNCTION_NAME): Define.
21609 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21610 * pa.c (output_function_prologue): Always emit the function's label
21612 * pa.h (TEXT_SPACE_P): Define.
21613 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21614 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21615 * som.h (TEXT_SPACE_P): Delete.
21616 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21617 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21619 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
21621 * expr.c (emit_group_load): Allow src to be a CONCAT.
21623 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21625 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21626 (___mulsi3): Use '!' comment character.
21628 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21630 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21632 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
21634 * gcc.c: Update URLs and mail addresses.
21635 * gcc.texi: Likewise.
21637 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
21639 * rs6000.c (current_file_function_operand): Return zero for
21641 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21643 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21646 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
21648 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21649 allocate space in the stack frame for the PIC register.
21651 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
21653 * m68k.md (xordi3, anddi3): These patterns are not available on
21656 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
21658 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21659 (PUT_REAL): Likewise.
21661 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21663 * final.c (shorten_branches): Don't add an alignment for loops
21664 that have no label inside.
21666 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21668 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21669 prototypes in macro HAVE_cmpstrsi.
21671 * cpplib.c (cpp_get_token): Remove unused label `op3'.
21673 * emit-rtl.c (operand_subword): Remove unused variable
21676 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21678 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21680 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
21682 * cpphash.c (macroexpand): Delete leading whitespace when arg
21683 is concatenated before.
21684 (unsafe_chars): Correct test for whether + and - can extend a
21687 * cppinit.c (cpp_start_read): Do dependencies for
21688 -include/-imacros files also.
21690 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21691 tokenizing non-directive lines.
21692 (cpp_expand_to_buffer): Temporarily disable no-output mode.
21693 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21696 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21698 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21700 * c-lex.c: Sync with C++ frontend.
21701 (linemode): New variable.
21702 (parse_float): imag, conversion_errno, and type are output only.
21703 (yylex): Adjust. Move initial '.' case into main switch.
21705 (handle_generic_pragma): Just deal with tokens.
21706 (readescape): Use ISXDIGIT and ISGRAPH.
21707 * c-parse.in: Add END_OF_LINE token.
21709 * c-lex.c (lang_init): Generalize.
21710 (nextchar): Remove. Replace uses with UNGETC.
21711 (skip_white_space): Handle linemode here. Optimize for cpplib.
21712 (skip_white_space_on_line): Remove.
21713 (extend_token_buffer_to): New fn.
21714 (extend_token_buffer): Use it.
21715 (read_line_number, check_newline): Just deal with tokens.
21716 (token_getch, token_put_back): New fns.
21717 (yylex): Use them. More cpplib optimizations. Simplify.
21719 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
21720 Jason Merrill <jason@yorick.cygnus.com>
21722 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21723 (consume_string): Make this smart about USE_CPPLIB.
21724 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21725 (yylex): Rewrite to be intelligent about USE_CPPLIB.
21726 Also, clean up cases where we redundantly set token_buffer[0].
21727 (read_line_number): New fn.
21728 (ignore_escape_flag): New variable.
21730 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
21732 * a29k/t-a29kbare: Fix some comments.
21733 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
21734 (FPBIT, DPBIT): Define.
21735 * a29k/t-vx29k: Likewise.
21736 * arc/t-arc: Likewise.
21737 * arm/t-arm-elf: Likewise.
21738 * arm/t-bare: Likewise.
21739 * arm/t-pe: Likewise.
21740 * arm/t-pe-thumb: Likewise.
21741 * arm/t-semi: Likewise.
21742 * arm/t-thumb: Likewise.
21743 * arm/t-thumb-elf: Likewise.
21744 * arm/t-thumb-linux: Likewise.
21745 * h8300/t-h8300: Likewise.
21746 * i960/t-i960: Likewise.
21747 * i960/t-vxworks960: Likewise.
21748 * m32r/t-m32r: Likewise.
21749 * mips/t-ecoff: Likewise.
21750 * mips/t-elf: Likewise.
21751 * mips/t-r3900: Likewise.
21752 * pa/t-pro: Likewise.
21753 * rs6000/t-aix43: Likewise.
21754 * rs6000/t-beos: Likewise.
21755 * rs6000/t-newas: Likewise.
21756 * rs6000/t-ppccomm: Likewise.
21757 * rs6000/t-rs6000: Likewise.
21758 * rs6000/t-winnt: Likewise.
21759 * rs6000/t-xnewas: Likewise.
21760 * rs6000/t-xrs6000: Likewise.
21761 * sh/t-sh: Likewise.
21762 * sparc/t-elf: Likewise.
21763 * sparc/t-sparcbare: Likewise.
21764 * sparc/t-sparclite: Likewise.
21765 * sparc/t-splet: Likewise.
21766 * v850/t-v850: Likewise.
21767 * mn10200/t-mn10200: Fix comments.
21768 * mn10300/t-mn10300: Likewise.
21770 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
21771 dummy operand. Allocate a new pseudo for the dummy operand.
21772 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
21774 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
21776 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
21778 * configure: Rebuilt.
21779 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
21781 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
21783 * recog.c (preproces_constraints): Zero recog_op_alt before
21784 processing the constraints.
21786 * arm.c (typedef minipool_node): Renamed from pool_node.
21787 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
21788 (add_minipool_constant): New function.
21789 (dump_minipool): New function.
21790 (find_barrier): Remove special case for getting the insn size of
21791 an insn that references the constant pool.
21792 (minipool_fixup): New structure.
21793 (push_minipool_barrier): New function.
21794 (push_minipool_fix): New function.
21795 (note_invalid_constants): New function.
21796 (add_pool_constant, dump_table, fixit, broken_move): Delete.
21797 (arm_reorg): Rewrite code to fix up the constant pool into a
21798 series of mini-pools embedded in the insn stream.
21799 (arm_output_epilogue): New function, made mainly from the body
21800 of output_func_epilogue.
21801 (output_func_epilogue): Move insn generation part of epilogue code
21802 to arm_output_epilogue.
21803 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
21804 * arm.md (pool_range): New attribute.
21805 (zero_extendqidi2): Add attribute pool_range.
21806 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
21807 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
21808 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
21809 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
21810 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
21811 (epilogue): New expand.
21812 (epilogue_insn): New insn. Call arm_output_epilogue.
21814 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
21815 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
21817 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21819 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21821 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
21823 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
21825 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
21827 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
21829 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
21831 * global.c: Fix comment.
21833 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
21835 * gcc.c (access_check): New static function.
21836 (find_a_file): Use it when searching a directory list.
21837 * collect2.c (find_a_file): Don't accept directories found when
21838 searching a directory list.
21840 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
21842 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
21843 function parameters with `&'.
21844 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
21846 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
21848 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
21849 or tidy_fallthru_edge if the last insn in the block is not
21850 an unconditional jump or a simple conditional jump.
21852 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21854 * Makefile.in (c-decl.o): Depends on defaults.h.
21856 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
21858 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
21860 (CLASS_MAX_NREGS): Likewise.
21862 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
21864 * cse.c (cse_insn): Fix dumb thinko in last change.
21866 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21868 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
21871 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
21873 * dwarf2out.c (add_location_or_const_value_attribute): Correct
21874 test for sizes of passed and declared parameter types.
21876 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21878 * fixincludes: Fix the return type of bsearch, char* -> void*.
21880 * fixinc/inclhack.def: Likewise.
21882 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
21884 * invoke.texi (-fdump-translation-unit): New option.
21886 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
21888 * expr.h (PROMOTE_PROTOTYPES): Move ...
21889 * defaults.h: ... to here.
21890 * c-decl.c: Include defaults.h instead of expr.h.
21891 * c-typeck.c: Include defaults.h.
21893 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
21895 * toplev.h (errorcount): Declare.
21896 (warningcount): Likewise.
21897 (sorrycount): Likewise.
21898 * c-lex.c (errorcount): Don't declare.
21899 * dwarf2out.c (errorcount): Don't declare.
21901 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
21903 * config/libgloss.h: Add a note discouraging use with ELF.
21904 * configure.in: Don't use libgloss.h for ELF targets.
21905 Always use_collect2 on a.out targets.
21907 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
21909 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
21910 (force_to_mode, case ASHIFTRT): Add shiftrt label.
21912 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21914 * loop.c (strength_reduce): When doing biv->giv conversion, update
21915 reg note of NEXT->insn.
21917 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21919 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
21921 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21923 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
21924 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
21925 Ensure expr.h is included.
21926 * c-typecheck.c (convert_arguments): Ditto.
21928 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
21930 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
21931 * config/convex/convex.h: Ditto.
21932 * config/dsp16xx/dsp16xx.h: Ditto.
21933 * config/fx80/fx80.h: Ditto.
21934 * config/gmicro/gmicro.h: Ditto.
21935 * config/i370/i370.h: Ditto.
21936 * config/i386/i386.h: Ditto.
21937 * config/m32r/m32r.h: Ditto.
21938 * config/m68k/m68k.h: Ditto.
21939 * config/m88k/m88k.h: Ditto.
21940 * config/mips/mips.h: Ditto.
21941 * config/pa/pa.h: Ditto.
21942 * config/pyr/pyr.h: Ditto.
21943 * config/tahoe/tahoe.h: Ditto.
21944 * config/we32k/we32k.h: Ditto.
21946 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
21947 based on arch size.
21949 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
21951 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
21954 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
21956 1999-08-02 Richard Henderson <rth@cygnus.com>
21958 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
21959 for the register spill block.
21960 (m32r_va_arg): New.
21961 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
21962 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
21964 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
21965 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
21966 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
21968 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21970 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
21971 MAX_WCHAR_TYPE defined in sparc.h.
21972 * config/sparc/linuxaout.h: Likewise.
21973 * config/sparc/linux64.h: Likewise.
21974 Also default to -mvis if CPU is UltraSPARC.
21976 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21978 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
21979 (RTX_OK_FOR_OLO10): Likewise.
21980 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
21981 %lo(), allow it in addresses...
21982 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
21983 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
21984 does not make sense.
21985 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
21986 (sparc_output_scratch_registers): New function.
21987 (output_function_prologue, sparc_flat_output_function_prologue): Use
21989 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
21991 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
21992 * configure.in: Add check for .register pseudo-op support in as and
21993 check for offsetable %lo().
21994 * acconfig.h: Add templates for the above checks.
21995 * configure: Regenerate.
21997 1999-08-02 Richard Henderson <rth@cygnus.com>
21999 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22000 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22001 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22003 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22005 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22008 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22010 * config/float-sparc.h: New file.
22011 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22012 sparc-*-linux-gnu and sparc64-*-linux*.
22014 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22016 * rs6000.c (rs6000_va_list): Type is an array.
22017 (rs6000_va_start): Don't doubly adjust for varargs.
22018 (rs6000_va_arg): Evaluate long long GPR adjustment.
22020 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
22022 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22023 -maix64 and -maix32.
22024 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22025 LINK_SPEC): Change appropriately.
22026 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22027 (u_short_cint_operand): Likewise.
22028 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22030 * rs6000/t-aix43 (MULTILIB): Change to -m64.
22032 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22034 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
22036 * rs6000/rs6000.c (num_insns_constant_wide): Correct
22037 for type promotion.
22038 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22039 (non_add_cint_operand): Likewise.
22040 (logical_operand): Likewise.
22041 (non_logical_cint_operand): Likewise.
22042 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22043 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22044 (rs6000_select_rtx_section): Suppress warning.
22045 (small_data_operand): Suppress warning.
22046 (rs6000_got_register): Suppress warning.
22047 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22048 type, so `J' is generally the wrong constraint for a SImode value;
22050 (andsi3_internal2): Likewise.
22051 (andsi3_internal3): Likewise.
22052 (iorsi3_internal1): Likewise.
22053 (xorsi3_internal1): Likewise.
22055 (movsf_softfloat): Likewise.
22056 (scc insns): Likewise.
22057 (movsi+2): Preserve sign bits of SImode constant.
22058 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22059 (movdf+1): Sign-extend properly.
22060 (movdi_32+1): Sign-extend properly.
22061 (scc insns): Sign-extend properly.
22063 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22066 1999-08-02 Richard Henderson <rth@cygnus.com>
22068 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22069 -mcpu parsing code.
22070 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22071 * alpha.md (all fp insns): Likewise.
22073 1999-08-02 Nick Clifton <nickc@cygnus.com>
22075 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22078 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
22080 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
22081 pic_load_label generator directly.
22082 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
22083 No longer a named pattern.
22085 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
22087 * explow.c (force_reg): Call force_operand if X does not
22088 satisfy general_operand.
22090 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
22092 * fix-header.c (main): When testing for CONTINUED, use string
22093 equality, not pointer equality.
22095 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
22097 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22099 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
22101 * cse.c (cse_insn): Fix loop which deletes insns after a jump
22102 that has become an unconditional jump.
22104 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22105 (output_function_epilogue): Similarly.
22107 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22109 * tree.h (init_dummy_function_start): Declare.
22111 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22113 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22114 last_expr_type, last_expr_value, block_start_count, block_stack,
22115 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22116 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22117 dynamically in stmt elt of struct function for each function.
22118 (struct nesting): Rename function_call_count elt to n_function_calls,
22119 target_temp_slot_level to block_target_temp_slot_level. All users
22121 (struct stmt_status): New structure definition.
22122 Add many accessor macros for stmt_status elements which previously
22123 were global variables.
22124 (init_stmt_for_function): Allocate stmt elt for current_function.
22125 Reflect that block_start_count was renamed to
22126 current_block_start_count.
22127 (save_stmt_status, restore_stmt_status): Delete functions.
22128 (preserve_subexpressions_p): Don't access loop_stack when outside
22130 (expand_start_bindings): Reflect that block_start_count was renamed to
22131 current_block_start_count.
22132 (expand_fixup): Likewise.
22133 (expand_decl): Don't access block_stack when outside a function.
22134 (expand_decl_cleanup): Likewise.
22135 (expand_dcc_cleanup): Likewise.
22136 (expand_dhc_cleanup): Likewise.
22137 (expand_anon_union_decl): Likewise.
22138 (set_file_and_line_for_stmt): New function.
22139 (in_control_zone_p): New function.
22141 * function.h (struct function): Add new elt stmt.
22142 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22143 case_stack, nesting_stack, nesting_depth, block_start_count,
22144 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22145 emit_lineno, goto_fixup_chain.
22146 (save_eh_status, restore_eh_status, save_stmt_status,
22147 restore_stmt_status): Delete declarations.
22148 * function.c (push_function_context_to): Don't call save_stmt_status.
22149 (pop_function_context_to): Don't call restore_stmt_status.
22150 * tree.h (in_control_zone_p): Declare.
22151 * rtl.h (set_file_and_line_for_stmt): Declare.
22153 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22154 call set_file_and_line_for_stmt.
22156 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
22158 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22159 Also update copyright.
22161 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22163 * c-pragma.c: Don't include "except.h".
22164 * emit-rtl.c: Likewise.
22165 * stor-layout.c: Likewise.
22166 * tree.c: Likewise.
22167 * varasm.c: Likewise.
22169 * flow.c: Include "function.h".
22170 * tree.h (init_dummy_function_start): Declare new function.
22172 * except.h (struct eh_status): New structure.
22173 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22175 (eh_return_stub_label, ehstack, catchstack, ehqueue,
22176 catch_clauses, false_label_stack, caught_return_label_stack,
22177 protect_list, current_function_ehc): Add accessor macros for the
22178 corresponding fields in current_function->eh; delete declarations
22179 for all items that used to be declared here.
22180 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22181 catch_clauses, false_label_stack, caught_return_label_stack,
22182 protect_list, current_function_ehc): Delete variables.
22183 (init_eh_for_function): Allocate current_function->eh.
22184 (save_eh_status, restore_eh_status): Delete functions.
22186 * function.h (struct function): Add fields next_global and eh.
22187 Delete all exception handling related fields.
22188 * function.c (current_function): New variable.
22189 (all_functions): New variable.
22190 (push_function_context_to): Don't allocate a struct function,
22191 use current_function instead. Call init_dummy_function_start when
22192 outside a function. Clear current_function before returning.
22193 (pop_function_context_from): Restore current_function.
22194 Don't free the restored struct function.
22195 (prepare_function_start): New function.
22196 (init_dummy_function_start): New function.
22197 (init_function_start): Break out some code into prepare_function_start
22200 * stmt.c (save_stmt_status): Don't call save_eh_status.
22201 (restore_stmt_status): Don't call restore_eh_status.
22203 * Makefile.in: Update dependencies.
22205 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
22207 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22208 of depending on a magic constant value. Update comments.
22209 (hppa_expand_prologue): Similarly.
22211 * pa.md (reload_indi, reload_outdi): Allow any register for the
22212 original reload register.
22214 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
22216 * cccp.c (print_help): Change marcos to macros.
22218 1999-07-30 Richard Henderson <rth@cygnus.com>
22220 * c-typeck.c (initializer_constant_valid_p): Move ...
22221 * c-common.c (initializer_constant_valid_p): ... here. Use
22222 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
22223 of label addresses.
22224 * c-common.h (initializer_constant_valid_p): Declare.
22225 * c-tree.h (initializer_constant_valid_p): Remove.
22227 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
22229 * config/i386/sol2-c1.asm: Align the stack.
22230 * config/i386/sol2-gc1.asm: Likewise.
22232 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
22234 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22235 -Asparclite for sparc86x.
22236 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22238 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22240 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
22242 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22243 the user if using the non-default arch size in BI_ARCH configuration.
22244 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22246 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22247 Fix patterns so that they actually match.
22248 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22249 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22250 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22252 (mulsidi3): Reflect this in the expand.
22253 (smulsi3_highpart): Only on TARGET_ARCH32.
22254 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22255 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22256 (umulsidi3): Reflect this in the expand.
22257 (umulsi3_highpart): Only on TARGET_ARCH32.
22258 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22259 don't require g0 to be zero.
22260 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22261 ({,u}divsi3): New expands.
22262 ({,u}divsi3_sp64): New patterns.
22263 (after lshrdi3_v8plus): Four new patterns to help combiner
22264 optimizing nested mixed mode shifts.
22266 * config/sparc/sparc.c (sparc_override_options): Use deprecated
22267 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22268 speed things up. Don't use them by default on plain v9 in 64bit
22269 mode, according to what SPAMv9 sais.
22271 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22272 top 32 bits of %[og][0-7] in signal handlers.
22273 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22275 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
22277 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22278 (ashlsi3): Corresponding changes.
22280 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22282 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
22284 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22286 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22288 * arm.h (Hint): Delete macro.
22289 Substitute HOST_WIDE_INT for Hint in some prototypes.
22290 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22292 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
22294 * builtins.c (expand_builtin_setjmp): Use force_operand to
22295 make sure that the buffer address is in a suitable form to be
22296 passed to force_reg.
22298 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
22300 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22303 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
22305 * pa.md (indirect_jump): Remove mode from match_operand. Verify
22306 proper mode in the condition string.
22307 (icacheflush, dcacheflush): Remove modes from match_operands.
22309 * pa.c (emit_move_sequence): Always convert scratch_reg to the
22310 proper mode before using it.
22312 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22315 * pa.c (store_reg): Do not call add_high_const generator directly.
22316 (load_reg, set_reg_plus_d): Likewise.
22317 * pa.md (add_high_const): No longer a named pattern.
22319 * pa.c (legitimize_address): Consistently use Pmode rather than
22320 SImode. Do not call gen_pic2_highpart directly anymore.
22321 * pa.md (pic2_highpart): No longer a named pattern.
22322 (pic2_lo_sum): Similarly. Reformat to make more readable.
22324 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22329 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22331 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22333 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
22335 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
22336 and tag the spill mems.
22337 (hppa_va_start): New.
22338 (hppa_va_arg): New.
22339 * pa.h (EXPAND_BUILTIN_VA_START): New.
22340 (EXPAND_BUILTIN_VA_ARG): New.
22342 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
22344 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22345 and tag the spill mems.
22346 (mn10300_va_start): New.
22347 (mn10300_va_arg): New.
22348 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22349 (EXPAND_BUILTIN_VA_ARG): New.
22351 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
22353 * mn10200.c (mn10200_va_arg): New.
22354 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22356 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
22358 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22359 rather than play with TREE_INT_CST_LOW.
22361 1999-07-27 Philip Blundell <pb@nexus.co.uk>
22363 * config/arm/telf.h: Include dbxelf.h.
22364 (CPP_PREDEFINES): Only define if not already defined.
22365 (ASM_IDENTIFY_GCC): Likewise.
22366 (SUBTARGET_EXTRA_SECTIONS): Likewise.
22367 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22368 * config/arm/thumb.h (LINK_SPEC): Only define if not already
22370 (DBX_DEBUGGING_INFO): Don't define.
22371 * config/arm/linux-telf.h: New file.
22372 * config/arm/linux-tgas.h: New file.
22373 * config/arm/t-thumb-linux: New file.
22374 * config/arm/uclinux-elf.h: New file.
22375 * config/arm/uclinux-telf.h: New file.
22376 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22377 thumb-*-uclinux): New targets.
22378 * configure: Regenerate.
22380 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
22382 * pa.md (post_store, pre_load): New expanders.
22383 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22384 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22385 need to directly generate RTL for them.
22386 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22389 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
22391 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22392 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22393 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22394 (secndary_reload_class): Make TARGET_ELF conditional compile.
22395 (print_operand_address): Similar.
22396 (output_toc): Print all values as hex.
22397 (get_issue_rate): Rearrange and add RS64A and PPC630.
22398 * rs6000.h (processor_type): Add RS64A and PPC630.
22399 (PROCESSOR_POWERPC64): New.
22400 (PROMOTE_MODE): Use word_mode.
22401 (RTX_COSTS): Add RS64A and PPC630.
22402 * rs6000.md (scheduling information): Add lmul and ldiv
22403 representing 64-bit integer multiply and divide. Add rs64a and
22404 PPC630 information.
22405 (ashldi3): Add support for "rldic" instruction.
22406 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22408 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
22410 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22411 instead of V8 for sparclite86x in cpu_table.
22413 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22415 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22416 output_file_directive.
22418 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
22420 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22421 tree for op1, not the rtl.
22423 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
22425 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22426 to m88k_va_start, leaving only the register spill.
22427 (m88k_build_va_list): New.
22428 (m88k_va_start): New.
22429 (m88k_va_arg): New.
22430 * m88k.h (BUILD_VA_LIST_TYPE): New.
22431 (EXPAND_BUILTIN_VA_START): New.
22432 (EXPAND_BUILTIN_VA_ARG): New.
22434 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
22436 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22437 Rename from expand_builtin_saveregs.
22438 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22440 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
22442 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22443 for the register spill block.
22444 (i960_build_va_list): New.
22445 (i960_va_start): New.
22446 (i960_va_arg): New.
22447 * i960.h (BUILD_VA_LIST_TYPE): New.
22448 (EXPAND_BUILTIN_VA_START): New.
22449 (EXPAND_BUILTIN_VA_ARG): New.
22450 * i960.md (store_multiple): Use change_address on individul mems.
22452 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
22454 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22456 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22457 (expand_builtin_va_end): Evaluate arg for side effects.
22458 * c-common.c (c_common_nodes_and_builtins): Construct a
22459 va_list_arg_type_node to handle array decomposition to pointer.
22461 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
22463 * except.c (st_dynamic_cleanup): Use force_operand on the
22466 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
22468 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22469 * c4x.c (c4x_va_arg): New.
22471 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
22473 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22474 has manual_pop set.
22476 1999-07-26 Nathan Sidwell <nathan@acm.org>
22478 * eh-common.h (__eh_matcher): Prototype correctly.
22480 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
22482 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22483 (TARGET_SINGLE_PIC_BASE): Likewise.
22484 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22486 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22487 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22488 (TARGET_OPTIONS): Add -mpic-register=N.
22489 (OUTPUT_INT_ADDR_CONST): New macro.
22490 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22491 LEGITIMATE_PIC_OPERAND_P): Likewise.
22492 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22493 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22494 output_addr_const directly.
22495 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22497 (thumb_pic_register, thumb_pic_register_string): Declare.
22499 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22501 (label_mentioned_p): New function: Imported from arm.c.
22502 (legitimize_pic_address): New function: Imported from arm.c.
22503 (is_pic):New function: Imported from arm.c.
22504 (thumb_finalize_pic):New function: Imported from arm.c.
22505 (add_constant): Cope with PIC constants.
22506 (fixit): Cope with PIC constants.
22507 (output_return): Do not treat the PIC register as live if
22508 TARGET_SINGLE_PIC_BASE is true.
22509 (thumb_function_prologue): Do not treat the PIC register as live if
22510 TARGET_SINGLE_PIC_BASE is true.
22511 (thumb_expand_prologue): Do not treat the PIC register as live if
22512 TARGET_SINGLE_PIC_BASE is true.
22513 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22514 TARGET_SINGLE_PIC_BASE is true.
22515 (thumb_print_operand): Accept '|'.
22516 (thumb_override_options): Process PIC options.
22518 * config/arm/thumb.md (movsi): Support PIC.
22519 (call_insn): Change "i" constraint to "X".
22520 (call_value_insn): Likewise.
22521 (consttable_4, consttable_8, consttable_end): Set and clear
22522 "making_const_table" as appropriate.
22523 (pic_load_addr, pic_add_dot_plus_four): New insns.
22525 * invoke.texi (Thumb Options): Fix spelling. Document new
22526 options -msingle-pic-base and -mpic-register=.
22528 1999-07-26 Andrew Haley <aph@cygnus.com>
22530 * config/m32r/initfini.c (__init): Use a full word immediate for
22531 __fini: this allows it to be placed in any memory region.
22533 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22534 -mmodel=medium. This is OK for all memory models.
22536 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
22538 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22539 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22541 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
22543 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22546 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22548 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
22550 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22551 (BUILD_VA_LIST_TYPE): New.
22552 (EXPAND_BUILTIN_VA_START): New.
22553 (EXPAND_BUILTIN_VA_ARG): New.
22554 * i860.c (output_delayed_branch): Disable.
22555 (output_delay_insn): Likewise.
22556 (i860_saveregs): New.
22557 (i860_build_va_list): New.
22558 (i860_va_start): New.
22559 (i860_va_arg): New.
22560 * i860.md: Disable all peepholes using output_delayed_branch.
22561 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22563 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
22565 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22566 (BUILD_VA_LIST_TYPE): New.
22567 (EXPAND_BUILTIN_VA_START): New.
22568 (EXPAND_BUILTIN_VA_ARG): New.
22569 * clipper.c (clipper_builtin_saveregs): Only dump registers.
22570 Return the address of the save area.
22571 (clipper_build_va_list): New.
22572 (clipper_va_start): New.
22573 (clipper_va_arg): New.
22575 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
22577 * arc.h (EXPAND_BUILTIN_VA_START): New.
22578 (EXPAND_BUILTIN_VA_ARG): New.
22579 * arc.c (arc_setup_incoming_varargs): Set alias set of
22581 (arc_va_start): New.
22584 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
22586 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22587 (BUILD_VA_LIST_TYPE): New.
22588 (EXPAND_BUILTIN_VA_START): New.
22589 (EXPAND_BUILTIN_VA_ARG): New.
22590 * alpha.c (alpha_builtin_saveregs): Delete.
22591 (alpha_build_va_list): New.
22592 (alpha_va_start): New.
22593 (alpha_va_arg): New.
22595 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
22597 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22599 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22600 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22602 * gcc.texi: More changes related to list conversion.
22603 * invoke.texi: Likewise.
22605 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
22607 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22608 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22609 (expand_builtin_next_arg): Accept ARGLIST not EXP.
22610 (stabilize_va_list): New function.
22611 (std_expand_builtin_va_start): New function.
22612 (expand_builtin_va_start): New function.
22613 (get_varargs_alias_set): New function.
22614 (std_expand_builtin_va_arg): New function.
22615 (expand_builtin_va_arg): New function.
22616 (expand_builtin_va_end): New function.
22617 (expand_builtin_va_copy): New function.
22618 (expand_builtin): Call them.
22619 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22620 __builtin_{varargs_start,stdarg_start,end,copy}.
22621 (build_va_arg): New function.
22622 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22623 (build_va_arg): Declare.
22624 * c-decl.c (ptr_type_node, va_list_type_node): New.
22625 * c-parse.gperf (__builtin_va_arg): New.
22626 * c-parse.in (VA_ARG): New token.
22627 (unary_expr): Recognize it.
22628 * expr.c (expand_expr): Expand VA_ARG_EXPR.
22629 * expr.h (std_expand_builtin_va_start): Declare.
22630 (std_expand_builtin_va_arg): Declare.
22631 (expand_builtin_va_arg): Declare.
22632 (get_varargs_alias_set): Declare.
22633 * tree.def (VA_ARG_EXPR): New.
22634 * tree.h (BUILT_IN_VARARGS_START): New.
22635 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22636 (ptr_type_node, va_list_type_node): Declare.
22637 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22638 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22639 * m88k.h, m88k.c: Likewise.
22640 * mn10300.h, mn10300.c: Likewise.
22641 * pa.h, pa.c: Likewise.
22642 * rs6000.h, rs6000.c: Likewise.
22643 * sh.h, sh.c: Likewise.
22644 * sparc.h, sparc.c: Likewise.
22646 * emit-rtl.c (operand_subword): Copy alias set.
22647 (change_address): Likewise.
22649 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
22651 * pa.c (compute_frame_size): Scan all the used callee saved registers,
22652 not just the first one.
22654 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
22656 * config/arm/arm.h (TARGET_SWITCHES): Add
22657 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
22658 (TARGET_OPTIONS): Add -mpic-register=.
22659 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22660 (arm_pic_register_string): Declare.
22661 (NEED_PLT_GOT): Delete, replace with ...
22662 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
22663 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22664 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22665 * config/arm/arm.c (arm_override_options): Add new option
22667 (arm_pic_register_string): New variable.
22668 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22669 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22670 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
22671 (output_return_instruction): Likewise.
22672 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22673 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
22674 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22676 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
22677 mention of -msched-prolog. Document new options -msingle-pic-base
22678 and -mpic-register=.
22680 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
22682 * haifa-sched.c (reemit_notes): Tidy.
22683 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22686 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
22688 * explow.c (trunc_int_for_mode): New function.
22689 (plus_constant_wide): Use it.
22690 * combine.c (simplify_and_const_int): Likewise.
22691 (merge_outer_ops): Likewise.
22692 (simplify_shift_const): Likewise.
22693 * cse.c (simplify_unary_operation): Likewise.
22694 (simplify_binary_operation): Likewise.
22695 * emit-rtl.c (operand_subword): Likewise.
22696 * rtl.h: Declare it.
22698 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22700 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22701 (use NUM_REGS instead of NUM_INTS).
22703 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22705 * builtins.c: New file.
22706 * expr.c (saveregs_value, apply_args_value): Delete definition,
22707 moved into builtins.c.
22708 (string_constant): No longer static.
22709 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22710 apply_args_size, apply_result_size, result_vector,
22711 expand_builtin_apply_args, expand_builtin_apply,
22712 expand_builtin_return): Delete functions, moved into builtins.c.
22713 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22714 * expr.h (saveregs_value, apply_args_value): Declare variables.
22715 (expand_builtin, string_constant): Declare functions.
22716 * Makefile.in: Update to build builtin.o.
22718 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
22720 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22721 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22722 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22723 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22725 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22728 1999-07-21 Michael Meissner <meissner@cygnus.com>
22730 * print-rtl.c (print_rtx): Print the names of the virtual
22733 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
22735 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
22736 introduced in previous delta.
22738 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22740 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
22741 to avoid name clash.
22743 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
22745 * c-lex.c (yylex) : Correct the test for overflow when lexing
22748 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
22750 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
22751 (adjust_priority): Always call ADJUST_PRIORITY.
22752 (schedule_insn): Only put insns into the ready at cost 0.
22753 (schedule_block): Remove redundant initial sort. Give clock_var
22754 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
22756 * tm.texi (MD_SCHED_REORDER): Update docs.
22758 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
22759 * sparc.c (ultra_reorder_called_this_block): Delete.
22760 (ultrasparc_sched_init): Don't set it.
22761 (ultrasparc_sched_reorder): Don't check it.
22763 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
22765 * rs6000.h (struct rs6000_args): Add sysv_gregno.
22766 * rs6000.c (init_cumulative_args): Init sysv_gregno.
22767 (function_arg_boundary): Align DFmode.
22768 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
22769 to get fp reg and stack overflow correct.
22770 (function_arg): Likewise.
22771 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
22772 (setup_incoming_varargs): Restructure for ABI_V4; use
22773 function_arg_advance to skip final named argument.
22774 (expand_builtin_saveregs): Properly unskip the last integer arg
22775 when doing varargs. Adjust overflow location calculation.
22777 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
22778 explicitly unsigned.
22779 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
22780 (__VA_GP_REGSAVE): Similarly.
22781 (__va_longlong_p): Delete.
22782 (__va_arg_type_violation): New declaration.
22783 (va_arg): Restructure. Flag promotion errors. Align double.
22784 TFmode passed by reference.
22786 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
22787 in the HOST_BITS_PER_WIDE_INT > 32 case.
22789 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
22791 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
22793 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
22795 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
22796 * toplev.c (documented_lang_options): Add -fpreprocessed.
22797 * cpplib.h (struct cpp_buffer): Add preprocessed.
22798 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
22799 (cpp_start_read): Don't expand macros or emit an initial #line
22800 directive if -fpreprocessed.
22802 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
22804 * cpplib.h (struct cpp_buffer): Added manual_pop for
22805 better C++ tokenization.
22806 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
22807 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
22808 * c-common.c (cpp_token): Make non-static.
22810 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22812 * c-common.h: New file.
22813 * c-common.c (permanent_obstack): Delete unused declaration.
22814 (c_global_trees): New array.
22815 (c_common_nodes_and_builtins): New function; split off common code
22816 from init_decl_processing in both c-decl.c and cp/decl.c.
22817 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
22818 c_global_trees and accessor macros defined in c-common.h.
22819 Include c-common.h.
22820 * c-decl.c: Delete definitions for tree nodes that were replaced by
22822 (init_decl_processing): Build void_list_node.
22823 Call c_common_nodes_and_builtins; delete code to generate the common
22825 * objc/objc-act.c (build_module_descriptor): Rename variable
22826 void_list_node to avoid clash with c-common.h.
22828 * Makefile.in: Update dependencies.
22829 * objc/Make-lang.in: Likewise.
22831 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
22833 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
22834 (UNIQUE_SECTION_P): Likewise.
22835 (UNIQUE_SECTION): Likewise.
22837 1999-07-19 Linas Vepstas <linas@linas.org>
22839 * config/i370/README: New file.
22840 * config/i370/linux.h: New file.
22841 * config/i370/mvs.h: New file.
22842 * config/i370/oe.h: New file.
22843 * config/i370/t-linux: New file.
22844 * config/i370/t-mvs: New file.
22845 * config/i370/t-oe: New file.
22846 * config/i370/x-oe: New file.
22847 * config/i370/xm-linux.h: New file.
22848 * config/i370/xm-mvs.h: New file.
22849 * config/i370/xm-oe.h: New file.
22851 * i370.c (label_node_t): Add first_ref_page, label_addr,
22852 label_first_ref, label_last_ref members.
22853 (mvs_need_base_reload): Renamed from mvs_label_emitted.
22854 (MAX_MVS_LABEL_SIZE): Define.
22855 (MAX_LONG_LABEL_SIZE): Define.
22856 (alias_node_t, alias_anchor, alias_number): New.
22857 (mvs_function_table): Reorder for EBCDIC.
22858 (ascebc, ebcasc): Unconditionally define.
22859 (i370_branch_dest, i370_branch_length): New functions.
22860 (i370_short_branch, i370_label_scan): New functions.
22861 (mvs_get_label): Renamed from mvs_add_label. Search for
22862 an existing label before creating a new one.
22863 (mvs_add_label): New function.
22864 (mvs_get_label_page): New function.
22865 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
22866 over the entire list.
22867 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
22868 (mvs_check_page) [TARGET_ELF_ABI]: New function.
22869 (mvs_add_alias, mvs_need_alias): New functions.
22870 (mvs_get_alias, mvs_check_alias): New functions.
22871 (handle_pragma): New function.
22872 (mvs_function_check): New function.
22873 (unsigned_jump_follows_p): Search harder.
22874 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
22875 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
22876 * i370.h (TARGET_VERSION): Delete.
22877 (CPP_SPEC, CPP_PREDEFINES): Delete.
22878 (mvs_label_emitted): Delete.
22879 (TARGET_EBCDIC): Delete.
22880 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
22881 (HANDLE_PRAGMA): Define.
22882 (HARD_REGNO_NREGS): Handle complex modes.
22883 (HARD_REGNO_MODE_OK): Likewise.
22884 (CLASS_MAX_NREGS): Likewise.
22885 (RET_REG): Likewise.
22886 (EXTRA_CONSTRAINT): Define.
22887 (RETURN_IN_MEMORY): True for DImode.
22888 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
22889 (FUNCTION_PROFILER): Delete.
22890 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
22891 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
22892 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
22893 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
22894 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
22895 (ASM_FILE_START): Add "RMODE ANY".
22896 (ASM_OUTPUT_EXTERNAL): Check for aliases.
22897 (ASM_GLOBALIZE_LABEL): Likewise.
22898 (ASM_OUTPUT_LABELREF): Likewise.
22899 (ASM_OUTPUT_COMMON): Likewise.
22900 (PRINT_OPERAND): Handle 'K', 'W', default.
22901 (PRINT_OPERAND_ADDRESS): New.
22902 (Lots of defines): Add support for TARGET_ELF_ABI.
22903 * i370.md (attr length): New. Define for all patterns.
22904 (*): Lots of tweeks to assembly output and constraints.
22906 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
22908 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
22909 Disable patterns performing SImode comparisons with SImode values
22910 if TARGET_POWERPC64 and instruction does not sign-extend or does
22911 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
22912 differ for signed quantities.
22913 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
22914 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
22915 (decrement_and_branch_on_count): Add 64-bit variant.
22917 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22919 * final.c (output_asm_insn): When searching for the matching string
22920 for a given dialect, don't run past the end of the list of
22921 alternatives if there are fewer alternatives in the template than
22924 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
22926 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
22927 Removed paragraph about compression of files and size limitation,
22928 duplicated in the FAQ. Use gcc-patches for posting patches.
22929 * gcc.c (main): Updated URL with bug reporting instructions to
22930 gcc.gnu.org. Removed e-mail address.
22931 * system.h (abort): Likewise.
22933 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22935 * Makefile.in (stmp-multilib-sub): Make the files extracted
22936 from $(LIBGCC1) writable.
22938 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
22940 * config/arm/aout.h: Reformat for improved readability.
22942 * config/arm/arm.h: Reformat for improved readability.
22943 Replace uses of fprintf with asm_fprintf where appropriate.
22944 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
22945 function declaration assembler actions.
22946 (NUM_INTS): New macro: Convert from bytes to words.
22947 (NUM_REGS): New macro: Compute number of registers required to
22948 hold a quanitity of tyep MODE.
22949 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
22951 (NUM_ARG_REGS): New macro: The number of argument registers
22953 (ARG_REGISTER): New macro: Compute the register number of the Nth
22955 (LAST_ARG_REGNUM): New macro: The number of the last argument
22957 (SP_REGNUM): New macro: Register number of the stack pointer.
22958 (FP_REGNUM): New macro: Register number of the frame pointer.
22959 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
22960 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
22961 CUMULATIVE_ARGS so that it counts registers not bytes.
22963 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
22965 Replace uses of fprintf with asm_fprintf where appropriate.
22966 (output_ascii_pseudo_op): Replace with version from thumb.c
22968 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
22970 * config/arm/elf.h (CPP_PREDEFINES): Replace with
22971 SUBTARGET_CPP_SPEC.
22972 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
22973 (ASM_FILE_START): Emit ASM_APP_OFF.
22975 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
22977 * pa.c (compute_frame_size): Round frame according to
22978 STACK_BOUNDARY rather than a hardwired value.
22980 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
22982 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
22984 * configure: Rebuilt.
22986 * configure.in (hppa*-*-linux*): New configuration.
22987 * configure: Rebuilt.
22988 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
22989 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
22990 * pa/pa-linux.h: New file.
22991 * pa/t-linux: New file.
22992 * pa/xm-linux.h: New file.
22994 * pa.c (hppa_legitimize_address): Change references from SImode to
22995 either Pmode or word_mode as appropriate.
22996 (emit_move_sequence, store_reg, load_reg): Likewise.
22997 (set_reg_plus_d, hppa_expand_prologue): Likewise.
22998 (output_mul_insn): Likewise.
22999 * pa.h (PROMOTE_MODE): Likewise.
23000 (INITIALZE_TRAMPOLINE): Likewise.
23001 (Pmode): Define to word_mode.
23003 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23004 value of 4. Allocate 8 bytes for each FP register save.
23005 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23007 (hppa_expand_prologue): Likewise.
23008 * pa.h (PROMOTE_MODE): Likewise.
23009 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23010 (FUNCTION_ARG_BOUNDARY): Likewise.
23012 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23014 * pa.c (out_of_line_prologue_epilogue): Delete.
23015 (override_options): Remove -mspace related code.
23016 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23017 (compute_frame_size): Only allocate space for register that
23018 actually need to be saved.
23019 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23020 (TARGET_SWITCHES): Remove -mspace, -mno-space
23021 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23022 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
23023 * pa/ee.asm, pa/ee_fp.asm: Delete.
23025 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23027 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23028 directive in column zero.
23030 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
23032 * m68k.c (output_function_prologue): Fix computation of save mask
23033 when generating PIC code.
23035 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
23037 * tree.c (build_type_attribute_variant): Move current_obstack restore
23038 after build_qualified_type call.
23040 1999-07-15 Mark Mitchell <mark@codesourcery.com>
23042 * configure.in: Use t-iris6, even with GNU LD.
23043 * config/mips/iris6gld.h: Fix typo in linker spec.
23044 * config/mips/t-iris6gld: Remove.
23046 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
23048 * rs6000.md (insv, extzv): Remove SImode dependence in named
23049 patterns. Explicitly generate DImode RTL if PowerPC64 and
23051 (insvdi): Reverse start and size in instruction template.
23053 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
23055 * invoke.texi: Typo fixes.
23057 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
23059 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23060 handle at this time instead of silently generating incorrect code.
23061 (gen_imagpart): Likewise.
23063 * reload.c (find_reloads): Emit a USE for a pseudo register without
23064 a hard register if we could not create an optional reload for the
23067 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23069 * c-typeck.c (output_init_element, process_init_element):
23070 When advancing constructor_unfilled_fields for a RECORD_TYPE,
23071 check for nameless bit fields.
23073 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
23075 * regclass.c (scan_one_insn): Notice subregs that change the
23076 size of their operand.
23077 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23079 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
23081 * configure.in (alpha*-*-*): Include alpha/t-ieee.
23082 * configure: Rebuilt.
23083 * alpha/t-ieee: New file.
23085 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
23087 * rs6000.c (find_addr_reg): Do not select r0 as an address
23090 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
23092 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23094 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
23096 * rs6000.md (movsf): Do not force easy FP constants into memory.
23098 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23099 immed_double_const to ensure they are properly truncated then
23102 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23104 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23105 always unless NO_DEBUG is used. Compile this code
23107 (replace_symbols_in_block): Compile it unconditionally.
23109 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
23111 * configure.in (i?86-*-elf*): New target.
23112 * configure: Rebuilt.
23113 * i386/i386elf.h, i386/t-i386elf: New files.
23115 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
23117 * toplev.c (main): Don't complain about saying -gdwarf.
23118 (rest_of_compilation): Remove redundant code.
23120 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
23122 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23124 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
23126 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23127 "Li960R:", to avoid name clash.
23129 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23131 * loop.c (check_dbra_loop): When reversing a loop, delete all
23132 REG_EQUAL notes referencing the reversed biv except those which are
23133 for a giv based on it.
23135 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
23137 * version.c: Drop "gcc-" prefix from version #.
23139 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
23141 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23142 the label if we're being verbose.
23144 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
23146 * m68k.c (output_function_prologue): Add pic register to mask
23147 if live and flag_pic.
23148 (output_function_epilogue): Likewise.
23150 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
23152 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23153 directives in column zero.
23155 * pa/elf.h (ASM_FILE_START): Define.
23156 * pa/som.h (ASM_FILE_START): Include .level directives.
23157 * pa/hpux10.h (ASM_FILE_START): Delete.
23158 * pa/hpux11.h (ASM_FILE_START): Delete.
23160 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23162 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23164 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23165 when reload_out equals reload_in.
23167 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
23169 * invoke.texi (Spec Files): New node: Describe the contents of
23172 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
23174 * invoke.texi (DEC Alpha Options): Put @end table at
23175 beginning of line, to avoid confusing texi2html.
23177 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
23179 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23180 introduced in previous delta.
23182 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23184 * reload1.c (gen_reload): When synthesizing a 3 operand add
23185 sequence, improve test for when to reload OP1 into the reload
23186 register instead of OP0.
23188 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
23190 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23192 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
23194 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23197 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
23199 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23200 (va_dcl): Use __builtin_va_alist_t.
23202 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
23204 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23205 on the permanent_obstack.
23206 * dwarfout.c (output_type): Likewise.
23208 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
23210 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23211 Merged from c-typeck.c and cp/typeck.c.
23212 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23213 Merged into c-common.
23215 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
23217 * c-lex.c (errorcount): Declare it.
23218 (finish_parse): Update errorcount when using CPPLIB.
23220 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
23222 * fixinc/inclhack.def(end_else_label): Double the backslash so
23223 sed gets a chance to see it.
23224 * fixinc/inclhack.sh: regen
23225 * fixinc/fixincl.x: regen
23227 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
23229 Add framework to support armv5 architecture when it becomes
23232 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23233 (arm_arch5): New variable.
23234 (all_architectures): Add armv5 line.
23235 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23236 -march=armv5 is specified on the command line.
23237 (arm_arch5): Export this variable.
23238 * invoke.texi: Document new string accepted by -march= switch for
23241 * config/arm/arm.h: Replace use of constant 12 as a register
23242 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23243 * config/arm/arm.c: Replace use of constant 12 as a register
23244 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23246 * config/arm/elf.h: Tidy up.
23247 * config/arm/coff.h: Tidy up.
23249 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
23251 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23252 * gcc/config/mips/t-iris6gld: New file.
23253 * gcc/config/mips/iris6gld.h: Likewise.
23255 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
23257 * c-decl.c (widest_integer_literal_type_node,
23258 widest_unsigned_literal_type) : New.
23259 (init_decl_processing): Handle/use the two new types.
23260 * c-common.c (type_for_size,type_for_mode) : Same.
23261 * c-lex.c (yylex) : Same.
23262 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23264 * c-tree.h (widest_integer_literal_type_node,
23265 widest_unsigned_literal_type) : New.
23267 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
23269 * dwarfout.c (field_byte_offset): Correctly compute the object's
23270 byte offset for the first bit of a field which crosses an alignment
23271 boundary on a !BYTES_BIG_ENDIAN target.
23273 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
23275 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23278 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
23279 Jeff Law <law@cygnus.com>
23281 * ginclude/varargs.h (va_dcl): Use word_mode for type of
23284 * except.c: Include intl.h.
23285 (expand_eh_return): Set current_function_cannot_inline.
23286 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23287 * function.h (struct function): Add eh_return_stub_label.
23288 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23289 * Makefile.in (except.o): Depend on intl.h.
23291 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
23293 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23294 same as offsettable in cases 1 and 2.
23296 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
23298 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23299 (extlh, extwh): Likewise.
23301 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
23303 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23305 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
23307 * configure.in: Add arm-pe and thumb-pe targets.
23308 * configure: Regenerate.
23310 * thumb.c (arm_naked_function_p): New function: Determines if
23311 a function is naked (has no gcc generated prologue/epilogue).
23312 (is_called_in_ARM_mode): Return true if the func has the
23313 interfacearm attribute.
23314 (output_return): Do not generate a return for naked functions.
23315 (thumb_function_prologue): Do not generate a prologue for
23317 (thumb_expand_prologue): Do not generate a prologue for naked
23319 (thumb_expand_epilogue): Do not generate an epilogue for naked
23321 (arm_valid_machine_decl_attribute): New function, copied from
23322 arm.c: Permit naked and interfacearm attributes.
23324 * config/arm/pe.c: New file: Support code for arm-pe target.
23325 * config/arm/pe.h: New file: Header file for arm-pe target.
23326 * config/arm/tpe.h: New file: Header file for thumb-pe target.
23327 * config/arm/t-thumb-pe: New file: Makefile fragment for
23330 1999-07-01 Mark Kettenis <kettenis@gnu.org>
23332 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23333 -fPIC or -fpic is specified.
23335 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
23337 * expr.c (emit_block_move): Use copy_to_mode_reg for
23338 !TARGET_MEM_FUNCTIONS case too.
23340 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23342 * configure: Rebuilt.
23343 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23344 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
23345 definitions made redundant by dbxelf.h inclusion. Delete
23346 lots of definitions related to assembly output that are
23347 specific to the SOM object format.
23348 * pa.c (output_function_prologue): Do not emit the function's
23350 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23351 * pa-pro.h: Deleted.
23352 * som.h: New file with SOM specific definitions.
23353 * elf.h: New file with ELF specific definitions.
23355 * elfos.h (const_section): Output a tab before assembler directives.
23356 (ctors_section, dtors_section): Likewise.
23357 (ASM_OUTPUT_SECTION_NAME): Likewise.
23359 * pa/pa1.h: Delete unused file.
23361 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
23363 * configure.in (hppa*-hp-hpux11*): New configuration.
23364 * configure: Rebuilt.
23365 * pa/pa-hpux11.h: New file.
23366 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23369 * mips.md (leasi, leadi): New patterns.
23371 * expr.c (emit_block_move): Properly handle case where one of the
23372 block move arguments has a queued increment or decrement.
23373 (clear_storage): Similarly. Fix formatting goof.
23375 1999-06-28 "David O'Brien" <obrien@NUXI.com>
23377 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23378 semicolon from the BSD VA_LIST replacement expression.
23380 * fixinc/inclhack.sh: regen
23381 * fixinc/fixincl.x: regen
23383 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23384 now use the fixincl program.
23386 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
23388 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23389 case. Also make the PIC register call_used.
23391 * m68k.h (FINALIZE_PIC): Delete.
23392 * m68k.c (finalize_pic): Delete.
23394 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
23396 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23399 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
23401 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23403 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
23405 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23407 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
23409 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23411 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
23413 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23415 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
23417 * rs6000.c (output_toc): Always use hex values for floating-point
23418 constants. Store single-precision values in upper-half of TOC
23419 entry in 64-bit mode.
23420 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23421 to final constraints.
23422 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23423 (fctiwz): Improve accuracy of RTL for pattern.
23425 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
23427 * expr.c (expand_expr): Allow RTL_EXPR's through the
23428 MAX_INTEGER_COMPUTATION_MODE checks.
23430 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
23432 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23433 such that MASK_SUPPORT_ARCH is not negative.
23435 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
23437 * loop.c (verify_dominator): Properly handle ADDR_VEC and
23438 ADDR_DIFF_VEC insns that appear inside loops.
23440 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
23441 Jeff Law <law@cygnus.com>
23443 * rs6000.md (movdf_hardfloat32): Revert previous patch.
23444 Handle LO_SUM the same as offsettable in cases 1 and 2.
23445 * rs6000.c (find_addr_reg): Revert previous patch.
23447 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
23449 * system.h (strstr): New external function declaration.
23450 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23451 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23452 * config.in, configure: Rebuilt.
23454 1999-06-24 Tom Tromey <tromey@cygnus.com>
23456 * gcc.c (main): Read user-specified specs files after computing
23457 additional startfile_prefixes.
23459 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
23461 Revert these two patches:
23463 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23464 * loop.c (strength_reduce): When doing biv->giv conversion, update
23465 reg note of NEXT->insn.
23467 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23468 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23470 (recombine_givs): Set ix field after sorting.
23472 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23474 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23475 for the parts of an UNSPEC / UNSPEC_VOLATILE.
23477 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
23479 *fixinc/inclhack.def: Add fix development commentary
23480 (read_ret_type): reactivate and add selection clause
23481 (zzz_*): tweak output file name to match what is used in hackshell.tpl
23482 *fixinc/{fixincl.x|inclhack.sh}: regen
23484 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
23486 * expr.c (expand_expr): STRIP_NOPS before checking against
23487 MAX_INTEGER_COMPUTATION_MODE
23488 (check_max_integer_computation_mode): Likewise.
23490 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
23492 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23494 1999-06-22 Jim Wilson <wilson@cygnus.com>
23496 * expr.c (store_expr): When target is a promoted subreg, return a
23497 promoted subreg as a result.
23499 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
23501 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23503 (dwarf2out_define): Mark unused parameters appropriately.
23504 (gen_unspecified_parameters_die): Ditto.
23505 (gen_subprogram_die): Fix signed/unsigned warnings.
23506 (gen_variable_die): Ditto.
23508 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
23510 * fixinc/inclhack.def(end_else_label): combined else_label
23511 and endif_label and fixed the sed expression.
23512 *fixinc/{fixincl.x|inclhack.sh}: regen
23514 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
23516 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23517 'x' when handling non-offsettable addresses
23519 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
23521 * final.c (shorten_branches): Don't try to split an insn that has
23524 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
23526 * config/mips/mips.c (symbolic_expression_p): New function.
23527 (mips_select_rtx_section): Put symbolic expressions in the
23528 data section, not the read-only data section.
23530 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
23532 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23534 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
23536 * collect2.c (main): Log frame table count.
23537 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23538 (scan_prog_file) [COFF]: Handle frame tables.
23540 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23541 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23542 * alpha/elf.h: Undef them again.
23543 * alpha/vms.h: Remove their definitions.
23545 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23547 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23548 remove the clobber of r0 and change the REG_UNUSED note to
23551 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
23553 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23554 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23555 fits in HOST_WIDE_INT and one uses union to access a long constant
23558 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
23560 * sparc.c (sparc_override_options): Don't allow profiling for
23561 code models other than medlow.
23562 (sparc_function_profiler): New function from old FUNCTION_PROFILER
23563 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23564 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
23565 (sparc_block_profiler): Likewise.
23566 (sparc_function_block_profiler_exit): Likewise.
23567 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23568 (FUNCTION_BLOCK_PROFILER): Likewise.
23569 (BLOCK_PROFILER): Likewise.
23570 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23571 (MCOUNT_FUNCTION): New.
23572 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23573 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23574 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23575 (MCOUNT_FUNCTION): New.
23576 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23577 (BLOCK_PROFILER): Delete.
23578 (MCOUNT_FUNCTION): New.
23580 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
23582 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23584 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23586 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23589 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23592 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23595 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23598 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
23600 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23603 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
23605 * i386/djgpp.h (LIB_SPEC): New.
23606 (STARTFILE_SPEC): New.
23608 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23610 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
23612 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23615 * system.h (WSTOPSIG): New macro.
23617 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
23619 * c-pragma.c (push_alignment): Don't ignore alignments greater than
23621 (insert_pack_attributes): Take into account member natural
23624 * i386/winnt.c (exports_head): New static variable.
23625 (i386_pe_record_exported_symbol): New function.
23626 (i386_pe_asm_file_end): Use.
23627 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23628 symbols to be emitted at end of assembly.
23629 (ASM_DECLARE_OBJECT_NAME): Likewise.
23630 (ASM_DECLARE_FUNCTION_NAME): Likewise.
23632 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23635 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
23637 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23640 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
23642 * haifa-sched.c (sched_analyze_1): Use free_list instead of
23643 zapping reg_last_uses directly.
23644 (sched_analyze_2, sched_analyze_insn): Likewise.
23645 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
23647 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
23649 * rs6000.md (movdf_hardfloat32): Use worst case insn length
23650 attributes for cases 1 and 2.
23652 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
23654 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23657 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
23659 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23661 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
23663 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23664 PIC_OFFSET_TABLE_REGNUM for general alloaction.
23665 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23666 must be stacked if it is used for PIC accesses.
23667 * arm.c (use_return_insn): Handle PIC register specially.
23668 (output_return_instruction): Likewise.
23669 (output_func_{prologue,epilogue}): Likewise.
23670 (output_expand_prologue): Likewise.
23672 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23673 (*strsi_predec): Renamed from *strqi_predec.
23674 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23675 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23677 * arm.c (arm_override_options): Remove warning about PIC code
23678 not being supported.
23680 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
23682 * rs6000.c (find_addr_reg): New function.
23683 * rs6000.h (find_addr_reg): Declare.
23684 (offsettable_addr_operand): Delete.
23685 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23686 from and stores to GPRs.
23688 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
23690 * alpha.c (alpha_expand_block_move): Use get_insns rather than
23691 gen_sequence as argument to emit_no_conflict_block.
23693 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23695 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23696 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23697 *fixinc/fixincl.x: regen
23698 *fixinc/inclhack.sh: regen
23700 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
23702 * added support for -mpcrel (PC relative addressing for m68k)
23703 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
23704 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23705 * m68k.c (print_operand_address): Handle 32-bit PIC case.
23706 (comments for general_src_operand): Add some explanation
23707 about EXTRA_CONSTRAINTS.
23708 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23709 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23710 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23711 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23712 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23713 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23714 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23715 if not already set.
23716 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23717 * m68k.h (TARGET_PCREL): New target flag.
23718 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23719 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23720 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23721 contains a SYMBOL_REF. Relax this constraint during reload, since
23722 we want to use the predicates, not reload's built-in concept of a
23723 valid memory address, to control what insns need reloading.
23724 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23725 operands (essentially 'g', 'm', and 's' under normal circumstances).
23726 * m68k.c (print_operand): Cause printing of pc-relative addresses
23727 to include pc register.
23728 (print_operand_address): Ditto.
23729 (general_src_operand): Accept operands that are not only
23730 general_operands, but are also valid when used as a pc-relative
23732 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
23733 (memory_src_operand): Similar, for memory_operands.
23734 (pcrel_address): New predicate to accept the special case of a
23735 pc-relative address.
23736 * m68k.md (many patterns): Rewrite common SImode, HImode, and
23737 QImode insns to accept *_src_operand instead of *_operand where
23738 pc-relative operands can fit. For example, a pc-relative operand
23739 can be used as a memory source operand for addsi3, but not as a
23740 memory destination.
23741 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
23743 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
23745 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
23746 .thumb_set pseudo op to mark aliases of thumb functions.
23748 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
23750 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
23751 preference to ASM_OUTPUT_DEF, if it is defined.
23753 * tm.texi: Document new, optional target macro
23754 ASM_OUTPUT_DEF_FROM_DECLS.
23756 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23758 * fixincludes: ISCNTL patch
23759 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
23760 (dgux_int_varargs): new for DG/UX
23761 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
23763 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
23765 * invoke.texi (ia32 options): Fix typo.
23767 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23769 * loop.c (strength_reduce): When doing biv->giv conversion, update
23770 reg note of NEXT->insn.
23772 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
23774 * loop.c (move_movables): Note issues with replacing REGs with
23776 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
23778 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
23780 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
23782 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
23783 the reference to `mcount' was not correct for the ELF on FreeBSD.
23785 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23787 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23790 (recombine_givs): Set ix field after sorting.
23792 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
23794 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
23795 to safe to extract a subword out of a REG.
23797 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23799 * sh.md (mulsi3): Don't add a no-op move at the end.
23801 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23803 * cse.c (cse_insn): Don't put hard register source into tables for
23804 the last insn of a libcall.
23806 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23808 * loop.c (strength_reduce): Insert sets of derived givs at every
23809 biv increment, even if it's the only one.
23811 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
23813 * dwarfout.c (add_incomplete_type): New fn.
23814 (output_type): Call it.
23815 (retry_incomplete_types): New fn.
23816 (dwarfout_finish): Call it.
23818 From Eric Raskin <ehr@listworks.com>:
23819 (output_type): Output types for bases.
23821 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23823 * mips.c (mips_output_conditional_branch): Add `break'
23824 between `default' label and `close braces'.
23826 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
23828 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
23829 specifications and make it realistic.
23830 (LIB_SPEC): Likewise.
23832 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
23834 * config/mips/mips.c (mips_secondary_reload_class): Check for
23835 (PLUS (SP) (REG)) and return appropriate register class.
23836 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
23837 Handle (PLUS (SP) (REG)).
23838 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
23839 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
23840 of emit_insn for tablejump.
23842 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
23844 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
23845 asm_fprintf format string by itself.
23846 (output_function_profiler): Likewise.
23848 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
23850 * combine.c (simplify_logical, case AND): Only call
23851 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
23852 or the constant is positive.
23854 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
23856 * configure.in: Fix typo in rs6000-ibm-aix4 case.
23857 * configure: Regenerate.
23859 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
23861 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
23862 require a sub-version #.
23863 * configure: Rebuilt.
23865 1999-06-14 Robert Lipe (robertlipe@usa.net)
23867 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
23869 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
23871 * c-typeck.c (process_init_element): Detect excess elements in
23872 char array initializer.
23874 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
23876 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
23878 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
23880 * invoke.texi (Option Summary): Add -fpermissive flag.
23882 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
23884 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
23885 that require PIC code sequences.
23887 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
23889 * configure.in: Add new target: thumb-elf.
23890 * configure: Regenerate.
23891 * config/arm/t-thumb-elf: New file: Makefile fragment for
23893 * config/arm/telf.h: New file: Header file for thumb-elf
23896 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
23898 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
23899 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
23900 initializers is some circumstances.
23902 * fixinc/inclhack.def (endif_label): Add additional selector for
23903 more bogus stuff after #endif statements.
23904 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
23906 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
23908 * i386/cygwin.h (SET_ASM_OP): Define.
23910 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
23912 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
23914 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23916 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
23919 * sh.md (ic_invalidate_line_i): Remove second alternative.
23921 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23923 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
23924 test for the presence of valid prototypes. Delete bypass expr.
23925 (ioctl_fix_ctrl): Correct the selection expression.
23926 (no_double_slash): Correct quoting rules
23927 *fixinc/fixincl.x: regen
23928 *fixinc/inclhack.sh: regen
23930 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
23932 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
23934 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23936 * rs6000.md (movsi_got_internal_mem): Delete.
23937 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
23938 (GOT_TOC_REGNUM): Delete.
23939 (PIC_OFFSET_TABLE_REGNUM): Define.
23940 (FINALIZE_PIC): Disable.
23941 * rs6000.c (rs6000_got_register): New code for fixed pic register.
23942 (rs6000_replace_regno): Delete.
23943 (rs6000_finalize_pic): Likewise.
23944 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
23946 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23948 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
23949 is a note; use <= for the compare; advance P while it is
23952 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
23954 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
23955 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
23957 * varasm.c (remove_from_pending_weak_list): Verify t->name
23958 is non-NULL before passing it to strcmp.
23960 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23962 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
23963 the typed arguments are not part of a comment
23964 (ioctl_fix_ctrl): Added a purpose comment
23965 *fixinc/fixincl.x: regenerate
23966 *fixinc/inclhack.sh: regenerate
23968 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23970 * invoke.texi: Add C4x invocation docs.
23972 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23974 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
23976 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
23978 (c4x_legitimize_reload_address): New function.
23979 * config/c4x/c4x.md: Update docs.
23981 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
23983 * fixincludes: Avoid removing '.'.
23984 * fixinc/fixinc.svr4: Likewise.
23985 * fixinc/fixinc.winnt: Likewise.
23986 * fixinc/inclhack.tpl: Likewise.
23987 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
23989 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23991 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
23993 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
23995 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
23997 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24000 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
24002 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24003 * configure: Regenerate.
24005 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
24007 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24010 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
24012 * fixinc/inclhack.def (avoid_bool): Also catch
24013 "typedef [unsigned] int bool".
24014 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24016 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24017 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24018 * configure: Rebuilt.
24020 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
24022 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24023 such that we can override its definitions if necessary.
24024 (CPP_SPEC): New define. Support processor specific predefines via
24026 (CC1_SPEC): New define. Support processor specific compiler
24027 options via %(cc1_cpu).
24028 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
24031 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24033 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24034 between sed's -e flag, and the open-quote following it.
24035 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24037 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
24038 Jeffrey A Law (law@cygnus.com)
24040 * varasm.c (assemble_start_function): Remove the function
24041 from the pending weak decls list when we define a function.
24042 (assemble_variable): Similarly for variables.
24043 (weak_finish): Ignore items on the list with a NULL name.
24044 (remove_from_ending_weak_list); New function to "remove" an item
24045 from the pending weak declarations list.
24047 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24049 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24051 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
24053 * c-lex.c (GETC): Redefine to call getch.
24054 (UNGETC): Redefine to call put_back.
24055 (putback_buffer): New structure type.
24056 (putback): New static structure.
24057 (getch): New function.
24058 (put_back): New function.
24059 (yylex): Replace unused bytes from bad multibyte character.
24061 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
24063 * cpplib.c (do_define): Cast `alloca' return value.
24064 (do_include, do_undef, do_pragma): Likewise.
24065 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24067 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24068 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24070 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
24072 * sparc.md (abstf2): This should be an expand.
24073 (split after abstf2_notv9): Fix mode.
24074 (abstf2_hq_v9): New pattern.
24075 (abstf2_v9): Only use when no hard quad.
24076 (absdf2_v9): Fix if target is not the same as source.
24077 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24078 Add correct output constraints.
24080 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
24082 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24083 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24085 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
24087 * mips.h (mips_output_conditional_branch): New function.
24088 (mips_adjust_insn_length): Likewise.
24089 (ASSEMBLER_SCRATCH_REGNUM): New macro.
24090 (ADJUST_INSN_LENGTH): Likewise.
24091 * mips.c (print_operand): Add `F' and `W' for floating-point
24092 comparison opcodes.
24093 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24095 (mips_adjust_insn_length): New function.
24096 (mips_output_conditional_branch): New function.
24097 * mips.md (length): Adjust attribute definition to handle
24098 conditional branches. Change lengths to bytes, rather than
24099 instructions throughout. Remove length attribute from
24100 instructions whose length is four bytes, and rely on the default
24102 (dslot): Fix typo in comment.
24103 Reword conditional branch patterns to use
24104 mips_output_conditional_branch.
24106 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
24108 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24109 (LIB_SPEC): Likewise.
24110 Link with -lprof1_r for -g/-pg.
24112 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24114 * loop.c (check_dbra_loop): Fix change of Jan 19.
24116 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
24118 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
24119 (STARTFILE_SPEC): Define, override the svr4.h version.
24120 (ENDFILE_SPEC): Likewise.
24122 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
24124 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24125 * fixinc/fixincl.x: Regenerated.
24126 * fixinc/inclhack.sh: Regenerated.
24128 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24130 * sh.c (barrier_align): Don't return early for normal branch/barrier
24131 when optimizing for SH2.
24133 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
24135 * i386/udk.h (LINK_SPEC): Correct linker search path for
24138 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24140 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24141 (braf_label_ref_operand): Delete.
24142 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24143 * sh.md (casesi_jump_2): Operand1 is now the inside of a
24144 label_ref, and has no predicate.
24145 The patten has a predicate to guard against invalid substitutions.
24146 (dummy_jump): Delete.
24147 (casesi): Update use of casesi_jump_2.
24149 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24151 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24152 *fixinc/fixincl.x: regenerate
24153 *fixinc/inclhack.sh: regenerate
24155 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
24157 * dwarf2out.c (add_incomplete_type): New fn.
24158 (gen_struct_or_union_type_die): Call it.
24159 (retry_incomplete_types): New fn.
24160 (dwarf2out_finish): Call it.
24162 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
24164 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24165 current block starts with a CODE_LABEL and ends with a CALL and
24166 we can not find all the argument setup instructions for the CALL.
24168 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
24170 Revert this change:
24171 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24172 something is a candidate for optimize_bit_field_compare.
24174 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24176 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24178 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
24180 * alpha.c (override_options): Thinko in last patch.
24182 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24183 (LIB_SPEC): Recognize -pthread.
24185 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
24187 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24188 definition in config/arm/coff.h
24189 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24191 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24193 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24194 fixes that need "file=xxx\n" prepended before invocation
24195 (start_fixer - new): starting the fixer process is complex enough
24196 to warrent its own routine. It prepends the "file=xxx\n" stuff.
24197 (process): uses the new routine; omit usage of putenv()
24198 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24199 * fixinc/fixincl.x: regenerate
24201 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
24203 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24204 and version #s (1.1 -> 2.96) as needed.
24205 * README.g77: Kill way out of date file in the toplevel directory.
24207 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
24209 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24210 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
24211 * configure: Rebuilt.
24212 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24213 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24214 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24215 (SWITCH_TAKES_ARG): Likewise.
24216 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24217 * config/t-freebsd: Moved from config/i386/ so it can used for all
24220 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
24222 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24224 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
24226 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24227 * configure: Rebuilt.
24229 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
24231 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24232 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24233 * rs6000/rs6000.c (rs6000_file_start): Use putc.
24234 (rs6000_output_load_toc_table): Same.
24235 (output_prolog, output_mi_thunk): Same.
24236 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24237 (ASM_GLOBALIZE_LABEL): Use putc.
24239 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
24241 * alpha.md (reload_*_help): New patterns and splitters.
24242 (reload_*): Use them.
24243 (mov[qh]i): Likewise.
24245 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
24247 * cccp.c (handle_directive): Handle backslash-newlines in quoted
24250 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
24252 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24254 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
24256 * flow.c (mark_regs_live_at_end, insn_dead_p,
24257 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24258 and HARD_FRAME_POINTER_REGNUM special treatment if reload
24259 hasn't run or the frame pointer is needed.
24260 * haifa-sched.c (attach_deaths): Likewise.
24261 * sched.c (attach_deaths): Likewise.
24263 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
24265 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24266 calculate_can_reach_end returns nonzero.
24268 * configure.in (native gas tests): Search for an assembler in the
24269 same manner that the installed compiler will.
24270 * configure: Rebuilt.
24271 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24273 * alias.c (find_base_term): Improve handling of addresses
24274 constructed from binary operations.
24276 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
24278 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24280 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
24282 * function.h (cleanup_label, frame_offset): Declare.
24283 (tail_recursion_label, tail_recursion_reentry): Likewise.
24284 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24285 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24286 (tail_recursion_label, tail_recursion_reentry): Likewise.
24287 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24289 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
24291 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24293 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24294 (MAX_OFILE_ALIGNMENT): Define.
24296 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
24298 * fixincl.c: Replace local include scheme with #includes of
24299 gansidecl.h and system.h.
24300 * procopen.c: Likewise.
24301 * server.c: Likewise.
24303 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
24305 * i386/t-dgux (EXTRA_PARTS): Add crti.o
24306 (crti.o): Add build rule and dependencies.
24307 * fixinc/fixinc.dgux: Use modified _int_varargs.h
24309 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24311 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24312 (LIB_LINUX_SPEC): Likewise.
24313 (LIB_LINUX_SPEC): Add support for -pthread
24314 (CPP_OS_LINUX_SPEC): Likewise.
24315 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24318 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
24320 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24322 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24323 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24324 for IEEE math and CC_FCOMI.
24325 (put_jump_code): No IEEE if CC_FCOMI is set.
24327 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24329 * fold-const.c (fold_truthop): Make the field reference unsigned
24330 when converting a single bit compare.
24332 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24334 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24336 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
24338 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24339 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24342 * reload.c (push_reload): Do not call remove_address_replacements
24343 when presented with identical optional reloads.
24345 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
24347 * alpha.h (MASK_FIX, TARGET_FIX): New.
24348 (MASK_*): Reorganize constants.
24349 (CPP_AM_FIX_SPEC): New.
24350 (TARGET_SWITCHES): Add FIX.
24351 (EXTRA_SPECS): Likewise.
24352 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24353 (SECONDARY_MEMORY_NEEDED): Likewise.
24354 (REGISTER_MOVE_COST): Likewise.
24355 * alpha.c (override_options): Add FIX support. Always use
24356 ALPHA_TP_PROG for ev6.
24357 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24358 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24359 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24361 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
24363 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24364 something is a candidate for optimize_bit_field_compare.
24366 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
24368 * gcc.texi (Passes): Document branch-shortening.
24369 * invoke.texi (Debugging Options): Document the fact that `-dp'
24370 outputs length information for instructions.
24372 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
24374 * flow.c: Revert previous delta.
24376 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
24378 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24379 FRAME_POINTER_REGNUM.
24380 (mark_set_1): Ditto.
24381 (mark_used_regs): Ditto.
24383 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
24385 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24386 (GOT_PCREL): New macro. Define to 1 if not already defined.
24387 * arm/elf.h (GOT_PCREL): Define to 0.
24388 * arm.c (arm_finalize_pic): Take into account the setting of
24391 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
24393 * output.h (STRIP_NAME_ENCODING): Provide default definition.
24394 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24396 * flow.c (mark_set_1): Do not record BLKmode stores as dead
24397 store elimination candidates.
24399 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
24401 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24404 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
24406 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24407 Add use of x-aix41-gld.
24409 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
24411 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24412 (ASM_OUTPUT_DESTRUCTOR): Define.
24414 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
24416 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24417 last CODE_LABEL in a loop if we have previously passed a jump
24418 to the top of the loop.
24420 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
24422 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24423 applying Philip's patch.
24425 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
24427 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24430 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
24432 * loop.c (strength_reduce): Grow reg_single_usage as needed.
24434 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
24436 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24437 Also remove a useless comment.
24439 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24441 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
24443 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
24445 * collect2.c (main): Only generate import or export file and add
24446 to link arguments if non-empty. Use xmalloc not alloca.
24447 (write_{export,import}_file): Delete.
24448 (write_aix_file): New function.
24449 (locatelib): Use xmalloc not malloc.
24450 (GCC_OK_SYMBOL): Do not check type if aix64.
24452 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
24454 Based on patch by Scott Bambrough and Pat Beirne:
24455 * config/arm/arm.c (making_const_table): New variable.
24456 * config/arm/arm.h (making_const_table): Declare.
24457 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24459 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24460 Keep track of when we are building the constant table.
24462 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
24464 * config/arm/arm.c (arm_override_options): Fix erroneous warning
24467 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
24469 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24472 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
24474 * tm.texi (FUNCTION_ARG): Correct description of a stack element
24477 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
24479 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24481 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24483 * rs6000.c (output_mi_thunk): Enable full support again.
24485 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24487 * sh.h (BRANCH_COST): Define.
24489 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
24491 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24493 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
24495 * function.c (assign_stack_local): Align stack slot propertly.
24496 (assign_outer_stack_local): Likewise.
24498 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
24500 * expr.h (lang_expand_constant): Declare.
24501 * toplev.c (lang_expand_constant): Define it.
24502 * varasm.c (output_constant): Use it.
24504 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24506 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24507 Change function definitions to K&R style.
24509 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24511 * fixinc/fixincl.c: We must not ignore SIGCLD now.
24513 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
24515 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24516 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24517 (several places): omit static initialization
24518 (process): use single fd, since only the read fd is used
24519 * fixinc/gnu-regex.c: define 'const' away, if not supported
24520 * fixinc/procopen.c(several places): omit static initialization
24521 * fixinc/server.c: define 'volitile' away, if not supported
24523 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24525 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24526 asm_fprintf and %L to generate the label name.
24527 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24528 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24530 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
24532 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24533 insn for a conditional jump can not be found.
24535 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
24537 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24538 on variables in specific sections other than .sbss and .sdata.
24540 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
24542 * stmt.c (expand_return): Call start_cleanup_deferral and
24543 end_cleanup_deferral around conditional code.
24545 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24547 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24548 filename lists. Utilizes new "krstr" AutoGen function.
24549 * fixinc/fixincl.x: Rebuilt.
24551 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
24553 * i386.c (output_float_compare): Avoid GNU-C extensions.
24555 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
24557 * version.c: Bump to distinguish mainline tree from the
24560 See ChangeLog.1 for earlier changes.