1 2000-04-13 Andreas Jaeger <aj@suse.de>
3 * config/mips/mips.c (expand_block_move): Pass alignment
4 argument to move_by_pieces in bits, not bytes.
6 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
7 __pic__ for little endian.
9 2000-04-13 Andreas Jaeger <aj@suse.de>
11 * config/i386/i386-protos.h: Add prototype for
12 uno_comparison_operator.
14 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
16 * alias.c (nonlocal_reference_p): Take a care for
17 CALL_INSNS's fusage field.
18 * calls.c (ECF_PURE): New flag.
19 (emit_call_1): Handle ECF_PURE calls.
20 (initialize_argument_information): Unset ECF_PURE flag too.
21 (precompute_arguments): Precompute for ECF_PURE too.
22 (expand_call): Handle ECF_PURE calls too.
23 (emit_library_call_value_1): Rename no_queue argument to
24 fn_type, accept value of 2 as pure function.
25 (emit_library_call_value, emit_library_call): Rename no_queue argument
27 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
29 * tree.h (DECL_IS_PURE): New macro.
30 (struct tree_decl): Add pure_flag.
31 * c-common.c (enum attrs): Add attribute "pure".
32 (init_attributes): Initialize attribute "pure"
33 (decl_attributes): Handle attribute "pure".
34 * extend.texi (Attribute "pure"): Document.
35 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
37 (flags_from_decl_or_type): Support attribute "pure".
39 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
41 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
42 the token except for numbers and identifiers.
44 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
46 * i386.c (ix86_expand_binary_operator,
47 ix86_expand_unary_operator): Check no_new_pseudos
48 instead of reload_in_progress and reload_completed.
49 (ix86_split_ashldi, ix86_split_ashrdi,
50 ix86_split_lshrdi): Check no_new_pseudos instead
53 2000-04-12 Jeffrey A Law (law@cygnus.com)
55 * function.c (purge_addressof): Unshare any shared rtl created by
56 purge_addressof and its children.
58 2000-04-12 Mark Mitchell <mark@codesourcery.com>
60 * function.c (aggregate_value_p): VOID_TYPE nodes are never
63 2000-04-05 Andreas Jaeger <aj@suse.de>
65 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
66 not compiling PIC code, add flags for mabi=64.
67 (SUBTARGET_CPP_SIZE_SPEC): New.
68 (SUBTARGET_CPP_SPEC): New.
69 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
70 for MIPS/Linux and lots of code needs these defines.
72 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
74 * reorg.c (fill_slots_from_thread): Check side_effects_p when
75 trying the "opposite arithmetic" approach.
77 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
79 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
80 (struct sh_args): Add new field force_mem.
81 (INIT_CUMULATIVE_ARGS): Initialize it.
82 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
84 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
86 (expand_call): Do not reverse args in "equal from" field.
87 (emit_library_call_value_1): Emit_libcall_block for const and pure
90 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
92 * reload1.c (reload_combine): Don't enable optimization for fixed
93 registers when encountering a BARRIER.
95 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
97 * builtins.c (expand_builtin_memcmp): Do expansion even with
98 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
100 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
101 stack is propertly aligned; add sanity checking for aligned
103 (expand_library_call_value_1): Add sanity checking for aligned
106 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
108 * calls.c (emit_library_call_value_1): Change 3rd arg to
109 locate_and_pad_parm to disregard the setting of partial.
111 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
113 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
115 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
116 CALL_INSN from the normal case.
118 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
120 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
121 New global variables.
122 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
124 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
126 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
127 TARGET_ADD_ESP_8): New macros.
128 * i386.md: Add peep2s to convert esp adjustments to push and pop
130 (pushsi_prologue, popsi_epilogue): New patterns.
132 2000-04-12 Jakub Jelinek <jakub@redhat.com>
134 * real.c (toe64): Remove stale #endif from the last change.
136 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
138 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
139 * real.c (toe64): Revert previous change.
141 2000-04-12 Jakub Jelinek <jakub@redhat.com>
143 * objc/objc-act.c: Include ggc.h.
144 (objc_tree_index, objc_global_trees): Convert most of the
145 static tree variables into a static array with previous names
147 (objc_ellipsis_node): New variable.
148 (lang_init): Call objc_act_parse_init and c_parse_init.
149 Create objc_ellipsis_node.
150 (build_selector_translation_table): Use objc_ellipsis_node instead
152 (hack_method_prototype): Likewise.
153 (get_arg_type_list): Likewise.
154 (start_method_def): Likewise.
155 (continue_method_def): Likewise.
156 (gen_method_decl): Likewise.
157 (ggc_mark_imp_list): New function.
158 (ggc_mark_hash_table): New function.
159 (objc_act_parse_init): New function.
160 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
161 * c-parse.in (c_parse_init): For objc add roots of objc specific
162 local tree variables.
163 * objc/objc-parse.y: Rebuilt.
164 * objc/objc-parse.c: Rebuilt.
165 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
167 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
169 * cse.c (delete_trivially_dead_insns): Also delete insns
170 that copy a register to itself where the destination is
173 2000-04-11 Richard Henderson <rth@cygnus.com>
175 * flow.c (struct propagate_block_info): Add new_dead, new_live.
176 (propagate_block): Initialize them. Use them in parallel instead
177 of one tmp variable, ie revert much of the 0408 and 0407 functional
178 changes, but keep the structural changes.
179 (mark_set_regs): Take new_dead from propagate_block_info instead.
180 (mark_set_1, mark_set_reg): Likewise.
181 (mark_used_regs): Likewise with new_live.
182 (mark_used_reg): Likewise. Revert 0408 change.
184 2000-04-11 Nick Clifton <nickc@cygnus.com>
186 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
188 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
190 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
192 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
193 const section to output a CONSTRUCTOR based on the same conditions
196 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
198 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
199 * pa/pa-protos.h (output_call): Add additional argument indicating
200 if the call is a sibling/tail call.
201 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
202 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
203 (function_arg, function_arg_partial_nregs): Likewise
204 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
205 (emit_move_sequence): Zero extend certain constants as needed
207 (compute_zdepdi_operands, output_64bit_and): New functions.
208 (output_64bit_ior, function_arg): Likewise.
209 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
210 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
211 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
212 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
213 (output_bvb): Likewise.
214 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
215 (output_call): New argument 'sibcall'. Generate sibcall sequences
217 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
218 (ouput_arg_descriptor): Do not emit argument descriptors for
220 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
222 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
223 (FUNCTION_OK_FOR_SIBALL): Define.
224 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
225 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
226 (CPP_SPEC): Use new spec infrastructure.
227 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
228 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
229 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
230 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
231 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
232 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
233 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
234 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
235 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
236 (FUNCTION_ARG); Call out to C code.
237 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
238 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
239 (MIN_UNITS_PER_WORD): Likewise.
240 * pa/pa.md (cmpdi): New expander.
241 (scc patterns, movstrsi): Not available for TARGET_64BIT.
242 (64bit conditional arithmetic): New patterns.
243 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
244 (movsicc): Not available if modes on all the operands to not match.
245 (movdicc): New expander and associated patterns.
246 (64bit branches): New patterns.
247 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
248 (pre_ldd, post_std): New patterns.
249 (64bit addil, load low part): New patterns.
250 (special movsf constant): Not available for TARGET_64BIT.
251 (movsf, movdf expanders): Force constants into memory.
252 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
253 (64bit movdf/movdi patterns): New patterns.
254 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
256 (extendqidi2, extendhidi2, extendsidi2): Similarly.
257 (adddi3 expander): Allow "arith_operand" for second input.
258 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
259 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
260 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
261 (muldi3): New expander for TARGET_64BIT.
262 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
264 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
265 patterns for TARGET_64BIT.
266 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
267 patterns for TARGET_64BIT.
268 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
269 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
270 (sibcall_epilogue): New expander.
271 (casesi): Tweak for TARGET_64BIT.
272 (call expanders): Set & use the outgoing argument pointer. Use the
273 64bit call patterns as needed. Add additional arg to output_call.
274 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
275 (sibcall, sibcall_internal_symref): New expanders.
276 (sibcall_value, sibcall_value_internal_symref
277 (interspace_jump): Turn into an expander + matching patterns.
278 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
279 * pa/pa64-regs.h: Eliminate trigraph sequences.
280 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
282 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
284 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
285 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
286 cpp_token with cpp_ttype everywhere.
287 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
288 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
289 CPP_BUF_COL. Line and column numbers are unsigned int, not
291 * cpplex.c (cpp_buf_line_and_col): Delete.
292 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
293 'long lineno' to 'unsigned int lineno'.
294 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
296 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
298 * extend.texi: ISO C99 is not a draft anymore.
299 * invoke.texi: ISO C++ is not a draft anymore.
300 * cpp.texi: __cplusplus is required by the ISO standard.
302 * extend.texi (-fthis-is-variable): Undocument.
303 * flags.h (warn_template_debugging): Remove declaration.
304 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
305 -Wenum-clash, -Wtemplate-debugging): Undocument.
307 2000-04-10 Nick Clifton <nickc@cygnus.com>
309 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
311 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
313 (ARM_SIGN_EXTEND): Use HOST_UINT.
314 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
315 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
316 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
317 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
319 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
320 (arm_gen_constant): Use HOST_UINT.
321 (arm_canonicalize_constant): Use HOST_UINT.
322 (arm_reload_in_hi): Use HOST_UINT.
323 (arm_reload_out_hi): Use HOST_UINT.
324 (output_multi_immediate): Use HOST_UINT.
325 (int_log2): Use HOST_UINT.
326 (arm_poke_function_name): Use HOST_UINT.
327 (arm_output_epilogue): Use arm_volatile_func().
328 (output_thumb_prologue): Use arm_strip_name_encoding().
330 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
332 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
333 of sequence point problems.
335 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
337 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
339 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
341 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
343 * sbitmap.h: Whitespace changes and use upper-case macro args.
344 (struct simple_bitmap_def): All sizes now unsigned.
345 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
346 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
347 (sbitmap_vector_alloc): Parms and local vars now unsigned.
348 (sbitmap_zero): Cast bzero arg to PTR.
349 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
350 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
351 loop to make structure clearer.
352 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
353 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
354 (sbitmap_a_and_b_or_c): Likewise.
355 (sbitmap_intersection_of_succs): Minor cleanups.
356 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
357 (sbitmap_union_of_preds): Likewise.
358 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
359 (debug_sbitmap): New function.
361 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
362 * c-typeck.c (convert_for_assignment): Likewise.
364 * expmed.c (init_expmed): Don't free objects we make.
365 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
367 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
368 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
370 * gcse.c (expr_hash_table_size): Now unsigned.
371 (compute_ae_gen): Local variable `i' now unsigned.
372 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
373 (compute_transout, hoist_code): Likewise.
374 (compute_local_properties): Likewise, also hash_table_size.
375 (alloc_expr_hash_table): N_INSNS now unsigned.
376 (delete_null_pointer_checks): Mark arg F as unused.
378 * regrename.c: Minor cleanups, including chang some variables
381 2000-04-10 Neil Booth <NeilB@earthling.net>
383 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
385 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
387 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
389 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
390 __classof__, and __headof__ from the list of gnu keywords.
391 (-ansi): Remove -foperator-names from list of implied options.
392 Do not call it ANSI C++.
393 (-foperator-names): Document as -fno-operator-names.
395 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
397 * cpphash.c (timestamp): Delete.
398 (del_HASHNODE): If type is T_MCONST, free value.cpval.
399 (special_symbol): Remove unnecessary braces. Remove
400 T_VERSION. Treat T_STDC like T_CONST unless
401 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
402 when one is encountered, then convert them into T_MCONST
404 * cppinit.c (builtin_array): version_string is T_MCONST.
405 __STDC__ has a "1" in its cpval. Don't have a terminator
406 entry. Clean up which entries are dumped.
407 (initialize_builtins): Only __STDC__ gets the special
408 -traditional treatment. Count the length of builtin_array.
409 Render version_string here.
410 * cpphash.h: Remove T_VERSION. Add T_MCONST.
411 * cpplib.h (struct cpp_reader): Remove timebuf.
413 2000-04-09 Richard Henderson <rth@cygnus.com>
415 * genrecog.c (pred): Update comparison_operator for the unordered
418 * config/i386/i386.c (no_comparison_operator): Disallow unordered
420 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
421 (uno_comparison_operator): New.
422 (put_condition_code): Handle UNORDERED/ORDERED.
423 (unsigned_comparison): Likewise.
424 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
425 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
426 (ix86_expand_fp_compare): Use them. Take scratch as argument,
427 update all callers. Handle all 8 unordered operators.
428 (ix86_expand_setcc): Lose the unordered argument, update all callers.
429 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
430 * config/i386/i386.h (PREDICATE_CODES): Update.
431 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
432 (ix86_expand_branch, ix86_expand_setcc): Update.
433 * config/i386/i386.md (sunordered, sordered): New.
434 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
435 (bunordered, bordered): New.
436 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
437 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
438 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
440 2000-04-09 Philip Blundell <philb@gnu.org>
442 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
444 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
446 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
447 fix_truncxfhi2): New patterns.
448 * i386.c (output_fix_trunc): Handle converting to HImode.
450 2000-04-08 Alex Samuel <samuel@codesourcery.com>
452 * ssa.c (convert_to_ssa): Eliminate dead code when calling
454 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
455 (for_each_successor_phi): Change parameter to basic_block.
456 (coalesce_regs_in_successor_phi_nodes): Likewise.
457 (coalesce_regs_in_copies): Likewise.
458 (compute_coalesced_reg_partition): Use basic_block instead of index.
459 * rtl.h (convert_to_ssa): Delete.
460 (convert_from_ssa): Likewise.
461 (successor_phi_fn): Likewise.
462 (for_each_successor_phi): Likewise.
463 (in_ssa_form): Likewise.
464 * basic-block.h (convert_to_ssa): Moved from rtl.h.
465 (convert_from_ssa): Likewise.
466 (successor_phi_fn): Likewise.
467 (in_ssa_form): Likewise.
468 (for_each_successor_phi): Likewise. Change parameter to basic_block.
469 * flow.c (calculate_global_regs_live): Pass a basic_block to
470 for_each_successor_phi.
472 2000-04-08 Richard Henderson <rth@cygnus.com>
474 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
475 was modified in the current insn.
477 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
479 * arm/thumb.md: Delete.
480 * arm/thumb-protos.h: Delete.
482 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
484 Merge changes from merged-arm-thumb-backend-branch onto trunk.
486 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
488 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
491 * arm.md (nop): Use the standard RTL expression. Don't code as a
493 (*arm_nop, *thumb_nop): Delete.
495 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
496 constants. Use casts instead.
497 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
498 output_multi_immediate, arm_poke_function_name): Likewise.
499 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
500 MASK_RETURN_ADDDR): Likewise.
502 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
504 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
507 * arm.md (eh_epilogue): New function.
508 * arm.h (struct machine_function): Move to here ...
509 * arm.c: ... from here.
510 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
511 (thumb_exit): Extra parameter eh_ofs. All callers changed.
512 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
514 2000-03-30 Nick Clifton <nickc@cygnus.com>
516 * config/arm/semi.h (ASM_SPEC): Restore definition.
517 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
519 * config/arm/elf.h (ASM_SPEC): Restore definition.
520 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
522 * config/arm/arm.h (ASM_SPEC): Remove definition.
523 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
525 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
527 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
529 2000-03-24 Nick Clifton <nickc@cygnus.com>
531 Various formating tidyups, elimination of compile time
532 warnings and synchronisation with internal sources:
534 * config/arm/arm-protos.h (assemble_align): Add prototype.
535 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
536 (gen_comapre_reg): Rename to arm_gen_compare_reg.
537 (arm_return_addr_rtx): Rename to arm_return_addr.
539 * config/arm/arm.c: Include except.h.
540 Define shorter typenames for strict minipool_node and struct
542 (arm_return_in_memory): For WinCE return all structures <= 32 bits
544 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
545 (gen_comapre_reg): Rename to arm_gen_compare_reg.
547 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
549 (ASM_SPEC): Define if not already defined.
550 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
552 * config/arm/arm.md: Rename references to gen_rotated_half_load to
553 arm_gen_rotated_half_load, and references to gen_comapre_reg to
555 (indirect_jump): Only accept register operands.
556 (load_indirect_jump): Keep this pattern since combine can generate
559 * config/arm/coff.h: Include aout.h.
560 (MULTILIB_DEFAULTS): Only define if not already defined.
562 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
563 into arm.h (so that COFF ports can support thumb based aliases).
564 (ASM_SPEC): Move definition into arm.h
566 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
568 (ASM_SPEC): Move definition to arm.h
570 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
572 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
573 for entries in the .bss section
575 2000-03-23 Nick Clifton <nickc@cygnus.com>
577 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
578 to thumb_far_jump_used_p.
580 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
581 single integer parameter.
583 * config/arm/arm.c (struct machine_function): Add two new
584 fields, 'far_jump_used' and 'arg_pointer_live'.
585 (thumb_far_jump_used_p): Once the decision has been made that
586 far jumps might be used, always return true.
587 If being called from the initial elimination offset macro then
588 do not bother to perform the test if the arg pointer is not
590 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
591 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
593 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
595 * arm.c (output_return_instruction): Handle more cases where we can
596 return from a function with an ldr instruction.
597 (arm_output_epilogue): Likewise.
599 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
600 if we need to push a large stack frame and there are no callee-saved
603 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
604 in ARM code if the frame pointer has been eliminated.
606 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
607 unspec_volatile arguments to avoid duplicates.
608 (consttable_1, consttable_2): Fixes for big-endian mode.
610 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
613 Re-write constant pool code.
614 * arm.c (minipool_node, minipool_fix): New types.
615 (minifix): Delete type.
616 (arm_add_minipool_constant): Delete.
617 (arm_compute_minipool_offsets, arm_find_barrier,
618 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
619 (get_jump_table_size): Now returns HOST_WIDE_INT.
620 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
622 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
623 (assign_minipool_offsets, arm_print_value): Likewise.
624 (dump_minipool): Rewrite.
625 (arm_barrier_cost): New function.
626 (create_fix_barrier): New function.
627 (push_minipool_barrier): New function.
628 (push_minipool_fix): Record additional information about the fixup
630 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
631 check the mode of what needs fixing.
632 (arm_reorg): Rewrite.
634 2000-03-08 Nick Clifton <nickc@cygnus.com>
636 * config/arm/arm.md (indirect_jump): Force constant addresses into
639 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
641 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
643 2000-02-24 Nick Clifton <nickc@cygnus.com>
645 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
646 adjust is word aligned.
647 (thumb_expand_epilogue): Make sure that stack adjust is word
650 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
652 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
654 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
655 pointer relative addresses.
657 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
659 * arm.c (find_barrier): Find the last barrier within the allowed
662 2000-02-09 Nick Clifton <nickc@cygnus.com>
664 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
666 2000-02-09 Nick Clifton <nickc@cygnus.com>
668 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
669 ARM_FUNCTION_PROFILER.
671 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
672 ARM_FUNCTION_PROFILER.
674 * config/arm/linux-oldld.h: Imported from mainline sources.
676 2000-02-07 Nick Clifton <nickc@cygnus.com>
678 * config/arm/lib1funcs.asm: Merge in thumb functions from
681 * config/arm/lib1thumb.asm: Delete.
683 2000-02-04 Nick Clifton <nickc@cygnus.com>
685 * config/arm/arm.c: Sychronised with current Red hat local
687 * config/arm/arm.h: Ditto.
688 * config/arm/arm-protos.h: Ditto.
690 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
692 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
694 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
697 2000-02-02 Nick Clifton <nickc@cygnus.com>
699 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
701 * config/arm/arm.md (epilogue): Fix rtl checking abort because
702 (return) was emited using an emit_insn() call.
704 2000-01-31 Nick Clifton <nickc@cygnus.com>
706 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
708 (thumb_exit): Move frame pointer back into hard frame pointer
709 register if backtracing is being used.
711 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
713 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
716 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
718 * config/arm/arm.md (neg_pool_offset): Provide default for new
720 (arm_movsi_insn): Add neg_pool_offset attribute.
721 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
722 rtx for the insn that starts the scan and an unsigned long for its
723 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
724 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
725 instructions in *PINSERTED.
726 (struct minipool_fixup): Add MIN_ADDRESS elt.
727 (sort_fixups): Compute it.
728 (arm_reorg): Changes to support inserting pools before the insn to be
731 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
733 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
734 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
735 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
737 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
739 * config/arm/semi.h (TARGET_VERSION): Do not define if already
741 (TARGET_DEFAULT): Do not define if already defined.
743 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
745 * config/arm/arm.md (anddi3): Allow disjoint source operands.
746 (iordi3): Allow disjoint source operands.
747 (xordi3): Allow disjoint source operands.
748 (negdi2): Permit construction for ARM and Thumb.
749 (arm_negdi2): Renamed version of old negdi2 pattern.
750 (thumb_negdi2): New pattern: Only permit non-overlapping
751 source and destination.
753 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
755 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
756 scratch low register so that it will not be deleted.
758 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
760 * config/arm/pe.h (ARM_PE): Define.
762 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
763 interfacearm attribute if this is a PE toolchain.
764 (output_return_instruction): Do not emit anything if the function
765 has the naked attribute set.
766 (is_called_in_ARM_mode): If the function has the interfacearm
767 attribute then return true.
768 (thumb_expand_prologue): Do not generate a prologue for naked
770 (thumb_expand_epilogue): Do not generate an epilogie for a naked
772 (output_thumb_prologue): Do not bother if the function is naked.
773 Strip PE encoding from function name before emitting.
775 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
777 * arm.md (pic_load_addr): Fix constraints.
779 * arm.md (casesi_insn): Fix mis-applied patch.
781 * arm.md ("core" function unit): Add rules for single- and
783 (All TARGET_THUMB patterns): Add "type" attribute information
785 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
786 the following insn is a CALL.
788 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
790 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
791 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
792 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
794 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
796 * config/arm/linux-gas.h: oops - this file was missed out when the
797 branch was created...
799 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
801 * thumb.c: Deleted. Move contents to ...
803 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
805 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
808 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
809 declare a prototype for asm_output_align();
811 * arm.c (thumb_condition_code): Delete.
812 (arm_print_operand): Always use arm_condition_code array.
814 * arm.c (thumb_return_addr_rtx): Delete.
815 (arm_save_machine_status, arm_restore_machine_status): Delete.
816 (arm_init_machine_status, arm_mark_machine_status): New functions.
817 (arm_init_expanders): Update accordingly.
818 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
819 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
820 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
822 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
824 * configure.in : Fix arm-*-aout target to use new t-arm-aout
826 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
829 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
831 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
832 stack backtrace structure.
834 * config/arm/arm-protos.h: Add prototypes for functions defined in
837 * config/arm/arm.c (arm_override_options): Fix selection of
838 attributes of default processor.
840 * config/arm/coff.h: Delete needless #include.
842 * config/arm/pe.c: Delete unused code.
844 * config/arm/pe.h (CPP_DEFINES): Delete
845 (SUBTARGET_CPP_SPEC): Define.
846 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
848 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
850 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
852 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
854 (CAN_DEBUG_WITHOUT_FP): Define.
855 (FIXED_REGISTERS): Make r11 call-saved.
856 (CALL_USED_REGISTERS): Likewise.
857 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
858 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
859 frame-pointer is required.
860 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
861 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
862 if the target normally needs a stack frame in non-leaf functions.
863 (use_return_insn): Correct logic for determining when a return
864 instruction can be used.
865 (output_return_instruction): Handle the frame-pointer register as
866 a normal register when not TARGET_APCS_FRAME.
867 (arm_output_prologue): Likewise.
868 (arm_output_epilogue): Likewise.
869 (output_func_epilogue): Likewise.
870 (arm_expand_prologue): Likewise.
871 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
873 * arm.c (use_return_insn): No need to check floating point regs if
875 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
876 the code of value stored in the minipool array.
877 (arm_add_minipool_constant): Likewise.
879 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
881 * basic-block.h (conflict_graph_enum_fn): K&R fix.
883 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
885 * tree.c (tree_expr_nonnegative_p): New function.
887 * tree.h (tree_expr_nonnegative_p): Declare.
889 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
890 elide some sign_compare warnings.
891 (build_conditional_expr): Likewise.
893 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
895 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
897 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
898 * i386.c (print_operand): Use the proper suffix for a 387 HImode
899 operand. Abort if a 387 operand has an unsupported size.
901 2000-04-08 Neil Booth <NeilB@earthling.net>
903 * cppexp.c (parse_charconst): Null does not end character
905 * cppinit.c (ISTABLE): Null character handled as whitespace.
906 * cpplex.c (null_warning): new function.
907 (skip_string): Emit warning if nulls encountered.
908 (_cpp_skip_hspace): Emit warning if nulls encountered.
909 (_cpp_lex_token): Emit warning if nulls encountered. Drop
913 2000-04-07 Richard Henderson <rth@cygnus.com>
915 * flow.c (loop_depth): Remove.
916 (reg_next_use, cc0_live, mem_set_list): Replace with ...
917 (struct propagate_block_info): New.
918 (life_analysis): Don't allocate reg_next_use.
919 (propagate_block_delete_insn): Break out of propagate_block.
920 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
921 (propagate_block_delete_libcall): Likewise.
922 (propagate_block): Create a propagate_block_info struct to pass
923 to subroutines. Allocate one not two temporary regsets. Don't
924 clobber memory for const calls. Look for clobbers in
925 CALL_INSN_FUNCTION_USAGE.
926 (mark_set_regs): Recognize COND_EXEC.
927 (mark_set_reg): Break out of mark_set_1.
928 (mark_used_reg): Break out of mark_used_regs.
929 (mark_used_regs): Recognize COND_EXEC.
930 (insn_dead_p): Use propagate_block_info struct.
931 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
932 (find_auto_inc, try_pre_increment_1): Likewise.
933 (print_rtl_with_bb): Dump regs live at end too.
934 (count_reg_sets_1): Pass in loop_depth.
935 (count_reg_sets, count_reg_references): Likewise.
936 (recompute_reg_usage): Provide it.
938 2000-04-07 Richard Henderson <rth@cygnus.com>
940 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
943 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
945 * cpplib.c (do_elif): Skip the rest of the line if we're
946 not going to bother evaluating it.
947 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
948 to avoid pointless calls to the lexer.
950 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
952 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
954 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
956 * calls.c (expand_call): emit_queue if we're trying a sibcall.
958 2000-04-07 Jakub Jelinek <jakub@redhat.com>
960 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
962 2000-04-06 Geoff Keating <geoffk@cygnus.com>
964 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
965 crtend so they can be multilibbed.
966 (STAGESTUFF): Remove s-crt and s-crtS.
968 2000-04-07 Richard Henderson <rth@cygnus.com>
970 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
971 if we discover we need a pseudo and no_new_pseudos is true.
972 * config/alpha/alpha.md (ne:DI insn): New.
973 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
975 2000-04-07 Richard Henderson <rth@cygnus.com>
977 * rtl.def (COND_EXEC): New.
978 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
979 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
981 * genconfig.c (have_cond_arith_flag): Remove.
982 (have_cond_exec_flag): New.
983 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
984 (main): Print HAVE_conditional_execution.
986 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
987 (sched_analyze_insn, print_pattern): Likewise.
988 * reload.c (find_equiv_reg): Likewise.
989 * rtlanal.c (reg_referenced_p): Likewise.
990 (note_stores, dead_or_set_regno_p): Likewise.
991 (reg_overlap_mentioned_p): Rewrite to use a switch.
993 * ggc.h (struct rtx_def): Forward declare.
995 * print-rtl.c (debug_rtx_range): New.
996 * rtl.h (debug_rtx_range): Declare.
998 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
1000 * gcse.c (gcse_main): Don't rebuild the CFG here.
1001 (delete_null_pointer_checks): Likewise.
1002 * ssa.c (convert_to_ssa): Likewise.
1003 * toplev.c (rest_of_compilation): Do it here instead. Combine
1004 sequential calls to TIMEVAR. Consistently use `insns' instead of
1005 `get_insns()'. Always split insns after reload when optimizing.
1007 * basic-block.h (merge_blocks_nomove): Declare.
1008 (tidy_fallthru_edge): Declare.
1009 * flow.c (merge_blocks_nomove): Document as merging into previous
1010 blocks. Remove cruft from between blocks; remove all edges out of A.
1011 (tidy_fallthru_edge): Export.
1013 2000-04-06 Alex Samuel <samuel@codesourcery.com>
1015 * ssa.c (compute_conservative_reg_partition): Declare with
1017 * toplev.c (clean_dump_file): Remove previously-deleted function
1018 inadvertantly merged back in.
1019 * conflict.c (conflict_graph_add): Use a single call to
1020 htab_find_slot to look up and insert.
1022 2000-04-06 Richard Henderson <rth@cygnus.com>
1024 * genrecog.c (*): Rename _last_insn to last_insn.
1025 (make_insn_sequence): Set the position of the peephole2 C test
1026 to be at the last insn.
1028 2000-04-06 Richard Henderson <rth@cygnus.com>
1030 * flow.c (compute_flow_dominators): Free worklist.
1032 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
1034 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1036 2000-04-06 Alex Samuel <samuel@codesourcery.com>
1038 * rtl.h (INSN_P): New macro.
1039 (successor_phi_fn): New typedef.
1040 (for_each_successor_phi): New prototype.
1041 (in_ssa_form): New variable.
1042 (PHI_NODE_P): Likewise.
1043 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1044 phi nodes in successors.
1045 (mark_used_regs): Add PHI case.
1046 (set_phi_alternative_reg): New function.
1047 (life_analysis): Assert that dead code elimination is not selected
1049 * toplev.c (to_ssa_time): New variable.
1050 (from_ssa_time): Likewise.
1051 (compile_file): Zero to_ssa_time and from_ssa_time.
1052 Print time to convert to and from SSA.
1053 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1054 (print_time): Compute percent fraction as integer.
1055 * ssa.c (PHI_NODE_P): Moved to rtl.h.
1056 (convert_to_ssa): Check if we're already in SSA.
1057 Don't eliminate dead code in life_analysis.
1058 Rerun flow and life analysis at bottom.
1059 (eliminate_phi): Use canonical regnos when adding nodes.
1060 (mark_reg_in_phi): New function.
1061 (mark_phi_and_copy_regs): Likewise.
1062 (convert_from_ssa): Rerun life analysis at top.
1063 Use coalesced partition.
1064 Check for removing a phi node at the end of the block.
1065 (compute_coalesced_reg_partition): New function.
1066 (coalesce_regs_in_copies): Likewise.
1067 (coalesce_reg_in_phi): Likewise.
1068 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1069 (for_each_successor_phi): Likewise.
1070 (rename_context): New struct.
1071 (rename_block): Use a rename_context with rename_insn_1. When
1072 renaming sets of a subreg, emit a copy of the entire reg first.
1073 (rename_insn_1): Treat data as a rename_context *. Save current
1075 (rename_set_data): Add field set_insn.
1076 * Makefile.in (HASHTAB_H): Move up in file.
1077 (OBSTACK_H): New macro.
1078 (collect2.o): Use OBSTACK_H in dependencies.
1079 (sdbout.o): Likewise.
1080 (emit-rtl.o): Likewise.
1081 (simplify-rtx.o): Likewise.
1082 (fix-header.o): Likewise.
1083 (OBJS): Add conflict.o.
1084 (conflict.o): New rule.
1085 * basic-block.h: Include partition.h.
1086 (conflict_graph): New typedef.
1087 (conflict_graph_enum_fn): Likewise.
1088 (conflict_graph_new): New prototype.
1089 (conflict_graph_delete): Likewise.
1090 (conflict_graph_add): Likewise.
1091 (conflict_graph_conflict_p): Likewise.
1092 (conflict_graph_enum): Likewise.
1093 (conflict_graph_merge_regs): Likewise.
1094 (conflict_graph_print): Likewise.
1095 (conflict_graph_compute): Likewise.
1096 * conflict.c: New file.
1098 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1100 * tlink.c (read_repo_files): Don't look for .rpo info for
1103 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1105 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1107 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1109 * config/sh/lib1funcs.asm (___udivsi3_i4):
1110 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1111 only depends on FMOVD_WORKS.
1113 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1115 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1116 make double constant 8-byte aligned.
1118 2000-04-06 Jakub Jelinek <jakub@redhat.com>
1120 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1121 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1122 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1123 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1124 Accept storing GENERAL_REGS into offsetable memory.
1125 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1126 building a TFmode constant other than 0.0L into GENERAL_REGS.
1128 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
1130 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1132 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
1134 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1135 (macro_cleanup): No need to cast pbuf->macro.
1136 (collect_expansion): Use _cpp_get_define_token. Goto done if
1137 it returns VSPACE. Remove check for trailing space after
1139 (_cpp_create_definition): Don't diddle flags here. Return
1141 (unsafe_chars): Handle c1 being EOF.
1142 (push_macro_expansion): Use unsafe_chars for both accidental-paste
1143 checks. Don't push the buffer till after we're done with
1145 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1146 (PEEKN, FORWARD, GETC, PEEKC): Use them.
1147 (cpp_push_buffer): Don't set new->alimit. Set new->mark
1149 (_cpp_parse_assertion): Don't NUL terminate.
1150 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
1151 hspace before calling _cpp_parse_assertion. Remove all sets
1152 of only_seen_white. Treat '\f' as hspace. Don't do anything
1153 special with '\n' here.
1154 (maybe_macroexpand): Handle T_EMPTY hash entries without
1155 pushing a buffer at all.
1156 (cpp_get_token): Handle clearing only_seen_white here. Handle
1157 incrementing the line number here. Clear
1158 potential_control_macro as well as only_seen_white, if
1160 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1161 (_cpp_get_define_token): New function, basically like
1162 _cpp_get_directive_token was but doesn't eat horizontal space.
1163 Don't do anything with only_seen_white here.
1164 (_cpp_get_directive_token): Just call _cpp_get_define_token
1165 repeatedly till it returns non-hspace.
1167 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1168 (conditional_skip, skip_if_group): Return int.
1169 (DIRECTIVE_TABLE): Change origin of all conditional directives
1171 (TRAD_DIRECT_P): New macro.
1172 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
1173 an error for a bogus directive, unless -lang-asm. Use
1174 TRAD_DIRECT_P. Loop calling handler functions till one returns
1176 (get_macro_name): Don't diddle flags here.
1177 (do_define): Diddle flags here. Use _cpp_get_directive_token.
1178 Create T_EMPTY nodes for #define macro /* nothing */.
1179 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
1180 Use hp->name when calling pass_thru_directive.
1181 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1182 Return the result of conditional_skip and/or skip_if_group.
1183 Don't call _cpp_output_line_command.
1184 (consider_directive_while_skipping): Use _cpp_get_directive_token.
1185 Issue -Wtraditional warnings as appropriate. Don't complain
1186 about unrecognized directives. If we are to stop skipping,
1187 return the number of the directive that ended the skip.
1188 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
1189 expansion and line commands while skipping. Return the result
1190 of consider_directive_while_skipping, if nonzero.
1191 (do_endif): Just set potential_control_macro here.
1192 (validate_else): Use _cpp_get_directive_token.
1193 (do_assert, do_unassert): Don't save pointers into the
1194 token_buffer across calls to the lexer. Use
1195 _cpp_get_directive_token.
1197 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
1198 pointer, not an offset. Replace 'data', which was a generic
1199 pointer, with 'macro', which points to a struct hashnode.
1200 (cpp_reader): Add 'potential_control_macro' pointer.
1201 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1202 (CPP_BUF_GET, CPP_FORWARD): Delete.
1203 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1204 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1205 ACTIVE_MARK_P): Update.
1206 (_cpp_get_define_token): New internal function.
1207 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1209 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
1211 * configure.in: And here.
1212 * configure: Regenerate.
1213 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1214 --enable-libstdcxx-v3 is passed at configure time.
1215 * config.h.in: Regenerate.
1217 2000-04-05 Mark Mitchell <mark@codesourcery.com>
1219 * final.c (final): Use xcalloc to allocate line_note_exists.
1220 * function.c (free_after_compilation): Free the temp_slots.
1221 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1222 (combine_temp_slot): Free temp_slots when they get combined.
1223 (purge_addressof): Fix typo in comment.
1224 * stmt.c (mark_goto_fixup): Mark the fixup itself.
1225 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1227 * ggc.h: Include varray.h.
1228 (ggc_pending_trees): Declare.
1229 (ggc_mark_tree_children): Remove declaration.
1230 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1231 * ggc-common.c (ggc_pending_trees): New variable.
1232 (ggc_mark_roots): Call ggc_mark_trees.
1233 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
1234 the ggc_pending_trees.
1235 * Makefile.in (GGC_H): New variable. Use it throughout in place
1238 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1240 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1243 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1245 * sh.c (sh_insn_length_adjustment): New function.
1246 * sh-protos.h (sh_insn_length_adjustment): Declare.
1247 * sh.h (ADJUST_INSN_LENGTH): Use it.
1249 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
1251 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1252 from the insn where REG_RETVAL is added.
1253 (emit_no_conflict_block): Ditto.
1255 * md.texi (Standard Names): Clarify when movX is needed.
1257 * combine.c (simplify_comparison) [MINUS]: Do not replace
1258 all (op (minus A B) 0) with (op A B).
1260 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
1261 J"orn Rennecke <amylaar@cygnus.co.uk>
1263 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1264 (block_lump_real): Likewise.
1266 2000-04-05 Chris Demetriou <cgd@netbsd.org>
1268 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1269 remaining non-zero debugging masks.
1271 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
1273 * basic-block.h (verify_flow_info): Declare.
1274 (flow_loop_outside_edge_p): Declare.
1275 * flow.c (verify_flow_info): Remove declaration.
1276 (clear_log_links, flow_loop_outside_edge_p): Likewise.
1278 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
1280 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1283 2000-04-05 Jakub Jelinek <jakub@redhat.com>
1285 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1286 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1287 seqdi_zero_trunc+1): Allow splits only if registers are
1290 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
1292 * acconfig.h: Add HAVE_GAS_HIDDEN.
1293 * config.in: Regenerated.
1294 * configure.in: Add test for .hidden pseudo-op in gas.
1295 * configure: Regenerated.
1296 * crtstuff.c: Include auto-host.h.
1297 Emit additional .hidden pseudo-op for __dso_handle if the
1298 assembler knows about it.
1300 2000-04-04 Philippe De Muyter <phdm@macqel.be>
1302 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1303 before freeing argnames.
1304 * cpplib.c (do_ifndef): Cast return value of xstrdup.
1306 2000-04-05 Michael Meissner <meissner@redhat.com>
1308 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1309 Walton <jonboy@gordian.com> to make memory references with update
1310 work wtih -mregnames.
1312 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1314 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1315 (regrename_optimize): Rename variables `def_uses' and
1316 `ext_basic_blocks' to avoid conflicts with similarly named
1317 typedefs in traditional C.
1319 * calls.c (initialize_argument_information): Fix typo in previous
1322 2000-04-04 Richard Henderson <rth@cygnus.com>
1324 * regrename.c (consider_available): Test fixed_regs not
1325 PIC_OFFSET_TABLE_REGNUM.
1327 2000-04-04 Geoff Keating <geoffk@cygnus.com>
1329 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1331 (CRTSTUFF_T_CFLAGS_S): Delete definition.
1332 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1333 (ENDFILE_LINUX_SPEC): Always use crtend.
1334 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1335 (powerpc-*-linux-gnu): Likewise.
1336 * configure: Regenerate.
1338 * config/rs6000/eabi.h: Don't include sysv4.h.
1339 (MULTILIB_DEFAULTS): Don't define.
1340 * config/rs6000/eabiaix.h: Don't include eabi.h.
1341 * config/rs6000/eabile.h: Delete.
1342 * config/rs6000/eabilesim.h: Delete.
1343 * config/rs6000/eabisim.h: Don't include eabi.h.
1344 * config/rs6000/linux.h: Don't include sysv4.h.
1345 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1346 (MULTILIB_DEFAULTS): Don't redefine.
1347 * config/rs6000/rtems.h: Don't include eabi.h.
1348 * config/rs6000/sol2.h: Don't include sysv4le.h.
1349 * config/rs6000/sysv4le.h: Don't include sysv4.h.
1350 * config/rs6000/t-ppc: Delete.
1351 * config/rs6000/t-ppcgas: Correct comment.
1352 * config/rs6000/t-ppcos: Correct comment. Don't build
1353 multilibs for -fPIC, rather use -fPIC -mstrict-align
1355 * config/rs6000/t-ppc: Delete.
1356 * config/rs6000/vxppc.h: Don't include sysv4.h.
1357 * config/rs6000/vxppcle.h: Delete.
1358 * configure.in: Use multiple header files for p2pc ELF targets
1359 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1360 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1361 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1362 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
1363 always available for these platforms.
1365 2000-04-04 Richard Henderson <rth@cygnus.com>
1367 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1369 2000-04-04 Stan Cox <scox@cygnus.com>
1371 * Makefile.in: Add rules for regrename.o
1372 * regrename.c: New file.
1373 * rtl.h (regrename_optimize): Add prototype.
1374 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1375 (compile_file, decode_d_option): Add support for -frename-registers.
1376 (rest_of_compilation): Call regrename_optimize.
1377 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1380 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1382 * Makefile (gccbug): New target.
1383 (doc): Depend on it.
1384 * gcc.texi (Bugs): Link subnodes.
1386 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1387 Document severities, priorities, and classes in bug form.
1389 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
1391 * cpplex.c (trigraph_map, speccase): Combine into single
1393 (NORMAL, NONTRI): New macros.
1394 (_cpp_read_and_prescan): Change to use unified table. Use
1395 is_hspace to test for whitespace.
1397 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1398 definition that doesn't provoke the "empty body in an
1399 if-statement" warning.
1401 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
1403 * builtins.c (expand_builtin_strlen): Force the source to
1404 be a memory address.
1406 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1408 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1410 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1412 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1413 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
1414 (ECF_IS_CONST): Rename to ECF_CONST.
1415 (special_function_p): Make static, change interface.
1416 (flags_from_decl_or_type, try_to_integrate): Break out from ...
1417 (expand_call) ... here; convert number of variables to flags.
1418 (emit_library_call_vlue_1): Likewise.
1419 (setjmp_call_p): New function.
1420 (initialize_argument_information): Accepts flags as argument;
1422 (precompute_arguments): Likewise.
1423 * tree.h (special_function_p): Remove.
1424 (setjmp_call_p): Add prototype.
1426 2000-04-04 Jakub Jelinek <jakub@redhat.com>
1428 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1429 so that addresses are offsetable by up to 16 bytes.
1430 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1431 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1434 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1435 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1436 (movsf): Don't force any constant to memory if target is integer
1438 Move fp_zero_operand check below the const0_rtx check.
1439 (movtf): Likewise. Also allow fp_zero_operand for stores into
1441 (movdf): Likewise. Also allow fp_zero_operand for stores into
1442 memory and into integer hard registers.
1443 (clear_df, clear_dfp, movdf_const_intreg_sp32,
1444 movdf_const_intreg_sp64): Remove.
1445 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1447 (movdf_no_e_insn_v9_sp32): New pattern.
1448 (movdf_insn_v9only): Remove.
1449 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1450 (movdf_insn_sp64): Remove.
1451 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1452 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1453 (following splits): Rewrite conditions. Add two new splits
1454 for storing 0.0 into memory and registers.
1455 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1456 (movtf_insn_sp32): Redo constraints and conditions.
1457 (movtf_insn_vis_sp32): New pattern.
1458 (movtf_no_e_insn_sp32): Redo constraints and conditions.
1459 (movtf_insn_hq_sp64): Likewise.
1460 (movtf_insn_hq_vis_sp64): New pattern.
1461 (movtf_insn_sp64): Redo constraints and conditions.
1462 (movtf_insn_vis_sp64): New pattern.
1463 (movtf_no_e_insn_sp64): Redo constraints and conditions.
1464 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1466 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1467 -mvis or -m64 to take down the number of various reload patterns.
1469 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
1471 * pa/pa-64.h: New file.
1472 * pa/pa64-regs.h: New file.
1473 * pa/pa64-start.h: New file.
1474 * pa/t-pa64: New file.
1475 * pa/xm-pa64hpux.h: New file.
1477 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1479 * sparc.c (output_restore_regs): Prototype.
1480 (sparc_emit_float_lib_cmp): Constification.
1482 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1484 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1487 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1488 (get_value_hash, hash_rtx): Likewise.
1490 * ssa.c (compute_conservative_reg_partition): Prototype.
1492 * tree.c (mark_hash_entry): Prototype.
1494 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
1496 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1497 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1498 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1500 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1501 * objc/lang-specs.h: Likewise.
1503 2000-04-03 Neil Booth <NeilB@earthling.net>
1505 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
1506 and SYNTAX_ERROR2. Replace `' in messages with ''.
1507 (op_to_str): Make re-entrant.
1508 (_cpp_parse_expr): Implement new error macros. Use | rather
1509 than || to logically or 2 boolean integers. Simply expression
1510 checking we have a left operand iff needed.
1512 2000-04-03 Nick Clifton <nickc@cygnus.com>
1514 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1516 2000-04-03 Philip Blundell <philb@gnu.org>
1518 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1520 2000-04-03 Felix Lee <flee@cygnus.com>
1522 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
1523 (run_shell): Use it.
1525 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
1527 * Makefile.in (stmp-int-hdrs): Make include subdir here...
1528 (stmp-fixproto): ...rather than here.
1530 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
1532 * pa.c (print_operand): Compute 'base' only inside the code paths
1535 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
1537 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1540 2000-04-03 Philipp Thomas <pthomas@suse.de>
1542 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1544 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
1546 * Makefile.in (alias.o): Depend on $(TREE_H).
1548 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
1550 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1552 * cpplib.c (_cpp_handle_directive): Improve warnings for
1553 traditional C and indented directives.
1555 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1556 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1557 fixinc/inclhack.def: Indent the # of #include_next one space.
1558 * cp/rtti.c: Un-indent #if and #endif.
1560 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1561 syntax error, but an error has already been printed.
1562 * cpplex.c (_cpp_parse_assertion): Give a more specific error
1563 message when called with nothing remaining on the line.
1564 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1565 OTHER token, not an ASSERTION.
1566 * cpplib.c (do_assert): When we create a 'base' node, clear
1567 its aschain pointer.
1569 2000-04-02 Neil Booth <NeilB@earthling.net>
1571 * cppexp.c: New typedef op_t. struct operation and struct
1572 token updated to use it.
1573 (op_to_str): New function.
1574 (_cpp_parse_expr): Error messages modified to use op_to_str.
1576 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1578 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1579 before checking MUST_PASS_IN_STACK.
1581 2000-04-02 Neil Booth <NeilB@earthling.net>
1583 * cppexp.c: New FINISHED dummy token. Combine operator initial
1584 flags and initial priority into a single constant. New
1585 EQUALITY macro. New operator flag SHORT_CIRCUIT.
1586 (_parse_cpp_expr): Implement new constants. Take left operand
1587 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
1588 parse indicated by reducing FINISHED token. Remove new lines
1589 from cpp_error messages.
1591 2000-04-01 Mark Mitchell <mark@codesourcery.com>
1593 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1596 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
1598 * cpplib.c: Include symcat.h. Add 'origin' field to struct
1599 directive. Add origin values to DIRECTIVE_TABLE. Generate
1600 the strings and function names on the fly. Take the #sccs
1601 entry out of the table if SCCS_DIRECTIVE is not defined.
1602 (_cpp_handle_directive): Decide if the # was at the beginning
1603 of the line here. Issue -pedantic warnings for extended
1604 directives here. Warn about K+R directives with the #
1605 indented, and C89/extended directives with the # not indented,
1607 (do_import, do_include_next, do_warning, do_ident, do_sccs,
1608 do_assert, do_unassert): Don't issue pedantic warning here.
1610 * cpphash.h: Add CPP_WTRADITIONAL macro.
1611 * cpplib.h (struct cpp_options): Rename warn_stringify to
1612 warn_traditional; update comments.
1613 * cppinit.c (handle_option): Set warn_traditional not
1615 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1616 CPP_WTRADITIONAL (pfile).
1617 * cpplex.c (_cpp_lex_token): Don't decide if directives should
1618 be ignored in -traditional mode here.
1620 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1621 to initialize speccase[] and trigraph_map[]. Delete all
1622 references to pfile->input_speccase. Always treat '?' as a
1623 special character. Remove table-initialization code from
1624 _cpp_init_input_buffer.
1626 * cpplib.h (struct cpp_reader): Remove input_speccase field.
1627 * cppinit.c (cpp_cleanup): Don't free input_speccase.
1629 2000-04-01 Richard Henderson <rth@cygnus.com>
1631 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1632 (mostlyclean): Likewise.
1634 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1635 (struct dump_file_info, enum dump_file_index, dump_file): New.
1636 (open_dump_file): Take a dump_file_index not a suffix, and a decl
1637 not a string. Clean out file if we havn't yet done so. Do nothing
1638 if the dump isn't enabled.
1639 (close_dump_file): Do nothing if the dump isn't open. Dump
1640 graph data if requested.
1641 (dump_rtl, clean_dump_file): Remove.
1642 (compile_file): Don't clean the dump files. Only finalize .bp dump
1643 if flag_test_coverage or flag_branch_probabilities. Only finalize
1644 .combine dump if optimizing. Iterate over dump_file to finalize the
1646 (rest_of_compilation): Update for open_dump_file/close_dump_file.
1647 Convert all uses of dump_rtl.
1648 (decode_d_option): Iterate over dump_file to implement 'a' and to
1649 locate pass-specific dumps.
1651 2000-04-01 Neil Booth <NeilB@earthling.net>
1653 * cppexp.c: Redefine priority constants.
1654 (_cpp_parse_expr): Replace left and right priority scheme with
1655 single priority logic. Move LOGICAL to same place as COMPARE.
1656 Remove bogus check for multiple unary +/- operators.
1658 2000-04-01 Neil Booth <NeilB@earthling.net>
1660 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1661 within the switch statement. Binary operations break out of
1662 the switch naturally. '(' tokens handled by forcing
1663 immediate shift. ')' handled by forcing immediate reduce to
1664 the previous '('. New error messages.
1666 2000-03-31 Geoff Keating <geoffk@cygnus.com>
1668 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1669 part', it's already in use. Use %K instead. Add a return at the
1670 end of what is now %K.
1671 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
1673 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
1675 * builtins.c (expand_builtin_apply): Pass proper parameters to
1676 allocate_dynamic_stack_space.
1677 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
1678 update stack_pointer_delta; do not update arg_size_so_far.
1679 (compute_argument_block_size): Use stack_delta instead of
1680 stack_pointer_pending and arg_size_so_far.
1681 (expand_call): Add sanity checking for stack_pointer_delta;
1682 save and restore stack_pointer_delta for SIB, use
1683 stack_pointer_delta for alignment; do not update arg_space_so_far.
1684 (emit_library_call_value): Use stack_pointer_delta for alignment.
1685 (store_one_arg): Do not update arg_space_so_far.
1686 * explow.c (adjust_stack, anti_adjust_stack): Update
1687 stack_pointer_delta.
1688 (allocate_dynamic_stack_space): Add sanity checking for
1689 stack_pointer_delta.
1690 * expr.c (init_expr, clear_pending_stack_adjust): Clear
1691 stack_pointer_delta.
1692 (emit_push_insn): Update stack_pointer_delta.
1693 * function.h (struct expr_status): Add x_stack_pointer_delta;
1694 remove x_arg_space_so_far.
1695 (arg_space_so_far): Remove.
1696 (stack_pointer_delta): New macro.
1698 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
1700 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1701 Reorder struct cpp_options and struct cpp_reader for better
1702 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
1703 takes two args. Change all 'char' flags to 'unsigned char'.
1704 Move show_column flag into struct cpp_options. Don't
1705 prototype cpp_options_init.
1706 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1707 cppinit.c, cpplex.c, cpplib.c:
1708 Replace CPP_OPTIONS (pfile)->whatever with
1709 CPP_OPTION (pfile, whatever), and likewise for
1710 opts = CPP_OPTIONS (pfile); ... opts->whatever;
1712 * cppinit.c (merge_include_chains): Take a cpp_reader *.
1713 Extract CPP_OPTION (pfile, pending) and work with that
1715 (cpp_options_init): Delete.
1716 (cpp_reader_init): Turn on on-by-default options here.
1717 Allocate the pending structure here.
1718 (cl_options, enum opt_code): Define these from the same table,
1719 kept in a large macro. Add -fshow-column and -fno-show-column
1722 * cpperror.c (v_message): If show_column is off, don't print
1725 * cppmain.c: Update for new interface.
1726 * fix-header.c: Likewise.
1728 2000-03-30 Geoff Keating <geoffk@cygnus.com>
1730 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1732 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1733 are passed to any invocation of AR_FOR_TARGET.
1734 (AR_CREATE_FOR_TARGET): New macro.
1735 (AR_EXTRACT_FOR_TARGET): New macro.
1736 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1737 AR_EXTRACT_FOR_TARGET.
1738 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1739 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1740 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
1741 AR_EXTRACT_FOR_TARGET to sub-makes.
1743 2000-03-31 Neil Booth <NeilB@earthling.net>
1745 * cppexp.c: Delete SKIP_OPERAND. Correct priority
1747 (_cpp_parse_expr): Check for multiple unary +/- operators.
1748 Correct priorities of ':' and '?'. Treat ')' as having a
1749 value. Ensure conditional expression is not void.
1751 2000-03-31 Mark Mitchell <mark@codesourcery.com>
1753 * alias.c (canon_rtx): Make it global.
1754 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1756 * cse.c (struct table_elt): Add canon_exp.
1758 (invalidate): Canonicalize expressions only once.
1759 * rtl.h (canon_rtx): Declare.
1761 2000-03-30 Mark Mitchell <mark@codesourcery.com>
1763 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1764 * alias.c (reg_known_value): Add comments.
1765 (init_alias_analysis): Likewise.
1766 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1768 (cse_basic_block): Fix typo in comment.
1769 * emit-rtl.c: Include hashtab.h.
1770 (const_int_htab): New variable.
1771 (const_int_htab_hash): New function.
1772 (const_int_htab_eq): Likewise.
1773 (rtx_htab_mark_1): Likewise.
1774 (rtx_htab_mark): Likewise.
1775 (gen_rtx_CONST_INT): Cache all CONST_INTs.
1776 (unshare_all_rtx): Fix formatting.
1777 (init_emit_once): Initialize const_int_htab.
1778 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1780 * rtl.texi: Document the fact that all CONST_INTs with the same
1783 2000-03-30 Richard Henderson <rth@cygnus.com>
1785 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1787 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
1789 * configure.in: Comment out --enable-c-cpplib stanza.
1790 * configure: Regenerate.
1792 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1794 * expr.c (store_constructor): Properly compute displacement and
1795 alignment when offset is variable.
1797 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1798 cases of alignment in bytes.
1800 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
1802 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1803 since it is used to generate c-parse.y.
1804 * objc-parse.c, objc-parse.y: Regenerated.
1806 * function.c (expand_function_end): Pass alignment argument to
1807 emit_block_move in bits, not bytes.
1809 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1811 * expr.c (move_by_pieces_ninsns): Fix one more missing align
1814 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1816 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1817 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1818 * function.c (assign_parms): Likewise.
1819 * integrate.c (expand_inline_function): Likewise.
1820 * stmt.c (expand_decl): Likewise.
1821 (copy_rtx_and_substitute): Likewise.
1822 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1823 (clear_by_pieces): Fix error in last change.
1824 * emit-rtl.c (init_emit): Set known registers alignment in bits.
1825 * function.h (regno_pointer_align): Now unsigned.
1826 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1828 * config/i386/i386.c (aligned_operand): Likewise.
1829 * config/sparc/sparc.c (mem_min_alignment): Likewise.
1830 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1831 (unaligned_memory_operand): Likewise.
1832 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1833 Also make alignments and sizes unsigned and some whitespace cleanup.
1834 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1836 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1837 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1838 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1839 (expand_builtin_memset): Likewise, but to clear_storage.
1840 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1841 (restore_fixed_argument_area): Likewise.
1842 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1843 (load_register_parameters): Likewise, to emit_group_load.
1844 (expand_call): Likewise, to emit_group_store and emit_block_move.
1845 (emit_library_call_value_1): Likewise, to emit_block_move.
1846 (store_one_arg): Likewise, and to emit_push_insn.
1847 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1848 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1849 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1850 (emit_block_move, emit_group_load, emit_group_store): Likewise.
1851 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1852 (expand_assigment, store_expr, store_constructor_field): Likewise.
1853 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1854 (store_constructor, store_field, get_inner_reference): Likewise.
1855 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1856 (expand_expr, case COMPONENT_REF): Likewise.
1857 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1858 and positions; reindent code.
1859 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1860 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1861 (assign_parms): Likewise to emit_group_store.
1862 * optabs.c (prepare_cmp_insn): Alignment is in bits.
1863 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1864 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1865 (expand_return): Likewise to {extract,store}_bit_field.
1866 * stor-layout.c (get_mode_alignment): Minor cleanup.
1867 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1868 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1870 2000-03-29 Nick Clifton <nickc@cygnus.com>
1872 * config/arm/arm.h: Undo effects of previous delta:
1873 (ASM_SPEC): Do not define.
1874 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1876 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1879 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1881 * cppinit.c (cpp_start_read): Call initialize_dependency_output
1882 only after reading in the primary source file.
1884 2000-03-29 Geoff Keating <geoffk@cygnus.com>
1886 * c-common.c (c_common_nodes_and_builtins): The first parameter to
1887 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1888 or a reference to a va_list.
1889 * builtins.c (stabilize_va_list): Simplify now we don't have to
1890 work around C array address decay.
1891 * c-typeck.c (convert_for_assignment): Handle assignment to
1892 a reference parameter by taking the address of the RHS.
1893 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1894 (va_copy): Likewise.
1895 (__va_copy): Likewise.
1896 * ginclude/varargs.h (va_start): Likewise.
1897 (__va_copy): Likewise.
1899 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
1901 * i386/djgpp.h: Remove extraneous "+".
1903 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1905 * calls.c (expand_call): Fix typo in last change.
1907 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
1909 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1912 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1914 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1915 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1916 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1917 * tree.c (bit_position, byte_position): Likewise.
1918 * tree.h: Declare new functions.
1920 2000-03-29 Nick Clifton <nickc@cygnus.com>
1922 * config/arm/arm.c: Minor formatting changes/
1923 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1925 (ASM_SPEC): Define if not already defined.
1927 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1929 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1932 2000-03-29 Jakub Jelinek <jakub@redhat.com>
1934 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1935 value, don't output it as unsigned.
1937 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
1939 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1941 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1943 * c-common.c (c_common_nodes_and_builtins): Don't special case
1944 cplus_mode when declaring builtin bzero/bcmp, always avoid
1945 prototype arguments.
1947 2000-03-29 Bruce Korb <bkorb@gnu.org>
1949 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1952 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
1954 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1955 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1956 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1957 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1958 (save_fixed_argument_area, restore_fixed_argument_area):
1959 conditionize by #ifdef REG_PARM_STACK_SPACE only.
1960 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1961 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1962 (precompute_register_parameters): Avoid #ifdefs on
1963 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1964 (stire_one_args): Likewise.
1965 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1966 (emit_library_call_value_1): Likewise.
1967 (compute_argument_block_size): Align to STACK_BOUNDARY only for
1968 ACCUMULATE_OUTGOING_ARGS.
1969 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1971 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1972 (use_crosses_set_p): Likewise.
1973 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1974 #define ACCUMULATE_OUTGOING_ARGS 1.
1975 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1977 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1979 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1980 (TARGET_SWITCHES): Add push-args, no-push-args,
1981 accumulate-outgoing-args and no-accumulate-outgoing-args.
1982 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1983 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1984 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1986 (emit_push_insn): Likewise.
1987 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1988 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1989 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1990 (STACK_DYNAMIC_OFFSET): Define correctly for both
1991 ACCUMULATE_OUTGOING_ARGS and normal mode.
1992 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1993 * tm.texi (PUSH_ARGS): Document.
1994 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1996 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
1998 * flags.h (flag_optimize_sibling_calls): Declare.
1999 * calls.c (expand_call): Fail sibcall when
2000 !flag_optimize_sibling_calls
2001 * invoke.texi (flag_optimize_sibling_calls): Document.
2002 * toplev.c (flag_optimize_sibling_calls): New global variable.
2003 (f_options): Add flag_optimize_sibling_calls.
2004 (rest_of_compilation): Conditionize
2005 optimize_sibling_and_tail_recursive_calls by
2006 flag_optimize_sibling_calls.
2007 (main): Set flag_optimize_sibling_calls for -O2.
2008 * stmt.c (expand_return): Conditionize tail recursion by
2009 flag_optimize_sibling_calls.
2011 2000-03-29 Richard Henderson <rth@cygnus.com>
2013 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2014 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2016 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
2018 * except.c (add_eh_table_entry): Mark type_info's as referenced.
2020 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2022 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2024 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2025 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2026 * config/rs6000/aix.h: then modified likewise.
2028 2000-03-28 Richard Henderson <rth@cygnus.com>
2030 * rtl.h: Redistribute enum reg_note documentation.
2031 Kill trailing whitespace.
2032 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2033 Kill trailing whitespace.
2035 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
2037 * cppfiles.c (hash_IHASH): Just return i->hash.
2038 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
2039 htab_find_with_hash.
2040 (cpp_read_file): Likewise.
2041 (find_include_file): Likewise. Properly initialize
2042 ih->nshort. Share ih->name and ih->nshort if possible.
2043 * cpphash.c (_cpp_calc_hash): New function.
2044 (hash_HASHNODE): Just return h->hash.
2045 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
2046 htab_find_with_hash.
2047 * cpphash.h: Prototype _cpp_calc_hash.
2048 * cppinit.c (initialize_builtins): Provide a valid hash
2049 to _cpp_make_hashnode, using _cpp_calc_hash.
2051 * cpphash.c (collect_expansion): # is not a special character
2052 in object-like macros. In -traditional mode, /**/ is not
2053 token paste at the beginning or end of the line.
2054 * cpplib.c (do_include, do_import, do_include_next): If
2055 parse_include fails, return immediately.
2057 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
2059 * config/arm/arm.md (return peepholes): Update to reflect the new
2061 * config/arm/arm.c (arm_volatile_func): Also check
2062 current_function_nothrow.
2063 (output_return_instruction, output_func_prologue): Use it.
2064 (arm_output_epilogue, arm_expand_prologue): Likewise.
2066 2000-03-27 Tom Tromey <tromey@cygnus.com>
2068 * gcc.c (handle_braces): In {x*...} case, break out of loop if
2071 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2073 * expr.c (store_constructor): SIZE now signed.
2074 For EXPR_SIZE, don't evaluate size; just needed if constant.
2075 * fold-const.c (fold): Fix a number of cases when folded tree is
2077 * function.c (flush_addressof): Reenable.
2078 * tree.h (flush_addressof): Likewise.
2079 * toplev.c (independent_decode_option): Look at strings_processed.
2080 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2082 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
2084 * sibcall.c (indentify_call_return_value): Find last call in the chain;
2085 Allow stack adjustment after function call.
2087 * regmove.c (struct csa_memlist): Make mem field rtx *.
2088 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2089 (try_apply_stack_adjustment): Replace whole MEM rtx.
2090 (combine_stack_adjustments_for_block): Update calls
2091 to record_one_stack_ref.
2093 2000-03-28 Neil Booth <NeilB@earthling.net>
2095 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2096 '\\' rather than a null character, so nulls are not special. Fix
2097 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
2098 speed trigraph conversion.
2099 (_cpp_init_input_buffer): Initialize trigraph map.
2101 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2103 * config/i386/i386.c (output_387_binary_op): Correct intel
2104 mode assembly output, and add spaces after commas in AT&T
2105 output. Correct Unixware assembler comment. Document input
2106 constraints. Comment fp operations. Reduce profligate buffer
2107 size. Remove extraneous abort. Localize temp var.
2108 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
2109 (output_fix_trunc): Add spaces after commas in assembly output.
2111 2000-03-27 Richard Henderson <rth@cygnus.com>
2113 * i386-protos.h (ix86_match_ccmode): Declare.
2114 * i386.c (ix86_match_ccmode): New.
2115 (ix86_expand_fp_compare): Update for pattern renames.
2116 (ix86_expand_strlensi_unroll_1): Likewise.
2117 * i386.h (EXTRA_CC_MODES): Add CCZ.
2118 (SELECT_CC_MODE): Use it for EQ/NE zero.
2119 * i386.md (cmpsi_ccz_1): New.
2121 (*testsi_ccz_1): New.
2122 (testqi_ccz_1): New.
2123 (cmpsi_ccno_1): Rename from cmpsi_0.
2124 (testsi_ccno_1): Rename from testsi_1.
2125 (testqi_ccno_1): Rename from testqi_1.
2126 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2127 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2128 (*cmphi_0): Use ix86_match_ccmode.
2129 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2130 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2131 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2132 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2133 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2134 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2135 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2136 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2137 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2138 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2139 (appropriate peepholes): Likewise.
2140 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2141 (*subsi_3, *subhi_3, *subqi_3): Remove.
2142 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2143 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2144 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2145 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2146 (x86_shift_adj_1): Use CCZ.
2147 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2149 2000-03-27 Stan Cox <scox@cygnus.com>
2151 * resource.h (mark_resource_type): New.
2152 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
2153 find_free_register): Use mark_resource_type.
2154 (mark_set_resources): Change include_delayed_effects
2155 to mark_resource_type.
2156 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
2157 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
2158 Use mark_resource_type.
2160 2000-03-27 Richard Henderson <rth@cygnus.com>
2162 * i386.md (call_pop_0, call_value_pop_0): New.
2163 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
2164 (call_value_pop_1): Likewise.
2165 (call_0, call_value_0): New.
2166 (call_1, call_value_1): Remove constraint from unused arg.
2168 2000-03-27 Nick Clifton <nickc@cygnus.com>
2170 * invoke.texi (Spec Files): Document new spec % command created by
2171 Tom Tromey's recent patch.
2173 2000-03-27 Jakub Jelinek <jakub@redhat.com>
2175 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2178 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2180 * expr.c (expand_assignment): Fix typo in last change.
2182 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2184 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2186 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2187 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2188 and DECL_INLINE if FUNCTION_DECL.
2189 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2190 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2191 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2192 (combine_parm_decls): Likewise.
2193 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2194 * print-tree.c (print_node): Likewise.
2195 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2196 DECL_TRANSPARENT_UNION on proper decl types.
2197 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2198 * stor-layout.c (layout_decl): Only check DECL_PACKED and
2199 DECL_BIT_FIELD of FIELD_DECL.
2200 * tree.h (DECL_RESULT_FLD): New macro.
2202 * expr.c (expand_assignment): Add code to handle variable-sized
2205 2000-03-26 Richard Henderson <rth@cygnus.com>
2207 * calls.c (expand_call): Pass parms not original exp to
2208 optimize_tail_recursion. Mind return value instead of looking
2210 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2211 call_expr. Move checks for call_expr and current_function_decl ...
2212 (expand_return): ... here.
2214 2000-03-26 Tom Tromey <tromey@cygnus.com>
2216 * gcc.c (handle_braces): Recognize `%{<S}' construct.
2217 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2219 (process_command): Use them.
2220 (check_live_switch): Likewise.
2221 (give_switch): Skip ignored switches.
2223 2000-03-26 Jan Hubicka <jh@suse.cz>
2225 * jump.c (jump_optimize_1): Fix typo in elide optimizations
2226 for minimal jump pass test.
2228 2000-03-26 Mark Mitchell <mark@codesourcery.com>
2230 * integrate.c (function_cannot_inline_p): Do inline functions that
2233 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2235 * stor-layout.c (layout_type, set_sizetype): early_type_list is
2236 now a list of TREE_LIST entries, not types.
2237 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2239 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2240 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2242 * config/mips/mips.c (function_arg): Likewise; also remove cast
2243 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2244 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2245 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2246 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2247 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2248 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2249 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2250 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2251 num_adjusts now unsigned.
2252 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2253 * config/sparc/sparc.c (struct function_arg_record_value_parms):
2255 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2256 as is BITPOS variable; use host_integerp and int_bit_position.
2257 (function_arg_record_value_2): Likewise.
2258 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2259 Variable REGNO now unsigned.
2260 (function_arg_record_value): NREGS now unsigned.
2262 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
2264 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2266 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2268 * Rework fields used to describe positions of bitfields and
2269 modify sizes to be unsigned and use HOST_WIDE_INT.
2270 * alias.c (reg_known_value_size): Now unsigned.
2271 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2272 (really_start_incremental_init): Use bitsize_zero_node.
2273 (push_init_level, pop_init_level, output_init_element): Likewise.
2274 Use bitsize_unit_node and bitsize_one_node.
2275 (output_pending_init_elements, process_init_element): Likewise.
2276 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2277 (make_extraction): Position and length HOST_WIDE_INT and unsigned
2278 HOST_WIDE_INT, respectively.
2279 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2280 (num_sign_bit_copies): Returns unsigned.
2281 BITWIDTH now unsigned; rework arithmetic.
2282 Remove recursive call from arg to MAX.
2283 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2284 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2286 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2287 (find_split_point, expand_compound_operation, make_extraction): LEN
2288 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2289 (make_field_assignment): Likewise.
2290 (combine_simplify_rtx): Add cast.
2291 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2292 (force_to_mode): WIDTH now unsigned; add cast.
2293 (if_then_else_cond): SIZE now unsigned.
2294 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2295 (extended_count): Now returns unsigned.
2296 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2297 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2298 (simplify_comparison): MODE_WIDTH now unsigned.
2299 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2300 (mark_used_regs_combine): Likewise; rework arithmetic.
2301 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2302 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2303 (record_promoted_value): REGNO now unsigned.
2304 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2305 (get_last_value): REGNO now unsigned.
2306 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2307 (reg_dead_regno, reg_dead_endregno): Now unsigned.
2308 (remove_death): Arg REGNO now unsigned.
2309 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2310 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2312 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2313 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2314 (struct cse_reg_info): REGNO now unsigned.
2315 (cached_regno): Now unsigned.
2316 (REGNO_QTY_VALID_P): Add cast.
2317 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2318 (remove_invalid_regs): Likewise.
2319 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2320 as are variables END and I.
2321 (get_cse_reg_info, insert): Likewise.
2322 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2323 (canon_hash): Likewise.
2324 (insert_regs, lookup_for_remove): REGNO now unsigned.
2325 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2327 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2328 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2329 * emit-rtl.c (subreg_realpart_p): Add cast.
2330 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2331 (operand_subword_force): Arg I is now unsigned.
2332 * except.c (eh_regs): Variable I is now unsigned.
2333 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2334 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2335 length is unsigned HOST_WIDE_INT; likewise for internal variables.
2336 (store_split_bit_field, extract_fixed_bit_field): Likewise.
2337 (extract_split_bit_field, store_bit_field, extract_bit_field):
2339 * expr.c (store_constructor_fields, store_constructor, store_field):
2340 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2341 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2342 (do_jump): Likewise.
2343 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2344 MAX_SIZE is now unsigned.
2345 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2346 (emit_group_store): Likewise.
2347 (emit_move_insn): I now unsigned.
2348 (store_constructor): Use host_integerp, tree_low_cst, and
2350 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2351 Rework all calculations to use trees and new fields.
2352 * expr.h (promoted_input_arg): Regno now unsigned.
2353 (store_bit_field, extract_bit_field): Adjust types of pos and size.
2354 (mark_seen_cases): Arg is HOST_WIDE_INT.
2355 * flow.c (verify_wide_reg_1): REGNO now unsigned.
2356 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2357 precisions and alignments are unsigned.
2358 (optimize_bit_field_compare, fold_truthop): Likewise.
2359 (int_const_binop): Adjust threshold for size_int_type_wide call.
2360 (fold_convert): Likewise.
2361 (size_int_type_wide): Make table larger and fix thinko that only
2362 had half of table used.
2363 (all_ones_mask_p, fold): Precisions are unsigned.
2364 * function.c (put_reg_info_stack): REGNO is unsigned.
2365 (instantiate_decl): Size is HOST_WIDE_INT.
2366 (instantiate_virtual_regs): I is unsigned.
2367 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2368 (promoted_input_arg): REGNO is unsigned.
2369 * function.h (struct function): x_max_parm_reg is now unsigned.
2370 * gcse.c (max_gcse_regno): Now unsigned.
2371 (struct null_pointer_info): min_reg and max_reg now unsigned.
2372 (lookup_set, next_set): REGNO arg now unsigned.
2373 (compute_hash_table): REGNO and I now unsigned.
2374 (handle_avail_expr): regnum_for_replacing now unsigned.
2375 (cprop_insn): REGNO now unsigned.
2376 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2377 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2378 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2379 * hard-reg-set.h (reg_class_size): Now unsigned.
2380 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2381 * jump.c (mark_modified_reg): I now unsigned; add cast.
2382 (rtx_equal_for_thread_p): Add cast.
2383 * loop.c (max_reg_before_loop): Now unsigned.
2384 (struct_movable): REGNO now unsigned.
2385 (try_copy_prop): REGNO arg unsigned.
2386 (regs_match_p): XN and YN now unsigned.
2387 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2388 (strength_reduce): Likewise; NREGS also unsigned.
2389 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2390 * loop.h (struct iv_class): REGNO now unsigned.
2391 (max_reg_before_loop, first_increment_giv, last_increment_giv):
2393 * machmode.h (mode_size, mode_unit_size): Now unsigned.
2394 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2395 * optabs.c (expand_binop): I and NWORDS now unsigned.
2396 (expand_unop): I now unsigned.
2397 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2398 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2399 * real.c (significand_size): Now returns unsigned.
2400 * real.h (significand_size): Likewise.
2401 * regclass.c (reg_class_size): Now unsigned.
2402 (choose_hard_reg_mode): Both operands now unsigned.
2403 (record_reg_classes): REGNO and NR now unsigned.
2404 (reg_scan): NREGS now unsigned.
2405 (reg_scan_update): old_max_regno now unsigned.
2406 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2407 * reload.c (find_valid_class): BEST_SIZE now unsigned.
2408 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2409 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2410 Likewise for variable R.
2411 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2412 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2413 (find_equiv_reg): Add casts.
2414 (regno_clobbered_p): Arg REGNO now unsigned.
2415 * reload.h (struct reload): NREGS now unsigned.
2416 (refers_to_regno_for_reload_p): Regno args are unsigned.
2417 (regno_clobbered_p): Likewise.
2418 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2419 (compute_use_by_pseudos): REGNO now unsigned.
2420 (find_reg): I and J now unsigned, new variable K, and change loop
2421 variables accordingly; THIS_NREGS now unsigned.
2422 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2423 (spill_hard_reg): REGNO arg now unsigned; add casts.
2424 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2425 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2426 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2427 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2428 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2429 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2430 (emit_reload_insns): REGNO now unsigned.
2431 (reload_cse_move2add): Add cast.
2432 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2434 * resource.c (mark_referenced_resources, mark_set_resources): New
2435 variable R; REGNO and LAST_REGNO now unsigned.
2436 (mark_target_live_regs): J and REGNO now unsigned.
2437 * rtl.c (mode_size, mode_unit_size): Now unsigned.
2438 * rtl.h (union rtunion_def): New field rtuint.
2439 (XCUINT): New macro.
2440 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2441 (operand_subword, operand_subword_force): Word number is unsigned.
2442 (choose_hard_reg_mode): Operands are unsigned.
2443 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2444 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2445 (regno_use_in, combine_instructions, remove_death): Likewise.
2446 (reg_scan, reg_scan_update): Likewise.
2447 (extended_count): Return is unsigned.
2448 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2449 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2450 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2451 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2452 (reg_reg_last_1): FIRS and LAST now unsigned.
2453 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2454 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2456 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2457 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2458 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2459 (replace_regs): Arg NREGS now unsigned.
2460 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2461 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2462 (simplify_binary_operation): Likewise.
2463 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2464 THIS_LAST now unsigned.
2465 (cselib_record_set): Add cast.
2466 * ssa.c (ssa_max_reg_num): Now unsigned.
2467 (rename_block): REGNO now unsigned.
2468 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2470 (all_cases_count): Just return -1 not -2.
2471 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2472 Rework tests to use trees whenever possible.
2473 Use host_integerp and tree_low_cst.
2474 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2475 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2476 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2477 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2478 (smallest_mode_for_size): Likewise.
2479 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2480 KNOWN_ALIGN is now an alignment, so simplify code.
2481 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2482 (start_record_layout): Renamed from new_record_layout_info.
2483 Update to new fields.
2484 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2486 (place_union_field): Renamed from layout_union_field.
2487 Update to use new fields in rli.
2488 (place_field): Renamed from layout_field.
2489 Major rewrite to use new fields in rli; pass alignment to layout_decl.
2490 (finalize_record_size): Rework to use new fields in rli and handle
2492 (compute_record_mode): Rework to simplify and to use new DECL fields.
2493 (finalize_type_size): Make rounding more consistent.
2494 (finish_union_layout): Deleted.
2495 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2496 (layout_type, case RECORD_TYPE): Call new function names.
2497 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2498 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2499 (get_best_mode): UNIT is now unsigned; remove casts.
2500 * tree.c (bit_position): Compute from new fields.
2501 (byte_position, int_byte_position): New functions.
2502 (print_type_hash_statistics): Cast to remove warning.
2503 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2504 (build_index_type): Likewise; make subtype of sizetype.
2505 (build_index_2_type): Pass sizetype to build_range_type.
2506 (build_common_tree_nodes): Use size_int and bitsize_int to
2507 initialize nodes; add bitsize_{zero,one,unit}_node.
2508 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2509 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2510 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2511 (DECL_FIELD_BITPOS): Deleted.
2512 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2513 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2514 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2515 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2516 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2517 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2518 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2519 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2520 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2521 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2522 (DECL_ALIGN): Adjust to new field in union.
2523 (DECL_OFFSET_ALIGN): New field.
2524 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2525 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2526 (union tree_decl): Add struct for both aligns.
2527 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2528 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2529 (struct record_layout_info): Rework fields to have offset
2530 alignment and byte and bit position.
2531 (start_record_layout, place_field): Renamed from old names.
2532 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2533 (byte_position, int_byte_position): Likewise.
2534 (get_inner_reference): Change types of position and length.
2535 * unroll.c (unroll_loop): New variable R; use for some loops.
2536 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2537 (calculate_giv_inc): Arg REGNO now unsigned.
2538 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2539 * varasm.c (assemble_variable): Clean up handling of size using
2540 host_integerp and tree_low_cst.
2541 (decode_addr_const): Use byte, not bit, position.
2542 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2543 use tree_low_cst and int_bit_position.
2544 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2546 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
2548 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2549 (reorder_block_def): New members eff_head and eff_end.
2550 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2551 (verify_insn_chain): New function.
2552 (skip_insns_between_block): Add code to skip deleted insns.
2553 Check for note before using.
2554 (chain_reorder_blocks): Replace calls to skip_insns_between_block
2555 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2556 Check for note before using.
2557 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2558 (fixup_reorder_chain): Restructure, clean up, defect removal.
2559 (reorder_basic_blocks): Remove last_insn and references to it.
2560 Moved insn chain verification code into a new function (see above).
2561 Delete defective code that sets last insn.
2562 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2565 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2567 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2569 2000-03-24 Richard Henderson <rth@cygnus.com>
2571 * tree.c (lang_safe_for_unsave): Remove.
2572 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2573 allowing for two levels of unsafeness. Remove lang hook.
2574 * tree.h: Update declarations.
2575 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2576 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2577 Always fail sibcalls when there are pending cleanups.
2579 2000-03-24 Geoff Keating <geoffk@cygnus.com>
2581 * flow.c (propagate_block): When we delete an ADDR_VEC,
2582 also delete the BARRIER following it if there is one.
2584 2000-03-24 Richard Henderson <rth@cygnus.com>
2586 * builtins.c (expand_builtin_bzero): Convert `length' argument
2589 2000-03-24 Jakub Jelinek <jakub@redhat.com>
2591 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2592 comparison if regno's are equal.
2593 * calls.c (initialize_argument_informat): Add ecf_flags argument.
2594 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2595 (expand_call): Update caller.
2596 Avoid making a sibling call if argument size of the callee is larger
2597 than argument size of the caller.
2598 Call hard_function_value with outgoing set if in sibcall pass.
2599 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2601 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2602 Change LEAF_REGISTERS from an array initializer to actual array
2603 identifier. Move static global variable into the function.
2604 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2605 sequences for leaf functions.
2606 * global.c (global_alloc): Likewise.
2607 * tm.texi (LEAF_REGISTERS): Update documentation.
2609 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2610 TARGET_FLAT leaf disabling hack.
2611 (LEAF_REGISTERS): Changed from an array initializer to actual array
2612 identifier to avoid duplication and remove the above hack.
2613 (FUNCTION_OK_FOR_SIBCALL): Define.
2614 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2615 always like call attribute.
2616 (eligible_for_sibcall_delay): New attribute.
2617 (sibcall): New delay type.
2618 (sibcall, sibcall_value, sibcall_epilogue): New expands.
2619 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2620 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2621 * config/sparc/sparc.c (sparc_leaf_regs): New array.
2622 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2624 (output_function_epilogue): Move part of the code into
2625 output_restore_regs.
2626 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2628 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2631 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2632 until infrastructure is finished.
2634 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
2636 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2637 (save_parm_insns): Not here.
2639 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2641 * builtins.c (expand_builtin_bzero): New function.
2642 (expand_builtin): Handle bzero.
2644 * builtins.def: Add BUILT_IN_BZERO.
2646 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2647 prototype & function for bzero.
2649 2000-03-23 Michael Meissner <meissner@redhat.com>
2651 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2652 change adding TARGET_FP to the TF floating point insns, except for
2653 trunctfsf2, which generates direct calls to truncdfsf2.
2655 2000-03-23 Geoff Keating <geoffk@cygnus.com>
2657 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2658 try to protect against middle-end changes that break binary
2660 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2662 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2664 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
2666 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2668 * calls.c (expand_call): If TARGET is passed by reference and
2669 is readonly, write a CLOBBER.
2671 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2673 * builtins.c (expand_builtin): Handle bcmp.
2675 * builtins.def: Add BUILT_IN_BCMP.
2677 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2678 prototype & function for bcmp.
2680 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
2682 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2683 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2684 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2686 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
2688 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2689 alternative when using -fp64 -gp32.
2691 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2693 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2694 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2695 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2697 * frame.h (frame_state): Revert last change.
2698 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2699 * libgcc2.c (throw_helper): Revert last change.
2701 2000-03-22 Richard Henderson <rth@cygnus.com>
2703 * stmt.c (expand_asm_operands): Don't promote the temporary.
2705 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2707 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2708 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2709 c_get_alias_set): Likewise.
2710 * c-decl.c (duplicate_decls): Likewise.
2711 * c-typeck.c (default_conversion,build_unary_op): Likewise.
2712 * calls.c (initialize_argument_information): Likewise.
2713 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2715 * dwarfout.c (decl_class_context,output_type): Likewise.
2716 * expr.c (get_inner_reference): Likewise.
2717 * fold-const.c (simple_operand_p,fold): Likewise.
2718 * function.c (aggregate_value_p): Likewise.
2719 * stmt.c (expand_asm_operands): Likewise.
2720 * varasm.c (named_section): Likewise.
2722 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2724 Implement dwarf2 exception handling for the ARM.
2725 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2726 (DWARF_FRAME_RETURN_COLUMN): Define.
2727 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
2728 REG_FRAME_RELATED_EXPR note.
2729 (emit_sfm): Likewise.
2730 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2731 * dwarf2out.c (reg_save): Handle saving a register to itself.
2732 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2733 * except.c (eh_regs): Don't use the static chain reg if it's
2735 * frame.h (frame_state): Add cfa_saved field.
2736 * frame.c (execute_cfa_insn): Set it.
2737 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
2739 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2741 (instantiate_virtual_regs): Adjust.
2743 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2744 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2745 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2747 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2748 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2750 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2752 * builtins.def: New file.
2754 * Makefile.in (TREE_H): Depend on builtins.def.
2756 * builtins.c (built_in_names): Use builtins.def.
2758 * tree.h (built_in_function): Likewise.
2760 2000-03-22 Mark Mitchell <mark@codesourcery.com>
2762 * tree.c (size_in_bytes): Return size_zero_node, not
2765 2000-03-22 Geoff Keating <geoffk@cygnus.com>
2767 * config/fp-bit.c (pack_d): Correct the case when a denormal
2768 is rounded up and stops being denormal.
2770 2000-03-21 Richard Henderson <rth@cygnus.com>
2772 * config/alpha/alpha.c (function_arg): Check for void_type_node
2773 before using MUST_PASS_IN_STACK.
2775 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
2777 * regmove.c (combine_stack_adjustments_for_block): Check that
2778 the stack pointer is a valid memory address.
2780 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
2782 * calls.c: re-install Mar 16 emit_library_call merge.
2784 2000-03-21 Jakub Jelinek <jakub@redhat.com>
2786 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2787 we cannot be sure that if reload_completed base register will
2788 be properly aligned.
2790 2000-03-21 Richard Henderson <rth@cygnus.com>
2792 * flow.c (delete_block): Fix typo last change.
2794 2000-03-21 Mark Mitchell <mark@codesourcery.com>
2796 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2797 not COMPLETE_TYPE_P, to check the type of the expression.
2799 2000-03-21 Michael Meissner <meissner@redhat.com>
2801 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2802 all floating point insns that just tested the macro
2803 TARGET_HAS_XFLOATING_LIBS.
2804 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2805 used to only use the gprs.
2807 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
2809 * tree.h (COMPLETE_TYPE_P): New macro.
2810 (COMPLETE_OR_VOID_TYPE_P): New macro.
2811 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2812 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2813 * c-aux-info.c (gen_type): Use them.
2814 * c-common.c (c_expand_expr_stmt): Likewise.
2815 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2816 grokdeclarator, grokparms, finish_struct, start_function,
2817 store_parm_decls, combine_parm_decls): Likewise.
2818 * c-parse.y (cast_expr): Likewise.
2819 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2820 c_size_in_bytes, c_alignof, build_component_ref,
2821 build_indirect_ref, build_array_ref, convert_arguments,
2822 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2823 * calls.c (initialize_argument_information): Likewise.
2824 * convert.c (convert_to_integer): Likewise.
2825 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2826 * dwarfout.c (location_or_const_value_attribute,
2827 output_enumeration_type_die, output_structure_type_die,
2828 output_union_type_die, output_type): Likewise.
2829 * expr.c (safe_from_p, expand_expr): Likewise.
2830 * function.c (assign_parms): Likewise.
2831 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2832 * tree.c (build_array_type, build_function_type,
2833 build_method_type, build_offset_type, build_complex_type): Likewise.
2834 * c-parse.c, c-parse.h: Regenerated.
2836 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2838 * config/c4x/rtems.h: Include config/rtems.h.
2840 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
2842 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2843 decl is a FUNCTION_DECL
2845 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
2847 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2848 function uses output registers. Don't save RP for leaf functions.
2849 Do save RP even if no epilogue.
2850 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2851 (CALL_USED_REGISTERS): Unmark in registers.
2852 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
2855 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2857 * config/rs6000/rs6000.md (bunordered): New expander.
2858 (bordered): New expander.
2859 (buneq): New expander.
2860 (bunge): New expander.
2861 (bungt): New expander.
2862 (bunle): New expander.
2863 (bunlt): New expander.
2864 (bltgt): New expander.
2866 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2867 (ccr_bit_negated_p): New function.
2868 (print_operand): For %C, generate appropriate cror for UNEQ,
2869 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
2871 2000-03-20 Andreas Jaeger <aj@suse.de>
2873 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2876 * tree.h (safe_for_unsave): Prototype.
2878 2000-03-20 Richard Henderson <rth@cygnus.com>
2880 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2881 (combine_stack_adjustments_for_block): Don't allow sp references
2882 in the side of a set we're not fixing up.
2883 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2884 after life_analysis.
2886 2000-03-20 Richard Henderson <rth@cygnus.com>
2888 * calls.c (expand_call): Don't bother generating tail call
2889 sequences if there are pending cleanups. Use
2890 expand_start_target_temps/expand_end_target_temps to elide
2891 cleanups created during sibcall expansion.
2893 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2895 * configure.in: Set $IFS to a value if it doesn't already have one
2896 in the --enable-checking handling.
2897 * configure: Regenerate.
2899 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2901 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2902 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2905 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
2907 * jump.c (delete_noop_moves): Remove code attempting to
2908 combine stack adjustments.
2910 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2912 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2913 * except.c (emit_cleanup_handler): Use them.
2914 (expand_end_all_catch): Likewise.
2915 * function.c (fixup_var_refs): Likewise.
2916 (expand_function_end): Clear catch_clauses_last.
2917 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2918 * except.h (struct eh_status): New field x_catch_clauses_last.
2919 (catch_clauses_last): New define.
2921 * Makefile.in (tree.o): Depend on HASHTAB_H.
2922 * tree.c: Include hashtab.h.
2923 (struct type_hash): Remove next field.
2924 (TYPE_HASH_SIZE): Remove.
2925 (TYPE_HASH_INITIAL_SIZE): New define.
2926 (type_hash_table): Change type to htab_t.
2927 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2928 mark_hash_entry): New functions.
2929 (init_obstacks): Allocate type hash.
2930 (type_hash_lookup): Use htab functions.
2931 (type_hash_add, mark_type_hash): Likewise.
2932 (dump_tree_statistics): Call print_type_hash_statistics.
2934 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2936 * rs6000/t-aix41: New file.
2938 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2940 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
2942 * tm.texi (Driver): Fix typos and tweak entry for
2944 Move misplaced STRUCT_FORCE_BLK entry ...
2945 (Storage Layout): ... to here.
2946 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2948 2000-03-19 Richard Henderson <rth@cygnus.com>
2950 * flow.c (delete_block): Delete the addr_vec along with the block.
2951 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2954 * fold-const.c (extract_muldiv): Apply type check for defined
2955 overflow to multiply as well as divide.
2957 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2959 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2961 * emit-rtl.c (remove_unncessary_notes): Check that all
2962 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2963 associated NOTE_BLOCK.
2964 * function.h (identify_blocks): Update comments.
2965 (reorder_blocks): Declare.
2966 * function.c (identify_blocks): Don't take paramters.
2967 (reorder_blocks): Don't take parameters.
2968 * loop.h (find_loop_tree_blocks): Remove.
2969 (unroll_block_trees): Likewise.
2970 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
2971 reorder_blocks instead of unroll_block_trees.h
2972 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2973 * stmt.c (find_loop_tree_blocks): Remove.
2974 (unroll_block_trees): Likewise.
2975 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2976 in whole-function mode.
2977 * tree.h (reorder_blocks): Remove declaration.
2979 * expr.c: Include intl.h.
2980 * Makefile.in (expr.o): Depend on intl.h.
2982 2000-03-18 Richard Henderson <rth@cygnus.com>
2984 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2986 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2988 * tree.h (tree_index): Remove enumerals for integer types.
2989 (integer_type_kind): New type.
2990 (integer_types): New variable.
2991 (char_type_node): Adjust.
2992 (signed_char_type_node): Likewise.
2993 (unsigned_char_type_node): Likewise.
2994 (short_integer_type_node): Likewise.
2995 (short_unsigned_type_node): Likewise.
2996 (integer_type_node): Likewise.
2997 (unsigned_type_node): Likewise.
2998 (long_integer_type_node): Likewise.
2999 (long_unsigned_type_node): Likewise.
3000 (long_long_integer_type_node): Likewise.
3001 (long_long_unsigned_type_node): Likewise.
3002 * tree.c (integer_types): New variable.
3003 (init_obstacks): Register it as a root.
3005 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
3007 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3008 NEXT_INSN. Update last insn in chain.
3010 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
3012 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3013 with TYPE_DECL_SUPPRESS_DEBUG set.
3015 2000-03-18 Richard Henderson <rth@cygnus.com>
3017 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3019 2000-03-18 Richard Henderson <rth@cygnus.com>
3021 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3022 care for HALF_PIC_P.
3023 (expander_call_insn_operand): Remove.
3024 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3025 * i386.h (PREDICATE_CODES): Update.
3026 * i386.md (all call expanders): Remove predicates, remove special
3027 handling for half-pic.
3028 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3029 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3030 (sibcall_epilogue): New.
3032 2000-03-17 Richard Henderson <rth@cygnus.com>
3034 * rtlanal.c (single_set): Reject if the parallel has anything
3035 except SET or USE or CLOBBER.
3037 2000-03-17 Jeff Law <law@cygnus.com>
3038 Richard Henderson <rth@cygnus.com>
3040 * Makefile.in (OBJS): Add sibcall.o.
3042 * sibcall.c: New file.
3043 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3044 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3045 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3046 Emit sibcall patterns when requested. Update all callers.
3047 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3048 elimination seems feasable.
3049 * final.c (leaf_function_p): Sibling calls don't discount being
3051 * flow.c (HAVE_sibcall_epilogue): Provide default.
3052 (find_basic_blocks_1): Sibling calls don't throw.
3053 (make_edges): Make edge from sibling call to EXIT.
3054 (propagate_block): Don't remove sibcall_epilogue insns.
3055 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
3056 (sibcall_epilogue): New.
3057 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3058 (identify_blocks_1): Likewise. Break out from ...
3059 (identify_blocks): ... here.
3060 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
3061 (reorder_blocks): ... here.
3062 (init_function_for_compilation): Zap prologue/epilogue as varrays.
3063 (record_insns): Extend a varray instead of mallocing new memory.
3064 (contains): Read a varray not array of ints.
3065 (sibcall_epilogue_contains): New.
3066 (thread_prologue_and_epilogue_insns): Emit and record
3067 sibcall_epilogue patterns.
3068 (init_function_once): Allocate prologue/epilogue varrays.
3069 * genflags.c (gen_insn): Treat sibcall patterns as calls.
3070 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3072 (save_for_inline_nocopy): ... here.
3073 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
3075 (expand_inline_function): ... here.
3076 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3077 (subst_constants): Handle 'n' formats.
3078 * jump.c (jump_optimize_minimal): New.
3079 (jump_optimize_1): New arg `minimal'; update callers. Elide most
3080 optimizations if it's set.
3081 * rtl.c (copy_rtx): Do copy jump & call for insns.
3082 * rtl.h (struct rtx_def): Document use of jump and call for insns.
3083 (SIBLING_CALL_P): New.
3084 (sibcall_use_t): New.
3085 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3086 Invoke optimize_sibling_and_tail_recursive_calls.
3087 * tree.c (lang_safe_for_unsave): New.
3088 (safe_for_unsave): New.
3089 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3091 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3092 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3093 (*sibcall_osf_1, *sibcall_value_osf_1): New.
3095 2000-03-17 Mark Mitchell <mark@codesourcery.com>
3097 * objc/objc-act.c (encode_method_prototype): Pass types, not
3098 PARM_DECLs, to int_size_in_bytes.
3100 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
3102 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3104 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3105 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3107 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3109 * Clean up usages of TREE_INT_CST_LOW.
3110 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3111 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3113 * c-tree.h (min_precision): Move declaration to here.
3114 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3115 (build_unary_op, add_pending_init): Use bit_position.
3116 (pending_init_member, process_init_element): Likewise.
3117 (really_start_incremental_init, push_init_level, pop_init_level):
3118 Don't make copies of nodes or modify them in place, use consistent
3119 types when tracking positions, and use tree routines computations.
3120 (set_init_index, output_init_element): Likewise.
3121 (output_pending_init_elements, process_init_element): Likewise.
3122 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3123 tree_low_cst and int_bit_position; also minor cleanup.
3124 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3125 (print_cst_octal): Precision is unsigned.
3126 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3127 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3128 (simple_type_align_in_bits): Result is unsigned int.
3129 Use tree_int_low_cst and host_integerp.
3130 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3131 (field_byte_offset): Result is HOST_WIDE_INT.
3132 Change types of internal variables so alignments are unsigned int,
3133 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3134 Use host_integerp, tree_low_cst, and int_bit_position.
3135 (add_bit_offset_attribute): Likewise.
3136 (add_data_member_location_attribute): Use tree_cst_low.
3137 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3138 (add_bit_size_attribute): Use tree_low_cst.
3139 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3140 * dwarfout.c: Similar changes to dwarf2out.c.
3141 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3142 * genoutput.c (n_occurences): Return -1 for null string.
3143 (strip_whitespace): Accept null string and make into function.
3144 (scan_operands): Reflect above changes.
3145 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3146 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3147 * ssa.c (rename_registers): Add missing cast of arg to bzero.
3148 * tree.c (int_size_in_bytes): Check for too big to represent.
3149 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3150 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3152 (min_precision): Delete from here.
3153 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3154 and int_bit_position.
3155 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3156 (encode_method_def): Likewise.
3157 (build_ivar_list_initializer): Use int_bit_position.
3158 (generate_shared_structures): Convert size.
3159 (encode_type, encode_complete_bitfield): Use integer_zerop.
3160 (encode_bitfield): Use tree_low_cst and int_bit_position.
3162 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3164 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3166 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3168 * call.c (special_function_p): It is only malloc if it returns
3171 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3173 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3174 (C33_FLAG, TARGET_C3X): Add macros.
3175 (TARGET_SWITCHES): Add -m33 option.
3176 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3178 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3180 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3181 (PARALLEL_PACK_FLAG): Delete.
3182 (TARGET_SWITCHES): Update.
3183 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3185 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3187 * fold-const.c (fold): Fix a few cases when the returned result
3188 is not of the same type as the input.
3190 2000-03-16 Nick Clifton <nickc@cygnus.com>
3192 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3195 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3197 * libgcc2.h: Move prototypes above macros with the same name.
3198 Wrap some function prototypes in the conditional which indicates
3199 whether they are supported, i.e. "BITS_PER_UNIT == 8".
3201 2000-03-16 Richard Henderson <rth@cygnus.com>
3203 * calls.c: Revert last two changes.
3205 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
3207 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3208 has exponent 0 is a zero.
3210 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3211 HASH may already be nonzero. Add code/mode into hash value
3212 immediately after repeat label.
3213 (cselib_lookup): Don't leave the hash table in an inconsistent
3214 state before a hash lookup operation.
3216 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
3218 * i386.md (all HI and QI mode non-move patterns): Conditionize
3219 by TARGET_[HQ]IMODE_MATH.
3220 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3221 x86_promote_qi_regs): Declare.
3222 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3223 TARGET_PROMOTE_QI_REGS): New macros.
3224 (PROMOTE_MODE): New macro.
3225 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3226 x86_promote_qi_regs): New global variables.
3228 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
3230 * calls.c (emit_library_call_value_1): Break out from ...; handle
3231 VOIDmode function calls too.
3232 (emit_library_call_value): ... here.
3233 (emit_library_call): Implement by calling emit_library_call_value_1.
3235 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
3237 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3238 Update arg_space_so_far on stack adjustments.
3239 (emit_library_call, emit_library_call_value): Likewise; take into
3240 account arg_space_so_far and pending_stack_adjust when calculcating
3243 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
3245 * flow.c: Move all basic block reordering code into its own file.
3246 (create_basic_block): Externalize.
3247 * bb-reorder.c: New file. Copy all basic block reordering code from
3248 flow.c to this file.
3249 (reorder_basic_blocks): Fix fencepost error in for-loop.
3250 (reorder_basic_blocks): Remove braces from single statement for-loops.
3251 * basic-block.h: Add declaration for create_basic_block.
3252 * Makefile.in: Add rules for bb-reorder.o.
3254 2000-03-16 Neil Booth <NeilB@earthling.net>
3256 * cppinit.c (handle_option): Implement #unassert directive
3257 as -A- command line option.
3258 (print_help): Update.
3259 * cpptexi.c: Update.
3261 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
3263 * md.texi (Standard Names): Document `jump'.
3265 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3267 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3270 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3272 Merge changes from newppc-branch onto trunk.
3274 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3276 * rs6000.c (toc_hash_table): Update for new hash table functions.
3277 (toc_hash_function): Likewise.
3278 (toc_hash_eq): Likewise.
3279 (toc_hash_mark_entry): Likewise.
3280 (toc_hash_mark_table): Likewise.
3281 (output_toc): Likewise.
3282 (rs6000_add_gc_roots): Likewise.
3284 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3286 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
3287 (AR_FLAGS_FOR_TARGET): here. New macro.
3289 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
3291 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3292 fpmem_operand) Delete.
3294 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3295 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3296 (rs6000_save_machine_status, rs6000_restore_machine_status,
3297 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
3298 references to above variables.
3299 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3300 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3301 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3302 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3303 (XER_REGNO_P, XER_REGNO): New.
3304 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3305 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3306 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
3308 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3309 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
3310 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3312 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3314 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3315 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3316 * rs6000.h: from here.
3318 * rs6000-protos.h (rs6000_select_section): Provide prototype.
3319 (rs6000_select_rtx_section): Likewise.
3320 (rs6000_encode_section_info): Likewise.
3321 (sdata_section): Likewise.
3322 (sdata2_section): Likewise.
3323 (sbss_section): Likewise.
3324 * sysv4.h (rs6000_select_section): Delete prototype.
3325 (rs6000_select_rtx_section): Likewise.
3326 (rs6000_encode_section_info): Likewise.
3327 (sdata_section): Likewise.
3328 (sdata2_section): Likewise.
3329 (sbss_section): Likewise.
3330 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3332 * sysv4.h: Delete various unnecessary #undef's and put a comment
3333 on the remaining ones.
3334 Change various comments according to coding standard.
3336 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
3338 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
3339 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3340 (CR0_REGNO_P) Remove.
3341 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
3342 setup_incoming_varargs, mtcrf_operation, print_operand,
3343 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
3344 Use the above macros.
3346 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
3348 * config/rs6000/rs6000.md: Added a new alternative for each
3349 pattern that had a 'x' alternative but no 'y' alternative.
3350 Added a new split for each of the above patterns.
3352 2000-02-18 Geoff Keating <geoffk@cygnus.com>
3354 * aix41.h (ASM_CPU_SPEC): Delete.
3355 (CPP_CPU_SPEC): Delete.
3357 * aix.h (RS6000_OUTPUT_BASENAME): Define.
3358 (ASM_OUTPUT_LABEL): Define.
3359 (ASM_GLOBALIZE_LABEL): Define.
3360 (STRIP_NAME_ENCODING): Define.
3361 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3362 (STRIP_NAME_ENCODING): Don't define.
3363 (ASM_OUTPUT_LABEL): Don't define.
3364 (ASM_GLOBALIZE_LABEL): Don't define.
3365 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3366 names, and ASM_OUTPUT_LABEL to output labels, rather than
3368 (ASM_OUTPUT_LABEL): Define.
3369 (ASM_OUTPUT_INT): Use assemble_name.
3370 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3371 (STRIP_NAME_ENCODING): Don't undefine first.
3372 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3374 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3375 specified with 'asm' even with -fleading-underscore.
3376 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3377 (output_epilog): Likewise.
3378 (output_toc): Likewise.
3379 * tramp.asm: Handle -fleading-underscore correctly.
3381 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3383 (nonlocal_goto_receiver): Delete.
3384 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3386 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3387 (SET_ASM_OP): Define.
3388 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3390 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3393 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3394 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3396 * rs6000.h: Add 'u' to more constants.
3398 2000-02-18 David Edelsohn <edelsohn@gnu.org>
3400 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3402 2000-02-15 David Edelsohn <edelsohn@gnu.org>
3404 * rs6000.c (reg_or_u_cint_operand): New function.
3405 (logical_operand): Handle 64-bit hosts.
3406 (logical_u_operand): New function.
3407 (non_logical_cint_operand): Handle 64-bit hosts.
3408 (non_logical_u_cint_operand): New function.
3409 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3410 (PREDICATE_CODES): Define new functions.
3411 * rs6000-protos.h: Declare new functions.
3412 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3413 (movdi_64): Bracket code intended for 64-bit hosts. Create
3414 CONST_DOUBLE for 32-bit values.
3415 (scc insns): Generate DImode compares.
3416 (mfcr insns): Create DImode versions.
3417 (sge matchers): New patterns.
3419 2000-02-15 Gabriel Paubert <paubert@iram.es>
3421 * rs6000.md: Correct instructions length attributes and
3422 constraints on unsigned compare instructions.
3423 (*ne0): Disable for PowerPC64.
3425 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3427 * rs6000.c (output_function_profiler): Use .long for a 32-bit
3428 quantity, fix profile1.C test failure under -fPIC.
3430 * rs6000.c: Add 'u' to many constants to suppress warnings.
3431 (constant_pool_expr_1): Make static.
3432 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3433 * rs6000.h: Add 'u' to many constants to suppress warnings.
3435 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3436 for the start of the TOC, instead of LCTOC..0.
3437 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3439 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3440 (load_toc_aix_di): Use LCTOC..1.
3442 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3443 * rs6000.c (rs6000_legitimize_address): New function from
3444 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
3445 symbols in the constant pool that really are TOC references.
3446 (print_operand_address): For ELF, write TOC offsets under
3447 -fPIC as subtractions in the insn.
3448 (output_toc): For ELF, define symbols in TOC as normal labels,
3450 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3451 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3452 (create_TOC_reference): Prototype only when RTX_CODE is defined.
3453 * rs6000.md (movsi): Only use create_TOC_reference on
3454 symbols in the constant pool that really are TOC references.
3456 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3457 * rs6000.c (rs6000_reorg): Delete.
3458 * rs6000-protos.h (rs6000_reorg): Delete.
3460 2000-02-09 Geoff Keating <geoffk@cygnus.com>
3462 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3464 * aix.h (SETUP_FRAME_ADDRESSES): Define.
3465 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3466 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3467 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3468 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3469 rs6000_aix_emit_builtin_unwind_init.
3470 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
3471 rs6000_emit_eh_toc_restore on AIX.
3472 (return_eh_si): Use r2.
3473 (return_eh_di): Use r2.
3475 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3476 since we're breaking binary compatibility anyway.
3478 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3480 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3481 constant_pool_expr_p): Declare them.
3482 (constant_pool_expr_p): Declare it.
3483 * config/rs6000/rs6000.c (toc_label_name): Define.
3484 (rs6000_override_options): Set toc_label_name.
3485 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3486 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3487 uses_TOC): New functions.
3488 (print_operand): Delete old '*' case.
3489 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3490 and strip off rtl for TOC before calling output_addr_const.
3491 (rs6000_emit_load_toc_table): Use toc_label_name.
3492 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3494 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3495 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3496 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3497 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3498 into explicit TOC_REGISTER offsets.
3499 (TOC_REGISTER): New macro.
3500 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
3501 TARGET_TOC to reference TOC_REGISTER.
3502 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3503 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
3504 uses_TOC before emitting label references.
3506 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3508 * rs6000.md (stack_tie): Fix warning.
3510 * eabi-ctors.c: Use 'asm' names for the start/end variables,
3511 to handle -fleading-underscore.
3512 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3513 (USER_LABEL_PREFIX): New macro.
3514 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3515 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3516 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3517 call-linux can use the same multilibs.
3518 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3519 and call-linux multilibs. Do multilib with -fleading-underscore.
3520 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3521 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
3524 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3525 have MASK_SOFT_FLOAT set.
3526 (CPP_FLOAT_DEFAULT_SPEC): New macro.
3527 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3528 CPP_FLOAT_DEFAULT_SPEC.
3530 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3531 * rs6000.md: Whitespace change.
3532 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3533 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3535 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3537 * rs6000.md (eh_epilogue): New expander.
3538 (eh_reg_restore): New expand/split/insn combination.
3539 (return_eh_si): New insn.
3540 (return_eh_di): New insn.
3542 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3543 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3544 * eabi-ctors.c (__do_global_ctors): Register this object's
3545 frame. Clean up. Call atexit() after the constructors.
3546 (__do_global_dtors): Deregister this object's frame. Clean up.
3547 Allow for recursive calls to exit().
3548 * rs6000.c (fixuplabelno): New variable.
3549 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3550 TARGET_RELOCATABLE, it slows down exec() under linux.
3551 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3553 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3554 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3555 (ASM_OUTPUT_DWARF_DELTA2): New macro.
3556 (ASM_OUTPUT_DWARF_DELTA4): New macro.
3557 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3558 (ASM_OUTPUT_DWARF_ADDR): New macro.
3559 (ASM_OUTPUT_DWARF_DATA4): New macro.
3560 (ASM_OUTPUT_DWARF_DATA2): New macro.
3561 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3562 (ASM_OUTPUT_DWARF_OFFSET): New macro.
3563 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3565 2000-02-03 Geoff Keating <geoffk@cygnus.com>
3567 * rs6000.c (rs6000_sr_alias_set): New variable.
3568 (rs6000_override_options): Initialise rs6000_sr_alias_set.
3569 (rs6000_emit_stack_tie): New function.
3570 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3571 in a way that dwarf2out can understand.
3572 (rs6000_frame_related): New function.
3573 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
3574 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3575 Use rs6000_emit_stack_tie when needed.
3576 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
3577 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
3578 * rs6000.md (stack_tie): New insn.
3579 (return_internal_si): Allow return value to be in the count
3581 (return_internal_di): Likewise.
3583 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3585 2000-02-03 Geoff Keating <geoffk@cygnus.com>
3587 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3589 2000-01-31 Geoff Keating <geoffk@cygnus.com>
3591 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3593 * rs6000.md (stmw): Use the right POWER opcode.
3596 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3598 * rs6000-protos.h: New file.
3600 * rs6000.c: Include tm_p.h. Fix compile time warnings.
3602 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
3605 * sysv4.h: Likewise.
3607 2000-01-28 Geoff Keating <geoffk@cygnus.com>
3609 * ../../configure.in: Delete powerpcle-*-winnt*
3610 and powerpcle-*-pe|powerpcle-*-cygwin*.
3611 * ../../configure: Regenerated.
3613 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3614 (TARGET_WINDOWS_NT): Delete.
3616 (CALL_NT_DLLIMPORT): Delete.
3617 Delete NT-specific code.
3618 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3621 * nt-ci.asm: Delete.
3622 * nt-cn.asm: Delete.
3623 * ntstack.asm: Delete.
3625 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3627 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3628 (ASM_FILE_START): Likewise.
3629 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3630 (ASM_OUTPUT_LABELREF): Likewise.
3631 (ASM_OUTPUT_SKIP): Likewise.
3632 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3633 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3634 (ASM_OUTPUT_CASE_LABEL): Likewise.
3635 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3636 (ASM_OUTPUT_ASCII): Likewise.
3638 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
3640 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3641 reload_toc_labelno for non-prologue TOC reloads. Also, don't
3642 increment rs6000_pic_labelno here.
3643 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3644 and increment rs6000_pic_labelno here.
3646 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
3648 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3649 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3650 allocation knows (reg) is dead before the insn.
3652 2000-01-21 Geoff Keating <geoffk@cygnus.com>
3654 * rs6000.md (movsi_to_cr): Correct typo in output template.
3656 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
3658 * rs6000.c (rs6000_pic_labelno): Always define.
3659 (rs6000_pic_func_labelno): Delete.
3660 (lmw_operation): Check for a zero base register,
3661 which doesn't mean what we want.
3662 (stmw_operation): New function.
3663 (print_operand): Define new 'l' modifier.
3664 (rs6000_stack_info): We must save all 64 bits of the registers
3665 if TARGET_POWERPC64.
3666 (rs6000_output_load_toc_table): Delete.
3667 (rs6000_emit_load_toc_table): New function.
3668 (rs6000_allocate_stack_space): Delete.
3669 (rs6000_emit_allocate_stack): New function.
3670 (rs6000_emit_prologue): New function.
3671 (output_prolog): Use rs6000_emit_prologue.
3672 (rs6000_emit_epilogue): Change a few variable names to be
3673 more accurate. Restore all 64 bits of the registers if
3674 TARGET_POWERPC64. Only restore the FP registers which were used
3675 if they are being saved/restored one-at-a-time.
3676 (output_mi_thunk): Delete inefficient code generation.
3677 (output_function_profiler): Don't use rs6000_output_load_toc_table.
3678 * rs6000.h: Declare rs6000_emit_load_toc_table,
3679 rs6000_allocate_stack_space, stmw_operation. Don't declare
3680 rs6000_output_load_toc_table.
3681 * rs6000.md (elf_high): Allow register 0, but discourage it
3683 (elf_low): Support loading into register 0.
3684 (load_toc_aix_si): New pattern.
3685 (load_toc_aix_di): New pattern.
3686 (load_toc_v4_pic_si): New pattern.
3687 (load_toc_v4_pic_di): New pattern.
3688 (load_toc_v4_PIC_1): New pattern.
3689 (load_toc_v4_PIC_1b): New pattern.
3690 (load_toc_v4_PIC_2): New pattern.
3691 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3692 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3693 (prologue): New expander.
3694 (movesi_from_cr): New pattern.
3695 (stmw): New pattern.
3696 (save_fpregs_si): New pattern.
3697 (save_fpregs_di): New pattern.
3699 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3701 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3706 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3708 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3710 (movsi_got_internal): Likewise.
3711 (movsi_got_internal+1): Likewise.
3712 (set_sp): 'unspec 7' does a SImode clobber.
3714 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3716 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3717 allocate a stack temporary.
3718 (floatsidf2_internal): Likewise.
3719 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
3721 (floatunssidf2): Don't use the fpmem "register", just
3722 allocate a stack temporary.
3723 (floatunssidf2_internal): Likewise.
3724 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
3726 (floatsidf2_loadaddr): Delete.
3727 (floatsidf2_store1): Delete.
3728 (floatsidf2_store2): Delete.
3729 (floatsidf2_load): Delete.
3730 (fix_truncdfsi2): Don't use the fpmem "register", just
3731 allocate a stack temporary.
3732 (fix_truncdfsi2_internal_si): Delete.
3733 (fix_truncdfsi2_internal_di): Delete.
3734 (fix_truncdfsi2_internal): New insn.
3735 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3736 (fix_truncdfsi2_store): Delete.
3737 (fix_truncdfsi2_load): Delete.
3738 (fctiwz): Produce gen_fctiwz.
3740 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
3742 * eabi.h (INVOKE__main): Define.
3743 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3745 (rs6000_emit_prologue): Likewise.
3746 * rs6000.h (struct rs6000_stack): Don't keep track of whether
3747 this is the main program.
3749 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3751 * rs6000.c (rs6000_va_arg): Delete some unused variables.
3753 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3755 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3756 goes after the argument.
3758 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3760 * rs6000.md: Document 'unspec' values used.
3761 (epilogue): New expander.
3762 (movesi_to_cr_one): New expander.
3763 (movesi_to_cr and following): New pattern.
3765 (return_internal_si): New pattern.
3766 (return_internal_di): New pattern.
3767 (return_and_restore_fpregs_si): New pattern.
3768 (return_and_restore_fpregs_di): New pattern.
3769 * rs6000.h: Declare new functions.
3770 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3771 rather than rs6000_calls_p.
3772 (rs6000_makes_calls): Delete.
3773 (lmw_operation): New function.
3774 (mtcrf_operation): New function.
3775 (rs6000_emit_epilogue): New function.
3776 (output_epilog): Call rs6000_emit_epilogue and final if
3777 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3779 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3781 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3782 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3783 * aix.h (SUBTARGET_SWITCHES): Document switches.
3784 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
3785 sched-prolog and sched-epilog the same. Document all the
3787 (TARGET_OPTIONS): No longer allow -mdebug-.
3789 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3791 * rs6000.h (ASM_FILE_END): Move to aix.h.
3792 (EXTRA_SECTIONS): Move to aix.h.
3793 (READONLY_DATA_SECTION): Move to aix.h.
3794 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3795 (SELECT_SECTION): Move to aix.h.
3796 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3797 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3798 (LINK_REGISTER_REGNUM): New definition.
3799 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3800 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3802 * sysv4.h: Delete the code between the inclusion of rs6000.h
3804 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
3805 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
3806 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
3807 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
3808 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
3809 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
3810 (fix_truncdfsi2_internal_di): New pattern.
3811 (fix_truncdfsi2_store): The second arg here is Pmode too.
3812 (fix_truncdfsi2_load): The second arg here is Pmode too.
3813 (tablejumpdi): Now that switch tables hold only SImode values,
3814 gcc needs to know how to add them to the pc which is DImode.
3815 * rs6000.c (rs6000_stack_info): Use symbolic name for
3816 LINK_REGISTER_REGNUM.
3817 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
3818 (output_toc): Delete unused variables s1 and s2.
3819 (output_ascii): Use fputs not fprintf on a variable string.
3821 2000-01-07 David Edelsohn <edelsohn@gnu.org>
3823 * rs6000.c (processor_target_table): Add power3 as alias for 630.
3824 * aix43.h: Revert Aug 2 change.
3825 (HAS_INIT_SECTION): Define, not visible yet.
3826 (LD_INIT_SWITCH): Define, not visible yet.
3827 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3829 2000-01-04 Joel Sherrill (joel@OARcorp.com>
3831 * config/rs6000/rtems.h: Include config/rtems.h.
3833 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3835 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3836 (SLOW_UNALIGNED_ACCESS): Define.
3837 (CASE_VECTOR_MODE): Always use 32-bit offsets.
3838 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3839 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3840 (toc_section): Likewise and .toc pseudo-op.
3841 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
3843 (TEXT_SECTION_ASM_OP): Likewise.
3844 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3847 1999-12-17 Jakub Jelinek <jakub@redhat.com>
3849 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
3850 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3853 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3855 * rs6000.h: Move more stuff from here...
3857 * sysv4.h: Cleanup accordingly.
3858 * netware.h: Likewise
3860 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3862 * rs6000.h: Continue cleanup.
3865 * netware.h: Likewise.
3867 * sysv4.h: Likewise.
3868 * win-nt.h: Likewise.
3870 * rs6000.h (TARGET_SWITCHES): Add descriptions.
3871 (TARGET_OPTIONS): Likewise.
3873 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
3874 (SUBTARGET_OPTIONS): Likewise.
3876 * rs6000.md: Fix compile time warnings.
3878 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3880 vxworks patches from the Cygnus tree originally by
3881 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
3882 <vmakarov@cygnus.com>.
3883 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
3884 (ENDFILE_SPEC): Likewise.
3885 (LIB_VXWORKS_SPEC): New macro.
3886 (STARTFILE_VXWORKS_SPEC): New macro.
3887 (ENDFILE_VXWORKS_SPEC): New macro.
3888 (LINK_START_VXWORKS_SPEC): New macro.
3889 (LINK_OS_VXWORKS_SPEC): New macro.
3890 (CPP_OS_VXWORKS_SPEC): New macro.
3891 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
3892 * vxppc.h: Rewrite to use proper configuration method.
3893 * vxppcle.h: New file.
3894 * ../../configure.in: Add powerpcle-wrs-vxworks*.
3895 * ../../configure: Rebuilt.
3897 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3899 Lots of changes to rs6000.h, sysv4.h, aix.h,
3900 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
3901 with the aim that rs6000.h is the first header
3902 included and the others override it.
3905 * x-aix41-gld: Remove.
3907 * x-aix41: Remove target-specific switches, and don't specify
3908 -Wl,-bbigtoc as we don't need it any more.
3909 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
3910 Use t-aix43 for AIX 4.3 and above.
3911 * ../../configure: Regenerated.
3913 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
3914 options, that don't do anything yet.
3915 (MASK_SCHED_PROLOG): New macro.
3916 (MASK_SCHED_EPILOG): New macro.
3917 (TARGET_SCHED_PROLOG): New macro.
3918 (TARGET_SCHED_EPILOG): New macro.
3920 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3922 * rs6000.c: Correct comment, the `minimal' TOCs are actually
3923 one per translation unit, not one per function.
3924 (output_toc): Also do duplicate constant elimination
3925 for per-translation-unit TOCs.
3927 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
3928 a comment explaining _exactly_ when this pattern gets used.
3929 (builtin_setjmp_receiver): New pattern for better clarity.
3930 (init_v4_pic): Move it into a section dealing with TOC registers.
3932 1999-12-30 Geoff Keating <geoffk@cygnus.com>
3934 * rs6000.c (toc_hash_table): New variable.
3935 (rs6000_hash_constant): New function.
3936 (toc_hash_function): New function.
3937 (toc_hash_eq): New function.
3938 (toc_hash_mark_entry): New function.
3939 (toc_hash_mark_table): New function.
3940 (output_toc): Don't output duplicate TOC entries in
3942 (rs6000_add_gc_roots): Add the hash table as a GC root.
3943 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
3944 where they clearly shouldn't be. This may need to be fixed
3945 later when there is a GNU ar for AIX.
3946 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
3947 Don't define BOOT_LDFLAGS as it is now not necessary.
3949 1999-12-29 Geoff Keating <geoffk@cygnus.com>
3951 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
3952 for va_list on AIX. Use unsigned_char_type_node rather than
3953 constructing our own version on svr4.
3955 1999-12-17 Geoff Keating <geoffk@cygnus.com>
3957 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
3958 since patently it's not.
3960 1999-12-08 Geoff Keating <geoffk@cygnus.com>
3962 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
3963 define_expand/define_insn pair, and handle restore of the
3964 SVR4 -fpic register.
3966 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
3968 * acconfig.h (HAVE_GAS_WEAK): New define.
3969 * configure.in (assembler weak support): Check for .weak support.
3970 * config.in, configure: Rebuilt.
3971 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
3972 HAVE_GAS_WEAK is defined.
3974 2000-03-15 Nick Clifton <nickc@cygnus.com>
3976 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
3979 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
3981 * cppfiles.c (open_include_file): New function.
3982 (find_include_file, cpp_read_file): Use it.
3984 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3986 * cpphash.c (dump_hash_helper): Take the slot, not the element.
3988 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
3990 * flow.c (verify_flow_info): Check for unconditional return.
3992 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
3994 * config/ia64/ia64.md (restore_stack_nonlocal): New.
3995 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
3996 (__ia64_restore_stack_nonlocal): New.
3997 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
3999 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4001 * cpphash.c (collect_formal_parameters): Do not complain about
4002 parameter names that just start with `__VA_ARGS__'.
4004 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
4006 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4007 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4008 * i386.c (pentiumpro_cost): Set mul cost to 4.
4009 (x86_use_movx): Set for PPro.
4011 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
4013 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4014 STACK_BOUNDARY for empty frames now.
4016 2000-03-14 Mark Mitchell <mark@codesourcery.com>
4018 * stor-layout.c (layout_union): Remove.
4019 (layout_union_field): New function, split out from layout_union.
4020 (finish_union_layout): Likewise.
4021 (layout_field): Handle unions by calling layout_union_field.
4022 (finish_record_layout): Handle unions.
4023 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4024 QUAL_UNION_TYPE handling.
4026 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
4028 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4029 end of basic block is jump_insn, not barrier; use create_basic_block
4030 instead of creating basic block by hand.
4032 2000-03-14 Jason Eckhardt <jle@cygnus.com>
4034 * flow.c (reorder_basic_blocks): Account for barriers when writing
4035 over NEXT_INSN (last_bb->end).
4036 (verify_flow_info): Add check for missing barriers.
4038 2000-03-14 Greg McGary <gkm@gnu.org>
4040 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4041 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4042 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4043 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4044 __unbounded, __unbounded__): New keywords.
4045 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4046 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4047 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4049 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
4051 * cselib.h: New file.
4052 * alias.c: Include "cselib.h".
4053 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4054 MEMs as two new arguments.
4055 (get_addr): New static function.
4056 (find_base_term): Handle VALUEs.
4057 (memrefs_conflict_p): Likewise.
4058 (true_dependence): Call get_addr on the addresses.
4059 Call fixed_scalar_and_varying_struct_p with addresses that have been
4060 passed through get_addr and canon_rtx.
4061 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4062 with true_dependence.
4063 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4064 * loop.c: Include "cselib.h".
4065 (load_mems): Process extended basic block that enters the loop with
4066 cselib. Use that information to change initialization of the shadow
4067 register so that a constant equivalence is seen by later passes.
4068 * reload1.c: Include "cselib.h".
4069 (reload_cse_invalidate_regno): Delete function.
4070 (reload_cse_mem_conflict_p): Likewise.
4071 (reload_cse_invalidate_mem): Likewise.
4072 (reload_cse_invalidate_rtx): Likewise.
4073 (reload_cse_regno_equal_p): Likewise.
4074 (reload_cse_check_clobber): Likewise.
4075 (reload_cse_record_set): Likewise.
4076 (reg_values): Delete static variable.
4077 (invalidate_regno_rtx): Likewise.
4078 (reload_cse_delete_noop_set): New static function.
4079 (reload_cse_simplify): New static function, broken out of
4081 (reload_cse_noop_set_p): Delete unused argument INSN.
4082 Just call rtx_equal_for_cselib_p on set source and destination.
4083 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4084 reload_cse_delete_noop_set. Delete code to keep track of values; use
4085 cselib functions instead. Delete code to push/pop obstacks.
4086 (reload_cse_simplify_set): Use cselib to find equivalent values.
4087 Delete code to push/pop obstacks.
4088 (reload_cse_simplify_operands): Likewise.
4089 * rtl.def (VALUE): New rtx code.
4090 * rtl.h (union rtunion_def): New elt rt_cselib.
4091 (X0CSELIB, CSELIB_VAL_PTR): New macros.
4092 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4093 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4094 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4095 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4096 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4097 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4098 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4099 cselib_record_set, cselib_record_sets): New static functions.
4100 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4101 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4102 references_value_p): New functions.
4103 (MAX_USELESS_VALUES, REG_VALUES): New macros.
4104 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4105 n_useless_values, reg_values, callmem, cselib_obstack,
4106 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4107 New static variables.
4108 * varray.h (union varray_data_tag): New elt te.
4109 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4110 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4113 2000-03-14 Nick Clifton <nickc@cygnus.com>
4115 * gcc.c (do_spec_1): Catch the case where %* is used in a
4116 substitution pattern, but it has not been initialised.
4117 Issue a meaningful error message if an unrecognised operator
4118 is encountered in a spec string.
4120 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
4122 * function.c (prepare_function_start): Correctly initialize
4123 cfun->stack_alignment_needed.
4125 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
4127 * cppfiles.c (find_include_file): Don't assume nshort is a
4130 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
4132 * configure.in (hppa configurations): Add pa32-regs.h to the
4133 list of tm files as appropriate.
4134 * configure: Rebuilt.
4135 * pa.c (compute_frame_size): Remove explicit knowledge about FP
4137 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4138 (fmpyaddoperands, fmpysuboperands): Likewise.
4139 * pa.h: Remove various definitions which depend on knowing
4140 how registers are numbered.
4141 * pa32-regs.h: New file with PA32 register numbering specific
4144 2000-03-14 Richard Henderson <rth@cygnus.com>
4146 * regmove.c (combine_stack_adjustments): New.
4147 (stack_memref_p, single_set_for_csa): New.
4148 (free_csa_memlist, record_one_stack_memref): New.
4149 (try_apply_stack_adjustment): New.
4150 (combine_stack_adjustments_for_block): New.
4151 * rtl.h (combine_stack_adjustments): Declare.
4152 * toplev.c (rest_of_compilation): Call it.
4154 * i386.md: Revert 2000-01-16 change.
4156 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4158 * gccbug.in: Add web category, gcc specific classes.
4160 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
4162 * stor-layout.c (finalize_record_size): Fix typo.
4164 2000-03-14 Stan Shebs <shebs@apple.com>
4166 * c-typeck.c (c_alignof): Error on incomplete types.
4167 * extend.texi (Alignment): Document this.
4169 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4171 * cppfiles.c: Include mkdeps.h.
4172 (find_include_file, read_include_file): Remove _cpp_ prefix
4173 from name, make static.
4174 (_cpp_execute_include): New function, broken out of
4177 * cpplib.c: Don't include mkdeps.h.
4178 (struct directive): Remove type field. Reorder entries. The
4179 function takes only one argument.
4180 (struct if_stack): Make type field an int.
4181 (directive_table): Rename to dtable. Generate it, the
4182 prototypes of the directive handlers, and the enum for the
4183 directive numbers, from a template macro.
4184 (do_ifndef, do_include_next, do_import): New functions.
4185 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4186 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4187 do_ident, do_assert, do_unassert, do_sccs): Take only one
4189 (do_sccs): Define always, but alter behavior based on
4191 (_cpp_handle_directive, consider_directive_while_skipping):
4192 Restructure for new directive table layout.
4194 (pass_thru_directive): Take a directive number, not a pointer
4195 to a struct directive.
4196 (parse_include): New function, broken out of do_include.
4197 (do_include, do_import, do_include_next): Use parse_include
4198 and _cpp_execute_include.
4199 (do_elif, do_else): Test for T_ELSE specifically when checking
4200 for #elif/#else after #else.
4201 (parse_ifdef): New function, broken out of do_ifdef.
4202 (validate_else): Expect a name arg without a leading #.
4203 (if_directive_name): Delete.
4204 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4205 directive handlers with only one argument.
4207 * cpphash.h: Update prototypes.
4208 (enum node_type): Remove entries for directives.
4209 * Makefile.in: Update dependencies.
4211 * cpphash.c (dump_hash_helper): Only dump nodes of type
4212 T_MACRO. Emit a newline after each definition.
4214 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4216 * gccbug.in: New file.
4217 * configure.in (all_outputs): Add gccbug.
4218 * Makefile.in (install-common): Install gccbug.
4219 (GCCBUG_INSTALL_NAME): New variable.
4220 * configure: Rebuilt.
4222 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4224 * function.c (put_var_into_stack): Use type_for_mode to calculate
4225 part_type. Use MEM_SET_IN_STRUCT_P.
4226 * expr.c (store_field): Handle CONCAT.
4227 (store_constructor): Use fields_length.
4228 * tree.c (fields_length): New fn.
4229 * tree.h: Declare it.
4231 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4233 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4234 (cpplex.o): New target.
4235 * po/POTFILES.in: Add cpplex.c.
4237 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4238 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4239 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4240 skip_block_comment, skip_line_comment, skip_comment,
4241 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4242 _cpp_parse_name, skip_string, parse_string,
4243 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4244 _cpp_get_directive_token, find_position,
4245 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4246 (maybe_macroexpand, _cpp_lex_token): New functions.
4248 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4249 parse_goto_mark): Delete.
4250 (_cpp_handle_eof): New function.
4251 (_cpp_handle_directive): Rename from handle_directive.
4252 (_cpp_output_line_command): Rename from output_line_command.
4253 (do_if, do_elif): Call _cpp_parse_expr directly.
4254 * cppfiles.c (_cpp_read_include_file): Don't call
4255 init_input_buffer here.
4256 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4257 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4258 here; pop the token_buffer and skip the rest of the line here.
4259 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4262 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4264 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4265 CPP_GOTO_MARK): New macros.
4266 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4267 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4268 _cpp_read_and_prescan, _cpp_init_input_buffer,
4269 _cpp_grow_token_buffer, _cpp_get_directive_token,
4270 _cpp_handle_directive, _cpp_handle_eof,
4271 _cpp_output_line_command): Prototype them here.
4272 * cpplib.h (enum cpp_token): Add CPP_MACRO.
4273 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4274 quote_string, output_line_command): Remove.
4276 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
4278 * stmt.c (expand_end_case): RANGE may be signed, and when checking
4279 whether it is too large we must also verify that it isn't negative.
4281 2000-03-13 Jakub Jelinek <jakub@redhat.com>
4283 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4284 (movsi_zero_liveg0): Remove.
4285 (movsf_insn_novis_liveg0): Remove.
4287 (negsi2_not_liveg0): Rename to negsi2.
4288 (one_cmplsi2): Remove.
4289 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4290 (one_cmplsi2_liveg0): Remove.
4291 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4292 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4293 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4294 (PREDICATE_CODES): Remove zero_operand.
4295 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4296 TARGET_BROKEN_SAVERESTORE.
4297 (zero_operand): Remove.
4298 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4299 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4301 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4302 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4303 TARGET_BROKEN_SAVERESTORE): Remove.
4304 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4306 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4308 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4311 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4313 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4315 * cpplib.c (do_pragma_implementation): Fix off-by-one error
4316 truncating a string. Don't assume tokens are nul terminated.
4317 Problem noted by Andreas Jaeger <aj@suse.de>
4319 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4321 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4322 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4323 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4325 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
4327 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4328 STRUCTURE_SIZE_BOUNDARY.
4330 2000-03-13 Mark Mitchell <mark@codesourcery.com>
4332 * tree.h (record_layout_info_s): New structure.
4333 (record_layout_info): New type.
4334 (new_record_layout_info): New function.
4335 (layout_field): Likewise.
4336 (finish_record_layout): Likewise.
4337 * stor-layout.c (layout_record): Remove.
4338 (new_record_layout_info): New function.
4339 (layout_field): New function, broken out from layout_record.
4340 (finalize_record_size): Likewise.
4341 (compute_record_mode): Likewise.
4342 (finalize_type_size): New function, broken out from layout_type.
4343 (finish_record_layout): Likewise.
4344 (layout_type): Use them.
4346 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4348 * cpphash.c: Don't include version.h.
4349 (special_symbol) [case T_VERSION]: Look for the string in
4350 hp->value.cpval; don't use version_string.
4351 * cppinit.c (initialize_builtins): Set hp->value.cpval for
4352 __VERSION__ to version_string.
4353 * Makefile.in (cpphash.o): Update deps.
4355 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4357 Convert cpplib to use libiberty/hashtab.c.
4359 * cpplib.h (struct cpp_reader): Make hashtab and
4360 all_include_files of type 'struct htab *'. Delete HASHSIZE
4361 and ALL_INCLUDE_HASHSIZE macros.
4363 * cpphash.h: Update prototypes.
4364 (struct hashnode): Remove next, prev, and bucket_hdr members.
4365 Make length a size_t. Add hash member.
4366 (struct ihash): Remove next member. Add hash member. Make
4367 name a flexible array member.
4369 * cppfiles.c: Include hashtab.h.
4370 (include_hash): Delete.
4371 (IHASHSIZE): New macro.
4372 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4373 (cpp_included): Do the hash lookup here.
4374 (_cpp_find_include_file): Rewrite.
4375 (cpp_read_file): Put the "fake" hash entry into the hash
4376 table. Honor the control_macro, if it turns out we've seen
4377 the file before. Don't push the buffer here.
4378 (_cpp_read_include_file): Push the buffer here.
4379 (OMODES): New macro. Use it whenever we call open(2).
4381 * cpphash.c: Include hashtab.h.
4382 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4383 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4384 _cpp_lookup_slot): New functions.
4385 (HASHSIZE): new macro.
4386 (hashf, _cpp_install, _cpp_delete_macro): Delete.
4387 (_cpp_lookup): Use hashtab.h routines.
4389 * cppinit.c: Include hashtab.h.
4390 (cpp_reader_init): Call _cpp_init_macro_hash and
4391 _cpp_init_include_hash. Don't allocate hashtab directly.
4392 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4393 pfile->all_include_files.
4394 (initialize_builtins): Use _cpp_make_hashnode and
4395 htab_find_slot to add hash entries.
4396 (cpp_finish): Just call _cpp_dump_macro_hash.
4397 * cpplib.c: Include hashtab.h.
4398 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4399 create hash entries.
4400 (do_pragma_poison, do_assert): Likewise.
4401 (do_include): Don't push the buffer here. Don't increment
4402 system_include_depth unless _cpp_read_include_file succeeds.
4403 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4405 (do_pragma_implementation): Use alloca to create copy.
4407 * Makefile.in: Update dependencies.
4409 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4411 * cppinit.c (cl_directive_handler): More K&R fixing.
4413 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
4415 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4417 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4419 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4421 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4422 Change from char[] to macros.
4424 2000-03-12 Neil Booth <NeilB@earthling.net>
4426 * cppinit.c (cpp_start_read): Update indirect function
4429 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
4431 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4434 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4435 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4437 2000-03-11 Neil Booth <NeilB@earthling.net>
4439 * cppinit.c (struct pending option): Replace undef with a
4440 pointer to a directive handling routine.
4441 (struct cpp_pending): Replace separate assert_ and define_
4442 lists with one directive_ list.
4443 (new_pending_define): Rename new_pending_directive. Extra
4444 argument is the directive's handling routine.
4445 (handle_option): Update to use new_pending_directive.
4447 2000-03-11 Neil Booth <NeilB@earthling.net>
4449 * cppfiles.c (file_cleanup, _cpp_find_include_file,
4450 remap_filename, _cpp_read_include_file, actual_directory,
4451 hack_vms_include_specification): Replace bcopy(), index() etc
4452 calls. Add casts to some allocations. Make some variables
4453 pointers to const [unsigned] char.
4454 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4455 collect_formal_parameters): Similarly.
4456 * cppinit.c (struct pending_option, append_include_chain,
4457 cpp_options_init, cpp_reader_init, initialize_standard_includes,
4458 cpp_start_read, new_pending_define, handle_option): Similarly.
4459 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4460 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4461 do_pragma_implementation, detect_if_not_defined,
4462 do_ifdef, skip_if_group, cpp_get_token, parse_string,
4463 do_assert, do_unassert): Similarly.
4464 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
4465 function prototypes.
4466 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
4468 2000-03-10 Richard Henderson <rth@cygnus.com>
4470 * builtins.c (expand_builtin_strlen): Revert last change.
4471 Use emit_insn_before if we're at the beginning of a sequence.
4473 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
4475 * builtins.c (expand_builtin_strlen): Make sure that we have something
4476 at the beginning of the sequence.
4478 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4481 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4483 2000-03-10 Richard Henderson <rth@cygnus.com>
4485 * except.c (can_throw): Use INTVAL on a CONST_INT.
4486 (reachable_handlers): Likewise.
4487 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4489 2000-03-10 Andreas Jaeger <aj@suse.de>
4491 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4492 MD_STARTFILE_PREFIX since those are not needed on linux.
4493 (ASM_FILE_START): New, from mips/gnu.h.
4495 2000-03-09 Richard Henderson <rth@cygnus.com>
4496 Alex Samuel <samuel@codesourcery.com> and others
4498 * Makefile.in (ssa.o): New rule.
4500 (STAGESTUFF): Add *.ssa and *.ussa.
4501 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4502 * rtl.def (PHI): New RTL expression.
4503 * rtl.h (clear_log_links): New declaration.
4504 (convert_to_ssa): Likewise.
4505 (convert_from_ssa): Likewise.
4506 * flow.c (split_edge): If the entry node falls through to the
4507 split edge's source block, split the entry edge.
4508 (clear_log_links): New function.
4509 * toplev.c (ssa_dump): New variable.
4510 (flag_ssa): Likewise.
4511 (f_options): Add "ssa".
4512 (compile_file): Create SSA dump files.
4513 (rest_of_compilation): Go to and from SSA if enabled.
4514 (decide_d_option): Handle -de for SSA dump files.
4517 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
4519 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4522 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
4524 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4526 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
4528 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4529 (MD_STARTFILE_PREFIX_1): New macro.
4531 2000-03-09 Robert Lipe <robertl@sco.com>
4533 * config/ia64/ia64.c: Include system.h.
4535 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
4537 * except.c (nothrow_function_p): If -fno-exceptions, just return.
4538 (init_eh_nesting_info): Likewise.
4540 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4541 (TREE_NOTHROW): Rename from TREE_RAISES.
4542 * toplev.c (rest_of_compilation): Set it.
4543 * print-tree.c (print_node): Adjust.
4544 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4545 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4546 * calls.c (emit_call_1): Add 'nothrow' parm. Add
4547 REG_EH_REGION note as appropriate.
4548 (libfunc_nothrow): New fn.
4549 (emit_library_call, emit_library_call_value): Use it.
4550 (expand_call): Check TREE_NOTHROW.
4552 * varasm.c (make_decl_rtl): Skip initial '*' when setting
4553 DECL_ASSEMBLER_NAME.
4555 2000-03-09 Andreas Jaeger <aj@suse.de>
4557 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4558 (TARGET_MEM_FUNCTIONS): Define.
4560 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
4562 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4564 * except.c (can_throw): See through a SEQUENCE.
4565 (nothrow_function_p): New fn.
4566 * except.h: Declare it.
4567 * function.c (current_function_nothrow): New var.
4568 (prepare_function_start): Initialize it.
4569 * output.h: Declare it.
4570 * toplev.c (rest_of_compilation): Set it.
4571 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4573 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
4575 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4576 match. (cpp_compare_defs): Count the nul separator when
4577 advancing over argument names.
4579 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
4581 * recog.c (preprocess_constraints): Matching constraints affect
4582 same alternative/different operand, not same operand/different
4585 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4586 register and a constant specially.
4588 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4590 * libgcc2.h: New file.
4591 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4593 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
4595 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4596 * configure: Regenerate.
4599 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4601 * Makefile.in (LIBCPP_DEPS): New macro.
4602 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4604 * cpperror.c: Include cpphash.h.
4605 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
4607 (lex): Don't use CPP_WARN_UNDEF.
4608 (_cpp_parse_expr): Return an int, the truth value.
4609 * cppfiles.c: Include cpphash.h.
4610 (_cpp_merge_include_chains): Move to cppinit.c and make static.
4611 * cppinit.c (include_defaults_array): Disentangle.
4612 (cpp_cleanup): Don't free the if stack here.
4613 (cpp_finish): Pop off all buffers, not just one.
4614 * cpplib.c (eval_if_expr): Return int.
4615 (do_xifdef): Rename do_ifdef.
4616 (handle_directive): Don't use CPP_PREPROCESSED.
4617 (cpp_get_token): Don't use CPP_C89.
4618 * fix-header.c: Don't use CPP_OPTIONS.
4620 * cpplib.h: Move U_CHAR, enum node_type, struct
4621 file_name_list, struct ihash, is_idchar, is_idstart,
4622 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4623 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4624 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4625 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4626 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4627 of _cpp_simplify_pathname, _cpp_find_include_file,
4628 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4629 Move struct if_stack to cpplib.c. Move struct cpp_pending to
4631 Change all uses of U_CHAR to be unsigned char instead.
4632 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4634 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
4636 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4637 (dwarf2out_begin_prologue): Set it.
4638 (output_call_frame_info): Don't emit EH unwind info for leaves.
4640 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4641 can occur outside of an EH region.
4642 * except.c: Correct comments about rethrow behavior.
4643 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4645 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
4647 * flow.c (make_edges): Always call make_eh_edge for calls.
4649 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4651 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4652 (struct cpp_buffer): Remove fname and underflow fields.
4653 (struct cpp_reader): Remove get_token field.
4654 (struct include_hash): Rename to struct ihash. Add typedef to
4656 (struct if_stack): Remove fname field.
4657 (IF_STACK_FRAME): Rename to IF_STACK.
4659 * cpperror.c (print_containing_files): Trust that there are no
4660 macro buffers below the top file buffer.
4661 * cppfiles.c: Replace all references to 'struct include_hash'
4662 with 'IHASH'. Rename initialize_input_buffer to
4663 init_input_buffer. Don't set or reference cpp_buffer->fname,
4664 use buffer->ihash->name instead.
4665 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
4666 not CPP_NULL_BUFFER.
4667 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4668 IF_STACK_FRAME, IHASH not struct include_hash.
4669 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
4670 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
4671 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
4672 references to cpp_buffer->fname (delete entirely, or use
4673 ->ihash->name instead) and IF_STACK->fname.
4674 (cpp_push_buffer): Don't set new->underflow.
4675 (do_include): Use cpp_file_buffer.
4677 * cpphash.c (collect_formal_parameters): Remove duplicate
4678 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
4679 used as a macro argument name. Don't append "..." to namebuf
4680 for varargs macros. After we're done scanning, go through
4681 namebuf and make it NUL separated, not comma separated.
4682 (_cpp_compare_defs): Remove register tag from variables.
4683 Expect defn->argnames to be NUL separated.
4684 (_cpp_dump_definition): Expect defn->argnames to be NUL
4685 separated and in forward order.
4686 * cpphash.h: Update documentation of argnames field.
4688 2000-03-08 Richard Henderson <rth@cygnus.com>
4690 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4691 to fail. Don't pre-expand the source operand.
4693 * i386.md (strlensi): Initialize eoschar and align before use.
4695 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
4697 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4698 CONSTRUCTOR element.
4700 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
4702 * mips.c (mips_expand_prologue): If the last
4703 named argument is the vararg marker "va_list", treat it as
4704 an unnamed argument.
4706 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
4708 * dbxout.c (dbxout_parms): When correcting for promoted
4709 big-endian parameters, use the mode of the DECL_RTL rather
4710 than UNITS_PER_WORD.
4712 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
4714 * c-common.h (make_fname_decl): Declare.
4715 * c-common.c (make_fname_decl): Define.
4716 (declare_hidden_char_array): Remove.
4717 (declare_function_name): Use make_fname_decl.
4718 * c-decl.c (c_make_fname_decl): New function.
4719 (init_decl_processing): Set make_fname_decl.
4721 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
4723 * cccp.c (handle_directive): Initialize backslash_newlines_p.
4725 2000-03-07 Philipp Thomas <pthomas@suse.de>
4727 * po/POTFILES.in: Remove cppalloc.c from file list.
4729 2000-03-07 Steve Chamberlain <sac@pobox.com>
4731 * pj.c (pj_expand_prologue): current_function->args_info is
4732 now current_function_args_info.
4734 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4735 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4736 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4738 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4740 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4741 output as hexadecimal rather than the default octal.
4743 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
4745 * cpphash.c (special_symbol): Fix thinko in previous commit.
4747 2000-03-07 Neil Booth <NeilB@earthling.net>
4749 * cppexp.c (struct operation, left_shift, right_shift,
4750 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4751 "int"s to "unsigned int"s.
4752 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4754 * cpplib.h: Update for above.
4755 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4756 returned from allocations.
4758 * cppinit.c (opt_comp, parse_options): New functions.
4759 (handle_option): Use parse_option to parse a single command
4760 line option, that possibly takes an argument.
4761 (cpp_handle_options): Sort the array of command line options on
4762 first invocation (non-ASCII hosts only).
4763 (print_help): Update.
4765 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
4767 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4768 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
4770 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4772 * cppinit.c (cpp_cleanup): Free imp->nshort also.
4774 * cpperror.c (cpp_print_containing_files,
4775 cpp_print_file_and_line, v_cpp_message): Rename to
4776 print_containing_files, print_file_and_line, and v_message.
4777 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4778 to _cpp_parse_expr, parse_escape, and lex.
4779 (parse_charconst): Remove broken multibyte support.
4780 * cppfiles.c (include_hash): Make static.
4781 (cpp_included): New function.
4782 (merge_include_chains, find_include_file, finclude,
4783 simplify_pathname): Rename to _cpp_merge_include_chains,
4784 _cpp_find_include_file, _cpp_read_include_file, and
4785 _cpp_simplify_pathname.
4786 * cpphash.c (cpp_lookup, free_definition, delete_macro,
4787 cpp_install, create_definition, macroexpand, compare_defs,
4788 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4789 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4790 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4791 * cppinit.c (cpp_handle_option): Rename to handle_option, make
4793 * cpplib.c: Remove extern prototype of cpp_parse_expr.
4795 * cpphash.h: Update prototypes.
4796 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
4798 2000-03-07 Andrew Haley <aph@cygnus.com>
4800 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4801 PTRDIFF_TYPE should be based solely on Pmode.
4804 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4806 * rtl.h (rtunion_def): Constify member `rtstr'.
4807 (emit_line_note_after, emit_line_note, emit_line_note_force,
4808 emit_note, decode_asm_operands): Constify.
4810 * cse.c (canon_hash): Likewise.
4812 * dbxout.c (dbxout_block): Likewise.
4814 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
4815 v_warning_for_asm): Likewise.
4817 * dwarfout.c (function_start_label): Likewise.
4819 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
4820 emit_line_note_force): Likewise.
4822 * final.c (last_filename, asm_insn_count, final_scan_insn,
4823 output_source_line): Likewise.
4825 * function.h (struct emit_status): Likewise.
4827 * gcse.c (hash_expr_1): Likewise.
4829 * genattr.c (gen_attr, main): Likewise.
4831 * genattrtab.c (struct function_unit, current_alternative_string,
4832 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
4833 attr_numeral, check_attr_test, check_attr_value,
4834 convert_set_attr_alternative, convert_set_attr,
4835 compute_alternative_mask, simplify_by_exploding, gen_attr,
4836 gen_unit): Likewise.
4838 * genflags.c (gen_insn): Likewise.
4840 * gengenrtl.c (type_from_format): Likewise.
4842 * genopinit.c (gen_insn): Likewise.
4844 * genoutput.c (n_occurrences, process_template, process_template):
4847 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4850 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4853 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
4854 ggc_set_mark, ggc_get_size): Likewise.
4856 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
4858 * optabs.c (init_one_libfunc): Likewise.
4860 * output.h (assemble_start_function): Likewise.
4862 * recog.c (decode_asm_operands): Likewise.
4864 * toplev.c (rest_of_compilation): Likewise.
4866 * tree.h (emit_line_note_after, emit_line_note,
4867 emit_line_note_force): Likewise.
4869 * varasm.c (asm_output_bss, asm_output_aligned_bss,
4870 asm_emit_uninitialised, assemble_start_function,
4871 assemble_variable, const_hash, compare_constant_1,
4872 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
4874 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
4876 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
4878 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
4880 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
4882 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
4883 arm_dllimport_name_p): Likewise.
4885 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
4888 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
4890 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4892 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
4893 arm_mark_dllexport, arm_mark_dllimport,
4894 arm_pe_encode_section_info): Likewise.
4896 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
4897 ASM_FINISH_DECLARE_OBJECT): Likewise.
4899 * arm/thumb.c (thumb_function_prologue): Likewise.
4901 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
4903 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4905 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
4907 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
4909 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4911 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4913 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
4914 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
4916 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
4918 * i386/i386.c (asm_output_function_prefix): Likewise.
4920 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
4922 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4924 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
4926 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
4927 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
4928 ASM_OUTPUT_SECTION_NAME): Likewise.
4930 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
4932 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
4934 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
4936 * m32r/m32r.c (m32r_encode_section_info): Likewise.
4938 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4940 * mcore/mcore.c (mcore_encode_section_info): Likewise.
4942 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4944 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4946 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4948 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
4950 * mips/mips.md (movdi, movsi): Likewise.
4952 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4954 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4956 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4958 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
4959 ASM_OUTPUT_ASCII): Likewise.
4961 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
4962 output_mi_thunk, output_toc): Likewise.
4964 * rs6000/rs6000.md (movsi): Likewise.
4966 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
4968 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
4970 * v850/v850.c (print_operand, print_operand_address,
4971 v850_encode_data_area): Likewise.
4973 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
4975 * config/mips/mips.md (zero_extendsidi2): Always force operand
4976 one to memory for mips16.
4978 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4980 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
4981 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
4982 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
4983 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
4984 (min_precision): Result is unsigned.
4985 (add_double, neg_double, mul_double): Low word is unsigned.
4986 (lshift_double, rshift_double, lrotate_double): Likewise.
4987 (rrotate_double, div_and_round_double): Likewise.
4988 (tree_floor_log2, compare_tree_int): New functions.
4989 (preserve_rtl_expr_temps): New declaration.
4990 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
4991 (decl_attributes): Use tree_log2 to find alignment.
4992 Check for TREE_INT_CST_HIGH for format args.
4993 (min_precision): Now unsigned.
4994 Use tree_floor_log2.
4995 (truthvalue_conversion): Delete long-disabled code.
4996 * c-decl.c (finish_struct): Clean up tests on field width.
4997 (finish_function): Use compare_tree_int.
4998 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
4999 * c-typeck.c (comptypes): Use tree_int_cst_equal.
5000 (default_conversion, digest_init): Use compare_tree_int.
5001 (build_binary_op): Use integer_all_onesp and compare_tree_int.
5002 Fix type errors in forming masks.
5003 * calls.c (initialize_argument_information): Use compare_tree_int.
5004 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5005 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5006 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5007 (store_field): Use compare_tree_int.
5008 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5009 (expand_expr, case ARRAY_REF): Use compare_tree_int.
5010 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5011 (do_store_flag): Use compare_tree_int.
5012 * fold-const.c (encode, decode): Low part is always unsigned.
5013 (force_fit_type, add_double, neg_double, mul_double): Likewise.
5014 (lshift_double, rshift_double, lrotate_double): Likewise.
5015 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5016 (fold_convert): Use compare_tree_int.
5017 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5018 (invert_truthvalue, case INTEGER_CST): Likewise.
5019 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5020 * mkdeps.c (deps_dummy_targets): Make I unsigned.
5021 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5022 (lshift_double, rshift_double, lrotate_double, rrotate_double):
5024 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5025 (expand_end_case): Use compare_tree_int.
5026 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5027 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5028 (layout_decl): Likewise.
5029 (layout_record, layout_union): Make sizes unsigned.
5030 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5031 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5032 * tree.c (struct type_hash): hashcode is unsigned.
5033 (build_type_attribute_variant, type_hash_list): Likewise.
5034 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5035 (attribute_hash_list, build_array_type, build_method_type): Likewise.
5036 (build_complex_type): Likewise.
5037 (real_value_from_int_cst): Remove unneeded casts.
5038 (integer_all_onesp): Add casts.
5039 (tree_floor_log2, compare_tree_int): New functions.
5040 (build_index_type): Use tree_int_cst_sgn.
5041 * varasm.c (assemble_variable): Use compare_tree_int.
5043 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
5045 * cpphash.c (collect_expansion): Also catch ## at start of macro.
5047 * varasm.c (make_decl_rtl): Don't add a number to members of
5049 (make_function_rtl): Likewise.
5051 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5053 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5054 patch from 2000-01-28.
5056 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
5058 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5059 filled with an insn from the jump target.
5061 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5063 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5064 (c4x_external_ref): Likewise.
5065 * config/c4x/c4x.c (struct name_list): Likewise.
5067 1999-12-16 Ben Collins <bcollins@debian.org>
5069 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5070 argument to genmultilib.
5071 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5072 the contents into the multilib.h header.
5073 * gcc.c: Declare multilib_exclusions for the specs file.
5074 (set_multilib_dir): Use it.
5075 (print_multilib_info): Likewise.
5076 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5077 to pass to genmultilib.
5079 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5081 * builtins.c (built_in_class_names, built_in_names): Constify a
5084 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5086 (_mcleanup): Ensure value matches format specifier in sprintf.
5088 * cpphash.c (special_symbol): Don't needlessly cast away
5091 * cppinit.c (base_name): Delete unused prototype.
5093 * mkdeps.c (deps_init): Make definition K&R safe.
5095 * tree.h (built_in_class_names, built_in_names): Constify a
5098 2000-03-06 Jakub Jelinek <jakub@redhat.com>
5100 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5101 floating point instructions for epilogue delay.
5103 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5104 to gas if it supports .register pseudo.
5106 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5107 LONG_DOUBLE_TYPE_SIZE if not defined.
5108 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5109 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5111 * gengenrtl.c: Likewise.
5112 * print-rtl.c: Likewise.
5114 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5115 MASK_LONG_DOUBLE_128.
5116 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5117 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5118 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5119 (SUBTARGET_SWITCHES): Define.
5120 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5121 with -mlong-double-128.
5122 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5123 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5124 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5125 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5126 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5127 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5128 with -mlong-double-128.
5129 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5130 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5131 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5132 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5133 TARGET_LONG_DOUBLE_128): Define.
5134 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5135 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5136 long double on TARGET_ARCH64.
5138 2000-03-06 Mark Mitchell <mark@codesourcery.com>
5140 * function.c (free_temps_for_rtl_expr): Don't free slots
5141 that have been pushed into a higher level.
5144 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5146 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5148 * basic-block.h (ALLOCA_REG_SET): Remove.
5149 (INITIALIZE_REG_SET): New macro.
5150 * flow.c (update_life_info): Use it.
5151 (calculate_global_regs_live): Likewise.
5152 (propagate_block): Likewise.
5153 * global.c (build_insn_chain): Likewise.
5154 * haifa-sched.c (schedule_region): Likewise.
5156 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
5158 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5159 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5160 (DWARF_ARANGES_PAD_SIZE): New define.
5161 (output_aranges): Use it to pad the address range header.
5162 (DWARF_ROUND): Fix for non power of 2 rounding.
5164 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
5166 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5168 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5170 * tree.def (RTL_EXPR): Update documentation.
5171 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5172 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5173 * function.c (preserve_rtl_expr_temp): New function.
5174 (preserve_rtl_expr_temps): Likewise.
5175 (preserve_rtl_expr_result): Use it.
5178 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5180 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
5182 * regmove.c (copy_src_to_dest) Do not create src->dest move
5183 for unchanging destination.
5185 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5187 * function.h (struct sequence_stack): Remove rtl_expr.
5188 (struct emit_staus): Likewise.
5189 (seq_rtl_expr): Remove.
5190 * tree.h (free_temps_for_rtl_expr): Don't declare.
5191 (start_sequence_for_rtl_expr): Likewise.
5192 * rtl.h (preserve_rtl_expr_result): Likewise.
5193 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5194 (start_sequence_for_rtl_expr): Remove.
5195 (push_topmost_sequence): Don't save sequence_rtl_expr.
5196 (pop_topmost_sequence): Remove comment about not restoring it.
5197 (end_sequence): Don't set seq_rtl_expr.
5198 (init_emit): Don't initialize it.
5199 (mark_sequence_stack): Don't mark it.
5200 (mark_emit_status): Likewise.
5201 * except.c (protect_with_terminate): Use
5202 start_sequence_for_rtl_expr, not start_sequence.
5203 * expr.c (expand_expr, case RTL_EXPR): Don't call
5204 preserve_rtl_expr_result or free_temps_for_rtl_expr.
5205 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5206 (preserve_rtl_expr_result): Remove.
5207 (free_temps_for_rtl_expr): Likewise.
5208 (pop_temp_slots): Likewise.
5209 (mark_temp_slot): Don't mark the rtl_expr.
5210 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5211 start_sequence_for_rtl_expr.
5213 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
5215 * mkdeps.c, mkdeps.h: New files.
5216 * po/POTFILES.in: Add them.
5217 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5218 (cpplib.o, cppinit.o): Depend on mkdeps.h.
5219 (mkdeps.o): New target.
5221 * cppfiles.c: Delete deps_output.
5222 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
5223 OBJECT_SUFFIX, and base_name.
5224 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
5226 (initialize_dependency_output): Use deps_init,
5227 deps_add_target, deps_calc_target, and deps_add_dep. Remove
5228 all the unnecessary string bashing.
5229 (cpp_finish): Use deps_write. Remove an unnecessary nesting
5231 * cpplib.c (do_include): Use deps_add_dep.
5232 * cpplib.h (struct cpp_reader): Replace deps_buffer,
5233 deps_allocated_size, deps_size, deps_column members with
5234 single pointer to a struct deps. Delete prototype of
5237 * cppinit.c: Fix thinko in previous patch.
5239 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5241 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5242 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5243 (mode_for_size_tree): New function.
5244 (layout_decl, layout_type): Call it and clean up BLKmode checks.
5245 * tree.h (mode_for_size_tree): New declaration.
5247 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5249 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
5251 * stmt.c (is_body_block): Move...
5252 * dwarfout.c, dwarf2out.c: ...from here.
5253 * tree.h: Declare it.
5254 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5255 * final.c (final_start_function): Do call remove_unnecessary_notes
5258 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5260 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5262 * cpplib.h (_dollar_ok): New macro.
5263 (is_idchar, is_idstart): Use it.
5264 (IStable): Rename to _cpp_IStable. Declare it const if
5265 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
5266 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5267 is_space): Update for renamed IStable.
5269 * cppinit.c: Delete all references to FAKE_CONST and CAT
5270 macros. Define init_IStable as empty macro if gcc >=2.7 or
5271 C99. Change TABLE() to ISTABLE and hardcode name of table.
5272 (cpp_start_read): Don't change the IStable based on
5275 * cpphash.c (unsafe_chars): Add pfile argument. All callers
5276 changed. Handle '$' for char1 correctly.
5277 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5279 * cppexp.c (tokentab2): Make const.
5280 (cpp_lex): Make toktab const.
5281 * cppinit.c (include_defaults_array): Make const.
5282 (initialize_standard_includes): Make default_include const.
5284 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5286 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5287 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5288 (gen_decl_die): Likewise.
5289 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5290 (output_decl): Likewise.
5292 * varasm.c (make_function_rtl): If we change the name used in the
5293 rtl, update DECL_ASSEMBLER_NAME accordingly.
5294 (make_decl_rtl): Likewise.
5296 * toplev.c (rest_of_compilation): Tweak formatting.
5298 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5299 remove_unnecessary_notes.
5300 (debug_ignore_block): New fn.
5301 * toplev.h: Declare it.
5302 * emit-rtl.c (remove_unncessary_notes): Call it.
5303 * dwarf2out.c (dwarf2out_ignore_block): New fn.
5304 * dwarf2out.h: Declare it.
5305 * final.c (final_start_function): Don't call remove_unnecessary_notes
5306 if we did insn scheduling.
5308 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5310 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5311 * cpplib.h: Delete SET_CPP_PEDANTIC.
5313 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5315 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5316 result is a RECORD_TYPE.
5318 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
5320 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5322 2000-03-03 Richard Henderson <rth@cygnus.com>
5324 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5325 addition over compliments over shifts.
5327 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5329 * reload1.c (reload_combine_note_use): Handle return register USEs.
5330 REG case: Handle multi-hard-register hard regs.
5332 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5334 * md.texi: Document use of '*' in insn pattern name.
5336 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5338 * calls.c (special_function_p): operator new may not be malloc-like.
5340 * gcse.c (dump_hash_table): Really fix error in last change.
5342 2000-03-02 Denis Chertykov <denisc@overta.ru>
5344 * avr.c (print_operand): Use print_operand_address instead of
5346 * avr/libgcc.S: Cleanup code.
5348 2000-03-02 Richard Henderson <rth@cygnus.com>
5350 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5352 2000-03-02 Mark Mitchell <mark@codesourcery.com>
5354 * tree.h (TYPE_ALIGN_UNIT): New macro.
5356 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
5358 * i386.c: (constant_call_address_operand): Reject CONST_INT.
5360 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
5362 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5364 (SET_CPP_PEDANTIC): New macro.
5365 * cpplib.c (do_include): Don't bother checking system_header_p.
5366 (do_warning, do_ident, do_assert, do_unassert): Likewise.
5367 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5369 * function.h (struct expr_status): Add x_arg_space_so_far.
5370 (arg_space_so_far): New macro.
5371 * expr.c (init_expr): Initialize it.
5372 * calls.c (emit_call_1): Reset it.
5373 (compute_argument_block_size, expand_call): Use it.
5374 (expand_call, store_one_arg): Increment it.
5376 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5378 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5381 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
5383 * cppfiles.c (cpp_read_file): New function.
5385 * cpphash.c (collect_expansion): Make sure to reset last_token
5386 to NORM when we hit a string. Handle trailing whitespace
5387 properly when the expansion is empty.
5388 (create_definition): Disable line commands while parsing the
5390 (dump_definition): If pfile->lineno == 0, output a line
5391 command ahead of the dump, and add a trailing newline.
5393 * cppinit.c (append_include_chain): Add fifth argument, which
5394 indicates whether or not system headers are C++ aware.
5395 (initialize_standard_includes): New function,
5396 broken out of read_and_prescan. Pass 'cxx_aware' value from
5397 the include_defaults_array on to append_include_chain.
5398 (dump_special_to_buffer): Const-ify char array.
5399 (builtin_array): Don't dump __BASE_FILE__.
5400 (cpp_start_read): Use cpp_read_file. Reorder code for
5401 clarity. Don't output line commands here for -D/-A/-U
5402 switches. Don't call deps_output for files included with
5403 -include or -imacros.
5405 * cpplib.c (do_define): Don't pay any attention to the second
5407 (cpp_expand_to_buffer): Disable line commands while scanning.
5408 (output_line_command): Work in the file buffer.
5409 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5410 Fix formatting of comments. Prototype cpp_read_file.
5412 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5414 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5415 reference the language-equivalent of sizetype.
5416 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5417 * fold-const.c (size_binop, size_diffop): Put back checks.
5418 * gcse.c (dump_hash_table): Fix minor error in last change.
5419 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5420 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5423 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
5425 * calls.c (expand_call) Do not attempt to combine stack adjustments
5426 with inhibit_defer_pop set.
5428 2000-03-01 Mark Mitchell <mark@codesourcery.com>
5430 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5431 the DECL_SIZE for a FIELD_DECL.
5433 2000-03-01 Bruce Korb <bkorb@gnu.org>
5435 * fixinc/inclhack.tpl: remove unused symlinks
5436 * fixinc/README: GCC Maintainer info
5437 * fixinc/inclhack.sh: regen
5438 * fixinc/fixincl.sh: regen
5440 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
5442 * cpphash.c (collect_expansion): Trim trailing white space
5443 from macro definitions, but don't go past the last insertion
5446 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
5448 * i386.md (mulqi3): New pattern.
5450 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
5452 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5454 (struct cpp_reader): Add parsing_if_directive and
5455 parsing_define_directive flags.
5456 (struct cpp_options): Remove output_conditionals flag.
5457 (check_macro_name): Delete prototype.
5459 * cpphash.h (struct macrodef): Delete.
5460 (struct reflist): Separate from struct definition.
5461 (struct definition): Remove unused fields. Add column number.
5462 (create_definition): Returns a DEFINITION *. Takes a
5463 cpp_reader * and an int.
5465 * cpphash.c (SKIP_WHITE_SPACE): Delete.
5466 (PEEKC): Copy defn from cpplib.c.
5467 (rest_extension, REST_EXTENSION_LENGTH): Delete.
5469 (struct arglist): Simplify.
5470 (collect_expansion): Rewrite. Get tokens by calling
5471 cpp_get_token. Add more error checking.
5472 (collect_formal_parameters): New function, broken out of
5473 create_definition and reworked to use get_directive_token.
5474 (create_definition): All real work is now in collect_expansion
5475 and collect_formal_parameters. do_define handles finding the
5476 macro name. Return a DEFINITION, not a MACRODEF.
5477 (macroexpand): Replace bcopy with memcpy throughout. Replace
5478 character-at-a-time copy loop with memcpy and pointer increments.
5479 (compare-defs): d1->argnames / d2->argnames might be null.
5481 * cpplib.c (copy_rest_of_line): Delete function.
5482 (skip_rest_of_line): Do all the work ourselves.
5483 (skip_string): New function.
5484 (parse_string): Use skip_string.
5485 (get_macro_name): New function.
5486 (check_macro_name): Delete.
5487 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5488 (cpp_skip_hspace): Use CPP_BUMP_LINE.
5489 (handle_directive): ICE if we're called on a macro buffer.
5490 (do_define): Determine macro name and type (funlike/objlike)
5491 here. Expunge all uses of MACRODEF.
5492 (cpp_push_buffer): Set line_base to NULL.
5493 (do_undef, read_line_number): Don't worry about getting a POP token.
5494 (eval_if_expression): Set/reset parsing_if_directive around
5495 cpp_parse_expr. Don't clear only_seen_white.
5496 (skip_if_group): Remove output_conditionals logic. Use
5498 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5499 tokens under appropriate conditions.
5500 (cpp_unassert): Call do_unassert not do_assert. Oops.
5502 * cppexp.c (parse_defined): New function, break out of
5504 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5505 ourselves, with cpp_defined.
5506 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5508 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5509 * gcc.dg/strpaste-2.c: New.
5511 2000-02-29 Mark Mitchell <mark@codesourcery.com>
5513 * fold-const.c (size_binop): Don't asert inputs are the same and
5514 have TYPE_IS_SIZETYPE set.
5515 (size_diffop): Likewise.
5517 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
5519 * dwarfout.c (output_block): Output abstract blocks even if they
5520 don't have TREE_ASM_WRITTEN set.
5522 * calls.c (emit_library_call): Check for null REG.
5524 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
5526 * c-decl.c (current_function_decl): Move to toplev.c.
5527 (init_decl_processing): Don't add current_function_decl as a ggc
5529 * dbxout.c (dbxout_symbol): Change return type to int.
5530 (dbxout_symbol_location, dbxout_syms): Likewise.
5531 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5532 any locals. Use current_function_func_begin_label if set.
5533 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5534 * dwarf2out.c (dwarf2out_begin_prologue): Set
5535 current_function_func_begin_label.
5536 * final.c (final_start_function): Reset it.
5537 * toplev.c (current_function_decl): Define it here.
5538 (current_function_func_begin_label): New variable.
5539 (main): Add both as ggc roots.
5540 * tree.h (current_function_func_begin_label): Declare.
5542 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5544 * gcse.c: Cleanups throughout: mostly white-space, but also
5545 some minor rearrangement of code.
5547 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
5549 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5550 returns a PARALLEL. Use emit_group_load and use_group_regs
5552 (emit_library_call_value): Similarly.
5554 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5555 * pa/quadlib.asm: Remove.
5556 * pa/quadlib.c: New file.
5558 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5559 * configure: Rebuilt.
5561 2000-02-29 Philip Blundell <pb@futuretv.com>
5563 * config/arm/conix-elf.h: New file.
5564 * configure.in (arm*-*-conix*): New configuration.
5565 * configure: Regenerate.
5567 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
5569 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5570 don't have TREE_ASM_WRITTEN set.
5572 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5574 * Eliminate DECL_FIELD_SIZE.
5575 * builtins.c (built_in_class_names, built_in_names): New variables.
5576 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5577 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5578 DECL_SIZE, not DECL_FIELD_SIZE.
5579 * print-tree.c (print_node): Remove code that prints extra blank
5580 lines in some cases.
5581 Properly handle inline and builtin function cases.
5582 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5583 * tree.h (built_in_class_named, built_in_names): New declarations.
5584 (union tree_decl): Rename internal unions to u1 and u2 and change
5585 some of their components.
5586 Add new field built_in_class.
5587 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5588 Reflect above changes.
5589 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5590 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5591 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5592 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5594 2000-02-28 Dmitri Makarov <dim@windriver.com>
5596 * extend.texi: Document ARM's support for long/short calls.
5598 * invoke.texi: Document ARM's -mlong-calls command line switch.
5600 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5601 (arm_encode_call_attribute): Add prototype.
5602 (arm_set_default_type_attribute): Add prototype.
5603 (arm_strip_name_encoding): Add prototype.
5605 * config/arm/arm.c (arm_init_cumulative_args): replace
5606 initialisation og 'long_calls' field with initialisation of
5607 'call_cookie' field.
5608 (enum arm_pragma_enum): New enum.
5609 (arm_pragma_long_calls): New static variable.
5610 (arm_process_pragma): Also process "#pragma long_calls_off".
5611 (arm_valid_type_attribute_p): Accept short_call attribute.
5612 (arm_comp_type_attributes): Check long/short call attributes.
5613 (arm_encode_call_attribute): New function: Encode long_call
5614 or short_call attribute in function name.
5615 (arm_set_default_type_attributes): New function: Assign
5616 default attributes to newly defined type.
5617 (current_file_function_operand): New function: Return true if
5618 the symbol is a function which has already been compiled.
5619 (arm_is_longcall_p): New function: Return true if the
5620 indicated function should be called via a long call.
5621 (arm_get_strip_length): New function. Returns number of
5622 prefix characters to be stripped from a function's name.
5623 (arm_strip_name_encoding): New function. Strip prefix characters
5624 from a function's name.
5626 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5628 (SHORT_CALL_FAG_CHAR): Define.
5629 (LONG_CALL_FAG_CHAR): Define.
5630 (ENCODED_SHORT_CALL_ATTR_P): Define.
5631 (ENCODED_LONG_CALL_ATTR_P): Define.
5632 (ARM_NAME_ENCODING_LENGTHS): Define.
5633 (STRIP_NAME_ENCODING): Define.
5634 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5635 (ARM_ENCODE_CALL_TYPE): Define.
5636 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5637 (ARM_DECLARE_FUNCTION_SIZE): Define.
5638 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5640 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5641 if a long call is needed.
5642 (call_value): Ditto.
5643 (call_symbol): Ditto.
5645 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5646 ARM_DECLARE_FUNCTION_SIZE.
5648 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5649 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5650 (ARM_STRIP_NAME_ENCODING): Undefine.
5651 (STRIP_NAME_ENCODING): Undefine.
5652 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5653 (ASM_DECLARE_FUNCTION_NAME): Ditto.
5654 (ASM_OUTPUT_COMMON): Ditto.
5655 (ASM_DECLARE_OBJECT_NAME): Ditto.
5657 * config/arm/pe.c (arm_dllexport_name_p): Check for
5659 (arm_dllimport_name_p): Ditto.
5660 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5661 (arm_mark_dllimport): Ditto.
5663 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5665 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5667 2000-02-28 Mark Mitchell <mark@codesourcery.com>
5669 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5671 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
5673 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5674 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5675 NO_BUILTIN_WCHAR_TYPE is not defined.
5676 (CPP_WCHAR_TYPE): Delete.
5677 * cccp.c (main): Don't change wchar_type if cplusplus.
5678 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5680 2000-02-28 Nick Clifton <nickc@cygnus.com>
5682 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5684 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
5686 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5687 (ASM_WEAKEN_LABEL): Define.
5689 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
5691 * expr.c (store_constructor): Do not emit USE.
5692 * rtl.h (stupid_life_analysis): Remove.
5694 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5696 * function.c (number_blocks): Reset next_block_index based on
5697 what debugging format is used, not what is defined.
5699 * lcm.c: Minor reformatting throughout.
5700 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5702 * toplev.c (rest_of_compilation): Account for time in
5703 optimize_mode_switching.
5705 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5706 if only marking labels.
5708 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
5710 * calls.c (expand_call): Attempt to combine stack adjustments with
5711 pending stack adjustments.
5713 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5715 * loop.c (reg_in_basic_block_p): Don't abort when falling through
5716 to the end of the function.
5718 2000-02-27 Mark Mitchell <mark@codesourcery.com>
5720 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5722 * final.c (next_block_index): Remove.
5723 (max_block_depth): Likewise.
5724 (pending_blocks): Likewise.
5725 (init_final): Don't initialize them.
5726 (final_start_function): Don't set next_block_index. Set up
5728 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5729 * function.h (number_blocks): New function.
5730 * function.c (get_block_vector): New function.
5731 (identify_blocks): Use it.
5732 (reorder_blocks): Set NOTE_BLOCK.
5733 (number_blocks): New function.
5734 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5735 * tree.h (BLOCK_NUMBER): New macro.
5736 (tree_block): Add block_num field.
5737 * dbxout.c (next_block_number): Remove.
5738 (dbxout_init): Don't set it.
5739 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5740 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
5742 * toplev.c (rest_of_compilation): Always call
5743 find_loop_tree_blocks. Fix indentation.
5744 * dwarf2out.c (next_block_number): Remove.
5745 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5746 to determine block numbers.
5747 (gen_inlined_subroutine_die): Likewise.
5748 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5749 (decls_for_scope): Don't increment next_block_number.
5750 * dwarfout.c (next_block_number): Remove.
5751 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5752 to determine block numbers.
5753 (output_inlined_subroutine_die): Likewise.
5754 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5755 (output_decls_for_scope): Don't increment next_block_number.
5756 * sdbout.c (next_block_number): Remove.
5757 (sdbout_block): Use BLOCK_NUMBER.
5758 (sdbout_begin_block): Simplify.
5759 * xcoffout.c (next_block_number): Remove.
5760 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5761 (xcoffout_begin_block): Don't set next_block_number.
5762 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5765 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5767 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5768 (expand_builtin_strcpy): Pass correct type to size_binop.
5769 (expand_builtin_strcmp): Likewise.
5770 Clean up conditional structure.
5771 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5772 (complete_array_type): Don't use size_binop for MAXINDEX.
5773 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5774 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5775 (c_alignof): Use size_one_node.
5776 (build_unary_op): Pass arg of proper type to size_binop.
5777 (really_start_incremental_init, push_init_level): Use sizetype for
5778 constructor{,_bit,_unfilled}_index.
5779 (pop_init_label, output_init_element): Likewise.
5780 (output_pending_init_elements, process_init_element): Likewise.
5781 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5782 * expr.c (store_expr): Use size_int.
5783 (store_constructor): Use proper types for size_binop args.
5784 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5785 (expand_expr_unaligned): Likewise.
5786 (string_contant): Return object of sizetype.
5787 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5788 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5789 (ARGS_SIZE_TREE): Pass proper types to size_binop.
5790 * fold-const.c (int_const_binop): Refine when size_int is called.
5791 (fold_convert): Likewise.
5792 (size_int_wide): Rework to take KIND as arg, only take low order
5793 bits, handle new sizetype_tab datatype, and chain entries in
5795 (size_int_type_wide): New function.
5796 (size_binop): Validate types of arguments.
5797 (ssize_binop): Deleted.
5798 (size_diffop): New function.
5799 (extract_muldiv): Only fold division into multiplication for sizetypes.
5800 * function.c (assign_parms): Use size_diffop and make sure
5801 VAR field is of ssizetype; also pass proper type to size_binop.
5802 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
5803 (round_down): Deleted from here.
5804 * store-layout.c (sizetype_tab): Now an array.
5805 (sizetype_set, early_root_list): New variables.
5806 (variable_size): Use size_one_node.
5807 (round_up): Pass proper type to size_binop.
5808 (round_down): Moved to here and corrected as above.
5809 (layout_record): Pass proper arg types to size_binop.
5810 (layout_type): Likewise.
5811 If sizetype_set is zero, record the type just laid out.
5812 (make_unsigned_type): Don't call set_sizetype;
5813 (make_signed_type): Likewise; also, call fixup_signed_type.
5814 (initialize_sizetypes): New function.
5815 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
5816 set name of bitsizetype to "bit_size_type".
5817 Fix up type of sizes of all types made before call.
5818 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
5819 * tree.c (fix_sizetype): Deleted.
5820 (build_common_tree_nodes): Call initialize_sizetypes.
5821 (build_common_tree_nodes_2): Don't call fix_sizetype.
5822 * tree.h (TYPE_IS_SIZETYPE): New macro.
5823 (initialize_sizetype): New declaration.
5824 (enum size_type_kind): New type.
5825 (struct sizetype_tab): Deleted.
5826 (sizetype_tab): Now array; adjust sizetype macros.
5827 (size_diffop, size_int_type_wide): New functions.
5828 (size_int_wide): Change number of args and type; access macros changed.
5829 (ssize_int, sbitsize_int): New macros.
5830 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
5831 (ROUND_TYPE_SIZE_UNIT): New macro.
5833 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
5835 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
5837 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5839 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
5840 Mark as possibly unused.
5842 * cse.c (cse_insn): Delete dead code involving tablejump.
5843 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
5845 * Makefile.in (libcpp.a): Start by deleting it.
5847 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5849 * cpplib.h (enum file_change_code): Added rename_file.
5850 * cpplib.c (do_line): If a filename is given, set file_change to
5852 (output_line_command): If file_change is rename_file, always
5853 output a # directive with the file name.
5855 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
5857 2000-02-26 Mark Mitchell <mark@codesourcery.com>
5859 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
5860 when copying a PARM_DECL or RESULT_DECL.
5862 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5864 * fix-header.c (recognized_function): Also fix prototypes for
5865 functions taking "void".
5867 2000-02-26 Geoff Keating <geoffk@cygnus.com>
5869 * reload1.c (do_output_reload): Check reg_reloaded_valid before
5870 looking at reg_reloaded_contents.
5872 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
5874 * Makefile.in (STMP_FIXINC): New toggle.
5875 (LIBGCC2_DEPS): Delete all references.
5876 (stmp-headers): Delete target. All references either deleted
5877 or changed to stmp-int-headers.
5878 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
5879 (LIBCPP_OBJS): Take out cppalloc.o.
5880 (cppalloc.o): Delete target.
5881 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
5882 (gen-protos, fix-header): Link with libiberty.a.
5883 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
5886 * configure.in: Remove refs to strerror.
5887 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
5888 * system.h: Take out strerror stanza.
5890 * cpperror.c (my_strerror): Delete function.
5891 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
5892 * cppmain.c (main): Call xmalloc_set_program_name first thing.
5893 * cppalloc.c: Delete file.
5894 * gen-protos.c: Don't provide xrealloc.
5896 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
5897 xstrerror throughout.
5899 2000-02-26 Bruce Korb <bkorb@gnu.org>
5901 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
5902 match for DOS headers, too.
5903 * fixinc/inclhack.sh,fixincl.x: Regenerate.
5905 2000-02-26 Geoff Keating <geoffk@cygnus.com>
5907 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
5908 is right for most ELF targets.
5909 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
5910 Let the default file use %U properly.
5911 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
5914 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
5917 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5919 * toplev.c (documented_lang_options): Correct spelling error.
5920 (decode_d_option, decode_f_option, main): Likewise.
5922 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
5924 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
5925 to tell assembler it is permitted to expand large constants.
5927 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
5929 * protoize.c: (AUX_INFO_SUFFIX): New macro.
5930 (aux_info_suffix): Use.
5931 (SAVE_SUFFIX): New macro.
5933 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
5934 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
5935 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
5937 * invoke.texi (Running Protoize): Update documentation.
5939 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
5941 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
5943 2000-02-25 John Wehle (john@feith.com)
5945 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
5947 2000-02-25 Anthony Green <green@cygnus.com>
5949 * toplev.c (rest_of_compilation): Rebuild jump labels if
5950 combine_instructions has created a new direct jump.
5951 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
5953 (combine_instructions): Call try_combine with new argument.
5954 Return non-null value when new direct jump instruction is created.
5955 * rtl.h: combine_instructions returns an int.
5957 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
5959 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
5960 jump when changing a computed jump into a jump to a known
5963 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
5965 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
5966 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
5968 * i386.md (define_expand "clrstrsi"): Fix typo.
5970 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
5972 * rtl.texi: Fix typo.
5974 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5976 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
5977 UNITS_PER_WORD. Change caller initial_elimination_offset.
5978 (rounded_frame_size): Take into account that argument pushed has
5979 changed. Fix TARGET_ALIGN_DOUBLE problem.
5981 2000-02-25 Geoff Keating <geoffk@cygnus.com>
5983 * haifa-sched.c (schedule_block): Explain the real reason
5984 we delete REG_SAVE_NOTEs on the first insn of a block.
5985 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
5987 2000-02-24 Mark Mitchell <mark@codesourcery.com>
5989 * input.h (push_srcloc): New function.
5990 (pop_srcloc): Likewise.
5991 * toplev.c (push_srcloc): Define it.
5992 (pop_srcloc): Likewise.
5994 2000-02-24 Richard Henderson <rth@cygnus.com>
5996 * flow.c (life_analysis): When collecting reg info, clear
5999 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6001 Fix bug exposed by reload.c no longer rounding the frame
6002 size to BIGGEST_ALIGNMENT:
6003 * sh.c (rounded_frame_size): New function.
6004 (sh_expand_prologue, sh_expand_epilogue): Use it.
6005 (initial_elimination_offset): Likewise.
6007 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6009 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6010 * sh-protos.h (sh_need_epilogue): Declare.
6011 * sh.c (sh_need_epilogue_known): New static variable.
6012 (sh_need_epilogue): New function.
6013 (function_epilogue): Clear need_epilogue_known.
6014 * sh.md (return): Split into expander / insn pattern.
6015 Make the expander conditional on ! sh_need_epilogue ().
6017 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
6019 * machmode.h (get_mode_alignment): Declare.
6020 (GET_MODE_ALIGNMENT): Call it.
6021 * stor-layout.c (get_mode_alignment): New function. Make
6022 sure alignment is always power of 2.
6024 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6026 * i386.h: Remove useless definition of "I386" and misleading
6029 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6031 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
6032 under which TREE_PERMANENT will be set.
6033 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6034 build1): Use TREE_SET_PERMANENT.
6035 * print-tree.c (print_node): Don't report value of
6036 TREE_PERMANENT if ggc_p is true.
6038 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6039 decide whether to give a type a new alias set.
6040 * objc/objc-act.c (build_objc_string_object): Never copy the string.
6041 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6042 of value of 'obstack'.
6045 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6047 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6049 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6051 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6052 * cpplib.c (cpp_get_token): Produce them.
6053 * cppexp.c (cpp_lex): Handle them.
6055 2000-02-23 Nick Clifton <nickc@cygnus.com>
6057 * config/arm/arm.c (arm_comp_type_attributes): Simply and
6058 comment tests on type attributes.
6060 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6062 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6063 conform to documentation.
6064 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6065 to check for special cases.
6066 * sh-protos.h (sh_loop_align): Declare.
6067 * sh.c (sh_loop_align): Define.
6069 2000-02-22 Andrew Haley <aph@cygnus.com>
6071 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6072 (SIZE_TYPE): Is 32 bits when using -mgp32.
6073 (PTRDIFF_TYPE): Ditto.
6075 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6077 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6079 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6081 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6082 BIGGEST_FIELD_ALIGNMENT a constant.
6084 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
6086 * dwarf2out.c (output_line_info): Put the marker for the end of
6087 the line number info at the actual end.
6088 (gen_struct_or_union_type_die): Use decl_function_context
6089 to check for local classes.
6090 * dwarfout.c (output_type): Likewise.
6092 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
6094 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6095 for arguments with a mode, but no type.
6096 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6097 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6098 * pa/long_double.h: New file.
6099 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6100 both have 128bit wide long doubles.
6101 * configure: Rebuilt.
6103 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6105 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6107 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6108 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6109 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6111 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6113 * integrate.c (compare_blocks, find_block): Likewise.
6115 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6117 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6119 * stmt.c (stmt_status, set_file_and_line_for_stmt,
6120 expand_asm_operands): Likewise.
6122 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
6124 * predict.c (estimate_probability): Added the pointer heuristic to
6125 the collection of static branch predictors.
6127 2000-02-21 Catherine Moore <clm@cygnus.com>
6129 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6130 * invoke.texi (-mfix7000): Document.
6132 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
6134 * diagnostic.c (init_output_buffer): Make it possible to output at
6135 least 32 characters if we're given a too long prefix.
6137 2000-02-20 Mark Mitchell <mark@codesourcery.com>
6139 * varasm.c (initializer_constant_valid_p): Call
6140 lang_expand_constant to simplify the constant.
6142 2000-02-20 Bruce Korb <bkorb@gnu.org>
6144 * fixinc/inclhack.def(stdio_va_list):
6145 typedef needs to be disabled.
6146 * fixinc/inclhack.sh: regen
6147 * fixinc/fixincl.x: regen
6149 2000-02-20 Geoff Keating <geoffk@cygnus.com>
6151 * print-rtl.c (print_rtx): Don't print addresses when
6152 flag_dump_unnumbered.
6154 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6156 * sparc.c (sparc_output_scratch_registers): Mark parameter with
6158 (sparc_va_arg, sparc_flat_output_function_prologue,
6159 sparc_flat_output_function_epilogue): Cast value to unsigned in
6161 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6163 * sparc.md: Add default case in switch.
6165 2000-02-19 Richard Henderson <rth@cygnus.com>
6167 * c-typeck.c (add_pending_init): Don't abort for multiple
6168 fields at the same offset.
6169 (pending_init_member): Test the correct member.
6171 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6173 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6175 (start_catch_handler) : Same.
6177 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
6179 * Makefile.in: Have flow.o depend on $(EXPR_H)
6181 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6183 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6184 * c-decl.c (duplicate_decls, finish_enum): Likewise.
6185 (finish_decl): Remove -Wlarger-than code from here.
6186 * flags.h (id_clash_len): Now int.
6187 (larger_than_size): Now HOST_WIDE_INT.
6188 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6189 Clean up checking to see if in table.
6190 (make_bit_field_ref): Remove extra parm to bitsize_int.
6191 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6192 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6193 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6194 and for computing size of decl.
6195 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6196 Move -Wlarger-than code to here.
6197 (layout_record): Remove extra arg to bitsize_int.
6198 Set TYPE_BINFO_SIZE_UNIT.
6199 (layout_union): Remove extra arg to bitsize_int.
6200 Use proper type for size of QUAL_UNION.
6201 (layout_type): Remove extra arg to bitsize_int.
6202 * toplev.c (id_clash_len): Now int.
6203 (larger_than_size): Now HOST_WIDE_INT.
6204 (decode_W_option): Clean up id-clash and larger-than- cases.
6205 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6206 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6207 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6208 (struct tree_decl): New field size_unit.
6209 (size_int_wide): No HIGH operand; NUMBER is now signed.
6210 (size_int_2): Deleted.
6211 (size_int, bitsize_int): Don't use it and rework args.
6212 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6214 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
6216 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6218 2000-02-18 Geoff Keating <geoffk@cygnus.com>
6220 * invoke.texi (Warning Options): Add an explanation of why
6221 you might want the -Wfloat-equal flag.
6223 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6225 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6226 * cppinit.c (new_pending_define): Add cast to avoid warning.
6227 * expmed.c (extract_bit_field): Likewise.
6228 * flow.c (enum reorder_skip_type): New type.
6229 (skip_insns_between_blcok): New it.
6230 Rework to avoid warning about possibly undefined variable.
6231 * function.c (assign_parms): Make thisparm_boundary unsigned.
6232 * genrecog.c (write_switch): Cast XWINT result to int.
6233 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6234 * mips-tfile.c (init_file): Make two versions of FDR intializer:
6235 one for MIPS and one for Alpha.
6236 (get_tag, copy_object): Add casts to avoid warnings.
6237 * optabs.c (init_one_libfunc): Cast NAME to (char *).
6238 * reload.c (find_reloads): Make TYPE enum reload_type.
6239 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6240 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6241 * varasm.c (compare_constant_1): Add cast to avoid warning.
6242 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6244 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6245 Cast switch operand of size to int.
6246 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6247 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6250 2000-02-18 Nick Clifton <nickc@cygnus.com>
6252 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6253 anything for an alignment of zero.
6255 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6256 anything for an alignment of zero.
6258 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
6260 * gcc.texi (Bug Reporting): Refer to bugs.html.
6261 (Bug Lists): Likewise.
6262 * system.h (GCCBUGURL): New preprocessor define.
6263 * rtl.c (fancy_abort): Use it.
6264 * gcc.c (main): Likewise.
6266 2000-02-18 Richard Henderson <rth@cygnus.com>
6268 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6269 (life_analysis_1): Subsume into ...
6270 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
6271 Use update_life_info for the relaxation.
6272 (update_life_info): Update REG_BASIC_BLOCK for registers live on
6273 entry and regs_live_at_setjmp.
6274 (set_noop_p): Simplify.
6275 (notice_stack_pointer_modification_1): Renamed from s/_1//.
6276 (record_volatile_insns): Split into ...
6277 (delete_noop_moves): ... here,
6278 (notice_stack_pointer_modification): ... here,
6279 (insn_dead_p): ... and here.
6280 (propagate_block): Don't query INSN_VOLATILE.
6281 (mark_used_regs): Mind !PROP_REG_INFO.
6282 * toplev.c (rest_of_compilation): Call mark_constant_function here,
6283 not in life_analysis.
6285 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
6287 * loop.c (canonicalize_condition): New function,
6288 broken out of get_condition.
6289 (get_condition): Use it.
6290 * expr.h (canonicalize_condition): Prototype it.
6292 * tree.h (tree_int_cst_msb): Declare.
6293 * tree.c (tree_int_cst_msb): New function.
6295 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6297 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6300 * invoke.texi (-fmessage-length=n): Document.
6302 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
6304 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6306 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6308 * function.c (thread_prologue_and_epilogue_insns): Put a line note
6311 2000-02-17 Nick Clifton <nickc@cygnus.com>
6313 * config/arm/thumb.c: Replace includes of system headers with
6314 #include "system.h".
6316 2000-02-16 Richard Henderson <rth@cygnus.com>
6318 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6319 Add crtbeginS.o and crtendS.o.
6320 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6321 (ENDFILE_SPEC): Use crtendS.o.
6322 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6324 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6325 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
6327 (__dso_handle): New variable.
6328 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6329 bias to __CTOR_END__.
6331 2000-02-16 Richard Henderson <rth@cygnus.com>
6333 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6335 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
6337 * longlong.h (__clz_tab): Declare as static to match definition.
6339 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6340 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6341 (XREF_FILE_NAME): Define.
6343 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6344 (EH_FRAME_SECTION_ASM_OP): Define.
6345 (IDENT_ASM_OP): Define.
6346 (TEXT_SECTION_ASM_OP): Define.
6348 (CTORS_SECTION_ASM_OP): Define.
6349 (CTOR_SECTION_FUNCTION): Use it.
6350 (DTORS_SECTION_ASM_OP): Define.
6351 (DTOR_SECTION_FUNCTION): Use it.
6353 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
6355 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6358 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6359 debug_bb_n): New functions.
6360 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6361 * basic-block.h: Prototype new functions.
6363 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
6365 * configure.in: Add support for avr target.
6366 * configure: Rebuilt.
6368 * invoke.texi: Add AVR invocation docs.
6369 * install.texi: Add information about AVR.
6370 * md.texi: Add AVR constraint letters description.
6371 * extend.texi: Add description for AVR specific attributes.
6373 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
6375 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6377 2000-02-16 Nick Clifton <nickc@cygnus.com>
6379 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6380 (make_insn_raw): Move RTL check here.
6382 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6384 * version.c: Include gansidecl.h and version.h.
6386 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6388 * configure.in (gcc_version): When setting, narrow search to
6389 lines containing `version_string'.
6391 * Makefile.in (mainversion): Likewise.
6392 (GCC_H): New variable.
6393 (gcc.h): Delete target.
6394 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6395 (version.o): Depend on version.h.
6396 (dbxout.o): Don't depend on gcc.h.
6398 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
6399 Michael Meissner <meissner@cygnus.com>
6401 * md.texi (Simple Constraints): Add item about whitespace.
6402 * genoutput.c (strip_whitespace): New.
6403 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6404 strip_whitespace for constraints.
6405 Test pointer using NULL, not 0.
6407 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6409 * cpplib.c (do_line): Pedwarn for #line > 32767.
6411 * c-lex.c (readescape): Warn about '\x', but do not reject it.
6413 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
6415 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6416 to default cpp spec.
6417 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6418 * cpp.texi: Document __GNUC_PATCHLEVEL__.
6421 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6424 2000-02-15 Denis Chertykov <denisc@overta.ru>
6426 * configure.in: Add support for avr target.
6428 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6430 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6431 (sh_addr_diff_vec_mode): Don't declare.
6432 * sh.c (sh_addr_diff_vec_mode): Delete.
6434 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6436 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6438 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6440 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6441 (smulsi3_highpart_i): Name.
6442 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6443 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6444 (smulsi3_highpart, umulsi3_highpart): Likewise.
6446 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6447 correctly independent of endianness.
6448 (mulsidi3, umulsidi3): Now define_insn. Hide details that
6449 confuse the optimizers.
6450 (mulsidi3+1, umulsidi3+1): New define_split.
6452 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
6454 * config/sh/sh.md: Guard insn splits against illegal registers.
6455 * config/sh/sh.h: Correct comment about macros.
6457 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6458 Andrew MacLeod <amacleod@cygnus.com>
6460 * Makefile.in (lcm.o): Depend on insn-attr.h.
6461 * basic-block.h (optimize_mode_switching): Declare.
6462 * lcm.c (tm_p.h, insn-attr.h): #include.
6463 (seginfo, bb_info): New structs.
6464 (antic, transp, comp, delete, insert) : New file-scope static variables.
6465 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6466 (reg_becomes_live, optimize_mode_switching): Likewise.
6467 * tm.texi: Add description of mode switching macros.
6468 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6470 * sh-protos.h (remove_dead_before_cse): Remove prototype.
6471 (fldi_ok, fpscr_set_from_mem): New prototypes.
6472 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6473 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6474 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6475 (sh_flag_remove_dead_before_cse): Remove declaration.
6476 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6477 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6478 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6479 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6480 (barrier_align): Allow for JUMP_INSNS containing a parallel.
6481 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6482 (fldi_ok): New function.
6483 (get_fpscr_rtx): Add fpscr_rtx as GC root.
6484 (emit_sf_insn): Only generate fpu switches when optimize < 1.
6485 (emit_df_insn): Likewise.
6486 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6487 (sh_flag_remove_dead_before_cse): Delete.
6488 (get_free_reg, fpscr_set_from_mem): New functions.
6489 * sh.md (movdf, movsf): Remove no_new_pseudos code.
6490 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6492 2000-02-15 Loren Rittle <ljrittle@acm.org>
6494 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6496 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6498 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6499 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6501 * cccp.c: Include version.h and/or don't declare `version_string'.
6502 * collect2.c: Likewise.
6503 * alpha.c: Likewise.
6504 * arm/aof.h: Likewise.
6505 * arm/coff.h: Likewise.
6506 * arm/elf.h: Likewise.
6507 * arm/pe.h: Likewise.
6508 * arm/tcoff.h: Likewise.
6509 * arm/telf.h: Likewise.
6510 * arm/tpe.h: Likewise.
6511 * arm/vxarm.h: Likewise.
6512 * convex/convex.c: Likewise.
6513 * i386/dgux.c: Likewise.
6514 * i386/sun386.h: Likewise.
6515 * m88k/m88k.c: Likewise.
6516 * mcore/mcore-pe.h: Likewise.
6517 * mips/mips.h: Likewise.
6518 * romp/romp.h: Likewise.
6519 * sh/sh.c: Likewise.
6520 * cpphash.c: Likewise.
6521 * cppinit.c: Likewise.
6522 * dwarf2out.c: Likewise.
6523 * dwarfout.c: Likewise.
6526 * mips-tfile.c: Likewise.
6527 * protoize.c: Likewise.
6528 * toplev.c: Likewise.
6531 * version.c (version_string): Constify a char*.
6533 * version.h: New file.
6535 2000-02-14 Nick Clifton <nickc@cygnus.com>
6537 * configure.in: Add mcore-elf and mcore-pe targets.
6538 * configure: Regenerate.
6540 * NEWS: Add note that MCore port has been contributed.
6542 * invoke.texi: Document command line switches for MCore port.
6543 * install.texi: Add MCore to list of supported targets.
6545 2000-02-14 Geoff Keating <geoffk@cygnus.com>
6547 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6548 then we will need to import the frame handling functions.
6549 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6550 to import the frames themselves.
6552 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
6553 Jason Eckhardt <jle@cygnus.com>
6555 * basic_block.h: Added prototype for reorder_basic_blocks.
6556 * toplev.c: Changes to add -freorder-blocks and graph dump after
6557 block reordering is done.
6558 * flow.c (reorder_block_def): New structure for use during block
6560 (REORDER_BLOCK_*): New macros to access members of above structure.
6561 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6562 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6563 functions for block reordering.
6565 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
6567 * gcc.texi (Passes): Fix typo.
6568 * md.texi (Standard Names): Ditto.
6569 * tm.texi (Storage Layout): Ditto.
6571 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
6573 * cpplib.c (do_define): Only free the old definition if it
6576 2000-02-13 Neil Booth <NeilB@earthling.net>
6578 * cppfiles.c (read_and_prescan): When emitting deferred
6579 newlines, test speccase[] again instead of checking each
6580 possible whitespace character in turn. When we encounter \r,
6581 look behind for \n first, then ahead.
6583 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
6585 * cse.c (cse_altered): New internal flag.
6586 (cse_insn): Set it if we changed an insn.
6587 (cse_main): Clear cse_altered before each basic block.
6588 Only garbage collect if cse_altered is true afterward.
6590 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6592 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6594 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
6596 * combine.c (simplify_comparison): Fix typo.
6598 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
6600 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6603 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6605 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6606 previously inserted node instead of root node. Caller changed.
6608 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6610 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6612 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6614 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6615 __dereg_frame_dtor): Add prototype argument.
6617 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6619 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6621 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6623 * gthr-vxworks.h (__gthread_once): Likewise.
6625 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6627 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
6629 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6630 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6631 stack pointer in functions w/o saved registers, output LEAVE more often
6632 on TARGET_USE_LEAVE machines.
6634 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6636 * config/arm/arm.c (arm_init_cumulative_args); New function:
6637 Initlaise the CUMULATIE_ARGS strcuture for a function
6639 (arm_function_arg): New function: Determine where to place a
6640 function's argument. Also handles deciding the function's
6642 (current_file_function_operand): New function: Return true if
6643 the symbol is a function which has already been compiled.
6644 (arm_is_long_call_p): New function: Return true if the
6645 indicated function should be called via a long call.
6646 (arm_valid_type_attribute_p): New function: Return true if the
6647 attribute is a valid, arm specific, attribute.
6648 (arm_comp_type_attribute): New function: Return true if the
6649 two types have compatable, arm specific, attributes.
6651 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6653 (FUNCTION_ARG): Redefine to call arm_function_arg.
6654 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6656 (INIT_CUMULATIVE_ARGS): Redefine to call
6657 arm_init_cumulative_args.
6658 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6660 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
6662 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6664 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6665 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6666 (COMP_TYPE_ATTRIBUTES): Define.
6668 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6669 if a long call is needed.
6670 (call_value): Call arm_is_long_call_p to decide if a long call
6672 (call_symbol): Call arm_is_long_call_p to decide if a long call
6675 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6677 2000-02-11 Denis Chertykov <denisc@overta.ru>
6679 * README.AVR: New file with information about the avr ports.
6680 * config/avr: New directory with avr port files.
6682 2000-02-11 Andreas Jaeger <aj@suse.de>
6684 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6686 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
6688 * cpphash.c: Fix formatting, update commentary.
6689 (dump_definition): Take three separate arguments instead of a
6690 MACRODEF structure argument.
6691 * cpphash.h: Update prototype of dump_definition.
6692 * cppinit.c (cpp_finish): Update call of dump_definition.
6694 * cpplib.c (do_define): Always create new hash entry with
6695 T_MACRO type. Remove redundant check for redefinition of
6696 poisoned identifier. Update call of dump_definition.
6697 (do_undef): Don't call check_macro_name. Rename sym_length to
6699 (do_error, do_warning): Don't use copy_rest_of_line or
6701 (do_warning): Don't use pedwarn for the actual warning,
6702 only the notice about its not being in the standard. (Fixes
6703 bug with #warning in system headers.)
6704 (do_ident): Stricter argument checking - accept only a single
6705 string after #ident. Also, macro-expand the line.
6706 (do_xifdef): Use cpp_defined. De-obfuscate.
6708 (do_pragma): Split out specific pragma handling to separate
6709 functions. Use get_directive_token. Update commentary. Do
6710 not pass on #pragma once or #pragma poison to the front end.
6711 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6712 do_pragma_default): New.
6714 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
6716 * jump.c (jump_optimize_1): The first operand in a relational
6718 * optabs.c (emit_conditional_move): Handle relationals which
6719 have a known true/false result.
6721 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6723 * function.c (thread_prologue_and_epilogue_insns): Don't insert
6724 a RETURN insn into a block which already ends with a jump.
6726 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6728 * haifa-sched.c (BUF_LEN): Increase a lot.
6730 2000-02-11 Nick Clifton <nickc@cygnus.com>
6732 * configure.in: Add tm_p_file specification for thumb targets.
6733 * configure: Regenerate.
6735 * config/arm/thumb-protos.h: New file: Prototypes for exported
6736 functions defined in thumb.c.
6738 2000-02-11 Robert Lipe <robertl@sco.com>
6740 * Makefile.in (bootstrap-lean): Remove additional files.
6741 (bootstrap2-lean): Likewise.
6742 (VOL_FILES): List of files for above.
6744 2000-02-11 Nathan Sidwell <nathan@acm.org>
6746 * cpphash.c (special_symbol): Remove spurious argument to
6749 2000-02-11 Joel Sherrill (joel@OARcorp.com>
6751 * configure.in: (i*86-*-rtems*): Swapped elf and coff
6753 * configure: Rebuilt.
6755 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
6757 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6759 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
6761 * pa.c, pa.h: Remove trigraph sequences within comments.
6763 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
6765 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6767 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
6769 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6771 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6773 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6775 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6777 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6778 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6779 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6780 (ASM_FILE_END): Use c4x_file_end.
6781 * config/c4x/c4x.c (c4x_global_label): New function.
6782 (c4x_external_ref, c4x_file_end): Likewise.
6784 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6785 (c4x_external_ref, c4x_end_file): Likewise.
6787 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
6789 * cppexp.c: Don't include cpphash.h.
6790 (parse_charconst, cpp_lex): Use cpp_defined.
6791 (cpp_lex): Use get_directive_token throughout. Remove
6792 unnecessary cases from switch. Move assertion-handling code
6794 (cpp_parse_expr): If we see '+' or '-', check the context to
6795 determine if they are unary or binary operators. Streamline
6796 the jumps a bit. Do not call skip_rest_of_line.
6798 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6799 static. Export get_directive_token. Update commentary.
6800 (cpp_defined): New function.
6801 (do_define): Remove reference to T_PCSTRING. Call
6802 free_definition to release memory for old definition, when
6804 (eval_if_expression): Set only_seen_white to 0 before calling
6805 cpp_parse_expr. Call skip_rest_of_line after it returns.
6806 (cpp_read_check_assertion): Don't preserve a pointer into the
6807 token buffer across a call to cpp_get_token.
6809 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
6810 * cppfiles.c (redundant_include_p): Use cpp_defined.
6811 * cpphash.c (free_definition): New function.
6812 (delete_macro): Use it. Update commentary.
6813 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
6815 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
6816 from enum node_type. Prototype cpp_defined and get_directive_token.
6817 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
6819 * fix-header.c (check_macro_names): Use cpp_defined.
6820 (read_scan_file): Set inhibit_warnings and inhibit_errors in
6821 the options structure.
6823 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6825 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
6827 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
6829 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
6830 rather than die->die_tag.
6832 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6834 * combine.c (make_extraction, force_to_mode): Avoid warning on
6835 mixed-signedness conditionals.
6836 (make_field_assignment, nonzero_bits): Likewise.
6837 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
6838 (store_split_bit_field, extract_split_bit_field): Likewise.
6839 (extract_fixed_bit_field, store_bit_field,
6840 * expr.c: Change alignment to be unsigned everywhere.
6841 (move_by_pieces, store_constructor_field, store_constructor):
6842 Alignment parm is unsigned.
6843 (emit_block_move, emit_group_load, emit_group_store): Likewise.
6844 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6845 (do_compare_rtx_and_jump): Likewise.
6846 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
6847 Compare align with GET_MODE_ALIGNMENT.
6848 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
6849 (get_inner_reference): Likewise.
6850 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
6851 (expand_assignment): Local vars for alignment now unsigned.
6852 (store_constructor, store_field, expand_expr, do_jump): Likewise.
6853 (do_compare_and_jump): Likewise.
6854 (store_field): Call new function expr_align.
6855 * expr.h (emit_block_move, emit_group_load, emit_group_store):
6856 Alignment arg now unsigned.
6857 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6858 (do_compare_rtx_and_jump, store_bit_field): Likewise.
6859 (extract_bit_field): Likewise.
6860 * fold-const.c (add_double): Add cast to eliminate signedness warning.
6861 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
6862 (get_best_mode): Alignment arg is unsigned.
6863 * rtl.h (move_by_pieces): Likewise.
6864 * store-layout.c (maximum_field_alignment, set_alignment):
6866 (layout_decl): Alignment arg is now unsigned.
6867 Remove unneeded casts.
6868 (layout_record, layout_union, layout_type): Remove unneeded casts.
6869 Local alignment variables now unsigned.
6870 (get_best_mode): Alignment arg now unsigned.
6871 * tree.c (expr_align): New function.
6872 * tree.h (expr_align): Likewise.
6873 (maximum_field_alignment, set_alignment): Now unsigned.
6874 (get_inner_reference): Alignment argument is now pointer to unsigned.
6875 * varasm.c (assemble_variable): Add cast to eliminate warning.
6877 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
6879 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
6880 then store directly into op0.
6882 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
6883 the CALL_INSN, and emit the note immediately after it.
6885 2000-02-10 Nick Clifton <nickc@cygnus.com>
6887 * config/arm/thumb.md (epilogue): Include a (return) in the
6888 generated insn, and emit it using emit_jump_insn not
6891 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
6893 * function.c (assign_temp): Change zero-sized arrays to size 1.
6894 * integrate.c (expand_inline_function): Do not update
6895 stack_alignment_needed
6896 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
6897 add some sanity checking, remove optimization for function with
6900 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6902 * flow.c (mark_regs_live_at_end): Delete unused variables.
6904 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
6906 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
6907 in macro FRAME_GROWS_DOWNWARD.
6909 * stmt.c (expand_end_bindings): Delete unused variable.
6911 * unroll.c (iteration_info): Mark parameter `loop' with
6914 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6916 * fixinc/server.c (load_data): Return NULL if the marker line is
6918 (run_shell): If load_data returns NULL, retry the command once, in
6921 * configure: Rebuilt.
6923 2000-02-09 Bruce Korb <bkorb@gnu.org>
6925 * gcc/fixincludes: ** DELETED **
6926 * gcc/fixcpp: ** DELETED **
6927 * gcc/fixinc-nt.sed: ** DELETED **
6928 * gcc/just-fixinc: ** DELETED **
6929 * gcc/Makefile.in: Removed out-dated commentary
6930 * gcc/configure.in: Removed fast-fixincludes disablement.
6931 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
6933 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
6934 * function.c (thread_prologue_and_epilogue_insns): Uncomment
6937 2000-02-09 Richard Henderson <rth@cygnus.com>
6939 * jump.c (delete_insn): Don't delete user labels at -O0.
6941 2000-02-09 Robert Lipe <robertl@sco.com>
6943 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
6944 Don't link with HOST_LIBS.
6946 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6948 * configure.in: Correct --help text for --with-dwarf2.
6949 Put tm-dwarf2.h after other tm files, if it's requested.
6950 * configure: Regenerate.
6951 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
6954 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6956 * cpplib.h: Provide HASHNODE typedef and forward decl of
6957 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
6958 DEFINITION, struct hashnode, struct macrodef, struct
6959 definition, scan_decls prototype, default defn of
6960 INCLUDE_LEN_FUDGE moved elsewhere.
6962 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
6963 definition, and struct hashnode moved here. Remove the unused
6964 'predefined' field from struct definition. Replace the 'args'
6965 union with its sole member. All users updated (cpphash.c).
6966 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
6967 multiple include guard.
6969 * cpphash.c (hashf): Make static; use better algorithm; drop
6970 HASHSIZE parameter; return an unsigned int.
6971 (cpp_lookup): Drop HASH parameter. PFILE parameter is
6972 used. Calculate HASHSIZE modulus here.
6973 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
6975 (create_definition): Drop PREDEFINITION parameter.
6976 * cpplib.c (do_define): Don't calculate a hash value here.
6977 Don't pass (keyword == NULL) to create_definition.
6979 * scan.h: Prototype scan_decls here.
6980 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
6981 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
6982 callers of cpp_lookup and cpp_install updated.
6984 * cpphash.c (macarg): Hoist all the flag diddling out of the
6986 (macroexpand): ... and out of the loop that calls macarg.
6987 Skip over the initial paren before macro arguments with
6988 cpp_get_non_space_token; point may be some distance before
6989 that paren. Abort if it's not there.
6991 * cpplib.c (parse_clear_mark): Delete function.
6992 (parse_set_mark, parse_goto_mark): Make static.
6993 (ACTIVE_MARK_P): New macro.
6994 (skip_block_comment, skip_line_comment): Do not bump the line
6995 if ACTIVE_MARK_P is true.
6996 (cpp_pop_buffer): The buffer to be popped may not have an
6998 (cpp_get_token): When looking for the initial paren before
6999 macro arguments, only set a mark in a file buffer, Always
7000 return to that mark before proceeding to call macroexpand or
7001 return a NAME token.
7003 * cpplib.h: Remove prototypes of parse_set_mark,
7004 parse_clear_mark, parse_goto_mark.
7005 (struct cpp_options): Rename 'put_out_comments' to
7006 'discard_comments' and invert its sense.
7007 * cppinit.c, cpphash.c, cpplib.c: All users of
7008 put_out_comments changed to use discard_comments, with
7011 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
7013 * function.c (thread_prologue_and_epilogue_insns): Don't delete
7014 the edge from a block that both jumps and falls through to the
7017 2000-02-09 Scott Bambrough <scottb@netwinder.org>
7019 * config/arm/arm.md (movsi): In PIC mode, make sure that a
7020 constant source address is legitimate.
7022 2000-02-09 Philip Blundell <pb@futuretv.com>
7024 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7027 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7029 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7031 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
7033 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7034 ends with a newline and a NUL. Don't be so clever manipulating
7037 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
7039 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7040 not to BIGGEST_ALIGNMENT.
7042 2000-02-08 Geoff Keating <geoffk@cygnus.com>
7044 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7045 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7046 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7047 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7048 * frame.c (execute_cfa_insn): Handle
7049 DW_CFA_GNU_negative_offset_extended.
7051 2000-02-08 Richard Henderson <rth@cygnus.com>
7053 * flow.c (tidy_fallthru_edges): Split out from ...
7054 (delete_unreachable_blocks): ... here.
7055 (find_basic_blocks): Use it.
7057 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7059 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7061 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
7063 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7064 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7065 (fix-header.o): Don't depend on cpphash.h.
7067 * scan.c (hashstr): New function.
7068 * scan.h: Prototype it.
7069 * fix-header.c: Don't include cpphash.h. Use hashstr.
7070 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
7071 hashstr. Report hash table statistics. Add private
7072 definition of xrealloc.
7074 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7076 * i386.h (TARGET_SWITCHES): Fix typo in option name.
7078 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
7080 * function.c (thread_prologue_and_epilogue_insns): Don't replace
7081 jumps with returns unless they are jumps to the fallthru block.
7083 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
7085 * i386.md (addqi3_cc): Fix contraints.
7087 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
7089 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7091 2000-02-07 Mark Mitchell <mark@codesourcery.com>
7093 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7094 carriage return after a macro name.
7096 2000-02-07 Fred Fish <fnf@be.com>
7098 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7099 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7101 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
7103 * cppfiles.c (deps_output): Count spacers in deps_column.
7105 2000-02-07 Neil Booth <NeilB@earthling.net>
7107 * cppinit.c (initialize_dependency_output): If there is no
7108 suffix, don't try to look for known suffixes. Use strrchr.
7109 (cpp_start_read): Remove duplicate initialization.
7111 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
7113 * calls.c (compute_argument_block_size): New argument
7114 preferred_stack_boundary.
7115 (expand_call): update cfun->preferred_stack_boundary, update call of
7116 compute_argument_block_size
7117 (emit_library_call): Increate cfun->preferred_stack_boundary
7118 to PREFERRED_STACK_BOUNDARY
7119 (emit_library_call_value): Likewise.
7120 * explow.c (allocate_dynamic_stack_spave): Likewise.
7121 * function.c (prepare_function_start): Set
7122 cfun->preferred_stack_boundary
7123 * function.h (struct function): Add preferred_stack_boundary field.
7124 * integrate.c (expand_inline_function): Update
7125 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7126 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7127 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7129 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
7131 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7132 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7133 cpp_pedwarn, cpp_pedwarn_with_line,
7134 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7135 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7136 v_cpp_error_with_line, v_cpp_warning_with_line,
7137 cpp_message_from_errno, cpp_perror_with_name): Delete.
7139 * cpperror.c (cpp_print_containing_files): Take starting
7141 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7142 (v_cpp_message): Now called directly by all entry points.
7144 (cpp_pfatal_with_name, cpp_message): Delete.
7145 (cpp_notice_from_errno, cpp_ice): New functions.
7146 (cpp_notice): Is now for reporting error conditions, just
7147 without an associated file.
7148 (cpp_error, cpp_error_with_line): Don't do anything if
7149 opts->inhibit_errors is on.
7150 (cpp_pedwarn_with_file_and_line): Take column argument also.
7152 * cpplib.h: Update prototypes of exported functions.
7153 (struct cpp_options): Add inhibit_errors.
7155 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7156 non-error messages. Include intl.h.
7158 * cppinit.c, cppmain.c: Likewise. Also, use
7159 cpp_notice_from_errno instead of cpp_perror_with_name or
7160 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7162 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7163 report internal errors.
7165 * cpplib.c (do_define): Switch bcopy to memcpy.
7166 Give cpp_pedwarn_with_file_and_line a dummy column argument.
7168 * cpplib.c (copy_rest_of_line): Revert previous change: don't
7169 bail out early if we hit a line comment.
7171 2000-02-06 Richard Henderson <rth@cygnus.com>
7173 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7174 * basic-block.h: Declare them.
7175 * emit-rtl.h (active_insn_p): New.
7176 (next_active_insn, prev_active_insn): Use it.
7177 * rtl.h: Declare it.
7178 * function.c (emit_return_into_block): New.
7179 (thread_prologue_and_epilogue_insns): Insert return insns instead
7180 of epilogues when possible.
7181 * jump.c (jump_optimize_1): Remove code to insert a return insn
7182 on the fallthru to the exit block.
7184 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7185 and for non-empty stack frames.
7186 * i386.md (return): Expand to return-pop as needed.
7188 2000-02-06 Richard Henderson <rth@cygnus.com>
7190 * simplify-rtx.c (simplify_relational_operation): Canonicalize
7191 constant to op1 for testing.
7193 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7195 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7196 (fixuns_truncqfqi2): Use it.
7198 2000-02-06 Richard Henderson <rth@cygnus.com>
7200 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7203 * i386.md (widening and peepholes): Mask the constant instead of
7206 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7208 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7209 input pointer before possibly branching off to the backslash
7211 * cpphash.c (macroexpand): Correctly delete \r escapes when
7212 stringifying parameters.
7213 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7214 if we can; bail out early if we hit a line comment.
7215 (handle_directive): Treat '# 123' in an .S file just like
7216 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
7217 Return 1 for '# not_a_directive'.
7218 (get_directive_token): Pop macro buffers here, so that
7219 cpp_get_token can't sneakily move past a newline.
7221 (cpp_get_token): goto randomchar if handle_directive returns 0.
7223 * cppalloc.c: Update copyright.
7224 * cpplib.c: Merge all the static function prototypes into one
7226 * cpplib.h: Remove #if 0 block.
7228 * cpperror.c: Remove #ifdef EMACS block.
7229 * cppmain.c: Likewise.
7230 * cpphash.c: Remove #if 0 blocks.
7231 * cppinit.c: Remove #if 0 blocks, and the -lint option.
7232 * cpplib.c: Remove #if 0 blocks and code referencing
7233 pcp_inside_if or for_lint. Remove duplicate error message.
7234 Fix error messages for #else after #else or #elif. Reformat.
7235 Remove archaic TODO list.
7236 * cpplib.h: Remove pcp_inside_if and for_lint flags.
7238 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7240 * i386/osf1elf.h: Add missing backslash to multiline string.
7242 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7244 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7246 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7248 * Makefile.in (c-common.o): Depend on $(EXPR_H).
7250 * c-common.c: Include expr.h.
7252 * c-pragma.c (mark_align_stack): Add prototype.
7254 * caller-save.c (add_stored_regs): Likewise.
7256 * combine.c (record_promoted_value): Likewise.
7258 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7261 * cppinit.c (new_pending_define): Likewise.
7263 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7265 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7266 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7267 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7268 class_scope_p): Likewise.
7270 * dwarf2out.h (dwarf2out_set_demangle_name_func,
7271 dwarf2out_add_library_unit_info): Likewise.
7273 * ggc.h (ggc_page_print_statistics): Likewise.
7275 * haifa-sched.c (propagate_deps): Likewise.
7277 * reg-stack.c (next_flags_user, record_label_references): Likewise.
7279 * rtl.h (set_stack_check_libfunc): Likewise.
7281 * toplev.h (set_fatal_function): Likewise.
7283 * toplev.c (set_fatal_function): Delete prototype.
7285 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7287 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7289 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7290 (FUNC_END): Likewise.
7292 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7294 * caller-save.c: Include tm_p.h.
7296 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7298 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7300 2000-02-04 Neil Booth <NeilB@earthling.net>
7302 * cccp.c (main): Check 'dir' for a NULL pointer before passing
7305 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
7307 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7308 * genflags.c: Use the max_operand_1 logic from genemit.c to
7309 calculate how many arguments gen_insn prototypes have. Remove
7310 NO_MD_PROTOTYPES ifdefs from the generated file.
7311 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7312 file. Cast gen_insn initializers to insn_gen_fn.
7313 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7314 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7316 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7318 * fixinc/Makefile.in (HDR): Add machname.h.
7321 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7323 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7324 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7325 (c4x_cpu_version): Ditto.
7326 * config/c4x/c4x-protos.h: ... here.
7328 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
7330 * dwarf2out.c (add_abstract_origin_attribute): Don't call
7331 gen_abstract_function on our context if we're a nested function.
7333 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7335 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7336 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7338 2000-02-04 Bruce Korb <bkorb@gnu.org>
7340 * fixinc/genfixes(machname.h):
7341 Move the functionality from gen-machine.h into this file.
7342 UNdef MN_NAME_PAT if there are no names to change.
7343 Also, be a little kinder when AutoGen is not present.
7345 * fixinc/Makefile.in(machname.h):
7346 Change the generation rule to use genfixes.
7348 * fixinc/fixfixes.c(machine_name):
7349 machine_name_fix's functionality now dependent upon whether
7350 MN_NAME_PAT is defined.
7352 * fixinc/fixtests.c(machine_name):
7355 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7358 * fixinc/fixlib.h(mn_get_regexps):
7361 * fixinc/gen-machine.h: DELETED
7363 2000-02-04 Jan Hubicka <jh@suse.cz>
7364 Richard Henderson <rth@cygnus.com>
7366 * i386.c (SAVE_REGS_FIRST): Remove.
7367 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7368 (ix86_compute_frame_size): Likewise.
7369 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
7370 (ix86_emit_restore_regs): Remove.
7371 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7372 when a frame pointer is in use.
7373 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
7374 instead of pop to restore a register when profitable; emit leave
7376 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7378 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7379 * i386.md (prologue_allocate_stack): Remove.
7380 (epilogue_deallocate_stack): Remove.
7381 (pro_epilogue_adjust_stack): New.
7383 2000-02-04 Richard Henderson <rth@cygnus.com>
7385 * function.c (diddle_return_value): Rework to use a callback function.
7386 Use current_function_return_rtx if it's been set up.
7387 (do_clobber_return_reg, clobber_return_register): New.
7388 (do_use_return_reg, use_return_register): New.
7389 (expand_function_end): Use them.
7390 * stmt.c (expand_null_return): Likewise.
7391 * function.h: Declare them.
7392 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7393 (mark_reg): Change arguments as appropriate for callback.
7394 * integrate.c (expand_inline_function): Revert 19 Jan change.
7396 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
7398 * tm.texi (Values in Registers): Fix typo: "fo" "for".
7399 (Misc): Say the scheduler, not the Haifa scheduler.
7401 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
7403 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7404 when in_mem is set. Update all callers.
7406 2000-02-04 Richard Henderson <rth@cygnus.com>
7408 * i386/openbsd.h (INT_ASM_OP): Define.
7410 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
7412 * tm.texi: Fix various typos.
7414 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
7416 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7417 (MD_STARTFILE_PREFIX_1): New macro.
7419 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
7421 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7422 destination when needed.
7423 (strmovsi, strsetsi): New expander.
7424 (strmovsi_1, strsetsi_1): New pattern.
7425 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7426 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7427 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7428 * invoke.texi (align-stringops, inline-all-stringops): Document.
7430 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
7432 * i386/netbsd.h (INT_ASM_OP): Define.
7434 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
7436 * cpplib.h (cpp_reader): Add new flag, no_directives.
7437 * cpphash.c (macarg): Set it.
7438 * cpplib.c (handle_directive): If no_directives is on and we
7439 find a directive, issue an error and discard the line.
7441 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
7443 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7444 FP constants. Add ! TARGET_FPU check for FP constants.
7446 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
7448 * flow.c (find_basic_blocks): Don't kill label_value_list
7450 (cleanup_cfg): Kill it here.
7452 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7454 * expr.c (store_field): Ensure ALIGN is no stricter than the
7457 2000-02-02 Richard Henderson <rth@cygnus.com>
7459 * jump.c (delete_insn): Partially revert 19 Jan change;
7460 don't convert unused code labels to notes at -O0.
7462 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7464 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7465 split_all_insns to recreate REG_LABEL notes for flow2 pass.
7467 2000-02-01 Richard Henderson <rth@cygnus.com>
7469 * i386.c (general_no_elim_operand): New.
7470 (nonmemory_no_elim_operand): New.
7471 (ix86_expand_move): Copy eliminable operands before a push.
7472 * i386-protos.h: Declare new functions.
7473 * i386.h (CAN_ELIMINATE): Simplify.
7474 (PREDICATE_CODES): Update.
7475 * i386.md (push insns): Don't allow eliminable register operands.
7477 2000-02-01 Richard Henderson <rth@cygnus.com>
7479 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7480 replace BLKmode with DECL_RTL's mode.
7482 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
7484 * frame.c (find_fde): Convert for loop to do-while so compiler
7485 sees it's always executed at least once.
7486 * libgcc2.c (BBINBUFSIZE): Kill.
7487 (__bb_init_prg): Use fgets.
7488 (__bb_exit_trace_func): Don't paste strings.
7489 * unroll.c (unroll_loop): Initialize unroll_type, not
7490 unroll_number, and tweak logic to match.
7492 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7494 (ix86_flags_dependant): Likewise. Disentangle control flow.
7495 (ix86_sched_reorder): Break guts out to
7496 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7497 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7500 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7501 use string concatenation. Don't save and restore esi.
7503 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7504 (machname.h): Remove script to separate file. Use two-step
7505 sequence so target is not created if script fails.
7506 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
7507 identifiers are defined.
7508 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7509 an empty string, machine_name doesn't need to do anything at
7511 (is_cxx_header): Add more cases to regexp.
7512 * fixinc/fixlib.h: Update prototype.
7513 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7515 * fixinc/fixincl.c: Define NO_BOGOSITY.
7517 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7518 (hp_sysfile): Add missing comma.
7519 (math_exception): Put the wrapper ifdefs at the beginning and
7520 the end of the file.
7521 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7523 2000-02-01 Richard Henderson <rth@cygnus.com>
7525 * sparc.c (fp_zero_operand): Turn into a normal predicate.
7526 Use CONST0_RTX. Update all callers.
7527 * sparc.h, sparc-protos.h: Update accordingly.
7528 * sparc.md (fp mov insns): Use fp_zero_operand directly
7531 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
7533 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7536 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7538 * Makefile.in (specs.ready): New target.
7539 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7541 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7543 * fixinc.irix: Use unique filenames for writing into /tmp,
7544 * fixinc.ptx: Likewise.
7545 * fixinc.sco: Likewise.
7546 * fixinc.svr4: Likewise.
7547 * fixinc.winnt: Likewise.
7549 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7551 * tsystem.h: New file.
7553 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7554 s-crtS): Depend on tsystem.h.
7556 * crtstuff.c: Include tsystem.h.
7557 * frame.c: Likewise.
7558 * libgcc2.c: Likewise.
7560 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
7562 * builtins.c (expand_builtin_memset): Expand for variable sized
7565 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
7567 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7570 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
7572 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7574 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7576 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
7578 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7579 case 3->2 combining (combining with splitting) in which 2 is CC0
7580 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
7581 checked at the begining of the function with the aid of calling
7582 function 'can_combine_p'.
7584 2000-01-31 Dave Brolley <brolley@redhat.com>
7586 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7588 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
7590 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7593 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7595 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7597 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7600 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
7602 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7603 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7604 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7605 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7606 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7607 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7608 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7609 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7610 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7611 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7613 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7614 Add %(cpp_cpu) to CPP_SPEC.
7616 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7617 Add %(cc1_cpu) to CC1_SPEC.
7619 2000-01-28 Ulrich Drepper <drepper@redhat.com>
7621 * c-decl.c (c_decode_option): Accept optional numeric argument to
7622 -Wformat and set warn_format.
7623 * c-common.c: Don't emit warning about non-constant printf format
7624 string unless warn_format > 1.
7626 2000-01-30 Richard Henderson <rth@cygnus.com>
7628 * alpha.md (return_internal): Allow after reload only.
7630 2000-01-30 Richard Henderson <rth@cygnus.com>
7632 * i386.c (ix86_compute_frame_size): Omit padding1 if the
7633 local frame size is zero.
7635 2000-01-30 Richard Henderson <rth@cygnus.com>
7637 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7638 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
7639 * alpha.md (return): Turn into an expander.
7640 (return_internal): Don't use $26.
7641 (epilogue): Emit the return insn.
7643 2000-01-30 Richard Henderson <rth@cygnus.com>
7645 * alpha.md (negtf2, abstf2): Fix word order thinko.
7647 (trunctfsf2): Avoid intermediate rounding errors.
7649 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
7651 * cppfiles.c (find_position): Drop 'colp' argument, return the
7653 (read_and_prescan): Adjust to match. Don't ever manipulate
7654 line or line_base except via find_position.
7656 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
7658 * c-parse.in: Apply Ulrich's changes from c-parse.y.
7659 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7662 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
7664 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7665 just print "<command line>". If 'filename' is null or an
7666 empty string, print "<stdin>" for the filename.
7667 * cpplib.c (do_define): Don't print the 'location of the
7668 previous definition' message if we're still parsing the
7670 (cpp_pedwarn_with_file_and_line): Always call
7671 cpp_file_line_for_message.
7673 2000-01-29 Mark Mitchell <mark@codesourcery.com>
7675 * flow.c (mark_regs_live_at_end): Fix typo.
7677 2000-01-28 Ulrich Drepper <drepper@redhat.com>
7679 * c-common.c: Adjust variable names, comments, help strings to c99.
7680 * c-lex.c: Likewise.
7681 * c-parse.y: Likewise.
7682 * c-tree.h: Likewise.
7684 * cpplib.h: Likewise.
7685 * c-decl.c: Likewise. Recognize options with names "*99" as well.
7686 * cppinit.c: Likewise.
7688 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7690 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7691 * c4x.c: Define the optab rtx values.
7692 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7693 (c4x_emit_libcall): Use new optab rtx values.
7694 (c4x_emit_libcall3): Likewise.
7695 (c4x_emit_libcall_mulhi): Likewise.
7696 * c4x-protos.h: Add prototypes for optab rtx values and change
7697 prototypes for above c4x_emit_libcall functions.
7699 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7701 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7703 (c4x_function_prologue): Use regnames intead of float_reg_names when
7705 (c4x_function_epilogue): Likewise.
7706 (c4x_print_operand): Likewise.
7707 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7708 * c4x.md (set_high): Disable for TARGET_TI.
7710 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7712 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7713 of framepointer + constant to ADDR_REGS class.
7714 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7715 * c4x.c (std_or_reg_operand): New function.
7716 * c4x-protos.h (std_or_reg_operand): Prototype it.
7718 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7720 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7721 object names as libgcc2.c.
7722 * libgcc.S: Use newly defined names.
7724 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
7725 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7727 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7728 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7729 (FLOW_LOOP_LAST_BLOCK): Likewise.
7731 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7733 * basic-block.h (struct loop): New fields 'first' and 'last'.
7734 * flow.c (flow_loops_find): Compute loop->first and loop->last.
7735 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7736 and loop->last to check for NOTE_INSN_LOOP_END.
7738 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
7740 * predict.c (estimate_probability): Use the new FIRST and LAST fields
7741 of the loop descriptor rather than HEADER and LATCH. Also added
7742 missing break statements as well making some coding style modifications
7743 as suggested by Michael Hayes.
7745 2000-01-28 Richard Henderson <rth@cygnus.com>
7747 * flow.c (find_basic_blocks): Remove do_cleanup argument.
7748 Break out that code ...
7749 (cleanup_cfg): ... here.
7750 (commit_one_edge_insertion): Detect a return instruction being
7751 emitted to an edge. Emit a barrier following; clear fallthru.
7752 (commit_edge_insertions): Verify CFG consistency.
7753 * function.c (expand_function_start): Kill unused variable.
7754 (expand_function_end): Likewise.
7755 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7756 to insert the epilogue.
7758 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7759 (delete_null_pointer_checks): Likewise.
7760 * output.h: Likewise.
7761 * reg-stack.c (reg_to_stack): Likewise.
7762 * toplev.c (rest_of_compilation): Likewise. Run
7763 thread_prologue_and_epilogue_insns after rebuilding the CFG.
7765 2000-01-28 Richard Henderson <rth@cygnus.com>
7767 * Makefile.in (flow.o): Revert 24 Jan change.
7768 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
7769 FUNCTION_VALUE result to DECL_RESULT's mode.
7771 * haifa-sched.c (schedule_insns): Don't recompute reg info
7774 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
7776 * configure.in: Make --enable-cpplib the default.
7777 * configure: Regenerate.
7778 * gcc.dg/990119-1.c: No longer expected to fail.
7780 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
7782 * jump.c (jump_optimize_1): Delete an optimization that is also done
7783 by merge_blocks in flow.
7785 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7787 * diagnostic.c (build_message_string, output_printf,
7788 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7789 (build_location_prefix): Fix non-literal format string.
7791 2000-01-27 Richard Henderson <rth@cygnus.com>
7793 * alpha.md (trunctfsf2): New.
7795 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
7797 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7799 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7801 * cppinit.c (cpp_handle_option): Recognize C++ comments under
7803 * cpplib.c (skip_block_comment, skip_line_comment): Split code
7805 (skip_comment) ... here. Permit C++ comments in system
7806 headers always. Warn about C++ comments in user code under
7807 -std=gnu89 -pedantic.
7808 (copy_comment): Use skip_comment.
7809 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
7811 (consider_directive_while_skipping, do_else, do_endif): Call
7812 validate_else unconditionally.
7813 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
7814 text after the conditional in a system header.
7815 * cpplib.h (struct cpp_buffer): Add flag
7816 warned_cplusplus_comments.
7818 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
7820 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
7821 Use unshare_all_rtl_1.
7822 (unshare_all_rtl_again): New function.
7823 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
7825 * function.c (purge_addressof_1): Use unshare_all_rtl_again
7826 rather than resetting the 'used' flags ourself.
7828 * toplev.c (rest_of_compilation): Add current_function_decl
7829 to the unshare_all_rtl call.
7830 * tree.h: Prototype unshare_all_rtl.
7831 * rtl.h: Prototype unshare_all_rtl_again here.
7833 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
7835 * genoutput.c (output_prologue): Include ggc.h in generated
7837 * Makefile.in (insn-output.o): Depends on ggc.h.
7839 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
7840 Hans-Peter Nilsson <hp@bitrange.com>
7842 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
7843 Remove redundant include of xm-ns32k.h.
7844 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
7845 Remove redundant include of xm-ns32k.h.
7846 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
7847 Remove redundant include of xm-ns32k.h.
7848 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
7850 * ns32k/ns32k.h: Update comment on multiply-add instructions.
7851 (TARGET_SWITCHES): Add documentation strings.
7852 (DWARF_FRAME_REGNUM): Override default definition.
7853 (REG_CLASS_CONTENTS): Add comments.
7854 (SUBSET_P): Format to reduce line length.
7855 (SMALL_REGISTER_CLASSES): Make a run time option.
7856 (GO_IF_NONINDEXED_ADDRESS): Reformat.
7857 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
7858 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
7859 (regclass_map): fix typo in comment.
7860 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
7861 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
7862 (trace, reg_or_mem_operand): Delete, unused function.
7863 (calc_address_cost): Small offsets are cheaper than large ones.
7864 (expand_block_move): Generate more efficient code when bytes is a
7865 known at compile time.
7866 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
7867 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
7868 instead of reg_or_mem_operand.
7870 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
7871 not general_operand. Similarly use "=rm" or stricter, not "=g".
7872 For input operands, use stricter constraints than "g" if not
7873 general_operand. Similarly use stricter predicate than
7874 "general_operand" when stricter constraints than "g" are present,
7875 except for matching constraints.
7876 (movstrsi): Use "memory_operand" for operands 0 and 1.
7877 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
7878 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
7879 not reg_or_mem_operand.
7880 (udivmoddisi4): Ditto.
7881 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
7882 Use nonimmediate_operand for operand 3, not register_operand.
7883 (udivmoddiqi4_internal): Use register_operand for operand 1, not
7886 2000-01-27 Fred Fish <fnf@be.com>
7888 * gthr-posix.h: Fix typo; compatibily -> compatibility.
7889 * gthr-single.h: Likewise.
7890 * gthr-solaris.h: Likewise.
7891 * gthr-vxworks.h: Likewise.
7892 * gthr-win32.h: Likewise.
7895 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7897 * cppinit.c: Add " (cpplib)" to end of string printed by
7900 2000-01-27 Richard Henderson <rth@cygnus.com>
7902 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
7903 testing for a signed comparison.
7904 (alpha_emit_floatuns): New.
7905 * alpha-protos.h: Declare it.
7906 * alpha.md (floatunsdisf2, floatunsdidf2): New.
7907 (extendsfdf2): Tidy.
7909 2000-01-27 Jakub Jelinek <jakub@redhat.com>
7911 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
7912 no -g option specifying debugging format, default to -gstabs+.
7914 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7916 * calls.c (special_function_p): New argument fork_or_exec.
7917 (expand_call): When profile_arc_flag is set and the function
7918 is in the fork_or_exec group, call __bb_fork_func first.
7919 * libgcc2.c, _bb module (__bb_fork_func): New function.
7920 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
7922 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
7923 * tree.h (special_function_p): Update prototype.
7925 2000-01-26 Richard Henderson <rth@cygnus.com>
7927 * alpha.c (alpha_split_tfmode_pair): New.
7928 * alpha-protos.h: Declare it.
7929 * alpha.md (abstf2, negtf2): New.
7930 (movtf insn): Add input G constraint.
7931 (movtf splitter): Use alpha_split_tfmode_pair.
7933 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7935 * i386/cygwin.h: PROTO -> PARAMS.
7937 2000-01-26 Jakub Jelinek <jakub@redhat.com>
7939 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
7940 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
7941 using _Qp_cmp/_Q_cmp and testing the return value.
7942 (print_operand): Call reverse_condition_maybe_unordered if
7943 we are handling CCFPmode or CCFPEmode.
7944 Handle ORDERED, UN* and LTGT comparisons.
7945 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
7946 if not TARGET_HARD_QUAD.
7947 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
7948 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
7949 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
7950 Adjust gen_b* calls so that they reflect return comparison of
7951 sparc_emit_float_lib_cmp.
7953 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7955 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
7956 incoming operands array is large enough for one more operand.
7957 (alpha_emit_xfloating_arith): Likewise.
7959 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
7961 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
7962 file with one line and no trailing newline.
7963 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
7964 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
7965 checking if the match is on the line.
7966 * fixinc/gnu-regex.c: Provide regerror not __regerror.
7968 2000-01-25 Richard Henderson <rth@cygnus.com>
7970 * sparc.c (output_cbranch): Fix accidental squashing of the
7971 fp branch pre-delay nop.
7973 2000-01-25 Richard Henderson <rth@cygnus.com>
7975 * tree.def (UNNE_EXPR): Remove.
7976 * c-typeck.c (build_binary_op): Don't handle it.
7977 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
7979 * rtl.def (UNNE): Remove.
7981 * jump.c (reverse_condition): Update accordingly.
7982 (swap_condition): Likewise.
7983 (comparison_dominates_p): Handle unordered comparisons.
7984 (reverse_condition_maybe_unordered): New.
7985 * rtl.h (reverse_condition_maybe_unordered): Declare.
7987 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
7988 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
7989 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
7990 * sparc.md (bltgt): New.
7992 2000-01-25 Nick Clifton <nickc@redhat.com>
7994 * emit-rtl.c (emit_insn): Only check machine class insns for
7995 improper emission of a RETURN.
7997 2000-01-25 Richard Henderson <rth@cygnus.com>
7999 * Makefile.in (flow.o): Depend on $(EXPR_H).
8000 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8001 duplicate the structure of diddle_return_value for keeping regs live.
8003 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8005 * loop.c (current_loop_info): Delete.
8006 (consec_sets_invariant_p): Add loop argument, update callers.
8007 (get_condition_for_loop): Likewise.
8008 (count_nonfixed_reads, update_giv_derive): Likewise.
8009 (simplify_giv_expr, general_induction_var): Likewise.
8010 (consec_sets_giv, recombine_givs): Likewise.
8011 (move_movables): Delete loop_start and loop_end arguments,
8012 add loop argument, and update callers.
8013 (find_mem_givs, check_final_value): Likewise.
8014 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8015 (loop_invariant_p): Rename from invariant_p, add loop argument, and
8017 (basic_induction_var): Add loop argument, delete loop_level argument,
8019 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8020 add loop argument, and update callers.
8021 (find_splittable_regs, find_splittable_givs): Likewise.
8022 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8023 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8024 (biv_total_increment): Delete loop_start and loop_end arguments;
8026 (precondition_loop_p): Delete loop_start and loop_info arguments;
8028 * loop.h (get_condition_for_loop): Add loop argument.
8029 (biv_total_increment): Delete loop_start and loop_end arguments.
8030 (precondition_loop_p): Delete loop_start and loop_info arguments;
8032 (final_biv_value): Delete loop_start and loop_end arguments;
8034 (final_giv_value, back_branch_in_range_p): Likewise.
8036 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
8038 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8040 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
8042 * Makefile.in (c-gperf.h) : Change the "See" pointer to
8043 point to the new "generated_files" doc.
8045 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
8047 * config/fp-bit.c (_unord_f2): Fix typo.
8049 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
8051 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8052 c-typeck.c, objc/objc-act.c: Remove all references to obstack
8053 functions obsoleted by GC, such as push_obstacks_nochange,
8054 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8055 and code which existed only to decide whether or not to call
8056 them. Remove now-unused NESTED argument from start_function;
8057 all callers changed. Do not change behavior based on ggc_p.
8058 The use of the ixp_obstack in c-iterate.c and the util_obstack
8059 in objc/objc-act.c remain; these are not obsoleted by garbage
8061 * c-tree.h: Update prototype for start_function.
8063 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8065 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
8067 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8070 2000-01-25 Richard Henderson <rth@cygnus.com>
8072 * sparc-protos.h (select_cc_mode): Declare.
8073 * sparc.c (select_cc_mode): New. Handle unordered compares.
8074 (output_cbranch): Always reverse via code change. Handle
8075 unordered compares. Factor tests and string updates.
8076 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8077 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8078 * sparc.md (bunordered, bordered): New.
8079 (bungt, bunlt, buneq, bunge, bunle): New.
8081 2000-01-25 Richard Henderson <rth@cygnus.com>
8083 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8084 * ggc-common.c (ggc_add_rtx_varray_root): New.
8085 (ggc_mark_rtx_varray): New.
8086 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
8087 functions down below ggc_mark_foo.
8088 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8090 2000-01-25 Richard Henderson <rth@cygnus.com>
8092 * alpha.c (secondary_reload_class): Don't allocate a secondary
8093 for integral mode memories into FLOAT_REGS. Rearrange the more
8094 complicated memory expression inward.
8096 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
8098 * inclhack.def: Fixes to play nicer with FreeBSD, and
8099 corrections to comments.
8100 (cxx_unready): Add select expression.
8101 (irix_sockaddr): Add bypass expression.
8102 (machine_ansi_h_va_list): New fix.
8103 (stdio_va_list): No need to edit _BSD_VA_LIST_.
8104 Split out addition of "#include <stdarg.h>" to...
8105 (stdio_stdarg_h): ... here.
8106 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
8107 to stdlib.h also. Do not munge _BSD_SIZE_T_.
8108 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8110 (ultrix_ifdef): Tighten up select expression.
8112 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
8113 re_ct and max_mach to avoid use of shell. Make printed names
8114 match names in inclhack.def. Use static copyright date.
8115 Don't count c_test and test expressions as requiring regex_t
8116 slots. Add some commentary.
8117 * inclhack.tpl: Do not include the 'This script contains N
8118 fixup scripts' line if PROGRAM is defined. Use static
8121 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
8123 * dwarf2out.c: include "varray.h", not dyn-string.h.
8124 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8125 (addr_const_to_string, addr_to_string): Lose.
8126 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8127 (struct dw_val_struct): val_addr is now an rtx.
8128 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8129 (used_rtx_varray): New varray.
8130 (dwarf2out_init): Initialize it.
8132 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8134 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8135 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8136 * Makefile.in (dwarf2out.o): Update dependencies.
8138 2000-01-24 Richard Henderson <rth@cygnus.com>
8140 * i386.c (i386_dwarf_output_addr_const): New.
8141 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8143 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8145 * dwarfout.c (output_mem_loc_descriptor): Likewise.
8146 * i386.c (i386_simplify_dwarf_addr): New.
8147 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8149 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
8151 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8152 TYPE_STUB_DECL is NULL.
8154 2000-01-24 Richard Henderson <rth@cygnus.com>
8156 * builtins.c (expand_tree_builtin): Move ...
8157 * c-common.c (expand_tree_builtin): ... here.
8159 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8161 * loop.h (LOOP_INFO): New accessor macro.
8162 * basic-block.h (struct loop): Rename field `info' to `aux'.
8163 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8164 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8165 * unroll.c (loop_iterations, unroll_loop): Likewise.
8167 2000-01-24 Christopher Faylor <cgf@cygnus.com>
8169 * config/i386/t-cygwin: Accomodate new winsup directory layout
8170 when searching for include files.
8172 2000-01-24 Richard Henderson <rth@cygnus.com>
8174 * rtl.def: Add unordered fp comparisions.
8175 * tree.def: Likewise.
8176 * tree.h: Add ISO C 9x unordered fp comparision builtins.
8178 * builtins.c (expand_tree_builtin): New function.
8179 * c-typeck.c (build_function_call): Use it.
8180 (build_binary_op): Support unordered compares.
8181 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8183 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8184 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8185 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8186 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8187 * jump.c (reverse_condition): Don't abort for UNLE etc, but
8189 (swap_condition): Handle unordered compares.
8190 (thread_jumps): Check can_reverse before reversing.
8191 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
8194 * optabs.c (can_compare_p): New argument CODE. Verify branch or
8195 setcc is present before acking for cmp_optab. Update all callers.
8196 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8197 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8198 * expr.c (expand_expr): Likewise. Support unordered compares.
8199 (do_jump, do_store_flag): Likewise.
8200 * expr.h (enum libfunc_index): Add unordered compares.
8202 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8203 (DPBIT_FUNCS): Add _unord_df.
8204 * config/fp-bit.c (_unord_f2): New.
8205 * fp-test.c (main): Try unordered compare builtins.
8207 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8208 * alpha.c (alpha_comparison_operator): Check mode properly.
8209 (alpha_swapped_comparison_operator): Likewise.
8210 (signed_comparison_operator): Likewise.
8211 (alpha_fp_comparison_operator): New.
8212 (alpha_emit_conditional_branch): Handle unordered compares.
8213 * alpha.h (PREDICATE_CODES): Update.
8214 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8215 (bunordered, bordered): New.
8217 2000-01-24 Richard Henderson <rth@cygnus.com>
8219 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8220 * alpha.md (movtf): New expander, insn, and splitter.
8222 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
8224 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8227 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
8229 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8230 (FIXED_REGISTERS, CALL_USED_REGISTERS,
8231 REG_ALLOC_ORDER): Add frame pointer
8232 (FRAME_POINTER_REGNUM): Set to 20
8233 (HARD_FRAME_POINTER_REGNUM): New macro.
8234 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8235 to HARD_FRAME_POINTER.
8236 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8237 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8238 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8239 (HI_REGISTER_NAMES): Add "frame".
8240 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8241 (debug_reg): Handle FRAME_POINTER_REGNUM.
8242 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8243 GENERAL_REGS and INDEX_REGS.
8244 * i386.c (SAVED_REGS_FIRST): new macro.
8245 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8246 (ix86_decompose_address, memory_address_length): Likewise.
8247 (regclass_map): Add frame pointer.
8248 (call_insn_operand): Handle frame_pointer_rtx.
8249 (reg_no_sp_operand): Likewise.
8250 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8251 (print_operand, legitimize_pic_address): Fix formating.
8252 (ix86_compute_frame_size): Make static, update prototype, new
8253 parameters padding1, padding2, use ix86_nsaved_regs, use
8254 stack_alignment_needed.
8255 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8256 to HARD_FRAME_POINTER_REGNUM conversions.
8257 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8258 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8259 (print_reg): Abort on FRAME_POINTER_REGNUM
8261 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
8263 * i386.h (PREDICATE_CODES): Add aligned_operand.
8264 * i386.c (aligned_operand): New function.
8265 (ix86_aligned_p): Kill.
8266 * i386.md (movhi_1): Emit mov for aligned operands.
8267 (promoting peep2s): Use aligned_operand.
8269 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
8271 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8272 expression to allow underscores in macro names.
8273 (fix_char_macro_defines): Increment scanning pointer.
8275 2000-01-23 Richard Henderson <rth@cygnus.com>
8277 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8278 * alpha/osf5.h: New file.
8279 * configure.in (alpha-*-osf5): Add it to tm_file.
8281 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8283 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8284 (alpha_emit_xfloating_cvt, function_arg): Declare.
8285 * alpha.c (alpha_emit_conditional_branch): Call
8286 alpha_emit_xfloating_compare for TFmode compares.
8287 (alpha_lookup_xfloating_lib_func): New.
8288 (alpha_compute_xfloating_mode_arg): New.
8289 (alpha_emit_xfloating_libcall): New.
8290 (alpha_emit_xfloating_arith): New.
8291 (alpha_emit_xfloating_compare): New.
8292 (alpha_emit_xfloating_cvt): New.
8293 (print_operand): Add default abort case.
8294 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8295 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8296 (BIGGEST_ALIGNMENT): Increase to 128 bits.
8297 (RETURN_IN_MEMORY): True for TF/TCmode.
8298 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8299 (FUNCTION_ARG): Move to function_arg.
8300 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8301 (ASM_OUTPUT_LONG_DOUBLE): New.
8302 (ASM_OUTPUT_DOUBLE): Always output bits.
8303 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8304 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8305 (extenddftf2, trunctfdf2): New.
8307 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8309 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8310 * config/sparc/sol2.h: ... here.
8312 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8314 * basic-block.h (struct loops): New field `levels'.
8315 * flow.c (flow_loops_level_compute): Traverse all outer loops.
8316 (flow_loop_level_compute): Initialise level to 1.
8317 (flow_loops_find): Set loops->levels.
8318 (flow_loops_dump): Print loops->levels.
8320 2000-01-23 Richard Henderson <rth@cygnus.com>
8322 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8323 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8325 2000-01-23 Richard Henderson <rth@cygnus.com>
8327 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8328 * i386.h (DBX_REGISTER_NUMBER): Use them.
8329 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8330 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8331 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8332 * i386/sequent.h: Kill incorrect comment.
8334 2000-01-23 Mark Mitchell <mark@codesourcery.com>
8336 * ggc-page.c (struct page_entry): Make `context_depth' an
8338 (struct globals): Likewise.
8340 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
8342 * loop.c (check_dbra_loop): When checking a loop for
8343 reversability, check the source of any stores to ensure
8344 they don't depend on an initial value.
8346 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8348 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8350 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
8352 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8353 'pz_scan' into scope of entire function. Only affects
8354 compiles with -DDEBUG.
8356 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8358 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8359 section naming to that prior to 2000-01-07 patch.
8360 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8361 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8362 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8363 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8364 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8366 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
8368 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8371 2000-01-21 Jim Wilson <wilson@cygnus.com>
8373 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8374 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8376 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8378 * cpphash.c (change_newlines): Delete function.
8379 (struct argdata): Delete 'newlines' and 'use_count' fields.
8380 (macroexpand): Remove code referencing those fields.
8382 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8384 * loop.c (loops_info): New variable.
8385 (loop_optimize): Allocate loops->array and free it on exit.
8386 Allocate memory for loops_info and assign to each loop,
8388 (find_and_verify_loops): Do not allocate loops->array.
8390 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8392 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8394 2000-01-21 Jakub Jelinek <jakub@redhat.com>
8396 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8397 pseudos if expanded after first flow.
8398 (movdi_pic_label_ref): Likewise.
8400 2000-01-20 Richard Henderson <rth@cygnus.com>
8402 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8404 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
8406 * Makefile.in (fixinc.sh): Depend on specs.
8407 * fixinc/Makefile.in: Add rule to create machname.h.
8408 (fixlib.o): Depend on machname.h.
8409 * fixinc/fixtests.c (machine_name): New test.
8410 * fixinc/fixfixes.c (machine_name): New fix.
8411 * fixinc/fixlib.c (mn_get_regexps): New helper function for
8412 the machine_name test and fix.
8413 * fixinc/fixlib.h: Prototype it.
8414 * fixinc/inclhack.def (machine_name): Use the C test and fix.
8415 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8417 * gcc.c (do_spec_1) [case P]: Take care not to create
8418 identifiers with three leading or trailing underscores.
8420 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8421 (fixincl): Don't specify libraries twice on link line.
8422 (gnu-regex.o): Remove special rule.
8423 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8424 defined by config.h. Do not define _REGEX_RE_COMP.
8425 (regcomp): Allocate and initialize a fastmap.
8426 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8428 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
8430 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8432 2000-01-19 Richard Henderson <rth@cygnus.com>
8434 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8435 arguments with BB. Update all callers. Tidy line wrapping.
8437 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
8439 * emit-rtl.c (try_split): Return last_insn if we split the
8442 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
8444 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8445 (ix86_initial_elimination_offset): Declare.
8446 * i386.c (ix86_nsaved_regs): Break out from ...
8447 (ix86_can_use_return_insn_p): ... here.
8448 (ix86_emit_save_regs): Break out from ...
8449 (ix86_expand_prologue): ... here.
8450 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8452 (ix86_expand_epilogue): ... here.
8453 (ix86_compute_frame_size): Make static, add prototype.
8454 (ix86_initial_elimination_offset): Break out from ...
8455 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8457 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8459 * recog.h (OUT_FCN): Delete.
8461 * vax.md: Call `get_insn_template' instead of OUT_FCN.
8463 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8465 * cppalloc.c: PROTO -> PARAMS.
8466 * cpperror.c: Likewise.
8467 * cppfiles.c: Likewise.
8468 * cpplib.c: Likewise.
8469 * cpplib.h: Likewise.
8471 * config/arm/arm-protos.h: PROTO -> PARAMS.
8472 * config/arm/arm.c: Likewise.
8473 * config/c4x/c4x.c: Likewise.
8474 * config/fr30/fr30-protos.h: Likewise.
8475 * config/nextstep.c: Likewise.
8476 * config/pa/pa.c: Likewise.
8477 * config/pj/pj.c: Likewise.
8478 * config/rs6000/rs6000.c: Likewise.
8479 * config/v850/v850-protos.h: Likewise.
8480 * config/v850/v850.c: Likewise.
8482 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8484 * i370-protos.h: New file.
8486 * i370.c: Include tm_p.h. Fix compile time warnings.
8488 * i370.h: Move prototypes to i370-protos.h. Fix compile time
8491 * i370.md: Likewise.
8493 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8495 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8496 (target_isinf, target_isnan, eisnan): Mark parameter with
8498 (eiisinf): Wrap in INFINITY.
8499 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8500 (ibmtoe): Remove unused variable `rndsav'.
8502 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8504 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8505 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8507 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
8509 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8510 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8511 (fix_char_macro_defines, fix_char_macro_uses): New functions.
8513 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8514 Recognize Emacs mode markers also.
8515 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8516 C++ comments in C++ headers. Call is_cxx_header only if
8519 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8521 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8522 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8523 ... these, which use the new C fixes.
8524 (math_exception): Escape literal '+' in bypass expression.
8526 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8529 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8531 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8534 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8536 * loop.c (loop_optimize): Allocate loop_info structure for each loop
8537 prior to calling scan_loop.
8539 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8541 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8542 (split_branches, calc_live_regs): Likewise.
8544 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8546 * sh.md (fpu_single, fp_mode): New attributes.
8548 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8550 * loop.c (current_loop_info): Renamed from loop_info_data
8551 and changed to a pointer.
8552 (loop_optimize): Allocate loop_info structure for each loop
8553 and initialise to zero.
8554 (scan_loop): Set current_loop_info.
8556 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8559 2000-01-19 Richard Henderson <rth@cygnus.com>
8561 * stupid.c: Die die die.
8562 * Makefile.in (OBJS): Remove stupid.o.
8563 (stupid.o): Likewise.
8565 * except.c (emit_eh_context): Don't emit USEs for stupid.
8566 * explow.c (probe_stack_range): Likewise.
8567 * flags.h (obey_regdecls): Remove.
8568 * flow.c (find_basic_blocks): Don't run try_merge_blocks
8569 when not optimizing.
8570 (life_analysis): Limit data collection when not optimizing.
8571 (mark_regs_live_at_end): Always mark the return value registers.
8572 (mark_used_regs): Remove dummy RETURN case.
8573 (print_rtl_with_bb): Don't consult obey_regdecls.
8574 * function.c (use_variable, use_variable_after): Remove.
8575 (assign_parms): Consult optimize not obey_regdecls.
8576 (expand_function_start): Don't emit USEs for stupid.
8577 (expand_function_end): Likewise.
8578 * global.c (build_insn_chain): Export.
8579 * integrate.c (expand_inline_function): Kill return-value USE
8581 * jump.c (jump_optimize_1): Do simple jump optimizations and
8582 dead code elimination.
8583 (calculate_can_reach_end): Remove check_deleted argument.
8584 (delete_insn): Patch out insns even when not optimizing.
8585 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8586 * rtl.h (use_variable, use_variable_after): Remove declarations.
8587 (build_insn_chain): Declare.
8588 * stmt.c (expand_value_return): Don't emit USEs for stupid.
8589 (expand_end_bindings): Likewise.
8590 (expand_decl): Likewise. Consult optimize not obey_regdecls.
8591 * toplev.c (obey_regdecls): Remove.
8592 (rest_of_compilation): Don't set it. Kill stupid in favour of
8593 flow1, local-alloc, and reload.
8594 (main): Don't set obey_regdecls.
8596 * config/nextstep.c (handle_pragma): Likewise.
8598 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8600 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8602 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8604 * alpha-protos.h: PROTO -> PARAMS.
8605 * alpha.c: Likewise.
8607 * h8300.c: Likewise.
8608 * i386-protos.h: Likewise.
8610 * m32r-protos.h: Likewise.
8613 * mips.md: Likewise.
8614 * gmon-sol2.c: Likewise.
8615 * sparc.c: Likewise.
8617 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8619 * ns32k-protos.h: New file.
8621 * ns32k.c: Fix compile time warnings.
8623 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
8626 * ns32k.md: Likewise.
8628 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8630 * vax-protos.h: New file.
8632 * vax.c: Fix compile time warnings.
8634 * vax.h: Move prototypes to vax-protos.h. Fix compile time
8639 * vaxv.md: Likewise.
8641 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8643 * romp-protos.h: New file.
8645 * romp.c: Fix compile time warnings.
8647 * romp.h: Move prototypes to romp-protos.h. Fix compile time
8650 * romp.md: Likewise.
8652 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8654 * we32k-protos.h: New file.
8656 * we32k.c: Fix compile time warnings.
8658 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
8661 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8663 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8665 * except.c (eh_regs): Likewise.
8667 * final.c (output_operand): Likewise.
8669 * fold-const.c (target_isinf, target_isnan): Likewise.
8671 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
8673 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8674 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8676 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8678 (clrstrsi): Rewrite.
8679 (strsethi, strsetqi): New expanders.
8680 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8681 (cmpstrsi): Emit compare insn before cmpstrsi_1
8682 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8683 (strlensi_1): Likewise.
8684 (cmpstrsi_1): Likewise; do not output compare.
8685 (strlen expander): Do not unroll when optimizing for size.
8686 (*subsi3_carry): Rename to subsi3_carry
8687 (addqi3_cc): New pattern.
8688 * i386.h (processor_costs): Add move_ratio field.
8689 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8690 * i386.c (*_cost): Set move_ratio.
8691 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8692 (x86_expand_strlensi_1): Rewrite the main loop.
8694 2000-01-17 Richard Henderson <rth@cygnus.com>
8696 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8697 * cse.c (find_comparison_args, fold_rtx): Likewise.
8698 * integrate.c (subst_constants): Likewise.
8699 * loop.c (get_condition): Likewise.
8701 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8703 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8705 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8707 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8708 (RESTORE_WARN_FLAGS): Unpack it.
8709 Change semantic type of extension to ttype.
8710 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8711 * c-parse.y, c-parse.c, objc/objc-parse.y,
8712 objc/objc-parse.c: Regenerate.
8714 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
8716 * fixinc/fixlib.c: Add copyright notice.
8717 (compile_re): New function.
8718 * fixinc/fixlib.h: Prototype compile_re.
8720 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8721 Use compile_re to compile regular expressions.
8723 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8724 where the pattern matched.
8726 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8728 (ultrix_ansi_compat): Likewise.
8729 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8731 (interactv_add2, interactv_add3): Delete.
8732 (x11_sprintf): Don't use filename glob.
8733 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8736 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8738 * print-rtl.c: PROTO -> PARAMS.
8740 * reg-stack.c: Likewise.
8741 * resource.c: Likewise.
8742 * sdbout.h: Likewise.
8743 * simplify-rtx.c: Likewise.
8744 * stor-layout.c: Likewise.
8745 * stupid.c: Likewise.
8746 * xcoffout.c: Likewise.
8747 * xcoffout.h: Likewise.
8749 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8751 * toplev.c: PROTO -> PARAMS.
8752 * toplev.h: Likewise.
8755 * unroll.c: Likewise.
8756 * varasm.c: Likewise.
8757 * varray.c: Likewise.
8758 * varray.h: Likewise.
8760 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8762 * reload.c: PROTO -> PARAMS.
8763 * reload.h: Likewise.
8764 * reload1.c: Likewise.
8765 * reorg.c: Likewise.
8766 * resource.h: Likewise.
8769 * rtlanal.c: Likewise.
8770 * sbitmap.h: Likewise.
8771 * sdbout.c: Likewise.
8772 * stack.h: Likewise.
8774 * system.h: Likewise.
8776 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8778 * machmode.h: PROTO -> PARAMS.
8779 * mbchar.h: Likewise.
8780 * mips-tdump.c: Likewise.
8781 * mips-tfile.c: Likewise.
8782 * optabs.c: Likewise.
8783 * output.h: Likewise.
8784 * prefix.c: Likewise.
8785 * profile.c: Likewise.
8786 * protoize.c: Likewise.
8788 * recog.c: Likewise.
8789 * recog.h: Likewise.
8790 * regclass.c: Likewise.
8791 * regmove.c: Likewise.
8794 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8796 * ggc-common.c: PROTO -> PARAMS.
8797 * ggc-page.c: Likewise.
8798 * ggc-simple.c: Likewise.
8800 * global.c: Likewise.
8801 * graph.c: Likewise.
8802 * gthr-win32.h: Likewise.
8803 * haifa-sched.c: Likewise.
8804 * halfpic.h: Likewise.
8805 * integrate.c: Likewise.
8806 * integrate.h: Likewise.
8809 * local-alloc.c: Likewise.
8813 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8815 * genattr.c: PROTO -> PARAMS.
8816 * genattrtab.c: Likewise.
8817 * gencheck.c: Likewise.
8818 * gencodes.c: Likewise.
8819 * genconfig.c: Likewise.
8820 * genemit.c: Likewise.
8821 * genextract.c: Likewise.
8822 * genflags.c: Likewise.
8823 * gengenrtl.c: Likewise.
8824 * genopinit.c: Likewise.
8825 * genoutput.c: Likewise.
8826 * genpeep.c: Likewise.
8827 * genrecog.c: Likewise.
8829 2000-01-16 Mark Mitchell <mark@codesourcery.com>
8831 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
8833 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8835 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
8836 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
8837 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
8838 * configure, config.in: Rebuilt.
8840 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
8842 * config/i386/i386.md: Add peephole to merge successive stack
8845 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
8847 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
8848 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
8849 when walking backwards to find all the parameter loads when
8850 the basic block ends in a call.
8852 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8854 * loop.c (this_loop_info): Delete.
8855 (uid_loop): Add in place of uid_loop_num. All uses updated.
8856 (loop_number_exit_count): Delete and replace with entry in loop
8857 structure. All uses updated.
8858 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8859 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8860 (loop_outer_loop): Likewise.
8861 (loop_invalid, loop_number_exit_labels): Likewise.
8862 (loop_used_count_register): Delete and replace with entry in
8863 loop_info structure.
8864 (find_and_verify_loops): Add loops argument.
8865 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
8866 loop_end, etc. arguments with loop structure pointer. All callers
8868 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
8869 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
8870 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
8871 (insert_bct): Likewise.
8872 (basic_induction_var): New argument level.
8873 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
8874 vtop, and cont. Add used_count_register.
8875 (uid_loop): Delete declaration.
8876 (loop_number_exit_count): Likewise.
8877 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8878 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8879 (loop_outer_loop, loop_used_count_register): Likewise.
8880 (loop_invalid, loop_number_exit_labels): Likewise.
8881 (unroll_loop): Replace loop_start and loop_end arguments
8882 with loop structure pointer.
8883 (loop_precondition_p, loop_iterations): Likewise.
8884 Include basic-block.h.
8885 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
8886 with loop structure pointer.
8887 (loop_precondition_p, loop_iterations): Likewise.
8888 * basic-block.h (struct loop): New entries vtop, cont,
8889 cont_dominator, start, end, top, scan_start, exit_labels,
8891 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
8893 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8895 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
8897 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
8899 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
8901 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8903 * pdp11-protos.h: New file.
8905 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
8908 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
8911 * pdp11.md: Likewise.
8915 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8917 * mn10300-protos.h: New file.
8919 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
8922 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
8925 * mn10300.md: Likewise.
8927 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8929 * mn10200-protos.h: New file.
8931 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
8934 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
8937 * mn10200.md: Likewise.
8939 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8941 * h8300-protos.h: New file.
8943 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
8946 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
8949 * h8300.md: Likewise.
8951 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8953 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
8954 (asm_emit_uninitialised): Likewise.
8956 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
8958 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
8959 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
8961 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8963 * config/mips/mips.c (override_options): Don't turn on extra
8964 alignment for mips16.
8966 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8968 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
8969 eabi, and make sure queued POSTINCREMENT rtl is emitted at
8972 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8974 * builtins.c (PAD_VARARGS_DOWN): Define.
8975 (std_expand_builtin_va_arg): Use the above macro.
8976 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
8977 * tm.texi (Register Arguments): Document the above macro.
8979 2000-01-14 Nick Clifton <nickc@cygnus.com>
8981 * emit-rtl.c (emit_insn): If checking is enabled, make sure
8982 that this function has not been used to emit a jump
8985 * jump.c (return_jump_1): Cope with being passed a null rtx.
8987 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8989 * eh-common.h: PROTO -> PARAMS.
8990 * emit-rtl.c: Likewise.
8991 * errors.c: Likewise.
8992 * errors.h: Likewise.
8993 * except.c: Likewise.
8994 * except.h: Likewise.
8995 * explow.c: Likewise.
8996 * expmed.c: Likewise.
8999 * final.c: Likewise.
9000 * fix-header.c: Likewise.
9002 * fold-const.c: Likewise.
9003 * function.c: Likewise.
9004 * function.h: Likewise.
9006 * gcov-io.h: Likewise.
9010 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9012 * sh-protos.h: New file.
9014 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9015 Add static prototypes. Fix compile time warnings.
9017 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
9021 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9023 * arc-protos.h: New file.
9025 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
9028 * arc.h: Move prototypes to arc-protos.h. Fix compile time
9033 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9035 * dsp16xx-protos.h: New file.
9037 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
9040 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
9043 * dsp16xx.md: Likewise.
9045 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9047 * convex-protos.h: New file.
9049 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
9052 * convex.h: Move prototypes to convex-protos.h. Fix compile time
9055 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9057 * elxsi-protos.h: New file.
9059 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
9062 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
9065 * elxsi.md: Likewise.
9067 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
9069 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9070 case for moving from HI/LO/HI_LO_REG. This makes the behavior
9071 match the comment for MIPS16.
9073 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
9075 * flow.c (split_edge): Do not call set_block_for_insn if we
9076 do not have a basic_block_for_insn structure.
9078 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9079 and destination functions are 32bit aligned within the trampoline.
9080 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9081 (TRAMPOLINE_ALIGNMENT): Define.
9083 * cse.c (cse_insn): When changing (set (pc) (reg)) to
9084 (set (pc) (label_ref)), verify the change creates a valid insn.
9086 * fr30.c (call_operand): Tighten and rework to match rules for
9087 call RTL expressions.
9088 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9089 * fr30.md (call patterns): Improve constraints.
9091 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
9093 * fr30.c (fr30_expand_epilogue): Revert last change.
9094 Use emit_jump_insn for the return insn.
9096 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
9097 Stan Cox <scox@cygnus.com>
9099 * predict.c: New file. Preliminary infrastructure work for static
9100 branch prediction and basic block reordering.
9101 * basic-block.h: Add prototype for estimate_probability.
9102 * Makefile.in: Add rules for predict.o.
9104 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
9106 * fixincludes (va_list): Use __not_va_list__ for the dummy.
9107 * fixinc/*: Likewise.
9109 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9111 * cccp.c: PROTO -> PARAMS.
9113 * collect2.c: Likewise.
9114 * combine.c: Likewise.
9115 * convert.h: Likewise.
9117 * dbxout.c: Likewise.
9118 * dbxout.h: Likewise.
9119 * diagnostic.c: Likewise.
9120 * doprint.c: Likewise.
9121 * dwarf2out.c: Likewise.
9122 * dwarf2out.h: Likewise.
9123 * dwarfout.c: Likewise.
9124 * dwarfout.h: Likewise.
9125 * dyn-string.h: Likewise.
9127 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9129 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9130 macro conditionals guarding use.
9132 * dwarf2out.c: Include "tm_p.h".
9134 * function.c (locate_and_pad_parm): Mark parameter with
9136 (expand_function_end): Likewise for variable `context'.
9138 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9140 2000-01-13 Nick Clifton <nickc@cygnus.com>
9142 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9143 register to prevent compile time warnings.
9145 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
9147 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9148 to avoid -Wtraditional warning.
9150 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9152 * 1750a-protos.h: New file.
9154 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
9157 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
9160 * 1750a.md: Likewise.
9162 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9164 * a29k-protos.h: New file.
9166 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
9169 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
9172 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9174 * clipper-protos.h: New file.
9176 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
9179 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
9182 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9184 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9186 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
9188 * configure.in (--enable-new-gxx-abi): New option.
9189 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9190 * Makefile.in (GXX_ABI_FLAG): New variable.
9191 * configure: Regenerate.
9193 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9195 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9196 * tm.texi (FORCE_STRUCT_BLK): Document.
9197 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9199 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
9201 * config/ns32k/ns32k.md: Revert Jan 9 change.
9203 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9204 to a mode-test, if the predicate is address_operand.
9206 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
9208 * combine.c (if_then_else_cond): Be careful about what kinds
9209 of RTL expressions are passed to operand_subword.
9211 * flow.c (split_edge): If we have to insert a new jump, make
9212 sure to associate it with a basic block.
9214 * flow.c (commit_one_edge_insertion): A block with one successor
9215 can end in a JUMP_INSN that is not a simplejump.
9217 2000-01-12 Robert Lipe <robertl@sco.com>
9219 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9220 (BUILD_VA_LIST_TYPE): Define.
9221 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9224 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
9226 * cccp.c (do_pragma): Add cast to (char *).
9228 2000-01-12 Richard Henderson <rth@cygnus.com>
9229 Fred Fish <fnf@be.com>
9230 Jason Merrill <jason@cygnus.com>
9232 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9233 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9234 * i386/beos-elf.h, i386/beos-pe.h: New files.
9236 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9237 * cross-make (SYSTEM_HEADER_DIR): Define using
9238 CROSS_SYSTEM_HEADER_DIR.
9240 * gcc.c (LIBRARY_PATH_ENV): Provide default.
9241 (process_command): Use it.
9242 (main): Likewise. Kill trailing = from env vars.
9243 (build_search_list): Put it back.
9244 * collect2.c (main): Use LIBRARY_PATH_ENV.
9246 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9247 * toplev.c: Use NEED_DECLARATION_ENVIRON.
9249 * tm.texi (Frame Layout): Document SMALL_STACK.
9250 * c-common.c (c_common_nodes_and_builtins): Check it.
9252 * system.h: Undef alloca after including glibc's <stdlib.h>,
9253 if USE_C_ALLOCA is defined.
9255 * gcc.c (set_input): New fn.
9256 (main): After all input files are compiled, reset the input file
9259 * aclocal.m4 (rindex, index): If already defined, don't attempt
9262 * ginclude/varargs.h: (__va_list__): Define ifndef.
9263 * ginclude/stdarg.h: Likewise.
9265 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9266 instead of unsigned char.
9268 * hash.h (true, false, boolean): Undef before enum.
9270 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9271 proper type of "HOST_WIDE_INT *", rather than their natural type of
9272 "unsigned HOST_WIDE_INT *".
9274 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9276 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9278 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9280 * regclass.c (choose_hard_reg_mode): Likewise.
9282 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9284 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9286 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9288 * c-common.c: PROTO -> PARAMS.
9289 * c-common.h: Likewise.
9290 * c-decl.c: Likewise.
9291 * c-iterate.c: Likewise.
9292 * c-lang.c: Likewise.
9293 * c-lex.c: Likewise.
9294 * c-lex.h: Likewise.
9295 * c-parse.in: Likewise.
9296 * c-pragma.c: Likewise.
9297 * c-pragma.h: Likewise.
9298 * c-tree.h: Likewise.
9299 * c-typeck.c: Likewise.
9300 * objc/objc-act.c: Likewise.
9301 * objc/objc-act.h: Likewise.
9303 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9305 * m88k-protos.h: New file.
9307 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
9310 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
9312 * m88k.md: Likewise.
9314 * tekXD88.h: Likewise.
9316 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9318 * m68k-protos.h: New file.
9320 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
9323 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
9325 * mot3300.h: Likewise.
9327 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
9329 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9331 (extract_bitlist): Declare bitlen.
9333 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
9335 * cccp.c: Accept and ignore -lang-fortran.
9337 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9338 qualifiers don't match at any level of pointerness.
9340 2000-01-12 Robert Lipe <robertl@sco.com>
9342 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9344 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
9346 * reload1.c (reload_reg_unavailable): New static variable.
9347 (reload_reg_free_p): Test it.
9348 (reload_reg_free_for_value_p): Test it instead of
9350 (choose_reload_regs_init): Compute it.
9352 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
9354 * reorg.c (fill_slots_from_thread): Check modified_in_p
9357 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
9359 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9360 these nodes even if INTERNALS is not set.
9362 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
9364 * gcse.c (delete_null_pointer_checks_1): Cope when
9365 get_condition cannot determine the condition.
9367 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
9369 * toplev.h (set_message_length): Declare.
9371 * diagnostic.c (obstack_chunk_alloc): Define macro.
9372 (obstack_chunk_free): Likewise.
9373 (struct output_buffer): New data structure.
9375 (output_maximum_width): New variable.
9376 (doing_line_wrapping, set_message_length, init_output_buffer,
9377 get_output_prefix, output_space_left, emit_output_prefix,
9378 output_newline, output_append, output_puts, dump_output,
9379 vbuild_message_string, build_message_string, build_location_prefix,
9380 voutput_notice, output_printf, line_wrapper_printf,
9381 vline_wrapper_message_with_location): New functions. Implement
9382 automatic line wrapping.
9383 (v_message_with_decl): Make it handle automatic line wrapping.
9384 (v_error_with_file_and_line): Likewise.
9385 (v_warning_with_file_and_line): Likewise.
9386 (announce_function): Likewise.
9387 (default_print_error_function): Likewise.
9389 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
9391 * cpplib.h (struct cpp_options): Change lang_asm to char.
9393 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9394 done in cpp_handle_option now.
9395 (initialize_builtins): Take out special case code used only by
9397 (cpp_handle_option): Turn off trigraphs and trigraph warnings
9398 if -traditional. Recognize -lang-fortran and set
9399 lang_fortran, also turn off cplusplus_comments.
9400 (print_help): Document -lang-fortran.
9401 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9402 lang_asm. Ignore all directives other than `# 123 "file"' if
9404 (cpp_get_token): If -traditional, don't recognize directives
9405 unless the # is in column 1.
9406 (parse_string): If lang_fortran or lang_asm, silently
9407 terminate strings ('' or "") at end of line.
9408 Remove unnecessary braces.
9410 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9411 Richard Henderson <rth@cygnus.com>
9413 * resource.c (mark_referenced_resources): Mark a set strict_low_part
9415 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9416 strict_low_part when possible.
9418 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9420 * alias.c: PROTO -> PARAMS.
9421 * basic-block.h: Likewise.
9422 * bitmap.c: Likewise.
9423 * bitmap.h: Likewise.
9424 * builtins.c: Likewise.
9425 * c-aux-info.c: Likewise.
9426 * caller-save.c: Likewise.
9427 * calls.c: Likewise.
9429 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9431 * Makefile.in (toplev.o): Depend on regs.h.
9433 * output.h (tdesc_section): Prototype.
9435 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9437 * sdbout.c: Include "tm_p.h".
9439 * toplev.c: Include "regs.h".
9441 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
9443 * unroll.c (unroll_loop): Add EH support.
9445 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9447 * pa-protos.h: New file.
9449 * pa.c: Include recog.h and tm_p.h.
9450 (compute_zdepwi_operands, compute_movstrsi_length,
9451 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9452 find_addr_reg, import_milli): Add static prototypes.
9453 (pa_cpu_string, pa_arch_string): Constify a char*.
9454 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9455 (read_only_operand): Add argument `mode'.
9456 (singlemove_string, output_move_double, output_fp_move_double,
9457 output_block_move, output_and, output_ior, output_ascii,
9458 remove_useless_addtr_insns, milli_names, output_mul_insn,
9459 output_div_insn, output_mod_insn, output_arg_descriptor,
9460 output_cbranch, output_bb, output_bvb, output_dbra, ,
9461 output_millicode_call, output_call, hppa_encode_label,
9462 output_parallel_movb, output_parallel_addb): Constify a char*.
9463 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9464 (output_parallel_addb): Remove extra arg to `constrain_operands'
9466 * pa.h: Move all prototypes to pa-protos.h.
9467 (pa_cpu_string, pa_arch_string): Constify a char*.
9468 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9470 * pa.md: Call `function_label_operand' with mode argument.
9471 Likewise for `read_only_operand'.
9472 Fix nesting of parens in call to `symbolic_operand'.
9474 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9476 * i860-protos.h: New file.
9478 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
9481 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
9483 * i860.md: Likewise.
9485 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
9487 * i386.md (movstrsi expander): Rewrite.
9488 (movstrsi_1 insn): Deleted.
9489 (strmovhi, strmovqi expander): New expanders.
9490 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9491 * i386.c (x86_single_stringop): New global variable.
9492 * i386.h (x86_single_stringop): Declare.
9493 (TARGET_SINGLE_STRINGOP): New macro.
9495 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
9497 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9498 integer vararg POSTINCREMENT before the destination of the jump
9499 for the hard fp case.
9500 (function_arg_pass_by_reference): Pass a copy of CUM to
9503 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9504 for CONSTANT_ADDRESS_P above while loop for subreg.
9506 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
9508 * flow.c (propagate_block): When a prologue/epilogue insn
9509 is marked dead, unconditionally clear libcall_is_dead and
9510 insn_is_dead, and only dump rtl if warnings aren't being
9513 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
9515 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9516 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9517 (FIXED_REGISTERS): Set dirflag as fixed.
9518 (CALL_USED_REGISTERS): Set dirflag as used.
9519 (REG_ALLOC_ORDER): Set dirflag as last one.
9520 (DIRFLAG_REG): New macro.
9521 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9522 (HI_REGISTER_NAMES): Add dirflag.
9523 (DEBUF_PRINT_REG): Handle dirflag.
9524 * i386.md (type attribute): New cld and str types.
9525 (length_opcode attribute): Set cld and str to 1.
9526 (memory attribute): Set str to unknown - it is not clear from the
9528 (pent_np function unit): Prefixed string operations takes 12 cycles
9529 minimally; cld takes 2 cycles.
9530 (ppro_uops attribute): Str is "many" and cld is "few".
9531 (ppro_p0 unit): Handle cld here.
9532 (k6_alux unit): Handle cld and str types.
9533 (k6_load unit): It is ocupied by str opcodes.
9534 (k6_store unit): It is ocupied by str opcodes.
9535 (athlon_decode): Str is vector decoded.
9536 (athlon_ieu): Handle str and cld.
9538 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9539 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9540 cmpstrsi_nz_1 insn): Do not output cld instruction
9542 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
9544 * gcc.texi (G++ and GCC): Add Java and Chill.
9545 (Bug Critera): Don't list languages.
9547 * gcc.texi (Incompatibilities): No longer claim most C compilers
9550 * gcc.texi (G++ and GCC): Update other front-ends list.
9552 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
9554 * i386.c (ix86_expand_setcc): Fix typo.
9555 (ix86_expand_movcc): Similarly.
9557 * Band-aid until haifa's bitset implementation is nuked.
9558 * haifa-sched.c (extract_bitlst): New parameter for size of the
9559 bitset in bits. All callers changed. Avoid looking at undefined
9561 (edgeset_bitsize): New variable.
9562 (schedule_region): Initialize edgeset_bitsize.
9564 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9566 * Makefile.in (optabs.o): Depend on real.h
9567 (resource.o): Depend on insn-attr.h
9569 * builtins.c (result_vector): Wrap prototype in macro conditions
9570 governing definition and use.
9572 * c-common.c: Include tm_p.h.
9574 * c-lex.c: Likewise.
9576 * elfos.h: Constify a char*.
9578 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9579 (get_attr_length, shorten_branches, profile_after_prologue): Mark
9580 parameter with ATTRIBUTE_UNUSED.
9582 * fold-const.c (exact_real_inverse): Wrap variable `i' in
9585 * haifa-sched.c (schedule_insns): Mark parameter with
9588 * optabs.c: Include real.h.
9590 * real.h (ereal_atof): Add prototype arguments.
9592 * resource.c: Include insn-attr.h.
9594 * sdbout.c (sdbout_queue_anonymous_type,
9595 sdbout_dequeue_anonymous_types): Wrap in macro
9596 SDB_ALLOW_FORWARD_REFERENCES.
9597 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9600 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9602 * stupid.c: Include tm_p.h.
9604 * tree.c (real_value_from_int_cst): Mark parameter with
9607 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9609 * i960-protos.h: New file.
9611 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
9614 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
9616 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9618 * combine.c (expand_field_assignment): Do not discard SUBREGs
9619 while computing nonzero_bits.
9621 2000-01-09 Nick Clifton <nickc@cygnus.com>
9623 * config/arm/arm.c: Fix compile time warnings about signed vs
9625 * config/arm/arm.h: Fix compile time warnings about signed vs
9628 2000-01-09 Philip Blundell <philb@gnu.org>
9630 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9631 than `ldm' with only one register.
9632 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9635 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9638 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
9640 * config/ns32k/ns32k.md (load or push effective address): Operand 1
9643 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9645 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9646 assignment used as truth value.
9648 * function.c (assign_temp): Mark parameter `dont_promote' with
9649 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
9650 PROMOTE_FOR_CALL_ONLY.
9652 * genrecog.c (write_subroutine): Mark variable `operands' with
9655 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9658 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9659 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9661 * toplev.c (note_deferral_of_defined_inline_function): Likewise
9664 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9666 * config/c4x.h: Tidy up comments.
9667 * config/c4x.c: Likewise.
9669 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
9671 * fold-const.c (lshift_double, rshift_double): Handle
9672 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9674 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9676 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9677 in prepare_function_start().
9679 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
9681 * config/v850/v850.c (expand_epilogue): Interrupt functions no
9682 longer allocate extra stack for function calls.
9684 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9686 * config/c4x/c4x.md (*subqf3_set): Fix typo.
9688 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9690 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9692 2000-01-07 David Edelsohn <edelsohn@gnu.org>
9694 * rs6000.c (processor_target_table): Add power3 as alias for 630.
9695 * aix43.h: Revert Aug 2 change.
9696 (HAS_INIT_SECTION): Define, not visible yet.
9697 (LD_INIT_SWITCH): Define, not visible yet.
9698 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9700 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9702 * collect2.c (main): Expand ld2 size further.
9703 (export_object_lst): Cast assignment to avoid warning.
9704 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9705 (scan_prog_file, COFF): Do not collect initialization or
9706 finalization functions generated for entire shared object if
9707 init/fini support present.
9709 2000-01-07 Nick Clifton <nickc@cygnus.com>
9711 * config/elfos.h: Tidy up formatting of marcos. Make sure
9712 that .section directives are always prefixed by a tab.
9714 * config/svr4.h: Add #include "elfos.h" and remove duplicate
9717 2000-01-07 Matt Austern <austern@sgi.com>
9719 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9722 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
9724 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9726 (crtbegin.o, s-crtS): Likewise.
9728 2000-01-06 Richard Henderson <rth@cygnus.com>
9730 * alpha.md (adddi_2+1): Limit offset such that it will be
9731 loadable with a single ldah+lda pair.
9732 (adddi_2+2): Explicitly fail split if we can't make it work.
9734 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
9736 * protoize.c: Conditionally include unistd.h.
9737 (IS_SAME_PATH_CHAR): New macro.
9738 (IS_SAME_PATH): New macro.
9739 (CPLUS_FILE_SUFFIX): New macro.
9740 (cplus_suffix): New static variable.
9741 (is_abspath): New static function.
9742 (in_system_include_dir): Handle DOS style pathnames.
9743 (file_could_be_converted): Likewise.
9744 (file_normally_convertible): Likewise.
9745 (directory_specified_p): Likewise.
9746 (file_excluded_p): Likewise.
9747 (abspath): Likewise.
9748 (shortpath): Likewise.
9749 (referenced_file_is_newer): Likewise.
9750 (save_def_or_dec): Likewise.
9751 (do_processing): Likewise.
9753 (edit_file): Likewise. Use rename instead of link.
9754 (rename_c_file): Likewise. Don't rename syscalls file.
9755 (munge_compile_params): Define null device for DOS based systems.
9756 (process_aux_info_file): Use binary mode if appliable.
9757 (edit_file): Likewise.
9758 * invoke.texi (Running Protoize): Document C++ suffixes used.
9760 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9761 IS_DIR_SEPARATOR macros.
9762 * collect2.c: Likewise.
9763 * cppinit.c: Likewise.
9764 * dwarf2out.c: Likewise.
9767 * prefix.c: Likewise.
9769 * toplev.c: Likewise.
9770 * system.h: And move to here.
9772 * prefix.c (update_path): Fix typo in variable name.
9774 2000-01-06 Richard Henderson <rth@cygnus.com>
9776 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9777 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9778 (count_reg_sets_1, count_reg_references): Likewise.
9779 (flow_loops_level_compute): Start counting actual loop depth at 1.
9780 (flow_loops_find): Likewise.
9781 * local-alloc.c (update_equiv_regs): Likewise.
9782 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9784 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
9786 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9787 FIRST_PSEUDO_REGISTER
9788 * dwarf2out.c: Don't include frame.h
9789 * dwarfout.c: Likewise
9790 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9793 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
9795 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9798 * i386.c (movsf splitter): Fix typo in my last checkin.
9800 2000-01-05 Nick Clifton <nickc@cygnus.com>
9802 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
9803 own definition of this macro.
9804 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
9805 flag_data_sections or UNIQUE_SECTION_P are true.
9807 * tm.texi (UNIQUE_SECTION): Document that it can be called for
9808 unitialised data decls.
9810 * config/i386/winnt.c (i386_pe_unique_section): Cope with
9811 being called for uninitialised data.
9813 * config/i386/interix.c (i386_pe_unique_section): Cope with
9814 being called for uninitialised data.
9816 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
9817 for uninitialised data.
9819 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
9820 for uninitialised data.
9822 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
9823 for uninitialised data.
9825 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
9826 (UNIQUE_SECTION_P): Always generate a unique section if
9827 flag_data_sections is true.
9828 (UNIQUE_SECTION): Also generate unique sections for
9830 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
9831 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
9834 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9836 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
9839 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9841 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
9842 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
9843 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
9844 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
9845 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
9847 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
9849 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
9851 * c-decl.c (finish_enum): Simplify code to determine minimum and
9852 maximum values of the enum, and calculate the type. Remove check
9853 for FUNCTION_DECLs in the values list, which cannot happen. Replace
9854 the DECL_INITIAL of each enumeration constant with a copy converted
9855 to the enumeration type. When updating variant types, don't bother
9856 updating the type itself.
9858 * c-typeck.c (build_binary_op): Simplify conditional expressions
9859 when weeding out spurious signed-unsigned warnings. Add new
9860 spurious warning category: if the unsigned quantity is an enum
9861 and its maximum value fits in signed_type(result_type). Update
9863 (build_conditional_expr): Warn here if one alternative is signed
9864 and the other is unsigned.
9866 2000-01-05 Nick Clifton <nickc@cygnus.com>
9868 * config/fr30/fr30.h: Remove extraneous comments.
9870 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
9872 * reload1.c (choose_reload_regs): When disabling a reload, also
9873 set reload_spill_index to -1.
9875 2000-01-04 Joel Sherrill (joel@OARcorp.com>
9877 * configure.in (m68*-*-rtemscoff*): New target, formal name for
9879 (m68*-*-rtemself*): New target.
9880 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
9881 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
9882 (sparc*-*-rtemself*): New target.
9883 (sparc*-*-rtems*): Now elf not a.out.
9884 * config/i386/rtems.h: Include config/rtems.h.
9885 * config/i386/rtemself.h: Include config/rtems.h.
9886 * config/i960/rtems.h: Include config/rtems.h.
9887 * config/m68k/rtems.h: Include config/rtems.h.
9888 * config/m68k/rtemself.h: Include config/rtems.h.
9889 * config/mips/rtems64.h: Include config/rtems.h.
9890 * config/pa/rtems.h: Include config/rtems.h.
9891 * config/rs6000/rtems.h: Include config/rtems.h.
9892 * config/sh/rtems.h: Include config/rtems.h.
9893 * config/sh/rtemself.h: Include config/rtems.h.
9894 * config/sparc/rtems.h: Include config/rtems.h.
9895 * config/sparc/rtemself.h: Include config/rtems.h
9897 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
9899 * final.c (shorten_branches): Correctly compute length of
9900 asms without operands.
9902 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
9904 * configure.in: Add pj target.
9905 * configure: Regenerate.
9906 * config/pj: New directory.
9907 * config/pj/lib1funcs.S: New file.
9908 * config/pj/linux.h: New file.
9909 * config/pj/pj.c: New file.
9910 * config/pj/pj.md: New file.
9911 * config/pj/pjl.h: New file.
9912 * config/pj/t-pj: New file.
9913 * config/pj/xm-pj.h: New file
9915 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
9917 * toplev.c (rest_of_compilation): Run shorten-branches before
9920 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9922 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
9923 macros so that they're consistent with their names.
9924 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9925 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9927 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9929 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
9930 modified inadvertently.
9932 2000-01-04 Joel Sherrill <joel@OARcorp.com>
9934 * configure.in (v850*-*-rtems*): New target.
9935 * configure: Regenerate.
9936 * config/v850/rtems.h: New file.
9938 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
9940 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
9941 (__gthread_key_create): Likewise.
9942 (__gthread_key_dtor): Likewise.
9943 (__gthread_once): Fix logic.
9944 (__gthread_key_delete): Cast away constness.
9946 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
9947 * invoke.texi: Document.
9948 * i386/mingw32.h (CPP_SPEC): Use.
9949 (LIBGCC_SPEC): Likewise.
9950 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
9952 2000-01-04 David Edelsohn <edelsohn@gnu.org>
9954 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
9955 (HANDLE_PRAGMA_PACK): Undefine.
9956 (SLOW_UNALIGNED_ACCESS): Define.
9958 2000-01-04 David Edelsohn <edelsohn@gnu.org>
9960 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9961 to default definition.
9962 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
9963 (store_fixed_bit_field): Call macro with word_mode and alignment.
9964 (extract_bit_field): Call macro with relevant mode and alignment.
9965 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9966 to default definition.
9967 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
9969 (move_by_pieces_ninsns): Likewise.
9970 (clear_by_pieces): Likewise.
9971 (emit_push_insn): Likewise.
9972 (store_field): Call macro with relevant mode and alignment.
9973 (expand_expr): Likewise.
9974 (expand_expr_unaligned): Likewise.
9976 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
9977 (SLOW_UNALIGNED_ACCESS): Define.
9978 (CASE_VECTOR_MODE): Always use 32-bit offsets.
9979 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
9980 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
9981 (toc_section): Likewise and .toc pseudo-op.
9982 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
9984 (TEXT_SECTION_ASM_OP): Likewise.
9985 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
9988 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
9989 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
9990 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
9991 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
9992 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
9994 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
9996 * regclass.c: Revert my Jan 4 change to loop cost computation.
9998 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10000 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10003 2000-01-04 Stan Cox <scox@cygnus.com>
10005 * haifa-sched.c (build_control_flow): Change unreachable simple
10006 loop test to check if current block has only one predecessor.
10007 (find_rgns): Initialize degree. Use dest as degree index, not src.
10009 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10011 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10013 * calls.c (expand_call): Likewise for
10014 `old_stack_arg_under_construction'.
10016 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10018 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10021 * gcc.c (execute): Likewise for `ut' and `st'.
10023 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10025 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10027 * jump.c (jump_optimize_1): Likewise for `temp2'.
10029 * local-alloc.c (block_alloc): Likewise for `r1'.
10031 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10033 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10034 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10036 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10039 * reload.c (find_reloads): Likewise for `goal_alternative_number'
10040 and `goal_earlyclobber'.
10042 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10044 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10046 * stupid.c (stupid_life_analysis): Likewise for `chain'.
10048 * unroll.c (copy_loop_body): Likewise for `copy'.
10050 * varasm.c (output_constructor): Likewise for `byte'.
10052 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10054 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10055 all FP constants for constant->reg moves.
10056 (ix86_split_to_parts): Try to convert memory address into immediate
10057 when available in the constant pool.
10058 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10060 (LEGITIMATE_CONSTANT_P): Return 1.
10061 * i386.md (pushsf): New splitter to convert constant pool memory
10062 reference to immediate.
10063 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10066 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
10068 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10069 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10070 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10071 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10072 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10074 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
10076 * ginclude/stdbool.h: Support compilation as C++.
10078 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10080 * fold-const.c (make_range): Don't try to reverse an unbounded range.
10082 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
10084 * regclass.c (regclass): Properly compute loop_cost. Adjust
10087 * regclass.c: Fix minor whitespace problems.
10089 2000-01-03 Anthony Green <green@cygnus.com>
10091 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10092 Restore the pic register if required.
10094 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
10096 * c-common.c (format_char_info): Update comment.
10097 (check_format_info): Recognize 'z' modifier in the same way 'Z'
10098 was recognized. Emit warning for formats new in ISO C99 only
10099 if flag_isoc9x is not set.
10101 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
10103 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10105 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10107 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10108 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10109 (make_compound_operation): Choose cheaper alternative between
10110 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10112 * regclass.c (op_costs): Remove global variable.
10113 (record_reg_classes): New parameter "op_costs" and "reg_pref".
10114 (record_operand_costs): Break out from ...
10115 (scan_one_insn): ... here.
10116 (dump_regclass): Make dumps nicer.
10117 (regclass): Dump preferrences choosed and changes done during passes.
10119 2000-01-03 Jakub Jelinek <jakub@redhat.com>
10121 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10123 2000-01-03 Jakub Jelinek <jakub@redhat.com>
10125 * config/sparc/sparc.c (gen_df_reg): New function.
10126 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10127 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10128 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10129 movtf_cc_reg_sp64+1): Use it.
10131 2000-01-02 Mark Mitchell <mark@codesourcery.com>
10133 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10134 copied LABEL_DECLs.
10136 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
10138 * config/i386/i386.c (ix86_expand_unary_operator): Function
10139 definition made void.
10140 (ix86_expand_binary_operator): Update outdated preceding comment.
10141 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10144 * config/i386/i386.c (override_options): Fix option-name typo.
10146 2000-01-02 Mark Mitchell <mark@codesourcery.com>
10148 * system.h (CEIL): Define.
10149 * builtins.c (CEIL): Remove.
10150 * expmed.c (CEIL): Likewise.
10151 * expr.c (CEIL): Likewise.
10152 * stor-layout.c (CEIL): Likewise.
10154 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10156 * expr.c (store_constructor_field): Fix typo introduced with last
10159 2000-01-01 Mark Mitchell <mark@codesourcery.com>
10161 * tree.h (BINFO_N_BASETYPES): New macro.
10163 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
10165 * expmed.c (emit_store_flag): Prevent losing a pending stack
10166 adjust the same way we prevent losing queued increments.
10168 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10170 * function.c (update_temp_slot_address): Handle case where sum of
10171 temporary address plus offset in register is a valid address.
10173 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10175 * genrecog.c (change_state) Corrected typo.
10177 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10179 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10180 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10181 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10183 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
10185 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10186 case, expand GT comparisons correctly. Fix a comment before this
10189 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
10191 * dwarfout.c: Include "frame.h"
10192 * dwarf2out.c: Likewise.
10193 * Makefile.in (dwarfout.o): Depend on frame.h
10194 (dwarf2out.o): Likewise.
10196 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10198 Restore i386 binary compatibility in Dwarf EH info.
10199 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10200 value of FIRST_PSEUDO_REGISTER.
10201 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10202 (struct frame_state): Use DWARF_FRAME_REGISTERS.
10203 * dwarfout.c (output_reg_number): Ditto.
10204 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10205 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10207 1999-12-29 Bruce Korb <autogen@linuxbox.com>
10209 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10210 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10211 (<hack>_RE_CT): not needed
10212 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10213 rewritten to scan the file text once only
10214 "template<..." test added
10215 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10216 (is_cxx_header): declaration added
10217 * fixinc/fixtests.c(is_cxx_header): removed
10218 (apply_fix_p_t): removed
10219 (double_slash_test): is_cxx_header is only called once now
10220 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10221 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10222 within the templates.
10223 The borken spelling of "broken" was fixed.
10224 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10225 The default level depends on FIXINC_DEBUG.
10227 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10229 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10230 Otherwise provide a declaration for atexit.
10231 (init_dummy): Make sure dummy call to atexit is nevertheless
10232 called with correct number of args.
10234 * frame.c: Update comments referring to other files.
10236 * libgcc2.c: Likewise.
10238 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10240 * cse.c (free_element, get_element): Remove unused prototypes.
10242 * fold-const.c (extract_muldiv): Initialize variables `op0' and
10245 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10248 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
10250 * configure.in,configure: case arm for mn10200-*-* now sets
10251 float_format=i32 so that float.h will correctly claim "double"
10252 to be 32 bits. Ran autoconf to generate configure from .in file.
10254 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
10256 * pa.md (conditional zero): If op1 is a register, force it into
10257 the same register as op0.
10259 1999-12-28 Mark Mitchell <mark@codesourcery.com>
10261 * tree.h (BINFO_BASETYPES): Improve documentation.
10263 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10265 * configure.in (--enable-checking): Use a more portable `for'
10268 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10270 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10271 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10273 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10276 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10277 Delete descriptions.
10279 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10280 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10281 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10282 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10283 xm-svr4.h: Remove all instances of sys_siglist handling.
10285 1999-12-27 Jakub Jelinek <jakub@redhat.com>
10287 * config/sparc/sparc.md (cmp_zero_qi,
10288 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10289 cmp_zero_extendqidi2_andcc_set): New patterns.
10291 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
10293 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10294 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10295 (fpgnulib.c, xfgnulib.c): Add rules.
10296 * m68k/t-mot3300-gas: Likewise.
10298 1999-12-27 Ian Lance Taylor <ian@zembu.com>
10300 * configure.in: Avoid [[ by using test and changequote. Add
10301 changequote required by 1999-12-14 change.
10302 * configure: Rebuild.
10304 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
10306 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10308 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
10310 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10311 * flow.c (find_use_as_address): Likewise.
10312 * function.c (fixup_var_refs_1): Likewise.
10313 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10314 * jump.c (invert_exp, redirect_exp): Likewise.
10315 * loop.c (replace_call_address): Likewise.
10316 (count_nonfixed_reads): Likewise.
10317 * rtlanal.c (modified_between_p): Likewise.
10318 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10319 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10320 * unroll.c (remap_split_bivs): Likewise.
10322 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10324 * diagnostic.c (v_message_with_decl): Use .* format specifier
10325 instead of building the format specifier width manually.
10327 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10328 determining whether to provide a prototype. Remove the
10329 sys_siglist clause in the conditional.
10331 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10333 * fold-const.c (operand_equal_p): Use memcmp to compare string
10335 Suggested by D. J. Bernstein
10337 1999-12-17 Jakub Jelinek <jakub@redhat.com>
10339 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10340 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10342 * config/mips/mips.h (TARGET_64BIT): Likewise.
10343 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10344 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10345 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
10346 dsps. Give routines proper names if SI/DI modes are not used.
10347 * longlong.h: Use DWunion instead of DIunion.
10349 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
10351 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10352 GC_CHECKING, GC_ALWAYS_COLLECT.
10353 * configure.in: Allow --enable-checking with an argument
10354 listing check modes to enable.
10355 * config.in, configure: Rebuilt.
10356 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10357 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10358 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
10359 ENABLE_GC_ALWAYS_COLLECT.
10360 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10362 * tree.h, tree.c: Change ENABLE_CHECKING to
10363 ENABLE_TREE_CHECKING throughout.
10365 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10367 * fold-const.c (fold_truthop): Properly check for FP RHS.
10369 1999-12-24 Mark Mitchell <mark@codesourcery.com>
10371 * toplev.h (note_deferall_of_defined_inline_function): Declare.
10372 * toplev.c (note_deferral_of_defined_inline_function): New
10373 function, split out from ...
10374 (rest_of_compilation): ... here. Use it.
10376 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10378 * expr.c (store_constructor): Don't call clear_storage if size is
10381 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10383 * Makefile.in (toplev.o): Depend on loop.h.
10385 * dwarfout.c: Include tm_p.h.
10387 * emit-rtl.c (restore_emit_status): Mark parameter with
10390 * final.c (final_scan_insn): Likewise.
10392 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10393 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10394 flow_depth_first_order_compute, flow_loop_pre_header_find,
10395 flow_loop_tree_node_add, flow_loops_tree_build,
10396 flow_loop_level_compute, flow_loops_level_compute,
10397 flow_loop_outside_edge_p): Add prototypes.
10398 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10400 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10401 Mark with ATTRIBUTE_NORETURN.
10403 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10405 * local-alloc.c (no_conflict_p): Likewise.
10407 * loop.c (insert_bct): Hide definitions of variables with hidden
10409 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10411 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10412 with ATTRIBUTE_UNUSED.
10413 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10414 (reg_scan): Likewise.
10416 * reload.c (find_reloads): Remove unused variables `changed'.
10418 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10420 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10421 Remove unused variable `insn'.
10423 * toplev.c: Include loop.h.
10424 (report_file_and_line): Remove unnecessary prototype.
10426 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10428 * unroll.c (biv_total_increment): Likewise.
10430 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10432 * reload1.c (emit_input_reload_insns): Restore old behaviour
10433 wrt. 'special' reloads.
10435 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
10437 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10438 hash.h. (cse.c): Don't depend on hashtab.h.
10440 * cse.c: Don't include hashtab.h.
10441 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10443 * ggc-simple.c: Don't include hash.h.
10445 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
10447 * dwarf2out.c (add_abstract_origin_attribute): Call
10448 gen_abstract_function on our function context.
10450 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
10452 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10454 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10456 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10459 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10461 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10462 constraints to "a!r".
10464 1999-12-21 Mark Mitchell <mark@codesourcery.com>
10466 * Makefile.in (calls.o): Depend on function.h.
10467 (alias.o): Likewise.
10469 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
10471 * reload1.c (emit_reload_insns): Break out code and variables into...
10472 (input_reload_insns, other_input_address_reload_insns,
10473 other_input_reload_insns, input_address_reload_insns,
10474 inpaddr_address_reload_insns, output_reload_insns,
10475 output_address_reload_insns, outaddr_address_reload_insns,
10476 operand_reload_insns, other_operand_reload_insns,
10477 other_output_reload_insns): ... new static variables, and...
10478 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10479 do_output_reload): ... new functions.
10481 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10483 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10485 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10487 * md.texi: Add c4x constraints documentation.
10489 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10491 * config/i386/dgux.c (struct option): Rename to
10492 lang_independent_option.
10493 (struct m_options): Add description field.
10494 (output_options): Rename option type, add sep declaration, output
10495 ix86_cpu_string and ix86_arch_string only if set.
10496 (output_file_start): Rename option type.
10498 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
10500 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10502 (libgcc2.a): Similarly.
10504 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
10506 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10507 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
10508 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10510 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
10512 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10513 Remove redundant initialization of "frexpon" and "expon".
10515 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10517 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10519 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10520 (store_constructor_field, expand_expr): Pass new arg.
10522 1999-12-20 Mark Mitchell <mark@codesourcery.com>
10524 * Makefile.in (explow.o): Depend on function.h.
10526 * stor-layout.c (set_sizetype): Fix typo.
10528 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
10530 * function.c (cfun): Renamed from current_function. All users
10532 * function.h (cfun): Rename declaration as well.
10534 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10535 to be of type regset_head, not regset. All users changed by adding
10537 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10539 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10541 * config/c4x/rtems.h: New file.
10543 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
10545 * reload1.c (spill_failure): Take class of failed reload as argument
10546 and print it. Caller changed.
10548 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10550 * rs6000.h (SUBTARGET_DEFAULT): New macro.
10551 (TARGET_SWITCHES): Allow subtargets to default switches.
10552 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10554 1999-12-18 Mark Mitchell <mark@codesourcery.com>
10556 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10559 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
10561 * cccp.c (main): Define __STDC_VERSION__ as necessary.
10562 * cppinit.c (cpp_handle_option): Likewise.
10564 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10565 determine when to define.
10567 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
10569 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10570 cmove with mismatched test and data modes.
10572 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
10574 * c-typeck.c (c_expand_start_case): Don't warn for long switch
10577 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10579 * alias.c: Minor reformatting.
10580 * flow.c: Likewise.
10581 * regs.h: Likewise.
10582 * stor-layout.c: Likewise.
10583 * fold-const.c: Likewise.
10584 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10585 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10587 (size_int_wide): Cache nodes even if garbage collecting.
10588 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10589 of SAVE_EXPR has no side effects.
10590 * cse.c: Move a comment.
10591 * tree.c: Minor reformatting.
10592 (int_size_in_bytes): Return -1 if constant overflows.
10594 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10596 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10598 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
10600 * objc/objc-parse.c: Regenerate. This file must be rebuilt
10601 after any change to c-parse.in, even if objc-parse.y didn't
10604 1999-12-18 David S. Miller <davem@redhat.com>
10606 * toplev.c (rest_of_compilation): Restore BLOCK tree
10607 reconstruction and branch shortening changes lost in
10608 December 18th change.
10610 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
10612 * config/arm/linux-elf.h: Change all instances of
10613 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10614 * config/arm/uclinux-elf.h: Likewise.
10616 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
10618 * toplev.c (notice, vmessage, v_message_with_file_and_line,
10619 v_message_with_decl, file_and_line_for_asm,
10620 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10621 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10622 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10623 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10624 pfatal_with_name, fatal_io_error, need_error_newline,
10625 last_error_function, last_error_tick, announce_function,
10626 default_print_error_function, print_error_function,
10627 report_error_function, fnotice, error_with_file_and_line,
10628 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10629 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10630 warning_with_decl, warning_for_asm, warning, pedwarn,
10631 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10633 (compile_file): Use fnotice instead of notice. Adjust call.
10635 * diagnostic.c: New file.
10637 * Makefile.in (OBJS): Include diagnostic.o
10638 (diagnostic.o): Define dependence.
10640 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10642 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10645 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10647 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10649 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
10651 * fixtests.c (is_cxx_header): New fn, split out of
10653 (else_endif_label): Allow "#endif // comment" in C++ headers,
10654 as determined by is_cxx_header.
10655 * fixfixes.c (else_endif_label_fix): Update comment.
10656 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10658 * genfixes: Correct double thinko in commandline parsing.
10659 * hackshell.tpl: Generate correct sh syntax for bypass
10662 * inclhack.def (all): Whenever an inserted preprocessor
10663 conditional is split over multiple lines, use double
10664 backslashes in this file so the fixed header will be readable.
10666 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10667 and add bypass entry for correct version of this header.
10668 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10669 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10671 (hpux8_bogus_inlines): New fix, split from...
10672 (ultrix_atof_param) ... here.
10673 (math_expression): Add bypass entry keyed to glibc comment
10674 indicating the problem has been dealt with; disable
10675 unnecessary sed operations; update commentary.
10676 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10677 add select and bypass entries, simplify shell operation.
10678 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10680 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10681 ultrix_atof_param): Add select entry.
10682 (stdio_va_list, sunos_mather_decl): Add bypass entry.
10683 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10684 comments with the fixes they describe.
10686 * c-parse.in (string action): Do not warn about ANSI string
10687 concatenation in system headers. Affects C parser only.
10688 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10690 1999-12-16 Jakub Jelinek <jakub@redhat.com>
10692 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10693 compiling libgcc2 the macro depends always on arch cpp defines.
10695 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
10697 * loop.c (insert_loop_mem): Don't record MEMs from inside
10700 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
10702 * regclass.c (regclass): Do not use flowgraph when not optimizing.
10704 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10705 notes too, create one when replacement failed, attempt to simplify
10707 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10708 or REG_EQUIV notes.
10710 1999-12-16 Mark Mitchell <mark@codesourcery.com>
10712 * crtstuff.c (__dso_handle): Declare.
10713 (__cxa_finalize): Likewise.
10714 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10717 * invoke.texi: Document -fuse-cxa-atexit.
10719 * tree.h (ptr_type_node): Document.
10720 (const_ptr_type_node): Likewise.
10722 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10724 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10725 (optimize_reg_copy_2): Likewise.
10726 (optimize_reg_copy_3): Likewise.
10727 (fixup_match_2): Likewise.
10728 (regmove_optimize): Likewise.
10729 (fixup_match_1): Liekwise.
10731 * i386.md (HI to SImode promoting splitters): Rewrite.
10732 (pushsf mem peep2): New.
10733 (testhi to andhi peep2): Remove.
10734 * i386.h (x86_promote_QImode): New.
10735 (TARGET_PROMOTE_QImode): New.
10736 (PREDICATE_CODES): Add promotable_binary_operator.
10737 * i386.c (x86_promote_QImode0: New.
10738 (promotable_binary_operator): New.
10739 * i386-protos.h (promotable_binary_operator): New.
10741 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10743 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10745 1999-12-16 Mark Mitchell <mark@codesourcery.com>
10747 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10748 * function.c (insert_block_after_note): Remove.
10749 (retrofit_block): Likewise.
10750 (identify_blocks): Fix indentation.
10751 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10752 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10753 * function.h (insert_block_after_note): Remove prototype.
10754 (retrofit_block): Likewise.
10755 * integrate.c (expand_inline_function): Don't call
10756 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
10757 just expand_start_bindings. Use the block_map to remap old
10758 NOTE_BLOCKs to new ones.
10759 (integrate_decl_tree): Keep track of remapped blocks.
10760 * integrate.h (struct inline_remap): Add block_map.
10761 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
10762 NOTE_BLOCK on the notes.
10763 (expand_start_bindings): Rename to ...
10764 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
10765 (expand_end_bindings): Set NOTE_BLOCK.
10766 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10767 reconstruct the BLOCK tree.
10768 * tree.h (expand_start_bindings): Macroize. Call ...
10769 (expand_start_bindings_and_block): New function.
10771 1999-12-16 Jakub Jelinek <jakub@redhat.com>
10773 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10774 to match the format.
10776 1999-12-16 David S. Miller <davem@redhat.com>
10778 * expr.c (emit_move_insn_1): Only emit clobbers if one of
10779 the outputs is a SUBREG.
10780 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10783 * config/sparc/sparc.c (epilogue_renumber): Add default case
10786 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10788 * toplev.c (rest_of_compilation): Run branch shortening after
10791 * regclass.c (loop_depth): Remove
10792 (scan_one_insn): Do not handle LOOP_NOTE insns.
10793 (regclass): Go through basic blocks and set loop_cost
10795 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
10797 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10799 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10801 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10802 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
10803 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
10805 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
10807 * loop.c (insert_loop_mem): Ignore memory clobbers.
10809 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
10812 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
10814 * profile.c: Remove redundant #include "output.h".
10816 * h8300.md (HImode preinc peephole): Fix typo.
10818 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10820 * function.c (retrofit_block): Abort if we don't find a suitable insn.
10821 (insert_block_after_note): Abort if we don't have a previous block.
10822 Remove FN parameter.
10823 * function.h: Adjust.
10825 1999-12-15 Mark Mitchell <mark@codesourcery.com>
10827 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
10828 argument more than once.
10830 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10832 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
10834 1999-12-15 Jakub Jelinek <jakub@redhat.com>
10836 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
10838 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10840 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
10841 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
10842 update stack_alignment_needed.
10843 (prepare_function_start): Initialize stack_alignment_needed
10844 * function.h (struct function): Add field stack_alignment_needed.
10846 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10848 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
10849 Handle live_throughout / dead_or_set instead of live_before /
10851 (save_call_clobbered_regs): Get register livenessinformation from
10852 chain->live_throughout.
10853 (add_stored_regs): New function.
10854 (insert_restore, insert_save): Add restored / saved registers to
10856 * global.c (reg_dies): New parameter chain.
10857 (reg_becomes_live): Third parameter is regs_set now.
10858 Changed all callers.
10859 (reg_dies): New parameter chain. Changed all callers.
10860 (build_insn_chain): Set live_throughout instead of
10861 live_before / live_after.
10862 * reload.h (struct insn_chain): Replace members live_before /
10863 live_after with live_throughout / dead_or_set.
10864 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
10865 instead of live_before / live_after.
10866 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
10867 (order_regs_for_reload, find_reg, finish_spills): Likewise.
10868 (choose_reload_regs_init): Likewise.
10869 * stupid.c (current_chain, find_clobbered_regs): Delete.
10870 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
10871 instead of chain->live_before / chain->live_after.
10872 (mark_hard_ref): New function.
10873 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
10875 1999-12-15 David S. Miller <davem@redhat.com>
10877 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
10879 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10881 * flow.c (calculate_loop_depth): Make global, remove prototype,
10882 rewrite to use new loop infrastructure.
10883 (find_basic_block): Remove calculate_loop_depth call.
10884 * toplev.c (rest_of_compilation): Call find_basic_block.
10885 * output.h (calculate_loop_depth): Declare.
10887 * flow.c (dump_flow_info): Dump loop_depth.
10888 (flow_loops_nodes_find): Increase loop_depth for basic block in the
10890 (flow_loops_find): Initialize the loop_depth for each basic block.
10892 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10894 * tree.c (decl_function_context): Handle virtual functions.
10896 * tlink.c (scan_linker_output): Don't look in demangled name when
10897 looking for linker output keywords.
10899 * dwarfout.c (output_type): We can defer namespace-scope classes.
10901 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
10903 * regclass.c (record_reg_classes): Update comment for merging
10904 register class preferences in reg->reg copies. Tighten conditions
10905 for merging register class preferences in reg->reg copies.
10907 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
10909 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
10911 1999-12-14 Geoff Keating <geoffk@cygnus.com>
10913 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
10914 (INIT_SECTION_ASM_OP): Delete.
10915 (FINI_SECTION_ASM_OP): Delete.
10916 (STARTFILE_SPEC): Define to hold just crtbegin.o.
10918 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
10920 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
10921 the abstract origin wasn't emitted.
10923 * dwarf2out.c (class_scope_p): New fn.
10924 (gen_subprogram_die): Use it.
10925 (gen_variable_die): Use it. Tweak logic.
10926 (gen_struct_or_union_type_die): Check context_die to determine
10927 if we're function-local.
10928 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
10930 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10932 * loop.c (check_dbra_loop): Can't reverse a biv that has
10933 maybe_multiple set.
10935 1999-12-14 Nick Clifton <nickc@cygnus.com>
10937 * config/arm/arm.c: Add support for -mcpu=arm720 command line
10940 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10942 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
10943 for givs made from biv increments.
10945 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
10947 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
10948 * alpha.c (override_options): Recognize -mcpu=ev67.
10949 * alpha.h (CPP_CPU_EV67_SPEC): New.
10950 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
10951 (EXTRA_SPECS): Update.
10953 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
10955 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
10956 appropriate for -lang-c89 and -std=*.
10957 * cppinit.c (cpp_handle_option): Likewise.
10958 (new_pending_define): New, split out from cpp_handle_option.
10959 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
10960 or enable trigraphs for -ansi/-std=*.
10962 * ginclude/stdarg.h (__va_copy): New.
10963 (va_copy): Don't define for C89.
10965 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
10967 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
10968 for long long multiply-accumulate.
10970 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10972 * regclass.c (scan_one_insn): Set loop_cost to 1 when
10973 optimizing for size.
10975 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10977 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
10978 if something changed. Back out that part of yesterday's changes.
10980 * loop.c (loop_max_reg): New static variable.
10981 (loop_optimize): Initialize it. Eliminate one unnecessary call to
10983 (scan_loop): Call reg_scan_update whenever we may have added new
10984 registers, and update loop_max_reg.
10986 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10988 * regclass.c (record_reg_classes): Do not do the copying preferrencing
10989 when source does not die.
10991 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
10993 1999-12-14 Jakub Jelinek <jakub@redhat.com>
10995 * config/sparc/linux64.h (TARGET_LIVE_G0,
10996 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
10998 * config/sparc/linux.h (TARGET_LIVE_G0,
10999 TARGET_BROKEN_SAVERESTORE): Likewise.
11000 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11001 TARGET_BROKEN_SAVERESTORE): Likewise.
11003 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11004 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11006 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11007 as sparc64 block profiling register.
11008 * config/sparc/sparc.c (sparc_override_options): Allow block
11009 profiling with -m32.
11010 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11011 profiling register.
11012 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11013 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11014 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11016 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11018 * config/sparc/sparc.h: Likewise.
11019 * config/sparc/xm-sysv4-64.h: Likewise.
11020 * config/float-sparc.h: Likewise.
11021 * glimits.h: Likewise.
11022 * longlong.h: Likewise.
11024 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11025 (ASM_IDENTIFY_GCC): Remove.
11027 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
11029 * combine.c (combine_simplify_rtx): Don't make shared rtl.
11030 (simplify_logical): Likewise.
11032 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
11034 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11035 * cppfiles.c (INO_T_EQ): Likewise.
11037 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
11039 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11040 * i386/mingw32.h (LIB_SPEC): Likewise.
11041 (STARTFILE_SPEC): Likewise.
11042 * i386/uwin.h (LIB_SPEC): Likewise.
11043 (STARTFILE_SPEC): Likewise.
11045 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11046 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11048 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
11050 * combine.c (combine_simplify_rtx): Fix order of checks for
11051 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11053 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
11055 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
11056 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11058 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
11060 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11062 * regclass.c (inv_reg_alloc_order): New array.
11063 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11065 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11066 counted_for_groups, counted_for_nongroups. Add fields rld and
11068 * reload.c (push_secondary_reload): Don't set nongroup field of
11070 (push_reload): Likewise.
11071 (find_reloads): Delete code to compute nongroup fields.
11072 * reload1.c (reload_insn_firstobj): New static variable.
11073 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
11075 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11076 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11077 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11079 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11081 (struct hard_reg_n_uses): Deleted.
11082 (potential_reload_regs): Deleted.
11083 (init_reload): Initialize spilled_pseudos and pseudos_counted.
11084 (reload): Don't try to allocate reload registers if we already know
11085 we have to make another pass. Call select_reload_regs. Free memory
11086 starting with reload_firstobj when starting another pass.
11087 Don't allocate spilled_pseudos.
11088 (calculate_needs_all_insns): Call copy_reloads for an insn that
11089 needs reloads; don't call calculate_needs.
11090 (spill_cost): New static array.
11091 (used_spill_regs_local): New static variable.
11092 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11093 to compute potential_reload_regs.
11094 (find_reload_regs): Completely rewritten to use find_reg.
11095 (allocate_reload_reg): Don't test counted_for_groups or
11096 counted_for_nongroups. Lose NOERROR arg and code to give an error;
11097 all cllers changed.
11098 (choose_reload_regs): Add fallback code that uses the existing
11099 register allocation from find_reload_regs.
11101 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
11103 * flow.c (create_edge_list): Cast xmalloc return value.
11105 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
11107 * doprnt.c: Remove incorrect comment closure.
11109 * cse.c: Fix a few minor whitespace goofs.
11111 1999-12-13 Don Bowman <don@pixstream.com>
11113 * mips/vxworks.h: Fix problem with comment termination.
11114 (EXTRA_SECTIONS): Add in_sbss.
11115 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11117 1999-12-12 David S. Miller <davem@redhat.com>
11119 * cse.c (struct cse_reg_info): Add hash_next member,
11120 reorder rest of struct for better packing on 64-bit
11122 (cse_reg_info_tree): Kill.
11123 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11124 REGHASH_FN): New custom pow2 hash mechanism.
11126 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11127 use a pow2 hash table.
11128 (get_cse_reg_info): Rework to use new REGHASH.
11129 (new_basic_block): Likewise, use HASH_SIZE, and inline
11131 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11132 and inline free_element call.
11133 (lookup_as_function, insert, flush_hash_table, invalidate,
11134 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11135 invalidate_for_call, use_related_value, find_comparison_args,
11136 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11137 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11138 get_element): Kill.
11140 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
11142 * cse.c (cse_basic_block): Free qty_table consistently.
11144 1999-12-12 David S. Miller <davem@redhat.com>
11145 Jakub Jelinek <jakub@redhat.com>
11147 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11148 SUBREGs by hand, gen the appropriate hard reg directly.
11149 (movtf reg/mem split): Likewise and alter_subreg on destination
11151 (movtf mem/reg split): Similarly.
11152 (movdf_cc_sp64): Rename from hidden pattern.
11153 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11154 (movtf_cc_sp64, following split): New pattern and splitter.
11155 (movdf_cc_reg_sp64): Rename from hidden pattern.
11156 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11158 (movtf_cc_reg_sp64, following split): New pattern and splitter.
11160 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
11162 * loop.c (load_mems): Don't hoist written floating point mem
11165 1999-12-12 Mark Mitchell <mark@codesourcery.com>
11167 * except.h (struct eh_queue): Add `next' pointer.
11168 (struct eh_status): Make x_ehqueue a pointer.
11169 (push_ehqueue): Declare.
11170 (pop_ehqueue): Likewise.
11171 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11173 (expand_fixup_region_end): Likewise.
11174 (expand_leftover_cleanups): Likewise.
11175 (push_ehqueue): Define.
11176 (pop_ehqueue): Likewise.
11177 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11178 than doing it inline.
11179 (expand_start_all_catch): Adjust now that ehqueue is a
11181 (mark_eh_queue): Mark all level of the queue.
11182 (mark_eh_status): Adjust now that ehqueue is a
11184 (init_eh_for_function): Allocate ehqueue.
11185 (free_eh_status): Free it.
11186 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11187 expansion for a fixup.
11189 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11191 * gthr-single.h (__gthread_active_p): Add prototype arguments.
11193 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11194 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11195 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11196 function_ptr, getpagesize, __enable_execute_stack,
11197 __enable_execute_stack, __clear_insn_cache,
11198 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11199 _cleanup, _exit, __default_terminate, __terminate_func,
11200 __terminate, __empty, __throw, new_eh_context,
11201 eh_context_initialize, eh_context_static, eh_context_specific,
11202 get_eh_context, __get_eh_context, __get_eh_info,
11203 init_reg_size_table, eh_threads_initialize,
11204 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11205 __unwinding_cleanup, throw_helper, __throw, __rethrow,
11206 __pure_virtual): Add prototype arguments.
11207 (__bb_exit_func): Cast a sizeof to long when comparing against one.
11208 Cast a signed value to unsigned long when comparing against one.
11209 (new_eh_context): Wrap in _GTHREADS macro.
11210 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11212 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11213 (throw_helper): Initialize variables `handler_p' and `pc_p'.
11215 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11217 * combine.c (record_promoted_value): Remove unused variable
11220 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11222 * global.c (record_conflicts): Likewise for `j'.
11224 * genoutput.c (output_insn_data): Don't unnecessarily cast away
11227 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11229 * i386-protos.h (output_387_binary_op, output_fix_trunc,
11230 output_fp_compare): Constify a char*.
11232 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11234 (override_options, ix86_comp_type_attributes, print_operand,
11235 output_387_binary_op, output_fix_trunc, output_fp_compare):
11237 (ix86_sched_reorder): Mark parameter `clock_var' with
11240 * i386.h (DEBUG_PRINT_REG): Constify a char*.
11242 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
11244 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11245 operand, for use in the Java front-end.
11247 1999-12-10 Ben Collins <bcollins@debian.org>
11249 * configure.in: Fix typo for "-64" in 64bit as check.
11250 * configure: Rebuilt.
11252 1999-12-10 Jakub Jelinek <jakub@redhat.com>
11254 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11257 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11259 * c-parse.in (string): With -Wtraditional, warn if ANSI string
11260 concatenation is utilized.
11262 * invoke.texi (-Wtraditional): Document it.
11264 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11266 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11267 Cast a ptrdiff_t to long and pass it to printf with %ld.
11269 1999-12-10 Geoff Keating <geoffk@cygnus.com>
11271 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11272 68881, we have no 68881 registers at all.
11273 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11274 value in a 68881 register if it is available.
11276 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
11278 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11279 for long long multiply-accumulate.
11281 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
11283 * loop.c (insert_loop_mem): Undo last change.
11285 1999-12-10 David S. Miller <davem@redhat.com>
11287 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11289 * config/sparc/sparc-protos.h: Add them.
11290 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11291 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11292 constraints which use those helpers.
11293 (EXTRA_CONSTRAINT): Use this new macro.
11294 * md.texi: Update sparc target constraints documentation.
11295 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11296 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11297 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11298 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11299 (movsf high/lo_sum split): Rework for new patterns.
11300 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11302 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
11304 * c-common.c (c_common_nodes_and_builtins):
11305 Create __builtin_ptrdiff_t and __builtin_size_t.
11307 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
11309 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11311 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11313 * regclass.c (globalize_reg): Re-instate test that allows
11314 fixed registers to be declared as a variable even after functions
11317 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11319 * i386.md (cpu attribute): Add "athlon".
11320 (athlon_decode): New attribute.
11321 (Athlon scheduling units definitions): New.
11322 (fcmp and shld patterns): Set athlon_decode to "vector".
11323 * i386.c (athlon_cost): New.
11325 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11326 x86_use_sahf): Set for Athlon.
11327 (x86_use_fiop): Unset for Athlon.
11328 (override_options): Define Athlon alignments and "athlon" name.
11329 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11330 * i386.h (TARGET_ATHLON): New.
11331 (enum processor_type): Add PROCESSOR_ATHLON.
11332 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11334 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11336 1999-12-09 Andreas Jaeger <aj@suse.de>
11338 * loop.c (record_biv): Declare parameter as int.
11340 * config/i386/i386-protos.h: Declare long_memory_operand.
11342 1999-12-09 Mark Mitchell <mark@codesourcery.com>
11344 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11345 EXPR_WITH_FILE_LOCATION.
11347 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11349 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11352 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11354 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11357 1999-12-09 Jakub Jelinek <jakub@redhat.com>
11359 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11360 default on linux64 again.
11361 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11362 models for multilibing.
11363 * genmultilib: Accept | as alternative separator within a set in
11366 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11368 * calls.c (precompute_arguments): Make sure initial_value contains
11369 value pseudo which CSE expects.
11370 * cse.c (struct set): New entry orig_src.
11371 (cse_insn): Set it early on entry, use it for libcall EQUIV note
11374 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
11376 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11378 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
11380 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11382 1999-12-08 Jakub Jelinek <jakub@redhat.com>
11384 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11385 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11387 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11390 * longlong.h: Merge in changes from glibc.
11391 Also don't clobber %g2 register in 32bit SPARC assembly, so that
11392 -mno-app-regs libgcc can be compiled.
11393 * libgcc2.c: Add defines so that the updated longlong.h
11394 can be used in libgcc2.a. Also, make sure on most architectures
11395 (at least on all which have optimized code in longlong.h defined
11396 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11398 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11400 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11401 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11402 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11404 * configure: Rebuilt.
11406 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
11408 * alpha.c (secondary_reload_class): For !BWX, sub-simode
11409 outputs require a register.
11411 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
11413 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11414 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
11415 functions like dptoul will be resolved.
11416 (libgcc2.a): Make sure that the object files from DPBIT are named
11417 differently (prefix `_dp') from those that would be coming from
11420 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
11422 * configure.in: When target is sparc* and tm_file contains 64,
11423 test for 64bit support in assembler. If not supported, remove
11424 sparc/t-sol2-64 from target-dependent Makefile fragments.
11425 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11426 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11427 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11428 * acconfig.h (AS_SPARC64_FLAG): Added.
11429 * configure, config.in: Rebuilt.
11430 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11431 support. Use AS_SPARC64_FLAG.
11433 1999-12-07 Jakub Jelinek <jakub@redhat.com>
11435 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11436 suitable for holding OFmode values so that gcc works with complex
11438 (hard_64bit_mode_classes): Likewise.
11440 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11441 so that it is actually matched.
11442 (sethi_di_medlow): Likewise.
11444 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11445 as legitimate constant if -mvis.
11446 * config/sparc/sparc.md (movtf): Likewise.
11447 (clear_sf): Use const_double_operand.
11448 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11450 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11451 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11452 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11453 routines, _Qp_* cannot be handled like that now.
11454 (INIT_TARGET_OPTABS): Likewise.
11455 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11456 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11457 sparc_emit_float_lib_cmp if ARCH64 and soft float.
11458 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11459 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11460 divtf3, sqrttf3): New expanders.
11461 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11462 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11463 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11466 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11467 * configure: Rebuilt.
11468 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11469 -mcpu is given and we're doing 64bit compiles.
11471 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
11473 * loop.h (struct induction): Add multi_insn_incr.
11474 * loop.c (basic_induction_var): New multi_insn_incr argument.
11475 Set it if we search back through previous insns for the biv.
11476 (record_biv): New multi_insn_incr argument; fill in struct induction.
11477 (strength_reduce): Discard an iv with multiple bivs, any of
11478 which require multiple insns to increment.
11480 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
11482 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11485 1999-12-06 David S. Miller <davem@redhat.com>
11487 * combine.c (check_promoted_subreg): Do not conditionalize this upon
11488 PROMOTE_FUNCTION_RETURN.
11490 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
11492 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11493 and handle REG_UNUSED note on insn.
11495 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
11496 inner_mask instead of mask.
11498 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
11500 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11501 zero if there was an error.
11503 1999-12-06 Jakub Jelinek <jakub@redhat.com>
11505 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11508 * longlong.h: Fix clobbers in SPARC asm statements.
11510 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11511 valid sethi operations when TARGET_ARCH64.
11513 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11514 always use move_by_pieces to avoid infinite recursion.
11515 (restore_fixed_argument_area): Likewise.
11517 * combine.c (check_promoted_subreg, record_promoted_value): New
11519 (combine_instructions): Use them to retain nonzero and sign bit
11520 information after SUBREGs are eliminated by optimizations in
11521 this pass if PROMOTE_FUNCTION_RETURN.
11523 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11524 .register declaration. Don't use variables with __ prefixes.
11526 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11528 * fold-const.c (optimize_bit_field_compare): Only use one mode
11529 for both RHS and LHS in non-constant case.
11531 1999-12-06 Nathan Sidwell <nathan@acm.org>
11533 * frame.c (start_fde_sort): Only allocate erratic array, if
11534 linear one was allocated. Return allocated flag.
11535 (fde_insert): Only insert, if there's a valid array.
11536 (fde_end_sort): Split, sort and merge if linear and erratic
11537 arrays exist, else just sort linear one.
11538 (search_fdes): New function. Linear search through original fde
11540 (frame_init): Permit multiple initializations. Cope with
11542 (find_fde): Fallback on linear search, if failed to sort array.
11543 (__deregister_frame_info): Only free sorted array, if we
11546 1999-12-06 Jakub Jelinek <jakub@redhat.com>
11548 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11550 1999-12-05 Jakub Jelinek <jakub@redhat.com>
11552 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11554 1999-12-05 Mark Mitchell <mark@codesourcery.com>
11556 * tree.h (special_function_p): Declare.
11557 * calls.c (special_function_p): Make it global. Don't take `name'
11558 as a parameter. Fix typo in 1999-11-28 change.
11559 (expand_cal): Adjust.
11561 1999-12-04 Mark Mitchell <mark@codesourcery.com>
11563 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11564 * tree.h (EXPR_WFL_FILENAME): Define in terms of
11565 EXPR_WFL_FILENAME_NODE.
11566 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11568 * print-tree.c (print_note): Print TREE_PRIVATE and
11571 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11572 the original die cannot be found.
11574 * varray.h (varray_head_tag): Add elements_used.
11575 (VARRAY_PUSH): New macro.
11576 (VARRAY_POP): Likewise.
11577 (VARRAY_TOP): Likewise.
11578 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11580 * varray.c (varray_init): Initialize elements_used.
11581 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11582 (INTEGRATE_H): New variable.
11583 (integrate.o): Depend on INTEGRATE_H.
11584 (unroll.o): Likewise.
11586 * function.h (insert_block_after_note): Declare.
11587 * function.c (insert_block_after_note): Split out from ...
11588 (retrofit_block): ... here.
11590 * stmt.c (expand_fixup): Fix typo in comment.
11592 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11594 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11595 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11596 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11597 (regmove_optimize, fixup_match_1): Likewise.
11599 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11601 * flow.c (flow_loops_dump): Add missing argument when calling
11602 flow_loop_nested_p.
11604 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
11605 Greg McGary <gkm@gnu.org>
11607 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11608 (init_attributes): Add A_NO_LIMIT_STACK.
11609 (decl_attributes): Handle A_NO_LIMIT_STACK.
11610 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11611 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11612 Handle stack bounds checking.
11613 * flags.h (flag_stack_check): Use the word 'probe' rather than
11614 'check', because the flag doesn't actually cause any checking to
11616 * function.c (expand_function_start): Set
11617 current_function_limit_stack.
11618 * function.h (struct function): Add limit_stack.
11619 (current_function_limit_stack): Define.
11620 * invoke.texi (Code Gen Options): Document new options.
11621 * rtl.h: Declare stack_limit_rtx.
11622 * toplev.c (stack_limit_rtx): New variable.
11623 (decode_f_option): Handle new options -fstack-limit-register=REG,
11624 -fstack-limit-symbol=IDENT, -fno-stack-limit.
11625 (main): Add stack_limit_rtx as GC root.
11626 * tree.h (DECL_NO_LIMIT_STACK): New macro.
11627 (struct tree_decl): New member no_limit_stack.
11629 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11631 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11632 (conditional_trap+1): Get new mnemonic correct.
11633 (conditional_trap+2): New pattern for DImode traps.
11635 * config/m68k/m68k.c (output_function_prologue): Handle
11637 * config/m68k/m68k.md (trap): New insn.
11638 (conditional_trap): New insn.
11639 * md.texi (Standard Names): Document `trap' and
11640 `conditional_trap'.
11641 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11642 so a cc0 setter doesn't get emitted at some random place in the
11645 * config/i960/i960.md (trap): New insn.
11646 (conditional_trap): New expander.
11647 (conditional_trap+1, conditional_trap+2): New insns for signed
11648 and unsigned cases.
11649 * config/i960/i960.c (i960_function_prologue): Use
11650 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
11652 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
11653 Geoffrey Keating <geoffk@cygnus.com>
11655 * flags.h (warn_padded, warn_packed): Add global var decls.
11656 * toplev.c (warn_padded, warn_packed): Add global var defns.
11657 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11658 * stor-layout.c (layout_record): Add local variable `type'
11659 to hold often-used TREE_TYPE (field). Add local variable
11660 `unpacked_align' to hold alignment that would be in force
11661 if no `packed' attribute were present. Warn if `packed' attribute
11662 is unnecessary, or even harmful. Warn when gcc inserts padding
11663 to satisfy alignment requirements of members. Use NULL_TREE
11664 when checking whether var_size is set.
11665 * invoke.texi: Document new flags.
11667 1999-12-03 Nathan Sidwell <nathan@acm.org>
11669 * frame.c (fde_split): Reimplement to avoid variable sized array.
11671 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11673 * combine.c (try_combine): Before fixing up LOG_LINKS for the
11674 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11676 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
11678 * invoke.texi: Document the mips option -mno-crt0
11680 1999-12-02 Mike Karr <mkarr@mathworks.com>
11682 * cccp.c (argdata): Added free_ptr member.
11683 (macroexpand): Initialize free_ptr of each argument. When an
11684 argument's buffers are freed, if the argument's free_ptr corresponds
11685 to a buffer on the input stack, then return the free_ptr to that stack
11686 frame, otherwise, free it.
11687 (macarg): If an argument begins and ends on the same input stack level,
11688 then transfer the free_ptr of that buffer to the argument in case
11689 the stack is popped during the processing of a subsequent argument.
11691 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
11693 * loop.c (note_reg_stored): New function.
11694 (struct note_reg_stored_arg): New structure.
11695 (try_copy_prop): Change to be more conservative; only replace within
11696 one extended basic block and stop replacing if a store to the
11697 replacement reg is seen.
11699 1999-12-02 Nick Clifton <nickc@cygnus.com>
11701 * config/fp-bit.c: Initialise all fields of the NAN
11704 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11707 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
11709 * i386.md (extend?f?f2): Force the input into a register, not
11712 1999-12-01 Jakub Jelinek <jakub@redhat.com>
11714 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11716 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11717 alternative because setting up 64bit constant is usually costly,
11718 especially when reload is in progress or completed.
11719 (movdf_const_intreg_sp64): Likewise.
11720 (movdf_const_intreg split): Fix building up constants when
11721 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11723 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
11725 * combine.c (if_then_else_cond): Use const_true_rtx instead of
11726 const1_rtx for return values in EQ/NE comparison against (const_int 0)
11729 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11730 (asm_file_start): Emit .am33 into assembly file when compiling for
11732 (print_operand_address): Handle POST_INC addresses.
11733 (can_use_return_insn, initial_offset): Check AM33 registers too.
11734 (expand_prologue): Check & save AM33 registers too.
11735 (expand_epilogue): Similarly.
11736 (secondary_reload_class): Handle AM33 specific secondary reloads.
11737 (output_tst): Emit efficient code for the AM33 too.
11738 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11739 (TARGET_SWITCHES): Add -mam33 switch.
11740 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11741 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11742 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11743 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11744 (enum reg_class, REG_CLASS_NAMES): Likewise.
11745 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11746 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11747 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11748 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11749 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11750 (HAVE_POST_INCREMENT): Define.
11751 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11752 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11753 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11754 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11755 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11756 (zero_extend to SI from QI/HI): Likewise.
11757 (sign_extend to SI from QI/HI): Likewise.
11758 (mulsidi3, umulsidi3): New patterns for the AM33.
11759 (tstsi with zero extension from QI/HI): Add AM33 variants.
11760 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11761 (return_internal_regs, store_movm): Handle new AM33 registers.
11762 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11763 (LIBGCC, INSTALL_LIBGCC): Likewise.
11764 * invoke.texi: Document new flags.
11766 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
11768 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11769 (addsi3_carry): Likewise.
11770 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11771 (sbbsi3_carry): Likewise.
11772 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11773 (mulhi3): Likewise.
11774 (test?i_1): Ensure that only one operand is memory.
11775 (conditional move patterns): likewise.
11776 (shift and rotate patterns): Rewrite to expander, add
11777 "binary_operator_ok" to the condition.
11779 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11780 * i386.h (procesor_costs): Add movzbl_load field.
11781 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11782 non-Q registers, accept DImode registers anywhere.
11784 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11785 * i386.c (*_cost): Set value for movxbl_load field.
11787 * (addsi): New add to lea splitter.
11788 (ashlsi): Likewise.
11789 (lea to add/shift peep2): New.
11791 1999-12-01 Mark Salter <msalter@cygnus.com>
11793 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11794 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11795 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11797 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11799 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11800 * i386.md (movsi_xor): New.
11802 (movsi_1, movhi_1, movqi_1): Remove.
11803 (movsi_2): Rename to movsi_1.
11804 (movhi_2): Rename to movhi_1.
11805 (movqi_2): Rename to movqi_1.
11806 (movdi_1): Remove; remove splitter.
11807 (movdi_2): Rename to movdi_1.
11808 (divmodsi4 splitter): Do not emit clobbers for move patterns.
11809 (long move peep2): Do not create QI or HI mode mov0s
11810 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
11812 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
11815 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
11816 (abs?f2_if): Likewise.
11818 1999-11-30 Alex Samuel <samuel@codesourcery.com>
11820 * ggc.h (ggc_test_and_set_mark): New macro.
11821 (ggc_mark_rtx): Use ggc_test_and_set_mark.
11822 (ggc_mark_tree): Likewise.
11823 (ggc_mark_rtvec): Likewise.
11824 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
11826 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
11828 * dwarf2out.c (scope_die_for): Only handle types. Only search for
11830 (decl_scope_table): Just an array of trees now.
11831 (push_decl_scope): Simplify.
11832 (dwarf2out_init): Adjust.
11833 (local_scope_p): New fn.
11834 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
11835 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
11836 (gen_typedef_die): Likewise.
11837 (gen_lexical_block_die): Don't call push/pop_decl_scope.
11838 (gen_inlined_subroutine_die): Likewise.
11839 (gen_abstract_function): Set current_function_decl temporarily.
11840 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
11841 Handle block extern declarations. Don't call push/pop_decl_scope.
11842 (gen_decl_die): Fix logic for block externs.
11844 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11846 * calls.c (special_function_p): Remove `realloc' and add `strdup'
11847 to the list of functions which have attribute malloc by default.
11849 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11851 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
11852 integer constant does not match the traditional type, limit the
11853 warnings to cases where the base of the type is ten.
11855 * invoke.texi (-Wtraditional): Document it.
11857 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11859 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
11860 * rs6000.md: Only access a CONST_INT with INTVAL
11862 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
11864 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
11865 (compute_nearerout): Likewise.
11866 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
11867 size_t to unsigned long for formatting.
11869 1999-11-30 Jakub Jelinek <jakub@redhat.com>
11871 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
11872 Allow the user to override call-used/fixed state of %g2-5
11873 registers from the command line (with the exception of %g4 for
11875 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
11876 there is a higher chance of having a leaf function.
11877 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
11878 for ARCH64 which has %ccr register.
11879 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
11881 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
11882 insn accept into delay slot any insn which does not use %[ol]
11883 registers. Accept some LO_SUM and shift left by 1 for the normal
11885 (output_function_epilogue): Likewise.
11886 (epilogue_renumber): Added argument which inhibits any renumbering
11887 and just tests if the rtx does not use any %[ol] registers.
11888 (output_return): Reflect above change.
11890 1999-11-30 Jakub Jelinek <jakub@redhat.com>
11892 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
11893 aggregate passing for sizes <= 16 bytes.
11895 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
11897 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
11898 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
11899 * reload.c (find_dummy_reload): Likewise.
11900 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
11901 * reload1.c (reload_as_needed): Likewise.
11902 * stupid.c (stupid_find_reg): Likewise.
11903 * tm.texi (Obsolete Register Macros): Delete section.
11904 * gmicro.h: Remove all traces of the two macros.
11905 * i386.h: Likewise.
11906 * m88k.h: Likewise.
11907 * mips.h: Likewise.
11909 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
11911 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
11912 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
11913 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
11914 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
11915 units for the sparclite86x chip.
11916 (flush): Revert October 14th change; add SImode specifically.
11917 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
11918 * invoke.texi: Document it.
11920 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
11922 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
11923 psimode_truncation_operand.
11925 * config/mn10200/mn10200.c (psimode_truncation_operand): New
11926 function. Return true if the operand is either a MEM valid
11927 for a PSImode address or not a MEM at all.
11929 * config/mn10200/mn10200.md (truncsipsi2): Use
11930 psimode_truncation_operand.
11932 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11934 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
11935 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
11936 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
11937 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
11938 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
11939 (flow_loop_level_compute, low_loops_level_compute): Likewise.
11940 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
11941 * basic-block.h: Protect from multiple inclusion.
11942 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
11943 (struct loops, struct loop): Define structures.
11944 * sbitmap.c (sbitmap_a_subset_b_p): New function.
11945 * sbitmap.h: Protect from multiple inclusion.
11946 (sbitmap_a_subset_b_p): Add prototype.
11947 * Makefile.in (LOOP_H): New macro.
11948 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
11950 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
11952 * cppinit.c (CAT): The argument list of this macro may not contain
11955 1999-11-29 David S. Miller <davem@redhat.com>
11957 Move quantity tables and register equivalence chains into
11958 per-qty and per-register structure arrays respectively.
11959 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
11960 qty_const_insn, qty_comparison_code, qty_comparison_const,
11961 qty_comparison_qty): Delete, replace with...
11962 (qty_table): this structure table.
11963 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
11964 (reg_eqv_table): this structure table.
11965 (make_new_qty): Add argument MODE. Caller updated.
11966 Update to use qty_table and reg_eqv_table.
11967 (make_regs_eqv, delete_reg_equiv, insert_regs,
11968 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
11969 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
11970 cse_process_notes, cse_main, cse_basic_block): Likewise.
11972 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11974 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
11975 operation if C is negative.
11976 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
11977 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
11978 law for some divisions if constant is negative and change other
11979 divisions to the opposite rounding.
11981 * expr.c (store_constructor_field): If bit position is not multiple
11982 of alignment of TARGET's mode, use BLKmode.
11984 * expr.c (expand_expr_unaligned): Add more code from full case
11985 that is needed when OP0 is in a register.
11987 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11989 * dwarfout.c (field_byte_offset): Size can be zero if there was
11992 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
11994 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
11995 (associate_trees): Delete unused var TEM.
11996 (extract_muldiv): Delete unused var CANCEL_P.
11998 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
11999 (target_isinf, target_isnan, target_negative): Add return types to
12000 function definitions.
12002 1999-11-29 Bruce Korb <autogen@linuxbox.com>
12004 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12005 * fixinc/hackshell.tpl: ditto
12006 * fixinc/fixtests.c(double_slash_test): more C++ header testing
12007 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12009 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
12011 * reload.c (push_reload): When looking for a register to put into
12012 reg_rtx, make sure all hard regs in a multi-reg register are in the
12013 right class and nonfixed.
12015 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12016 pending_read_insns, pending_write_insns, pending_read_mems,
12017 pending_write_mems, pending_list_length, last_pending_memory_flush,
12018 last_function_call, sched_before_next_call): Move static variables
12020 (bb_ prefixed versions): Replace with single array bb_deps.
12021 (struct deps): New structure.
12022 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12023 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12024 argument of type "struct deps *"; use that instead of global
12025 variables. All callers changed.
12026 (init_rgn_data_dependencies): Delete function.
12027 (init_rtx_vector): Delete function.
12028 (init_deps): New function.
12030 (free_pending_lists): Simplify, we always use the bb_deps array even
12031 if only one basic block.
12032 (compute_block_backward_dependences): Likewise.
12033 (schedule_region): Likewise.
12035 (propagate_deps): New function, broken out of
12036 compute_block_backward_dependences.
12037 (compute_block_backward_dependences): Use it.
12039 * alpha.md: Delete useless patterns that tried to work around
12040 register elimination problems.
12042 * unroll.c (loop_iterations): Don't abort if iteration variable
12045 From Joern Rennecke:
12046 * reload1.c (reloads_conflict): Reverse test comparing operand
12047 numbers when testing for conflict between output/outaddr reloads.
12049 1999-11-29 David S. Miller <davem@redhat.com>
12051 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12053 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12055 1999-11-28 Robert Lipe <robertl@cygnus.com>
12057 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12058 table from .fini into .dtor.
12060 1999-11-28 Anthony Green <green@cygnus.com>
12062 * tree.h (struct tree_decl): Add malloc_flag.
12063 (DECL_IS_MALLOC): Define.
12064 * c-common.c (attrs): Add A_MALLOC attribute.
12065 (init_attributes): Add this attribute to the table.
12066 (decl_attributes): Handle malloc attribute.
12067 * calls.c (special_function_p): Check for the malloc attribute.
12068 * extend.texi (Function Attributes): Document malloc attribute.
12070 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
12072 * pa.md (reload shift-add patterns): Remove.
12074 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12076 * reorg.c (dbr_schedule) Print more statistics. Corrected
12077 problem when printing info when 3 delay slots are filled.
12079 1999-11-28 Jakub Jelinek <jakub@redhat.com>
12081 * combine.c (setup_incoming_promotions): Pass an outgoing
12082 regno to FUNCTION_ARG_REGNO_P which it expects.
12084 1999-11-28 Andreas Jaeger <aj@suse.de>
12086 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12088 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
12090 * cccp.c (do_include): Avoid initialization of automatic variable.
12092 * integrate.c (mark_stores): Function definition made void, to match
12093 previous declaration.
12094 * regclass.c (dump_regclass): Ditto.
12095 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12097 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12099 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12100 known to be multiple of divisor.
12102 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12104 * combine.c (try_combine): Add code to try to merge a set of a
12105 two-word pseudo to a constant with a setting of one of those words
12108 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12109 (split_tree): Completely rework to make more general.
12110 (make_range, fold): Call negate_expr.
12111 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12112 (fold, associate): Call new split_tree and associate_trees.
12113 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12115 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
12117 * loop.c (try_copy_prop): Avoid GNU C extension.
12119 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12121 * except.c (init_eh_for_function): Still zero eh_return_context,
12122 eh_return_stack_adjust, and eh_return_handler.
12124 * except.h (eh_status): Adjust documentation for x_protect_list.
12125 (begin_protect_partials): New function.
12126 * except.c (enqueue_eh_entry): Fix formatting.
12127 (get_first_handler): Add consistency check.
12128 (add_partial_entry): Adjust usage of protect_list.
12129 (emit_cleanup_handler): Save and restore ehqueue.
12130 (expand_start_all_catch): Add comment.
12131 (begin_protect_partials): New function.
12132 (end_protect_partials): Adjust usage of protect_list.
12133 (init_eh_for_function): Use xcalloc.
12135 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12137 * c-common.c (check_format_info): Don't call a variadic function
12138 with a non-literal format string.
12140 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12142 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12143 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12146 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12149 * collect2.c (collect_wait): Likewise.
12151 * dbxout.c (dbxout_type): Likewise.
12153 * gcc.c (do_spec_1): Likewise.
12155 * genemit.c (gen_insn, gen_expand): Likewise.
12157 * genrecog.c (write_switch, write_subroutine): Likewise.
12159 * mips-tfile.c (catch_signal, botch): Likewise.
12161 * print-rtl.c (print_rtx): Likewise.
12163 * toplev.c (default_print_error_function, report_error_function,
12164 _fatal_insn): Likewise.
12166 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12168 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12170 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12172 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12173 operations when needed.
12174 * i386.md (fop_?f_comm): New.
12175 (fop_?f_1): Do not accept commutative operands.
12177 1999-11-25 Andreas Jaeger <aj@suse.de>
12179 * config/mips/mips.md (casesi_internal): Add missing brace.
12181 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
12183 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12184 (splice_child_die): Handle moving a child DIE from the declaration
12185 DIE of a class to its specification.
12186 (gen_struct_or_union_type_die): Use 'complete' consistently.
12187 (gen_decl_die): Generate the virtual context DIE first.
12188 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12190 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
12192 * config/mips/mips.md (call_value_multiple_interanal1): New.
12194 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
12196 * dwarf2out.c (free_AT, free_die): New fns.
12197 (remove_children): Call them.
12198 (output_line_info): Disable removal of duplicate notes.
12200 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12201 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12202 means pretend the type isn't defined.
12203 Don't defer emitting types.
12204 (gen_type_die_for_member): New fn.
12205 (gen_decl_die): Call it.
12206 (splice_child_die): New fn.
12207 (gen_member_die): Call it rather than generate duplicate dies.
12209 Defer emitting information for the abstract instance of an inline
12210 until we either inline it or emit an out-of-line copy.
12211 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12212 from output_inline_function if DECL_ABSTRACT is also set.
12213 (block_ultimate_origin): Likewise.
12214 (gen_abstract_function): New fn.
12215 (gen_decl_die, gen_inlined_subroutine_die): Call it.
12216 (gen_subprogram_die): An abstract instance is not a declaration
12217 just because it doesn't match current_function_decl. Don't abort
12218 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
12219 has an abstract origin.
12220 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12221 abstract instance here.
12223 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
12225 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12226 where we need to reload fpul from a system register.
12228 1999-11-24 Andreas Jaeger <aj@suse.de>
12230 * config/mips/linux.h (CPP_PREDEFINES): Added.
12231 (LINK_SPEC): Remove -Y since this is only needed on sparc.
12233 1999-11-24 Andreas Jaeger <aj@suse.de>
12235 * config/mips/linux.h (TARGET_VERSION): Added.
12236 (HANDLE_SYSV_PRAGMA): Added.
12237 (DEFAULT_VTABLE_THUNKS): Added.
12239 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12241 * local-alloc.c (qty): New structure and static variable.
12242 (qty_phys_reg): Remove, all references changed to qty.
12243 (qty_n_refs): Likewise.
12244 (qty_min_class): Likewise.
12245 (qty_birth): Likewise.
12246 (qty_death): Likewise.
12247 (qty_size): Likewise.
12248 (qty_mode): Likewise.
12249 (qty_n_calls_crossed): Likewise.
12250 (qty_alternate_class): Likewise.
12251 (qty_changes_size): Likewise.
12252 (qty_first_reg): Likewise.
12253 (alloc_qty): Rename variable QTY to QTYNO.
12254 (finf_free_reg): Likewise.
12255 (local_alloc): Allocate qty, do not allocate the removed variables.
12257 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
12259 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12260 when -membedded-pic is passed.
12262 * config/mips/mips.md (casesi): Handle 64-bit case too.
12263 (casesi_internal_di): New insn.
12265 * config/mips/mips.c (embedded_pic_offset): Always make the
12266 embedded-pic subtractions relative to the name of the current
12267 function by use of the magic string "..CURRENT_FUNCTION".
12268 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12270 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
12272 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12273 of (const_int 0), when what we really care about is
12274 whether it's a zero constant anyway.
12275 (div_trap_mips16): Likewise.
12277 1999-11-23 Mark Mitchell <mark@codesourcery.com>
12279 * loop.c (loop_optimize): Always find_loop_tree_blocks and
12280 unroll_block_trees when generating debuggable code.
12282 * tree.h (unsave_expr_1): New function.
12283 (lang_unsave): New variable.
12284 (get_callee_fndecl): New function.
12285 * tree.c (unsave_expr_now_r): New function.
12286 (lang_unsave): Define.
12287 (unsave_expr_1): Likewise.
12288 (unsave_expr_now_r): Split out from unsave_expr_now.
12289 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
12290 call unsave_expr_now_r.
12291 (get_callee_fndecl): Define.
12293 * Makefile.in (gencheck): Don't depend on lang_tree_files.
12294 (gencheck.o): Do depend on lang_tree_files.
12296 * integrate.h (copy_decl_for_inlining): New declaration.
12297 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12298 (copy_decl_for_inlining): New function.
12299 (integrate_parm_decls): Use it.
12300 (integrate_decl_tree): Likewise.
12302 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
12304 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12305 the second two from the first.
12306 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12307 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12308 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12310 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12311 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12314 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
12316 * pa.md (call_internal_symref, call_value_internal_symref): No mode
12317 needed on the address operand.
12318 * pa.c (call_operand_address): Check for the correct mode.
12320 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
12322 * loop.c: Include "basic-block.h".
12323 (try_copy_prop, replace_loop_reg): New functions.
12324 (load_mems): Detect registers that just hold copies of the hoisted
12325 mem, and call try_copy_prop to eliminate them.
12326 * Makefile.in (loop.o): Update dependencies.
12328 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
12330 * Makefile.in (gencheck.o): Depend on gencheck.h.
12331 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12332 (insn-peep.o): Depend on except.h and function.h.
12333 (insn-attrtab.o): Depend on RECOG_H.
12334 (insn-output.o): Depend on toplev.h and flags.h.
12335 (gengenrtl.o): Depend on real.h.
12336 (gen-protos.o): Depend on cpplib.h and cpphash.h.
12337 Unify all dependencies to be on RECOG_H rather than recog.h.
12339 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12341 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12342 * configure.in: Try building a bi-arch 32/64-bit compiler on
12343 sparc-*-solaris2.7 and higher.
12344 * configure: Rebuild.
12346 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
12348 * config/freebsd.h: New, FreeBSD architecture independent file.
12349 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12350 independent pieces.
12351 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12352 directly by i386/freebsd.h.
12353 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12354 independent configuration file.
12355 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12356 directly by i386/freebsd.h.
12357 * configure: Rebuilt.
12359 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12360 which is in the user's namespace.
12361 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12362 `i386' which is not in our namespace.
12364 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
12366 * invoke.texi (ARM Options): Add in -mno-alignment-traps
12368 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12370 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12371 (add_dwarf_attr, add_child_die): Just push onto the front.
12372 (reverse_die_lists): New fn.
12373 (add_sibling_attributes): Use it.
12374 (push_decl_scope): Reorganize.
12375 (add_name_and_src_coords_attributes): Don't set file and line for
12376 an artificial decl.
12377 (gen_subprogram_die): An artificial function doesn't need to match
12379 (gen_compile_unit_die): Return the generated die. Only add
12380 AT_comp_dir if the filename is relative.
12381 (remove_AT): Simplify loop. Also free string values.
12382 (output_die): A DIE ref can't be null.
12383 (output_value_format, value_format): Take a dw_attr_ref.
12384 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12385 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12386 AT_addr, AT_lbl): New fns.
12387 (various): Use them.
12388 (various): Constify.
12390 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12392 * combine.c (combine_simplify_rtx): When handling a SUBREG,
12393 take SUBREG_WORD into account.
12394 (if_then_else_cond): Likewise.
12396 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12398 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12399 clause from BSD license, pursuant with
12401 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12403 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
12405 * loop.c (load_mems): Reformat slightly.
12406 * basic-block.h (regset_head): New typedef.
12407 (INIT_REG_SET): New macro.
12409 1999-11-22 Bruce Korb <autogen@linuxbox.com
12411 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12412 (mips-dec-bsd*): non-functional code
12413 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12415 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12416 added three replacement fixes
12417 (no_double_slash): removed comments that are not (any longer) pertinent
12418 (bad_lval): this fix currently runs against many files.
12419 The comment seems to indicate that we should select for files
12420 containing 'pragma extern_prefix'.
12422 * fixinc/fixinc.x86-linux-gnu: deleted
12423 * fixinc/inclhack.sh: regen
12424 * fixinc/fixincl.x: regen
12425 * fixinc/fixincl.sh: regen
12427 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
12429 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12430 its code is INSN and it has no notes.
12432 1999-11-22 Andrew Haley <aph@cygnus.com>
12434 * varasm.c (function_defined): Remove.
12435 (make_function_rtl): Don't set function_defined.
12436 (make_decl_rtl): Remove global register warning.
12437 * regclass.c (no_global_reg_vars): New variable.
12438 (globalize_reg): Warn if function has already been defined.
12439 (regclass_init): Set no_global_reg_vars.
12441 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12443 * regclass.c (reg_pref): New structure and static variable
12444 (prefclass): Delete.
12445 (altclass): Delete.
12446 (all uses of prefclass and altclass): Use reg_pref instead.
12448 1999-11-21 Nick Clifton <nickc@cygnus.com>
12450 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12452 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12453 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12454 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12456 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
12458 * varasm.c (output_constructor): Solve problem with long long
12459 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12461 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12463 * global.c (allocno): New structure and static variable.
12464 (allocno_reg): Remove, all references replaced by allocno.
12465 (allocno_size): Likewise.
12466 (hard_reg_conflicts): Likewise.
12467 (hard_reg_preferences): Likewise.
12468 (hard_reg_copy_preferences): Likewise.
12469 (hard_reg_full_preferences): Likewise.
12470 (regs_someone_prefers): Likewise.
12471 (allocno_calls_crossed): Likewise.
12472 (allocno_n_refs): Likewise.
12473 (allocno_live_length): Likewise.
12474 (find_reg): Rename ALLOCNO to NUM.
12476 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12477 references updated.
12478 (may_move_out_cost): New variable.
12479 (init_reg_sets_1): Initialize may_move_out_cost.
12480 (record_reg_classes): Use may_move_out_cost.
12482 * regclass.c (dump_regclass): New function.
12483 (regclass): New parameter DUMP, call DUMP_REGCLASS.
12484 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12485 pass rtl_dump_file to regclass.
12486 * rtl.h (regclass): Update prototype.
12488 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12490 * i386.md (neg, not and abs patterns): Revmap to use
12491 ix86_expand_unary_operator and ix86_unary_operator_ok.
12492 (add?f and sub?f expanders): Force operand 1 to register.
12493 * i386.c (ix86_expand_unary_operator): Rewrite.
12494 (ix86_unary_operator_ok): Ensure that memory operands
12496 (ix86_binary_operator_ok): Do not allow operand 1 to
12497 come into memory and operand 0 not.
12498 (ix86_expand_binary_operator): Ensure that
12499 src1 is not non-matching memory.
12501 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12502 to support integer registers and memory.
12503 (abss?2_integer): Likewise.
12505 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12506 (REG_CLASS_NAMES): Likewise.
12507 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12509 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12510 (movsf): Likewise; unify 4th and 5th alternative.
12511 (pushdf): Likewise.
12512 (movdf_1): Likewise; rename to movdf_integer.
12513 (pushxf): Likewise; rename to pushxf_integer; fix output template;
12514 remove redundant splitter.
12515 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12516 (movdf_nointeger): New.
12517 (movxf_nointeger): New.
12518 (pushxf_nointeger): New.
12520 * i386.md (extend?f?f): Split to expander and pattern, refuse two
12521 memory operands in patterns.
12522 (fop*): Refuse two memory operands.
12524 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12525 on !TARGET_USE_CLTD CPUs.
12527 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
12529 * extend.texi: Document C++ restricted pointers and references.
12531 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
12533 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12534 (invalidate_skipped_set): Call it unconditionally.
12535 (cse_set_around_loop): Likewise.
12537 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12539 * rtl.texi (mem): Add documentation for alias-set argument
12542 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12544 * i386.h (struct_processor_costs): New fields int_load, int_store,
12545 fp_move, fp_load and fp_store
12546 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12548 (MEMORY_MOVE_COST): New macro.
12549 * i386.c (386_cost): Define new fields.
12550 (i486_cost): Likewise.
12551 (pentium_cost): Likewise.
12552 (pentiumpro_cost): Likewise.
12553 (k6_cost): Likewise.
12555 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
12556 Geoffrey Keating <geoffk@cygnus.com>
12558 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12560 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12563 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12564 (TARGET_STRICT_ALIGNMENT): New macro.
12565 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12566 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12567 * invoke.texi (M680x0 Options): Document -mstrict-align.
12569 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
12570 Richard Henderson <rth@cygnus.com>
12572 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12573 (ix86_split_long_move): Declare.
12574 * i386.c (split_xf, ix86_split_movdi): Remove.
12575 (ix86_split_to_parts, ix86_split_long_move): New.
12576 * i386.md (dimode move splitters): Use ix86_split_long_move.
12577 (dfmode move splitters): Likewise.
12578 (xfmode move splitters): Likewise.
12579 (movsf_1): Allow F->r.
12580 (movdf_1, movxf_1): Allow F->ro.
12582 1999-11-17 Mark Mitchell <mark@codesourcery.com>
12584 * except.h (struct eh_entry): Add goto_entry_p.
12585 (eh_region_from_symbol): Remove prototype.
12586 * except.c (find_func_region_from_symbol): New function.
12587 (emit_cleanup_handler): Likewise.
12588 (eh_region_from_symbol): Make it static.
12589 (add_new_handler): Verify the argument.
12590 (find_func_region): Update comment.
12591 (expand_eh_region_end): Expand handlers here, rater than waiting
12592 until expand_leftover_cleanups or start_all_catch.
12593 (expand_leftover_cleanups): Don't expand here.
12594 (expand_start_all_catch): Or here.
12595 (expand_rethrow): Check the return value from find_func_region.
12596 * function.c (expand_function_end): Emit the catch_clauses.
12598 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
12600 * integrate.c (expand_inline_function): Add necessary check for NULL.
12602 1999-11-18 Nick Clifton <nickc@cygnus.com>
12604 * toplev.c (main): Correctly detect an unrecognised option.
12606 * cppinit.c (cpp_handle_option): Do not claim to have consumed
12607 a -f option if it has not been recognised.
12609 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
12611 * basic-block.h (update_life_extent): Remove trailing comma on
12612 enumeration type list.
12614 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12616 * varasm.c (output_constructor) Solved problem with long long
12617 bitfields. Corrected calculating this_time and shift. Also
12618 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12620 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
12622 * flow.c (split_edge): Take looping structure into account when
12623 determining where to put the new block note.
12625 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
12627 * Makefile.in (ggc-none.o): Provide host specific version if
12630 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
12632 * cse.c (delete_trivially_dead_insns): Identify no-op insns
12633 containing subregs too.
12635 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12637 * invoke.texi: Add documentation for -muninit-const-in-rodata.
12638 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12639 (TARGET_UNINIT_CONST_IN_RODATA): Define.
12640 (text_section): Add switches -munint-const-in-rodata and
12641 -mno-uninit-const-in-rodata.
12642 (ASM_OUTPUT_COMMON): Remove.
12643 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12644 const objects should be placed in read-only data. Otherwise declare
12647 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
12649 * jump.c (jump_optimize_1): Revert last change.
12651 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
12653 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12654 test if optimizing for size.
12656 1999-11-17 Mark Mitchell <mark@codesourcery.com>
12658 * Makefile.in (toplev.o): Depend on except.h.
12659 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12661 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12663 * i386.md (divmodsi4): Rewrite to expander.
12664 (*divmodsi4_nocltd): New.
12665 (*divmodsi4_cltd): New.
12666 (divmodsi4 splitter): Handle the case when input comes in edx.
12667 (udivmodhi4): Do not use constraints in exander.
12668 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12670 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
12672 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12673 for the common case.
12675 1999-11-16 Jakub Jelinek <jakub@redhat.com>
12677 * explow.c (hard_function_value): Add outgoing argument.
12678 * expr.h (hard_function_value): Declare it.
12679 * calls.c (expand_call, emit_library_call_value): Update callers.
12680 * function.c (aggregate_value_p): Ditto.
12681 (diddle_return_value): Must look at the outgoing registers
12682 on archs with register windows.
12684 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
12686 * alpha.c (alpha_build_va_list): Use make_lang_type and
12687 initialize TYPE_NAME for the va_list record.
12689 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12691 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12693 * ggc.h (struct ggc_statistics): Rearrange elements for better
12694 packing on 64-bit hosts.
12695 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12696 (compute_nearerout): Likewise.
12698 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
12700 * config/rs6000/rs6000.c (first_reg_to_save): Save
12701 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12703 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
12705 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12706 notion of nesting to find the DIE for a type or function.
12707 DIEs can go in limbo even if we got a context_die.
12708 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12709 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12711 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12712 (gen_type_die): Writing out the context doesn't cause member class
12713 template instantiations to be written out as well.
12715 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
12717 * rs6000.h (ASM_OUTPUT_DEF): New.
12718 Based on proposed addition from David Edelsohn.
12720 1999-11-15 Robert Lipe <RobertLipe@usa.net>
12721 Bruce Korb <autogen@linuxbox.com>
12723 * fixinc/inclhack.def
12724 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
12725 (unixware7_byteorder_fix): added. Removes conflicts for new defs
12727 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
12728 (svr4_endian): enabled with SVR5
12729 (svr4_mkdev): simplified syntax and enabled with SVR5
12731 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
12733 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12734 * configure: Rebuilt.
12735 * config/t-freebsd-thread: New file.
12737 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
12739 * i386.c (ix86_decompose_address): Verify the base is a REG
12740 before trying to examine its register number.
12742 * basic-block.h: Remove all #defines and prototypes related to
12744 (free_bb_mem, compute_preds_succs): Remove prototype.
12745 * rtl.h (free_bb_mem): Remove prototype.
12746 * flow.c (alloc_int_list_node); Remove function.
12747 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12748 (compute_preds_succs, free_bb_mem): Likewise.
12749 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12750 * toplev.c (rest_of_compilation): Likewise.
12751 * haifa-sched.c (build_control_flow): Use flow generated edge
12752 list to build the haifa specific edge list.
12753 (find_rgns): Use new CFG data structures instead of pred/succ lists.
12754 (schedule_insns): Do not build pred/succ lists anymore. Instead
12755 build the edge table.
12757 * basic-block.h (dump_bb_data): Remove declaration.
12758 * flow.c (dump_bb_data): Remove function.
12759 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12760 (sbitmap_union_of_predsucc): Likewise.
12762 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12763 argument. All callers changed.
12764 (delete_null_pointer_checks_1): No longer need to compute the
12767 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12768 All callers changed.
12769 (pre_expr_reaches_here_p_work): Likewise.
12770 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12771 * lcm.c (compute_laterin): Fix initialization of LATER.
12772 (compute_nearerout): Similarly for NEARER.
12774 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12776 * cse.c (set_nonvarying_address_components): Delete unused function.
12777 (refers_to_p): Likewise.
12779 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
12781 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12784 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12786 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12787 definition in do while (0).
12789 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
12791 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12793 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
12795 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12797 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
12799 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12800 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12801 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12802 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
12804 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
12805 saved on the stack. Output more accurate stack frame statistics
12806 into assembler file.
12808 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
12810 * genextract.c (record_insn_name): New function.
12811 (get_insn_name): No longer a stub.
12812 (main): Call record_insn_name for each insn. After each label
12813 written, print the insn name in a comment.
12815 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12817 * output.h (const_section, init_section, fini_section): Add
12820 * alpha/elf.h (const_section): Delete declaration.
12822 * svr4.h (const_section): Likewise.
12824 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
12826 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
12827 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
12828 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
12830 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
12831 variable-sized array bounds.
12833 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
12835 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
12838 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12840 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
12841 addresses the same way GO_IF_LEGITIMATE_INDEX does.
12843 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12845 * cse.c (hash_arg_in_struct): Delete.
12846 (struct table_elt): Delete elt in_struct.
12847 (struct set): Delete elt src_in_struct.
12848 (merge_equiv_classes): Don't set either hash_arg_in_struct or
12849 the corresponding in_struct elts.
12850 (canon_hash): Likewise.
12851 (safe_hash): Likewise.
12852 (find_best_addr): Likewise.
12853 (record_jump_cond): Likewise.
12854 (cse_insn): Likewise.
12856 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
12858 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
12860 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
12863 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
12865 * function.c (diddle_return_value): Put back check that the DECL_RTL
12866 for the function is a register.
12868 * function.c (diddle_return_value): Use hard_function_value to
12869 get an rtx suitable for use in the USE/CLOBBER insn.
12871 * global.c (global_conflicts): Update comments.
12872 (record_conflicts): No need to record conflicts between pseudos here.
12874 1999-11-11 Bruce Korb <autogen@linuxbox.com>
12876 * fixinc/fixincl.c: Added verbose levels for status messages
12878 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12880 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
12881 operand as argument to expand_and or expand_binop.
12883 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
12885 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
12886 gcc_add_string_root.
12888 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
12890 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
12892 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
12894 * flow.c (compute_flow_dominators): Initially put all blocks on
12896 * lcm.c (compute_antinout_edge, compute_available): Similarly.
12897 * gcse.c (compute_cprop_avinout): Remove.
12898 (compute_cprop_data): Use compute_available.
12899 (delete_null_pointer_checks_1): Use compute_available.
12901 * basic-block.h (compute_available): Returns a void now.
12902 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
12903 to return a value anymore.
12904 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
12905 worklists. Fix boundary cases. Compute maximal solutions.
12906 (compute_laterin, compute_nearerout): Similarly.
12908 * dwarf2out.c (add_AT_location_description): Allow
12909 (mem (plus (pseudo) (...)) too.
12911 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
12913 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
12915 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
12916 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12918 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
12920 * gansidecl.h: Likewise.
12926 * toplev.h: Likewise.
12928 * tree.c: Likewise.
12930 * tree.h: Likewise.
12932 * varray.c: Likewise.
12934 * varray.h: Likewise.
12936 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
12938 * gcov.c (struct arcdata): Add hits and total, remove prob.
12939 (output_branch_counts): New.
12940 (process_args): Set output_branch_counts if -c.
12941 (calculate_branch_probs): Store hits and total instead of
12943 (output_data): Emit counts if output_branch_counts is true.
12944 * gcov.texi (Invoking Gcov): Document -c switch..
12946 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
12948 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
12949 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
12951 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
12953 * invoke.texi (C Dialect Options): Add missing builtins from
12954 c-common.c to list.
12955 * extend.texi (Other Builtins): Copy to this list.
12957 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12959 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
12960 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
12961 redundant bitmap.h.
12963 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
12965 * flow.c (compute_flow_dominators): No longer treat basic block 0
12966 or (n_basic_blocks - 1) specially. Clear the AUX field before
12967 starting computation of doms/pdoms. Fix initial state for pdoms.
12969 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12971 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
12972 match rtl.o's: added ggc.h and toplev.h
12973 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
12974 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
12975 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
12977 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
12979 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
12980 from HAVE_DOS_BASED_FILESYSTEM.
12981 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
12982 HAVE_DOS_BASED_FILESYSTEM.
12984 (split_directories): Only special-case DOS file names if
12985 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
12986 instead of explicit tests. Conditionalize on !VMS.
12987 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
12988 tests. Conditionalize on !VMS.
12989 (process_command): Only use make_relative_prefix if !VMS.
12990 (free_split_directories): Conditionalize on !VMS.
12991 (DIR_UP): Conditionalize on !VMS.
12993 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
12995 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
12997 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
12999 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13002 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
13004 * invoke.texi (Environment Variables): Document relative path
13006 * gcc.c (DIR_UP): If not defined, define as "..".
13007 (standard_bindir_prefix): New static, holds target location to
13009 (split_directories): New function to split a filename into
13010 component directories.
13011 (free_split_directories): New function, release memory allocated
13012 by split_directories.
13013 (make_relative_prefix): New function, make a relative pathname if
13014 the compiler is not in the expected location.
13015 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13016 can figure out an appropriate prefix from argv[0].
13017 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13018 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
13019 STANDARD_BINDIR_PREFIX.
13021 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13023 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
13025 * config/c4x/c4x.h: Moved prototypes to c4x.h.
13026 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13027 c4x_secondary_memory_needed) Delete.
13028 (fp_zero_operand): Add mode argument.
13030 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
13032 * reload1.c (reload_reg_free_for_value_p): Don't use a register
13033 that is in reload_reg_used.
13035 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
13037 * config/arm/arm-protos.h: New file: Prototypes for functions
13038 defined in arm.c and pe.c.
13039 * config/arm/arm.h: Fix compile time warnings.
13040 * config/arm/arm.c: Fix compile time warnings.
13041 * config/arm/pe.h: Fix compile time warnings.
13042 * config/arm/aout.h: Fix compile time warnings.
13044 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
13046 * config/m32r/m32r-protos.h: New file: Prototypes for functions
13049 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13050 Add support for subtargets.
13051 Add prototypes for new predicates.
13052 Add scheduling macros.
13054 * config/m32r/m32r.c: Fix compile time warnings.
13055 (int8_operand): New predicate function.
13056 (reg_or_cmp_int16_operand): New predicate function.
13057 (extend_operand): New predicate function.
13058 (m32r_adjust_code): New scheduling function.
13059 (m32r_adjust_priorty): New scheduling function.
13060 (m32r_sched_init): New scheduling function.
13061 (m32r_sched_reorder): New scheduling function.
13062 (m32r_sched_variable_issue): New scheduling function.
13063 (direct_return): New codegen function.
13064 (m32r_not_same_reg): New rtl testsing function.
13066 * config/m32r/m32r.md: Fix compile time warnings.
13067 Add support for pre decrement and post increment memory
13069 Add S<cc> patterns.
13072 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13074 * global.c (EXECUTE_IF_CONFLICT): Don't define.
13075 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13076 (find_reg): Likewise.
13078 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
13080 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13081 to avoid assembler errors.
13083 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
13085 * config/v850/v850-protos.h: New file: Prototypes for functions
13087 * config/v850/v850.h: Move prototypes to v850-protos.h
13088 * config/v850/v850.c: Move prototypes to v850-protos.h
13089 * config/v850/v850.md: Fix compile time warnings.
13091 * config/fr30/fr30-protos.h: New file: Prototypes for functions
13093 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13094 * config/fr30/fr30.c: Fix compile time warnings.
13095 * config/fr30/fr30.md: Fix compile time warnings.
13097 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
13099 * tree.h (get_containing_scope): Declare it.
13100 * tree.c (get_containing_scope): New fucntion.
13101 (decl_function_context): Use it.
13102 * toplev.c (rest_of_compilation): Use get_containing_scope.
13104 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13106 * Makefile.in (rtl.o): Depend on toplev.h.
13108 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
13110 * cse.c (delete_trivially_dead_insns): Replace alloca with
13112 * except.c (update_rethrow_references): Likewise.
13113 (init_eh_nesting_info): Likewise.
13114 * function.c (identify_blocks): Likewise.
13115 * gcse.c (dump_hash_table): Likewise.
13116 * graph.c (print_rtl_graph_with_bb): Likewise.
13117 * loop.c (combine_movables): Likewise.
13118 (move_movables): Likewise.
13119 (count_loop_regs_set): Likewise.
13120 (strength_reduce): Likewise.
13121 * profile.c (compute_branch_probabilities): New function, split
13123 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
13124 * regclass.c (regclass): Likewise.
13125 * regmove.c (regmove_optimize): Likewise.
13126 * toplev.c (compile_file): Likewise.
13127 (main): Don't mess with the stack rlimit.
13129 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
13131 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13132 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13134 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
13136 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13138 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
13140 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13141 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13144 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
13146 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13148 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
13150 * gcse.c (post_dominators): Kill.
13151 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13152 (compute_code_hoist_data): Use compute_flow_dominators. Do not
13153 pass in a pdom array since we do not need pdoms.
13154 * haifa-sched.c (schedule_insns): Similarly.
13155 * flow.c (compute_dominators): Remove dead function.
13156 (compute_flow_dominators): Do not compute doms or pdoms if the
13157 caller does not request them. Split up loop to build doms and
13158 pdoms. Use a worklist to compute doms and pdoms.
13159 * basic-block.h (compute_dominators): Remove prototype.
13161 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
13163 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13164 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13165 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13166 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13167 (cant_move, fed_by_spec_load, is_load_insn): Remove.
13168 (schedule_region): Remove unused variable.
13169 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13171 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
13173 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13174 (update_equiv_regs): Likewise.
13175 (block_alloc): Likewise.
13176 * reg-stack.c (reg_to_stack): Likewise.
13177 (convert_regs_2): Likewise.
13178 * reload1.c (reload_as_needed): Likewise.
13180 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
13182 * Makefile.in (dbxout.o): Depend on ggc.h.
13183 (dwarf2out.o): Likewise.
13184 (xcoffout.o): Likewise.
13185 * dbxout.c: Include ggc.h.
13186 (dbxout_init): Register lastfile as a root.
13187 * dwarf2out.c: Include ggc.h.
13188 (dwarf2out_line): Register lastfile as a root.
13189 * xcoffout.c: Include ggc.h.
13190 (xcoffout_source_line): Register xcoff_lastfile as a root.
13192 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
13194 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13196 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
13198 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13200 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13202 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13204 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13205 (EXECUTE_IF_CONFLICT): Likewise.
13206 (ALLOCNO_LIVE_P): Avoid signed division.
13207 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13208 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13209 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13211 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
13213 * haifa-sched.c (schedule_block): Don't crash if there's no
13214 next insn for an interblock movement.
13215 (add_branch_dependences): Don't allow clobber insns to move either.
13217 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
13219 * i386.c (split_xf): New.
13220 * i386-protos.h: Declare it.
13221 * i386.md (movxf_1): Add general regs alternatives.
13222 (movxf_1+1): New splitter for same.
13224 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
13226 * function.c (purge_addressof_1): Add missing return values.
13228 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
13230 * function.c (is_addressof): New function. Returns true if
13231 the given piece of RTL is an ADDRESSOF.
13232 (purge_addressof_1): Make boolean. Return false if the
13233 ADDRESSOFs could not be purged.
13234 (purge_addressof): If ADDRESSOFs could not be purged from the
13235 notes attached to an insn, remove the offending note(s),
13236 unless they are attached to a libcall.
13238 1999-11-05 Andreas Jaeger <aj@suse.de>
13240 * genoutput.c (null_operand =): Initialize all fields.
13242 * errors.h: Add extern to prototypes.
13244 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
13246 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13247 * configure: Rebuilt.
13249 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13251 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13252 (mirror_conflicts): New function.
13253 (global_alloc): Call it.
13254 (expand_preferences): Remove redundant CONFLICTP test.
13255 (find_reg, dump_conflicts): Likewise.
13256 (prune_preferences): Process conflicts one word at a time.
13258 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
13260 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13261 instead of an explicit loop.
13263 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
13265 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
13266 if REG_RETVAL check succeeds, then put classp in src_elt.
13268 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
13270 * function.c (pad_to_arg_alignment): Only update argument_pad
13271 if the argument's alignment is greater than STACK_BOUNDARY.
13273 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
13275 * bitmap.h (BITMAP_XFREE): New.
13276 * flow.c (life_analysis): Use it.
13277 (life_analysis_1): Free blocks.
13279 * combine.c (undo_commit): New.
13280 (try_combine): Use it. Don't zap undobuf.undos.
13281 (combine_instructions): Don't zap undobuf.undos; free the
13282 undobuf.frees list.
13284 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13286 * stmt.c (cost_table_): New.
13287 (estimate_case_costs): Use it instead of xmalloc.
13289 * toplev.c (compile_file): Reuse dumpname memory instead
13292 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
13294 * reg-stack.c (convert_regs_1): Initialize target_stack->top
13295 after verifying an EH edge.
13297 * haifa-sched.c (init_rgn_data_dependences): Correctly
13298 size bb_pending_lists_length when zeroing.
13300 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
13302 * function.c (diddle_return_value): New.
13303 (expand_function_end): Use it.
13304 * stmt.c (expand_null_return): Likewise.
13305 (expand_value_return): Likewise.
13307 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13309 * reload1.c (reload): Don't remove return value clobbers.
13311 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
13313 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13315 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
13317 * cse.c (cse_main): Use xmalloc, not alloca.
13318 (cse_basic_block): Likewise.
13319 * local-alloc.c (local_alloc): Likewise.
13321 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
13322 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13324 * rtl.c: Include toplev.h.
13325 (fatal): Remove declaration.
13327 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
13329 * haifa-sched.c (schedule_block): Fix thinko.
13331 1999-11-03 James McKelvey <mckelvey@fafnir.com>
13333 * fixinc/fixincl.c(create_file): Allow for systems that do not have
13334 S_IR* defined values
13336 1999-11-03 Philippe De Muyter <phdm@macqel.be>
13338 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13339 call `malloc' instead.
13341 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
13343 * flags.h (flag_renumber_insns): Declare.
13344 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
13346 * rtl.h (renumber_insns): Change prototype.
13347 * toplev.c (flag_renumber_insns): Define.
13348 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13350 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
13352 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13353 and fpsqrtd. Use them and create fdiv function unit to more
13354 accurately represent fpu sqrt pipeline semantics on UltraSparc.
13355 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13357 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
13359 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13361 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13362 insn into ready list, do not use just a raw swap.
13364 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
13366 * rtl.h (renumber_insns): New function.
13367 (remove_unnecessary_notes): Likewise.
13368 * emit-rtl.c (renumber_insns): Define.
13369 (remove_unncessary_notes): Likewise.
13370 * toplev.c (rest_of_compilation): Remove dead code.
13371 Use renumber_insns and remove_unncessary_notes.
13373 * gcse.c (struct null_pointer_info): New type.
13374 (get_bitmap_width): New function.
13375 (current_block): Remove.
13376 (nonnull_local): Likewise.
13377 (nonnull_killed): Likewise.
13378 (invalidate_nonnull_info): Take a null_pointer_info as input.
13379 (delete_null_pointer_checks_1): New function.
13380 (delete_null_pointer_checks): Use it.
13382 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13383 (split_edges): Likewise.
13384 (schedule_block): Likewise.
13385 (compute_block_backward_dependencies): Likewise.
13386 (schedule_region): Likewise.
13387 (schedule_insns): Likewise.
13389 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
13391 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13392 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13393 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13394 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13395 * jump.c (delete_unreferenced_labels): Don't delete if
13396 LABEL_ALTERNATE_NAME is set.
13397 * print-rtl.c (print_rtx): Dump alternate name.
13398 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13399 * rtl.h (LABEL_ALTERNATE_NAME): Define.
13400 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13401 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13403 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13405 * fix-header.c (recognized_extern, recognized_function): Constify
13408 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13409 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13410 (compute_available): Remove unused variable `last'.
13411 (compute_nearerout): Remove unused variable `temp_bitmap'.
13412 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13413 Remove unused variable `x'.
13415 * scan.h (recognized_function, recognized_extern): Constify a
13418 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13420 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13422 * varasm.c (decode_rtx_const): Use XSTR to access the string
13425 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
13427 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13429 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13431 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13433 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
13435 * pa.c (ireg_operand): New function.
13436 * pa.h (PREDICATE_CODES): Handle ireg_operand.
13437 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13438 Fix out of date comment.
13440 * pa.md (negdi2): Turn into expander + anonymous pattern.
13442 * reload.c (find_reloads): Fix typos in recent change.
13444 * dwarf2out.c: Do not include ctype.h.
13446 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13448 * regclass.c (record_reg_classes): Always use may_move_cost when
13449 seeing how operand fits with various register classes.
13451 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
13453 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13454 * toplev.c: Revert Nov 1 13:22 change.
13456 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
13458 * config/pa/pa.md (height reduction patterns): Add checks for
13459 overlapping operands to avoid semantic-destroying splits for
13460 height reduction patterns.
13462 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13464 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13465 have been an hyphen, fixed.
13466 * configure: Rebuilt.
13468 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
13470 * config/arm/tpe.h: Add prototypes for exported functions.
13471 * config/arm/pe.c: Fix compile time warnings.
13472 * config/arm/semi.h: Fix compile time warnings.
13473 * config/arm/arm.c: Fix compile time warnings.
13474 * config/arm/arm.h: Fix compile time warnings.
13475 * config/arm/arm.md: Fix compile time warnings.
13476 * config/arm/thumb.c: Fix compile time warnings.
13477 * config/arm/thumb.h: Fix compile time warnings.
13478 * config/arm/thumb.md: Fix compile time warnings.
13480 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
13482 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13485 * unroll.c (unroll_loop): Remove LOOP notes when loop is
13486 completely unrolled.
13488 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13490 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13492 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
13494 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13495 * rtl.h (rtx_equal_p): Move prototype.
13496 * rtl.c (rtx_equal_function_value_matters): Move from
13498 (rtx_equal_p): Likewise.
13499 * rtlanal.c (rtx_equal_function_value_matters): Delete.
13500 (rtx_equal_p): Likewise.
13502 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
13504 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13505 ! HAS_INIT_SECTION.
13507 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
13509 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13511 * pa.h (ADDR_VEC_ALIGN): Define.
13513 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13514 notes when presented with "if (foo) break; end_of_loop" and
13515 the break sequence gets moved out of the loop.
13517 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13518 Remove explicit zero initializations of entries within MAP.
13520 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
13522 * reg-stack.c (convert_regs_1): Handle EH edges specially.
13524 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
13526 * bitmap.h (BITMAP_XMALLOC): New macro.
13527 * flow.c (CLEAN_ALLOCA): Remove.
13528 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13529 (life_analysis): Likewise.
13530 (update_life_info): Don't use CLEAN_ALLOCA.
13531 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13532 (calculate_global_regs_live): Likewise.
13533 (print_rtl_with_bb): Likewise.
13534 (verify_flow_info): Likewise.
13535 * global.c (global_alloc): Likewise.
13536 (global_conflicts): Likewise.
13537 * integrate.c (save_for_inline_nocopy): Likewise.
13538 (expand_inline_function): Likewise.
13539 * jump.c (jump_optimize_1): Likewise.
13540 (duplicate_loop_exit_test): Likewise.
13541 (thread_jumps): Likewise.
13542 * loop.c (loop_optimize): Likewise.
13543 (combine_givs): Likewise.
13544 (recombine_givs): Likewise.
13545 * reorg.c (dbr_schedule): Likewise.
13546 * unroll.c (unroll_loop): Likewise.
13548 * combine.c (combine_instructions): Use xmalloc instead of alloca.
13550 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
13552 * toplev.c (rest_of_compilation): Don't optimize the CFG
13553 when rebuilding, just before dbr.
13555 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13557 * output.h (assemble_end_function, assemble_destructor,
13558 assemble_constructor, assemble_gc_entry, assemble_global,
13559 assemble_label, output_constant_pool) Constify a char*.
13561 * varasm.c (assemble_destructor, assemble_constructor,
13562 assemble_gc_entry, assemble_end_function, assemble_global,
13563 assemble_label, output_constant_pool): Likewise.
13565 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
13567 * config/arm/thumb.c (thumb_expand_prologue): Add comments
13568 explaining what is goin on in this function.
13570 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13572 * regclass.c (record_reg_classes): In matching case, recompute
13573 costs since the direction of movement is different.
13575 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
13577 * resource.c (mark_target_live_regs): For unconditional branches,
13578 the resources found at the branch target should be added to the
13579 resources found so far, not intersected.
13581 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
13583 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13585 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13586 (sys/mman.h): Include this file only if #HAVE_MMAP.
13587 (run_compiles): Initialize `esac_fmt' with one old KR string, not
13588 with automatically concatenated ANSI strings.
13590 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
13592 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13593 (DIV_ROUND_UP): Robustify.
13594 (ggc_recalculate_in_use_p): New function.
13595 (release_pages): Don't inline it.
13596 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13598 (ggc_pop_context): Use ggc_recalculate_in_use_p.
13599 (clear_marks): Always save in_use_p.
13600 (sweep_pages): Use ggc_recalculate_in_use_p.
13601 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13602 Release pages before counting statistics.
13604 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
13606 * toplev.c (rest_of_compilation): Fix thinko in this change:
13608 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
13610 (rest_of_compilation): If inside an inlined external function,
13611 pretend we are just being declared.
13613 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
13615 * flow.c (calculate_global_regs_live): Fix thinko.
13617 * integrate.c (expand_inline_function): Fix bugs in previous
13618 change from Oct 28, 1999.
13620 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
13622 * stmt.c (expand_value_return): Fix typo in this change:
13624 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13625 (expand_value_return): Correctly convert VAL when promoting function
13626 return; support RETURN_REG being a PARALLEL.
13628 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
13630 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13632 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13634 * hard-reg-set.h (reg_names): Constify a char*.
13636 * regclass.c (reg_names): Likewise.
13638 * regs.h (reg_names): Likewise
13640 * a29k/a29k.c (reg_names): Delete declaration.
13642 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13644 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13645 arc_output_function_epilogue): Likewise.
13647 * elxsi/elxsi.c (reg_names): Likewise.
13649 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13651 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13654 * m88k/m88k.c (output_function_profiler): Likewise.
13656 * sparc/sparc.c (sparc_flat_output_function_prologue,
13657 sparc_flat_output_function_epilogue): Likewise.
13659 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
13661 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13662 warning from -Wuninitialized and put it under -W.
13663 * function.c (uninitialized_vars_warning): Warn only when the
13664 corresponding flag is set.
13666 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
13668 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13669 is nonzero and the single set does not have an elt, then assign
13672 * simplify-rtx.c: New file.
13673 * Makefile.in (OBJS): Add simplify-rtx.o
13674 (simplify-rtx.o): Add dependencies.
13675 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13676 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13677 (cse_gen_binary, simplify_unary_operation): Delete.
13678 (simplify_binary_operation, simplify_plus_minus): Likewise.
13679 (check_fold_consts, simplify_relation_operation): Likewise.
13680 (simplify_ternary_operation): Likewise.
13681 (delete_trivially_dead_insns): Simplify the contents of the
13682 REG_EQUAL note before trying to substitute it into the source
13683 of the reg-reg copy at the end of a libcall sequence.
13685 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
13686 references/callers changed.
13688 * mn10200.c (mn10200_va_arg): Force the return value into a
13691 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13693 * cccp.c (macroexpand): Avoid out of range accesses for omitted
13696 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
13698 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13700 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
13702 * fold-const.c (fold): Fix thinko when optimizing comparisons
13705 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
13707 * gcc.texi (Passes): Update front-end files to their current
13710 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
13712 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13713 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13714 (PREDICATE_CODES): Add addition_operation.
13715 * alpha-protos.h (addition_operation): Declare.
13716 (secondary_reload_class): Likewise.
13717 * alpha.c (addition_operation): New.
13718 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13719 * alpha.md (adddi3): Turn into expander.
13720 (*lda, *adddi_2): New.
13721 (movsf, movdf patterns): Don't preference integer regs.
13722 (movsi, movdi patterns): Don't preference fp regs.
13724 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
13726 * genrecog.c (write_switch): Check for duplicate CODE cases.
13728 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
13730 * ggc-common.c: Update pre-function commentary.
13731 * ggc-page.c: Likewise.
13733 (poison_pages): Use memset directly.
13734 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
13735 (ggc_collect): Poison before sweeping.
13736 * ggc-simple.c: Update pre-function commentary.
13737 (ggc_alloc_obj): Poison non-zeroed memory.
13739 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
13741 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13742 match format string, even on 64-bit hosts.
13743 * gcc-page.c (ggc_page_print_statistics): Likewise.
13745 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
13747 * config/i386/i386.c (ix86_cpu): Revert last patch.
13748 * config/i386/i386.h (ix86_cpu): Ditto.
13750 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
13752 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13753 TYPE_SIZE, convert type of result to sizetype.
13755 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
13757 * flow.c (count_or_remove_death_notes): Equate NULL with the
13760 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13761 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13764 * i386.c (pic_label_no): Delete.
13765 (ix86_attr_length_default): Don't use single_set to peek
13768 * recog.c (peephole2_optimize): Allow recog_next_insn to index
13769 the first insn after bb->end.
13770 * i386.md (push mem peeps): Scratch is live after evaluation
13772 (cmp mem peep): Similarly.
13774 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
13776 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13777 * function.c (pad_to_arg_alignment): Add missing braces.
13779 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13781 * alpha/alpha-protos.h (literal_section): Add prototype.
13782 (alpha_need_linkage, alpha_start_function,alpha_end_function):
13785 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13787 (alpha_start_function, alpha_end_function, float_strings,
13788 alpha_need_linkage): Constify a char*
13790 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13792 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13794 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13796 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13798 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13800 * flow.c (debug_flow_info): Add prototype.
13802 * gcc.c (main): Likewise.
13804 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
13807 * reload1.c (failed_reload, set_reload_reg): Likewise.
13809 * mips-tfile.c (main): Likewise.
13810 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
13811 with ATTRIBUTE_NORETURN.
13813 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
13815 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
13816 DECL is not a memory ref.
13818 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
13820 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
13821 * config/i386/i386.c (ix86_cpu): Add extern attribute.
13823 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
13825 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
13826 * config/mips/elf64.h: ditto.
13828 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
13830 * expr.c (emit_push_insn): New argument alignment_pad.
13831 Update all callers. Adjust stack pointer based on alignment pad.
13832 * function.c (pad_to_arg_alignment): New argument alignment_pad.
13833 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
13834 (locate_and_pad_parm): New argument alignment_pad. Update all
13836 * expr.h (emit_push_insn): Update prototype.
13837 (locate_and_pad_parm): Update prototype.
13838 * calls.c (arg_data): Add new field alignment_pad.
13839 (initialize_argument_information): Initialize alignment_pad.
13841 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
13843 * except.c (free_eh_nesting_info): Free the info itself.
13844 * function.c (free_after_compilation): Don't free NULL.
13845 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
13846 (pre_edge_insert): Free inserted.
13847 * stmt.c (free_stmt_status): Don't free NULL.
13849 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
13851 * gcov.c (DIR_SEPARATOR): Provide default.
13852 (output_data): Add test for MS-DOS format absolute filename.
13853 (fancy_abort): Correct program name.
13854 (open_files): Open all files in binary mode.
13855 * libgcc2.c (__bb_exit_func): Likewise.
13857 * profile.c (init_branch_prob): Specify binary when opening files.
13859 * flags.h (flag_unwind_tables): New decl.
13860 * toplev.c (flag_unwind_table): New definition.
13861 (f_options): Add -funwind-tables.
13862 (decode_g_option): Clarify warning when unknown -g option is given.
13863 (rest_of_compilation): If inside an inlined external function,
13864 pretend we are just being declared.
13866 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
13867 (dwarf2out_frame_finish): Likewise.
13869 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
13871 * fold-const.c (merge_ranges): If not in0, but in1, handle
13872 upper bounds equal like subset case.
13874 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
13876 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
13877 passed in a register but moved to the stack.
13879 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
13881 * gcc.c (pass_exit_codes, greatest_status): New variables.
13882 (struct option_map): Add entry for "--pass-exit-codes".
13883 (execute): Update greatest_status if error.
13884 (display_help): Add documentation for -pass-exit-codes.
13885 (process_command): Handle -pass-exit-codes.
13886 (main): Look at pass_exit_codes and greatest_status on call to exit.
13888 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13890 * reload.c (find_reloads): Refine test for no input reload
13891 case to not includes reloads emitted after insn.
13893 * function.c (find_temp_slots_from_address): Handle sum involving
13894 a register that points to a temp slot.
13895 (update_temp_slot_address): Make recursive call if both old and
13896 new are PLUS with a common operand.
13897 * calls.c (expand_call): Mark temp slot for result as having
13900 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
13902 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
13903 component as well as "BINUTILS".
13905 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
13906 * integrate.c (copy_rtx_and_substitute): Likewise.
13907 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
13908 All callers changed.
13909 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
13911 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
13912 gdb extensions, write size of type; also be more consistent
13913 in using references when this is a subtype.
13915 * pa.md (extv, extzv, insv): Use define_expand to reject constant
13916 that is out of range.
13918 * loop.c (unknown_constant_address_altered): New variable.
13919 (prescan_loop): Initialize it.
13920 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
13921 (invariant_p, case MEM): Remove handling for volatile and readonly;
13922 check new variable if readonly.
13923 (check_dbra_loop): Chdeck unknown_constant_address_altered.
13925 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
13926 (addr_affects_sp_p): Removed from note_mem_written and only
13927 define #ifdef AUTO_INC_DEC.
13929 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
13931 * regclass.c (record_reg_classes): Properly handle register move
13934 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
13935 Don't think valid if both operands are invalid.
13936 (struct constant_descriptor): New field RTL.
13937 (mark_const_hash_entry): Mark it.
13938 (record_constant{,_rtx}): Initialize it.
13939 (output_constant_def): Allocate RTL in permanent obstack and
13941 ({record,compare}_constant_1): Modes must match for
13942 CONSTRUCTOR of ARRAY_TYPE.
13944 * c-common.h (initializer_constant_valid_p): Delete decl from here.
13945 * output.h (initializer_constant_valid_p): Move decl to here.
13946 * c-common.c (initializer_constant_valid_p): Delete function from here.
13947 * varasm.c (initializer_constant_valid_p): Move function to here.
13949 * tree.h (STRIP_SIGN_NOPS): New macro.
13950 * fold-const.c (optimize_minmax_comparison): New function.
13951 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
13952 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
13953 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
13954 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
13955 widening conversions.
13956 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
13957 to look at size of mode, not precision of type; also add missing cases.
13958 (optimize_bit_field_compare, decode_field_reference): Don't try to
13959 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
13961 * dwarf2out.c (ctype.h): Include.
13962 (dwarf2out_set_demangle_name_func): New function.
13963 (size_of_line_info): Deleted.
13964 (output_line_info): Compute size of line info table from difference
13966 (base_type_die, add_name_attribute): Call demangle function, if any.
13967 (field_byte_offset): Use bits per word for variable length fields.
13968 (gen_array_type_die): Add array name.
13969 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
13970 (dwarf2out_add_library_unit_info): New function.
13972 * explow.c (set_stack_check_libfunc): New function.
13973 (stack_check_libfunc): New static variable.
13974 (probe_stack_range): Allow front-end to set up a libfunc to call.
13976 * combine.c (simplify_comparison): When making comparison in wider
13977 mode, check for having commuted an AND and a SUBREG.
13978 (contains_muldiv): New function.
13979 (try_combine): Call it when dividing a PARALLEL.
13980 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
13981 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
13983 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
13984 use one of the CLOBBERs instead.
13985 (if_then_else_cond): If comparing against zero, just return thing
13988 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
13989 Don't generate shifts and subtract if have conditional arithmetic.
13991 * rtl.h (delete_barrier): New declaration.
13992 * jump.c (jump_optimize): Set up to handle conditional call.
13993 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
13994 (delete_barrier): New function.
13996 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
13998 * recog.c (nonmemory_operand): Accept ADDRESSOF.
14000 * tree.c (build_type_attribute_variant): Push to obstack of
14001 ttype around type_hash_canon call.
14003 * expr.c (placeholder_list): Move decl to file scope.
14004 (expand_expr): Don't force access to volatile just because its
14006 If ignoring reference operations, just expand the operands.
14007 (expand_expr, case COMPONENT_REF): Propagate
14008 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14009 Refine test for using bitfield operations vs pointer punning.
14010 (expand_expr, case CONVERT_EXPR): If converting to
14011 BLKmode UNION_TYPE from BLKmode, just return inner object.
14012 Use proper mode in store_field call.
14013 Properly set sizes of object to store and total size in store_field
14014 call for convert to union.
14015 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14016 memory (like for ADDR_EXPR). Also, don't put constant in register if
14017 we'll want it in memory.
14018 (readonly_fields_p): New function.
14019 (expand_expr, case INDIRECT_REF): Call it if LHS.
14020 (expand_assignment): Handle a RESULT_DECL where
14021 DECL_RTL is a PARALLEL.
14022 (do_jump, case WITH_RECORD_EXPR): New case.
14023 (get_inner_reference): Always go inside a CONVERT_EXPR
14024 and NOP_EXPR if both modes are the same.
14025 (store_field): Use bitfield operations if size of bitsize is not same
14026 as size of RHS's type.
14027 Check for bitpos not a multiple of alignment in BLKmode case.
14028 Do block move in largest possible alignment.
14029 (store_constructor): Set BITSIZE to -1 for variable size and properly
14030 in case of array of BLKmode.
14031 (expand_expr_unaligned): New function.
14032 (do_compare_and_jump): Call it.
14034 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14035 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14036 does not include 'o'.
14038 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14039 both SET_DEST and SET_SRC reference a virtual register.
14040 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14042 * integrate.c (expand_inline_function): Handle case of setting
14043 virtual stack vars register (from built in setjmp); when parameter
14044 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14045 (subst_constant): Add new parm, MEMONLY.
14046 (expand_inline_function, integrate_parm_decls): Pass new parm.
14047 (integrate_decl_tree): Likewise.
14048 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14049 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14050 (copy_rtx_and_substitute, case SET): Add explicit calls to
14051 copy_rtx_and_substitute for both sides.
14053 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14055 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14056 within INDEX_TYPE, instead of before.
14057 (fixup_gotos): Use f->target_rtl, not the next insn,
14058 since latter may be from a later fixup.
14059 (expand_value_return): Correctly convert VAL when promoting function
14060 return; support RETURN_REG being a PARALLEL.
14061 (expand_return): When checking for result in regs and having
14062 cleanup, consider PARALLEL in DECL_RTL as being in regs.
14064 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
14066 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14067 last_nominal_fname): Mark const.
14068 (struct include_hash: name, nshort, control_macro): Mark
14070 (struct macrodef: symnam): Mark const.
14071 (struct if_stack: fname): Mark const.
14072 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14073 (IStable): New character-syntax array which encompasses all
14074 the old is_foo arrays.
14075 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14076 is_space): New macros for interrogating IStable.
14077 (check_macro_name): Kill last argument. All callers changed.
14079 * cppinit.c (initialize_char_syntax): Delete.
14080 (is_idchar, is_idstart, is_hor_space, is_space,
14081 trigraph_table): Delete.
14082 (IStable): New. Initialize with clever macros to avoid
14083 information duplication.
14084 (builtin_array): Table of builtins to get rid of explicit list
14085 in initialize_builtins.
14086 (initialize_builtins): Use builtins_array.
14087 (cpp_start_read): Call init_IStable, and set IStable['$'] if
14088 opts->dollars_in_ident.
14090 * cppexp.c: Change all refs to is_xyz[] arrays to use new
14092 (cpp_parse_expr): Avoid 'format string is not constant'
14093 warning. Use ISGRAPH to identify printable chars.
14094 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14096 (read_and_prescan): Map trigraphs to chars with open-coded
14097 if-else-if-... sequence, not a lookup table.
14098 * cpphash.c: Change all refs to is_xyz[] arrays to use new
14100 * cpplib.c: Change all refs to is_xyz[] arrays to use new
14101 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
14102 (check_macro_name): Remove ability to report an invalid
14103 assertion name, which is never used.
14104 (do_line): Constify a couple of char *'s.
14105 * cppmain.c (main): Call cpp_cleanup before returning.
14107 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
14109 * ggc.h (struct ggc_statistics): New type.
14110 (ggc_get_size): New function.
14111 (ggc_print_statistics): Likewise.
14112 * ggc-common.c (ggc_stats): New variable.
14113 (ggc_mark_rtx_children): Keep statistics.
14114 (ggc_mark_tree_children): Likewise.
14115 (ggc_print_statistics): New function.
14116 * ggc-page.c (struct globals): Add bytes_mapped field.
14117 (alloc_anon): Update it.
14118 (release_pages): Likewise.
14119 (ggc_get_size): New function.
14120 (ggc_page_print_statistics): New function.
14121 * ggc-simple.c (ggc_get_size): New function.
14123 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
14125 * flow.c (propagate_block): When the last reference to a label
14126 before an ADDR_VEC is deleted because the reference is a dead
14127 store, delete the ADDR_VEC.
14129 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
14131 * resource.c (find_free_register): Don't use the frame pointer
14132 if frame_pointer_needed.
14134 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
14136 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14137 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14139 * config/i960/i960.c (i960_va_start): New locals base, num.
14140 Use INDIRECT_REF instead of ARRAY_REF on valist.
14141 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14143 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
14145 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14147 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
14149 * tree.def (PLACEHOLDER_EXPR): Update comments.
14151 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14153 * c-common.c (check_format_info): Avoid non-literal format string
14154 warnings when `first_arg_num' is zero.
14156 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14158 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14160 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
14162 * arm.md (casesi_insn): Add a clobber of the condition code
14165 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
14167 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14168 used by both cc1 and cc1plus.
14170 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
14172 * config/arm/arm.c: Initialise arm_structure_size_boundary to
14173 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14174 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14175 to the value 32 if it has not already been defined.
14176 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14177 Override definition in arm.h with a value of 8.
14179 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
14181 * c-pragma.c (push_alignment): Don't check the return value
14184 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
14186 * sparc.h (ADJUST_COST): Fix thinko.
14188 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
14190 * cccp.c (rescan): Fixed obp pointer handling around call to
14191 check_expand subroutine.
14193 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
14195 * gcse.c (delete_null_pointer_checks): Only record non-null info
14196 for pseudos when examining stores.
14198 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14199 splitters for these patterns. Use "#" for output templates.
14200 (addsi3_carryin_shift): New pattern.
14202 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
14204 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14205 of the function return register into a plain REG until
14206 after function inlining is done.
14208 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
14210 * jump.c (jump_optimize_1): If we did cross-jumping, and
14211 the data will matter, rebuild the CFG.
14212 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14213 not optimizing. Don't run shorten_branches.
14214 * toplev.c (rest_of_compilation): Run shorten_branches after
14217 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
14219 * rtl.h (note_stores): Add additional paramter.
14220 * rtlanal.c (reg_set_p_1): Take additional paramter.
14221 (reg_set_last_1): Likewise.
14222 (reg_set_p): Adjust call to note_stores.
14223 (reg_set_last): Likewise.
14224 (note_stores): Pass data parameter to worker function.
14225 * alias.c (record_set): Take additional parameter.
14226 (init_alias_analysis): Pass it.
14227 * caller-save.c (mark_set_regs): Take additional parameter.
14228 (save_call_clobbered_regs): Pass NULL to note_stores.
14229 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14231 (record_dead_and_set_regs_1): Likewise.
14232 (reg_dead_at_p_1): Likewise.
14233 (combine_instructions): Adjust calls to note_stores.
14234 (try_combine): Likewise.
14235 (record_dead_insn): Remove.
14236 (record_dead_and_set_regs): Adjust calls to note_stores.
14237 (reg_dead_at_p): Likewise.
14238 * cse.c (invalidate_skipped_set): Take additional parameter.
14239 (cse_check_loop_start): Likewise.
14240 (cse_check_loop_start_value): Remove.
14241 (cse_set_around_loop): Adjust calls to note_stores.
14242 * flow.c (notice_stack_pointer_modification): Take additional
14243 parameter. Remove duplicate declaration.
14244 (record_volatile_insns): Adjust calls to note_stores.
14245 * gcse.c (record_set_info): Take additional parameter.
14246 (record_last_set_info): Likewise.
14247 (invalidate_nonnull_info): Likewise.
14248 (record_set_insn): Remove.
14249 (compute_sets): Adjust calls to note_stores.
14250 (last_set_insn): Remove.
14251 (compute_hash_table): Adjust calls to note_stores.
14252 (insert_insn_end_bb): Likewise.
14253 (delete_null_pointer_checks): Likewise.
14254 * global.c (mark_reg_store): Take additional parameter.
14255 (mark_reg_clobber): Likewise.
14256 (reg_becomes_live): Likewise.
14257 (global_conflicts): Adjust calls to note_stores.
14258 (build_insn_chain): Likewise.
14259 * integrate.c (note_modified_parmregs): Take additional parameter.
14260 (mark_stores): Likewise. Make it static.
14261 (save_for_inline_nocopy): Adjust calls to note_stores.
14262 (try_constants): Likewise.
14263 * integrate.h (mark_stores): Remove declaration.
14264 * jump.c (mark_modified_reg): Take additional parameter.
14265 (thread_jumps): Adjust calls to note_stores.
14266 * local-alloc.c (validate_equiv_mem_from_store): Take additional
14268 (no_equiv): Likewise.
14269 (reg_is_set): Likewise.
14270 (validate_equiv_mem): Adjust calls to note_stores.
14271 (update_equiv_regs): Likewise.
14272 (block_alloc): Likewise.
14273 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14274 (note_addr_stored): Take additional parameter.
14275 (note_set_pseudo_multiple_uses): Likewise.
14276 (record_initial): Likewise.
14277 (prescan_loop): Adjust calls to note_stores.
14278 (strength_reduce): Likewise.
14279 (check_dbra_loop): Likewise.
14280 * regmove.c (flags_set_1): Take additional paramter.
14281 (mark_flags_life_zones): Adjust calls to note_stores.
14282 * reload1.c (mark_not_eliminable): Take additional parameter.
14283 (forget_old_reloads_1): Likewise.
14284 (reload_cse_invalidate_rtx): Likewise.
14285 (reload_cse_check_clobber): Likewise.
14286 (reload_combine_note_store): Likewise.
14287 (move2add_note_store): Likewise.
14288 (reload): Adjust calls to note_stores.
14289 (reload_as_needed): Likewise.
14290 (emit_reload_insns): Likewise.
14291 (reload_cse_regs_1): Likewise.
14292 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14293 (reload_combine): Adjust calls to note_stores.
14294 * resource.c (update_live_status): Take additional paramter.
14295 (mark_target_live_regs): Adjust calls to note_stores.
14296 * stupid.c (find_clobbered_regs): Take additional parameter.
14297 (stupid_life_analysis): Adjust calls to note_stores.
14299 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
14301 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14304 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14307 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14308 of the variable arm_structure_size_boundary.
14310 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
14312 * alias.c (init_alias_analysis): Allocate reg_known_value and
14313 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
14315 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14316 * cse.c (cse_main): Call end_alias_analysis.
14317 * haifa-sched.c (schedule_insns): Likewise.
14318 * local-alloc. (update_equiv_regs): Likewise.
14319 * reload1.c (reload_cse_regs): Likewise.
14321 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14323 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14324 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14325 mapping from MASK_FPU.
14327 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
14329 * sparc.md (call): Don't bound structure return size to 0xfff.
14331 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
14333 * resource.c (mark_target_live_regs): Check that the target
14334 insn wasn't created after compute_bb_for_insn.
14336 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
14338 * ggc-page.c (poison_pages): Don't be overzealous.
14340 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
14342 * alias.c: Update comments for ADDRESS.
14343 (nonlocal_reference_p): Look inside the ADDRESS to determine if
14344 it is a local memory reference.
14346 * c-typeck.c (build_function_call): Check that the built-in
14347 function is of class BUILT_IN_NORMAL before trying to recongize
14348 it as BUILT_IN_ABS.
14349 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14350 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14352 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
14354 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14356 (pre_gcse): Likewise.
14357 (hoist_expr_reaches_here_p): Likewise.
14358 (hoist_code): Likewise.
14359 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
14361 (pre_expr_reaches_here_p_work): ... here.
14362 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
14364 (expr_reaches_here_p_work): ... here.
14366 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
14368 * resource.c (find_basic_block): Delete.
14369 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14370 (init_resource_info): Call compute_bb_for_insn.
14372 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
14374 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14375 with already adjacent blocks, but no fallthru.
14376 (merge_blocks_move_successor_nojumps): Simplify.
14377 (debug_flow_info): New.
14379 * toplev.c (rest_of_compilation): Open jump1 dump file before
14380 jump and close after, as opposed to just using dump_rtl.
14382 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14384 * reload.h (earlyclobber_operand_p): Declare.
14385 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
14386 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
14387 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14388 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
14390 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
14391 Richard Henderson <rth@cygnus.com>
14393 * emit-rtl.c (emit_block_insn_before): New.
14394 (emit_block_insn_after): New.
14395 * basic-block.h: Declare them.
14397 * bitmap.h: Protect from multiple inclusion.
14399 * recog.c (scratch_operand): Handle VOIDmode correctly.
14401 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14403 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14404 * function.c (assign_parms): Likewise.
14405 * global.c (global_conflicts): Clarify STACK_REGS commentary.
14407 * reg-stack.c (max_uid): Remove.
14408 (blocks, block_begin, block_end, block_drops_in): Remove.
14409 (block_stack_in, block_out_reg_set, block_number): Remove.
14410 (struct block_info_def, BLOCK_INFO): New.
14411 (enum emit_where): New.
14412 (current_block): New.
14413 (BLOCK_NUM): Remove.
14414 (mark_regs_pat, record_label_references): Remove.
14415 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14417 (goto_block_pat, print_blocks, dump_stack_info): Remove.
14418 (reg_to_stack): Simplified test for existance of fp code. Use
14419 flow.c code. Call shorten_branches after cross-jump opt.
14420 (check_asm_stack_operands): Renamed from record_asm_reg_life.
14421 Return false if the asm doesn't use stack regs. Don't do life
14422 analysis on the asm.
14423 (emit_pop_insn): Replace function pointer arg `when' with
14424 enum `where'. Update all callers.
14425 (change_stack): Likewise. Update basic block end.
14426 (emit_swap_insn): Use current_block->head to limit reverse search
14427 for start of block. Use emit_block_insn_after.
14428 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14429 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
14430 structure assignment instead of bcopy.
14431 (print_stack): New.
14432 (convert_regs_entry, convert_regs_exit): New.
14433 (convert_regs_1, convert_regs_2): Split out from convert_regs.
14434 Work on basic blocks and the CFG.
14435 (convert_regs): Use them.
14437 * i386.c (output_fix_trunc): Remove code for DImode input operand
14438 not at top-of-stack.
14439 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14441 (fix_truncdi_1): Allow any mode scratch.
14443 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
14445 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14446 * linux.h, netbsd.h, vms.h: Not here.
14448 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
14450 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14451 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14452 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14453 CONDITIONAL_REGISTER_USEAGE): Use them.
14454 * config/mips/mips.c (mips_move_1word,mips_move_2words,
14455 gen_conditional_branch,override_options) : Use them.
14456 * config/mips/mips.md : Use them.
14458 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
14460 * i386.md (zero_extendqihi2): Use SImode register name with andl.
14462 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
14464 * integrate.c (function_cannot_inline_p): Don't allow inlining
14467 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14469 * c-parse.in (cast_expr): Constify.
14471 * cccp.c (special_symbol): Likewise.
14473 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14475 * dwarf2out.c (base_type_die): Likewise.
14477 * global.c (allocno_compare): Likewise.
14479 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14481 * regclass.c (fix_register): Likewise.
14483 * rtl.h (fix_register): Likewise.
14485 * stupid.c (stupid_reg_compare): Likewise.
14487 * toplev.c (decode_f_option): Likewise.
14489 * tree.c (build_complex_type): Likewise.
14491 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
14493 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14495 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14497 * reload.c (find_reloads): Compute mode and nregs fields of all
14499 * reload1.c (calculate_needs_all_insns): Simplify a bit.
14500 (calculate_needs): Use precomputed mode/nregs values.
14501 (allocate_reload_reg): Likewise.
14503 (failed_reload, set_reload_reg): ... new functions.
14504 (choose_reload_regs_init): New function, mostly broken out from...
14505 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
14506 Also lose one #if 0 block.
14508 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
14510 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
14513 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
14515 * tree.h (BLOCK_TYPE_TAGS): Remove.
14516 (BLOCK_END_NOTE): Likewise.
14517 (BLOCK_LIVE_RANGE_FLAG): Likewise.
14518 (BLOCK_LIVE_RANGE_START): Likewise.
14519 (BLOCK_LIVE_RANGE_END): Likewise.
14520 (tree_block): Remove live_range_flag, live_range_var_flag, and
14521 type_tags. Remove end_note, live_range_start, and live_range_end.
14522 (remember_end_note): Remove prototype.
14523 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14524 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14526 * ggc-common.c (ggc_mark_tree_children): Don't mark
14527 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14528 * integrate.c (adjust_copied_decl_tree): Remove.
14529 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14530 * stmt.c (last_block_end_note): Remove.
14531 (init_stmt): Don't add a GC root for it.
14532 (expand_fixup): Don't set it.
14533 (remember_end_note): Remove.
14534 (expand_end_bindings): Don't set last_block_end_note.
14536 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14538 * reload1.c (reload_reg_free_for_value_p): Show
14539 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14542 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
14544 * expmed.c (extract_bit_field): Allow for the case of non-integer
14545 objects that are smaller than a word (like SFmode on a 64-bit
14548 * loop.c (basic_induction_var): A non-integer variable which is
14549 being set by a paradoxical subreg is probably not a biv.
14551 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14553 * prefix.c (translate_name) Check for empty prefix string.
14555 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
14557 * Makefile.in (CPP_CROSS_NAME): New variable.
14558 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14560 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14561 names of the files to be uninstalled.
14563 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
14565 * collect2.c (IS_DIR_SEPARATOR): Define.
14566 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14568 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14571 * haifa-sched.c (add_dependence): Update the true dependency
14572 cache the first time we add a true dependence to the LOG_LINKS chain.
14574 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
14576 * fold-const.c (fold): Fix comment.
14578 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14580 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14581 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14582 dbxout_start_new_source_file, dbxout_source_file,
14583 dbxout_source_line, dbxout_finish, dbxout_type_fields,
14584 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14586 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14587 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14588 (dbxout_block): Initialize variable `blocknum'.
14590 * dbxout.h (dbxout_init, dbxout_finish,
14591 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14592 dbxout_args, dbxout_source_line): Constify a char*.
14594 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14595 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14596 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14597 low_pc_attribute, high_pc_attribute, body_begin_attribute,
14598 body_end_attribute, comp_dir_attribute, sf_names_attribute,
14599 src_info_attribute, mac_info_attribute, producer_attribute,
14600 lookup_filename, generate_macinfo_entry, fundamental_type_code,
14601 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14602 dwarfout_undef): Constify a char*.
14603 (add_incomplete_type, retry_incomplete_types): Add prototypes.
14605 * dwarfout.h (dwarfout_define, dwarfout_undef,
14606 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14608 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
14610 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14611 (MULTILIB_ISA_DEFAULT): New.
14612 (MULTILIB_DEFAULTS): Use it.
14613 * config/mips/mips.c (): Remove the now unnecessary definition
14614 of MIPS_ISA_DEFAULT.
14615 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14616 unnecessary definition.
14618 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
14620 * arm.md (pic_load_addr): Add constraints to operand 1.
14622 1999-10-25 Bruce Korb <autogen@linuxbox.com>
14624 * fixinc/genfixes: Provide a means for specifying -D options to
14627 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
14629 * arm.c (arm_override_options): Correct initialization of
14630 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14631 arm_is_strong, and arm_is_6_or_7.
14633 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14634 (note_set_pseudo_multiple_uses): New function.
14635 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14636 if a pseudo set in the loop exit is used elsewhere.
14638 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
14640 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14642 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
14644 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14645 a single load-address pattern.
14647 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
14649 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14650 depending on whether or not line-number notes are present.
14652 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14654 * cccp.c (progname, file_buf, default_include, include_file,
14655 macrodef, definition, hashval, wchar_type, user_label_prefix,
14656 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14657 expand_to_temp_buffer, is_system_include, base_name,
14658 absolute_filename, read_name_map, open_include_file,
14659 record_control_macro, check_precompiled, check_preconditions,
14660 pcfinclude, pass_thru_directive, create_definition,
14661 check_macro_name, comp_def_part, collect_expansion,
14662 check_assertion, read_token_list, assertion_install,
14663 assertion_lookup, eval_if_expression, conditional_skip,
14664 validate_else, skip_quoted_string, quote_string, macarg1,
14665 error_from_errno, install, lookup, hashf, dump_defn_1,
14666 perror_with_name, pfatal_with_name, main, trigraph_pcp,
14667 check_white_space, rescan, handle_directive, monthnames,
14668 special_symbol, do_include, remap_include_file, write_output,
14669 arglist, do_assert, do_unassert, do_line, do_error, do_once,
14670 do_ident, do_sccs, do_xifdef, skip_if_group,
14671 output_line_directive, macroexpand, macarg, change_newlines,
14672 initialize_builtins, make_definition): Constify a char*.
14674 * pcp.h (stringdef): Likewise.
14676 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
14678 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14681 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
14682 Richard Henderson <rth@cygnus.com>
14684 * alias.c: Include ggc.h.
14685 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14686 (record_set): Verify enough room in reg_base_value.
14687 (init_alias_analysis): Allocate reg_base_value with xcalloc.
14688 Register it as a GC root.
14689 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
14690 * Makefile.in (alias.o): Depend on ggc.h.
14692 * unroll.c (unroll_loop): Verify the insn before a barrier
14693 is a JUMP_INSN before checking JUMP_LABEL.
14695 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14697 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14698 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14699 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14700 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14701 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14702 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14704 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14706 * output.h (ctors_section, dtors_section, bss_section): Prototype.
14708 * alpha/alpha-interix.h (text_section): Delete prototype.
14709 * alpha/elf.h (text_section): Likewise.
14710 * arm/linux-elf.h (text_section): Likewise.
14711 * arm/linux-telf.h (text_section): Likewise.
14712 * c4x/c4x.h (text_section): Likewise.
14713 * dsp16xx/dsp16xx.h (bss_section): Likewise.
14714 * elfos.h (text_section): Likewise.
14715 * i386/aix386ng.h (text_section): Likewise.
14716 * i386/i386-interix.h (text_section): Likewise.
14717 * i386/sco5.h (text_section): Likewise.
14718 * i386/svr3gas.h (text_section): Likewise.
14719 * nextstep.h (text_section): Likewise.
14720 * psos.h (text_section): Likewise.
14721 * ptx4.h (text_section): Likewise.
14722 * svr3.h (text_section): Likewise.
14723 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14725 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14727 * final.c (peephole): Delete prototype.
14729 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14730 (pre_insert_copies): Remove unused variable `bb'.
14732 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14735 * output.h (peephole): Add prototype.
14737 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
14739 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14742 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
14744 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14745 for inlined declarations.
14747 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
14749 * arm.c (logical_binary_operator): New fucntion.
14750 * arm.h (logical_binary_operator): Declare it.
14751 (PREDICATE_CODES): Handle logical_binary_operator.
14752 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14753 output constraints. Add appropriate splitters.
14754 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14755 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14756 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14758 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14760 * genoutput.c (struct operand_data): New elt eliminable.
14761 (output_operand_data): Write it.
14762 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14763 (compare_operands): Take it into account.
14764 * recog.h (struct insn_operand_data): New elt eliminable.
14765 * reload1.c (check_eliminable_occurrences, elimination_effects): New
14767 (old_asm_operands_vec, new_asm_operands_vec): Delete.
14768 (eliminate_regs): Move code that detects changes to elimination
14769 target regs into new function elimination_effects.
14770 Delete one #if 0 block.
14771 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14772 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14773 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14774 Only call eliminate_regs for real operands of the insn, not for parts
14775 of its structure or parts matched by things like match_operator.
14776 Use elimination_effects and check_eliminable_occurrences. Use
14777 copy_insn to duplicate the pattern when not in the final pass.
14779 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
14781 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14784 1999-10-22 Bruce Korb <autogen@linuxbox.com>
14786 * fixinc/README: document the "mach" machine matching test
14787 * fixinc/fixfixes.c: Implement the #else/#endif label fix
14788 * fixinc/fixtests.c: Implement the #else/#endif label test
14789 * fixinc/inclhack.def: utilize these tests and fixes
14790 * fixinc/inclhack.sh: regen
14791 * fixinc/fixincl.x: regen
14792 * fixinc/fixincl.sh: regen
14794 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
14796 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
14799 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
14801 * gcc.1: Document exit codes.
14803 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14805 * calls.c: Include tm_p.h later, so everything we need is defined.
14806 * expr.c: Likewise.
14807 * function.c: Likewise.
14809 * except.c: Include tm_p.h.
14811 * sparc.c: Likewise.
14812 (dwarf2out_cfi_label): Don't prototype.
14813 (check_return_regs, epilogue_renumber,
14814 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
14815 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
14816 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
14817 ultra_schedule_insn): Add static prototype.
14818 (data_segment_operand, text_segment_operand): Call itself with the
14819 proper number of arguments.
14820 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
14822 * sparc.h: Move all declarations to sparc-protos.h.
14823 (SELECT_RTX_SECTION): Pass a missing MODE argument to
14826 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
14828 * config/svr4.h (text_section, ctors_section, dtors_section): Add
14830 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
14831 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
14832 ASM_OUTPUT_ASCII): Constify a char*.
14834 * sparc-protos.h: New file for sparc prototypes.
14836 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14838 * function.c (record_insns, contains): Always declare and define.
14839 (record_insns): Mark with ATTRIBUTE_UNUSED.
14841 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
14843 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
14844 to .section when outputting a .bss section to deal with multiple
14845 .bss input sections (as happens with -fdata-sections)
14846 Also output %progbits, not @progbits so the assembler doesn't treat as
14848 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
14850 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
14851 thumb parts even when building with non-thumb CPUs, by forcing
14854 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
14856 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
14857 (movdf_const_intreg_sp64): Similarly.
14859 * local-alloc.c (update_equiv_regs): Check the correct insn
14860 for pre-existing REG_EQUIV notes.
14862 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
14864 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
14865 block reached by a branch if we're not going to actually process
14868 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
14870 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
14871 a local extern function declaration.
14873 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
14875 * i386.c (ix86_expand_prologue): Properly wrap USE around
14876 reg for CALL_INSN_FUNCTION_USAGE.
14878 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
14880 * config/mips/mips.md (movdf_internal1a): Allow floating-point
14881 move between GP_REGs.
14883 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
14885 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
14886 the mode size when finding out if an offset is legal.
14888 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
14890 * basic-block.h (PROP_*): Move constants from ...
14891 * flow.c: ... here.
14892 (compute_bb_for_insn): Free the array before reallocating.
14893 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
14894 (allocate_reg_life_data): Reset all reg variables collected by
14896 (get_block_head_tail): Don't convert from bb to block.
14897 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
14898 (find_insn_reg_weight): Take block not bb.
14899 (schedule_block): Don't set block num for moved insns.
14900 (schedule_region): Don't update_life_info or find_insn_reg_weight.
14901 (schedule_insns): Do it here instead.
14902 * combine.c (combine_instructions): Invoke compute_bb_for_insn
14903 before update_life_info.
14904 * recog.c (split_all_insns, peephole2_optimize): Update for
14905 new arg to update_life_info.
14906 * rtlanal.c (remove_note): Cope with NULL note.
14907 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
14910 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
14912 * jump.c (jump_optimize_1): More accurately detect casesi insns.
14914 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
14915 block records so that merge_blocks_nomove will clean up correctly.
14916 (split_edge): Handle casesi insns.
14918 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
14920 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
14922 * pa.md (call, call_value): Do not emit a blockage after restoring
14925 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
14927 * c-typeck.c (c_expand_asm_operands): Fix typo.
14929 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14931 * arm.c (fpu_rhs_operand): Verify modes.
14932 (fpu_add_operand): Likewise.
14933 (di_operand): Likewise.
14934 (soft_df_operand): Likewise.
14936 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
14938 * arm.c (arm_return_in_memory): APCS rules state that the elements
14939 of a structure returned in a register must be 'integer-like'.
14941 1999-10-19 Bruce Korb <autogen@linuxbox.com>
14943 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
14944 in the source tree when the generated targets are out of date
14945 * fixinc/genfixes: Alter it to run individual fixes for make.
14946 * fixinc/README: rewrite
14947 * fixinc/inclhack.def: moved initial comments to README
14949 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
14951 * toplev.c (main): Do not generate an error message if an
14952 unrecognised command line switch is recognisable by another
14953 language. If extra_warnings are enabled, then generate a
14954 warning message instead.
14956 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
14958 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
14959 (insert_pack_attributes): Delete prototype.
14961 * c-pragma.c (default_alignment): New static variable.
14962 (push_alignment): Initialize to current effective alignment.
14963 (pop_alignment): Use to set new alignment.
14964 (insert_pack_attributes): Delete function.
14965 (handle_pragma_token): Set default_alignment as well each time
14966 a #pragma pack(<n>) is encountered.
14968 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
14970 * reg-stack.c (stack_result): Aggregates are not returned in
14973 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
14975 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
14977 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
14979 * basic-block.h (set_block_num): Declare.
14980 * flow.c (update_life_info): Don't call compute_bb_for_insn
14981 or free_basic_block_vars.
14982 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
14983 (insn_orig_block): Remove.
14984 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
14985 (schedule_block): Keep BLOCK_NUM up-to-date.
14986 (schedule_insns): Use compute_bb_for_insn.
14987 * recog.c (split_all_insns): Likewise.
14988 (peephole2_optimize): Likewise.
14990 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
14992 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
14993 if the pic register is used.
14995 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14997 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
14998 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
14999 if that tests TREE_PERMANENT.
15001 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
15003 * cse.c (invalidate_for_call): Do not remove memory references from
15004 the table here. It's handled elsewhere.
15006 * haifa-sched.c (add_dependence): Protect references to the
15007 true dependency cache with #ifdef INSN_SCHEDULING.
15008 (remove_dependence): Similarly.
15010 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15011 to the cfg code that this is a return instruction.
15012 * mn10300.md (return_internal): Similarly.
15014 * combine.c (get_last_value): If the last set of a register
15015 is after subst_low_cuid, then we can not use it to determine
15016 the register's last value.
15018 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
15020 * Makefile.in: Back out previous change.
15022 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
15024 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15026 * haifa-sched.c (add_dependence): Only check/update the cache
15028 (remove_dependence): Likewise.
15029 (schedule_insns): Only create the true_dependency_cache if the
15030 average number of instructions in a basic block is very large.
15032 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
15034 * Makefile.in (ggc-common.o): Depend on genrtl.h.
15035 (ggc-simple.o): Likewise.
15036 (ggc-page.o): Likewise.
15038 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
15040 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15041 Prototype for exported functions.
15042 (pre_lcm, pre_rev_lcm): Remove prototypes.
15043 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15044 (compute_available): Move to lcm.c, and change parameter order.
15045 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15046 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15047 (gcse_main): No longer call compute_preds_succs. Rebuild the
15048 set table after reach pre pass.
15049 (pre_insert_map, pre_delete_map, edge_list): New.
15050 (alloc_pre_mem): Allocate edge vectors.
15051 (free_pre_mem): Delete edge vectors.
15052 (compute_pre_data): Call new edge based lcm routines.
15053 (process_insert_insn): New function.
15054 (insert_insn_end_bb): Use it.
15055 (pre_edge_insert): New function.
15056 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
15058 (pre_insert_copies): Revamp using new edge based lcm outputs.
15059 (pre_delete): Likewise.
15060 (one_pre_gcse_pass): Insert & remove fake edges to the exit
15062 (compute_code_hoist_vbeinout): New new edge based routines.
15063 * lcm.c: Remove all the old LCM functions. Replace with new ones
15064 that work with the new cfg datastructures and work with edges
15067 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15069 * reload.h (struct reload): Add new fields "mode" and "nregs".
15070 * reload1.c: Change all occurrences of reload_mode and reload_nregs
15071 to reference the "mode" and "nregs" field within struct reload.
15073 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
15075 * haifa-sched.c (true_dependency_cache): New.
15076 (add_dependence): Use the true dependency cache to avoid expensive
15077 walks down the LOG_LINKS dependency list. Add entries to the
15078 cache as necessary.
15079 (remove_dependence): Remove entries from the true dependency cache
15081 (schedule_insns): Allocate and initialize and free the true
15084 * haifa-sched.c (schedule_insns): Do not remove inter-block
15085 dependencies anymore.
15087 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
15089 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15090 * i386/t-winnt: Likewise.
15092 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
15094 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15096 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
15098 * Makefile.in (LANGUAGES): Omit "proto".
15099 (clean): Remove stale comment about removing unprotoize.c.
15101 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15103 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15104 using arithmetic on void pointers.
15106 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
15108 * haifa-sched.c (compute_block_forward_dependencies): Only check
15109 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15111 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
15113 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15114 (expr_equiv_p): Reject memories with different alias sets.
15116 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
15118 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15119 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15120 (f_options): Add "bounded-pointers" and "bounds-check" entries.
15121 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15122 (lang_init): Set default for flag_bounds_check if still "unspecified".
15124 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15126 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
15128 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15130 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15133 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15135 * config/c4x/c4x.md (*db_noclobber,
15136 *decrement_and_branch_until_zero_noclobber): New patterns and
15137 associated splitters.
15139 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15141 * config/c4x/c4x.md (parallel instruction patterns): Rework
15142 constraints to keep reload happy.
15144 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15146 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15147 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15148 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15149 Add new patterns and associated post-reload splitters.
15151 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15153 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15155 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15157 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15159 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15161 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15163 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
15166 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
15168 * pa.c (move_operand): Rely on memory_address_p to determine the
15169 validity of non-indexed memory addresses.
15170 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15171 operand in DFmode and SFmode when generating PA2.0 code.
15173 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
15175 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15177 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
15179 * mips.c (function_prologue): Fix argument types.
15180 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15181 (casesi_internal): Write to the scratch register.
15183 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
15185 * cppexp.c (cpp_parse_escape): Make static. Change second arg
15187 (parse_charconst): Delete unnecessary cast when calling
15189 (cpplib.h): Kill prototype of cpp_parse_escape.
15191 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
15193 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15194 * unroll.c (unroll_loop): Cast return value of alloca.
15195 * i370/i370.c: Include function.h and toplev.h.
15196 (i370_label_scan): Remove c++ commented abort.
15197 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15198 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15199 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15200 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15202 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
15204 * config/t-freebsd: Do not override USER_H.
15205 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15207 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15208 Mumit Khan <khan@xraylith.wisc.edu>
15210 * c-parse.in (component_decl): Support anonymous struct/union.
15212 * c-parse.y: Regenerate.
15213 * c-parse.c: Likewise.
15214 * objc/objc-parse.y: Likewise.
15215 * objc/objc-parse.c: Likewise.
15216 * c-decl.c (finish_struct): Don't sort the fields.
15217 (field_decl_cmp): Delete unused function.
15219 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
15221 * sparc.md (movsf_const_intreg): Revert last constraint change.
15222 (movdf_const_intreg_sp32): Likewise.
15224 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
15226 * cse.c: Include hashtab.h instead of splay-tree.h
15227 (struct cse_reg_info): No longer use variant union. Add new
15228 field "regno". All references changed to avoid union.
15229 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15230 (free_cse_reg_info): Remove.
15231 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15232 (get_cse_reg_info): Revamp to use expandable hash tables instead
15233 of splay trees. Initialize new fields in cse_reg_info structure.
15234 (new_basic_block): Similarly.
15236 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
15238 * genrecog.c (message_with_line): Prototype.
15239 (validate_pattern): Pass along the set for the dest, not a flag.
15240 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
15241 Check for PC/CC0 as sources.
15242 (nodes_identical): Check for children position match before
15243 allowing the combination.
15245 * rtl.c (read_rtx): Track line number across \\\n.
15247 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
15249 * mips.h (SPECIAL_MODE_PREDICATES): New.
15250 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15251 (movdi+1, movsi+1): Add output reload constraint.
15252 (casesi_internal): Likewise. Fix commentary.
15253 (return_internal): Use pmode_register_operand.
15255 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
15257 * 1750a.md (movstrqi): Add missing output reload constraint.
15258 (call_value): Likewise.
15259 * a29k.md (cpxxx patterns): Add missing match_operator mode.
15260 (jmpfdec): Add missing inout reload constraint.
15261 * elxsi.md (addsi patterns): Add missing output reload constraint.
15262 (move from sp): Use @ alternates.
15263 (call_value): No constraint on output.
15264 * fr30.md (movsi_pop): Add missing output reload constraint.
15265 (movsf_constant_store): Likewise.
15266 (splits): Remove constraints.
15267 (subsi3): Add missing mode.
15268 * i370.md (cmpstrsi+1): Add missing output reload constraint.
15269 (call_value): Likewise.
15270 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15271 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15272 * m32r.md (movsicc_internal): Add output reload constraint.
15273 (movstrsi_internal): Add inout reload constraints.
15274 * m88k.h (reg_names): Don't declare.
15275 (SPECIAL_MODE_PREDICATES): New.
15276 * m88k.md (*): Use register_operand not reg_or_0_operand
15278 * mn10200.h (PREDICATE_CODES): New.
15279 * ns32k.md (ffs pattern): Add output reload constraint.
15280 * pdp11.md (sob pattern): Add inout reload constraint.
15281 * sh.md (splits): Remove constraints.
15282 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15283 * v850.md (pattern_is_ok_for_epilogue): Likewise.
15284 * vax.md (jgequ pattern): Add inout reload constraint.
15286 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
15288 * configure.in (djgpp): Revert previous patch.
15289 * configure: Rebuit.
15290 * config/i386/djgpp.h: Revert previous patch.
15292 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
15294 * fixinc/inclhack.def: Restore patch lost during last merge of
15295 "no_bogosity" branch.
15296 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15298 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
15300 * fixincludes: Add a HPUX 11 fix for inttypes.h.
15301 * fixinc/inclhack.def: Same.
15302 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15304 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
15306 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15307 as the base of a PLUS.
15309 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15311 * config/c4x/c4x.md: Define mode for remaining unspec operators.
15312 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
15314 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
15316 * pa.md (post_stw+1): Use pmode_register_operand.
15317 (dcacheflush, icacheflush): Likewise.
15319 * i386.md (movstricthi_1): Allow r/r.
15321 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
15323 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15324 to (not (and (arg0) (arg1))). Similary for and.
15326 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15327 fallthrough to associate code.
15328 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15331 * combine.c (simplify_logical): Convert XOR to IOR if operands have
15332 no bits in common; remove XOR to ROTATE conversion.
15334 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15336 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15338 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15340 * config/c4x/c4x.c (dst_operand): New.
15341 (PREDICATE_CODES): Update.
15342 * config/c4x/c4x.h (dst_operand): Declare it.
15343 * config/c4x/c4x.md: Define mode for each unspec usage.
15344 (move patterns): Use dst_operand predicate instead of src_operand.
15345 (movqi_update, movqf_update): Delete.
15347 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
15349 * recog.c (pmode_register_operand): New.
15350 * recog.h: Declare it.
15351 * genrecog.c (pred_codes): Likewise.
15352 (special_mode_pred_table): Likewise.
15353 (validate_pattern): Don't warn no mode for address_operand.
15355 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15356 if the operand is not insn-like.
15358 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
15359 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15361 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15363 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
15365 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15366 instead of general_operand in a SET_DEST. Use const_double_operand
15367 instead of an explicit test against CONST_DOUBLE.
15368 (movsf_const_lo): Add missing register mode.
15369 (goto_handler_and_restore): Add auxiliary test for Pmode.
15370 (flush): Adjust to use address_operand.
15371 (return_sf_no_fpu): Add missing output constraint.
15373 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
15375 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15376 for call return value.
15377 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15379 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
15381 * toplev.c (main): Only warn about options for other languages.
15382 * collect2.c (main): Pass -w to sub-gcc.
15384 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
15386 * flow.c (propagate_block): Add call-clobbered registers to
15389 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15390 zapping mem_set_list.
15391 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15392 (mark_set_1, mark_used_regs): Likewise.
15394 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
15396 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15398 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15400 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15401 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15402 options. Also add a new item "C-only Warning Options" to the
15405 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
15407 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15408 from multiple calls.
15410 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
15412 * i386.md (call value patterns): Move to the end of the file.
15413 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15415 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15417 * configure.in (djgpp configuration): Define extra_objects..
15418 * configure: Rebuilt.
15419 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15420 (DTORS_SECTION_ASM_OP): Define.
15421 (INIT_SECTION_ASM_OP): Define.
15422 (FINI_SECTION_ASM_OP): Define.
15423 (DATA_SECTION_ASM_OP): Define.
15424 (TEXT_SECTION_ASM_OP): Define.
15425 (EH_FRAME_SECTION_ASM_OP): Define.
15426 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15427 (STARTFILE_SPEC): Add crtbegin.o.
15428 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15429 to here from LINK_COMMAND_SPEC.
15430 (DO_GLOBAL_CTORS_BODY): Define.
15431 (CRTSTUFF_USE_FINI_SECTION): Define
15432 (HAS_INIT_SECTION): Delete.
15434 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
15436 * Makefile.in (all.cross): Depend on xcpp$(exeext).
15438 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
15440 * pa.h (PREDICATE_CODES): New.
15442 * genrecog.c (validate_pattern): Condense the destination
15443 non-lvalue message.
15445 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
15447 * alpha.md (call-1): Supply missing mode for operator.
15448 (*): Add missing output reload constraints. Remove constraints
15449 from define_splits.
15451 * i386.h (SPECIAL_MODE_PREDICATES): New.
15452 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15453 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15454 (addsi_lea_3): Add missing mode for op 3.
15455 (prologue_set_got, prologue_get_pc): Add missing modes.
15456 (*) Add missing output reload constraints.
15458 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
15460 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15461 check for member bit-size overflow and use var_size if it occurs.
15462 (layout_record): Use bitsize_int() to define the type size in bits.
15463 Likewise for computation and assignment to DECL_FIELD_BITPOS.
15464 (layout_decl): Likewise when assigning to DECL_SIZE.
15466 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
15468 * genrecog.c (validate_pattern): Typo last change. Verify
15469 that output operands have output reloads.
15471 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
15473 * genrecog.c (special_mode_pred_table): New.
15474 (NUM_SPECIAL_MODE_PREDS): New.
15475 (find_operand): New.
15476 (validate_pattern): New argument `insn'. Warn for assignment to
15477 any predicate accepting non-lvalues. Conditionaly warn for
15478 match_operand without a mode. Try much harder to match source
15479 and destination modes on a set.
15480 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15482 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
15484 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15486 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
15488 * combine.c (simplify_logical): Recognize xor pattern that encodes
15491 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15493 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15496 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
15498 * ggc-page.c (MAP_FAILED): Provide default.
15500 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
15502 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15503 * sparc.h (PREDICATE_CODES): Update.
15505 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
15507 * alpha.c (some_ni_operand): New.
15508 * alpha-protos.h: Declare it.
15509 * alpha.h (PREDICATE_CODES): Update.
15510 * alpha.md (sXaddq reload insns): Use some_ni_operand
15511 for SET_DEST instead of some_operand.
15513 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
15514 Jim Wilson <wilson@cygnus.com>
15516 * genrecog.c (maybe_both_true_2): Don't compare modes of
15518 (process_tree): Elide peephole2_insns. Invoke simplify_tests
15519 after find_afterward.
15520 (debug_decision_1): Dump next and afterward codes.
15522 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
15524 * rtl.c (dump_and_abort): Remove.
15525 (fatal_with_file_and_line): New.
15526 (fatal_expected_char): New.
15527 (read_rtx_lineno, read_rtx_filename): New.
15528 (read_skip_spaces): Track line number.
15529 (read_name): Use fatal_with_file_and_line.
15530 (read_rtx): Use fatal_expected_char. Track line number.
15531 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15533 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15534 if it isn't a CODE_LABEL.
15536 * genattr.c (main): Set read_rtx_filename.
15537 * genattrtab.c (main): Likewise.
15538 * gencodes.c (main): Likewise.
15539 * genconfig.c (main): Likewise.
15540 * genemit.c (main): Likewise.
15541 * genextract.c (main): Likewise.
15542 * genflags.c (main): Likewise.
15543 * genopinit.c (main): Likewise.
15544 * genoutput.c (main): Likewise.
15545 * genpeep.c (main): Likewise.
15547 * genrecog.c (decision_test.u.insn): Add `lineno'.
15548 (pattern_lineno, error_count): New variables.
15549 (message_with_line): New.
15550 (add_to_sequence): Break out checking code to ...
15551 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
15552 (merge_insn): Use message_with_line.
15553 (make_insn_sequence): Use validate_pattern. Record insn lineno.
15554 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
15556 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15558 * expr.c (store_constructor): Clear union if constructor is empty.
15560 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
15562 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15563 Add !endian checks. Change %{...} to %(...).
15565 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
15567 * i386.md (*addsi3_cc): Renamed from addcsi3.
15568 (*addsi3_carry): Renamed from addxsi3.
15569 (*subsi3_cc): Renamed from subcsi3.
15570 (*subsi3_carry): Renamed from subxsi3.
15571 (*xorqi_cc_1): Renamed from xorcqi_1.
15572 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15573 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15575 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
15577 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15578 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15580 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
15582 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15583 climb up the chain of insns.
15585 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
15587 * genrecog.c (write_subroutine): Careful for null trees.
15588 (process_tree): Don't elide empty functions.
15590 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
15592 * Makefile.in (genrtl.o): Depend on ggc.h.
15593 * configure.in (valloc): Probe for it.
15594 (with-gc): Use ggc-page if valloc present.
15595 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15596 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15597 (ggc_alloc_string): Moved from ggc-page.c.
15598 * ggc-none.c (ggc_alloc_obj): New.
15599 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15600 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15601 (struct globals): Likewise for dev_zero_fd.
15602 (init_ggc): Likewise for it's initialization.
15603 (ggc_allocated_p): Move careful dereference from ...
15604 (ggc_lookup_page_table): ... here. Delete.
15605 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15606 (alloc_anon): Use valloc if no mmap.
15607 (release_pages): Use free if using valloc.
15608 (ggc_alloc_obj): Renamed from alloc_obj.
15609 (ggc_set_mark): Renamed from mark_obj.
15610 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15611 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15612 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15613 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15614 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15615 (ggc_collect): Use fp printing instead of our own rounding.
15616 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15617 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15618 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15619 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15620 (struct ggc_string, struct ggc_any): Delete.
15621 (offsetof): Provide default definition.
15622 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15624 (struct ggc_mem): New, from corpse of ggc_any.
15625 (struct ggc_status): Delete.
15626 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15627 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15628 (n_strings_collected, n_anys_collected): Delete.
15629 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15630 (ggc_alloc_string, ggc_alloc): Delete.
15631 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15632 (ggc_free_string, ggc_free_any): Delete.
15633 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15634 (ggc_compare_addresses, ggc_mark_string): Delete.
15635 (ggc_mark_string_if_gcable, ggc_mark): Delete.
15636 (search_data): Delete.
15637 (struct globals): New.
15638 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15639 (tree_insert, tree_lookup): New.
15640 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15641 (clear_marks, sweep_objs): New.
15642 (ggc_collect): Gut. Use clear_marks, sweep_objs.
15643 (init_ggc): Set allocated_last_gc.
15644 (ggc_push_context): Gut. Use G.context.
15645 (ggc_pop_context): Likewise.
15646 (ggc_pop_context_1): New.
15647 (debug_ggc_tree): New.
15648 (debug_ggc_balance, tally_leaves): New.
15649 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15650 (ggc_mark_string_if_gcable): Remove decl.
15651 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15652 (ggc_mark_rtvec_children): New.
15653 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15654 (ggc_mark_if_gcable): New decl.
15655 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15656 (ggc_alloc_tree, ggc_alloc): Likewise.
15657 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15658 (ggc_alloc_obj): New decl.
15659 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15660 (ggc_alloc_tree, ggc_alloc): Likewise.
15661 (ggc_set_mark): New decl.
15662 * rtl.h (struct rtx_def): Remove gc_mark.
15663 (struct rtvec_def): Likewise.
15664 * tree.h (struct tree_common): Likewise.
15666 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
15668 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15669 float_format and thread_file definitions.
15670 * configure: Rebuilt.
15672 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
15674 * extend.texi (Function Names): Document types of function names.
15676 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15678 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
15679 an earlyclobbered output conflict with RELOAD_INPUT reloads.
15681 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15683 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15685 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15687 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15689 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
15691 * collect2.c (main): Do prelimnary link on AIX if rflag.
15693 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15695 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15696 __CTOR_LIST__ in opposite order, which is the correct order for sorted
15698 (__do_global_dtors): similarly for __DTOR_LIST__.
15700 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15701 Diego Novillo <dnovillo@cygnus.com>
15703 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15706 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
15708 * fixincl/*: Merged "no_bogosity" branch
15709 * fixincl/fixlib.h: protect against doubly defining t_bool
15710 * fixincl/server.h: protect against doubly defining t_bool
15712 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
15714 * genoutput.c: Include toplev.h.
15716 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
15718 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15720 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15721 * configure: Regenerate.
15723 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
15725 * gcse.c (delete_null_pointer_checks): Returns void.
15727 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15729 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15730 * emit-rtl.c (copy_insn_1): Likewise.
15732 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
15734 * config/mips/mips.c (mips_build_va_list): Correct
15735 TREE_CHAIN setting when hard-float.
15736 (mips_va_start): Use corrected setting.
15737 (mips_va_arg): Likewise. Also pass a tree to build of
15738 POSTINCREMENT_EXPR rather than a naked 'int'.
15740 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
15742 * ggc.h (ggc_push_context): Fix comment.
15743 (ggc_pop_context): Likewise.
15744 (mark_string_if_gcable): Likewise.
15745 * ggc-common.c (ggc_mark_rtx_children): Use
15746 ggc_mark_string_if_gcable.
15747 * ggc-page.c (ggc_lookup_page_table): New function.
15748 (ggc_allocated_p): Likewise.
15749 (mark_obj): Fix formatting.
15750 (ggc_mark_string_if_gcable): New function.
15751 * ggc-simple.c (ggc_allocated_strings): New variable.
15752 (ggc_strings_used): Likewise.
15753 (ggc_compare_addresses): New function.
15754 (ggc_pop_context): Pop the `any' memory too.
15755 (ggc_mark_string_if_gcable): New function.
15756 (ggc_collect): Initialize and tear down ggc_allocated_strings.
15758 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
15760 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15761 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15762 * rs6000.c (expand_block_move): Match movstrsi_?reg register
15765 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
15767 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15768 (sched_reg_live_length, sched_reg_basic_block): Delete.
15769 (current_block_num, bb_live_regs, old_live_regs): Delete.
15770 (dead_notes, struct sometimes): Delete.
15771 (sched_note_set, birthing_insn_p): Delete.
15772 (adjust_priority): Gut useless reg lifetime code.
15773 (create_reg_dead_note, attach_deaths): Delete.
15774 (attach_deaths_insn, new_sometimes_live): Delete.
15775 (finish_sometimes_live): Delete.
15776 (find_pre_sched_live, find_post_sched_live): Delete.
15777 (update_reg_usage): Delete.
15778 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15779 (schedule_insns): Delete reg lifetime code.
15780 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15781 (unlink_other_notes): Adjust REG_NOTE commentary.
15782 (reemit_notes): Use REG_SAVE_NOTE.
15783 (schedule_block): Likewise.
15784 (schedule_region): Allocate bitmap of blocks in region. Use
15785 count_or_remove_death_notes. Use update_life_info.
15787 * rtl.h (REG_SAVE_NOTE): New.
15788 * rtl.c (reg_note_name): Update.
15790 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
15792 * combine.c (refresh_blocks, need_refresh): New.
15793 (combine_instructions): Allocate refresh_blocks. Invoke
15794 update_life_info if needed.
15795 (distribute_notes): Mark refresh_blocks instead of installing
15797 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15798 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15800 * Makefile.in (recog.o): Depend on basic-block.h.
15802 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
15804 * genrecog.c (add_to_sequence): Thinko last change: delete
15805 shadowing allow_const_int variable.
15807 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15809 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
15810 __GNUC__ and __GNUC_MINOR__.
15812 * gansidecl.h: Likewise.
15818 * toplev.h: Likewise.
15820 * tree.c: Likewise.
15822 * tree.h: Likewise.
15824 * varray.c: Likewise.
15826 * varray.h: Likewise.
15828 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15830 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
15831 use one before a jump table.
15833 * rtl.def (ADDRESS): Change documentation to match reality.
15834 * md.texi: Don't document it.
15835 * gmicro.md (load address pattern): Use 'p' constraint, delete use
15838 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
15840 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
15842 * genrecog.c (add_to_sequence): Move allow_const_int test outside
15843 known predicate block; default allow_const_int true.
15844 (debug_decision_list): New.
15846 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
15848 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
15850 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
15852 * gcse.c (gcse_main): Avoid global optimizations if we have a
15853 large number of basic blocks and the ratio of edges to blocks
15855 (delete_null_pointer_checks): Likewise.
15857 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
15859 * c-common.c (check_format_info): Warn if format string isn't a
15862 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15864 * configure.in (arm*-*-*): Don't let autoconf remove brackets
15865 * configure: regenerate
15867 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
15869 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
15870 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
15871 (peepholes): Re-enable.
15873 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
15875 * Makefile.in (flow.o): Depend on TREE_H.
15876 * basic-block.h (REG_SET_EQUAL_P): New.
15877 (XOR_REG_SET): New.
15878 (n_edges): Declare.
15879 (free_regset_vector): Remove declaration.
15880 (flow_delete_insn_chain): Declare.
15881 (enum update_life_extent): New.
15882 (update_life_info, count_or_remove_death_notes): Declare.
15883 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
15884 Verify register live at bb->global_live_at_start before adding USE.
15885 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
15886 (CLEAN_ALLOCA): New.
15888 (PROP_*): New flags.
15889 (find_basic_blocks_1): Use alloc_EXPR_LIST.
15890 (clear_edges): Zero n_edges.
15891 (make_edge): Increment n_edges.
15892 (split_edge): Don't allocate bb->local_set. Increment n_edges.
15893 (flow_delete_insn_chain): Export.
15894 (delete_block): Decrement n_edges.
15895 (merge_blocks_nomove): Likewise.
15896 (life_analysis): Give life_analysis_1 PROP flags.
15897 (verify_wide_reg_1, verify_wide_reg): New.
15898 (verify_local_live_at_start): New.
15899 (update_life_info): Rewrite to call into propogate_block.
15901 (mark_regs_live_at_end): After reload, if epilogue as rtl,
15902 always mark stack pointer. Conditionally mark PIC register.
15903 After reload, mark call-saved registers, return regsiters.
15904 (life_analysis_1): Accept PROP flags not remove_dead_code.
15905 Call mark_regs_live_at_end before zeroing regs_ever_live.
15906 Use calculate_global_regs_live. Copy global_live_at_end before
15907 calling final propagate_block. Zero reg_next_use on exit.
15908 (calculate_global_regs_live): New.
15909 (allocate_bb_life_data): Don't allocate bb->local_set.
15910 (init_regset_vector, free_regset_vector): Remove.
15911 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
15912 Test flags before every operation. Warn if prologue/epilogue insn
15913 would have been deleted.
15914 (mark_set_regs, mark_set_1): Accept and use FLAGS.
15915 Use alloc_EXPR_LIST.
15916 (mark_used_regs): Accept and use FLAGS, not FINAL.
15917 Remove special handling for RETURN.
15918 (try_pre_increment): Use alloc_EXPR_LIST.
15919 (dump_flow_info): Dump n_edges.
15920 (unlink_insn_chain, split_hard_reg_notes): Remove.
15921 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
15922 (find_insn_with_note, new_insn_dead_notes): Remove.
15923 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
15924 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
15925 (replace_insns): Remove.
15926 (count_or_remove_death_notes): New.
15927 (verify_flow_info): Abort on error after all checks.
15928 (remove_edge): Decrement n_edges.
15929 (remove_fake_edges): Tweek format.
15930 * haifa-sched.c (schedule_insns): Use split_all_insns.
15931 * output.h (update_life_info): Remove declaration.
15932 * recog.c (split_all_insns): From the corpse of split_block_insns,
15933 do the whole function block by block. Use update_life_info.
15934 (recog_last_allowed_insn): New.
15935 (recog_next_insn): Mind it.
15936 (peephole2_optimize): Set it. Walk backwards through blocks.
15937 Use update_life_info.
15938 * rtl.h (update_flow_info, replace_insns): Remove declarations.
15939 (split_all_insns): Declare.
15940 * toplev.c (rest_of_compilation): Thread prologue before flow2.
15941 Use split_all_insns.
15943 * i386.md (or -1 peep2s): Disable.
15945 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
15947 * config/mips/mips.md (movstrsi+[123]) : Combine these into
15948 a single pattern. Scrap the 'd' versions as unnecessary.
15950 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
15951 tablejump_mips162,tablejump_internal4): The operands to a
15952 label_ref must be VOIDmode.
15954 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15956 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
15958 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
15960 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
15962 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
15964 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
15965 cache every function if ggc_p.
15967 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15969 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
15970 instead of copy_rtx. Accept sequences that contain asm statements.
15971 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
15972 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
15973 orig_asm_operands_vector, copy_asm_operands_vector,
15974 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
15976 * rtl.h (copy_insn, copy_insn_1): Declare.
15978 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15980 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
15982 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
15983 arguments to `current_file_function_operand'.
15985 * genrecog.c: Include hard-reg-set.h and resource.h in the
15986 generated output file.
15988 * real.c: Include tm_p.h.
15990 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15992 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
15995 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
15997 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
15998 before the fctiwz insn.
16000 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16001 Mark Mitchell <mark@codesourcery.com>
16003 * tree.c (make_lang_type_fn): New funtion pointer.
16004 (make_lang_type): Call it.
16005 * tree.h (make_lang_type): Declare.
16006 (make_lang_type_fn): Likewise.
16007 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16009 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
16011 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16012 make sure that HIGH instructions are copied into BASE_REGS.
16014 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
16016 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16018 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
16020 * c-decl.c (finish_struct): Use simpler method of
16021 removing elements of a singly-linked list.
16023 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
16025 * alpha.md (peephole2's): Comment out peephole2's that generate
16028 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
16030 * genrecog.c (add_to_sequence): Disable mode check for
16033 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16035 * ggc-simple.c (init_ggc): Set empty_string.
16037 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
16039 * configure.in: Detect mmap. Add --with-gc=foo to select
16040 garbage collector; default to page if mmap available.
16041 * Makefile.in (GGC): Substitute.
16043 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
16045 * c-decl.c (ggc_p): Enable.
16047 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16049 * flow.c (verify_flow_info): Make it extern & unconditionally define.
16051 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
16053 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16054 string for little-endian-data.
16056 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
16058 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16059 case somebody tries to compile --enable-checking code with gcc
16062 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
16064 * genrecog.c (add_to_sequence): Verify operand to label_ref is
16067 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
16069 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16070 * jump.c (jump_optimize_1): Document why.
16072 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16074 * collect2.c (scan_prog_file, scan_libraries): Prototype function
16075 pointers and casts for `int_handler' and `quit_handler'.
16077 * flow.c (verify_flow_info, split_hard_reg_notes,
16078 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16079 remove_edge, remove_fake_successors): Add static prototypes.
16080 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16081 (mark_set_1): Initialize variable `regno'.
16082 (unlink_insn_chain): Likewise for variable `curr'.
16083 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16085 * loop.c (strength_reduce): Initialize variable
16086 `unrolled_insn_copies'.
16087 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16088 prototypes. Change these functions to take const PTR parameters
16089 to avoid prototype conflict when used as the comparson argument
16091 (check_dbra_loop): Initialize variable `comparison_val'.
16093 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16094 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16095 (find_valid_class): Initialize variable `best_class'.
16096 (find_reloads): Call memcpy, not bcopy.
16098 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16099 (hard_reg_use_compare): Don't needlessly cast away const.
16100 (reload_reg_class_lower): Likewise.
16101 (choose_reload_regs): Initialize variable `regno'.
16103 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
16105 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16107 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
16109 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16110 ({,d}discard): Add forward declarations. Declare parameter as
16112 (main_without_main): Explicitly declare return type to be int.
16113 (memcpy): Properly declare.
16115 * libgcc2.c (toplevel): If inhibit_libc is defined and not
16116 building the trampoline support, declare malloc, free, and
16118 (__clear_cache): Mark arguments as potentially unused.
16120 * frame.c (toplevel): If inhibit_libc is defined, declare
16123 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
16125 * flow.c (make_edge): Accept an optional 2D bitmap in which
16126 to cache edge existence. Update all callers.
16127 (make_label_edge, make_eh_edge): Pass through the edge cache.
16128 (make_edges): Provide the cache.
16130 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16132 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16134 (local_mbtowc): Change the type of variable `i' from int to size_t.
16136 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16137 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16139 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
16141 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16142 after other includes that define the appropriate types. Include
16143 tm_p.h for getting user prototypes.
16144 * ggc-callbacks.c (toplevel): Ditto.
16145 * ggc-none.c (toplevel): Ditto.
16146 * gcc-page.c (toplevel): Ditto.
16147 * ggc-simple.c (toplevel): Ditto.
16149 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
16150 Jonathan Larmour <jlarmour@cygnus.co.uk>
16152 * config/mips/mips.c (mips_move_2words): Split doubles if
16153 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16155 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
16157 * genrecog.c (struct decision_test): New.
16158 (struct decision): Remove test-related members, sort the rest by size.
16159 (IS_SPLIT): Simplify.
16160 (new_decision, new_decision_test): New.
16161 (add_to_sequence): Use them. No special handling for args of
16163 (maybe_both_true): Renamed from not_both_true; return sense changed.
16164 (maybe_both_true_1, maybe_both_true_2): New. Broken out
16165 of maybe_both_true and adjusted for decision_test.
16166 (position_merit): Remove.
16167 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16168 (merge_accept_insn): New, broken out of merge_trees.
16169 (merge_trees): Use them. No special case for c_test; no node
16170 splitting; use test type instead of position_merit.
16171 (factor_tests): New.
16172 (simplify_tests): New.
16173 (break_out_subroutines): Don't write code now.
16174 (find_afterward): New.
16175 (write_afterward, write_switch, write_cond): New.
16176 (write_action, is_unconditional): New.
16177 (write_node): New. Use them.
16178 (write_tree_1): Rewrite. Use the new functions above.
16179 (write_tree): Remove afterward processing.
16180 (write_subroutine): Simplify function variant emission.
16181 (write_subroutines): New.
16182 (same_codes, clear_codes): Remove.
16183 (same_modes, clear_modes): Remove.
16184 (write_header): New, broken out of main.
16185 (make_insn_sequence): Use new_decision and new_decision_test.
16186 (process_tree): New, broken out of main.
16187 (main): Adjust for merge_trees interface change.
16188 Don't #define operands in the output file.
16189 (record_insn_name): New, broken out of make_insn_sequence.
16190 (debug_decision_2, debug_decision_1, debug_decision_0): New.
16191 (debug_decision): New.
16193 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
16195 * resource.c (find_free_register): Mark class_str argument const.
16196 * resource.h: Update prototype to match.
16198 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16199 * i386.md: Give all anonymous insns names.
16201 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
16203 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16206 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
16208 * toplev.c (dbr_sched_time): Unconditional.
16209 (peephole2_time): New.
16210 (compile_file): Add pass numbers to all of the dump file suffixes.
16211 Dump peephole2_time. Don't dump times for non-applicable passes.
16212 (rest_of_compilation): Add pass numbers to dump file suffixes.
16213 Conditionalize calls to the scheduler.
16214 * invoke.texi: Update.
16216 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
16218 * flow.c (make_edges): Fix insn iteration.
16219 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16220 (find_basic_blocks_1): Fix spelling mistake.
16222 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
16224 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16225 always have side-effects. Use memset not bzero.
16226 (make_node): Likewise.
16228 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
16230 * stmt.c (expand_anon_union_decl): When any of the elements of the
16231 union is addressable, so is the entire union.
16233 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
16235 * sbitmap.c (sbitmap_ones): Don't set too many bits.
16237 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16238 * bitmap.c (bitmap_operation): Return true iff TO changed.
16239 (bitmap_equal_p): New.
16240 (bitmap_bit_p): Tidy arithmetic.
16241 (debug_bitmap_file): Likewise.
16243 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
16245 * toplev.c (rest_of_compilation): Turn on cse_not_expected
16246 before cse2 instead of after.
16248 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
16250 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16253 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16255 * cppinit.c (is_idchar initializer): Loosen tests to accept
16258 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
16260 * mips.md: Define conditional move patterns for floating point
16261 operands and DI mode conditions.
16263 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
16265 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16266 always have side-effects.
16268 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
16270 * mn10200.c (asm_file_start): Fix typo.
16272 * cppinit.c (is_idchar initializer): Tighten tests for when
16273 to put the table into initialized memory.
16275 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16276 not an array of rtunion.
16277 * gcc-page.c (ggc_alloc_rtvec): Similarly.
16278 * gcc-simple (ggc_free_rtvec): Similarly.
16280 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16283 * mbchar.h: Add missing #endif.
16285 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16286 (FPBIT, DPBIT): Define.
16288 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16290 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16292 * profile.c (instrument_arcs, output_gcov_string,
16293 tablejump_entry_p): Add static prototypes.
16294 (output_gcov_string): Constify a char*.
16296 * regmove.c (replacement_quality, fixup_match_2): Add static
16299 * resource.h (reg_dead_p): Add extern prototype.
16301 * rtl.c (trim_filename): Add static prototype.
16303 * scan-decls.c (skip_to_closing_brace): Likewise.
16305 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16306 (expand_end_case): Initialize variable `range'.
16307 (emit_case_nodes): Remove unused prototype `rtx_fn'.
16309 * varasm.c (asm_emit_uninitialised): Add static prototype.
16310 (asm_emit_uninitialised, assemble_variable): Mark parameter with
16313 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16315 * cpplib.c (if_directive_nameo): Add static prototype.
16317 * cse.c (cse_insn): Remove unused variable `p'.
16319 * except.c (create_rethrow_ref, push_entry,
16320 receive_exception_label, new_eh_region_entry, find_func_region,
16321 clear_function_eh_region, process_nestinfo): Add static prototypes.
16322 (get_reg_for_handler): Hide definition.
16323 (process_nestinfo): Initialize variable `extra_handlers'.
16325 * expr.h (expand_builtin_longjmp): Add extern prototype.
16327 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16329 * function.c (prepare_function_start): Likewise.
16330 (pop_function_context_from): Mark parameter `context' with
16332 (push_temp_slots_for_block, flush_addressof): Hide definition.
16334 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16335 solve_program_flow_graph, calculate_branch_probs,
16336 function_summary, main, fancy_abort): Add prototypes.
16338 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16339 (add_hash): Constify a char*.
16341 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16342 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16343 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16345 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16347 * lists.c (free_list, zap_lists): Likewise.
16349 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16351 * alias.c (nonlocal_reference_p): Add static prototype.
16353 * bitmap.c (bitmap_element_allocate): Prototype args in function
16356 * builtins.c (stabilize_va_list): Add static prototype.
16357 (expand_builtin_va_arg): Constify a char*.
16359 * c-lex.c (getch, put_back, extend_token_buffer_to,
16360 read_line_number, token_getch, token_put_back): Add static
16363 * c-parse.gperf (hash, is_reserved_word): Likewise.
16365 * cccp.c (is_dir_separator): Likewise.
16367 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16369 * graph.h: New file to prototype functions exported by graph.c.
16371 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16373 * graph.c: Include graph.h.
16375 * toplev.c: Likewise. Remove redundant prototypes.
16377 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
16379 * invoke.texi: Removed duplicated description for -Q.
16381 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
16383 * extend.texi: Grammar fix in __extension__ text.
16385 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
16387 * md.texi (define_peephole2): New section.
16389 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
16391 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16392 (mov $-1 to or peepholer): Enable for pentium when optimizing for
16395 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
16397 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16399 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
16401 * i386.md (ffs expander): Emit Pentium friendly code for
16404 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
16406 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16408 (build1): Likewise.
16410 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16412 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16414 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
16416 * config/m68k/m68k.c (use_return_insn): Return false if the pic
16417 register is in use.
16419 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16421 * md.texi (No Constraints): Delete section.
16422 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16423 * final.c (final_scan_insn): We always have register constraints.
16424 * genattrtab.c: Don't include "insn-config.h".
16425 (write_attr_case): We always have register constraints.
16426 * genconfig.c (register_constraint_flag): Delete.
16427 (walk_insn_part): Don't check whether we have register constraints.
16428 (main): Don't write out "#define REGISTER_CONSTRAINTS".
16429 * genoutput.c (have_constraints): Delete.
16430 (main): Don't set it.
16431 (output_operand_data): We always have constraints.
16432 (scan_operands): Likewise.
16433 (compare_operands): Likewise.
16434 * local-alloc.c (block_alloc): We always have constraints.
16435 (requires_inout): Always compile this function.
16436 * recog.c (extract_insn): We always have constraints.
16437 (constrain_operands, reg_fits_class_p): Always compile these
16439 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16441 (struct insn_operand_data): Likewise.
16442 * regclass.c (regclass): We always have constraints.
16443 (record_reg_classes, copy_cost, record_address_regs,
16444 auto_inc_dec_reg_p): Always compile these functions.
16445 * regmove.c (regmove_optimize): We always have constraints.
16446 * reload.c (find_reloads): Likewise.
16447 * reload1.c (reload): Likewise.
16448 (reload_cse_simplify_operands): Likewise.
16449 * i860.c (output_delay_insn): Likewise.
16451 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
16453 * iris6.h (BUILD_VA_LIST_TYPE): Define.
16455 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16457 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16458 for the va_list record.
16460 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
16462 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16465 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
16467 * alias.c: Include insn-flags.h.
16468 * Makefile.in (alias.o): Update.
16470 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
16472 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16473 to LTU and GEU. Handle more cases using sbb.
16475 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
16477 * i386.md (truncatexfdf splitters): Do not use subreg.
16478 (fop XFmode patterns): Fix mode in operand testing.
16480 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
16482 * jump.c (jump_optimize_1): Amend last change to test only the
16483 form of the operand, not the insn.
16485 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16486 not register_operand to determine when B may need preloading.
16488 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
16490 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16491 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16492 (call-value patterns): Move to end of file.
16493 (*): Remove mode from label_ref in (pc) context.
16494 (movstrqi): Use memory not general_operand for BLKmode operands.
16495 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16496 to register_operand operands.
16497 (peep2 patterns): Convert from commented-out peephole patterns.
16499 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16501 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16502 to BUILT_IN_INIT_DWARF_REG_SIZES.
16503 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16504 Renamed from BUILT_IN_DWARF_REG_SIZE; call
16505 expand_builtin_init_dwarf_reg_sizes.
16506 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16507 with __builtin_init_dwarf_reg_size_table.
16508 * dwarf2out.c (struct reg_size_range): Delete.
16509 (expand_builtin_init_dwarf_reg_sizes): New function.
16510 (expand_builtin_dwarf_reg_size): Delete.
16511 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16512 (expand_builtin_dwarf_reg_size): Don't declare.
16513 * libgcc2.c (dwarf_reg_size_table_initialized): New.
16514 (dwarf_reg_size_table): New.
16515 (init_reg_size_table): New function.
16516 (copy_reg): Use dwarf_reg_size_table.
16517 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16520 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
16522 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16523 Correctly build argument list to constructor and destructor functions.
16525 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
16527 * c-tree.h (warn_float_equal): Declare.
16528 * c-decl.c (warn_float_equal): Define.
16529 (c_decode_option): Recognize -W[no-]float-equal.
16530 * c-typeck.c (build_binary_op): Conditionally warn
16531 about equality tests of floating point types.
16532 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16533 * invoke.texi: Add docs for -Wfloat-equal warning.
16535 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
16537 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16538 generating RTL directly.
16539 * mips.h (INIT_TARGET_OPTABS): Likewise.
16540 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16542 * expr.h (init_mov_optab): Delete declaration
16544 * h8300.c (WORD_REG_USED): Update to avoid useless register
16545 saves in interrupt functions and functions which never return.
16547 * cse.c (struct set): Delete inner_dest_loc field.
16548 (cse_insn): Remove assignments to inner_dest_loc field.
16550 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
16552 * ggc-page.c: Don't include <unistd.h> etc taken care of
16553 by "system.h". Include <sys/mman.h> afterward.
16555 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
16557 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16560 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
16562 * xcoffout.c (xcoffout_declare_function): Add documentation.
16563 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16564 TARGET_64BIT. Compare constant to -1, not bit pattern.
16565 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16566 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
16569 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
16571 * dwarf2out.c (add_abstract_origin_attribute): Abort if
16572 origin_die is NULL.
16573 (gen_inlined_enumeration_type_die): Do not abort if the type has
16574 not been writeen out.
16575 (gen_inlined_structure_type_die): Do not abort if the type has
16576 not been writeen out.
16577 (gen_inlined_union_type_die): Do not abort if the type has
16578 not been writeen out.
16579 (gen_tagged_type_instantiation_die): Do not abort if the type
16580 has not been written out.
16582 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16584 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16586 * reg-stack.c (straighten_stack): Copy hard reg set with
16589 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
16591 * builtins.c (stabilize_va_list): Stabilize array type va_list
16592 to a pointer type, not the base record type.
16593 (expand_builtin_va_copy): Dereference the pointers explicitly;
16594 use the correct size for the copy.
16596 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16597 (rs6000_va_arg): Likewise.
16599 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
16601 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16603 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
16605 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16607 (DECL_BUILT_IN_CLASS): Adjust accordingly.
16609 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
16611 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16612 (init_ggc): Use it instead of a constant.
16613 (ggc_collect): Bound allocated_last_gc by it.
16615 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
16617 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16620 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
16622 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
16623 (mips*-*-openbsd*): Let big endian configuration be a fragment.
16624 * configure: Regen.
16625 * config/mips/openbsd.h: New, OpenBSD little endian target.
16626 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
16627 * config/mips/xm-openbsd.h: New, OpenBSD host.
16629 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
16631 * config/m68k/m68k.c (output_function_prologue,
16632 output_function_epilogue): Use
16633 current_function_uses_pic_offset_table instead of regs_ever_live
16634 to decide whether to save/restore pic register.
16635 (legitimize_pic_address): Don't modify regs_ever_live any more.
16637 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
16639 * function.h (struct function): Add x_dont_save_pending_sizes_p.
16640 * stor-layout.c (variable_size): Don't add sizes to the pending
16641 sizes list if x_dont_save_pending_sizes_p is set.
16643 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
16645 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16646 for symbolic_operand().
16647 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16649 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16651 * combine.c (gen_rtx_combine): Add missing call to va_end().
16653 * final.c (asm_fprintf): Likewise.
16655 * genattrtab.c (attr_rtx): Likewise.
16657 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
16659 * cse.c: Update comments.
16660 (cse_insn): When converting a conditional/computed jump into
16661 an unconditional jump, always make sure a BARRIER immediately
16662 follows the converted jump. Do not delete unreachable code.
16663 (cse_basic_block): Do not delete unreachable code.
16664 * toplev.c (rest_of_compilation): Move call to
16665 delete_trivially_dead_insns after the conditional call to
16668 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16670 * collect2.c (make_temp_file): Don't prototype.
16672 * gcc.c (make_temp_file): Likewise.
16674 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16676 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
16678 * varasm.c (asm_emit_uninitialised): New function: Generate
16679 the assembler statements necessary to declare an uninitialised
16681 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16683 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16684 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16686 (assemble_variable): Use asm_emit_uninitialised to emit an
16687 uninitialised variable.
16689 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
16691 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16692 constant on a 64 bit host. Patch supplied by Geoffrey Keating
16693 <geoffk@cygnus.com>.
16695 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16697 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16698 * c-common.h (builtin_function): Don't declare.
16700 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16702 (pushdecl): Likewise.
16703 (finish_decl): Likewise.
16704 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
16705 int. All callers changed.
16706 Set the builtin's DECL_BUILT_IN_CLASS.
16707 * tree.h (enum built_in_class): New.
16708 (enum built_in_function): Delete NOT_BUILT_IN.
16709 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16711 (DECL_SET_FUNCTION_CODE): Likewise.
16712 (DECL_BUILT_IN_CLASS): New macro.
16713 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16714 (struct tree_decl): Split builtin function code field into a
16716 (builtin_function): Declare.
16718 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
16720 * optabs.c (init_traps): Fix typo in last change.
16722 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
16724 * toplev.c (rest_of_decl_compilation): Update comment.
16726 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
16728 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16729 in .sbss if appropriate.
16730 (EXTRA_SECTION_FUNCTIONS): Add sbss.
16731 (SBSS_SECTION_ASM_OP): New macro.
16732 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16733 (EXTRA_SECTIONS): Add in_sbss.
16734 * config/mips/mips.h: Prototype sbss_section.
16736 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
16738 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16741 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
16743 * optabs.c (init_traps): Register trap_rtx as a GC root.
16745 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16747 * config/mips/mips.c (function_arg_pass_by_reference): Define
16748 unconditionally, since it's called unconditionally.
16750 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16752 * toplev.c (documented_lang_options): Add -fshort-wchar.
16753 * c-decl.c (c_decode_option): Likewise.
16754 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16756 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16757 * gcc.c (default_compilers): If -fshort-wchar,
16758 override __WCHAR_TYPE__.
16759 * tm.texi (C Dialect Options): Add -fshort-wchar.
16761 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16762 symbol for a variable.
16764 * cpplib.h (CPP_PREPROCESSED): New macro.
16765 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16766 we're seeing this input for a second time.
16768 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
16770 * emit-rtl.c (init_emit_once): Initialize modes first.
16772 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
16774 * config/i386/i386.c (pic_label_name): Change to char pointer.
16775 (global_offset_table): New variable.
16776 (load_pic_register): Fill global_offset_table if it hasn't
16777 already been done. Allocate pic_label_name dynamically.
16778 * ggc.h (empty_string): New variable.
16779 * ggc-simple.c (empty_string): Likewise.
16780 (init_ggc): Allocate empty_string and add as root.
16781 * stmt.c (digit_strings): New variable.
16782 (init_stmt): Add last_block_end_note as root. Allocate and
16783 initialize digit_strings.
16784 (expand_asm_operands): Use empty_string instead of string
16785 constant. Use digit_strings instead of string constants.
16786 * profile.c (init_arc_profiler): Allocate string with
16787 ggc_alloc_string instead of xmalloc.
16788 (output_func_start_profiler): Likewise.
16789 * c-typeck.c (digest_init): Check if init is error_mark_node.
16791 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
16792 Richard Henderson <rth@cygnus.com>
16794 * ggc-page.c: New file.
16795 * Makefile.in (ggc-page.o): New.
16797 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
16799 * invoke.texi: Document -fdelete-null-pointer-checks
16800 * toplev.c (flag_delete_null_pointer_checks): New.
16801 (f_options): Add entry for -fdelete-null-pointer-checks.
16802 (rest_of_compilation): Conditionalize null pointer check
16803 elimination on flag_delete_null_pointer_checks.
16804 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
16806 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
16808 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
16809 copyright notice and special exception to GPL.
16811 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16813 * abi64.h (mips_function_value): Add prototype arguments.
16815 * mips-protos.h: New file with mips prototypes.
16817 * mips.c: Include "tm_p.h".
16818 (mktemp, lookup_name): Add prototype arguments.
16819 (extern_list, string_constant, mips_fill_delay_slot,
16820 mips_output_external, mips_output_external_libcall,
16821 mips_output_filename, mips_declare_object, function_prologue,
16822 mips_expand_prologue, function_epilogue, mips16_constant,
16823 build_mips16_function_stub, mips_output_conditional_branch):
16825 (mips_va_start): Remove unused variable `u'.
16826 (mips_va_arg): Cast value to unsigned when comparing against one.
16828 (save_restore_insns, mips_expand_prologue): Add missing arg in
16829 call to `large_int'.
16831 * mips.h: Move prototypes to mips-protos.h.
16832 (data_section, memory_address_p, rdata_section,
16833 readonly_data_section, simple_epilogue_p, text_section): Delete
16834 prototypes delcared elsewhere.
16835 (mips_epilogue_delay_slots, print_options): Delete unused decls.
16837 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
16839 * mips.md: Delete extra args in call to `mips_move_2words'.
16841 * xm-iris6.h (alloca): Add prototype argument.
16843 * genpeep.c: Include "tm_p.h" in generated output file.
16845 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16847 * basic-block.h (find_edge_index): Change parameters.
16848 * flow.c (verify_edge_list): Pass basic_block parameters to
16849 find_edge_index instead of integers.
16851 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
16853 * combine.c (simplify_comparison): Use an unsigned shift to adjust
16856 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
16858 * gcc.1: Fix a formatting error.
16860 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16862 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
16863 i786, mn10200, mn10300, pdp11, v850.
16865 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
16867 * libgcc2.c (num_digits): Add prototype with
16868 __attribute__((const)).
16869 (__terminate): Add prototype.
16871 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
16873 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
16875 * alpha/alpha.c (print_operand): Fix type of `code'.
16876 (alpha_output_filename): Constify.
16877 * alpha/alpha.h: Move all function declarations ...
16878 * alpha/alpha-protos.h: ... here. New file.
16879 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
16880 (SECTION_FUNCTION_TEMPLATE): Likewise.
16882 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16884 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
16885 * expr.c (expand_expr): Likewise.
16886 (do_jump): Likewise.
16887 (do_store_flag): Pass ccp_store_flag to can_compare_p.
16888 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
16890 (enum can_compare_purpose): New.
16891 (can_compare_p): Adjust prototype.
16892 (prepare_cmp_insn, prepare_operand): Declare.
16893 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
16894 * optabs.c (cmp_available_p): Deleted.
16895 (expand_abs): Pass ccp_jump to can_compare_p.
16896 (can_compare_p): New arg PURPOSE. Check for combined optabs.
16897 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
16898 Call can_compare_p rather than cmp_available_p.
16899 (prepare_operand): No longer static.
16900 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
16901 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
16902 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
16903 sequence to use emit_cmp_and_jump_insns.
16904 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
16906 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
16908 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
16909 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
16910 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
16911 (plus (reg) (const_int 0))
16912 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
16914 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
16916 * rs6000.c (expand_block_move): DImode loads and stores require
16917 word-aligned displacements. Increment address registers with
16918 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
16920 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
16922 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
16923 is no name for the base type, rather than segfault. If we are
16924 writing out a complex integer type, use DW_ATE_lo_user.
16926 * expr.c (emit_move_insn_1): If we are copying a complex that fits
16927 in one word or less (complex char, complex short, or on 64 bit
16928 systems complex float) to/from a hard register, copy it through
16929 memory instead of dying in gen_{real,imag}part. If we have a
16930 short complex type, prevent inlining since it allocates stack
16933 * tree.c (build_complex_type): If we are writing dwarf2 output,
16934 generate a name for complex integer types.
16936 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16938 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
16939 * flow.c (remove_edge): Remove extra whitespace.
16940 (remove_fake_edges): Fix comment.
16941 (add_noreturn_fake_exit_edges): Use the correct name.
16943 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
16945 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
16946 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
16947 (clean): Depend on INTL_CLEAN.
16948 (maintainer-clean): Adjust.
16950 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16952 * configure.in (AC_PREREQ): Bump to 2.13.
16953 (AC_C_STRINGIZE): Call this instead of using a custom macro.
16955 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
16957 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
16959 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
16961 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
16962 (HAVE_STRINGIZE): Define.
16964 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
16966 * c-parse.in: save and restore warn_pointer_arith on __extension__
16967 along with pedantic.
16968 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
16969 Set the type of extension to itype rather than $<itype>1 kludge.
16970 * extend.texi (Alternate Keywords): Adjust documentation.
16971 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
16973 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
16975 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
16976 most assembler templates.
16978 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
16979 FP loads and stores.
16980 (following_call): Always return zero for the PA8000.
16981 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
16982 FP loads and stores.
16983 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
16985 * pa.h (BRANCH_COST): Define.
16987 * pa.md (return, return_internal): Use bve for PA2.0.
16989 * pa.md (fused multiply): Add variants which reduce height for the
16990 fused multiply, but which still generate 2 insns.
16991 (fnegabs): Similarly.
16993 * pa.md (subsi3): Turn into an expander. Create two anonymous
16994 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
16995 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
16997 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
16999 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17001 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17002 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17004 * regclass.c (init_regs): Add "top_of_stack" as a garbage
17007 * flow.c (record_active_eh_regions): Terminate loop after finding
17008 the last insn in the last basic block.
17010 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17012 * config/c4x/c4x.md: Delete parallel instruction peepholes.
17014 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17016 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17018 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17020 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17021 splitting to not use output template.
17023 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17025 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17026 * config/c4x/c4x.c (c4x_va_start): New function.
17028 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
17030 * genrecog.c (not_both_true): Handle correctly cases when called for
17031 tests with different positions in the insn.
17033 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17035 * machmode.h (HOST_PTR_PRINTF): Move from here ...
17037 * system.h (HOST_PTR_PRINTF): ... to here.
17039 * mips-tfile.c: Don't include machmode.h.
17041 * Makefile.in (MACHMODE_H): New variable. Update to use it.
17042 (mips-tfile.o): Don't depend on machmode.h.
17044 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17046 * haifa-sched.c (sched_analyze): Rename local variable `region' to
17047 avoid conflicts with typedef struct `region' at the top level scope.
17049 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
17051 * basic-block.h (basic_block): Add eh_beg, eh_end.
17052 * flow.c (entry_exit_blocks): Update.
17053 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17054 Call new functions.
17055 (find_basic_blocks_1): Don't record eh_list at each bb. Use
17056 lists.c functions to allocate insn lists.
17057 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
17059 (make_eh_edge): ... here. New.
17060 (move_stray_eh_region_notes): New.
17061 (record_active_eh_regions): New.
17062 (delete_unreachable_blocks): Split out block merging ...
17063 (try_merge_blocks): ... here. New.
17064 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17065 Dump debugging data.
17066 (merge_blocks_move_successor_nojumps): Likewise.
17067 (merge_blocks): Use eh_beg+eh_end to validate block movement.
17069 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
17071 * extend.texi (Bound member functions): Document unbound pmf
17074 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17076 * flow.c (split_edge): Handle insertion on a fallthrough edge which
17077 has the EXIT_BLOCK as a dest.
17079 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17081 * flow.c (remove_edge): New function to remove an edge from the
17083 (remove_fake_successors): New function to remove fake successor edges.
17084 (remove_fake_edges): New function to remove all fake edges from the
17086 (add_fake_exit_edges): New function to add fake edges from all blocks
17087 with no successors to the exit block.
17088 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17089 prototypes for new functions.
17091 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17093 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17094 Use Pmode to determine whether to output .dword or .word.
17096 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
17098 * tree.c (built_in_filename): New variable.
17099 (BUILT_IN_FILENAME): New macro.
17100 (init_tree_codes): Allocate built_in_filename.
17101 (make_node): Use built_in_filename instead of string constant.
17103 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
17105 * configure.in: Add fr30 target.
17106 * configure: Regenerate.
17107 * config/fr30: New directory.
17108 * config/fr30/crti.asm: New file.
17109 * config/fr30/fr30.c: New file.
17110 * config/fr30/crtn.asm: New file.
17111 * config/fr30/fr30.h: New file.
17112 * config/fr30/fr30.md: New file.
17113 * config/fr30/lib1funcs.asm: New file.
17114 * config/fr30/t-fr30: New file.
17115 * config/fr30/xm-fr30.h: New file.
17117 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
17119 * flow.c (merge_blocks_move_successor_nojumps): Delete the
17120 BARRIER at the end of the successor, not the BARRIER before
17123 * pa.c (pa_add_gc_roots): Fix thinko in last change.
17125 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
17127 * stmt.c (any_pending_cleanups): Don't crash when
17128 current_function->stmt is unset.
17130 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17132 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17133 other initializations that may use it for relative offsets.
17135 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17137 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17138 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
17139 * config/i386/sol2dbg.h: Removed.
17140 * config/i386/sol2gas.h: New file, to enable gas work-around.
17141 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17142 Don't use sol2dbg.h.
17143 * configure: Rebuilt.
17145 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
17147 * invoke.texi (-fthis-is-variable): Remove documentation.
17149 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
17151 * basic-block.h (compute_bb_for_insn): Declare.
17152 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
17153 to use; set size of basic_block_for_insn directly.
17154 (find_basic_blocks): Update.
17156 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17158 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17160 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17162 * crtstuff.c (ON_EXIT): Delete empty macro definition.
17163 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17165 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
17167 * c-decl.c (c_decode_option): Extend comment.
17169 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
17171 * toplev.c (progname): Make 'const char *'
17172 (flag_print_mem): Move out of main.
17173 (version_flag): Move out of main.
17174 (filename): Move out of main.
17175 (debug_args): Remove g prefix from options.
17176 (documented_lang_options): Remove cpplib specific options.
17177 (display_help): Add g prefix to debug options.
17178 (check_lang_option): Delete this function.
17179 (decode_d_option): New function: Decode -d... option.
17180 (decode_f_option): New function: Decode -f... option.
17181 (decode_W_option): New function: Decode -W... option.
17182 (decode_g_option): New function: Decode -g... option.
17183 (independent_decode_option): New function: Decode a language
17184 independent command line option.
17185 (main): Invoke lang_decode_option and then
17186 independent_decode_option on each command line option in
17189 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
17191 Revert this change. Gavin's patch to operand_equal_p is a better fix.
17192 * fold-const.c (fold_range_test): Do not try to fold the range
17193 test if the rhs or lhs has side effects.
17195 * basic-block.h (compute_flow_dominators): Declare.
17197 * gcse.c (alloc_code_hoist_mem): New function.
17198 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17199 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17200 (hoist_code, one_code_hoisting_pass): Likewise.
17201 (gcse_main): If optimizing for size, then hoist expressions
17202 computed in multiple dominated basic blocks.
17204 * gcse.c (invalid_nonnull_info): New function.
17205 (delete_null_pointer_checks): Likewise.
17206 * rtl.h (delete_null_pointer_checks): Declare.
17207 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17209 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17210 (merge-blocks_move_successor_nojumps): Likewise.
17211 (merge_blocks): Allow merging of some blocks, even if it requires
17212 physical movement of the blocks, but not if it requires new jumps.
17214 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17215 Callers and prototype changed.
17216 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17218 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17220 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17221 -YP when both -p and -pg are present. From i386/sol2.h.
17223 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17225 * Makefile.in (distclean): Delete tm_p.h.
17226 * configure.in: Create a new file, "tm_p.h", from a list in
17227 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17228 "i386/i386-protos.h".
17230 * alias.c: Include "tm_p.h".
17231 * c-typeck.c: Likewise.
17232 * calls.c: Likewise.
17234 * emit-rtl.c: Likewise.
17235 * explow.c: Likewise.
17236 * expmed.c: Likewise.
17237 * expr.c: Likewise.
17238 * final.c: Likewise.
17239 * flow.c: Likewise.
17240 * fold-const.c: Likewise.
17241 * function.c: Likewise.
17242 * gcse.c: Likewise.
17243 * global.c: Likewise.
17244 * haifa-sched.c: Likewise.
17245 * integrate.c: Likewise.
17246 * jump.c: Likewise.
17247 * local-alloc.c: Likewise.
17248 * loop.c: Likewise.
17249 * optabs.c: Likewise.
17250 * recog.c: Likewise.
17251 * reg-stack.c: Likewise.
17252 * regclass.c: Likewise.
17253 * regmove.c: Likewise.
17254 * reload.c: Likewise.
17255 * reload1.c: Likewise.
17256 * reorg.c: Likewise.
17257 * resource.c: Likewise.
17258 * stmt.c: Likewise.
17259 * stor-layout.c: Likewise.
17260 * toplev.c: Likewise.
17261 * tree.c: Likewise.
17262 * unroll.c: Likewise.
17263 * genattrtab.c (main): Make generated file include "tm_p.h".
17264 * genemit.c (main): Likewise.
17265 * genoutput.c (main): Likewise.
17266 * genrecog.c (main): Likewise.
17268 * i386.h: Delete all prototypes.
17269 * i386.c: Include "tm_p.h".
17270 (ix86_attr_length_default): Call constant_call_address_operand
17271 with correct number of arguments.
17272 * i386-protos.h: New file.
17273 * i386.md (unnamed patterns): Call constant_call_address_operand
17274 with correct number of arguments.
17275 (exception_receiver): Call load_pic_register with correct number
17278 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
17280 * c-pragma.c (mark_align_stack): Dereference the void* properly.
17282 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
17284 * rtl.h (insns_safe_to_move_p): New function.
17285 * loop.c (find_and_verify_loops): Use it.
17286 * rtlanal.c (insns_safe_to_move_p): Define it.
17288 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
17290 * c-pragma.c: Include ggc.h.
17291 * Makefile.in (c-pragma.o): Update.
17293 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17295 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17296 (LIB_SPEC): Likewise.
17297 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17298 Reindent -YP/-p/-pg.
17299 Copied from config/sparc/sol2.h.
17301 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
17303 * c-pragma.c (mark_align_stack): New.
17304 (init_pragma): New.
17305 * c-pragma.h (init_pragma): Declare it.
17306 * c-lex.c (init_parse): Call it.
17308 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17310 * configure.in: Pick up thread library on Solaris/x86 just
17311 like on Solaris/sparc.
17312 * configure: Rebuilt.
17314 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
17316 * rtl.h (global_rtx_index): New enum.
17317 (global_rtl): Change to array of rtx.
17318 (pc_rtx, cc0_rtx): Redefine accordingly.
17319 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17320 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17321 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17322 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17323 (const_int_rtx): Change to array of rtx.
17324 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17326 * emit-rtl.c (global_rtl): Change to array of rtx.
17327 (const_int_rtx): Change to aray of rtx.
17328 (gen_rtx_CONST_INT): Redefine accordingly.
17329 (init_emit_once): Allocate and initialize global_rtl. Likewise
17330 for const_int_rtx. Add both as GC roots.
17331 * genattrtab.c (global_rtl): Update declaration.
17333 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
17335 * Makefile (USER_H): Add iso646.h back.
17337 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
17339 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17340 zapping the LOG_LINKS of sched_before_next_call.
17342 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17343 * pa.c (insn_refs_are_delayed): Renamed from
17344 insn_sets_and_refs_are_delayed.
17346 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
17348 * functiion.h (struct function): Add x_whole_function_mode_p.
17349 (retrofit_block): Declare.
17350 * function.c (retrofit_block): New function.
17351 (identify_blocks): Add assertions. Allow an incomplete set of
17352 block notes if we're still generating code for the function.
17353 * integrate.c: Include loop.h.
17354 (expand_inline_function): Call find_loop_tree_blocks to map block
17355 notes to blocks when in whole-function mode. Use retrofit_block
17356 to insert new BLOCKs for the inlined function, rather than
17358 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
17359 * Makefile.in (integrate.o): Depend on loop.h.
17361 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
17363 * tree.h (warn_about_unused_variables): Declare.
17364 * stmt.c (warn_about_unused_variables): New function, split out
17366 (expand_end_bindings): Here.
17368 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
17370 * stmt.c (preserve_subexpressions_p): Don't crash when
17371 current_function->stmt is unset.
17373 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
17375 * stmt.c (expand_start_bindings): Allow callers to pass a flag
17376 indicating that no NOTE_INSN_BLOCK_BEG note is required.
17377 (expand_start_target_temps): Use it.
17378 * except.c (expand_eh_region_start_for_decl): Likewise.
17379 * expr.c (expand_expr): Likewise.
17381 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
17383 * fold-const.c (operand_equal_p): Pay attention to side effects.
17385 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
17387 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17388 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17390 * tlink.c (scan_linker_output): Look for keywords before accepting
17391 a mangled name in quotes.
17393 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
17395 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17396 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17398 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
17400 * alpha.md: Revert Thu Nov 26 change that came in through the
17401 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17402 Avoid earlyclobber when possible.
17404 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17406 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17408 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17409 Define HAVE_ON_EXIT.
17411 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17413 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
17414 CTYPE_CONV in all ctype macros.
17416 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17419 * cexp.y (initialize_random_junk): Likewise.
17421 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17423 * i370.c (handle_pragma): Likewise.
17425 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17427 * v850.c (override_options): Likewise.
17429 * doprint.c (_doprnt): Likewise.
17431 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17434 * fixinc/server.c (load_data): Likewise.
17436 * fold-const.c (real_hex_to_f): Likewise.
17438 * genattr.c (write_upcase, gen_attr): Likewise.
17440 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17441 write_upcase): Likewise.
17443 * genemit.c (print_code): Likewise.
17445 * genopinit.c (gen_insn): Likewise.
17447 * genpeep.c (print_code): Likewise.
17449 * genrecog.c (print_code): Likewise.
17451 * optabs.c (init_libfuncs): Likewise.
17453 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
17455 * haifa-sched.c (sched_analyze): Keep the list of notes organized
17457 (reemit_notes): Likewise.
17459 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
17461 * ggc.h (ggc_root): Move to ggc-common.c.
17463 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17464 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17465 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17466 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17467 * ggc-common.c (ggc_root): Move from ggc.h.
17468 (roots): Declare, static.
17469 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17470 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17471 null or check/set mark bit.
17472 (ggc_mark_roots): New.
17473 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17475 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
17477 * m32r.c: Include toplev.h.
17478 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17479 (gen_compare): Rename swap_p to must_swap to match uses.
17480 Add default abort case.
17481 (m32r_output_function_epilogue): Remove unused variables.
17482 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17483 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17484 define to empty parameter list. Update all uses.
17485 (predicate decls): Use enum machine_mode not int.
17486 * m32r.md (movsi): Call abort, not fatal_insn.
17487 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17489 1999-09-14 Andrew Haley <aph@cygnus.com>
17491 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17492 use $0 instead of 0.
17494 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17496 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17497 computation out of loop over hard regs.
17499 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
17501 * function.c (identify_blocks): Don't shadow a variable in an
17503 * integrate.c (integrate_decl_tree): Don't use pushlevel,
17504 pushdecl, or poplevel to build up the new BLOCK tree.
17505 (expand_inline_function): Likewise.
17506 (integrate_parm_decls): Likewise.
17508 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
17510 * c-typeck.c (qualify_type): Merge qualifiers from both types.
17512 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
17514 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17515 * invoke.texi: Document this change.
17517 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
17519 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17521 (mark_emit_status): Renamed from mark_emit_state.
17522 * except.c (mark_eh_status): Renamed from mark_eh_state.
17523 Check not null before marking.
17524 (free_eh_status): New.
17525 * expr.c (mark_expr_status, free_expr_status): New.
17526 * function.c (free_machine_status): New.
17527 (free_after_parsing): New.
17528 (free_after_compilation): Move bits to free_after_parsing; call
17529 free_eh_status, free_expr_status; zero the marked members of the
17531 (prepare_function_start): No can_garbage_collect.
17532 Call init_eh_for_function.
17533 (expand_dummy_function_end): Free up current_function state.
17534 (mark_function_status): Renamed from mark_function_state.
17535 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
17536 * function.h (struct function): No can_garbage_collect.
17537 (free_machine_status, free_after_parsing): Declare.
17538 (free_eh_status, free_expr_status): Declare.
17539 * ggc.h (mark_expr_status): Declare.
17540 * stmt.c (free_stmt_status): Free the struct.
17541 (mark_stmt_status): Renamed from mark_stmt_state.
17542 (init_stmt): Don't call init_eh.
17543 (init_stmt_for_function): Don't call init_eh_for_function.
17544 * toplev.c (compile_file): Call init_eh.
17545 (rest_of_compilation): Free basic block info before ggc_collect.
17546 Call free_after_parsing; conditionally call free_after_compilation.
17547 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17548 Check not null before marking.
17549 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
17551 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
17553 * c-lex.c (yylex): Initialize warn.
17555 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
17557 * pa.c (emit_move_sequence): Properly set the mode of the scratch
17558 register when performing secondary reloads for the SAR register.
17560 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
17562 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17563 (NOTE_BLOCK): New macro.
17564 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17565 * function.h (identify_blocks): Change prototype.
17566 * function.c (identify_blocks): Simplify.
17567 (reorder_blocks): Likewise.
17568 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17569 NOTE_INSN_BLOCK_{BEG,END}.
17570 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17571 the list of saved notes if the note isn't a
17572 NOTE_INSN_BLOCK_{BEG,END}.
17573 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17575 (reemit_notes): Adjust recreation of notes to reflect new saved
17577 * print-rtl.c (print_rtx): Print the address of the BLOCK when
17578 printing a block note.
17579 * stmt.c (block_vector): Remove.
17580 (find_loop_tree_blocks): Simplify.
17581 (unroll_block_trees): Likewise.
17582 * tree.h (reorder_block): Change prototype.
17584 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
17586 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
17587 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17588 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17589 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
17590 (atexit, exit): Simplify.
17591 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
17592 * config/lots: Remove defns of HAVE_ATEXIT.
17594 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
17596 * calls.c (precompute_arguments): Fix typo in comment.
17597 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17600 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
17602 * dsp16xx.c (override_options): Fix typos in GC root registration.
17604 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
17606 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17607 from config/svr4.h.
17608 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17609 (FUNCTION_PROFILER): Redefine appropriately for Linux.
17610 (CC1_SPEC): Likewise.
17612 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17614 * genattr.c (main): Add extern prototype. Call return, not exit.
17615 * genattrtab.c (main): Likewise.
17616 * gencheck.c (main): Likewise.
17617 * gencodes.c (main): Likewise.
17618 * genconfig.c (main): Likewise.
17619 * genemit.c (main): Likewise.
17620 * genextract.c (main): Likewise.
17621 * genflags.c (main): Likewise.
17622 * gengenrtl.c (main): Likewise.
17623 * genopinit.c (main): Likewise.
17624 * genoutput.c (main): Likewise.
17625 * genpeep.c (main): Likewise.
17626 * genrecog.c (main): Likewise.
17628 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17629 * genattrtab.c (get_insn_name): Likewise.
17630 * gencodes.c (get_insn_name): Likewise.
17631 * genconfig.c (get_insn_name): Likewise.
17632 * genemit.c (get_insn_name): Likewise.
17633 * genextract.c (get_insn_name): Likewise.
17634 * genflags.c (get_insn_name): Likewise.
17635 * genopinit.c (get_insn_name): Likewise.
17636 * genpeep.c (get_insn_name): Likewise.
17638 * gencheck.c (usage): Add static prototype.
17639 * genextract.c (print_path): Constify a char*.
17640 * genopinit.c (optabs): Likewise.
17641 * genoutput.c (operand_data, data, output_predicate_decls,
17642 compare_operands): Likewise.
17643 * genrecog.c (write_tree): Add default case in switch.
17645 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17647 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17649 * print-rtl.c (get_insn_name): Remove prototype.
17651 * toplev.h (progname): Declare const.
17653 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17654 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17655 dump_sched_info, dump_local_alloc, regset_release_memory,
17656 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17657 error_with_file_and_line, error_with_decl, error_for_asm, error,
17658 fatal, warning_with_file_and_line, warning_with_decl, warning,
17659 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17660 Remove redundant prototypes.
17662 (notice, check_lang_option, report_file_and_line, vnotice,
17663 mark_file_stack): Add static prototype.
17664 (set_fatal_function): Add prototype.
17665 (vnotice, report_file_and_line, set_fatal_function,
17666 check_lang_option): Constify a char*.
17667 (main): Prototype. Call return, not exit.
17669 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17671 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17673 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17675 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17677 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17679 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17681 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
17682 behave as if it's zero in all cases.
17683 (expand_function_start): Adjust call to assign_parms.
17684 * tree.h (assign_parms): Adjust prototype.
17685 * objc/objc-act.c (hack_method_prototype): Adjust call to
17688 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
17690 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17691 arg_pointer_rtx fixed if the argument pointer register is
17693 (NONZERO_BASE_PLUS_P): Likewise.
17695 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
17697 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17698 match_insn2 to match_insn.
17699 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17701 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
17703 * Makefile.in (USER_H): Remove va-foo.h.
17705 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17706 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17707 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17708 va-spur.h,va-v850.h}: Remove.
17710 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
17712 * sparc/sparc.md (eligible_for_return_delay): New attribute.
17713 (in_return_delay): Use it instead of match_insn.
17715 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17717 * config/alpha/va_list.h (va-alpha.h): Do not include.
17718 (__gnuc_va_list): Typedef as in varargs.h.
17720 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
17722 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17723 DECL_LIVE_RANGE_RTL.
17725 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
17727 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17728 not NOTE_BLOCK_NUMBER.
17729 (expand_eh_region_end): Likewise.
17730 (find_exception_handler_labels): Likewise.
17731 (scan_region): Likewise.
17732 (exception_optimize): Likewise.
17733 (update_rethrow_references): Likewise.
17734 (set_insn_eh_region): Likewise.
17735 * final.c (final_scan_insn): Likewise.
17736 * flow.c (make_edges): Likewise.
17737 * integrate.c (expand_inline_function): Likewise.
17738 * print-rtl.c (print_rtx): Likewise.
17740 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
17742 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17743 terms of builtin functions and types.
17745 * mips.c (mips_build_va_list): New.
17746 (mips_va_start, mips_va_arg): New.
17747 * mips.h (BUILD_VA_LIST_TYPE): New.
17748 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17750 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17751 (sh_build_va_list, sh_va_start, sh_va_arg): New.
17752 * sh.h (BUILD_VA_LIST_TYPE): New.
17753 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17755 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
17757 * recog.h (struct recog_data): Make dup_num, operand_address_p,
17758 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17759 (struct insn_data): Likewise with n_operands, n_dups,
17760 n_alternatives, output_format.
17761 * regclass.c (scan_one_insn): Cast n_operands to int before
17762 arithmetic inside comparison.
17764 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
17766 * toplev.c (compile_function): Unconditionally emit nop.
17768 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17770 * haifa-sched.c (actual_hazard): Move declaration of variable
17771 `this_cost' into the scope where it is used.
17773 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17775 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17776 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
17777 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17779 * genrecog.c (make_insn_sequence): Call memset, not bzero.
17781 * jump.c (find_insert_position): Don't declare or define unless
17782 !HAVE_conditional_arithmetic.
17783 (returnjump_p_1, delete_prior_computation): Add static prototypes.
17785 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17787 * recog.c (offsettable_address_p): Prototype function pointer.
17788 (preprocess_constraints): Call memset, not bzero.
17790 * tree.c (tree_node_kind_names): Constify a char*. Make static.
17791 (gcc_obstack_init): Don't declare.
17792 (fix_sizetype): Add static prototype.
17793 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17794 (tree_cons): Call memset, not bzero.
17796 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17797 definition in macro ASM_WEAKEN_LABEL.
17798 (mark_const_hash_entry): Add static prototype.
17800 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17802 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
17804 * unroll.c (find_common_reg_term, subtract_reg_term,
17805 loop_find_equiv_value): Add static prototypes.
17806 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
17807 (copy_loop_body): Remove unreachable break statement.
17809 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
17811 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
17813 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17815 Undo some changes from the gcc2 merge:
17816 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
17817 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
17821 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
17822 * emit-rtl.c (gen_lowpart_common): Disable optimization of
17823 initialized float-int union if the value is a NaN.
17825 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
17827 * gthr-win32.h: New file.
17829 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
17830 shared as a valid attribute.
17831 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
17832 * extend.texi: Document `shared' variable attribute.
17834 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
17836 * configure.in: Handle --enable-threads on FreeBSD.
17837 * configure: Rebuit.
17839 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17841 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
17843 * configure: Rebuilt.
17845 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
17846 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
17847 Rosimildo DaSilva <rdasilva@connecttel.com>
17849 * configure.in (m68k-*-rtemscoff*): Added.
17850 * configure.in (mips64orion-*-rtems*): Converted to ELF.
17851 * configure.in (sparc-*-rtemsaout*): Added as alias for old
17852 sparc-rtems configuration.
17853 * configure.in (sparc-*-rtemself*): Added.
17854 * configure.in (sparc-*-rtems*): Now ELF not a.out.
17855 * config/i386/rtems.h: Added comment.
17856 * config/sparc/rtemself.h: New file.
17858 * configure.in (m68k-rtemself): Added.
17859 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
17860 and DWARF_DEBUGGING_INFO.
17861 * config/m68k/crti.s: New file.
17862 * config/m68k/crtn.s: New file.
17863 * config/m68k/t-crtstuff: New file.
17864 * config/m68k/rtemself.h: New file.
17866 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
17867 global ctor/dtor and C++ exception handling.
17868 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
17869 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
17871 * config/i386/t-rtems-i386: New File.
17873 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
17875 * stmt.c (expand_end_case): Return right away if the case stack is
17878 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
17880 * Makefile.in (version.c): Remove rule incorrectly brought in from
17883 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
17885 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
17886 * msdos/top.sed: Take into account a prepended $(SHELL) to
17888 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
17890 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
17892 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17894 * regmove.c (fixup_match_1): Don't change an unchanging register.
17895 (stable_but_for_p): Renamed to:
17896 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
17897 Changed all callers.
17899 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
17901 * loop.c (strength_reduce): Don't call reg_used_between_p if the
17902 insn from BL2 is after the insn from BL.
17904 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
17906 * recog.h (INSN_OUTPUT_FORMAT_*): New.
17907 (struct insn_data): Merge `template' and `outfun' into `output'.
17908 Add `output_format'.
17909 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
17910 (struct data): Remove `outfun'; add `output_format'.
17911 (name_for_index): Remove declaration.
17912 (output_insn_data): Handle output formats.
17913 (process_template): Emit the bare array for @.
17914 (gen_expand, gen_split): Set output_format to NONE.
17915 * output.h (get_insn_template): Declare.
17916 * final.c (get_insn_template): New.
17917 (final_scan_insn): Use it.
17918 * toplev.c (compile_file): Likewise.
17920 * c4x/c4x.c (c4x_process_after_reload): Likewise.
17921 * i860/i860.c (output_delayed_branch): Likewise.
17922 (output_delay_insn): Likewise.
17924 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17926 * rtl.c (obstack_alloc_rtx): Removed.
17928 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
17930 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
17932 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
17934 * i386.c (call_insn_operand): Reject const_int.
17935 (expander_call_insn_operand): Use call_insn_operand.
17937 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17939 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
17941 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
17943 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
17944 Use DImode operation.
17946 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
17948 * gcc.c: Include sys/resource.h.
17949 (report_times): New flag.
17950 (execute): If report_times is set, calculate and report the
17951 CPU time consumed by each subprocess.
17953 (rus, prus): New globals.
17954 (option_map): Add --time.
17955 (display_help): Document -time.
17956 (process_command): Set report_times if -time is given.
17957 Turn off -pipe if -time is given.
17959 * invoke.texi: Document new option -time.
17961 * configure.in: Check for getrusage. Check if we have to
17962 prototype getrusage.
17963 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
17964 * configure: Regenerate.
17965 * config.in: Regenerate.
17967 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
17969 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
17972 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
17974 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
17975 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
17976 (nan): Return _thenan_sf or _thenan_df as appropriate.
17977 (L_thenan_sf): Define _thenan_sf.
17978 (L_thenan_df): Define _thenan_df.
17980 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
17981 (DPBIT_FUNCS): Add _thenan_df.
17983 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
17985 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
17988 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17990 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
17993 (lang_specific_driver): Don't take a function pointer parameter.
17994 All callers changed.
17996 * gcc.c: Include gcc.h.
17997 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
17998 lang_specific_extra_outfiles, fatal): Don't declare.
17999 (multilib_defaults_raw): Constify.
18000 (read_specs): Call memset, rather than bzero.
18001 (main): Call return, not exit.
18002 (lookup_compiler): Call memcpy, not bcopy.
18003 (fatal): Make extern.
18005 * cppspec.c: Include gcc.h.
18006 (lang_specific_driver): Initialize variable `quote'. Constify a
18007 char*. All calls to the function pointer parameter now
18008 explicitly call `fatal'.
18010 * gccspec.c (lang_specific_driver): Include gcc.h.
18012 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
18014 * arm.c (note_invalid_constants): Use recog_data.operand_type
18017 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18019 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18022 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18023 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18024 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18025 reload_secondary_in_reload, reload_secondary_out_reload,
18026 reload_secondary_in_icode, reload_secondary_out_icode,
18027 reload_reg_rtx, reload_when_needed): Delete declarations.
18028 (struct reload): New structure.
18029 (rld): Declare new array.
18030 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18031 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18032 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18033 reload_secondary_in_reload, reload_secondary_out_reload,
18034 reload_secondary_in_icode, reload_secondary_out_icode,
18035 reload_reg_rtx, reload_when_needed): Delete definitions.
18037 (whole file): Replace uses of the deleted arrays with uses of rld.
18038 * reload1.c (whole file): Replace uses of the deleted arrays with
18040 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18041 explicit loops, not with bcopy.
18043 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
18045 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18046 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18047 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18048 insn_name): Delete and consolidate into new structures.
18049 (insn_operand_predicate_fn): New.
18050 (insn_output_fn): New.
18051 (insn_gen_fn): New.
18052 (struct insn_operand_data): New.
18053 (struct insn_data): New.
18055 (OUT_FCN): Update for insn_data change.
18056 * builtins.c (expand_builtin_strlen): Likewise.
18057 (expand_builtin_memcmp): Likewise.
18058 * combine.c (make_extraction, simplify_comparison): Likewise.
18059 * cse.c (canon_reg, cse_insn): Likewise.
18060 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18061 * expmed.c (store_bit_field, extract_bit_field): Likewise.
18062 (emit_store_flag): Likewise.
18063 * expr.c (convert_move, emit_block_move): Likewise.
18064 (clear_storage, emit_push_insn, expand_increment): Likewise.
18065 (do_store_flag): Likewise.
18066 * expr.h (GEN_FCN): Likewise.
18067 (insn_gen_function): Die.
18068 * final.c (final_scan_insn): Update for insn_data change.
18069 (output_asm_name): Likewise.
18070 * function.c (fixup_var_refs_1): Likewise.
18071 * loop.c (check_dbra_loop): Likewise.
18072 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18073 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18074 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18075 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18076 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18077 * regmove.c (gen_add3_insn): Likewise.
18078 * reload.c (push_secondary_reload, combine_reloads): Likewise.
18079 (find_reloads, find_reloads_address_1): Likewise.
18080 (debug_reload_to_stream): Likewise.
18081 * reload1.c (emit_reload_insns, gen_reload): Likewise.
18082 * stmt.c (expand_end_case): Likewise.
18083 * toplev.c (compile_file): Likewise.
18085 * c4x/c4x.c (c4x_process_after_reload): Likewise.
18086 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18088 * print-rtl.c (insn_name_ptr): Remove declaration.
18089 (get_insn_name): Declare.
18090 (print_rtx): Use it.
18091 * genoutput.c (insn_name_ptr): Remove.
18092 (next_operand_number): New.
18093 (struct operand_data): New.
18094 (null_operand, odata, odata_end): New.
18095 (struct data): Use struct operand_data.
18096 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18097 (get_insn_name): Renamed from name_for_index.
18098 (output_prologue): Define NO_MD_PROTOTYPES.
18099 (output_predicate_decls): Break out from output_epilogue.
18100 Iterate over the operands list.
18101 (output_operand_data): Break out from output_epilogue. Emit
18102 just the operands list.
18103 (output_insn_data): Break out from output_epilogue. Emit just
18105 (output_epilogue): Remove.
18106 (output_get_insn_name): New.
18107 (constraints, op_n_alternatives, predicates, address_p): Die.
18108 (modes, strict_low, seen): Die.
18109 (scan_operands): Take new param `d' instead of writing to
18110 seven global variables.
18111 (compare_operands): New.
18112 (place_operands): New.
18113 (validate_insn_alternatives): Update for struct data change.
18114 (gen_insn): Don't zero or copy 7 global arrays. Update for
18115 scan_operands; call place_operands.
18116 (gen_peephole, gen_expand, gen_split): Likewise.
18117 (main): Update for new output routines.
18119 * genattr.c (insn_name_ptr): Remove.
18120 (get_insn_name): New function.
18121 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18122 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18123 * genrecog.c: Likewise.
18125 * alpha.md (adddi3): Make `pattern' array static.
18127 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18129 * config/c4x/c4x.h (c4x_rpts_cycles_string,
18130 c4x_cpu_version_string): Constify char *.
18131 * config/c4x/c4x.c (c4x_rpts_cycles_string,
18132 c4x_cpu_version_string): Likewise.
18134 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
18136 * tree.c (save_tree_status): Revert 10 Sep change.
18137 (restore_tree_status): Likewise. Call obstack_free with NULL
18138 before freeing the obstack proper.
18140 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
18142 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18144 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18145 surrounding context.
18147 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
18149 * tree.c (type_hash_canon): Put all types in the hash-table, when
18152 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
18154 * recog.h (struct recog_data, recog_data): New.
18155 (recog_foo variables): Kill.
18156 * recog.c (recog_operand, recog_operand_loc): Kill.
18157 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18158 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18159 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18160 (recog_data): Define.
18161 (extract_insn): Update all recog_foo references to use recog_data.
18162 (preprocess_constraints, constrain_operands): Likewise.
18163 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18164 * genattrtab.c (main): Likewise.
18165 * genextract.c (main): Likewise.
18166 * genoutput.c: Likewise.
18167 * genrecog.c (write_subroutine, main): Likewise.
18168 * local-alloc.c (block_alloc): Likewise.
18169 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18170 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18171 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18172 * reload.c (find_reloads, find_reloads_toplev): Likewise.
18173 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18174 (reload_cse_simplify_operands): Likewise.
18176 * arc/arc.c (arc_final_prescan_insn): Likewise.
18177 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18178 * h8300/h8300.c (notice_update_cc): Likewise.
18179 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18180 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18181 * mn10200/mn10200.c (notice_update_cc): Likewise.
18182 * mn10300/mn10300.c (notice_update_cc): Likewise.
18183 * romp/romp.c (update_cc): Likewise.
18184 * sparc/sparc.c (check_pic): Likewise.
18185 * v850/v850.c (notice_update_cc): Likewise.
18187 * genemit.c (main): Don't declare recog_operand.
18189 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
18191 * ggc.h (rtvec_def): Forward declare.
18192 (tree_node): Likewise.
18193 (ggc_root): Define.
18195 (ggc_set_mark_rtx): Add prototype.
18196 (ggc_set_mark_rtvec): Likewise.
18197 (ggc_set_mark_tree): Likewise.
18198 * ggc-simple.c (ggc_root): Don't define.
18199 (roots): Don't declare.
18200 (ggc_mark_rtx): Remove.
18201 (ggc_mark_rtvec): Likewise.
18202 (ggc_mark_tree): Likewise.
18203 (ggc_mark_varray): Likewise.
18204 (ggc_mark_tree_hash_table_entry): Likewise.
18205 (ggc_mark_tree_hash_table): Likewise.
18206 (ggc_set_mart_rtx): New function.
18207 (ggc_set_mark_rtvec): Likewise.
18208 (ggc_set_mark_tree): Likewise.
18209 (ggc_add_root): Remove.
18210 (ggc_add_rtx_root): Likewise.
18211 (ggc_remove_tree_root): Likewise.
18212 (ggc_add_string_root): Likewise.
18213 (ggc_add_tree_varray_root): Likewise.
18214 (ggc_add_tree_hash_table_root): Likewise.
18215 (ggc_del_root): Likewise.
18216 (ggc_mark_rtx_ptr): Likewise.
18217 (ggc_mark_tree_ptr): Likewise.
18218 (ggc_mark_string_ptr): Likewise.
18219 (ggc_mark_tree_varray_ptr): Likewise.
18220 (ggc_mark_tree_hash_table_ptr): Likewise.
18221 * ggc-common.c: New file.
18222 * Makefile.in (OBJS): Add ggc-common.o.
18223 (ggc-common.o): List dependencies.
18225 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
18227 * cppalloc.c (xstrdup): Use memcpy.
18228 * cpperror.c (cpp_print_containing_files): Don't use
18230 * cpplib.c (conditional_skip): Set temp->lineno.
18231 (do_endif): Make error message less obscure.
18232 (if_directive_name): New function.
18233 (cpp_get_token [case EOF]): Unwind the if stack and generate
18234 error messages for each unterminated conditional in this file.
18235 (parse_string): Do not behave differently if -traditional.
18237 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
18239 * builtins.c (expand_builtin_va_arg): Cope with an array-type
18240 va_list decomposing to pointer-type.
18241 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18242 (rs6000_va_arg): Likewise.
18244 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
18246 * except.c (start_dynamic_handler): Compute size using
18247 STACK_SAVEAREA_MODE.
18249 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18251 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
18252 include directory headers. Don't define strrchr. Don't provide
18253 my_* replacement functions. Prefer PTR over `pointer_type'.
18254 Don't prototype system functions. Don't redefine getopt.
18256 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18257 safe_read, safe_write, save_pointers, restore_pointers,
18258 is_id_char, in_system_include_dir, directory_specified_p,
18259 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18260 find_corresponding_lparen, referenced_file_is_newer,
18261 save_def_or_dec, munge_compile_params, gen_aux_info_file,
18262 process_aux_info_file, identify_lineno, check_source,
18263 seek_to_line, forward_to_next_token_char, output_bytes,
18264 output_string, output_up_to, other_variable_style_function,
18265 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18266 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18267 find_static_definition, connect_defs_and_decs, add_local_decl,
18268 add_global_decls, needs_to_be_converted, visit_each_hash_node,
18269 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18270 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18271 scan_for_missed_items, edit_file, string_list_cons): Add static
18273 (standard_exec_prefix, target_machine, target_version,
18274 default_syscalls_dir, string_list, string_list_cons, find_file,
18275 do_cleaning): Constify a char*.
18276 (safe_read, safe_write): Use PTR, not a char*.
18277 (is_id_char): Take an int, not a char.
18278 (main): Add prototype. Call return, not exit.
18280 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
18282 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18283 when comparing types.
18285 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
18287 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18288 (strength_reduce): Release the varrays from the no-bivs early exit.
18290 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18291 the loop over the registers.
18293 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18295 (restore_tree_status): Check that instead when freeing the obstack.
18297 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
18299 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18302 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18304 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
18305 operand size modifiers.
18307 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18309 * c-common.c (c_common_nodes_and_builtins): Don't build
18311 * c-common.h (enum c_tree_index and related accesor macros): Remove
18312 everything now declared in tree.h.
18313 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18314 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18315 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18316 (error_mark_node, void_type_node, char_type_node, integer_type_node,
18317 unsigned_type_node, ptr_type_node, va_list_type_node,
18318 integer_zero_node, null_pointer_node, integer_one_node): Delete.
18319 (init_decl_processing): Call build_common_tree_nodes and
18320 build_common_tree_nodes_2 instead of building their nodes here.
18321 Don't add roots for these nodes.
18322 * stor-layout.c (size_zero_node, size_one_node): Delete.
18323 (set_sizetype): Make a new node for bitsizetype each time.
18324 * tree.c (global_trees): New variable.
18325 (init_obstacks): Add a gc root for it.
18326 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18327 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18328 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18329 (build_common_tree_nodes): New function.
18330 (fix_sizetype): New function.
18331 (build_common_tree_nodes_2): New function.
18332 * tree.h (enum tree_index): New.
18333 (global_trees): Declare.
18334 Add accessor macros for all nodes now moved to global_trees.
18335 Delete their declarations.
18337 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
18339 * c-decl.c (finish_function): When processing a nested function,
18340 push and pop GC context around rest_of_compilation.
18342 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
18344 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18345 Default ix86_arch to PROCESSOR_I386.
18346 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
18347 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18348 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18349 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18350 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
18351 (EXTRA_SPECS): Remove deleted specs.
18353 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
18355 * function.c (assign_stack_local_1): Allocate from
18356 function->x_frame_offset, not frame_offset.
18358 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
18360 * ggc.h (lang_cleanup_tree): Remove.
18361 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18362 * ggc-callbacks.c (lang_cleanup_tree): Remove.
18364 * c-decl.c (finish_struct): Use ggc_alloc to allocate
18365 TYPE_LANG_SPECIFIC when garbage collecting.
18366 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18367 (lang_cleanup_tree): Remove.
18369 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
18371 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18372 * crtstuff.c: Not here.
18373 * dwarf2out.c: Or here.
18374 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18377 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
18379 * function.h (free_after_compilation): Remove decl parameter.
18380 (free_varasm_status0: Likewise.
18381 (free_emit_status): Likewise.
18382 (free_stmt_status): Likewise.
18383 (free_after_compilation): Likewise.
18384 (init_lang_status): New variable.
18385 (free_lang_status): Likewise.
18386 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18387 * function.c (init_lang_status): New variable.
18388 (free_lang_status): Likewise.
18389 (push_function_context_to): Don't set function::decl here.
18390 (free_after_copmilation): Make decl parameter implicit. Call
18391 free_lang_status if defined.
18392 (prepare_function_start): Call init_lang_status if defined.
18393 (init_function_start): Set function::decl here.
18394 * profile.c (output_func_start_profiler): Don't call pushdecl
18395 until we've actually started the function.
18396 * stmt.c (free_stmt_status): Make decl parameter implicit.
18397 * toplev.c (rest_of_compilation): Don't pass decl to
18398 free_after_compilation.
18399 * varasm.c (free_varasm_status): Likewise.
18401 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18403 * except.c (call_get_eh_context): Add root when allocating static
18406 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
18408 * arm.c: Include "ggc.h".
18409 (arm_add_gc_roots): New function.
18410 (arm_override_options): Call it.
18411 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18413 * arm.md (define_asm_attributes): Add a pool_range attribute.
18415 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
18417 * extend.texi (Volatiles): New node.
18419 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
18421 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18422 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18423 (struct ggc_any): Replace `mark' with `magic_mark'.
18424 (ggc_alloc_string): Use memcpy, not bcopy.
18425 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
18426 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18427 (ggc_free_any): New.
18428 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
18429 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
18430 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
18431 Use IS_MARKED. Use ggc_free_any.
18433 1999-09-09 Scott Bambrough <scottb@netwinder.org>
18435 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18437 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
18439 * toplev.c (main): Always init_ggc.
18441 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
18443 * except.c (find_all_handler_type_matches): Free the list if
18444 we found no matches.
18446 * combine.c (SUBST): Break out to a real function do_SUBST.
18447 (SUBST_INT): Likewise.
18448 * gcse.c (free_pre_mem): Free `temp_bitmap'.
18449 (pre_insert): Free `inserted'.
18450 * loop.c (basic_induction_var): Always set `location'.
18452 * function.c (expand_function_end): Add initial_trampoline as a root.
18453 * rtl.h (init_varasm_once): Declare.
18454 * toplev.c (compile_file): Call it.
18455 * ggc-simple.c (ggc_mark_string_ptr): New.
18456 (ggc_add_string_root): New.
18457 (ggc_collect): Disable collection avoidance temporarily.
18458 * ggc.h (ggc_add_string_root): Declare.
18459 * except.c (create_rethrow_ref): Use ggc_alloc_string.
18460 * optabs.c (init_libfuncs): Likewise.
18461 * varasm.c (named_section): Use ggc_alloc_string.
18462 (make_function_rtl): Likewise.
18463 (make_decl_rtl): Likewise.
18464 (assemble_static_space): Likewise.
18465 (assemble_trampoline_template): Likewise.
18466 (output_constant_def): Likewise.
18467 (force_const_mem): Likewise.
18468 (mark_const_hash_entry): New.
18469 (mark_pool_sym_hash_table): New.
18470 (mark_varasm_state): Use it.
18471 (init_varasm_once): New.
18473 * expr.h (init_one_libfunc): Declare.
18474 * optabs.c (init_one_libfunc): New.
18475 (init_optabs): Use it.
18476 * config/gofast.h: Likewise.
18477 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18478 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18480 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
18482 * Makefile.in (cppexp.o): Depend on cpphash.h.
18483 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18485 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18486 * cpplib.c (do_define): Generalise to handle poisoned definitions,
18487 redefining poisoned identifiers, etc.
18488 (do_undef): Don't allow poisoned identifiers to be undefined.
18489 (do_pragma): Add #pragma poison.
18490 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18492 * cccp.c: Add T_POISON node type.
18493 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18495 (do_define): Generalise to handle poisoned definitions,
18496 redefining poisoned identifiers, etc.
18497 (do_undef): Don't allow poisoned identifiers to be undefined.
18498 (do_pragma): Add #pragma poison.
18499 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18501 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18502 * c-pragma.h: Add ps_poison state. We now always have generic
18505 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
18507 * ggc.h (ggc_alloc): New function.
18508 (ggc_mark): Likewise.
18509 * ggc-simple.c (ggc_any): New structure.
18510 (ggc_status): Add anys.
18511 (n_anys_collected): New variable.
18512 (ggc_alloc): Define.
18513 (ggc_mark): Likewise.
18514 (ggc_collect): Collect the anys.
18516 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18518 * c-decl.c (mark_binding_level): Make static to match prototype.
18520 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
18522 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18524 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
18526 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18527 will use into account. Expand the max width to 5.
18530 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
18532 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18533 for the rtx length.
18535 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
18537 * alpha.md (call value patterns): Remove the result predicates.
18539 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
18541 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18544 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18546 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18547 changed from extern char *, to extern PTR. Also fix typo in
18548 NEED_DECLARATION_REALLOC test.
18550 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18552 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18554 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18555 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18556 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18557 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18559 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18561 * cccp.c (pcfinclude): Likewise.
18563 * global.c (allocno_compare): Likewise.
18565 * haifa-sched.c (rank_for_schedule): Likewise.
18567 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18569 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18571 * stupid.c (stupid_reg_compare): Likewise.
18573 * tree.c (_obstack_allocated_p): Likewise.
18575 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18577 1999-09-08 Bruce Korb autogen@linuxbox.com
18579 * Makefile.in: Give the hapless gperf user a hint about
18580 why "gperf -F" fails.
18582 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
18584 * lists.c: Include ggc.h.
18586 (init_EXPR_INSN_LIST_cache): Install it.
18588 * ggc-simple.c (init_ggc): Absorb the old init.
18589 (ggc_push_context): Use xcalloc.
18590 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18591 (ggc_collect): Add [rvts] tags to the collection stats.
18593 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
18595 * cccp.c (main): Fix handling of -include and -imacros options.
18597 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
18599 * cpplib.c (cpp_push_buffer): Fix order of arguments.
18601 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18603 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18606 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
18608 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18609 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18610 and SET_DEST. Update comment.
18612 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18614 * config/c4x/c4x.c: Include ggc.h.
18615 (c4x_add_gc_roots): New function.
18616 (c4x_override_options): Call c4x_add_gc_roots.
18618 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
18620 * defaults.h (TARGET_ESC): Move ...
18621 * system.h: ... here, where Linas had it in the first place. Silly me.
18623 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
18625 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18626 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18627 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18628 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18629 * defaults.h (TARGET_ESC): Add default.
18631 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
18633 * configure.in: add i370-*-openedition, i370-*-mvs and
18634 i370-*-linux targets
18636 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
18638 * dsp16xxx.c: Include ggc.h
18639 (override_options): Mark GC roots.
18640 * mn10200.c: Include ggc.h.
18641 (asm_file_start): Mark GC roots.
18642 * tahoe.c: Include ggc.h.
18643 (extensible_operand): Mark GC roots.
18645 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
18647 * README: Add section discussing status of ELF ABI.
18648 * i370.c: Fix misc spelling mistakes.
18649 (i370_label_scan): Updated notes, exception handling.
18650 (i370_function_prolog): Simplify ELF stack handling.
18651 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18652 (STACK_GROWS_DOWNWARD): ELF stack grows down.
18653 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18654 * i370.md: (movdi): Add notes.
18655 (floatsidf2): Use stack not rtca for scratch float area.
18656 (iorsi3): Correct operand constraints.
18657 * x-oe: Restore TAROUTOPTS which are used by pax.
18659 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
18661 * rs6000.c: Include ggc.h.
18662 (rs6000_add_gc_roots): New function.
18663 (override_options): Call it.
18665 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
18667 * alpha.h (alpha_compare): New.
18668 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18669 * alpha.c: Likewise for the definitions.
18670 (alpha_emit_conditional_branch): Update for alpha_compare.
18671 (alpha_emit_conditional_move): Likewise.
18672 * alpha.md (cmpdf, cmpdi): Likewise.
18673 (setcc patterns): Likewise. Zero alpha_compare after use.
18674 (sne): Optimize (x != 0) into (0U < x).
18676 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
18678 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18679 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18680 (INIT_EXPANDERS): Remove.
18681 * alpha.c: Include ggc.h.
18682 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18683 (alpha_init_machine_status, alpha_mark_machine_status): New.
18684 (override_options): Install them.
18685 (struct machine_function): Moved to alpha.h.
18686 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18687 (alpha_init_expanders): Remove.
18688 (alpha_return_addr): Adjust to use current_function->machine.
18689 (alpha_ra_ever_killed): Likewise.
18690 (alpha_expand_epilogue): Likewise.
18691 * alpha.md (eh_epilogue): Likewise.
18693 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
18694 Melissa O'Neill <oneill@cs.sfu.ca>
18695 Geoffrey Keating <geoffk@cygnus.com>
18697 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18698 call-used registers (call-saved registers must still be contiguous
18699 and end with r31, of course).
18701 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
18703 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18704 (self_promoting_type_p): Delete.
18705 (self_promoting_args_p): Move ...
18706 * c-common.c: ... here.
18707 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18708 (simple_type_promotes_to): New.
18709 * builtins.c (lang_type_promotes_to): New.
18710 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18711 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18712 * c-common.h: ... here.
18713 (self_promoting_args_p, simple_type_promotes_to): Declare.
18714 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18715 (grokdeclarator): Likewise.
18716 * tree.h (lang_type_promotes_to): Declare.
18718 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
18720 Add some machine-dependent GC roots.
18721 * sparc.c: Include ggc.h.
18722 (sparc_add_gc_roots): New function.
18723 (mark_ultrasparc_pipeline_state): Likewise.
18724 (override_options): Call sparc_add_gc_roots.
18725 * pa.c: Include ggc.h.
18726 (pa_add_gc_roots): New function.
18727 (mark_deferred_plabels): Likewise.
18728 (override_options): Call pa_add_gc_roots.
18729 * mips.c: Include ggc.h.
18730 (mips_add_gc_roots): New function.
18731 (override_options): Use it.
18733 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18735 * cpperror.c (cpp_file_line_for_message): Constify a char*.
18737 * cppexp.c (parse_number, parse_charconst, cpp_lex,
18738 cpp_parse_expr): Add static prototypes.
18739 (parse_charconst): Don't cast away const-ness.
18740 (token): Constify a char*.
18742 * cppfiles.c (file_name_list, include_hash, find_include_file,
18743 finclude, initialize_input_buffer): Constify a char*.
18744 (file_cleanup, find_position): Add static prototypes.
18746 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18747 collect_expansion): Add static prototypes.
18748 (cpp_install, create_definition, monthnames): Constify a char*.
18750 * cpphash.h (cpp_install): Likewise.
18752 * cppinit.c (known_suffixes, default_include,
18753 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18754 (base_name, dump_special_to_buffer, initialize_dependency_output):
18755 Add static prototypes.
18757 * cpplib.c (my_strerror): Constify a char*.
18758 (null_underflow, null_cleanup, skip_comment, copy_comment,
18759 copy_rest_of_line, handle_directive, pass_thru_directive,
18760 get_directive_token, read_line_number, cpp_print_file_and_line,
18761 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18762 v_cpp_warning_with_line, detect_if_not_defined,
18763 consider_directive_while_skipping): Add static prototypes.
18764 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18765 cpp_pedwarn_with_file_and_line): Constify a char*.
18767 * cpplib.h (cpp_options, include_hash, progname, definition,
18768 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18769 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18770 find_include_file, deps_output, include_hash): Constify a char*.
18772 * cppmain.c (progname): Constify.
18773 (main): Add prototype. Use return, not exit.
18775 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18776 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18777 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18778 check_protection): Add static prototype.
18780 (progname, recognized_macrom, recognized_extern): Constify a char*.
18781 (main): Add prototype.
18783 * gen-protos.c (progname): Constify a char*.
18785 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
18787 * emit-rtl.c (free_emit_status): Take decl as a parameter.
18788 (init_emit_once): Add more GC roots.
18789 * except.c (mark_func_eh_entry): New function.
18790 (mark_eh_node): Mark false_label and rethrow_label.
18791 (init_eh): Add more GC roots.
18792 * function.c (free_after_compilation): Take decl as a paramter.
18793 Call free_stmt_status.
18794 (mark_function_state): Don't assume x_parm_reg_stack_loc is
18796 * function.h (free_after_compilation): Change prototype.
18797 (free_varasm_status): Likewise.
18798 (free_emit_status): Likewise.
18799 (free_stmt_status): New function.
18800 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18801 Remove, replacing with ...
18802 (ggc_status): New structure.
18803 (ggc_chain): New variable.
18804 (init_gcc): Define.
18805 (ggc_push_context): New function.
18806 (ggc_pop_context): Likewise.
18807 (ggc_alloc_rtx): Adjust for use of ggc_chain.
18808 (ggc_alloc_rtvec): Likewise.
18809 (ggc_alloc_tree): Likewise.
18810 (ggc_alloc_string): Likewise.
18811 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
18812 (ggc_mark_tree): Give language-dependent code a chance to mark
18814 (ggc_mark_tree_varray): Handle empty arrays.
18815 (ggc_collect): Adjust for use of ggc_chain. Clear
18816 bytes_alloced_since_last_gc.
18817 * ggc.h (ggc_pop_context): New function.
18818 (ggc_push_context): Likewise.
18819 * print-tree.c (print_node): Don't print obstacks when GC'ing.
18820 * stmt.c (free_stmt_status): New function.
18821 (init_stmt_for_function): Clear last_expr_value.
18822 * toplev.c (rest_of_compilation): Always call free_after_compilation.
18823 Conditionalize call to ggc_collect.
18824 (main): Call init_ggc.
18825 * tree.c (push_obstacks): Do the push, even when GC'ing.
18826 (push_obstacks_nochange): Likewise.
18827 (pop_obstacks): Liekwise.
18828 * varasm.c (free_varasm_status): Take decl as a parameter.
18830 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
18832 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
18833 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
18834 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
18835 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
18837 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
18839 * pa/x-pa-mpeix: New file for the MPE port.
18841 * pa/quadlib.asm: New file for long double support.
18843 * configure.in: Add hppa1.0-*-mpeix for MPE port.
18844 * configure: Rebuilt.
18846 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
18848 * final.c (shorten_branches): Fix last change.
18850 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
18852 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
18854 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
18856 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
18859 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18861 * c-aux-info.c (concat): Don't define.
18863 * cccp.c (my_strerror): Likewise. All callers changed to use
18865 (do_include): Call xstrdup, not xmalloc/strcpy.
18866 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
18867 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
18869 * collect2.c (my_strsignal): Likewise. All callers changed to use
18871 (locatelib): Call xstrdup, not xmalloc/strcpy.
18873 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
18875 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
18877 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
18879 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
18881 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
18883 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
18885 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
18887 (find_all_handler_type_matches): Likewise. Don't check return
18889 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
18890 xmalloc, not malloc.
18891 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
18893 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
18894 (init_spec): Call xcalloc, not xmalloc/bzero.
18895 (set_spec): Call xstrdup, not save_string.
18896 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
18897 (find_a_file): Call xstrdup, not xmalloc/strcpy.
18898 (process_command): Call xstrdup, not save_string.
18899 (main): Call xcalloc, not xmalloc/bzero.
18901 * gcov.c (xmalloc): Don't define.
18902 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
18903 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
18904 (output_data): Call xcalloc, not xmalloc/bzero.
18906 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
18908 * mips-tdump.c (xmalloc): Don't define.
18909 (print_symbol): Call xmalloc, not malloc.
18910 (read_tfile): Call xcalloc, not calloc.
18912 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
18913 Don't define. All callers of xfree/my_strsignal changed to use
18914 free/strsignal instead.
18915 (allocate_cluster): Call xcalloc, not calloc.
18917 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
18918 Fix memory leak, free allocated memory.
18920 * prefix.c (translate_name): Call xstrdup, not save_string.
18921 (update_path): Likewise.
18923 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
18925 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
18926 Don't define. Callers of xfree/savestring2 changed to use
18927 free/concat instead.
18929 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
18930 (init_elim_table): Likewise.
18932 * resource.c (init_resource_info): Likewise.
18934 * stupid.c (stupid_life_analysis): Likewise.
18936 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
18937 (open_dump_file): Call concat, not xmalloc/strcpy/...
18938 (clean_dump_file): Likewise.
18939 (compile_file): Call xstrdup, not xmalloc/strcpy.
18941 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
18943 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
18944 * v850.c (v850_va_arg): New.
18946 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18948 * haifa-sched.c: Tidy comments.
18950 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18952 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
18953 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
18954 $(out_object_file)): Depend on ggc.h.
18955 * c-common.c: Include "ggc.h".
18956 (combine_strings): If doing GC, use ggc_alloc_string.
18957 * c-decl.c: Include "ggc.h".
18958 (ggc_p): Define with value 0.
18959 (mark_binding_level): New function.
18960 (init_decl_processing): Add GC roots.
18961 (mark_c_function_context): New function.
18962 (lang_mark_false_label_stack): New function.
18963 (lang_mark_tree): New function.
18964 (lang_cleanup_tree): New function.
18965 * c-lang.c: Include "ggc.h".
18966 (lang_init): Call c_parse_init.
18967 * c-lex.c: Include "ggc.h".
18968 (check_linenum): If doing GC, don't copy filenames to permanent
18970 * c-parse.in: Include "ggc.h".
18971 (c_parse_init): New function.
18972 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
18973 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
18975 * except.c (mark_eh_state): Mark more state.
18976 * function.c (mark_function_state): Likewise.
18977 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
18978 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
18979 * toplev.c (mark_file_stack): New function.
18980 (compile_file): If doing GC, use ggc_alloc_string on input filename.
18981 (main): Add root for input_file_stack.
18983 * i386.c: Include "ggc.h".
18984 (ix86_mark_machine_status): New function.
18985 (override_options): Set mark_machine_status.
18987 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18989 * tree.c (copy_node): Copy node contents also if doing GC.
18991 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18993 * collect2.c (scan_libraries): Fix double-thinko :-).
18995 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
18997 * collect2.c (scan_libraries): Fix thinko.
18999 * cse.c (delete_trivially_dead_insns): Do not skip the last
19000 insn if it is a real insn.
19002 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
19004 * Makefile.in (ggc-simple.o): Depend on hash.h.
19005 * ggc.h (ggc_add_tree_hash_table_root): Declare.
19006 (ggc_mark_tree_varray): Likewise.
19007 (ggc_mark_tree_hash_table): Likewise.
19008 * ggc-simple.c: Include hash.h.
19009 (ggc_mark_tree_hash_table_ptr): New function.
19010 (ggc_mark_tree_hash_table_entry): Likewise.
19011 (ggc_mark_tree_hash_table): Likewise.
19012 (ggc_add_tree_hash_table_root): Likewise.
19013 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19014 rtx, when defining fields.
19016 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19018 * profile.c (output_func_start_profiler): Remove apparently
19019 nonsensical call to start_sequence.
19021 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
19023 * clipper/clipper.c (clipper_va_start): Fix typos.
19025 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19026 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19027 (spur_va_arg): New stub.
19029 * configure.in: Comment out pyramid.
19031 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
19033 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19034 don't conflict with the bits that win32, cygwin, and dgux
19037 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
19038 Bernd Schmidt <bernds@cygnus.co.uk>
19040 * integrate.c (function_cannot_inline_p): Do not inline
19041 functions with forced labels.
19043 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
19044 Bernd Schmidt <bernds@cygnus.co.uk>
19045 Mark Mitchell <mark@codesourcery.com>
19047 * Makefile.in (ggc-simple.o): Depend on varray.h.
19048 (rtl.o): Depend on ggc.h.
19049 (genattrtab.o): Depend on ggc.h.
19050 (print-tree.o): Likewise.
19051 (fold-const.o): Likewise.
19052 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19053 (make_insn_raw): Don't cache insns when GC'ing.
19054 (emit_insn_before): Likewise.
19055 (emit_insn_after): Likewise.
19056 (emit_insn): Likewise.
19057 (start_sequence): Use xmalloc to allocate the sequence_stack.
19058 (end_sequence): Add free to free it.
19059 (gen_sequence): Don't cache insns when GC'ing.
19060 (clear_emit_caches): Don't use sequence_element_free_list.
19061 (init_emit): Use xcalloc, not xmalloc+bzero.
19062 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19063 * function.c (pop_function_context_from): Use free to free the
19064 fixup_var_refs_queue.
19065 (put_reg_into_stack): Allocate it with xmalloc.
19066 * genattrtab.c: Include ggc.h.
19067 (operate_exp): Don't use obstack_free when GC'ing.
19068 (simplify_cond): Likewise.
19069 (simplify_text_exp): Likewise.
19070 (optimize_attrs): Likewise.
19071 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19073 (gencode): Generate a #include for ggc.h.
19074 * ggc-callbacks.c (ggc_p): Define it to zero.
19075 * ggc-none.c (ggc_p): Likewise.
19076 * ggc-simple.c: Include varray.h.
19077 (ggc_mark_tree_varray): New function.
19078 (ggc_add_tree_varray_root): Likewise.
19079 (ggc_mark_tree_varray_ptr): Likewise.
19080 * ggc.h (ggc_p): Declare.
19081 (varray_head_tag): Likewise.
19082 (ggc_add_tree_varray_root): Declare.
19083 * print-tree.c (print_node): Don't check for TREE_PERMANENT
19084 inconsistencies when GC'ing.
19085 * rtl.c: Include ggc.h.
19086 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19087 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19088 (rtx_free): Don't call obstack_free when GC'ing.
19089 * toplev.c (rest_of_compilation): Call ggc_collect after every
19091 * tree.c (push_obstacks): Do nothing, if GC'ing.
19092 (pop_obstacks_nochange): Likewise.
19093 (pop_obstacks): Likewise.
19094 (make_node): Use ggc_alloc_tree when GC'ing.
19095 (copy_node): Likewise.
19096 (get_identifier): Use ggc_alloc_string when GC'ing.
19097 (build_string): Likewise.
19098 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19099 (tree_cons): Likewise.
19100 (build1): Likewise.
19101 (type_hash_canon): Don't call obstack_free when GC'ing.
19103 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
19105 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19106 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19108 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
19109 Bernd Schmidt <bernds@cygnus.co.uk>
19110 Mark Mitchell <mark@codesourcery.com>
19112 * Makefile.in (stor-layout.o): Depend on ggc.h.
19113 (expr.o): Depend on ggc.h.
19114 (profile.o): Depend on ggc.h.
19115 (stor-layout.o): Depend on ggc.h.
19116 * emit-rtl.c (init_emit_once): Add gc roots.
19117 * expr.c: Include ggc.h.
19118 (emit_block_move): Add gc roots.
19119 (clear_storage): Likewise.
19120 * expr.h (init_stor_layout_once): New function.
19121 * profile.c: Include ggc.h.
19122 (init_arc_profiler): profiler_label is a root.
19123 * scan.c (make_sstring_space): Trust xrealloc to function
19124 correctly with first parameter NULL.
19125 * stor-layout.c: Include ggc.h.
19126 (set_sizetype): Add gc root.
19127 (init_stor_layout_once): New function.
19128 * toplev.c (compile_file): Call it.
19130 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
19131 Bernd Schmidt <bernds@cygnus.co.uk>
19132 Mark Mitchell <mark@codesourcery.com>
19134 * Makefile.in (tree.o): Depend on ggc.h.
19135 (varasm.o): Likewise.
19136 (function.o): Likewise.
19137 (stmt.o): Likewise.
19138 (except.o): Likewise.
19139 (optabs.o): Likewise.
19140 (emit-rtl.o): Likewise.
19141 * emit-rtl.c: Include ggc.h.
19142 (sequence_element_free_list): Remove, and all references.
19143 (mark_sequence): New functions.
19144 (mark_emit_state): New function.
19145 * except.c: Include ggc.h.
19146 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19147 (mark_tree_label_node): New functions.
19148 (mark_eh_state): New function.
19149 * function.c: Include ggc.h.
19150 (mark_temp_slot, mark_function_chain): New functions.
19151 (mark_function_state): New function.
19152 (init_function_once): New function.
19153 * function.h (init_function_once): New function.
19154 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19155 * ggc.h (label_node): Declare.
19156 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19157 (lang_mark_false_label_stack): New function.
19158 (mark_temp_slot): Remove declaration.
19159 (mark_function_chain): Likewise.
19160 (mark_eh_state): Adjust prototype.
19161 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19163 * optabs.c: Include ggc.h.
19164 (mark_optab): New function.
19165 (init_optabs): Add gc roots.
19166 * stmt.c: Include ggc.h.
19167 (mark_cond_nesting, mark_loop_nesting): New functions.
19168 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19169 (mark_stmt_state): New function.
19170 * toplev.c (compile_file): Call init_function_once.
19171 * tree.c: Include ggc.h.
19172 (type_hash): Move declaration earlier in file.
19173 (TYPE_HASH_SIZE, type_hash_table): Likewise.
19174 (init_obstacks): Add gc roots.
19175 (mark_type_hash): New function.
19176 * varasm.c: Include ggc.h.
19177 (mark_pool_constant): New function.
19178 (mark_varasm_state): New function.
19180 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19182 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19184 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19186 * c-decl.c (struct language_function): Renamed from struct c_function.
19188 (c_function_chain): Delete.
19189 (push_c_function_context): New arg F. Don't warn about nested
19190 functions here. Fill LANGUAGE elt of F. Delete code to update
19191 c_function_chain. Don't call push_function_context.
19192 (pop_c_function_context): New arg F. Restore from there instead of
19193 from c_function_chain. Don't call pop_function_context. Clear out
19194 LANGUAGE field of F when done.
19195 * c-lang.c: Include "function.h"
19196 (lang_init): Initialize save_lang_status and restore_lang_status.
19197 * c-parse.in (nested_function, nested_function_notype): Warn about
19198 nested functions. Call push_function_context/pop_function_context
19199 instead of the _c_ variants.
19200 * c-tree.h (push_c_function_context, pop_c_function_context): Update
19202 * Makefile.in (c-lang.o): Update dependencies.
19204 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19205 regno_pointer_flag, regno_pointer_align.
19206 (gen_reg_rtx): Use xrealloc to enlarge them.
19207 (free_emit_status): New function.
19208 * function.c (mark_machine_status, mark_lang_status): New variables.
19209 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
19210 in some bits from assign_stack_local. All callers changed to use new
19212 (assign_stack_local): Just call assign_stack_local_1.
19213 (free_after_compilation): New function.
19214 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19215 (trampoline_address): Likewise.
19216 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19217 (prepare_function_start): Explicitly clear some more variables.
19218 * function.h (struct function): New elt can_garbage_collect.
19219 (mark_machine_status, mark_lang_status): Declare variables.
19220 (free_after_compilation, free_emit_status, free_varasm_status,
19221 init_varasm_status): Declare functions.
19222 * toplev.c (rest_of_compilation): Call free_after_compilation when
19223 done with the current function.
19224 * varasm.c (free_varasm_status): New function.
19226 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
19228 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19229 (EXPAND_BUILTIN_VA_ARG): Define.
19230 * sparc.c (sparc_va_start): New.
19231 (sparc_va_arg): New.
19233 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19235 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19237 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19239 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19241 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
19243 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19244 (OBJS): Add $(GGC).
19245 (ggc-callbacks.o): New target.
19246 * ggc-callbacks.c: New file.
19248 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19250 * expr.h: Collapse individual optab and libfunc vars to arrays.
19251 (optab_index, libfunc_index): New enumerations.
19252 (optab_table, libfunc_table): New arrays.
19253 Add accessor macros for both.
19255 * optabs.c (optab_table, libfunc_table): New.
19256 Delete declarations for individual optab and libfunc vars.
19258 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
19260 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19262 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19264 * Makefile.in (GGC, GGC_LIB): New.
19265 (HOST_RTL): Include ggc-none.o.
19266 (ggc-simple.o): New target.
19267 (ggc-none.o): Likewise.
19268 * tree.h (tree_common): Add gc_mark.
19269 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19270 (struct rtvec_def): Add gc_mark.
19271 * emit-rtl.c (global_rtl): Update static initializers to contain
19272 enough initializers.
19273 * ggc.h, ggc-none.c, ggc-simple.c: New files.
19274 * toplev.c (gc_time): New variable.
19275 (all_time): New variable.
19276 (compile_file): Print gc time.
19277 (print_time): Calculate percentage of the whole.
19279 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19281 Change obstack memory management and varasm constant pool handling so
19282 that nested functions are treated like any other functions.
19283 * function.c (init_machine_status): New variable.
19284 (push_function_context_to): Set contains_functions for the outer
19285 function. Don't call save_varasm_status.
19286 (pop_function_context_from): Don't call restore_varasm_status. Don't
19287 set current_function_contains_functions.
19288 (prepare_function_start): Call init_varasm_status rather than
19289 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
19291 * function.h (struct function) Add field varasm. Delete fields
19292 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19293 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19294 (init_machine_status): Declare.
19295 (save_varasm_status, restore_varasm_status): Delete declarations.
19296 (save_tree_status, restore_tree_status): Delete last argument.
19297 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
19298 code. All callers changed.
19299 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19300 save_constants_in_decl_trees, restore_constants, save_constants,
19301 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19303 (inlining): New variable.
19304 (reg_map, label_map, insn_map, orig_asm_operands_vector,
19305 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19307 (save_for_inline_nocopy): Don't save constants.
19308 Don't set inl_emit field in current_function.
19309 (expand_inline_function): Use emit field, not inl_emit, of the inlined
19310 function. Set new variable inlining before
19311 calling copy_rtx_and_substitute.
19312 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19313 constant pool references if inlining is nonzero.
19314 Delete ADDRESS and (most of the) CONST cases.
19315 (output_inline_function): Save and restore current_function/
19316 current_function_decl. Delete restore_constants code. Don't call
19317 init_const_rtx_hash_table.
19318 * output.h (init_const_rtx_hash_table): Don't declare.
19319 * rtl.h (struct function): Declare.
19320 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19321 * toplev.c (rest_of_compilation): Don't treat nested functions or
19322 functions containing them specially. Delete all code to deal with
19323 save_for_inline_copying.
19324 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19325 inline_obstacks): Delete variables.
19326 (save_tree_status): Lose arg CONTEXT. All callers changed.
19327 Simply allocate a new function_maybepermanent_obstack for the new
19328 function, delete all the special cases.
19329 Don't save inline_obstacks.
19330 (restore_tree_status): Lose arg CONTEXT. All callers changed.
19331 Delete special handling for function_maybepermanent_obstack; simply
19333 Don't restore inline_obstacks.
19334 (permanent_allocation): Delete code that frees inline_obstacks.
19335 (print_inline_obstack_statistics): Delete function.
19336 (dump_tree_statistics): Don't call it.
19337 * varasm.c (struct varasm_status): New.
19338 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19339 last_pool, pool_offset, const_double_chain): Delete global
19340 variables, replace with accessor macros.
19341 (immed_double_const): Don't walk const_double_chain outside a
19342 function, but don't treat nested functions specially anymore.
19343 (immed_real_const_1): Likewise.
19344 (clear_const_double_mem): Don't treat nested functions specially.
19345 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19346 (save_varasm_status, restore_varasm_status): Delete functions.
19347 (init_varasm_status): New function.
19348 (force_const_mem): Don't treat nested functions specially.
19349 (find_pool_constant): Accept new arg F, search for constants in
19350 that function's pool rather than the current one. All callers
19352 (get_pool_constant_for_function, get_pool_mode_for_function): New
19355 * i386.c (init_386_machine_status): New function, mostly from
19356 clear_386_stack_locals.
19357 (struct machine_functions): Rename element names to avoid name
19359 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19360 macros, replacing global variables.
19361 (clear_386_stack_locals, save_386_machine_status,
19362 restore_386_machine_status): Delete functions.
19363 (override_options): Initialize init_machine_status.
19364 * i386.h (INIT_EXPANDERS): Delete macro.
19365 (save_386_machine_status, restore_386_machine_status,
19366 clear_386_stack_locals): Delete declarations.
19368 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19370 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19371 (doloop_begin): Simplify pattern and use emit_jump_insn.
19372 (doloop_end): Simplify pattern, switch operand order,
19373 and use emit_jump_insn.
19375 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19377 * function.h (struct function): Add new element LANGUAGE.
19378 (save_lang_status): Declare new variable.
19379 (restore_lang_status): Likewise.
19380 * function.c (save_lang_status): Define.
19381 (restore_lang_status): Likewise.
19382 (push_function_context_to): Call language-specific save function.
19383 (pop_function_context_from): Call language-specific restore function.
19385 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19387 * i386.md (movsf_1): Check REG_P before use of REGNO.
19388 (movdf_1): Likewise.
19389 (movxf_1): Likewise.
19390 (extendsfdf2): Likewise.
19391 (extendsfxf2): Likewise.
19392 (extenddfxf2): Likewise.
19394 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19396 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19397 constants into memory.
19398 (c4x_shiftable_constant): New function.
19399 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19400 (c4x_shiftable_constant): Declare.
19401 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19402 ashlqi3_noclobber): Add new patterns and associated splitters.
19404 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
19406 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19407 * dwarf2out.c (dwarf2out_frame_init): Likewise.
19408 * final.c (shorten_branches): Likewise.
19409 * global.c (global_alloc): Likewise.
19410 * haifa-sched.c (build_control_flow): Likewise.
19411 * stmt.c (check_for_full_enumeration_handling): Likewise.
19412 (estimate_case_costs): Likewise.
19414 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
19416 * rtl.h (RTL_CHECKC2): Fix typo in last change.
19418 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
19420 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19421 (recompute_reg_usage): Likewise.
19422 * rtlanal.c (find_regno_fusage): Likewise.
19424 * rtl.c (rtl_check_failed_code1): New function.
19425 (rtl_check_failed_code2): New.
19426 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19427 (RTL_CHECKC1, RTL_CHECKC2): New.
19428 (XC*): New accessor macros.
19429 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19430 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19431 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19432 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19433 (TRAP_*, RANGE_INFO_*): Likewise.
19435 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19437 * Makefile.in (tlink.o): Don't depend on toplev.h.
19439 * collect2.c (c_file, o_file, export_file, import_file, ldout,
19440 output_file, nm_file_name, ldd_file_name, strip_file_name,
19441 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19442 add_prefix, prefix_from_env, prefix_from_string, do_wait,
19443 fork_execute, maybe_unlink, add_to_list,
19444 extract_init_priority, write_list, dump_list,
19445 dump_prefix_list, write_list_with_asm, write_c_file,
19446 write_c_file_stat, write_c_file_glob, scan_prog_file,
19447 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19448 ignore_library, extract_string, notice, dump_file, target_machine,
19449 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19450 read_file, print_load_command): Constify a char*.
19451 (fdopen, error, fatal, fatal_perror): Don't prototype.
19452 (my_strerror): Remove. All callers use xstrerror instead.
19453 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19454 (main): Add prototype. Constify lots of char* ptrs. Change calls
19455 to xcalloc/strcpy/strcat/... to one call to concat.
19456 (main, scan_prog_file, scan_libraries): Use an intermediate
19457 `const char **' to build an argv array.
19458 (mapfile, libselect, libcompare, locatelib): Add prototypes.
19460 * collect2.h (collect_execute, collect_wait, dump_file,
19461 file_exists): Constify a char*.
19462 (ldout, c_file_name, temporary_obstack, permanent_obstack,
19463 temporary_firstobj, vflag, debug): Add extern declarations.
19464 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19466 * tlink.c: Don't include toplev.h.
19467 (vflag, debug, ldout, c_file_name, temporary_obstack,
19468 permanent_obstack, temporary_firstobj): Don't declare.
19469 (tlink_execute, frob_extension, symbol_hash_lookup,
19470 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19471 recompile_files, read_repo_files, demangle_new_symbols,
19472 scan_linker_output): Constify a char*.
19473 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19474 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19476 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
19478 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19479 (relative) rather than jsr (absolute) subroutine call insns.
19480 * config/m68k/m68k-coff.h: Ditto.
19482 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
19484 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19485 now rework these too.
19486 (arm_reorg): If an insn can't reach the end of the current pool,
19487 ensure that we emit that pool before the insn.
19489 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
19491 * tlink.c (scan_linker_output): Skip the initial underscore in
19492 a mangled name if appropriate.
19494 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19496 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19497 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19498 error_with_ivar, gen_declarator, create_builtin_decl,
19499 my_build_string, generate_descriptor_table, generate_ivars_list,
19500 generate_dispatch_table, check_protocols, TAG_GETCLASS,
19501 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19502 dump_base_name, lang_decode_option, build_encode_expr,
19503 start_class, finish_class, encode_pointer, really_start_method,
19504 gen_declaration, dump_interface, handle_class_ref, handle_impent):
19506 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19507 Add static prototypes.
19508 (build_objc_string_decl, build_selector_reference_decl,
19509 encode_bitfield, build_class_reference_decl): Remove unused
19510 parameter, all callers changed.
19511 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19512 (objc_printable_name): Likewise. Change second parameter to type int.
19513 (init_objc): Use memcpy, not bcopy, to avoid casts.
19515 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
19517 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19518 reg notes on a deleted insn.
19519 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19521 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
19523 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19525 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19527 * stmt.c (expand_asm_operands): Fix index into inout_mode when
19530 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
19532 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19533 * tm.texi (MD_ASM_CLOBBERS): Document it.
19535 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
19537 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19538 * except.c (expand_rethrow): Remove unused variable.
19539 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19540 * flow.c (replace_insns): Likewise.
19541 (create_edge_list, verify_edge_list): Likewise.
19542 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19544 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19545 is special code to run.
19546 (main): Don't define operands to emit_operand.
19547 * genrecog.c (main): Don't emit an empty peephole2_insn function.
19549 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19551 * alpha/alpha.h (normal_memory_operand): Declare.
19552 (reg_no_subreg_operand): Declare.
19553 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19555 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
19557 * c-parse.in (compstmt_primary_start): New, broken out of first
19558 part of compstmt handling in primary.
19559 (primary): Use it. Add an error clause.
19560 (compstmt_nostart): Renamed from compstmt; remove all
19561 initial invocations of compstmt_start.
19564 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
19566 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
19569 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
19571 * combine.c (simplify_shift_const): Remove extra semicolon.
19572 * dwarf2out.c (remove_AT): Likewise.
19573 * expmed.c (expand_mult): Likewise.
19574 * gcov.c (create_program_flow_graph): Likewise.
19575 * reorg.c (mostly_true_jump): Likewise.
19577 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
19579 * fold-const.c (fold_range_test): Do not try to fold the range
19580 test if the rhs or lhs has side effects.
19582 * combine.c (simplify_rtx): Recognize another case of a synthesized
19585 * varasm.c (mark_constant_pool): When marking indirect references,
19586 only look at SYMBOL_REFs.
19588 * except.c (expand_fixup_region_end): Do not peek at
19589 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19591 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
19593 * flags.h: New variables align_loops, align_loops_log,
19594 align_jumps, align_jumps_log, align_labels, align_labels_log,
19595 align_functions, align_functions_log.
19596 * toplev.c: Define them.
19597 (f_options): Handle -falign-* when they have no argument.
19598 (main): Add logic to set variables for -falign-functions,
19599 -falign-jumps, -falign-labels, -falign-loops.
19600 Make it -fsched-verbose=<n> and -finline-limit=<n>.
19601 (display_help): Change help to match options.
19602 * final.c (LABEL_ALIGN): Default to align_labels_log.
19603 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19604 (LOOP_ALIGN): Default to align_loops_log.
19605 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19606 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19607 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19608 * varasm.c (assemble_start_function): Handle align_functions.
19610 * config/sparc/sparc.h: Don't declare sparc_align_*.
19611 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19612 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19614 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19616 * config/sparc/sparc.c: Delete sparc_align_loops,
19617 sparc_align_jumps, sparc_align_funcs and the corresponding string
19619 (sparc_override_options): Default align_functions on ultrasparc.
19620 Delete -malign-* handling.
19622 * config/mips/mips.c (override_options): On 64-bit targets,
19623 try to align code to 64-bit boundaries.
19624 (print_operand): New substitution, %~,
19625 which aligns labels to align_labels_log.
19626 * config/mips/mips.md (div_trap_normal): Use %~.
19627 (div_trap_mips16): Likewise.
19629 (absdi2): Likewise.
19630 (ffssi2): Likewise.
19631 (ffsdi2): Likewise.
19632 (ashldi3_internal): Likewise.
19633 (ashrdi3_internal): Likewise.
19634 (lshrdi3_internal): Likewise.
19635 (casesi_internal): Likewise.
19637 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
19639 Merge new ia32 backend from the branch!
19641 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19642 See ChangeLog.P2 on new_ia32_branch for details.
19644 * rtl.h (stack_regs_mentioned_p): Delete prototype.
19645 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19646 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19647 * i386/gas.h (ASM_FILE_START): Define.
19648 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19649 for name change of ix86_valid_decl_attribute_p.
19650 (i386_pe_valid_type_attribute_p): Similarly.
19652 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
19654 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19655 to step through CC modes.
19657 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19659 * regmove.c (fixup_match_1): Don't move INSN in front of P if
19660 it would end up in the shadow of a live flags regsiter.
19662 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19664 * reload1.c: Fix many indentation problems.
19665 * reload.c: Likewise.
19667 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
19669 * alias.c (non_local_reference_p): Constify fmt.
19671 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
19673 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19675 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
19677 * cse.c (delete_trivially_dead_insns): Do not delete stores to
19678 the internal_arg_pointer.
19680 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
19682 Merge peephole2 from new_ia32_branch:
19683 * Makefile.in (STAGESTUFF): Add *.peephole2.
19684 (mostlyclean): Likewise.
19685 (recog.o): Depend on resource.h.
19687 * final.c (peephole): Conditionalize decl on HAVE_peephole.
19688 (final_scan_insn): Likewise for the invocation of peephole.
19689 * genconfig.c (main): Look for peephole and peephole2 patterns.
19690 Emit HAVE_peephole* accordingly.
19691 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19692 * flags.h (flag_peephole2): Declare.
19693 * toplev.c: New pass peephole2. New flag -fpeephole2.
19695 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19696 * gencodes.c (main): Likewise.
19697 * genextract.c (main): Likewise.
19698 * genoutput.c (main): Likewise.
19699 * genemit.c (max_operand_1): Look for the max scratch operand.
19700 (gen_rtx_scratch): New.
19701 (gen_exp): Use it, and pass on new arg subroutine_type.
19702 (gen_expand): Take max scratch into account.
19703 (gen_split): Emit peephole2 functions.
19704 (output_peephole2_scratch): New.
19705 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
19706 * genrecog.c (routine_type): Add PEEPHOLE2.
19708 (make_insn_sequence): Match outer parallel for peep2. Discard
19709 top level scratches and dups.
19710 (add_to_sequence): New args insn_type and top. Update all callers.
19711 Handle toplevel peep2 matching insns.
19712 (write_subroutine): Handle peep2.
19713 (write_tree_1): Likewise.
19714 (write_tree): Likewise.
19716 (change_state): New arg afterward. Update all callers.
19717 Handle matching separate insns.
19718 * recog.c (recog_next_insn): New.
19719 (peephole2_optimize): New.
19720 * rtl.def (DEFINE_PEEPHOLE2): New.
19721 * resource.c (find_free_register): New argument last_insn. Use it
19722 to find a register available through the entire span.
19723 * resource.h (find_free_register): Update prototype.
19725 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
19727 * i386.c (output_strlen_unroll): Don't write xops[7]
19728 label if it wasn't set.
19730 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
19732 * cpplib.c (struct directive): Const-ify name pointer and
19733 function pointer prototype.
19734 (validate_else, do_define, do_line, do_include, do_undef,
19735 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19736 do_elif, do_endif, do_sccs, do_assert, do_unassert,
19737 do_warning): Const-ify second arg.
19738 (directive_table): Mark const. Reorder entries by frequency
19739 of usage, record statistics.
19741 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19743 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19744 bounds- check RTL accesses if --enable-checking.
19745 (RTVEC_ELT): Bounds check if --enable-checking.
19746 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19747 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19748 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19750 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19751 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
19753 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19754 (NOTE_SOURCE_FILE): Use X0STR.
19755 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19756 MEM_ALIAS_SET): Use X0INT.
19757 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19758 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19760 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19761 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19762 (rtl_check_failed_bounds, rtl_check_failed_type1,
19763 rtl_check_failed_type2, rtvec_check_failed_bounds): New
19765 (fancy_abort): Fix comment.
19767 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19768 (cse_insn): Decrement LABEL_NUSES for jump target before
19769 deleting jump insn.
19770 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19771 * final.c (alter_subreg): Compute regno before changing x to
19772 REG; set REGNO(x) after changing it.
19773 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19774 notes containing CONST_INTs.
19775 (delete_eh_regions): Use NOTE_EH_HANDLER.
19776 * function.c (put_reg_into_stack): Make reg a MEM before
19778 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
19780 (gen_mem_addressof): Make reg a MEM before initializing it.
19781 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19783 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19784 deleting an insn, not after.
19785 (block_alloc): Only look at PATTERN(insn) if we have to, and
19786 only if it's format class 'i'.
19787 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19788 CONST_INT before using its INTVAL.
19789 * print-rtl.c (print_rtx): Use X0STR.
19790 * regmove.c (fixup_match_1): Don't look at PATTERN of
19791 non-class-'i' insn chain elements.
19792 * reload.c (loc_mentioned_in_p): Take address of
19793 in->fld[1].rtx directly.
19794 * reload1.c (reload): Change reg to a MEM before initializing
19796 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19798 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19800 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
19802 * config/mips/mips.c (machine_dependent_reorg): Force a
19803 barrier to output the local constant pool if a barrier hasn't
19804 been found at a natural point in the instruction stream.
19806 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19808 * c-parse.in (language_string): Constify.
19810 * dwarf2out.c (language_string): Remove declaration.
19812 * dwarfout.c (language_string): Likewise.
19814 * toplev.c (language_string, init_parse, finish_parse): Likewise.
19816 * tree.h (language_string, init_parse, finish_parse): Declare.
19818 * i386/sun386.h (language_string): Remove declaration.
19820 * mips.h (language_string): Likewise.
19822 * nextstep.h (language_string): Likewise.
19824 * nextstep21.h (language_string): Likewise.
19826 * rs6000.c (language_string): Likewise.
19828 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19830 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
19831 (getpwd.o): Remove target.
19833 * getpwd.c: Delete file. Its in libiberty now.
19835 * dbxout.c (getpwd): Don't prototype.
19836 * dwarf2out.c (getpwd): Likewise
19837 * dwarfout.c (getpwd): Likewise
19838 * final.c (getpwd): Likewise.
19839 * protoize.c (getpwd): Likewise.
19841 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19843 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
19845 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
19847 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
19848 mark_set_resources.
19850 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
19852 * fixinc/Makefile.in (subdir): New.
19853 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
19856 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
19858 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
19859 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
19862 * invoke.texi: Fix typo.
19864 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
19865 changed. Handle autoincrement addressing modes.
19867 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
19868 just like we would the virtual incoming args register when
19871 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
19873 * rs6000.h (ASM_FILE_START): Specify complete filename, including
19874 path, in .file directive.
19876 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
19878 * gcc.texi (External Bugs): Remove obsolete note about Perl on
19881 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
19883 * stdbool.h: Make the typedef name _Bool, with bool a #defined
19886 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19888 * tree.c (tree_code_name): Constify a char*.
19890 * tree.h (tree_code_name, decl_printable_name): Likewise.
19892 * function.h (struct function): Likewise.
19894 * toplev.c (decl_name, decl_printable_name): Likewise.
19896 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
19898 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
19899 (init_objc): Remove function pointer cast.
19901 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
19903 * pa.md (interspace_jump): New pattern.
19904 (builtin_longjmp): New expander.
19906 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
19908 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
19909 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
19910 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
19912 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
19914 * jump.c (delete_prior_computation): Also check calls
19915 to constant functions. Don't bother checking for a
19916 REG_UNUSED note before adding it.
19917 (delete_computation): Handle multi-word hard registers
19918 when synthesizing missing REG_DEAD notes for a register
19919 which is both set and used by an insn.
19921 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19923 * loop.c (this_loop_info): New variable.
19924 (loop_has_call, loop_has_volatile, loop_has_tablejump,
19925 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
19927 (prescan_loop, strength_reduce): New argument loop_info. All callers
19929 (scan_loop): New variable loop_info, initialise to address of
19931 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
19932 Delete variable loop_has_multiple_exit targets and replace with
19933 field in this_loop_info.
19934 (find_and_verify_loops): Rename this_loop to this_loop_num.
19935 (strength_reduce): Delete loop_iteration_info. Replace variable
19936 loop_info with function argument of same name.
19937 (insert_bct): Rework test for loop being completely unrolled.
19939 * loop.h (struct loop_info): New fields num, loops_enclosed,
19940 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
19941 has_indirect_jump, and cont. Redefine use of unroll_number.
19942 (loop_unroll_number): Delete.
19944 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
19945 field of loop_info.
19946 (loop_iterations): Delete variable vtop and instead use
19947 loop_info->vtop computed in prescan_loop.
19949 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
19951 * fix-header.c (main): Do not pass a null pointer to strcmp.
19953 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
19955 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
19957 * configure: Rebuilt.
19959 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
19961 * jump.c (jump_optimize_1): Do not delete assignments to
19962 internal_arg_pointer.
19963 * cse.c (delete_trivially_dead_insns): Always consider a set of
19964 the internal_arg_pointer live.
19966 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
19968 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
19969 (update_life_info) [REG_WAS_0]: Search the original insns rather
19970 than the new insns for the note. Fix typos finding note_dest.
19971 If no dest found, discard the note rather than abort.
19972 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
19973 (replace_insns): Remove the old insn list after update_life_info
19976 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
19978 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
19979 sched_analyze_insn.
19980 (sched_analyze_1): Let add_dependence care for not adding dups.
19981 (sched_analyze_2): Likewise.
19982 (add_branch_dependences): Likewise.
19984 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
19986 * i386/winnt.c (export_list): New type.
19987 (exports_head): Rename to
19988 (export_head): this.
19989 (i386_pe_record_exported_symbol): Add is_data flag.
19990 (i386_pe_asm_file_end): Emit directive for exported variables.
19991 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
19993 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
19994 (ASM_DECLARE_OBJECT_NAME): Likewise.
19995 (ASM_DECLARE_FUNCTION_NAME): Likewise.
19996 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
19998 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
20000 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20002 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20005 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
20007 * config/openbsd.h: Define SET_ASM_OP.
20008 * tm.texi: cross-reference SET_ASM_OP in the index.
20010 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
20012 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20013 for a CONST_DOUBLE, at compile time. Initialize rtx_length
20014 and class_narrowest_mode at compile time. Kill init_rtl.
20015 Mark rtx_length, mode_class, mode_size, mode_unit_size,
20016 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20017 rtx_format as const. Kill all references to EXTRA_CC_MODES or
20019 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20021 * rtl.h: Declare rtx_length and rtx_format as const.
20022 * machmode.def: Define CC(). Use CC() to define CCmode. If
20023 EXTRA_CC_MODES is defined, expand it here.
20024 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20025 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20026 const. Kill all references to EXTRA_CC_MODES.
20028 * toplev.c: Don't prototype or call init_rtl.
20029 * optabs.c: Don't call init_mov_optab.
20030 * genemit.c: Don't generate init_mov_optab. Don't call
20032 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20034 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20035 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20036 genrecog.c: Don't call init_rtl.
20038 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20039 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
20040 definition of EXTRA_CC_MODES.
20042 * md.texi: Kill ref to EXTRA_CC_NAMES.
20043 * tm.texi: Document new way to define EXTRA_CC_MODES.
20045 * genrecog.c: Do not look up the name of a define_split.
20046 (Unrelated bugfix.)
20048 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
20050 * config/v850/v850.md: Fix typo introduced by previous delta.
20052 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20054 * gcc.c (fatal): Make definition static to match prototype.
20056 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20058 * combine.c (get_last_value): Don't look for earlier sets if the last
20059 known set is somewhere in between the insns being combined.
20061 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
20063 * configure.in: Don't use shell ! to negate exit codes
20064 * configure: Regenerate
20066 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
20068 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20069 the fact that ALIGN is measured in bits, not bytes.
20071 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
20073 * errors.c: New file; defines functions error, warning, and
20074 fatal, variables have_error and progname.
20075 * errors.h: New file; prototypes and decls for stuff in errors.c.
20077 * Makefile: Add rules to build errors.o and
20078 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
20079 genopinit, genrecog, genextract, genpeep, genattr, and
20080 genoutput with errors.o. Add errors.h to deps of genconfig.o,
20081 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20082 genpeep.o, genattr.o, and genoutput.o.
20084 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20085 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
20086 define or prototype fatal. Set progname at beginning of main.
20087 * genoutput.c: Likewise, and don't define or prototype error
20090 * c-typeck.c (c_expand_start_case): Return immediately if exp
20092 * fold-const.c (operand_equal_p): Return immediately if arg1
20093 or arg0 are ERROR_MARKs.
20094 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20095 fields of type ERROR_MARK when calculating if the record can
20098 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
20099 with much help from Jeffrey A Law and Richard Henderson
20101 * i386.md: In the 6 insns which call output_fix_trunc,
20102 earlyclobber operands[0].
20104 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
20106 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20107 creating new registers.
20109 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
20111 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20112 i386_reg_alloc_order, i386_regparm_string,
20113 i386_align_loops_string, i386_align_jumps_string,
20114 i386_align_funcs_string, i386_preferred_stack_boundary_string,
20115 and i386_branch_cost_string as type "const char *".
20116 * i386.c: Define all above strings as type "const char *".
20118 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
20120 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20121 when emitting alignment padding. Emit padding byte of 0 instead of 4.
20123 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
20125 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20126 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20128 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
20130 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20131 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20132 (dwarf2out_line, dwarf2out_finish): Likewise.
20133 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20135 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
20137 * tree.c (lang_unsave_expr_now) : Correct return type.
20138 * tree.h (lang_unsave_expr_now) : Same.
20140 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
20142 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20143 instead of duplicating code.
20145 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20147 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20149 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
20151 * tree.h: fancy_abort always takes three args.
20152 * resource.c: Move include of system.h before toplev.h.
20154 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
20156 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20159 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
20161 * system.h: Don't redefine abort or trim_filename.
20162 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20163 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20164 whether or not __FUNCTION__ is available.
20165 * tree.h: Duplicate rtl.h's definition of abort, for files
20166 that don't include rtl.h. Delete all code to perform type
20167 checking with a compiler other than GCC.
20168 * varray.h: Delete all code to perform type checking with a
20169 compiler other than GCC. Make VARRAY_CHECK() always evaluate
20170 its arguments exactly once, using a statement expression.
20171 Adjust the VARRAY_<type> accessor macros to match.
20172 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20173 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20174 caller's location. Define fatal_insn and fatal_insn_not_found
20175 as macros that use _fatal_insn and _fatal_insn_not_found.
20176 (fancy_abort, trim_filename): Kill prototypes.
20178 * rtl.c (trim_filename): Move here from toplev.c.
20179 (fancy_abort): New function.
20180 (DIR_SEPARATOR): Provide default definition.
20181 * tree.c (tree_check_failed, tree_class_check_failed): Go
20182 through fancy_abort.
20183 (tree_check, tree_class_check, cst_or_constructor_check,
20184 expr_check): Delete.
20185 * varray.c (varray_check_failed): New function.
20186 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20187 _fatal_insn and _fatal_insn_not_found. Go through
20189 (trim_filename, fancy_abort): Delete.
20191 * builtins.c (expand_builtin_args_info): Report ICE with abort.
20192 * except.c (start_catch_handler): Report ICE with error/abort
20194 * final.c (output_operand_lossage): Likewise.
20195 * flow.c (verify_flow_info): Likewise.
20197 * gcc.c: Prototype fatal.
20198 * gengenrtl.c: Undef abort after including rtl.h not system.h.
20199 * genattr.c, genattrtab.c, genemit.c, genextract.c,
20200 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20201 Don't define fancy_abort.
20203 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
20205 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20208 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
20210 * m88k.h (VERSION_INFO2): Kill.
20211 (VERSION_STRING): Kill.
20213 (VERSION_INFO1): Tidy.
20214 (TARGET_VERSION): Update.
20215 * m88k/dgux.h (VERSION_INFO2): Kill.
20216 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20217 * m88k/luna.h (VERSION_INFO1): Tidy.
20218 * m88k/sysv4.h (VERSION_INFO1): Likewise.
20219 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20220 (output_file_start): Adjust for death of VERSION_STRING.
20222 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
20224 * cpplib.c (detect_if_not_defined): New function.
20225 (do_if): Use it to detect potential once-only headers.
20227 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
20229 * c-common.c (combine_strings): Always set TREE_CONSTANT.
20231 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
20233 * combine.c (nonzero_bits) : Allow single-ly set registers to be
20234 anywere in the function only if they are pseudos and set before
20235 being used (not live at the start of the function).
20236 (num_sign_bit_copies) : Same.
20237 (get_last_value_validate) : Same.
20238 (get_last_value) : Same.
20240 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
20242 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20243 where N and M are constant and N is an integer multiple of M.
20245 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20247 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20248 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20249 sbitmap_union_of_preds): Add prototypes.
20250 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20251 the intersection of successors with the new flow graph structures.
20252 (sbitmap_intersection_of_preds): New function to compute the
20253 intersection of predecessors with the new flow graph structures.
20254 (sbitmap_union_of_succs): New function to compute the union of
20255 successors with the new flow graph structures.
20256 (sbitmap_union_of_preds): New function to compute the union of
20257 predecessors with the new flow graph structures.
20258 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20259 (expr_reaches_here_p): Use edge and basic_block structures instead
20260 of s_preds and s_succs.
20261 (compute_cprop_avinout): Use new sbitmap routines.
20262 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20263 of s_preds and s_succs.
20264 * flow.c (compute_flow_dominators): Compute dominators using
20265 edges and basic blocks instead of s_preds and s_succs.
20267 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20269 * lists.c (unused_insn_list, unused_expr_list): New file for
20270 maintaining various types of lists. New statics for maintaining a
20271 cache of available INSN_LIST and EXPR_LIST nodes.
20272 (free_list): Static function for freeing a list of INSN/EXPR nodes.
20273 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20274 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20275 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20276 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20277 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20278 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20279 (free_INSN_LIST_node): Free an individual INSN_LIST node.
20280 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20281 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20282 (remove_dependence, free_pending_lists): Use new global routines.
20283 (flush_pending_lists, sched_analyze_insn): Use new global routines.
20284 (sched_analyze, compute_block_backward_dependences): Use new routines.
20285 (sched_analyze_1, sched_analyze_2): Use new routines.
20286 (schedule_insns): Use new global routines.
20287 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20289 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20290 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20292 * toplev.c (rest_of_compilation): Initialize node cache.
20293 * Makefile.in (OBJS): Add lists.o to list of object files.
20294 (lists.o): Add dependancies.
20296 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
20298 * config/v850/v850.md: Fix compile time warning messages.
20299 * config/v850/v850.c: Fix compile time warning messages.
20300 * config/v850/v850.h: Fix compile time warning messages.
20302 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20304 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20305 Remove unused prototype for `init_lengths'.
20307 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20309 * calls.c (emit_call_1): Mark parameter `stack_size' with
20311 (expand_call): Initialize variable `insn'.
20312 (emit_library_call): Likewise for variable `high_to_save'.
20313 (emit_library_call_value): Likewise.
20314 (store_one_arg): Likewise for variables `lower_bound' and
20317 * combine.c (try_combine): Likewise for variables `i2_code_number'
20318 and `other_code_number'.
20319 (find_split_point): Likewise for variables `pos', `unsignedp' and
20321 (simplify_if_then_else): Likewise for variables `op' and `c1'.
20322 (simplify_and_const_int): Remove unused variable `width'.
20323 (merge_outer_ops): Likewise.
20325 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20326 HOST_WIDE_INT' when comparing against one.
20327 (simplify_relational_operation): Likewise.
20328 (cse_insn): Initialize variables `src_eqv_volatile',
20329 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20331 * final.c (init_final): Constify parameter `filename'.
20332 (final_start_function): Mark parameter `optimize' with
20334 (profile_function): Likewise for parameters `first' and `optimize'.
20335 (output_source_line): Likewise for parameter `file'.
20337 * integrate.c (subst_constants): Cast a value to `size_t' when
20338 comparing against one.
20339 (mark_stores): Initialize variable `mode'. Cast a value to
20340 `size_t' when comparing against one.
20342 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20344 * loop.c (move_movables): Initialize variable `first'.
20345 (strength_reduce): Likewise for variable `increment'.
20346 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
20347 value to `size_t' when comparing against one.
20348 (load_mems): Initialize variable `end_label'.
20350 * output.h (init_final): Constify parameter.
20352 * reload.c (decompose): Initialize variable `base'.
20354 * reload1.c (reload): Likewise for variable `is_scalar'.
20355 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20356 (choose_reload_regs): Initialize variable `mode'.
20357 (emit_reload_insns): Likewise for variable `store_insn'.
20358 (reload_cse_noop_set_p): Mark parameter `insn' with
20360 (reload_combine): Initialize variable `set'.
20362 * unroll.c (unroll_loop): Likewise for variable `local_label'.
20363 (copy_loop_body): Cast a value to `size_t' when comparing against
20366 * varasm.c (assemble_variable): Initialize variable `size_tree'.
20367 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20368 (remove_from_pending_weak_list): Mark parameter `name' with
20371 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20373 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20376 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
20378 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20379 (ASM_DECLARE_FUNCTION_NAME): Define.
20380 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20381 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20382 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20383 not already defined.
20385 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
20387 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20388 of n_popped when call/call_value are not defined.
20390 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
20392 * tm.texi: GNU CC -> GCC conversion.
20393 (CC1_SPEC): Indicate it is used for all language front ends.
20395 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
20397 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20398 NOTE_INSN_EH_REGION_END correctly.
20400 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
20401 Jeff Law <law@cygnus.com>
20403 * loop.c (strength_reduce): Automatically unroll loops if the
20404 unrolled loop size is smaller than the rolled loop size.
20406 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20407 and delete comment that code should be rewritten.
20409 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
20411 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20414 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20416 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
20418 * fixinc/mkfixinc.sh: Don't fix uwin headers.
20419 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20420 (LINK_SPEC): Add -u _main when building executables.
20421 (ASM_DECLARE_FUNCTION): Update from Cygwin.
20422 (ASM_FILE_END): Use the default for ix86-pe.
20423 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20425 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
20427 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20428 and ASM_CLOSE_PAREN are empty strings.
20430 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
20431 Geoffrey Keating <geoffk@cygnus.com>
20433 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20434 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20435 (unprotoize.o): Ditto.
20436 (test-protoize-simple): Don't define STD_PROTO_DIR.
20437 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
20438 changes to make 'test-protoize-simple' pass.
20439 (STD_PROTO_DIR): Remove define.
20440 (STANDARD_EXEC_PREFIX): Supply default define.
20441 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20442 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20443 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20444 (GET_ENV_PATH_LIST): New macro.
20445 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20446 (do_processing): Initialize default_syscalls_dir using new
20447 macros. Use it to initialize syscalls_absolute_filename.
20449 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
20451 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20452 B into a register before emit_conditional_move.
20454 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
20456 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20457 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
20458 multiplicand out of (+ (* a b) (* c d)).
20460 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
20461 Richard Henderson <rth@cygnus.com>
20463 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20464 (new_insn_dead_notes): Likewise.
20465 (update_n_sets): Likewise.
20466 (update_flow_info): Move to flow.c, renamed to update_life_info;
20467 extend to handle multiple source insns.
20468 * flow.c: Include resource.h
20469 (unlink_insn_chain): New.
20470 (split_hard_reg_notes): New.
20471 (maybe_add_dead_note): New.
20472 (maybe_add_dead_note_use): New.
20473 (find_insn_with_note): New.
20474 (new_insn_dead_notes): New.
20475 (update_n_sets): New.
20476 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20477 (maybe_remove_dead_notes): New.
20478 (update_life_info): New.
20479 (prepend_reg_notes): New.
20480 (replace_insns): New.
20481 * output.h (update_life_info): Declare.
20482 * recog.c (split_block_insns): Use update_life_info.
20483 * resource.c (find_free_register): Use reg_alloc_order, don't use
20484 fixed regs, make sure the mode is supported, don't use new regs.
20486 * rtl.h (replace_insns): Declare.
20488 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
20490 * expr.c (expand_expr): Cope with COND_EXPRs with one
20491 non-returning branch.
20493 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
20495 * expr.c (store_expr): Always pass down the target, even when not
20498 1999-08-24 Nick Clifton <nickc@cygnus.com>
20500 * configure.in: Define target_cpu_default for v850 targets.
20501 * configure: Regenerate
20503 * config/v850/v850.h (TARGET_CPU_generic): Define.
20504 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20505 addresses are 4 byte aligned.
20507 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20510 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20512 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
20513 (main): Add prototypes.
20515 * genattrtab.c (substitute_address, write_const_num_delay_slots,
20516 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20517 (write_attr_get): Emit prototypes along with function definition.
20518 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20519 (write_complex_function): Emit static prototype along with
20520 function definition.
20522 * genemit.c (gen_split): Emit prototypes along with function
20525 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20526 Likewise for predicates and `insn_operand_predicate'.
20527 (process_template): Emit static prototype along with function
20530 * genrecog.c (make_insn_sequence): Constify a char*. Add
20531 prototypes for get_split_*().
20532 (write_subroutine): Emit prototypes along with function
20535 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20537 * gcse.c (find_avail_set): Follow chains of register-register copies.
20538 Use oprs_not_set_p to guarantee that the returned value can be
20540 (cprop_insn): Don't verify the return value of find_avail_set with
20543 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20544 (cprop_cc0_jump): New function.
20545 (cprop_insn): Break out new function cprop_jump and use it.
20546 Also use cprop_cc0_jump for machines with CC0.
20547 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20549 * tree.h (current_function_calls_setjmp,
20550 current_function_calls_longjmp): Delete declarations.
20551 * dsp16xx.c: Include "function.h".
20552 * elxsi.c: Likewise.
20553 * gmicro.c: Likewise.
20554 * h8300.c: Likewise.
20555 * i370.c: Likewise.
20556 * m32r.c: Likewise.
20557 * mn10200.c: Likewise.
20558 * mn10300.c: Likewise.
20559 * ns32k.c: Likewise.
20560 * spur.c: Likewise.
20561 * v850.c: Likewise.
20563 * rtl.h (rtx_equal_function_value_matters): Declare.
20564 * toplev.c (rtx_equal_function_value_matters): Don't declare.
20566 * function.c: Likewise.
20567 * emit-rtl.c: Likewise.
20569 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
20571 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20574 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20576 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20579 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
20581 * cpp.texi: Add a node documenting macro varargs (copied
20584 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
20586 * cppspec.c: Put a null pointer at the end of the new argv.
20588 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
20590 * configure.in: Remove code to select/de-select the haifa
20591 scheduler. Every scheduled port gets haifa now.
20592 * configure: Rebuilt.
20593 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20595 * Makefile.in: Corresponding changes.
20597 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20599 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20600 All callers changed.
20601 (prepare_float_lib_cmp): Likewise.
20602 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20603 * expr.h (emit_float_lib_cmp): Delete declaration.
20604 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20605 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20606 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20608 (cmptf): Now conditional on TARGET_HARD_QUAD.
20610 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
20612 * resource.c (mark_target_live_regs): Use
20613 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20615 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20617 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20619 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20621 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20623 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20625 * rtl.h (rtx_format): Constify a char*.
20627 * rtl.c (rtx_format): Likewise.
20628 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20629 (init_rtl): Use accessor macro, not `rtx_format'.
20631 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20634 * caller-save.c (mark_referenced_regs): Likewise.
20636 * combine.c (subst, make_compound_operation, known_cond,
20637 gen_rtx_combine, update_table_tick, get_last_value_validate,
20638 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20640 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20641 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20642 count_reg_usage): Likewise.
20644 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20647 * final.c (leaf_renumber_regs_insn): Likewise.
20649 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20650 dump_edge_info, count_reg_references): Likewise.
20652 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20653 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20656 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20657 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20658 add_label_notes): Likewise.
20660 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20661 clear_struct_flag, count_sub_rtxs, count_alternatives,
20662 compares_alternatives_p, contained_in_p, walk_attr_value,
20663 write_expr_attr_cache): Likewise.
20665 * genconfig.c (walk_insn_part): Likewise.
20667 * genemit.c (max_operand_1, gen_exp): Likewise.
20669 * genextract.c (walk_rtx): Likewise.
20671 * genflags.c (num_operands): Likewise.
20673 * genoutput.c (scan_operands): Likewise.
20675 * genpeep.c (match_rtx): Likewise.
20677 * genrecog.c (add_to_sequence): Likewise.
20679 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20682 * integrate.c (save_constants, copy_for_inline,
20683 copy_rtx_and_substitute, subst_constants, restore_constants):
20686 * jump.c (mark_jump_label, invert_exp, redirect_exp,
20687 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20689 * local-alloc.c (contains_replace_regs, memref_referenced_p):
20692 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20693 add_label_notes, replace_call_address, count_nonfixed_reads,
20694 invariant_p, find_single_use_in_loop, find_mem_givs,
20695 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20698 * print-rtl.c (reg_names, print_rtx): Likewise.
20700 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20702 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20703 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20704 print_blocks): Likewise.
20706 * regclass.c (fix_register, record_address_regs,
20707 reg_scan_mark_refs): Likewise.
20709 * regmove.c (stable_but_for_p): Likewise.
20711 * reload.c (loc_mentioned_in_p, operands_match_p,
20712 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20713 copy_replacements, refers_to_regno_for_reload_p,
20714 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20715 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20718 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20719 delete_address_reloads_1, count_occurrences,
20720 reload_cse_mem_conflict_p, reload_combine_note_use,
20721 add_auto_inc_notes): Likewise.
20723 * resource.c (mark_referenced_resources, mark_set_resources):
20726 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20727 reg_mentioned_p, regs_set_between_p, modified_between_p,
20728 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20729 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20730 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20731 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20733 * sched.c (sched_analyze_2, attach_deaths): Likewise.
20735 * stupid.c (stupid_mark_refs): Likewise.
20737 * unroll.c (remap_split_bivs): Likewise.
20739 * varasm.c (mark_constants): Likewise.
20741 * a29k/a29k.c (uses_local_reg_p): Likewise.
20743 * alpha/alpha.c (summarize_insn): Likewise.
20745 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20746 eliminate_lr2ip): Likewise.
20748 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20750 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20751 reg_mentioned_in_mem): Likewise.
20753 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20754 symbolic_reference_mentioned_p): Likewise.
20756 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20758 * sh/sh.c (regs_used, mark_use): Likewise.
20760 * vax/vax.c (vax_rtx_cost): Likewise.
20762 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20764 * machmode.h (mode_name): Constify a char*.
20766 * rtl.c (mode_name): Likewise.
20768 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20770 * optabs.c (init_libfuncs): Constify a char*.
20772 * print-tree.c (mode_name): Remove redundant declaration.
20773 (print_node): Use accessor macro, not `mode_name'.
20775 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
20777 (new_spill_reg): Constify a char*.
20779 * tree.c (mode_name): Remove redundant declaration.
20781 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20783 * rtl.c (rtx_name): Constify a char*.
20785 * rtl.h (rtx_name, fix_sched_param): Likewise.
20787 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20788 (mypr): Use accessor macro, not `rtx_name'.
20790 * genemit.c (print_code): Constify a char*.
20792 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20794 * genpeep.c (print_code): Constify a char*.
20796 * genrecog.c (print_code): Likewise.
20798 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20799 end_bb): Add static prototype.
20800 (draw_edge): Constify a char*.
20801 (end_bb): Remove unused parameter.
20803 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
20804 print_block_visualization): Constify a char*.
20806 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
20808 * c-common.c (c_get_alias_set): Update comment.
20810 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20812 * linux.h (LIB_SPEC): Added.
20814 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20816 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
20818 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
20820 * tree.c (expr_check): Fix typo in last change.
20822 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
20824 * rtl.def (NOTE): Change format to "iuu0n".
20825 (ADDR_DIFF_VEC): Change format to "eEee0".
20826 (ADDRESSOF): Change format to "eit".
20828 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
20829 (RTVEC_ELT): Change to match.
20830 (XVECEXP): Use XVEC and RTVEC_ELT.
20831 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
20832 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
20833 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
20834 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
20835 TRAP_CONDITION, TRAP_CODE): Use XEXP.
20836 (INTVAL): Use XWINT.
20837 (ADDRESSOF_DECL): Use XTREE.
20838 (SET_ADDRESSOF_DECL): Delete.
20839 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
20840 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
20841 ifdefed out since 2.6 at least.
20842 (gen_rtvec_vv): Delete prototype.
20844 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
20846 (copy_most_rtx): Handle 't' format letter.
20847 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
20848 (gen_rtvec_vv): Delete function. All callers changed to use
20849 gen_rtvec_v instead.
20850 * print-rtl.c (print_rtx): Move special casing of NOTEs to
20851 the '0' format letter.
20853 * function.c (gen_mem_addressof): Don't use
20854 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
20856 * integrate.c (copy_rtx_and_substitute): Likewise.
20857 Copy 't' slots with XTREE.
20858 (subst_constants): Treat 't' slots like '[swi]' slots.
20859 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
20860 * jump.c (rtx_equal_for_thread_p): Likewise.
20861 * rtlanal.c (rtx_equal_p): Likewise.
20862 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
20863 only four arguments.
20864 * gengenrtl.c (type_from_format): Provide correct types for
20868 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
20869 If a recent gcc is in use (always in stage2 and beyond), use
20870 statement expressions, so we don't make a function call unless
20871 the check fails. Evaluate arguments exactly once.
20872 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
20873 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
20875 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
20876 they evaluate their arguments exactly once, irrespective of
20877 the compiler in use.
20879 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
20880 is used by the currently-enabled check macros. This is:
20881 (tree_check_failed, tree_class_check_failed): For gcc.
20882 (tree_check, tree_class_check, cst_or_constructor_check,
20883 expr_check): For other compilers.
20885 * gencheck.c: Do not define any *_CHECK1 macros.
20887 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
20888 Mark Mitchell <mark@codesourcery.com>
20890 * c-common.c (c_get_alias_set): Fix support for poitners and
20893 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
20895 * alias.c: Include tree.h.
20896 (nonlocal_reference_p, mark_constant_function): New functions.
20897 * flow.c (life_analysis): Call mark_constant_function.
20898 * rtl.h (mark_constant_function): Declare it.
20900 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
20902 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
20903 unrecognisable switches.
20905 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20907 * loop.c (recombine_givs): Set ix field after sorting.
20908 (recombine_givs): Remove bogus index / giv lockstep looping.
20910 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20912 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
20914 (emit_store_flag_force): Use do_compare_rtx_and_jump.
20915 (do_cmp_and_jump): Formatting fixes.
20916 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
20917 do_compare_rtx_and_jump instead of compare_from_rtx.
20918 (do_compare_rtx_and_jump): New function; mostly copied from
20920 (do_jump_for_compare): Delete.
20921 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
20923 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
20924 of compare/do_jump_for_compare pairs.
20925 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
20926 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
20927 compare_from_rtx/do_jump_for_compare pairs.
20928 (do_jump_by_parts_equality): Likewise.
20929 (do_jump_by_parts_equality_rtx): Likewise.
20930 * expr.h (do_compare_rtx_and_jump): Declare.
20931 * optabs.c (prepare_cmp_insn): New function, contains most of the code
20932 that used to be in emit_cmp_insn.
20933 (cmp_available_p): New function.
20934 (prepare_operand): New function.
20935 (emit_cmp_and_jump_insn_1): New function, contains some code that used
20936 to be in emit_cmp_insn.
20937 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
20938 parameters to be pointers; don't emit final compare but modify some of
20939 the values pointed to by the args so the caller can perform the
20940 correct comparison.
20941 (expand_binop): Call emit_store_flag_force with signed forms of
20943 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
20944 emit_jump_insn pair.
20945 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
20946 emit_cmp_and_jump_insn_1. Call emit_queue.
20947 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
20949 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
20950 jump sets cc0 before deleting it.
20951 * integrate.c (expand_inline_function): Likewise.
20952 * unroll.c (unroll_loop): Similar changes in several places.
20953 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
20954 before deleting it.
20956 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20958 * Makefile.in (insn-recog.o): Update dependencies.
20959 * genrecog.c (main): Make generated file include "function.h".
20961 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
20963 * cse.c (cse_insn): Call never_reached_warning when a jump is
20964 changed to be unconditional.
20965 * flags.h: Declare warn_notreached.
20966 * flow.c (delete_block): Call never_reached_warning when
20967 a block is deleted.
20968 * jump.c (delete_barrier_successors): Call never_reached_warning
20969 when we delete everything after a BARRIER.
20970 (never_reached_warning): New function.
20971 * rtl.h: Declare never_reached_warning.
20972 * toplev.c (warn_notreached): New variable.
20973 (lang_independent_options): Set warn_notreached
20974 when -Wunreachable-code.
20975 (compile_file): We need line numbers for -Wunreachable-code.
20977 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
20979 * haifa-sched.c (insn_unit): Fix typo on out of range test.
20980 * sched.c (insn_unit): Likewise.
20982 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
20984 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
20986 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20988 * flow.c (create_edge_list): Use xmalloc, not malloc.
20990 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
20992 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
20993 C-style comments. Do not lose the character before double slash.
20995 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20997 * basic-block.h (struct edge_list): Stucture to maintain a vector
20999 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21000 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21001 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21002 New function prototypes.
21003 * flow.c (create_edge_list): Function to create an edge list.
21004 (free_edge_list): Discards memory used by an edge list.
21005 (print_edge_list): Debug output showing an edge list.
21006 (verify_edge_list): Internal consistency check for an edge list.
21007 (find_edge_index): Function to find an edge index for a pred and succ.
21009 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
21011 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21014 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
21016 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21018 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
21020 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21022 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
21024 * toplev.c (rest_of_compilation): Allow machine dependent
21025 reorganisation pass to place information into the RTL dump
21026 file if it so wishes.
21028 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
21030 * explow.c (hard_function_value): Use VOIDmode instead of
21032 * stmt.c (expand_return): Likewise.
21033 * stor-layout.c (get_best_mode): Likewise.
21035 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21036 emit call instead of emit_insn call.
21038 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
21040 * configure.in: Handle --disable/enable-win32-registry.
21041 * install.texi: Document --disable/enable-win32-registry.
21042 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21043 (WIN32_REGISTRY_KEY): New macro.
21044 * prefix.c: Use to enable/disable win32-specific code.
21045 (lookup_key): Use versioned key.
21046 * configure: Regenerate.
21047 * config.in: Likewise.
21049 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
21051 * cpplib.c (read_line_number): New fn, split out of...
21054 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
21056 tree.c (lang_unsave_expr_now) : New.
21057 (unsave_expr_now): Call lang_unsave_expr_now.
21058 tree.h (lang_unsave_expr_now) : New.
21060 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
21062 * toplev.c (flag_new_exceptions): On by default.
21064 1999-08-13 Michael Meissner <meissner@cygnus.com>
21066 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21068 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
21070 * dwarfout.c (fundamental_type_code): Return FT_boolean for
21071 INTEGER_TYPE with precision==1, it's __java_boolean.
21073 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21075 * global.c (prune_preferences): Move some invariants out of the
21078 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
21080 * configure.in (alpha*-dec-osf*): Add osf5.
21082 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
21084 * configure.in: Rework handling of ARM GNU/Linux slightly.
21085 (arm*-*-linux-gnuoldld): New target.
21086 * configure: Regenerate.
21087 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21088 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
21089 * config/arm/linux-oldld.h: New file.
21090 * config/arm/linux-elf26.h: Don't include linux-elf.h.
21091 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21093 * config/arm/linux-elf.h (ASM_SPEC): Define.
21094 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21095 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21096 for 26-bit APCS and old linker.
21097 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21099 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21100 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21101 don't define `arm' or `arm_elf'.
21102 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21103 MULTILIB_DIRNAMES): Define. Fix typo in comment.
21105 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
21107 * rtl.texi: Fix typo.
21109 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
21111 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21113 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
21115 * extend.texi (C++ Signatures): Remove node.
21116 * invoke.texi: Remove discussion of -fhandle-signatures,
21117 signature, sigof, __signature__, and __sigof__.
21119 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
21121 * Makefile.in (JAVAGC): Removed.
21123 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
21125 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21127 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21129 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21131 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
21133 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21134 a register that is already known to be a pointer.
21136 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
21138 * fixinc/inclhack.tpl: Only install assert.h conditionally.
21139 * fixinc/inclhack.sh: Regenerated.
21140 * fixinc/fixincl.sh: Regenerated.
21142 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
21144 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21145 Fix documentation of -ansi flag to describe its C++ behavior.
21146 Remove bogus reference to GCC 2.9.
21148 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
21150 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21151 note if it is non-NULL.
21153 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21155 * except.h (eh_nesting_info): Add new structure defintion.
21156 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21157 (reachable_handlers, update_rethrow_references): Add function
21159 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
21160 a rethrow symbol instead of an integer exception region number.
21161 * flow.c (Make_edges): Use new exception nesting routines to determine
21162 which handlers are reachable from a CALL or asynchronous insn.
21163 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21165 (delete_eh_regions): Update rethrow labels, and don't delete
21166 regions which are the target of a rethrow.
21167 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21168 avoid overloading the SYMBOL_REF_USED flag.
21169 (rethrow_symbol_map): Use new rethrow_ref field.
21170 (rethrow_used): Use new rethrow_ref field.
21171 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21172 of an integer. Fix formatting.
21173 (output_exception_table_entry): Use new rethrow_ref field.
21174 (can_throw): Check for EH_REGION_NOTE before deciding
21175 whether a CALL can throw or not.
21176 (scan_region): Call rethrow_used() instead of accessing data structure.
21177 (update_rethrow_references): New function to make sure only regions
21178 which are still targets of a rethrow are flagged as such.
21179 (process_nestinfo): New static function to initialize a handler
21180 list for a specific region.
21181 (init_eh_nesting_info): New function to allocate and initialize
21182 the list of all EH handlers reachable from all regions.
21183 (reachable_handlers): New function to retrieve the list of handlers
21184 reachable from a specific region and insn.
21185 (free_eh_nesting_info): New function to dispose of a list of
21186 reachable handlers.
21188 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21190 * flow.c (split_edge): Set JUMP_LABEL field.
21191 (commit_one_edge_insertion): Set head correctly for insert_before.
21192 When inserting insns, update insn block numbers if allocated.
21194 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21196 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21197 retry_incomplete_types): Add static prototype.
21198 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21199 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21200 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21201 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21202 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21205 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21206 dwarf2out_start_source_file, dwarf2out_line): Likewise.
21208 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21210 * output.h (assemble_name): Constify a char*.
21212 * varasm.c (UNIQUE_SECTION, assemble_start_function,
21213 assemble_variable, assemble_name): Likewise.
21215 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21217 * arm/pe.c (arm_pe_unique_section): Likewise.
21219 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21221 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21223 * i386/interix.c (i386_pe_unique_section): Likewise.
21225 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21227 * i386/winnt.c (i386_pe_unique_section): Likewise.
21229 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21231 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21233 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21235 * pa/pa.c (output_call): Likewise.
21237 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21239 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21241 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21244 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21247 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21249 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21250 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21252 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21254 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21256 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21258 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21260 * tree.h (lang_identify): Constify a char*.
21261 (print_error_function): Add extern prototype. Constify a char*.
21263 * c-lang.c (lang_identify): Constify a char*.
21265 * objc/objc-act.c (lang_identify): Constify a char*.
21267 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21269 * genpeep.c (main): Make generated file include "function.h".
21270 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21272 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21274 * Makefile.in: Update dependencies.
21275 * alias.c: Include "function.h"
21276 * c-decl.c: Likewise.
21277 * caller-save.c: Likewise.
21278 * calls.c: Likewise.
21279 * combine.c: Likewise.
21281 * explow.c: Likewise.
21282 * final.c: Likewise.
21283 * global.c: Likewise.
21284 * graph.c: Likewise.
21285 * local-alloc.c: Likewise.
21286 * loop.c: Likewise.
21287 * optabs.c: Likewise.
21288 * profile.c: Likewise.
21289 * recog.c: Likewise.
21290 * regclass.c: Likewise.
21291 * regmove.c: Likewise.
21292 * reload.c: Likewise.
21293 * reorg.c: Likewise.
21294 * resource.c: Likewise.
21295 * sched.c: Likewise.
21296 * stupid.c: Likewise.
21297 * config/1750a/1750a.c: Likewise.
21298 * config/a29k/a29k.c: Likewise.
21299 * config/arc/arc.c: Likewise.
21300 * config/arm/arm.c: Likewise.
21301 * config/arm/thumb.c: Likewise.
21302 * config/c4x/c4x.c: Likewise.
21303 * config/clipper/clipper.c: Likewise.
21304 * config/convex/convex.c: Likewise.
21305 * config/fx80/fx80.c: Likewise.
21306 * config/i860/i860.c: Likewise.
21307 * config/m68k/m68k.c: Likewise.
21308 * config/m88k/m88k.c: Likewise.
21309 * config/mips/mips.c: Likewise.
21310 * config/pdp11/pdp11.c: Likewise.
21311 * config/pyr/pyr.c: Likewise.
21312 * config/romp/romp.c: Likewise.
21313 * config/sh/sh.c: Likewise.
21314 * config/tahoe/tahoe.c: Likewise.
21315 * config/vax/vax.c: Likewise.
21316 * config/we32k/we32k.c: Likewise.
21317 * config/sparc/sparc.c: Include "function.h".
21318 (mem_min_alignment): Test current_function rather than
21319 regno_pointer_align.
21320 * config/pa/pa.c: Likewise.
21321 (compute_frame_size): Delete declaration of
21322 current_function_outgoing_args_size.
21323 * config/arc/arc.h (current_function_varargs): Delete declaration.
21324 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21326 * config/i370/i370.h (current_function_outgoing_args_size): Delete
21328 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21329 current_function_uses_pic_offset_table.
21330 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21331 of current_function_returns_pointer.
21332 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21333 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21334 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21335 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21336 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21337 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21338 * config/m88k/m88k.c: Include "function.h"
21339 (call_used_regs, current_function_pretend_args_size,
21340 current_function_outgoing_args_size, frame_pointer_needed): Delete
21342 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21344 * config/mips/mips.h (current_function_calls_alloca): Delete
21346 * config/mn10200/mn10200.h (current_function_needs_context,
21347 rtx_equal_function_value_matters): Delete declarations.
21348 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21349 flag_pic): Delete declarations.
21350 * config/pa/pa.h (current_function_pretend_args_size,
21351 current_function_decl): Delete declarations.
21352 * config/pa/som.h (current_function_varargs): Delete declaration.
21353 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21355 * config/pyr/pyr.h (current_function_pretend_args_size,
21356 current_function_args_size, current_function_calls_alloca): Delete
21358 * config/sh/sh.h (current_function_varargs): Delete declaration.
21359 * config/sparc/sparc.h (current_function_outgoing_args_size,
21360 current_function_calls_alloca, current_function_decl): Delete
21362 * config/spur/spur.h (current_function_pretend_args_size,
21363 current_function_calls_alloca): Delete declarations.
21364 * config/v850/v850.c (current_function_outgoing_args_size): Delete
21366 * config/vax/vms.h (current_function_name): Delete declaration.
21367 * gcse.c: Include "function.h".
21368 (current_function_name, current_function_calls_setjmp): Delete
21370 * haifa-sched.c: Include "function.h".
21371 (forced_labels): Delete declaration.
21372 * jump.c: Likewise.
21373 * reg-stack.c: Likewise.
21374 * reload1.c: Likewise.
21375 * genemit.c (main): Make generated file include function.h.
21376 * genoutput.c (output_prologue): Likewise.
21378 * builtins.c (saveregs_value, apply_args_value): Delete variables.
21379 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21380 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21381 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21382 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
21383 macros for some of them.
21384 (emit_filename, emit_lineno): Delete declarations.
21385 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
21386 regno_pointer_* variables through current_function.
21387 (gen_inline_header_rtx): Delete function.
21388 (save_emit_status): Delete function.
21389 (set_new_last_label_num): New function.
21390 (clear_emit_caches): New function.
21391 (restore_emit_status): Just clear last_labelnum and call
21393 (get_last_insn_anywhere): Variable sequence_stack is now accessed
21394 through macro seq_stack.
21395 (add_insn_after): Likewise.
21396 (add_insn_before): Likewise.
21397 (remove_insn): Likewise.
21398 (pop_topmost_sequence): Likewise.
21399 (in_sequence_p): Likewise.
21400 (start_sequence_for_rtl_expr): Likewise.
21401 (start_sequence): Likewise, and likewise for
21402 sequence_rtl_expr/seq_rtl_expr.
21403 (push_topmost_sequence): Likewise.
21404 (end_sequence): Likewise.
21405 (init_virtual_regs): Now takes a "struct emit_status *" argument.
21406 All callers changed. Store into that pointer instead of globals.
21407 (init_emit): Allocate emit elt of current_function.
21408 Changes for sequence_rtl_expr/sequence_stack renaming.
21409 Call clear_emit_caches instead of doing it in-line.
21410 Access regno_pointer_* variables through current_function.
21411 (init_emit_once) Don't clear sequence_stack.
21413 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21415 (arg_pointer_save_area): Delete declaration.
21416 (finish_expr_for_function): Renamed from init_queue; no longer static.
21417 (init_expr): Don't call init_queue.
21418 (save_expr_status, restore_expr_status): Delete functions.
21419 (expand_expr): Changes to reflect new layout of struct function.
21420 Don't access current_function_check_memory_usage when current_function
21422 * expr.h (forced_labels, save_expr_regs, saveregs_value,
21423 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21424 current_function_outgoing_args_size, current_function_arg_offset_rtx,
21425 current_function_uses_const_pool, function_call_count,
21426 current_function_uses_pic_offset_table, nonlocal_labels,
21427 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21428 current_function_check_memory_usage, nonlocal_goto_handler_slots,
21429 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21431 (finish_expr_for_function): Declare.
21432 * flags.h (current_function_has_nonlocal_label,
21433 current_function_has_nonlocal_goto, current_function_is_thunk,
21434 current_function_has_computed_jump): Delete declarations.
21435 * flow.c (forced_labels): Delete declaration.
21436 * function.c (current_function_pops_args,
21437 current_function_returns_struct, current_function_returns_pcc_struct,
21438 current_function_needs_context, current_function_calls_setjmp,
21439 current_function_calls_longjmp, current_function_has_nonlocal_label,
21440 current_function_has_nonlocal_goto, current_function_is_thunk,
21441 current_function_has_computed_jump, current_function_calls_alloca,
21442 current_function_contains_functions, current_function_returns_pointer,
21443 current_function_epilogue_delay_list, current_function_args_size,
21444 current_function_pretend_args_size, current_function_arg_offset_rtx,
21445 current_function_outgoing_args_size, current_function_varargs,
21446 current_function_stdarg, current_function_args_info, cleanup_label,
21447 current_function_name, current_function_uses_const_pool,
21448 current_function_instrument_entry_exit, current_function_return_rtx,
21449 current_function_uses_pic_offset_table, nonlocal_labels,
21450 current_function_internal_arg_pointer, current_function_cannot_inline,
21451 current_function_check_memory_usage, function_call_count,
21452 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21453 nonlocal_goto_stack_level, return_label, save_expr_regs,
21454 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21455 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21456 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21457 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21458 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21460 (push_function_context_to): Don't save them. Don't call
21461 save_storage_status, save_emit_status or save_expr_status.
21462 (pop_function_context_from): Don't restore them. Don't call
21463 restore_storage_status or restore_expr_status.
21464 (get_func_frame_size): New function.
21465 (get_frame_size): Use it.
21466 (assign_outer_stack_local): Reflect some member name changes in struct
21468 (put_reg_into_stack): Likewise.
21469 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21471 (fixup_var_refs): Likewise.
21472 (fix_lexical_addr): Likewise.
21473 (trampoline_address): Likewise.
21474 (prepare_function_start): Clear field inlinable of current_function.
21475 (init_function_for_compilation): New function.
21476 (expand_dummy_function_end): New function.
21477 (expand_function_end): Call finish_expr_for_function.
21478 * function.h (struct emit_status): New; fields moved here from struct
21479 function and from global variables. Add accessor macros for some of
21481 (struct expr_status): Likewise.
21482 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21483 (struct function): Add fields expr and emit, inlinable, inl_emit,
21484 original_arg_vector, original_decl_initial, inl_last_parm_insn,
21485 inl_max_label_num. Add many comments.
21486 Add accessor macros for all elts of struct function that no longer
21487 have a global variable.
21488 (cleanup_label, return_label, frame_offset, tail_recursion_label,
21489 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21490 stack_slot_list): Delete declarations.
21491 (get_func_frame_size): Declare.
21492 (save_expr_status, restore_expr_status, save_emit_status,
21493 save_storage_status, restore_storage_status): Delete declarations.
21494 (init_virtual_regs): Declare.
21495 * output.h (current_function_pops_args,
21496 current_function_returns_struct, current_function_returns_pcc_struct,
21497 current_function_needs_context, current_function_calls_setjmp,
21498 current_function_calls_longjmp, current_function_calls_alloca,
21499 current_function_has_nonlocal_label, current_function_varargs,
21500 current_function_has_computed_jump, current_function_returns_pointer,
21501 current_function_contains_functions, current_function_args_size,
21502 current_function_pretend_args_size, current_function_stdarg,
21503 current_function_outgoing_args_size, current_function_args_info,
21504 current_function_name, current_function_return_rtx,
21505 current_function_epilogue_delay_list,
21506 current_function_uses_const_pool, current_function_cannot_inline):
21507 Delete declarations.
21508 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21509 regno_reg_rtx): Delete declaration.
21510 (REGNO_POINTER_FLAG): Delete macro.
21511 * stmt.c (expand_goto): Changes to reflect that some fields in struct
21512 function were renamed.
21513 * stor-layout.c (save_storage_status, restore_storage_status): Delete
21515 * toplev.c: Include "function.h".
21516 (current_function_decl): Delete declaration.
21517 (compile_file): Call init_dummy_function_start and
21518 expand_dummy_function_end around some initializations that need to
21520 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21521 Call init_function_for_compilation.
21522 * unroll.c: Include "function.h"
21523 (unroll_loop): Access regno_pointer_* variables through
21526 * tree.h (struct tree_decl): Add elt f to saved_insns member.
21527 (DECL_SAVED_INSNS): use it.
21528 (expand_dummy_function_end): Declare.
21529 (init_function_for_compilation): Declare.
21530 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21531 that it's no longer an INLINE_HEADER.
21532 (expand_call): Likewise.
21533 * integrate.c (finish_inline): Delete function.
21534 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21535 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21536 args. Don't generate an INLINE_HEADER rtx, just return the arg
21537 vector. All callers changed.
21538 (save_for_inline_copying): Create a duplicate struct emit_status to
21539 hold the emit state for compiling the current function. Use this and
21540 the other new fields in struct function that are for integration
21541 instead of an INLINE_HEADER.
21542 Use memcpy instead of bcopy.
21543 Store the current struct function in DECL_SAVED_INSNS of fndecl.
21544 (save_for_inline_nocopy): Similar changes, except no new emit_status
21546 (expand_inline_function): Get information from function structure,
21547 not from an inline header rtx.
21548 (output_inline_function): Lose code to extract the necessary
21549 information from an inline header; simply put back the function
21550 structure into current_function. Clear its inlinable elt.
21551 * rtl.def (INLINE_HEADER): Delete.
21552 * rtl.h: Delete all accessors for an INLINE_HEADER.
21553 (gen_inline_header_rtx): Delete declaration.
21554 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21555 Delete declarations.
21556 (REGNO_POINTER_ALIGN): Delete.
21557 (clear_emit_caches): Declare.
21558 (set_new_last_label_num): Declare.
21560 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
21562 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21564 * except.c (expand_eh_region_start_for_decl): Always start a new block.
21565 * stmt.c (is_eh_region): Make sure current_function is present, too.
21567 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
21569 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21570 for 64bit PA targets.
21572 * pa.h (SELECT_SECTION): Define.
21573 * som.h (SELECT_SECTION): Delete.
21575 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21577 * alias.c (init_alias_analysis): Wrap call to
21578 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21580 1999-08-07 Bruce Korb <autogen@linuxbox.com>
21582 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
21583 <sys/asm.h> contains an asm comment with an apostrophe
21584 * fixinc/inclhack.sh: regen
21585 * fixinc/fixincl.x: regen
21587 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
21589 * function.c (init_function_start): Clear prologue & epilogue.
21590 (prologue_epilogue_contains): New function.
21591 * alias.c (init_alias_analysis): Use it.
21592 * rtl.h (prologue_epilogue_contains): Declare it.
21594 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
21596 * jump.c (onlyjump_p): New function.
21597 * rtl.h: Declare it.
21598 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21599 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21601 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
21603 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21604 to invert loops. Simplify block scanning.
21606 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21608 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21609 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21611 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
21613 * config/sparc/liteelf.h: New file to support sparclite-elf target
21614 * config/sparc/t-sp86x: New file to support sparc86x targets
21615 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21616 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21617 * configure.in: Support above target triplets
21618 * configure: Regenerated
21620 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
21622 * fixinc/server.c (server_setup): Do not prefix function used as
21623 parameter with `&'.
21625 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
21627 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21628 Remove fp reg alternatives.
21630 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
21632 * Makefiin (TAROUTOPTS): Kill.
21633 (install-headers-tar): Use "xpf" for tar headerfile extraction
21634 * i370/x-oe (TAROUTOPTS): Delete.
21635 * m68k/x-apollo68 (TAROUTOPTS): Delete.
21636 * m68k/x-hp320 (TAROUTOPTS): Delete.
21637 * m68k/x-hp320g (TAROUTOPTS): Delete.
21638 * gcc.texi: Update bug reporting text.
21640 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21642 * reg-stack.c (change_stack) Fixed problem with negative array index.
21644 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
21646 * extend.texi, install.texi: Fix spelling mistakes.
21648 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21649 (s-attrtab); No longer try to use pre-made insn-attrtab file.
21650 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21651 PREMADE_ATTRTAB_MD.
21652 * mips/t-ecoff: Likewise.
21653 * mips/t-elf: Likewise.
21654 * mips/t-mips: Likewise.
21655 * mips/t-osfrose: Likewise.
21656 * mips/t-r3900: Likewise.
21657 * mips/t-svr3: Likewise.
21658 * mips/t-svr4: Likewise.
21659 * mips/t-ultrix: Likewise.
21661 * gcc.texi: Document recommend means to provide software floating
21662 point libraries in libgcc.a
21664 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
21666 * c-lex.c (yylex): We can have a number with no digits.
21668 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
21670 * jump.c (delete_prior_computation): New function, broken
21671 out of delete_computation. Check for side effects with
21672 side_effects_p instead of FIND_REG_INC_NOTE. Handle
21673 multi-word hard registers.
21674 (delete_computation): Use it. Check for side effects with
21675 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
21676 missing REG_DEAD note for a register which is both set and
21679 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
21681 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21682 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21683 (ASM_FILE_START): Import _mcount with the right type.
21684 (ASM_DECLARE_FUNCTION_NAME): Define.
21685 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21686 * pa.c (output_function_prologue): Always emit the function's label
21688 * pa.h (TEXT_SPACE_P): Define.
21689 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21690 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21691 * som.h (TEXT_SPACE_P): Delete.
21692 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21693 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21695 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
21697 * expr.c (emit_group_load): Allow src to be a CONCAT.
21699 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21701 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21702 (___mulsi3): Use '!' comment character.
21704 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21706 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21708 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
21710 * gcc.c: Update URLs and mail addresses.
21711 * gcc.texi: Likewise.
21713 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
21715 * rs6000.c (current_file_function_operand): Return zero for
21717 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21719 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21722 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
21724 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21725 allocate space in the stack frame for the PIC register.
21727 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
21729 * m68k.md (xordi3, anddi3): These patterns are not available on
21732 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
21734 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21735 (PUT_REAL): Likewise.
21737 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21739 * final.c (shorten_branches): Don't add an alignment for loops
21740 that have no label inside.
21742 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21744 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21745 prototypes in macro HAVE_cmpstrsi.
21747 * cpplib.c (cpp_get_token): Remove unused label `op3'.
21749 * emit-rtl.c (operand_subword): Remove unused variable
21752 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21754 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21756 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
21758 * cpphash.c (macroexpand): Delete leading whitespace when arg
21759 is concatenated before.
21760 (unsafe_chars): Correct test for whether + and - can extend a
21763 * cppinit.c (cpp_start_read): Do dependencies for
21764 -include/-imacros files also.
21766 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21767 tokenizing non-directive lines.
21768 (cpp_expand_to_buffer): Temporarily disable no-output mode.
21769 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21772 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21774 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21776 * c-lex.c: Sync with C++ frontend.
21777 (linemode): New variable.
21778 (parse_float): imag, conversion_errno, and type are output only.
21779 (yylex): Adjust. Move initial '.' case into main switch.
21781 (handle_generic_pragma): Just deal with tokens.
21782 (readescape): Use ISXDIGIT and ISGRAPH.
21783 * c-parse.in: Add END_OF_LINE token.
21785 * c-lex.c (lang_init): Generalize.
21786 (nextchar): Remove. Replace uses with UNGETC.
21787 (skip_white_space): Handle linemode here. Optimize for cpplib.
21788 (skip_white_space_on_line): Remove.
21789 (extend_token_buffer_to): New fn.
21790 (extend_token_buffer): Use it.
21791 (read_line_number, check_newline): Just deal with tokens.
21792 (token_getch, token_put_back): New fns.
21793 (yylex): Use them. More cpplib optimizations. Simplify.
21795 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
21796 Jason Merrill <jason@yorick.cygnus.com>
21798 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21799 (consume_string): Make this smart about USE_CPPLIB.
21800 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21801 (yylex): Rewrite to be intelligent about USE_CPPLIB.
21802 Also, clean up cases where we redundantly set token_buffer[0].
21803 (read_line_number): New fn.
21804 (ignore_escape_flag): New variable.
21806 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
21808 * a29k/t-a29kbare: Fix some comments.
21809 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
21810 (FPBIT, DPBIT): Define.
21811 * a29k/t-vx29k: Likewise.
21812 * arc/t-arc: Likewise.
21813 * arm/t-arm-elf: Likewise.
21814 * arm/t-bare: Likewise.
21815 * arm/t-pe: Likewise.
21816 * arm/t-pe-thumb: Likewise.
21817 * arm/t-semi: Likewise.
21818 * arm/t-thumb: Likewise.
21819 * arm/t-thumb-elf: Likewise.
21820 * arm/t-thumb-linux: Likewise.
21821 * h8300/t-h8300: Likewise.
21822 * i960/t-i960: Likewise.
21823 * i960/t-vxworks960: Likewise.
21824 * m32r/t-m32r: Likewise.
21825 * mips/t-ecoff: Likewise.
21826 * mips/t-elf: Likewise.
21827 * mips/t-r3900: Likewise.
21828 * pa/t-pro: Likewise.
21829 * rs6000/t-aix43: Likewise.
21830 * rs6000/t-beos: Likewise.
21831 * rs6000/t-newas: Likewise.
21832 * rs6000/t-ppccomm: Likewise.
21833 * rs6000/t-rs6000: Likewise.
21834 * rs6000/t-winnt: Likewise.
21835 * rs6000/t-xnewas: Likewise.
21836 * rs6000/t-xrs6000: Likewise.
21837 * sh/t-sh: Likewise.
21838 * sparc/t-elf: Likewise.
21839 * sparc/t-sparcbare: Likewise.
21840 * sparc/t-sparclite: Likewise.
21841 * sparc/t-splet: Likewise.
21842 * v850/t-v850: Likewise.
21843 * mn10200/t-mn10200: Fix comments.
21844 * mn10300/t-mn10300: Likewise.
21846 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
21847 dummy operand. Allocate a new pseudo for the dummy operand.
21848 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
21850 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
21852 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
21854 * configure: Rebuilt.
21855 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
21857 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
21859 * recog.c (preproces_constraints): Zero recog_op_alt before
21860 processing the constraints.
21862 * arm.c (typedef minipool_node): Renamed from pool_node.
21863 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
21864 (add_minipool_constant): New function.
21865 (dump_minipool): New function.
21866 (find_barrier): Remove special case for getting the insn size of
21867 an insn that references the constant pool.
21868 (minipool_fixup): New structure.
21869 (push_minipool_barrier): New function.
21870 (push_minipool_fix): New function.
21871 (note_invalid_constants): New function.
21872 (add_pool_constant, dump_table, fixit, broken_move): Delete.
21873 (arm_reorg): Rewrite code to fix up the constant pool into a
21874 series of mini-pools embedded in the insn stream.
21875 (arm_output_epilogue): New function, made mainly from the body
21876 of output_func_epilogue.
21877 (output_func_epilogue): Move insn generation part of epilogue code
21878 to arm_output_epilogue.
21879 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
21880 * arm.md (pool_range): New attribute.
21881 (zero_extendqidi2): Add attribute pool_range.
21882 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
21883 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
21884 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
21885 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
21886 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
21887 (epilogue): New expand.
21888 (epilogue_insn): New insn. Call arm_output_epilogue.
21890 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
21891 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
21893 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21895 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21897 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
21899 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
21901 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
21903 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
21905 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
21907 * global.c: Fix comment.
21909 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
21911 * gcc.c (access_check): New static function.
21912 (find_a_file): Use it when searching a directory list.
21913 * collect2.c (find_a_file): Don't accept directories found when
21914 searching a directory list.
21916 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
21918 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
21919 function parameters with `&'.
21920 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
21922 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
21924 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
21925 or tidy_fallthru_edge if the last insn in the block is not
21926 an unconditional jump or a simple conditional jump.
21928 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21930 * Makefile.in (c-decl.o): Depends on defaults.h.
21932 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
21934 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
21936 (CLASS_MAX_NREGS): Likewise.
21938 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
21940 * cse.c (cse_insn): Fix dumb thinko in last change.
21942 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21944 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
21947 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
21949 * dwarf2out.c (add_location_or_const_value_attribute): Correct
21950 test for sizes of passed and declared parameter types.
21952 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21954 * fixincludes: Fix the return type of bsearch, char* -> void*.
21956 * fixinc/inclhack.def: Likewise.
21958 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
21960 * invoke.texi (-fdump-translation-unit): New option.
21962 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
21964 * expr.h (PROMOTE_PROTOTYPES): Move ...
21965 * defaults.h: ... to here.
21966 * c-decl.c: Include defaults.h instead of expr.h.
21967 * c-typeck.c: Include defaults.h.
21969 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
21971 * toplev.h (errorcount): Declare.
21972 (warningcount): Likewise.
21973 (sorrycount): Likewise.
21974 * c-lex.c (errorcount): Don't declare.
21975 * dwarf2out.c (errorcount): Don't declare.
21977 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
21979 * config/libgloss.h: Add a note discouraging use with ELF.
21980 * configure.in: Don't use libgloss.h for ELF targets.
21981 Always use_collect2 on a.out targets.
21983 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
21985 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
21986 (force_to_mode, case ASHIFTRT): Add shiftrt label.
21988 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21990 * loop.c (strength_reduce): When doing biv->giv conversion, update
21991 reg note of NEXT->insn.
21993 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21995 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
21997 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21999 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22000 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22001 Ensure expr.h is included.
22002 * c-typecheck.c (convert_arguments): Ditto.
22004 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22006 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22007 * config/convex/convex.h: Ditto.
22008 * config/dsp16xx/dsp16xx.h: Ditto.
22009 * config/fx80/fx80.h: Ditto.
22010 * config/gmicro/gmicro.h: Ditto.
22011 * config/i370/i370.h: Ditto.
22012 * config/i386/i386.h: Ditto.
22013 * config/m32r/m32r.h: Ditto.
22014 * config/m68k/m68k.h: Ditto.
22015 * config/m88k/m88k.h: Ditto.
22016 * config/mips/mips.h: Ditto.
22017 * config/pa/pa.h: Ditto.
22018 * config/pyr/pyr.h: Ditto.
22019 * config/tahoe/tahoe.h: Ditto.
22020 * config/we32k/we32k.h: Ditto.
22022 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22023 based on arch size.
22025 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22027 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22030 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22032 1999-08-02 Richard Henderson <rth@cygnus.com>
22034 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22035 for the register spill block.
22036 (m32r_va_arg): New.
22037 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22038 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22040 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22041 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22042 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22044 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22046 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22047 MAX_WCHAR_TYPE defined in sparc.h.
22048 * config/sparc/linuxaout.h: Likewise.
22049 * config/sparc/linux64.h: Likewise.
22050 Also default to -mvis if CPU is UltraSPARC.
22052 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22054 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22055 (RTX_OK_FOR_OLO10): Likewise.
22056 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22057 %lo(), allow it in addresses...
22058 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22059 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22060 does not make sense.
22061 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22062 (sparc_output_scratch_registers): New function.
22063 (output_function_prologue, sparc_flat_output_function_prologue): Use
22065 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22067 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22068 * configure.in: Add check for .register pseudo-op support in as and
22069 check for offsetable %lo().
22070 * acconfig.h: Add templates for the above checks.
22071 * configure: Regenerate.
22073 1999-08-02 Richard Henderson <rth@cygnus.com>
22075 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22076 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22077 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22079 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22081 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22084 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22086 * config/float-sparc.h: New file.
22087 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22088 sparc-*-linux-gnu and sparc64-*-linux*.
22090 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22092 * rs6000.c (rs6000_va_list): Type is an array.
22093 (rs6000_va_start): Don't doubly adjust for varargs.
22094 (rs6000_va_arg): Evaluate long long GPR adjustment.
22096 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
22098 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22099 -maix64 and -maix32.
22100 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22101 LINK_SPEC): Change appropriately.
22102 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22103 (u_short_cint_operand): Likewise.
22104 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22106 * rs6000/t-aix43 (MULTILIB): Change to -m64.
22108 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22110 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
22112 * rs6000/rs6000.c (num_insns_constant_wide): Correct
22113 for type promotion.
22114 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22115 (non_add_cint_operand): Likewise.
22116 (logical_operand): Likewise.
22117 (non_logical_cint_operand): Likewise.
22118 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22119 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22120 (rs6000_select_rtx_section): Suppress warning.
22121 (small_data_operand): Suppress warning.
22122 (rs6000_got_register): Suppress warning.
22123 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22124 type, so `J' is generally the wrong constraint for a SImode value;
22126 (andsi3_internal2): Likewise.
22127 (andsi3_internal3): Likewise.
22128 (iorsi3_internal1): Likewise.
22129 (xorsi3_internal1): Likewise.
22131 (movsf_softfloat): Likewise.
22132 (scc insns): Likewise.
22133 (movsi+2): Preserve sign bits of SImode constant.
22134 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22135 (movdf+1): Sign-extend properly.
22136 (movdi_32+1): Sign-extend properly.
22137 (scc insns): Sign-extend properly.
22139 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22142 1999-08-02 Richard Henderson <rth@cygnus.com>
22144 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22145 -mcpu parsing code.
22146 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22147 * alpha.md (all fp insns): Likewise.
22149 1999-08-02 Nick Clifton <nickc@cygnus.com>
22151 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22154 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
22156 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
22157 pic_load_label generator directly.
22158 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
22159 No longer a named pattern.
22161 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
22163 * explow.c (force_reg): Call force_operand if X does not
22164 satisfy general_operand.
22166 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
22168 * fix-header.c (main): When testing for CONTINUED, use string
22169 equality, not pointer equality.
22171 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
22173 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22175 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
22177 * cse.c (cse_insn): Fix loop which deletes insns after a jump
22178 that has become an unconditional jump.
22180 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22181 (output_function_epilogue): Similarly.
22183 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22185 * tree.h (init_dummy_function_start): Declare.
22187 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22189 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22190 last_expr_type, last_expr_value, block_start_count, block_stack,
22191 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22192 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22193 dynamically in stmt elt of struct function for each function.
22194 (struct nesting): Rename function_call_count elt to n_function_calls,
22195 target_temp_slot_level to block_target_temp_slot_level. All users
22197 (struct stmt_status): New structure definition.
22198 Add many accessor macros for stmt_status elements which previously
22199 were global variables.
22200 (init_stmt_for_function): Allocate stmt elt for current_function.
22201 Reflect that block_start_count was renamed to
22202 current_block_start_count.
22203 (save_stmt_status, restore_stmt_status): Delete functions.
22204 (preserve_subexpressions_p): Don't access loop_stack when outside
22206 (expand_start_bindings): Reflect that block_start_count was renamed to
22207 current_block_start_count.
22208 (expand_fixup): Likewise.
22209 (expand_decl): Don't access block_stack when outside a function.
22210 (expand_decl_cleanup): Likewise.
22211 (expand_dcc_cleanup): Likewise.
22212 (expand_dhc_cleanup): Likewise.
22213 (expand_anon_union_decl): Likewise.
22214 (set_file_and_line_for_stmt): New function.
22215 (in_control_zone_p): New function.
22217 * function.h (struct function): Add new elt stmt.
22218 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22219 case_stack, nesting_stack, nesting_depth, block_start_count,
22220 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22221 emit_lineno, goto_fixup_chain.
22222 (save_eh_status, restore_eh_status, save_stmt_status,
22223 restore_stmt_status): Delete declarations.
22224 * function.c (push_function_context_to): Don't call save_stmt_status.
22225 (pop_function_context_to): Don't call restore_stmt_status.
22226 * tree.h (in_control_zone_p): Declare.
22227 * rtl.h (set_file_and_line_for_stmt): Declare.
22229 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22230 call set_file_and_line_for_stmt.
22232 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
22234 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22235 Also update copyright.
22237 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22239 * c-pragma.c: Don't include "except.h".
22240 * emit-rtl.c: Likewise.
22241 * stor-layout.c: Likewise.
22242 * tree.c: Likewise.
22243 * varasm.c: Likewise.
22245 * flow.c: Include "function.h".
22246 * tree.h (init_dummy_function_start): Declare new function.
22248 * except.h (struct eh_status): New structure.
22249 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22251 (eh_return_stub_label, ehstack, catchstack, ehqueue,
22252 catch_clauses, false_label_stack, caught_return_label_stack,
22253 protect_list, current_function_ehc): Add accessor macros for the
22254 corresponding fields in current_function->eh; delete declarations
22255 for all items that used to be declared here.
22256 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22257 catch_clauses, false_label_stack, caught_return_label_stack,
22258 protect_list, current_function_ehc): Delete variables.
22259 (init_eh_for_function): Allocate current_function->eh.
22260 (save_eh_status, restore_eh_status): Delete functions.
22262 * function.h (struct function): Add fields next_global and eh.
22263 Delete all exception handling related fields.
22264 * function.c (current_function): New variable.
22265 (all_functions): New variable.
22266 (push_function_context_to): Don't allocate a struct function,
22267 use current_function instead. Call init_dummy_function_start when
22268 outside a function. Clear current_function before returning.
22269 (pop_function_context_from): Restore current_function.
22270 Don't free the restored struct function.
22271 (prepare_function_start): New function.
22272 (init_dummy_function_start): New function.
22273 (init_function_start): Break out some code into prepare_function_start
22276 * stmt.c (save_stmt_status): Don't call save_eh_status.
22277 (restore_stmt_status): Don't call restore_eh_status.
22279 * Makefile.in: Update dependencies.
22281 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
22283 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22284 of depending on a magic constant value. Update comments.
22285 (hppa_expand_prologue): Similarly.
22287 * pa.md (reload_indi, reload_outdi): Allow any register for the
22288 original reload register.
22290 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
22292 * cccp.c (print_help): Change marcos to macros.
22294 1999-07-30 Richard Henderson <rth@cygnus.com>
22296 * c-typeck.c (initializer_constant_valid_p): Move ...
22297 * c-common.c (initializer_constant_valid_p): ... here. Use
22298 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
22299 of label addresses.
22300 * c-common.h (initializer_constant_valid_p): Declare.
22301 * c-tree.h (initializer_constant_valid_p): Remove.
22303 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
22305 * config/i386/sol2-c1.asm: Align the stack.
22306 * config/i386/sol2-gc1.asm: Likewise.
22308 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
22310 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22311 -Asparclite for sparc86x.
22312 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22314 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22316 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
22318 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22319 the user if using the non-default arch size in BI_ARCH configuration.
22320 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22322 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22323 Fix patterns so that they actually match.
22324 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22325 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22326 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22328 (mulsidi3): Reflect this in the expand.
22329 (smulsi3_highpart): Only on TARGET_ARCH32.
22330 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22331 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22332 (umulsidi3): Reflect this in the expand.
22333 (umulsi3_highpart): Only on TARGET_ARCH32.
22334 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22335 don't require g0 to be zero.
22336 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22337 ({,u}divsi3): New expands.
22338 ({,u}divsi3_sp64): New patterns.
22339 (after lshrdi3_v8plus): Four new patterns to help combiner
22340 optimizing nested mixed mode shifts.
22342 * config/sparc/sparc.c (sparc_override_options): Use deprecated
22343 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22344 speed things up. Don't use them by default on plain v9 in 64bit
22345 mode, according to what SPAMv9 sais.
22347 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22348 top 32 bits of %[og][0-7] in signal handlers.
22349 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22351 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
22353 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22354 (ashlsi3): Corresponding changes.
22356 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22358 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
22360 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22362 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22364 * arm.h (Hint): Delete macro.
22365 Substitute HOST_WIDE_INT for Hint in some prototypes.
22366 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22368 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
22370 * builtins.c (expand_builtin_setjmp): Use force_operand to
22371 make sure that the buffer address is in a suitable form to be
22372 passed to force_reg.
22374 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
22376 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22379 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
22381 * pa.md (indirect_jump): Remove mode from match_operand. Verify
22382 proper mode in the condition string.
22383 (icacheflush, dcacheflush): Remove modes from match_operands.
22385 * pa.c (emit_move_sequence): Always convert scratch_reg to the
22386 proper mode before using it.
22388 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22391 * pa.c (store_reg): Do not call add_high_const generator directly.
22392 (load_reg, set_reg_plus_d): Likewise.
22393 * pa.md (add_high_const): No longer a named pattern.
22395 * pa.c (legitimize_address): Consistently use Pmode rather than
22396 SImode. Do not call gen_pic2_highpart directly anymore.
22397 * pa.md (pic2_highpart): No longer a named pattern.
22398 (pic2_lo_sum): Similarly. Reformat to make more readable.
22400 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22405 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22407 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22409 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
22411 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
22412 and tag the spill mems.
22413 (hppa_va_start): New.
22414 (hppa_va_arg): New.
22415 * pa.h (EXPAND_BUILTIN_VA_START): New.
22416 (EXPAND_BUILTIN_VA_ARG): New.
22418 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
22420 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22421 and tag the spill mems.
22422 (mn10300_va_start): New.
22423 (mn10300_va_arg): New.
22424 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22425 (EXPAND_BUILTIN_VA_ARG): New.
22427 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
22429 * mn10200.c (mn10200_va_arg): New.
22430 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22432 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
22434 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22435 rather than play with TREE_INT_CST_LOW.
22437 1999-07-27 Philip Blundell <pb@nexus.co.uk>
22439 * config/arm/telf.h: Include dbxelf.h.
22440 (CPP_PREDEFINES): Only define if not already defined.
22441 (ASM_IDENTIFY_GCC): Likewise.
22442 (SUBTARGET_EXTRA_SECTIONS): Likewise.
22443 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22444 * config/arm/thumb.h (LINK_SPEC): Only define if not already
22446 (DBX_DEBUGGING_INFO): Don't define.
22447 * config/arm/linux-telf.h: New file.
22448 * config/arm/linux-tgas.h: New file.
22449 * config/arm/t-thumb-linux: New file.
22450 * config/arm/uclinux-elf.h: New file.
22451 * config/arm/uclinux-telf.h: New file.
22452 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22453 thumb-*-uclinux): New targets.
22454 * configure: Regenerate.
22456 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
22458 * pa.md (post_store, pre_load): New expanders.
22459 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22460 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22461 need to directly generate RTL for them.
22462 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22465 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
22467 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22468 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22469 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22470 (secndary_reload_class): Make TARGET_ELF conditional compile.
22471 (print_operand_address): Similar.
22472 (output_toc): Print all values as hex.
22473 (get_issue_rate): Rearrange and add RS64A and PPC630.
22474 * rs6000.h (processor_type): Add RS64A and PPC630.
22475 (PROCESSOR_POWERPC64): New.
22476 (PROMOTE_MODE): Use word_mode.
22477 (RTX_COSTS): Add RS64A and PPC630.
22478 * rs6000.md (scheduling information): Add lmul and ldiv
22479 representing 64-bit integer multiply and divide. Add rs64a and
22480 PPC630 information.
22481 (ashldi3): Add support for "rldic" instruction.
22482 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22484 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
22486 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22487 instead of V8 for sparclite86x in cpu_table.
22489 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22491 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22492 output_file_directive.
22494 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
22496 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22497 tree for op1, not the rtl.
22499 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
22501 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22502 to m88k_va_start, leaving only the register spill.
22503 (m88k_build_va_list): New.
22504 (m88k_va_start): New.
22505 (m88k_va_arg): New.
22506 * m88k.h (BUILD_VA_LIST_TYPE): New.
22507 (EXPAND_BUILTIN_VA_START): New.
22508 (EXPAND_BUILTIN_VA_ARG): New.
22510 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
22512 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22513 Rename from expand_builtin_saveregs.
22514 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22516 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
22518 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22519 for the register spill block.
22520 (i960_build_va_list): New.
22521 (i960_va_start): New.
22522 (i960_va_arg): New.
22523 * i960.h (BUILD_VA_LIST_TYPE): New.
22524 (EXPAND_BUILTIN_VA_START): New.
22525 (EXPAND_BUILTIN_VA_ARG): New.
22526 * i960.md (store_multiple): Use change_address on individul mems.
22528 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
22530 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22532 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22533 (expand_builtin_va_end): Evaluate arg for side effects.
22534 * c-common.c (c_common_nodes_and_builtins): Construct a
22535 va_list_arg_type_node to handle array decomposition to pointer.
22537 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
22539 * except.c (st_dynamic_cleanup): Use force_operand on the
22542 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
22544 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22545 * c4x.c (c4x_va_arg): New.
22547 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
22549 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22550 has manual_pop set.
22552 1999-07-26 Nathan Sidwell <nathan@acm.org>
22554 * eh-common.h (__eh_matcher): Prototype correctly.
22556 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
22558 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22559 (TARGET_SINGLE_PIC_BASE): Likewise.
22560 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22562 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22563 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22564 (TARGET_OPTIONS): Add -mpic-register=N.
22565 (OUTPUT_INT_ADDR_CONST): New macro.
22566 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22567 LEGITIMATE_PIC_OPERAND_P): Likewise.
22568 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22569 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22570 output_addr_const directly.
22571 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22573 (thumb_pic_register, thumb_pic_register_string): Declare.
22575 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22577 (label_mentioned_p): New function: Imported from arm.c.
22578 (legitimize_pic_address): New function: Imported from arm.c.
22579 (is_pic):New function: Imported from arm.c.
22580 (thumb_finalize_pic):New function: Imported from arm.c.
22581 (add_constant): Cope with PIC constants.
22582 (fixit): Cope with PIC constants.
22583 (output_return): Do not treat the PIC register as live if
22584 TARGET_SINGLE_PIC_BASE is true.
22585 (thumb_function_prologue): Do not treat the PIC register as live if
22586 TARGET_SINGLE_PIC_BASE is true.
22587 (thumb_expand_prologue): Do not treat the PIC register as live if
22588 TARGET_SINGLE_PIC_BASE is true.
22589 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22590 TARGET_SINGLE_PIC_BASE is true.
22591 (thumb_print_operand): Accept '|'.
22592 (thumb_override_options): Process PIC options.
22594 * config/arm/thumb.md (movsi): Support PIC.
22595 (call_insn): Change "i" constraint to "X".
22596 (call_value_insn): Likewise.
22597 (consttable_4, consttable_8, consttable_end): Set and clear
22598 "making_const_table" as appropriate.
22599 (pic_load_addr, pic_add_dot_plus_four): New insns.
22601 * invoke.texi (Thumb Options): Fix spelling. Document new
22602 options -msingle-pic-base and -mpic-register=.
22604 1999-07-26 Andrew Haley <aph@cygnus.com>
22606 * config/m32r/initfini.c (__init): Use a full word immediate for
22607 __fini: this allows it to be placed in any memory region.
22609 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22610 -mmodel=medium. This is OK for all memory models.
22612 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
22614 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22615 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22617 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
22619 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22622 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22624 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
22626 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22627 (BUILD_VA_LIST_TYPE): New.
22628 (EXPAND_BUILTIN_VA_START): New.
22629 (EXPAND_BUILTIN_VA_ARG): New.
22630 * i860.c (output_delayed_branch): Disable.
22631 (output_delay_insn): Likewise.
22632 (i860_saveregs): New.
22633 (i860_build_va_list): New.
22634 (i860_va_start): New.
22635 (i860_va_arg): New.
22636 * i860.md: Disable all peepholes using output_delayed_branch.
22637 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22639 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
22641 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22642 (BUILD_VA_LIST_TYPE): New.
22643 (EXPAND_BUILTIN_VA_START): New.
22644 (EXPAND_BUILTIN_VA_ARG): New.
22645 * clipper.c (clipper_builtin_saveregs): Only dump registers.
22646 Return the address of the save area.
22647 (clipper_build_va_list): New.
22648 (clipper_va_start): New.
22649 (clipper_va_arg): New.
22651 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
22653 * arc.h (EXPAND_BUILTIN_VA_START): New.
22654 (EXPAND_BUILTIN_VA_ARG): New.
22655 * arc.c (arc_setup_incoming_varargs): Set alias set of
22657 (arc_va_start): New.
22660 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
22662 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22663 (BUILD_VA_LIST_TYPE): New.
22664 (EXPAND_BUILTIN_VA_START): New.
22665 (EXPAND_BUILTIN_VA_ARG): New.
22666 * alpha.c (alpha_builtin_saveregs): Delete.
22667 (alpha_build_va_list): New.
22668 (alpha_va_start): New.
22669 (alpha_va_arg): New.
22671 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
22673 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22675 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22676 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22678 * gcc.texi: More changes related to list conversion.
22679 * invoke.texi: Likewise.
22681 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
22683 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22684 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22685 (expand_builtin_next_arg): Accept ARGLIST not EXP.
22686 (stabilize_va_list): New function.
22687 (std_expand_builtin_va_start): New function.
22688 (expand_builtin_va_start): New function.
22689 (get_varargs_alias_set): New function.
22690 (std_expand_builtin_va_arg): New function.
22691 (expand_builtin_va_arg): New function.
22692 (expand_builtin_va_end): New function.
22693 (expand_builtin_va_copy): New function.
22694 (expand_builtin): Call them.
22695 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22696 __builtin_{varargs_start,stdarg_start,end,copy}.
22697 (build_va_arg): New function.
22698 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22699 (build_va_arg): Declare.
22700 * c-decl.c (ptr_type_node, va_list_type_node): New.
22701 * c-parse.gperf (__builtin_va_arg): New.
22702 * c-parse.in (VA_ARG): New token.
22703 (unary_expr): Recognize it.
22704 * expr.c (expand_expr): Expand VA_ARG_EXPR.
22705 * expr.h (std_expand_builtin_va_start): Declare.
22706 (std_expand_builtin_va_arg): Declare.
22707 (expand_builtin_va_arg): Declare.
22708 (get_varargs_alias_set): Declare.
22709 * tree.def (VA_ARG_EXPR): New.
22710 * tree.h (BUILT_IN_VARARGS_START): New.
22711 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22712 (ptr_type_node, va_list_type_node): Declare.
22713 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22714 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22715 * m88k.h, m88k.c: Likewise.
22716 * mn10300.h, mn10300.c: Likewise.
22717 * pa.h, pa.c: Likewise.
22718 * rs6000.h, rs6000.c: Likewise.
22719 * sh.h, sh.c: Likewise.
22720 * sparc.h, sparc.c: Likewise.
22722 * emit-rtl.c (operand_subword): Copy alias set.
22723 (change_address): Likewise.
22725 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
22727 * pa.c (compute_frame_size): Scan all the used callee saved registers,
22728 not just the first one.
22730 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
22732 * config/arm/arm.h (TARGET_SWITCHES): Add
22733 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
22734 (TARGET_OPTIONS): Add -mpic-register=.
22735 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22736 (arm_pic_register_string): Declare.
22737 (NEED_PLT_GOT): Delete, replace with ...
22738 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
22739 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22740 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22741 * config/arm/arm.c (arm_override_options): Add new option
22743 (arm_pic_register_string): New variable.
22744 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22745 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22746 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
22747 (output_return_instruction): Likewise.
22748 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22749 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
22750 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22752 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
22753 mention of -msched-prolog. Document new options -msingle-pic-base
22754 and -mpic-register=.
22756 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
22758 * haifa-sched.c (reemit_notes): Tidy.
22759 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22762 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
22764 * explow.c (trunc_int_for_mode): New function.
22765 (plus_constant_wide): Use it.
22766 * combine.c (simplify_and_const_int): Likewise.
22767 (merge_outer_ops): Likewise.
22768 (simplify_shift_const): Likewise.
22769 * cse.c (simplify_unary_operation): Likewise.
22770 (simplify_binary_operation): Likewise.
22771 * emit-rtl.c (operand_subword): Likewise.
22772 * rtl.h: Declare it.
22774 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22776 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22777 (use NUM_REGS instead of NUM_INTS).
22779 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22781 * builtins.c: New file.
22782 * expr.c (saveregs_value, apply_args_value): Delete definition,
22783 moved into builtins.c.
22784 (string_constant): No longer static.
22785 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22786 apply_args_size, apply_result_size, result_vector,
22787 expand_builtin_apply_args, expand_builtin_apply,
22788 expand_builtin_return): Delete functions, moved into builtins.c.
22789 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22790 * expr.h (saveregs_value, apply_args_value): Declare variables.
22791 (expand_builtin, string_constant): Declare functions.
22792 * Makefile.in: Update to build builtin.o.
22794 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
22796 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22797 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22798 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22799 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22801 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22804 1999-07-21 Michael Meissner <meissner@cygnus.com>
22806 * print-rtl.c (print_rtx): Print the names of the virtual
22809 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
22811 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
22812 introduced in previous delta.
22814 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22816 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
22817 to avoid name clash.
22819 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
22821 * c-lex.c (yylex) : Correct the test for overflow when lexing
22824 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
22826 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
22827 (adjust_priority): Always call ADJUST_PRIORITY.
22828 (schedule_insn): Only put insns into the ready at cost 0.
22829 (schedule_block): Remove redundant initial sort. Give clock_var
22830 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
22832 * tm.texi (MD_SCHED_REORDER): Update docs.
22834 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
22835 * sparc.c (ultra_reorder_called_this_block): Delete.
22836 (ultrasparc_sched_init): Don't set it.
22837 (ultrasparc_sched_reorder): Don't check it.
22839 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
22841 * rs6000.h (struct rs6000_args): Add sysv_gregno.
22842 * rs6000.c (init_cumulative_args): Init sysv_gregno.
22843 (function_arg_boundary): Align DFmode.
22844 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
22845 to get fp reg and stack overflow correct.
22846 (function_arg): Likewise.
22847 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
22848 (setup_incoming_varargs): Restructure for ABI_V4; use
22849 function_arg_advance to skip final named argument.
22850 (expand_builtin_saveregs): Properly unskip the last integer arg
22851 when doing varargs. Adjust overflow location calculation.
22853 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
22854 explicitly unsigned.
22855 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
22856 (__VA_GP_REGSAVE): Similarly.
22857 (__va_longlong_p): Delete.
22858 (__va_arg_type_violation): New declaration.
22859 (va_arg): Restructure. Flag promotion errors. Align double.
22860 TFmode passed by reference.
22862 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
22863 in the HOST_BITS_PER_WIDE_INT > 32 case.
22865 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
22867 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
22869 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
22871 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
22872 * toplev.c (documented_lang_options): Add -fpreprocessed.
22873 * cpplib.h (struct cpp_buffer): Add preprocessed.
22874 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
22875 (cpp_start_read): Don't expand macros or emit an initial #line
22876 directive if -fpreprocessed.
22878 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
22880 * cpplib.h (struct cpp_buffer): Added manual_pop for
22881 better C++ tokenization.
22882 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
22883 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
22884 * c-common.c (cpp_token): Make non-static.
22886 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22888 * c-common.h: New file.
22889 * c-common.c (permanent_obstack): Delete unused declaration.
22890 (c_global_trees): New array.
22891 (c_common_nodes_and_builtins): New function; split off common code
22892 from init_decl_processing in both c-decl.c and cp/decl.c.
22893 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
22894 c_global_trees and accessor macros defined in c-common.h.
22895 Include c-common.h.
22896 * c-decl.c: Delete definitions for tree nodes that were replaced by
22898 (init_decl_processing): Build void_list_node.
22899 Call c_common_nodes_and_builtins; delete code to generate the common
22901 * objc/objc-act.c (build_module_descriptor): Rename variable
22902 void_list_node to avoid clash with c-common.h.
22904 * Makefile.in: Update dependencies.
22905 * objc/Make-lang.in: Likewise.
22907 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
22909 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
22910 (UNIQUE_SECTION_P): Likewise.
22911 (UNIQUE_SECTION): Likewise.
22913 1999-07-19 Linas Vepstas <linas@linas.org>
22915 * config/i370/README: New file.
22916 * config/i370/linux.h: New file.
22917 * config/i370/mvs.h: New file.
22918 * config/i370/oe.h: New file.
22919 * config/i370/t-linux: New file.
22920 * config/i370/t-mvs: New file.
22921 * config/i370/t-oe: New file.
22922 * config/i370/x-oe: New file.
22923 * config/i370/xm-linux.h: New file.
22924 * config/i370/xm-mvs.h: New file.
22925 * config/i370/xm-oe.h: New file.
22927 * i370.c (label_node_t): Add first_ref_page, label_addr,
22928 label_first_ref, label_last_ref members.
22929 (mvs_need_base_reload): Renamed from mvs_label_emitted.
22930 (MAX_MVS_LABEL_SIZE): Define.
22931 (MAX_LONG_LABEL_SIZE): Define.
22932 (alias_node_t, alias_anchor, alias_number): New.
22933 (mvs_function_table): Reorder for EBCDIC.
22934 (ascebc, ebcasc): Unconditionally define.
22935 (i370_branch_dest, i370_branch_length): New functions.
22936 (i370_short_branch, i370_label_scan): New functions.
22937 (mvs_get_label): Renamed from mvs_add_label. Search for
22938 an existing label before creating a new one.
22939 (mvs_add_label): New function.
22940 (mvs_get_label_page): New function.
22941 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
22942 over the entire list.
22943 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
22944 (mvs_check_page) [TARGET_ELF_ABI]: New function.
22945 (mvs_add_alias, mvs_need_alias): New functions.
22946 (mvs_get_alias, mvs_check_alias): New functions.
22947 (handle_pragma): New function.
22948 (mvs_function_check): New function.
22949 (unsigned_jump_follows_p): Search harder.
22950 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
22951 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
22952 * i370.h (TARGET_VERSION): Delete.
22953 (CPP_SPEC, CPP_PREDEFINES): Delete.
22954 (mvs_label_emitted): Delete.
22955 (TARGET_EBCDIC): Delete.
22956 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
22957 (HANDLE_PRAGMA): Define.
22958 (HARD_REGNO_NREGS): Handle complex modes.
22959 (HARD_REGNO_MODE_OK): Likewise.
22960 (CLASS_MAX_NREGS): Likewise.
22961 (RET_REG): Likewise.
22962 (EXTRA_CONSTRAINT): Define.
22963 (RETURN_IN_MEMORY): True for DImode.
22964 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
22965 (FUNCTION_PROFILER): Delete.
22966 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
22967 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
22968 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
22969 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
22970 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
22971 (ASM_FILE_START): Add "RMODE ANY".
22972 (ASM_OUTPUT_EXTERNAL): Check for aliases.
22973 (ASM_GLOBALIZE_LABEL): Likewise.
22974 (ASM_OUTPUT_LABELREF): Likewise.
22975 (ASM_OUTPUT_COMMON): Likewise.
22976 (PRINT_OPERAND): Handle 'K', 'W', default.
22977 (PRINT_OPERAND_ADDRESS): New.
22978 (Lots of defines): Add support for TARGET_ELF_ABI.
22979 * i370.md (attr length): New. Define for all patterns.
22980 (*): Lots of tweeks to assembly output and constraints.
22982 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
22984 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
22985 Disable patterns performing SImode comparisons with SImode values
22986 if TARGET_POWERPC64 and instruction does not sign-extend or does
22987 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
22988 differ for signed quantities.
22989 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
22990 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
22991 (decrement_and_branch_on_count): Add 64-bit variant.
22993 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22995 * final.c (output_asm_insn): When searching for the matching string
22996 for a given dialect, don't run past the end of the list of
22997 alternatives if there are fewer alternatives in the template than
23000 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
23002 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23003 Removed paragraph about compression of files and size limitation,
23004 duplicated in the FAQ. Use gcc-patches for posting patches.
23005 * gcc.c (main): Updated URL with bug reporting instructions to
23006 gcc.gnu.org. Removed e-mail address.
23007 * system.h (abort): Likewise.
23009 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23011 * Makefile.in (stmp-multilib-sub): Make the files extracted
23012 from $(LIBGCC1) writable.
23014 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
23016 * config/arm/aout.h: Reformat for improved readability.
23018 * config/arm/arm.h: Reformat for improved readability.
23019 Replace uses of fprintf with asm_fprintf where appropriate.
23020 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
23021 function declaration assembler actions.
23022 (NUM_INTS): New macro: Convert from bytes to words.
23023 (NUM_REGS): New macro: Compute number of registers required to
23024 hold a quanitity of tyep MODE.
23025 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23027 (NUM_ARG_REGS): New macro: The number of argument registers
23029 (ARG_REGISTER): New macro: Compute the register number of the Nth
23031 (LAST_ARG_REGNUM): New macro: The number of the last argument
23033 (SP_REGNUM): New macro: Register number of the stack pointer.
23034 (FP_REGNUM): New macro: Register number of the frame pointer.
23035 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23036 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23037 CUMULATIVE_ARGS so that it counts registers not bytes.
23039 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23041 Replace uses of fprintf with asm_fprintf where appropriate.
23042 (output_ascii_pseudo_op): Replace with version from thumb.c
23044 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23046 * config/arm/elf.h (CPP_PREDEFINES): Replace with
23047 SUBTARGET_CPP_SPEC.
23048 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23049 (ASM_FILE_START): Emit ASM_APP_OFF.
23051 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
23053 * pa.c (compute_frame_size): Round frame according to
23054 STACK_BOUNDARY rather than a hardwired value.
23056 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23058 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23060 * configure: Rebuilt.
23062 * configure.in (hppa*-*-linux*): New configuration.
23063 * configure: Rebuilt.
23064 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23065 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23066 * pa/pa-linux.h: New file.
23067 * pa/t-linux: New file.
23068 * pa/xm-linux.h: New file.
23070 * pa.c (hppa_legitimize_address): Change references from SImode to
23071 either Pmode or word_mode as appropriate.
23072 (emit_move_sequence, store_reg, load_reg): Likewise.
23073 (set_reg_plus_d, hppa_expand_prologue): Likewise.
23074 (output_mul_insn): Likewise.
23075 * pa.h (PROMOTE_MODE): Likewise.
23076 (INITIALZE_TRAMPOLINE): Likewise.
23077 (Pmode): Define to word_mode.
23079 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23080 value of 4. Allocate 8 bytes for each FP register save.
23081 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23083 (hppa_expand_prologue): Likewise.
23084 * pa.h (PROMOTE_MODE): Likewise.
23085 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23086 (FUNCTION_ARG_BOUNDARY): Likewise.
23088 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23090 * pa.c (out_of_line_prologue_epilogue): Delete.
23091 (override_options): Remove -mspace related code.
23092 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23093 (compute_frame_size): Only allocate space for register that
23094 actually need to be saved.
23095 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23096 (TARGET_SWITCHES): Remove -mspace, -mno-space
23097 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23098 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
23099 * pa/ee.asm, pa/ee_fp.asm: Delete.
23101 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23103 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23104 directive in column zero.
23106 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
23108 * m68k.c (output_function_prologue): Fix computation of save mask
23109 when generating PIC code.
23111 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
23113 * tree.c (build_type_attribute_variant): Move current_obstack restore
23114 after build_qualified_type call.
23116 1999-07-15 Mark Mitchell <mark@codesourcery.com>
23118 * configure.in: Use t-iris6, even with GNU LD.
23119 * config/mips/iris6gld.h: Fix typo in linker spec.
23120 * config/mips/t-iris6gld: Remove.
23122 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
23124 * rs6000.md (insv, extzv): Remove SImode dependence in named
23125 patterns. Explicitly generate DImode RTL if PowerPC64 and
23127 (insvdi): Reverse start and size in instruction template.
23129 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
23131 * invoke.texi: Typo fixes.
23133 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
23135 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23136 handle at this time instead of silently generating incorrect code.
23137 (gen_imagpart): Likewise.
23139 * reload.c (find_reloads): Emit a USE for a pseudo register without
23140 a hard register if we could not create an optional reload for the
23143 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23145 * c-typeck.c (output_init_element, process_init_element):
23146 When advancing constructor_unfilled_fields for a RECORD_TYPE,
23147 check for nameless bit fields.
23149 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
23151 * regclass.c (scan_one_insn): Notice subregs that change the
23152 size of their operand.
23153 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23155 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
23157 * configure.in (alpha*-*-*): Include alpha/t-ieee.
23158 * configure: Rebuilt.
23159 * alpha/t-ieee: New file.
23161 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
23163 * rs6000.c (find_addr_reg): Do not select r0 as an address
23166 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
23168 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23170 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
23172 * rs6000.md (movsf): Do not force easy FP constants into memory.
23174 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23175 immed_double_const to ensure they are properly truncated then
23178 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23180 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23181 always unless NO_DEBUG is used. Compile this code
23183 (replace_symbols_in_block): Compile it unconditionally.
23185 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
23187 * configure.in (i?86-*-elf*): New target.
23188 * configure: Rebuilt.
23189 * i386/i386elf.h, i386/t-i386elf: New files.
23191 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
23193 * toplev.c (main): Don't complain about saying -gdwarf.
23194 (rest_of_compilation): Remove redundant code.
23196 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
23198 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23200 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
23202 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23203 "Li960R:", to avoid name clash.
23205 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23207 * loop.c (check_dbra_loop): When reversing a loop, delete all
23208 REG_EQUAL notes referencing the reversed biv except those which are
23209 for a giv based on it.
23211 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
23213 * version.c: Drop "gcc-" prefix from version #.
23215 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
23217 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23218 the label if we're being verbose.
23220 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
23222 * m68k.c (output_function_prologue): Add pic register to mask
23223 if live and flag_pic.
23224 (output_function_epilogue): Likewise.
23226 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
23228 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23229 directives in column zero.
23231 * pa/elf.h (ASM_FILE_START): Define.
23232 * pa/som.h (ASM_FILE_START): Include .level directives.
23233 * pa/hpux10.h (ASM_FILE_START): Delete.
23234 * pa/hpux11.h (ASM_FILE_START): Delete.
23236 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23238 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23240 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23241 when reload_out equals reload_in.
23243 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
23245 * invoke.texi (Spec Files): New node: Describe the contents of
23248 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
23250 * invoke.texi (DEC Alpha Options): Put @end table at
23251 beginning of line, to avoid confusing texi2html.
23253 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
23255 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23256 introduced in previous delta.
23258 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23260 * reload1.c (gen_reload): When synthesizing a 3 operand add
23261 sequence, improve test for when to reload OP1 into the reload
23262 register instead of OP0.
23264 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
23266 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23268 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
23270 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23273 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
23275 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23276 (va_dcl): Use __builtin_va_alist_t.
23278 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
23280 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23281 on the permanent_obstack.
23282 * dwarfout.c (output_type): Likewise.
23284 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
23286 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23287 Merged from c-typeck.c and cp/typeck.c.
23288 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23289 Merged into c-common.
23291 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
23293 * c-lex.c (errorcount): Declare it.
23294 (finish_parse): Update errorcount when using CPPLIB.
23296 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
23298 * fixinc/inclhack.def(end_else_label): Double the backslash so
23299 sed gets a chance to see it.
23300 * fixinc/inclhack.sh: regen
23301 * fixinc/fixincl.x: regen
23303 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
23305 Add framework to support armv5 architecture when it becomes
23308 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23309 (arm_arch5): New variable.
23310 (all_architectures): Add armv5 line.
23311 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23312 -march=armv5 is specified on the command line.
23313 (arm_arch5): Export this variable.
23314 * invoke.texi: Document new string accepted by -march= switch for
23317 * config/arm/arm.h: Replace use of constant 12 as a register
23318 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23319 * config/arm/arm.c: Replace use of constant 12 as a register
23320 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23322 * config/arm/elf.h: Tidy up.
23323 * config/arm/coff.h: Tidy up.
23325 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
23327 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23328 * gcc/config/mips/t-iris6gld: New file.
23329 * gcc/config/mips/iris6gld.h: Likewise.
23331 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
23333 * c-decl.c (widest_integer_literal_type_node,
23334 widest_unsigned_literal_type) : New.
23335 (init_decl_processing): Handle/use the two new types.
23336 * c-common.c (type_for_size,type_for_mode) : Same.
23337 * c-lex.c (yylex) : Same.
23338 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23340 * c-tree.h (widest_integer_literal_type_node,
23341 widest_unsigned_literal_type) : New.
23343 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
23345 * dwarfout.c (field_byte_offset): Correctly compute the object's
23346 byte offset for the first bit of a field which crosses an alignment
23347 boundary on a !BYTES_BIG_ENDIAN target.
23349 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
23351 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23354 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
23355 Jeff Law <law@cygnus.com>
23357 * ginclude/varargs.h (va_dcl): Use word_mode for type of
23360 * except.c: Include intl.h.
23361 (expand_eh_return): Set current_function_cannot_inline.
23362 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23363 * function.h (struct function): Add eh_return_stub_label.
23364 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23365 * Makefile.in (except.o): Depend on intl.h.
23367 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
23369 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23370 same as offsettable in cases 1 and 2.
23372 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
23374 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23375 (extlh, extwh): Likewise.
23377 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
23379 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23381 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
23383 * configure.in: Add arm-pe and thumb-pe targets.
23384 * configure: Regenerate.
23386 * thumb.c (arm_naked_function_p): New function: Determines if
23387 a function is naked (has no gcc generated prologue/epilogue).
23388 (is_called_in_ARM_mode): Return true if the func has the
23389 interfacearm attribute.
23390 (output_return): Do not generate a return for naked functions.
23391 (thumb_function_prologue): Do not generate a prologue for
23393 (thumb_expand_prologue): Do not generate a prologue for naked
23395 (thumb_expand_epilogue): Do not generate an epilogue for naked
23397 (arm_valid_machine_decl_attribute): New function, copied from
23398 arm.c: Permit naked and interfacearm attributes.
23400 * config/arm/pe.c: New file: Support code for arm-pe target.
23401 * config/arm/pe.h: New file: Header file for arm-pe target.
23402 * config/arm/tpe.h: New file: Header file for thumb-pe target.
23403 * config/arm/t-thumb-pe: New file: Makefile fragment for
23406 1999-07-01 Mark Kettenis <kettenis@gnu.org>
23408 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23409 -fPIC or -fpic is specified.
23411 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
23413 * expr.c (emit_block_move): Use copy_to_mode_reg for
23414 !TARGET_MEM_FUNCTIONS case too.
23416 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23418 * configure: Rebuilt.
23419 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23420 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
23421 definitions made redundant by dbxelf.h inclusion. Delete
23422 lots of definitions related to assembly output that are
23423 specific to the SOM object format.
23424 * pa.c (output_function_prologue): Do not emit the function's
23426 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23427 * pa-pro.h: Deleted.
23428 * som.h: New file with SOM specific definitions.
23429 * elf.h: New file with ELF specific definitions.
23431 * elfos.h (const_section): Output a tab before assembler directives.
23432 (ctors_section, dtors_section): Likewise.
23433 (ASM_OUTPUT_SECTION_NAME): Likewise.
23435 * pa/pa1.h: Delete unused file.
23437 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
23439 * configure.in (hppa*-hp-hpux11*): New configuration.
23440 * configure: Rebuilt.
23441 * pa/pa-hpux11.h: New file.
23442 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23445 * mips.md (leasi, leadi): New patterns.
23447 * expr.c (emit_block_move): Properly handle case where one of the
23448 block move arguments has a queued increment or decrement.
23449 (clear_storage): Similarly. Fix formatting goof.
23451 1999-06-28 "David O'Brien" <obrien@NUXI.com>
23453 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23454 semicolon from the BSD VA_LIST replacement expression.
23456 * fixinc/inclhack.sh: regen
23457 * fixinc/fixincl.x: regen
23459 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23460 now use the fixincl program.
23462 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
23464 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23465 case. Also make the PIC register call_used.
23467 * m68k.h (FINALIZE_PIC): Delete.
23468 * m68k.c (finalize_pic): Delete.
23470 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
23472 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23475 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
23477 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23479 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
23481 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23483 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
23485 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23487 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
23489 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23491 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
23493 * rs6000.c (output_toc): Always use hex values for floating-point
23494 constants. Store single-precision values in upper-half of TOC
23495 entry in 64-bit mode.
23496 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23497 to final constraints.
23498 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23499 (fctiwz): Improve accuracy of RTL for pattern.
23501 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
23503 * expr.c (expand_expr): Allow RTL_EXPR's through the
23504 MAX_INTEGER_COMPUTATION_MODE checks.
23506 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
23508 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23509 such that MASK_SUPPORT_ARCH is not negative.
23511 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
23513 * loop.c (verify_dominator): Properly handle ADDR_VEC and
23514 ADDR_DIFF_VEC insns that appear inside loops.
23516 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
23517 Jeff Law <law@cygnus.com>
23519 * rs6000.md (movdf_hardfloat32): Revert previous patch.
23520 Handle LO_SUM the same as offsettable in cases 1 and 2.
23521 * rs6000.c (find_addr_reg): Revert previous patch.
23523 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
23525 * system.h (strstr): New external function declaration.
23526 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23527 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23528 * config.in, configure: Rebuilt.
23530 1999-06-24 Tom Tromey <tromey@cygnus.com>
23532 * gcc.c (main): Read user-specified specs files after computing
23533 additional startfile_prefixes.
23535 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
23537 Revert these two patches:
23539 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23540 * loop.c (strength_reduce): When doing biv->giv conversion, update
23541 reg note of NEXT->insn.
23543 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23544 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23546 (recombine_givs): Set ix field after sorting.
23548 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23550 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23551 for the parts of an UNSPEC / UNSPEC_VOLATILE.
23553 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
23555 *fixinc/inclhack.def: Add fix development commentary
23556 (read_ret_type): reactivate and add selection clause
23557 (zzz_*): tweak output file name to match what is used in hackshell.tpl
23558 *fixinc/{fixincl.x|inclhack.sh}: regen
23560 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
23562 * expr.c (expand_expr): STRIP_NOPS before checking against
23563 MAX_INTEGER_COMPUTATION_MODE
23564 (check_max_integer_computation_mode): Likewise.
23566 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
23568 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23570 1999-06-22 Jim Wilson <wilson@cygnus.com>
23572 * expr.c (store_expr): When target is a promoted subreg, return a
23573 promoted subreg as a result.
23575 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
23577 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23579 (dwarf2out_define): Mark unused parameters appropriately.
23580 (gen_unspecified_parameters_die): Ditto.
23581 (gen_subprogram_die): Fix signed/unsigned warnings.
23582 (gen_variable_die): Ditto.
23584 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
23586 * fixinc/inclhack.def(end_else_label): combined else_label
23587 and endif_label and fixed the sed expression.
23588 *fixinc/{fixincl.x|inclhack.sh}: regen
23590 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
23592 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23593 'x' when handling non-offsettable addresses
23595 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
23597 * final.c (shorten_branches): Don't try to split an insn that has
23600 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
23602 * config/mips/mips.c (symbolic_expression_p): New function.
23603 (mips_select_rtx_section): Put symbolic expressions in the
23604 data section, not the read-only data section.
23606 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
23608 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23610 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
23612 * collect2.c (main): Log frame table count.
23613 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23614 (scan_prog_file) [COFF]: Handle frame tables.
23616 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23617 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23618 * alpha/elf.h: Undef them again.
23619 * alpha/vms.h: Remove their definitions.
23621 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23623 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23624 remove the clobber of r0 and change the REG_UNUSED note to
23627 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
23629 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23630 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23631 fits in HOST_WIDE_INT and one uses union to access a long constant
23634 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
23636 * sparc.c (sparc_override_options): Don't allow profiling for
23637 code models other than medlow.
23638 (sparc_function_profiler): New function from old FUNCTION_PROFILER
23639 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23640 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
23641 (sparc_block_profiler): Likewise.
23642 (sparc_function_block_profiler_exit): Likewise.
23643 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23644 (FUNCTION_BLOCK_PROFILER): Likewise.
23645 (BLOCK_PROFILER): Likewise.
23646 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23647 (MCOUNT_FUNCTION): New.
23648 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23649 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23650 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23651 (MCOUNT_FUNCTION): New.
23652 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23653 (BLOCK_PROFILER): Delete.
23654 (MCOUNT_FUNCTION): New.
23656 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
23658 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23660 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23662 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23665 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23668 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23671 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23674 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
23676 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23679 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
23681 * i386/djgpp.h (LIB_SPEC): New.
23682 (STARTFILE_SPEC): New.
23684 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23686 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
23688 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23691 * system.h (WSTOPSIG): New macro.
23693 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
23695 * c-pragma.c (push_alignment): Don't ignore alignments greater than
23697 (insert_pack_attributes): Take into account member natural
23700 * i386/winnt.c (exports_head): New static variable.
23701 (i386_pe_record_exported_symbol): New function.
23702 (i386_pe_asm_file_end): Use.
23703 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23704 symbols to be emitted at end of assembly.
23705 (ASM_DECLARE_OBJECT_NAME): Likewise.
23706 (ASM_DECLARE_FUNCTION_NAME): Likewise.
23708 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23711 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
23713 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23716 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
23718 * haifa-sched.c (sched_analyze_1): Use free_list instead of
23719 zapping reg_last_uses directly.
23720 (sched_analyze_2, sched_analyze_insn): Likewise.
23721 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
23723 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
23725 * rs6000.md (movdf_hardfloat32): Use worst case insn length
23726 attributes for cases 1 and 2.
23728 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
23730 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23733 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
23735 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23737 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
23739 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23740 PIC_OFFSET_TABLE_REGNUM for general alloaction.
23741 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23742 must be stacked if it is used for PIC accesses.
23743 * arm.c (use_return_insn): Handle PIC register specially.
23744 (output_return_instruction): Likewise.
23745 (output_func_{prologue,epilogue}): Likewise.
23746 (output_expand_prologue): Likewise.
23748 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23749 (*strsi_predec): Renamed from *strqi_predec.
23750 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23751 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23753 * arm.c (arm_override_options): Remove warning about PIC code
23754 not being supported.
23756 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
23758 * rs6000.c (find_addr_reg): New function.
23759 * rs6000.h (find_addr_reg): Declare.
23760 (offsettable_addr_operand): Delete.
23761 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23762 from and stores to GPRs.
23764 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
23766 * alpha.c (alpha_expand_block_move): Use get_insns rather than
23767 gen_sequence as argument to emit_no_conflict_block.
23769 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23771 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23772 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23773 *fixinc/fixincl.x: regen
23774 *fixinc/inclhack.sh: regen
23776 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
23778 * added support for -mpcrel (PC relative addressing for m68k)
23779 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
23780 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23781 * m68k.c (print_operand_address): Handle 32-bit PIC case.
23782 (comments for general_src_operand): Add some explanation
23783 about EXTRA_CONSTRAINTS.
23784 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23785 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23786 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23787 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23788 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23789 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23790 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23791 if not already set.
23792 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23793 * m68k.h (TARGET_PCREL): New target flag.
23794 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23795 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23796 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23797 contains a SYMBOL_REF. Relax this constraint during reload, since
23798 we want to use the predicates, not reload's built-in concept of a
23799 valid memory address, to control what insns need reloading.
23800 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23801 operands (essentially 'g', 'm', and 's' under normal circumstances).
23802 * m68k.c (print_operand): Cause printing of pc-relative addresses
23803 to include pc register.
23804 (print_operand_address): Ditto.
23805 (general_src_operand): Accept operands that are not only
23806 general_operands, but are also valid when used as a pc-relative
23808 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
23809 (memory_src_operand): Similar, for memory_operands.
23810 (pcrel_address): New predicate to accept the special case of a
23811 pc-relative address.
23812 * m68k.md (many patterns): Rewrite common SImode, HImode, and
23813 QImode insns to accept *_src_operand instead of *_operand where
23814 pc-relative operands can fit. For example, a pc-relative operand
23815 can be used as a memory source operand for addsi3, but not as a
23816 memory destination.
23817 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
23819 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
23821 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
23822 .thumb_set pseudo op to mark aliases of thumb functions.
23824 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
23826 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
23827 preference to ASM_OUTPUT_DEF, if it is defined.
23829 * tm.texi: Document new, optional target macro
23830 ASM_OUTPUT_DEF_FROM_DECLS.
23832 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23834 * fixincludes: ISCNTL patch
23835 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
23836 (dgux_int_varargs): new for DG/UX
23837 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
23839 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
23841 * invoke.texi (ia32 options): Fix typo.
23843 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23845 * loop.c (strength_reduce): When doing biv->giv conversion, update
23846 reg note of NEXT->insn.
23848 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
23850 * loop.c (move_movables): Note issues with replacing REGs with
23852 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
23854 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
23856 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
23858 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
23859 the reference to `mcount' was not correct for the ELF on FreeBSD.
23861 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23863 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23866 (recombine_givs): Set ix field after sorting.
23868 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
23870 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
23871 to safe to extract a subword out of a REG.
23873 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23875 * sh.md (mulsi3): Don't add a no-op move at the end.
23877 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23879 * cse.c (cse_insn): Don't put hard register source into tables for
23880 the last insn of a libcall.
23882 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23884 * loop.c (strength_reduce): Insert sets of derived givs at every
23885 biv increment, even if it's the only one.
23887 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
23889 * dwarfout.c (add_incomplete_type): New fn.
23890 (output_type): Call it.
23891 (retry_incomplete_types): New fn.
23892 (dwarfout_finish): Call it.
23894 From Eric Raskin <ehr@listworks.com>:
23895 (output_type): Output types for bases.
23897 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23899 * mips.c (mips_output_conditional_branch): Add `break'
23900 between `default' label and `close braces'.
23902 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
23904 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
23905 specifications and make it realistic.
23906 (LIB_SPEC): Likewise.
23908 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
23910 * config/mips/mips.c (mips_secondary_reload_class): Check for
23911 (PLUS (SP) (REG)) and return appropriate register class.
23912 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
23913 Handle (PLUS (SP) (REG)).
23914 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
23915 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
23916 of emit_insn for tablejump.
23918 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
23920 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
23921 asm_fprintf format string by itself.
23922 (output_function_profiler): Likewise.
23924 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
23926 * combine.c (simplify_logical, case AND): Only call
23927 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
23928 or the constant is positive.
23930 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
23932 * configure.in: Fix typo in rs6000-ibm-aix4 case.
23933 * configure: Regenerate.
23935 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
23937 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
23938 require a sub-version #.
23939 * configure: Rebuilt.
23941 1999-06-14 Robert Lipe (robertlipe@usa.net)
23943 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
23945 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
23947 * c-typeck.c (process_init_element): Detect excess elements in
23948 char array initializer.
23950 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
23952 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
23954 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
23956 * invoke.texi (Option Summary): Add -fpermissive flag.
23958 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
23960 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
23961 that require PIC code sequences.
23963 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
23965 * configure.in: Add new target: thumb-elf.
23966 * configure: Regenerate.
23967 * config/arm/t-thumb-elf: New file: Makefile fragment for
23969 * config/arm/telf.h: New file: Header file for thumb-elf
23972 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
23974 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
23975 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
23976 initializers is some circumstances.
23978 * fixinc/inclhack.def (endif_label): Add additional selector for
23979 more bogus stuff after #endif statements.
23980 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
23982 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
23984 * i386/cygwin.h (SET_ASM_OP): Define.
23986 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
23988 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
23990 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23992 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
23995 * sh.md (ic_invalidate_line_i): Remove second alternative.
23997 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23999 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24000 test for the presence of valid prototypes. Delete bypass expr.
24001 (ioctl_fix_ctrl): Correct the selection expression.
24002 (no_double_slash): Correct quoting rules
24003 *fixinc/fixincl.x: regen
24004 *fixinc/inclhack.sh: regen
24006 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
24008 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24010 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24012 * rs6000.md (movsi_got_internal_mem): Delete.
24013 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24014 (GOT_TOC_REGNUM): Delete.
24015 (PIC_OFFSET_TABLE_REGNUM): Define.
24016 (FINALIZE_PIC): Disable.
24017 * rs6000.c (rs6000_got_register): New code for fixed pic register.
24018 (rs6000_replace_regno): Delete.
24019 (rs6000_finalize_pic): Likewise.
24020 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24022 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24024 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24025 is a note; use <= for the compare; advance P while it is
24028 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
24030 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24031 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24033 * varasm.c (remove_from_pending_weak_list): Verify t->name
24034 is non-NULL before passing it to strcmp.
24036 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24038 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24039 the typed arguments are not part of a comment
24040 (ioctl_fix_ctrl): Added a purpose comment
24041 *fixinc/fixincl.x: regenerate
24042 *fixinc/inclhack.sh: regenerate
24044 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24046 * invoke.texi: Add C4x invocation docs.
24048 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24050 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24052 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24054 (c4x_legitimize_reload_address): New function.
24055 * config/c4x/c4x.md: Update docs.
24057 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
24059 * fixincludes: Avoid removing '.'.
24060 * fixinc/fixinc.svr4: Likewise.
24061 * fixinc/fixinc.winnt: Likewise.
24062 * fixinc/inclhack.tpl: Likewise.
24063 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24065 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24067 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24069 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24071 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
24073 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24076 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
24078 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24079 * configure: Regenerate.
24081 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
24083 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24086 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
24088 * fixinc/inclhack.def (avoid_bool): Also catch
24089 "typedef [unsigned] int bool".
24090 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24092 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24093 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24094 * configure: Rebuilt.
24096 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
24098 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24099 such that we can override its definitions if necessary.
24100 (CPP_SPEC): New define. Support processor specific predefines via
24102 (CC1_SPEC): New define. Support processor specific compiler
24103 options via %(cc1_cpu).
24104 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
24107 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24109 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24110 between sed's -e flag, and the open-quote following it.
24111 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24113 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
24114 Jeffrey A Law (law@cygnus.com)
24116 * varasm.c (assemble_start_function): Remove the function
24117 from the pending weak decls list when we define a function.
24118 (assemble_variable): Similarly for variables.
24119 (weak_finish): Ignore items on the list with a NULL name.
24120 (remove_from_ending_weak_list); New function to "remove" an item
24121 from the pending weak declarations list.
24123 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24125 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24127 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
24129 * c-lex.c (GETC): Redefine to call getch.
24130 (UNGETC): Redefine to call put_back.
24131 (putback_buffer): New structure type.
24132 (putback): New static structure.
24133 (getch): New function.
24134 (put_back): New function.
24135 (yylex): Replace unused bytes from bad multibyte character.
24137 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
24139 * cpplib.c (do_define): Cast `alloca' return value.
24140 (do_include, do_undef, do_pragma): Likewise.
24141 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24143 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24144 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24146 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
24148 * sparc.md (abstf2): This should be an expand.
24149 (split after abstf2_notv9): Fix mode.
24150 (abstf2_hq_v9): New pattern.
24151 (abstf2_v9): Only use when no hard quad.
24152 (absdf2_v9): Fix if target is not the same as source.
24153 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24154 Add correct output constraints.
24156 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
24158 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24159 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24161 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
24163 * mips.h (mips_output_conditional_branch): New function.
24164 (mips_adjust_insn_length): Likewise.
24165 (ASSEMBLER_SCRATCH_REGNUM): New macro.
24166 (ADJUST_INSN_LENGTH): Likewise.
24167 * mips.c (print_operand): Add `F' and `W' for floating-point
24168 comparison opcodes.
24169 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24171 (mips_adjust_insn_length): New function.
24172 (mips_output_conditional_branch): New function.
24173 * mips.md (length): Adjust attribute definition to handle
24174 conditional branches. Change lengths to bytes, rather than
24175 instructions throughout. Remove length attribute from
24176 instructions whose length is four bytes, and rely on the default
24178 (dslot): Fix typo in comment.
24179 Reword conditional branch patterns to use
24180 mips_output_conditional_branch.
24182 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
24184 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24185 (LIB_SPEC): Likewise.
24186 Link with -lprof1_r for -g/-pg.
24188 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24190 * loop.c (check_dbra_loop): Fix change of Jan 19.
24192 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
24194 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
24195 (STARTFILE_SPEC): Define, override the svr4.h version.
24196 (ENDFILE_SPEC): Likewise.
24198 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
24200 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24201 * fixinc/fixincl.x: Regenerated.
24202 * fixinc/inclhack.sh: Regenerated.
24204 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24206 * sh.c (barrier_align): Don't return early for normal branch/barrier
24207 when optimizing for SH2.
24209 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
24211 * i386/udk.h (LINK_SPEC): Correct linker search path for
24214 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24216 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24217 (braf_label_ref_operand): Delete.
24218 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24219 * sh.md (casesi_jump_2): Operand1 is now the inside of a
24220 label_ref, and has no predicate.
24221 The patten has a predicate to guard against invalid substitutions.
24222 (dummy_jump): Delete.
24223 (casesi): Update use of casesi_jump_2.
24225 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24227 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24228 *fixinc/fixincl.x: regenerate
24229 *fixinc/inclhack.sh: regenerate
24231 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
24233 * dwarf2out.c (add_incomplete_type): New fn.
24234 (gen_struct_or_union_type_die): Call it.
24235 (retry_incomplete_types): New fn.
24236 (dwarf2out_finish): Call it.
24238 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
24240 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24241 current block starts with a CODE_LABEL and ends with a CALL and
24242 we can not find all the argument setup instructions for the CALL.
24244 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
24246 Revert this change:
24247 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24248 something is a candidate for optimize_bit_field_compare.
24250 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24252 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24254 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
24256 * alpha.c (override_options): Thinko in last patch.
24258 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24259 (LIB_SPEC): Recognize -pthread.
24261 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
24263 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24264 definition in config/arm/coff.h
24265 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24267 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24269 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24270 fixes that need "file=xxx\n" prepended before invocation
24271 (start_fixer - new): starting the fixer process is complex enough
24272 to warrent its own routine. It prepends the "file=xxx\n" stuff.
24273 (process): uses the new routine; omit usage of putenv()
24274 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24275 * fixinc/fixincl.x: regenerate
24277 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
24279 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24280 and version #s (1.1 -> 2.96) as needed.
24281 * README.g77: Kill way out of date file in the toplevel directory.
24283 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
24285 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24286 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
24287 * configure: Rebuilt.
24288 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24289 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24290 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24291 (SWITCH_TAKES_ARG): Likewise.
24292 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24293 * config/t-freebsd: Moved from config/i386/ so it can used for all
24296 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
24298 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24300 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
24302 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24303 * configure: Rebuilt.
24305 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
24307 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24308 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24309 * rs6000/rs6000.c (rs6000_file_start): Use putc.
24310 (rs6000_output_load_toc_table): Same.
24311 (output_prolog, output_mi_thunk): Same.
24312 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24313 (ASM_GLOBALIZE_LABEL): Use putc.
24315 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
24317 * alpha.md (reload_*_help): New patterns and splitters.
24318 (reload_*): Use them.
24319 (mov[qh]i): Likewise.
24321 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
24323 * cccp.c (handle_directive): Handle backslash-newlines in quoted
24326 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
24328 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24330 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
24332 * flow.c (mark_regs_live_at_end, insn_dead_p,
24333 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24334 and HARD_FRAME_POINTER_REGNUM special treatment if reload
24335 hasn't run or the frame pointer is needed.
24336 * haifa-sched.c (attach_deaths): Likewise.
24337 * sched.c (attach_deaths): Likewise.
24339 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
24341 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24342 calculate_can_reach_end returns nonzero.
24344 * configure.in (native gas tests): Search for an assembler in the
24345 same manner that the installed compiler will.
24346 * configure: Rebuilt.
24347 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24349 * alias.c (find_base_term): Improve handling of addresses
24350 constructed from binary operations.
24352 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
24354 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24356 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
24358 * function.h (cleanup_label, frame_offset): Declare.
24359 (tail_recursion_label, tail_recursion_reentry): Likewise.
24360 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24361 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24362 (tail_recursion_label, tail_recursion_reentry): Likewise.
24363 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24365 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
24367 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24369 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24370 (MAX_OFILE_ALIGNMENT): Define.
24372 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
24374 * fixincl.c: Replace local include scheme with #includes of
24375 gansidecl.h and system.h.
24376 * procopen.c: Likewise.
24377 * server.c: Likewise.
24379 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
24381 * i386/t-dgux (EXTRA_PARTS): Add crti.o
24382 (crti.o): Add build rule and dependencies.
24383 * fixinc/fixinc.dgux: Use modified _int_varargs.h
24385 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24387 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24388 (LIB_LINUX_SPEC): Likewise.
24389 (LIB_LINUX_SPEC): Add support for -pthread
24390 (CPP_OS_LINUX_SPEC): Likewise.
24391 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24394 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
24396 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24398 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24399 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24400 for IEEE math and CC_FCOMI.
24401 (put_jump_code): No IEEE if CC_FCOMI is set.
24403 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24405 * fold-const.c (fold_truthop): Make the field reference unsigned
24406 when converting a single bit compare.
24408 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24410 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24412 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
24414 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24415 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24418 * reload.c (push_reload): Do not call remove_address_replacements
24419 when presented with identical optional reloads.
24421 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
24423 * alpha.h (MASK_FIX, TARGET_FIX): New.
24424 (MASK_*): Reorganize constants.
24425 (CPP_AM_FIX_SPEC): New.
24426 (TARGET_SWITCHES): Add FIX.
24427 (EXTRA_SPECS): Likewise.
24428 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24429 (SECONDARY_MEMORY_NEEDED): Likewise.
24430 (REGISTER_MOVE_COST): Likewise.
24431 * alpha.c (override_options): Add FIX support. Always use
24432 ALPHA_TP_PROG for ev6.
24433 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24434 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24435 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24437 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
24439 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24440 something is a candidate for optimize_bit_field_compare.
24442 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
24444 * gcc.texi (Passes): Document branch-shortening.
24445 * invoke.texi (Debugging Options): Document the fact that `-dp'
24446 outputs length information for instructions.
24448 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
24450 * flow.c: Revert previous delta.
24452 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
24454 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24455 FRAME_POINTER_REGNUM.
24456 (mark_set_1): Ditto.
24457 (mark_used_regs): Ditto.
24459 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
24461 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24462 (GOT_PCREL): New macro. Define to 1 if not already defined.
24463 * arm/elf.h (GOT_PCREL): Define to 0.
24464 * arm.c (arm_finalize_pic): Take into account the setting of
24467 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
24469 * output.h (STRIP_NAME_ENCODING): Provide default definition.
24470 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24472 * flow.c (mark_set_1): Do not record BLKmode stores as dead
24473 store elimination candidates.
24475 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
24477 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24480 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
24482 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24483 Add use of x-aix41-gld.
24485 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
24487 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24488 (ASM_OUTPUT_DESTRUCTOR): Define.
24490 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
24492 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24493 last CODE_LABEL in a loop if we have previously passed a jump
24494 to the top of the loop.
24496 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
24498 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24499 applying Philip's patch.
24501 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
24503 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24506 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
24508 * loop.c (strength_reduce): Grow reg_single_usage as needed.
24510 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
24512 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24513 Also remove a useless comment.
24515 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24517 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
24519 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
24521 * collect2.c (main): Only generate import or export file and add
24522 to link arguments if non-empty. Use xmalloc not alloca.
24523 (write_{export,import}_file): Delete.
24524 (write_aix_file): New function.
24525 (locatelib): Use xmalloc not malloc.
24526 (GCC_OK_SYMBOL): Do not check type if aix64.
24528 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
24530 Based on patch by Scott Bambrough and Pat Beirne:
24531 * config/arm/arm.c (making_const_table): New variable.
24532 * config/arm/arm.h (making_const_table): Declare.
24533 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24535 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24536 Keep track of when we are building the constant table.
24538 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
24540 * config/arm/arm.c (arm_override_options): Fix erroneous warning
24543 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
24545 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24548 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
24550 * tm.texi (FUNCTION_ARG): Correct description of a stack element
24553 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
24555 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24557 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24559 * rs6000.c (output_mi_thunk): Enable full support again.
24561 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24563 * sh.h (BRANCH_COST): Define.
24565 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
24567 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24569 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
24571 * function.c (assign_stack_local): Align stack slot propertly.
24572 (assign_outer_stack_local): Likewise.
24574 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
24576 * expr.h (lang_expand_constant): Declare.
24577 * toplev.c (lang_expand_constant): Define it.
24578 * varasm.c (output_constant): Use it.
24580 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24582 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24583 Change function definitions to K&R style.
24585 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24587 * fixinc/fixincl.c: We must not ignore SIGCLD now.
24589 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
24591 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24592 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24593 (several places): omit static initialization
24594 (process): use single fd, since only the read fd is used
24595 * fixinc/gnu-regex.c: define 'const' away, if not supported
24596 * fixinc/procopen.c(several places): omit static initialization
24597 * fixinc/server.c: define 'volitile' away, if not supported
24599 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24601 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24602 asm_fprintf and %L to generate the label name.
24603 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24604 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24606 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
24608 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24609 insn for a conditional jump can not be found.
24611 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
24613 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24614 on variables in specific sections other than .sbss and .sdata.
24616 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
24618 * stmt.c (expand_return): Call start_cleanup_deferral and
24619 end_cleanup_deferral around conditional code.
24621 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24623 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24624 filename lists. Utilizes new "krstr" AutoGen function.
24625 * fixinc/fixincl.x: Rebuilt.
24627 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
24629 * i386.c (output_float_compare): Avoid GNU-C extensions.
24631 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
24633 * version.c: Bump to distinguish mainline tree from the
24636 See ChangeLog.1 for earlier changes.