1 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
3 * emit-rtl.c (try_split): Avoid infinite loop if the split
4 results in a sequence that contains the original insn.
6 2000-04-13 Andreas Jaeger <aj@suse.de>
8 * config/mips/mips.c (expand_block_move): Pass alignment
9 argument to move_by_pieces in bits, not bytes.
11 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
12 __pic__ for little endian.
14 2000-04-13 Andreas Jaeger <aj@suse.de>
16 * config/i386/i386-protos.h: Add prototype for
17 uno_comparison_operator.
19 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
21 * alias.c (nonlocal_reference_p): Take a care for
22 CALL_INSNS's fusage field.
23 * calls.c (ECF_PURE): New flag.
24 (emit_call_1): Handle ECF_PURE calls.
25 (initialize_argument_information): Unset ECF_PURE flag too.
26 (precompute_arguments): Precompute for ECF_PURE too.
27 (expand_call): Handle ECF_PURE calls too.
28 (emit_library_call_value_1): Rename no_queue argument to
29 fn_type, accept value of 2 as pure function.
30 (emit_library_call_value, emit_library_call): Rename no_queue argument
32 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
34 * tree.h (DECL_IS_PURE): New macro.
35 (struct tree_decl): Add pure_flag.
36 * c-common.c (enum attrs): Add attribute "pure".
37 (init_attributes): Initialize attribute "pure"
38 (decl_attributes): Handle attribute "pure".
39 * extend.texi (Attribute "pure"): Document.
40 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
42 (flags_from_decl_or_type): Support attribute "pure".
44 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
46 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
47 the token except for numbers and identifiers.
49 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
51 * i386.c (ix86_expand_binary_operator,
52 ix86_expand_unary_operator): Check no_new_pseudos
53 instead of reload_in_progress and reload_completed.
54 (ix86_split_ashldi, ix86_split_ashrdi,
55 ix86_split_lshrdi): Check no_new_pseudos instead
58 2000-04-12 Jeffrey A Law (law@cygnus.com)
60 * function.c (purge_addressof): Unshare any shared rtl created by
61 purge_addressof and its children.
63 2000-04-12 Mark Mitchell <mark@codesourcery.com>
65 * function.c (aggregate_value_p): VOID_TYPE nodes are never
68 2000-04-05 Andreas Jaeger <aj@suse.de>
70 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
71 not compiling PIC code, add flags for mabi=64.
72 (SUBTARGET_CPP_SIZE_SPEC): New.
73 (SUBTARGET_CPP_SPEC): New.
74 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
75 for MIPS/Linux and lots of code needs these defines.
77 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
79 * reorg.c (fill_slots_from_thread): Check side_effects_p when
80 trying the "opposite arithmetic" approach.
82 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
84 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
85 (struct sh_args): Add new field force_mem.
86 (INIT_CUMULATIVE_ARGS): Initialize it.
87 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
89 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
91 (expand_call): Do not reverse args in "equal from" field.
92 (emit_library_call_value_1): Emit_libcall_block for const and pure
95 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
97 * reload1.c (reload_combine): Don't enable optimization for fixed
98 registers when encountering a BARRIER.
100 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
102 * builtins.c (expand_builtin_memcmp): Do expansion even with
103 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
105 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
106 stack is propertly aligned; add sanity checking for aligned
108 (expand_library_call_value_1): Add sanity checking for aligned
111 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
113 * calls.c (emit_library_call_value_1): Change 3rd arg to
114 locate_and_pad_parm to disregard the setting of partial.
116 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
118 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
120 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
121 CALL_INSN from the normal case.
123 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
125 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
126 New global variables.
127 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
129 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
131 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
132 TARGET_ADD_ESP_8): New macros.
133 * i386.md: Add peep2s to convert esp adjustments to push and pop
135 (pushsi_prologue, popsi_epilogue): New patterns.
137 2000-04-12 Jakub Jelinek <jakub@redhat.com>
139 * real.c (toe64): Remove stale #endif from the last change.
141 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
143 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
144 * real.c (toe64): Revert previous change.
146 2000-04-12 Jakub Jelinek <jakub@redhat.com>
148 * objc/objc-act.c: Include ggc.h.
149 (objc_tree_index, objc_global_trees): Convert most of the
150 static tree variables into a static array with previous names
152 (objc_ellipsis_node): New variable.
153 (lang_init): Call objc_act_parse_init and c_parse_init.
154 Create objc_ellipsis_node.
155 (build_selector_translation_table): Use objc_ellipsis_node instead
157 (hack_method_prototype): Likewise.
158 (get_arg_type_list): Likewise.
159 (start_method_def): Likewise.
160 (continue_method_def): Likewise.
161 (gen_method_decl): Likewise.
162 (ggc_mark_imp_list): New function.
163 (ggc_mark_hash_table): New function.
164 (objc_act_parse_init): New function.
165 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
166 * c-parse.in (c_parse_init): For objc add roots of objc specific
167 local tree variables.
168 * objc/objc-parse.y: Rebuilt.
169 * objc/objc-parse.c: Rebuilt.
170 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
172 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
174 * cse.c (delete_trivially_dead_insns): Also delete insns
175 that copy a register to itself where the destination is
178 2000-04-11 Richard Henderson <rth@cygnus.com>
180 * flow.c (struct propagate_block_info): Add new_dead, new_live.
181 (propagate_block): Initialize them. Use them in parallel instead
182 of one tmp variable, ie revert much of the 0408 and 0407 functional
183 changes, but keep the structural changes.
184 (mark_set_regs): Take new_dead from propagate_block_info instead.
185 (mark_set_1, mark_set_reg): Likewise.
186 (mark_used_regs): Likewise with new_live.
187 (mark_used_reg): Likewise. Revert 0408 change.
189 2000-04-11 Nick Clifton <nickc@cygnus.com>
191 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
193 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
195 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
197 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
198 const section to output a CONSTRUCTOR based on the same conditions
201 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
203 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
204 * pa/pa-protos.h (output_call): Add additional argument indicating
205 if the call is a sibling/tail call.
206 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
207 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
208 (function_arg, function_arg_partial_nregs): Likewise
209 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
210 (emit_move_sequence): Zero extend certain constants as needed
212 (compute_zdepdi_operands, output_64bit_and): New functions.
213 (output_64bit_ior, function_arg): Likewise.
214 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
215 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
216 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
217 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
218 (output_bvb): Likewise.
219 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
220 (output_call): New argument 'sibcall'. Generate sibcall sequences
222 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
223 (ouput_arg_descriptor): Do not emit argument descriptors for
225 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
227 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
228 (FUNCTION_OK_FOR_SIBALL): Define.
229 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
230 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
231 (CPP_SPEC): Use new spec infrastructure.
232 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
233 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
234 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
235 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
236 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
237 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
238 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
239 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
240 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
241 (FUNCTION_ARG); Call out to C code.
242 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
243 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
244 (MIN_UNITS_PER_WORD): Likewise.
245 * pa/pa.md (cmpdi): New expander.
246 (scc patterns, movstrsi): Not available for TARGET_64BIT.
247 (64bit conditional arithmetic): New patterns.
248 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
249 (movsicc): Not available if modes on all the operands to not match.
250 (movdicc): New expander and associated patterns.
251 (64bit branches): New patterns.
252 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
253 (pre_ldd, post_std): New patterns.
254 (64bit addil, load low part): New patterns.
255 (special movsf constant): Not available for TARGET_64BIT.
256 (movsf, movdf expanders): Force constants into memory.
257 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
258 (64bit movdf/movdi patterns): New patterns.
259 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
261 (extendqidi2, extendhidi2, extendsidi2): Similarly.
262 (adddi3 expander): Allow "arith_operand" for second input.
263 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
264 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
265 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
266 (muldi3): New expander for TARGET_64BIT.
267 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
269 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
270 patterns for TARGET_64BIT.
271 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
272 patterns for TARGET_64BIT.
273 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
274 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
275 (sibcall_epilogue): New expander.
276 (casesi): Tweak for TARGET_64BIT.
277 (call expanders): Set & use the outgoing argument pointer. Use the
278 64bit call patterns as needed. Add additional arg to output_call.
279 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
280 (sibcall, sibcall_internal_symref): New expanders.
281 (sibcall_value, sibcall_value_internal_symref
282 (interspace_jump): Turn into an expander + matching patterns.
283 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
284 * pa/pa64-regs.h: Eliminate trigraph sequences.
285 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
287 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
289 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
290 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
291 cpp_token with cpp_ttype everywhere.
292 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
293 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
294 CPP_BUF_COL. Line and column numbers are unsigned int, not
296 * cpplex.c (cpp_buf_line_and_col): Delete.
297 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
298 'long lineno' to 'unsigned int lineno'.
299 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
301 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
303 * extend.texi: ISO C99 is not a draft anymore.
304 * invoke.texi: ISO C++ is not a draft anymore.
305 * cpp.texi: __cplusplus is required by the ISO standard.
307 * extend.texi (-fthis-is-variable): Undocument.
308 * flags.h (warn_template_debugging): Remove declaration.
309 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
310 -Wenum-clash, -Wtemplate-debugging): Undocument.
312 2000-04-10 Nick Clifton <nickc@cygnus.com>
314 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
316 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
318 (ARM_SIGN_EXTEND): Use HOST_UINT.
319 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
320 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
321 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
322 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
324 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
325 (arm_gen_constant): Use HOST_UINT.
326 (arm_canonicalize_constant): Use HOST_UINT.
327 (arm_reload_in_hi): Use HOST_UINT.
328 (arm_reload_out_hi): Use HOST_UINT.
329 (output_multi_immediate): Use HOST_UINT.
330 (int_log2): Use HOST_UINT.
331 (arm_poke_function_name): Use HOST_UINT.
332 (arm_output_epilogue): Use arm_volatile_func().
333 (output_thumb_prologue): Use arm_strip_name_encoding().
335 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
337 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
338 of sequence point problems.
340 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
342 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
344 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
346 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
348 * sbitmap.h: Whitespace changes and use upper-case macro args.
349 (struct simple_bitmap_def): All sizes now unsigned.
350 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
351 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
352 (sbitmap_vector_alloc): Parms and local vars now unsigned.
353 (sbitmap_zero): Cast bzero arg to PTR.
354 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
355 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
356 loop to make structure clearer.
357 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
358 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
359 (sbitmap_a_and_b_or_c): Likewise.
360 (sbitmap_intersection_of_succs): Minor cleanups.
361 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
362 (sbitmap_union_of_preds): Likewise.
363 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
364 (debug_sbitmap): New function.
366 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
367 * c-typeck.c (convert_for_assignment): Likewise.
369 * expmed.c (init_expmed): Don't free objects we make.
370 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
372 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
373 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
375 * gcse.c (expr_hash_table_size): Now unsigned.
376 (compute_ae_gen): Local variable `i' now unsigned.
377 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
378 (compute_transout, hoist_code): Likewise.
379 (compute_local_properties): Likewise, also hash_table_size.
380 (alloc_expr_hash_table): N_INSNS now unsigned.
381 (delete_null_pointer_checks): Mark arg F as unused.
383 * regrename.c: Minor cleanups, including chang some variables
386 2000-04-10 Neil Booth <NeilB@earthling.net>
388 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
390 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
392 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
394 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
395 __classof__, and __headof__ from the list of gnu keywords.
396 (-ansi): Remove -foperator-names from list of implied options.
397 Do not call it ANSI C++.
398 (-foperator-names): Document as -fno-operator-names.
400 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
402 * cpphash.c (timestamp): Delete.
403 (del_HASHNODE): If type is T_MCONST, free value.cpval.
404 (special_symbol): Remove unnecessary braces. Remove
405 T_VERSION. Treat T_STDC like T_CONST unless
406 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
407 when one is encountered, then convert them into T_MCONST
409 * cppinit.c (builtin_array): version_string is T_MCONST.
410 __STDC__ has a "1" in its cpval. Don't have a terminator
411 entry. Clean up which entries are dumped.
412 (initialize_builtins): Only __STDC__ gets the special
413 -traditional treatment. Count the length of builtin_array.
414 Render version_string here.
415 * cpphash.h: Remove T_VERSION. Add T_MCONST.
416 * cpplib.h (struct cpp_reader): Remove timebuf.
418 2000-04-09 Richard Henderson <rth@cygnus.com>
420 * genrecog.c (pred): Update comparison_operator for the unordered
423 * config/i386/i386.c (no_comparison_operator): Disallow unordered
425 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
426 (uno_comparison_operator): New.
427 (put_condition_code): Handle UNORDERED/ORDERED.
428 (unsigned_comparison): Likewise.
429 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
430 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
431 (ix86_expand_fp_compare): Use them. Take scratch as argument,
432 update all callers. Handle all 8 unordered operators.
433 (ix86_expand_setcc): Lose the unordered argument, update all callers.
434 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
435 * config/i386/i386.h (PREDICATE_CODES): Update.
436 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
437 (ix86_expand_branch, ix86_expand_setcc): Update.
438 * config/i386/i386.md (sunordered, sordered): New.
439 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
440 (bunordered, bordered): New.
441 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
442 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
443 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
445 2000-04-09 Philip Blundell <philb@gnu.org>
447 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
449 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
451 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
452 fix_truncxfhi2): New patterns.
453 * i386.c (output_fix_trunc): Handle converting to HImode.
455 2000-04-08 Alex Samuel <samuel@codesourcery.com>
457 * ssa.c (convert_to_ssa): Eliminate dead code when calling
459 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
460 (for_each_successor_phi): Change parameter to basic_block.
461 (coalesce_regs_in_successor_phi_nodes): Likewise.
462 (coalesce_regs_in_copies): Likewise.
463 (compute_coalesced_reg_partition): Use basic_block instead of index.
464 * rtl.h (convert_to_ssa): Delete.
465 (convert_from_ssa): Likewise.
466 (successor_phi_fn): Likewise.
467 (for_each_successor_phi): Likewise.
468 (in_ssa_form): Likewise.
469 * basic-block.h (convert_to_ssa): Moved from rtl.h.
470 (convert_from_ssa): Likewise.
471 (successor_phi_fn): Likewise.
472 (in_ssa_form): Likewise.
473 (for_each_successor_phi): Likewise. Change parameter to basic_block.
474 * flow.c (calculate_global_regs_live): Pass a basic_block to
475 for_each_successor_phi.
477 2000-04-08 Richard Henderson <rth@cygnus.com>
479 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
480 was modified in the current insn.
482 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
484 * arm/thumb.md: Delete.
485 * arm/thumb-protos.h: Delete.
487 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
489 Merge changes from merged-arm-thumb-backend-branch onto trunk.
491 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
493 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
496 * arm.md (nop): Use the standard RTL expression. Don't code as a
498 (*arm_nop, *thumb_nop): Delete.
500 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
501 constants. Use casts instead.
502 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
503 output_multi_immediate, arm_poke_function_name): Likewise.
504 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
505 MASK_RETURN_ADDDR): Likewise.
507 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
509 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
512 * arm.md (eh_epilogue): New function.
513 * arm.h (struct machine_function): Move to here ...
514 * arm.c: ... from here.
515 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
516 (thumb_exit): Extra parameter eh_ofs. All callers changed.
517 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
519 2000-03-30 Nick Clifton <nickc@cygnus.com>
521 * config/arm/semi.h (ASM_SPEC): Restore definition.
522 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
524 * config/arm/elf.h (ASM_SPEC): Restore definition.
525 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
527 * config/arm/arm.h (ASM_SPEC): Remove definition.
528 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
530 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
532 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
534 2000-03-24 Nick Clifton <nickc@cygnus.com>
536 Various formating tidyups, elimination of compile time
537 warnings and synchronisation with internal sources:
539 * config/arm/arm-protos.h (assemble_align): Add prototype.
540 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
541 (gen_comapre_reg): Rename to arm_gen_compare_reg.
542 (arm_return_addr_rtx): Rename to arm_return_addr.
544 * config/arm/arm.c: Include except.h.
545 Define shorter typenames for strict minipool_node and struct
547 (arm_return_in_memory): For WinCE return all structures <= 32 bits
549 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
550 (gen_comapre_reg): Rename to arm_gen_compare_reg.
552 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
554 (ASM_SPEC): Define if not already defined.
555 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
557 * config/arm/arm.md: Rename references to gen_rotated_half_load to
558 arm_gen_rotated_half_load, and references to gen_comapre_reg to
560 (indirect_jump): Only accept register operands.
561 (load_indirect_jump): Keep this pattern since combine can generate
564 * config/arm/coff.h: Include aout.h.
565 (MULTILIB_DEFAULTS): Only define if not already defined.
567 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
568 into arm.h (so that COFF ports can support thumb based aliases).
569 (ASM_SPEC): Move definition into arm.h
571 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
573 (ASM_SPEC): Move definition to arm.h
575 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
577 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
578 for entries in the .bss section
580 2000-03-23 Nick Clifton <nickc@cygnus.com>
582 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
583 to thumb_far_jump_used_p.
585 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
586 single integer parameter.
588 * config/arm/arm.c (struct machine_function): Add two new
589 fields, 'far_jump_used' and 'arg_pointer_live'.
590 (thumb_far_jump_used_p): Once the decision has been made that
591 far jumps might be used, always return true.
592 If being called from the initial elimination offset macro then
593 do not bother to perform the test if the arg pointer is not
595 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
596 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
598 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
600 * arm.c (output_return_instruction): Handle more cases where we can
601 return from a function with an ldr instruction.
602 (arm_output_epilogue): Likewise.
604 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
605 if we need to push a large stack frame and there are no callee-saved
608 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
609 in ARM code if the frame pointer has been eliminated.
611 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
612 unspec_volatile arguments to avoid duplicates.
613 (consttable_1, consttable_2): Fixes for big-endian mode.
615 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
618 Re-write constant pool code.
619 * arm.c (minipool_node, minipool_fix): New types.
620 (minifix): Delete type.
621 (arm_add_minipool_constant): Delete.
622 (arm_compute_minipool_offsets, arm_find_barrier,
623 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
624 (get_jump_table_size): Now returns HOST_WIDE_INT.
625 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
627 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
628 (assign_minipool_offsets, arm_print_value): Likewise.
629 (dump_minipool): Rewrite.
630 (arm_barrier_cost): New function.
631 (create_fix_barrier): New function.
632 (push_minipool_barrier): New function.
633 (push_minipool_fix): Record additional information about the fixup
635 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
636 check the mode of what needs fixing.
637 (arm_reorg): Rewrite.
639 2000-03-08 Nick Clifton <nickc@cygnus.com>
641 * config/arm/arm.md (indirect_jump): Force constant addresses into
644 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
646 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
648 2000-02-24 Nick Clifton <nickc@cygnus.com>
650 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
651 adjust is word aligned.
652 (thumb_expand_epilogue): Make sure that stack adjust is word
655 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
657 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
659 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
660 pointer relative addresses.
662 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
664 * arm.c (find_barrier): Find the last barrier within the allowed
667 2000-02-09 Nick Clifton <nickc@cygnus.com>
669 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
671 2000-02-09 Nick Clifton <nickc@cygnus.com>
673 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
674 ARM_FUNCTION_PROFILER.
676 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
677 ARM_FUNCTION_PROFILER.
679 * config/arm/linux-oldld.h: Imported from mainline sources.
681 2000-02-07 Nick Clifton <nickc@cygnus.com>
683 * config/arm/lib1funcs.asm: Merge in thumb functions from
686 * config/arm/lib1thumb.asm: Delete.
688 2000-02-04 Nick Clifton <nickc@cygnus.com>
690 * config/arm/arm.c: Sychronised with current Red hat local
692 * config/arm/arm.h: Ditto.
693 * config/arm/arm-protos.h: Ditto.
695 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
697 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
699 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
702 2000-02-02 Nick Clifton <nickc@cygnus.com>
704 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
706 * config/arm/arm.md (epilogue): Fix rtl checking abort because
707 (return) was emited using an emit_insn() call.
709 2000-01-31 Nick Clifton <nickc@cygnus.com>
711 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
713 (thumb_exit): Move frame pointer back into hard frame pointer
714 register if backtracing is being used.
716 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
718 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
721 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
723 * config/arm/arm.md (neg_pool_offset): Provide default for new
725 (arm_movsi_insn): Add neg_pool_offset attribute.
726 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
727 rtx for the insn that starts the scan and an unsigned long for its
728 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
729 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
730 instructions in *PINSERTED.
731 (struct minipool_fixup): Add MIN_ADDRESS elt.
732 (sort_fixups): Compute it.
733 (arm_reorg): Changes to support inserting pools before the insn to be
736 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
738 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
739 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
740 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
742 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
744 * config/arm/semi.h (TARGET_VERSION): Do not define if already
746 (TARGET_DEFAULT): Do not define if already defined.
748 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
750 * config/arm/arm.md (anddi3): Allow disjoint source operands.
751 (iordi3): Allow disjoint source operands.
752 (xordi3): Allow disjoint source operands.
753 (negdi2): Permit construction for ARM and Thumb.
754 (arm_negdi2): Renamed version of old negdi2 pattern.
755 (thumb_negdi2): New pattern: Only permit non-overlapping
756 source and destination.
758 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
760 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
761 scratch low register so that it will not be deleted.
763 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
765 * config/arm/pe.h (ARM_PE): Define.
767 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
768 interfacearm attribute if this is a PE toolchain.
769 (output_return_instruction): Do not emit anything if the function
770 has the naked attribute set.
771 (is_called_in_ARM_mode): If the function has the interfacearm
772 attribute then return true.
773 (thumb_expand_prologue): Do not generate a prologue for naked
775 (thumb_expand_epilogue): Do not generate an epilogie for a naked
777 (output_thumb_prologue): Do not bother if the function is naked.
778 Strip PE encoding from function name before emitting.
780 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
782 * arm.md (pic_load_addr): Fix constraints.
784 * arm.md (casesi_insn): Fix mis-applied patch.
786 * arm.md ("core" function unit): Add rules for single- and
788 (All TARGET_THUMB patterns): Add "type" attribute information
790 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
791 the following insn is a CALL.
793 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
795 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
796 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
797 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
799 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
801 * config/arm/linux-gas.h: oops - this file was missed out when the
802 branch was created...
804 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
806 * thumb.c: Deleted. Move contents to ...
808 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
810 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
813 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
814 declare a prototype for asm_output_align();
816 * arm.c (thumb_condition_code): Delete.
817 (arm_print_operand): Always use arm_condition_code array.
819 * arm.c (thumb_return_addr_rtx): Delete.
820 (arm_save_machine_status, arm_restore_machine_status): Delete.
821 (arm_init_machine_status, arm_mark_machine_status): New functions.
822 (arm_init_expanders): Update accordingly.
823 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
824 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
825 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
827 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
829 * configure.in : Fix arm-*-aout target to use new t-arm-aout
831 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
834 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
836 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
837 stack backtrace structure.
839 * config/arm/arm-protos.h: Add prototypes for functions defined in
842 * config/arm/arm.c (arm_override_options): Fix selection of
843 attributes of default processor.
845 * config/arm/coff.h: Delete needless #include.
847 * config/arm/pe.c: Delete unused code.
849 * config/arm/pe.h (CPP_DEFINES): Delete
850 (SUBTARGET_CPP_SPEC): Define.
851 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
853 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
855 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
857 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
859 (CAN_DEBUG_WITHOUT_FP): Define.
860 (FIXED_REGISTERS): Make r11 call-saved.
861 (CALL_USED_REGISTERS): Likewise.
862 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
863 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
864 frame-pointer is required.
865 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
866 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
867 if the target normally needs a stack frame in non-leaf functions.
868 (use_return_insn): Correct logic for determining when a return
869 instruction can be used.
870 (output_return_instruction): Handle the frame-pointer register as
871 a normal register when not TARGET_APCS_FRAME.
872 (arm_output_prologue): Likewise.
873 (arm_output_epilogue): Likewise.
874 (output_func_epilogue): Likewise.
875 (arm_expand_prologue): Likewise.
876 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
878 * arm.c (use_return_insn): No need to check floating point regs if
880 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
881 the code of value stored in the minipool array.
882 (arm_add_minipool_constant): Likewise.
884 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
886 * basic-block.h (conflict_graph_enum_fn): K&R fix.
888 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
890 * tree.c (tree_expr_nonnegative_p): New function.
892 * tree.h (tree_expr_nonnegative_p): Declare.
894 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
895 elide some sign_compare warnings.
896 (build_conditional_expr): Likewise.
898 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
900 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
902 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
903 * i386.c (print_operand): Use the proper suffix for a 387 HImode
904 operand. Abort if a 387 operand has an unsupported size.
906 2000-04-08 Neil Booth <NeilB@earthling.net>
908 * cppexp.c (parse_charconst): Null does not end character
910 * cppinit.c (ISTABLE): Null character handled as whitespace.
911 * cpplex.c (null_warning): new function.
912 (skip_string): Emit warning if nulls encountered.
913 (_cpp_skip_hspace): Emit warning if nulls encountered.
914 (_cpp_lex_token): Emit warning if nulls encountered. Drop
918 2000-04-07 Richard Henderson <rth@cygnus.com>
920 * flow.c (loop_depth): Remove.
921 (reg_next_use, cc0_live, mem_set_list): Replace with ...
922 (struct propagate_block_info): New.
923 (life_analysis): Don't allocate reg_next_use.
924 (propagate_block_delete_insn): Break out of propagate_block.
925 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
926 (propagate_block_delete_libcall): Likewise.
927 (propagate_block): Create a propagate_block_info struct to pass
928 to subroutines. Allocate one not two temporary regsets. Don't
929 clobber memory for const calls. Look for clobbers in
930 CALL_INSN_FUNCTION_USAGE.
931 (mark_set_regs): Recognize COND_EXEC.
932 (mark_set_reg): Break out of mark_set_1.
933 (mark_used_reg): Break out of mark_used_regs.
934 (mark_used_regs): Recognize COND_EXEC.
935 (insn_dead_p): Use propagate_block_info struct.
936 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
937 (find_auto_inc, try_pre_increment_1): Likewise.
938 (print_rtl_with_bb): Dump regs live at end too.
939 (count_reg_sets_1): Pass in loop_depth.
940 (count_reg_sets, count_reg_references): Likewise.
941 (recompute_reg_usage): Provide it.
943 2000-04-07 Richard Henderson <rth@cygnus.com>
945 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
948 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
950 * cpplib.c (do_elif): Skip the rest of the line if we're
951 not going to bother evaluating it.
952 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
953 to avoid pointless calls to the lexer.
955 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
957 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
959 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
961 * calls.c (expand_call): emit_queue if we're trying a sibcall.
963 2000-04-07 Jakub Jelinek <jakub@redhat.com>
965 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
967 2000-04-06 Geoff Keating <geoffk@cygnus.com>
969 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
970 crtend so they can be multilibbed.
971 (STAGESTUFF): Remove s-crt and s-crtS.
973 2000-04-07 Richard Henderson <rth@cygnus.com>
975 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
976 if we discover we need a pseudo and no_new_pseudos is true.
977 * config/alpha/alpha.md (ne:DI insn): New.
978 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
980 2000-04-07 Richard Henderson <rth@cygnus.com>
982 * rtl.def (COND_EXEC): New.
983 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
984 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
986 * genconfig.c (have_cond_arith_flag): Remove.
987 (have_cond_exec_flag): New.
988 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
989 (main): Print HAVE_conditional_execution.
991 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
992 (sched_analyze_insn, print_pattern): Likewise.
993 * reload.c (find_equiv_reg): Likewise.
994 * rtlanal.c (reg_referenced_p): Likewise.
995 (note_stores, dead_or_set_regno_p): Likewise.
996 (reg_overlap_mentioned_p): Rewrite to use a switch.
998 * ggc.h (struct rtx_def): Forward declare.
1000 * print-rtl.c (debug_rtx_range): New.
1001 * rtl.h (debug_rtx_range): Declare.
1003 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
1005 * gcse.c (gcse_main): Don't rebuild the CFG here.
1006 (delete_null_pointer_checks): Likewise.
1007 * ssa.c (convert_to_ssa): Likewise.
1008 * toplev.c (rest_of_compilation): Do it here instead. Combine
1009 sequential calls to TIMEVAR. Consistently use `insns' instead of
1010 `get_insns()'. Always split insns after reload when optimizing.
1012 * basic-block.h (merge_blocks_nomove): Declare.
1013 (tidy_fallthru_edge): Declare.
1014 * flow.c (merge_blocks_nomove): Document as merging into previous
1015 blocks. Remove cruft from between blocks; remove all edges out of A.
1016 (tidy_fallthru_edge): Export.
1018 2000-04-06 Alex Samuel <samuel@codesourcery.com>
1020 * ssa.c (compute_conservative_reg_partition): Declare with
1022 * toplev.c (clean_dump_file): Remove previously-deleted function
1023 inadvertantly merged back in.
1024 * conflict.c (conflict_graph_add): Use a single call to
1025 htab_find_slot to look up and insert.
1027 2000-04-06 Richard Henderson <rth@cygnus.com>
1029 * genrecog.c (*): Rename _last_insn to last_insn.
1030 (make_insn_sequence): Set the position of the peephole2 C test
1031 to be at the last insn.
1033 2000-04-06 Richard Henderson <rth@cygnus.com>
1035 * flow.c (compute_flow_dominators): Free worklist.
1037 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
1039 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1041 2000-04-06 Alex Samuel <samuel@codesourcery.com>
1043 * rtl.h (INSN_P): New macro.
1044 (successor_phi_fn): New typedef.
1045 (for_each_successor_phi): New prototype.
1046 (in_ssa_form): New variable.
1047 (PHI_NODE_P): Likewise.
1048 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1049 phi nodes in successors.
1050 (mark_used_regs): Add PHI case.
1051 (set_phi_alternative_reg): New function.
1052 (life_analysis): Assert that dead code elimination is not selected
1054 * toplev.c (to_ssa_time): New variable.
1055 (from_ssa_time): Likewise.
1056 (compile_file): Zero to_ssa_time and from_ssa_time.
1057 Print time to convert to and from SSA.
1058 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1059 (print_time): Compute percent fraction as integer.
1060 * ssa.c (PHI_NODE_P): Moved to rtl.h.
1061 (convert_to_ssa): Check if we're already in SSA.
1062 Don't eliminate dead code in life_analysis.
1063 Rerun flow and life analysis at bottom.
1064 (eliminate_phi): Use canonical regnos when adding nodes.
1065 (mark_reg_in_phi): New function.
1066 (mark_phi_and_copy_regs): Likewise.
1067 (convert_from_ssa): Rerun life analysis at top.
1068 Use coalesced partition.
1069 Check for removing a phi node at the end of the block.
1070 (compute_coalesced_reg_partition): New function.
1071 (coalesce_regs_in_copies): Likewise.
1072 (coalesce_reg_in_phi): Likewise.
1073 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1074 (for_each_successor_phi): Likewise.
1075 (rename_context): New struct.
1076 (rename_block): Use a rename_context with rename_insn_1. When
1077 renaming sets of a subreg, emit a copy of the entire reg first.
1078 (rename_insn_1): Treat data as a rename_context *. Save current
1080 (rename_set_data): Add field set_insn.
1081 * Makefile.in (HASHTAB_H): Move up in file.
1082 (OBSTACK_H): New macro.
1083 (collect2.o): Use OBSTACK_H in dependencies.
1084 (sdbout.o): Likewise.
1085 (emit-rtl.o): Likewise.
1086 (simplify-rtx.o): Likewise.
1087 (fix-header.o): Likewise.
1088 (OBJS): Add conflict.o.
1089 (conflict.o): New rule.
1090 * basic-block.h: Include partition.h.
1091 (conflict_graph): New typedef.
1092 (conflict_graph_enum_fn): Likewise.
1093 (conflict_graph_new): New prototype.
1094 (conflict_graph_delete): Likewise.
1095 (conflict_graph_add): Likewise.
1096 (conflict_graph_conflict_p): Likewise.
1097 (conflict_graph_enum): Likewise.
1098 (conflict_graph_merge_regs): Likewise.
1099 (conflict_graph_print): Likewise.
1100 (conflict_graph_compute): Likewise.
1101 * conflict.c: New file.
1103 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1105 * tlink.c (read_repo_files): Don't look for .rpo info for
1108 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1110 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1112 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1114 * config/sh/lib1funcs.asm (___udivsi3_i4):
1115 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1116 only depends on FMOVD_WORKS.
1118 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1120 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1121 make double constant 8-byte aligned.
1123 2000-04-06 Jakub Jelinek <jakub@redhat.com>
1125 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1126 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1127 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1128 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1129 Accept storing GENERAL_REGS into offsetable memory.
1130 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1131 building a TFmode constant other than 0.0L into GENERAL_REGS.
1133 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
1135 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1137 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
1139 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1140 (macro_cleanup): No need to cast pbuf->macro.
1141 (collect_expansion): Use _cpp_get_define_token. Goto done if
1142 it returns VSPACE. Remove check for trailing space after
1144 (_cpp_create_definition): Don't diddle flags here. Return
1146 (unsafe_chars): Handle c1 being EOF.
1147 (push_macro_expansion): Use unsafe_chars for both accidental-paste
1148 checks. Don't push the buffer till after we're done with
1150 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1151 (PEEKN, FORWARD, GETC, PEEKC): Use them.
1152 (cpp_push_buffer): Don't set new->alimit. Set new->mark
1154 (_cpp_parse_assertion): Don't NUL terminate.
1155 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
1156 hspace before calling _cpp_parse_assertion. Remove all sets
1157 of only_seen_white. Treat '\f' as hspace. Don't do anything
1158 special with '\n' here.
1159 (maybe_macroexpand): Handle T_EMPTY hash entries without
1160 pushing a buffer at all.
1161 (cpp_get_token): Handle clearing only_seen_white here. Handle
1162 incrementing the line number here. Clear
1163 potential_control_macro as well as only_seen_white, if
1165 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1166 (_cpp_get_define_token): New function, basically like
1167 _cpp_get_directive_token was but doesn't eat horizontal space.
1168 Don't do anything with only_seen_white here.
1169 (_cpp_get_directive_token): Just call _cpp_get_define_token
1170 repeatedly till it returns non-hspace.
1172 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1173 (conditional_skip, skip_if_group): Return int.
1174 (DIRECTIVE_TABLE): Change origin of all conditional directives
1176 (TRAD_DIRECT_P): New macro.
1177 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
1178 an error for a bogus directive, unless -lang-asm. Use
1179 TRAD_DIRECT_P. Loop calling handler functions till one returns
1181 (get_macro_name): Don't diddle flags here.
1182 (do_define): Diddle flags here. Use _cpp_get_directive_token.
1183 Create T_EMPTY nodes for #define macro /* nothing */.
1184 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
1185 Use hp->name when calling pass_thru_directive.
1186 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1187 Return the result of conditional_skip and/or skip_if_group.
1188 Don't call _cpp_output_line_command.
1189 (consider_directive_while_skipping): Use _cpp_get_directive_token.
1190 Issue -Wtraditional warnings as appropriate. Don't complain
1191 about unrecognized directives. If we are to stop skipping,
1192 return the number of the directive that ended the skip.
1193 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
1194 expansion and line commands while skipping. Return the result
1195 of consider_directive_while_skipping, if nonzero.
1196 (do_endif): Just set potential_control_macro here.
1197 (validate_else): Use _cpp_get_directive_token.
1198 (do_assert, do_unassert): Don't save pointers into the
1199 token_buffer across calls to the lexer. Use
1200 _cpp_get_directive_token.
1202 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
1203 pointer, not an offset. Replace 'data', which was a generic
1204 pointer, with 'macro', which points to a struct hashnode.
1205 (cpp_reader): Add 'potential_control_macro' pointer.
1206 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1207 (CPP_BUF_GET, CPP_FORWARD): Delete.
1208 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1209 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1210 ACTIVE_MARK_P): Update.
1211 (_cpp_get_define_token): New internal function.
1212 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1214 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
1216 * configure.in: And here.
1217 * configure: Regenerate.
1218 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1219 --enable-libstdcxx-v3 is passed at configure time.
1220 * config.h.in: Regenerate.
1222 2000-04-05 Mark Mitchell <mark@codesourcery.com>
1224 * final.c (final): Use xcalloc to allocate line_note_exists.
1225 * function.c (free_after_compilation): Free the temp_slots.
1226 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1227 (combine_temp_slot): Free temp_slots when they get combined.
1228 (purge_addressof): Fix typo in comment.
1229 * stmt.c (mark_goto_fixup): Mark the fixup itself.
1230 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1232 * ggc.h: Include varray.h.
1233 (ggc_pending_trees): Declare.
1234 (ggc_mark_tree_children): Remove declaration.
1235 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1236 * ggc-common.c (ggc_pending_trees): New variable.
1237 (ggc_mark_roots): Call ggc_mark_trees.
1238 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
1239 the ggc_pending_trees.
1240 * Makefile.in (GGC_H): New variable. Use it throughout in place
1243 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1245 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1248 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1250 * sh.c (sh_insn_length_adjustment): New function.
1251 * sh-protos.h (sh_insn_length_adjustment): Declare.
1252 * sh.h (ADJUST_INSN_LENGTH): Use it.
1254 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
1256 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1257 from the insn where REG_RETVAL is added.
1258 (emit_no_conflict_block): Ditto.
1260 * md.texi (Standard Names): Clarify when movX is needed.
1262 * combine.c (simplify_comparison) [MINUS]: Do not replace
1263 all (op (minus A B) 0) with (op A B).
1265 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
1266 J"orn Rennecke <amylaar@cygnus.co.uk>
1268 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1269 (block_lump_real): Likewise.
1271 2000-04-05 Chris Demetriou <cgd@netbsd.org>
1273 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1274 remaining non-zero debugging masks.
1276 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
1278 * basic-block.h (verify_flow_info): Declare.
1279 (flow_loop_outside_edge_p): Declare.
1280 * flow.c (verify_flow_info): Remove declaration.
1281 (clear_log_links, flow_loop_outside_edge_p): Likewise.
1283 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
1285 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1288 2000-04-05 Jakub Jelinek <jakub@redhat.com>
1290 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1291 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1292 seqdi_zero_trunc+1): Allow splits only if registers are
1295 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
1297 * acconfig.h: Add HAVE_GAS_HIDDEN.
1298 * config.in: Regenerated.
1299 * configure.in: Add test for .hidden pseudo-op in gas.
1300 * configure: Regenerated.
1301 * crtstuff.c: Include auto-host.h.
1302 Emit additional .hidden pseudo-op for __dso_handle if the
1303 assembler knows about it.
1305 2000-04-04 Philippe De Muyter <phdm@macqel.be>
1307 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1308 before freeing argnames.
1309 * cpplib.c (do_ifndef): Cast return value of xstrdup.
1311 2000-04-05 Michael Meissner <meissner@redhat.com>
1313 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1314 Walton <jonboy@gordian.com> to make memory references with update
1315 work wtih -mregnames.
1317 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1319 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1320 (regrename_optimize): Rename variables `def_uses' and
1321 `ext_basic_blocks' to avoid conflicts with similarly named
1322 typedefs in traditional C.
1324 * calls.c (initialize_argument_information): Fix typo in previous
1327 2000-04-04 Richard Henderson <rth@cygnus.com>
1329 * regrename.c (consider_available): Test fixed_regs not
1330 PIC_OFFSET_TABLE_REGNUM.
1332 2000-04-04 Geoff Keating <geoffk@cygnus.com>
1334 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1336 (CRTSTUFF_T_CFLAGS_S): Delete definition.
1337 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1338 (ENDFILE_LINUX_SPEC): Always use crtend.
1339 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1340 (powerpc-*-linux-gnu): Likewise.
1341 * configure: Regenerate.
1343 * config/rs6000/eabi.h: Don't include sysv4.h.
1344 (MULTILIB_DEFAULTS): Don't define.
1345 * config/rs6000/eabiaix.h: Don't include eabi.h.
1346 * config/rs6000/eabile.h: Delete.
1347 * config/rs6000/eabilesim.h: Delete.
1348 * config/rs6000/eabisim.h: Don't include eabi.h.
1349 * config/rs6000/linux.h: Don't include sysv4.h.
1350 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1351 (MULTILIB_DEFAULTS): Don't redefine.
1352 * config/rs6000/rtems.h: Don't include eabi.h.
1353 * config/rs6000/sol2.h: Don't include sysv4le.h.
1354 * config/rs6000/sysv4le.h: Don't include sysv4.h.
1355 * config/rs6000/t-ppc: Delete.
1356 * config/rs6000/t-ppcgas: Correct comment.
1357 * config/rs6000/t-ppcos: Correct comment. Don't build
1358 multilibs for -fPIC, rather use -fPIC -mstrict-align
1360 * config/rs6000/t-ppc: Delete.
1361 * config/rs6000/vxppc.h: Don't include sysv4.h.
1362 * config/rs6000/vxppcle.h: Delete.
1363 * configure.in: Use multiple header files for p2pc ELF targets
1364 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1365 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1366 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1367 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
1368 always available for these platforms.
1370 2000-04-04 Richard Henderson <rth@cygnus.com>
1372 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1374 2000-04-04 Stan Cox <scox@cygnus.com>
1376 * Makefile.in: Add rules for regrename.o
1377 * regrename.c: New file.
1378 * rtl.h (regrename_optimize): Add prototype.
1379 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1380 (compile_file, decode_d_option): Add support for -frename-registers.
1381 (rest_of_compilation): Call regrename_optimize.
1382 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1385 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1387 * Makefile (gccbug): New target.
1388 (doc): Depend on it.
1389 * gcc.texi (Bugs): Link subnodes.
1391 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1392 Document severities, priorities, and classes in bug form.
1394 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
1396 * cpplex.c (trigraph_map, speccase): Combine into single
1398 (NORMAL, NONTRI): New macros.
1399 (_cpp_read_and_prescan): Change to use unified table. Use
1400 is_hspace to test for whitespace.
1402 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1403 definition that doesn't provoke the "empty body in an
1404 if-statement" warning.
1406 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
1408 * builtins.c (expand_builtin_strlen): Force the source to
1409 be a memory address.
1411 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1413 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1415 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1417 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1418 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
1419 (ECF_IS_CONST): Rename to ECF_CONST.
1420 (special_function_p): Make static, change interface.
1421 (flags_from_decl_or_type, try_to_integrate): Break out from ...
1422 (expand_call) ... here; convert number of variables to flags.
1423 (emit_library_call_vlue_1): Likewise.
1424 (setjmp_call_p): New function.
1425 (initialize_argument_information): Accepts flags as argument;
1427 (precompute_arguments): Likewise.
1428 * tree.h (special_function_p): Remove.
1429 (setjmp_call_p): Add prototype.
1431 2000-04-04 Jakub Jelinek <jakub@redhat.com>
1433 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1434 so that addresses are offsetable by up to 16 bytes.
1435 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1436 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1439 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1440 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1441 (movsf): Don't force any constant to memory if target is integer
1443 Move fp_zero_operand check below the const0_rtx check.
1444 (movtf): Likewise. Also allow fp_zero_operand for stores into
1446 (movdf): Likewise. Also allow fp_zero_operand for stores into
1447 memory and into integer hard registers.
1448 (clear_df, clear_dfp, movdf_const_intreg_sp32,
1449 movdf_const_intreg_sp64): Remove.
1450 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1452 (movdf_no_e_insn_v9_sp32): New pattern.
1453 (movdf_insn_v9only): Remove.
1454 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1455 (movdf_insn_sp64): Remove.
1456 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1457 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1458 (following splits): Rewrite conditions. Add two new splits
1459 for storing 0.0 into memory and registers.
1460 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1461 (movtf_insn_sp32): Redo constraints and conditions.
1462 (movtf_insn_vis_sp32): New pattern.
1463 (movtf_no_e_insn_sp32): Redo constraints and conditions.
1464 (movtf_insn_hq_sp64): Likewise.
1465 (movtf_insn_hq_vis_sp64): New pattern.
1466 (movtf_insn_sp64): Redo constraints and conditions.
1467 (movtf_insn_vis_sp64): New pattern.
1468 (movtf_no_e_insn_sp64): Redo constraints and conditions.
1469 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1471 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1472 -mvis or -m64 to take down the number of various reload patterns.
1474 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
1476 * pa/pa-64.h: New file.
1477 * pa/pa64-regs.h: New file.
1478 * pa/pa64-start.h: New file.
1479 * pa/t-pa64: New file.
1480 * pa/xm-pa64hpux.h: New file.
1482 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1484 * sparc.c (output_restore_regs): Prototype.
1485 (sparc_emit_float_lib_cmp): Constification.
1487 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1489 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1492 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1493 (get_value_hash, hash_rtx): Likewise.
1495 * ssa.c (compute_conservative_reg_partition): Prototype.
1497 * tree.c (mark_hash_entry): Prototype.
1499 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
1501 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1502 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1503 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1505 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1506 * objc/lang-specs.h: Likewise.
1508 2000-04-03 Neil Booth <NeilB@earthling.net>
1510 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
1511 and SYNTAX_ERROR2. Replace `' in messages with ''.
1512 (op_to_str): Make re-entrant.
1513 (_cpp_parse_expr): Implement new error macros. Use | rather
1514 than || to logically or 2 boolean integers. Simply expression
1515 checking we have a left operand iff needed.
1517 2000-04-03 Nick Clifton <nickc@cygnus.com>
1519 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1521 2000-04-03 Philip Blundell <philb@gnu.org>
1523 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1525 2000-04-03 Felix Lee <flee@cygnus.com>
1527 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
1528 (run_shell): Use it.
1530 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
1532 * Makefile.in (stmp-int-hdrs): Make include subdir here...
1533 (stmp-fixproto): ...rather than here.
1535 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
1537 * pa.c (print_operand): Compute 'base' only inside the code paths
1540 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
1542 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1545 2000-04-03 Philipp Thomas <pthomas@suse.de>
1547 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1549 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
1551 * Makefile.in (alias.o): Depend on $(TREE_H).
1553 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
1555 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1557 * cpplib.c (_cpp_handle_directive): Improve warnings for
1558 traditional C and indented directives.
1560 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1561 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1562 fixinc/inclhack.def: Indent the # of #include_next one space.
1563 * cp/rtti.c: Un-indent #if and #endif.
1565 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1566 syntax error, but an error has already been printed.
1567 * cpplex.c (_cpp_parse_assertion): Give a more specific error
1568 message when called with nothing remaining on the line.
1569 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1570 OTHER token, not an ASSERTION.
1571 * cpplib.c (do_assert): When we create a 'base' node, clear
1572 its aschain pointer.
1574 2000-04-02 Neil Booth <NeilB@earthling.net>
1576 * cppexp.c: New typedef op_t. struct operation and struct
1577 token updated to use it.
1578 (op_to_str): New function.
1579 (_cpp_parse_expr): Error messages modified to use op_to_str.
1581 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1583 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1584 before checking MUST_PASS_IN_STACK.
1586 2000-04-02 Neil Booth <NeilB@earthling.net>
1588 * cppexp.c: New FINISHED dummy token. Combine operator initial
1589 flags and initial priority into a single constant. New
1590 EQUALITY macro. New operator flag SHORT_CIRCUIT.
1591 (_parse_cpp_expr): Implement new constants. Take left operand
1592 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
1593 parse indicated by reducing FINISHED token. Remove new lines
1594 from cpp_error messages.
1596 2000-04-01 Mark Mitchell <mark@codesourcery.com>
1598 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1601 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
1603 * cpplib.c: Include symcat.h. Add 'origin' field to struct
1604 directive. Add origin values to DIRECTIVE_TABLE. Generate
1605 the strings and function names on the fly. Take the #sccs
1606 entry out of the table if SCCS_DIRECTIVE is not defined.
1607 (_cpp_handle_directive): Decide if the # was at the beginning
1608 of the line here. Issue -pedantic warnings for extended
1609 directives here. Warn about K+R directives with the #
1610 indented, and C89/extended directives with the # not indented,
1612 (do_import, do_include_next, do_warning, do_ident, do_sccs,
1613 do_assert, do_unassert): Don't issue pedantic warning here.
1615 * cpphash.h: Add CPP_WTRADITIONAL macro.
1616 * cpplib.h (struct cpp_options): Rename warn_stringify to
1617 warn_traditional; update comments.
1618 * cppinit.c (handle_option): Set warn_traditional not
1620 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1621 CPP_WTRADITIONAL (pfile).
1622 * cpplex.c (_cpp_lex_token): Don't decide if directives should
1623 be ignored in -traditional mode here.
1625 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1626 to initialize speccase[] and trigraph_map[]. Delete all
1627 references to pfile->input_speccase. Always treat '?' as a
1628 special character. Remove table-initialization code from
1629 _cpp_init_input_buffer.
1631 * cpplib.h (struct cpp_reader): Remove input_speccase field.
1632 * cppinit.c (cpp_cleanup): Don't free input_speccase.
1634 2000-04-01 Richard Henderson <rth@cygnus.com>
1636 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1637 (mostlyclean): Likewise.
1639 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1640 (struct dump_file_info, enum dump_file_index, dump_file): New.
1641 (open_dump_file): Take a dump_file_index not a suffix, and a decl
1642 not a string. Clean out file if we havn't yet done so. Do nothing
1643 if the dump isn't enabled.
1644 (close_dump_file): Do nothing if the dump isn't open. Dump
1645 graph data if requested.
1646 (dump_rtl, clean_dump_file): Remove.
1647 (compile_file): Don't clean the dump files. Only finalize .bp dump
1648 if flag_test_coverage or flag_branch_probabilities. Only finalize
1649 .combine dump if optimizing. Iterate over dump_file to finalize the
1651 (rest_of_compilation): Update for open_dump_file/close_dump_file.
1652 Convert all uses of dump_rtl.
1653 (decode_d_option): Iterate over dump_file to implement 'a' and to
1654 locate pass-specific dumps.
1656 2000-04-01 Neil Booth <NeilB@earthling.net>
1658 * cppexp.c: Redefine priority constants.
1659 (_cpp_parse_expr): Replace left and right priority scheme with
1660 single priority logic. Move LOGICAL to same place as COMPARE.
1661 Remove bogus check for multiple unary +/- operators.
1663 2000-04-01 Neil Booth <NeilB@earthling.net>
1665 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1666 within the switch statement. Binary operations break out of
1667 the switch naturally. '(' tokens handled by forcing
1668 immediate shift. ')' handled by forcing immediate reduce to
1669 the previous '('. New error messages.
1671 2000-03-31 Geoff Keating <geoffk@cygnus.com>
1673 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1674 part', it's already in use. Use %K instead. Add a return at the
1675 end of what is now %K.
1676 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
1678 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
1680 * builtins.c (expand_builtin_apply): Pass proper parameters to
1681 allocate_dynamic_stack_space.
1682 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
1683 update stack_pointer_delta; do not update arg_size_so_far.
1684 (compute_argument_block_size): Use stack_delta instead of
1685 stack_pointer_pending and arg_size_so_far.
1686 (expand_call): Add sanity checking for stack_pointer_delta;
1687 save and restore stack_pointer_delta for SIB, use
1688 stack_pointer_delta for alignment; do not update arg_space_so_far.
1689 (emit_library_call_value): Use stack_pointer_delta for alignment.
1690 (store_one_arg): Do not update arg_space_so_far.
1691 * explow.c (adjust_stack, anti_adjust_stack): Update
1692 stack_pointer_delta.
1693 (allocate_dynamic_stack_space): Add sanity checking for
1694 stack_pointer_delta.
1695 * expr.c (init_expr, clear_pending_stack_adjust): Clear
1696 stack_pointer_delta.
1697 (emit_push_insn): Update stack_pointer_delta.
1698 * function.h (struct expr_status): Add x_stack_pointer_delta;
1699 remove x_arg_space_so_far.
1700 (arg_space_so_far): Remove.
1701 (stack_pointer_delta): New macro.
1703 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
1705 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1706 Reorder struct cpp_options and struct cpp_reader for better
1707 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
1708 takes two args. Change all 'char' flags to 'unsigned char'.
1709 Move show_column flag into struct cpp_options. Don't
1710 prototype cpp_options_init.
1711 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1712 cppinit.c, cpplex.c, cpplib.c:
1713 Replace CPP_OPTIONS (pfile)->whatever with
1714 CPP_OPTION (pfile, whatever), and likewise for
1715 opts = CPP_OPTIONS (pfile); ... opts->whatever;
1717 * cppinit.c (merge_include_chains): Take a cpp_reader *.
1718 Extract CPP_OPTION (pfile, pending) and work with that
1720 (cpp_options_init): Delete.
1721 (cpp_reader_init): Turn on on-by-default options here.
1722 Allocate the pending structure here.
1723 (cl_options, enum opt_code): Define these from the same table,
1724 kept in a large macro. Add -fshow-column and -fno-show-column
1727 * cpperror.c (v_message): If show_column is off, don't print
1730 * cppmain.c: Update for new interface.
1731 * fix-header.c: Likewise.
1733 2000-03-30 Geoff Keating <geoffk@cygnus.com>
1735 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1737 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1738 are passed to any invocation of AR_FOR_TARGET.
1739 (AR_CREATE_FOR_TARGET): New macro.
1740 (AR_EXTRACT_FOR_TARGET): New macro.
1741 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1742 AR_EXTRACT_FOR_TARGET.
1743 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1744 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1745 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
1746 AR_EXTRACT_FOR_TARGET to sub-makes.
1748 2000-03-31 Neil Booth <NeilB@earthling.net>
1750 * cppexp.c: Delete SKIP_OPERAND. Correct priority
1752 (_cpp_parse_expr): Check for multiple unary +/- operators.
1753 Correct priorities of ':' and '?'. Treat ')' as having a
1754 value. Ensure conditional expression is not void.
1756 2000-03-31 Mark Mitchell <mark@codesourcery.com>
1758 * alias.c (canon_rtx): Make it global.
1759 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1761 * cse.c (struct table_elt): Add canon_exp.
1763 (invalidate): Canonicalize expressions only once.
1764 * rtl.h (canon_rtx): Declare.
1766 2000-03-30 Mark Mitchell <mark@codesourcery.com>
1768 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1769 * alias.c (reg_known_value): Add comments.
1770 (init_alias_analysis): Likewise.
1771 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1773 (cse_basic_block): Fix typo in comment.
1774 * emit-rtl.c: Include hashtab.h.
1775 (const_int_htab): New variable.
1776 (const_int_htab_hash): New function.
1777 (const_int_htab_eq): Likewise.
1778 (rtx_htab_mark_1): Likewise.
1779 (rtx_htab_mark): Likewise.
1780 (gen_rtx_CONST_INT): Cache all CONST_INTs.
1781 (unshare_all_rtx): Fix formatting.
1782 (init_emit_once): Initialize const_int_htab.
1783 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1785 * rtl.texi: Document the fact that all CONST_INTs with the same
1788 2000-03-30 Richard Henderson <rth@cygnus.com>
1790 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1792 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
1794 * configure.in: Comment out --enable-c-cpplib stanza.
1795 * configure: Regenerate.
1797 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1799 * expr.c (store_constructor): Properly compute displacement and
1800 alignment when offset is variable.
1802 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1803 cases of alignment in bytes.
1805 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
1807 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1808 since it is used to generate c-parse.y.
1809 * objc-parse.c, objc-parse.y: Regenerated.
1811 * function.c (expand_function_end): Pass alignment argument to
1812 emit_block_move in bits, not bytes.
1814 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1816 * expr.c (move_by_pieces_ninsns): Fix one more missing align
1819 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1821 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1822 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1823 * function.c (assign_parms): Likewise.
1824 * integrate.c (expand_inline_function): Likewise.
1825 * stmt.c (expand_decl): Likewise.
1826 (copy_rtx_and_substitute): Likewise.
1827 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1828 (clear_by_pieces): Fix error in last change.
1829 * emit-rtl.c (init_emit): Set known registers alignment in bits.
1830 * function.h (regno_pointer_align): Now unsigned.
1831 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1833 * config/i386/i386.c (aligned_operand): Likewise.
1834 * config/sparc/sparc.c (mem_min_alignment): Likewise.
1835 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1836 (unaligned_memory_operand): Likewise.
1837 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1838 Also make alignments and sizes unsigned and some whitespace cleanup.
1839 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1841 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1842 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1843 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1844 (expand_builtin_memset): Likewise, but to clear_storage.
1845 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1846 (restore_fixed_argument_area): Likewise.
1847 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1848 (load_register_parameters): Likewise, to emit_group_load.
1849 (expand_call): Likewise, to emit_group_store and emit_block_move.
1850 (emit_library_call_value_1): Likewise, to emit_block_move.
1851 (store_one_arg): Likewise, and to emit_push_insn.
1852 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1853 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1854 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1855 (emit_block_move, emit_group_load, emit_group_store): Likewise.
1856 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1857 (expand_assigment, store_expr, store_constructor_field): Likewise.
1858 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1859 (store_constructor, store_field, get_inner_reference): Likewise.
1860 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1861 (expand_expr, case COMPONENT_REF): Likewise.
1862 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1863 and positions; reindent code.
1864 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1865 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1866 (assign_parms): Likewise to emit_group_store.
1867 * optabs.c (prepare_cmp_insn): Alignment is in bits.
1868 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1869 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1870 (expand_return): Likewise to {extract,store}_bit_field.
1871 * stor-layout.c (get_mode_alignment): Minor cleanup.
1872 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1873 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1875 2000-03-29 Nick Clifton <nickc@cygnus.com>
1877 * config/arm/arm.h: Undo effects of previous delta:
1878 (ASM_SPEC): Do not define.
1879 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1881 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1884 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1886 * cppinit.c (cpp_start_read): Call initialize_dependency_output
1887 only after reading in the primary source file.
1889 2000-03-29 Geoff Keating <geoffk@cygnus.com>
1891 * c-common.c (c_common_nodes_and_builtins): The first parameter to
1892 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1893 or a reference to a va_list.
1894 * builtins.c (stabilize_va_list): Simplify now we don't have to
1895 work around C array address decay.
1896 * c-typeck.c (convert_for_assignment): Handle assignment to
1897 a reference parameter by taking the address of the RHS.
1898 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1899 (va_copy): Likewise.
1900 (__va_copy): Likewise.
1901 * ginclude/varargs.h (va_start): Likewise.
1902 (__va_copy): Likewise.
1904 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
1906 * i386/djgpp.h: Remove extraneous "+".
1908 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1910 * calls.c (expand_call): Fix typo in last change.
1912 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
1914 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1917 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1919 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1920 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1921 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1922 * tree.c (bit_position, byte_position): Likewise.
1923 * tree.h: Declare new functions.
1925 2000-03-29 Nick Clifton <nickc@cygnus.com>
1927 * config/arm/arm.c: Minor formatting changes/
1928 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1930 (ASM_SPEC): Define if not already defined.
1932 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1934 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1937 2000-03-29 Jakub Jelinek <jakub@redhat.com>
1939 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1940 value, don't output it as unsigned.
1942 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
1944 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1946 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1948 * c-common.c (c_common_nodes_and_builtins): Don't special case
1949 cplus_mode when declaring builtin bzero/bcmp, always avoid
1950 prototype arguments.
1952 2000-03-29 Bruce Korb <bkorb@gnu.org>
1954 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1957 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
1959 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1960 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1961 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1962 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1963 (save_fixed_argument_area, restore_fixed_argument_area):
1964 conditionize by #ifdef REG_PARM_STACK_SPACE only.
1965 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1966 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1967 (precompute_register_parameters): Avoid #ifdefs on
1968 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1969 (stire_one_args): Likewise.
1970 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1971 (emit_library_call_value_1): Likewise.
1972 (compute_argument_block_size): Align to STACK_BOUNDARY only for
1973 ACCUMULATE_OUTGOING_ARGS.
1974 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1976 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1977 (use_crosses_set_p): Likewise.
1978 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1979 #define ACCUMULATE_OUTGOING_ARGS 1.
1980 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1982 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1984 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1985 (TARGET_SWITCHES): Add push-args, no-push-args,
1986 accumulate-outgoing-args and no-accumulate-outgoing-args.
1987 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1988 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1989 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1991 (emit_push_insn): Likewise.
1992 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1993 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1994 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1995 (STACK_DYNAMIC_OFFSET): Define correctly for both
1996 ACCUMULATE_OUTGOING_ARGS and normal mode.
1997 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1998 * tm.texi (PUSH_ARGS): Document.
1999 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
2001 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
2003 * flags.h (flag_optimize_sibling_calls): Declare.
2004 * calls.c (expand_call): Fail sibcall when
2005 !flag_optimize_sibling_calls
2006 * invoke.texi (flag_optimize_sibling_calls): Document.
2007 * toplev.c (flag_optimize_sibling_calls): New global variable.
2008 (f_options): Add flag_optimize_sibling_calls.
2009 (rest_of_compilation): Conditionize
2010 optimize_sibling_and_tail_recursive_calls by
2011 flag_optimize_sibling_calls.
2012 (main): Set flag_optimize_sibling_calls for -O2.
2013 * stmt.c (expand_return): Conditionize tail recursion by
2014 flag_optimize_sibling_calls.
2016 2000-03-29 Richard Henderson <rth@cygnus.com>
2018 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2019 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2021 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
2023 * except.c (add_eh_table_entry): Mark type_info's as referenced.
2025 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2027 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2029 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2030 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2031 * config/rs6000/aix.h: then modified likewise.
2033 2000-03-28 Richard Henderson <rth@cygnus.com>
2035 * rtl.h: Redistribute enum reg_note documentation.
2036 Kill trailing whitespace.
2037 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2038 Kill trailing whitespace.
2040 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
2042 * cppfiles.c (hash_IHASH): Just return i->hash.
2043 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
2044 htab_find_with_hash.
2045 (cpp_read_file): Likewise.
2046 (find_include_file): Likewise. Properly initialize
2047 ih->nshort. Share ih->name and ih->nshort if possible.
2048 * cpphash.c (_cpp_calc_hash): New function.
2049 (hash_HASHNODE): Just return h->hash.
2050 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
2051 htab_find_with_hash.
2052 * cpphash.h: Prototype _cpp_calc_hash.
2053 * cppinit.c (initialize_builtins): Provide a valid hash
2054 to _cpp_make_hashnode, using _cpp_calc_hash.
2056 * cpphash.c (collect_expansion): # is not a special character
2057 in object-like macros. In -traditional mode, /**/ is not
2058 token paste at the beginning or end of the line.
2059 * cpplib.c (do_include, do_import, do_include_next): If
2060 parse_include fails, return immediately.
2062 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
2064 * config/arm/arm.md (return peepholes): Update to reflect the new
2066 * config/arm/arm.c (arm_volatile_func): Also check
2067 current_function_nothrow.
2068 (output_return_instruction, output_func_prologue): Use it.
2069 (arm_output_epilogue, arm_expand_prologue): Likewise.
2071 2000-03-27 Tom Tromey <tromey@cygnus.com>
2073 * gcc.c (handle_braces): In {x*...} case, break out of loop if
2076 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2078 * expr.c (store_constructor): SIZE now signed.
2079 For EXPR_SIZE, don't evaluate size; just needed if constant.
2080 * fold-const.c (fold): Fix a number of cases when folded tree is
2082 * function.c (flush_addressof): Reenable.
2083 * tree.h (flush_addressof): Likewise.
2084 * toplev.c (independent_decode_option): Look at strings_processed.
2085 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2087 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
2089 * sibcall.c (indentify_call_return_value): Find last call in the chain;
2090 Allow stack adjustment after function call.
2092 * regmove.c (struct csa_memlist): Make mem field rtx *.
2093 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2094 (try_apply_stack_adjustment): Replace whole MEM rtx.
2095 (combine_stack_adjustments_for_block): Update calls
2096 to record_one_stack_ref.
2098 2000-03-28 Neil Booth <NeilB@earthling.net>
2100 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2101 '\\' rather than a null character, so nulls are not special. Fix
2102 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
2103 speed trigraph conversion.
2104 (_cpp_init_input_buffer): Initialize trigraph map.
2106 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2108 * config/i386/i386.c (output_387_binary_op): Correct intel
2109 mode assembly output, and add spaces after commas in AT&T
2110 output. Correct Unixware assembler comment. Document input
2111 constraints. Comment fp operations. Reduce profligate buffer
2112 size. Remove extraneous abort. Localize temp var.
2113 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
2114 (output_fix_trunc): Add spaces after commas in assembly output.
2116 2000-03-27 Richard Henderson <rth@cygnus.com>
2118 * i386-protos.h (ix86_match_ccmode): Declare.
2119 * i386.c (ix86_match_ccmode): New.
2120 (ix86_expand_fp_compare): Update for pattern renames.
2121 (ix86_expand_strlensi_unroll_1): Likewise.
2122 * i386.h (EXTRA_CC_MODES): Add CCZ.
2123 (SELECT_CC_MODE): Use it for EQ/NE zero.
2124 * i386.md (cmpsi_ccz_1): New.
2126 (*testsi_ccz_1): New.
2127 (testqi_ccz_1): New.
2128 (cmpsi_ccno_1): Rename from cmpsi_0.
2129 (testsi_ccno_1): Rename from testsi_1.
2130 (testqi_ccno_1): Rename from testqi_1.
2131 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2132 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2133 (*cmphi_0): Use ix86_match_ccmode.
2134 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2135 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2136 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2137 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2138 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2139 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2140 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2141 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2142 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2143 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2144 (appropriate peepholes): Likewise.
2145 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2146 (*subsi_3, *subhi_3, *subqi_3): Remove.
2147 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2148 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2149 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2150 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2151 (x86_shift_adj_1): Use CCZ.
2152 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2154 2000-03-27 Stan Cox <scox@cygnus.com>
2156 * resource.h (mark_resource_type): New.
2157 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
2158 find_free_register): Use mark_resource_type.
2159 (mark_set_resources): Change include_delayed_effects
2160 to mark_resource_type.
2161 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
2162 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
2163 Use mark_resource_type.
2165 2000-03-27 Richard Henderson <rth@cygnus.com>
2167 * i386.md (call_pop_0, call_value_pop_0): New.
2168 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
2169 (call_value_pop_1): Likewise.
2170 (call_0, call_value_0): New.
2171 (call_1, call_value_1): Remove constraint from unused arg.
2173 2000-03-27 Nick Clifton <nickc@cygnus.com>
2175 * invoke.texi (Spec Files): Document new spec % command created by
2176 Tom Tromey's recent patch.
2178 2000-03-27 Jakub Jelinek <jakub@redhat.com>
2180 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2183 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2185 * expr.c (expand_assignment): Fix typo in last change.
2187 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2189 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2191 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2192 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2193 and DECL_INLINE if FUNCTION_DECL.
2194 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2195 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2196 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2197 (combine_parm_decls): Likewise.
2198 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2199 * print-tree.c (print_node): Likewise.
2200 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2201 DECL_TRANSPARENT_UNION on proper decl types.
2202 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2203 * stor-layout.c (layout_decl): Only check DECL_PACKED and
2204 DECL_BIT_FIELD of FIELD_DECL.
2205 * tree.h (DECL_RESULT_FLD): New macro.
2207 * expr.c (expand_assignment): Add code to handle variable-sized
2210 2000-03-26 Richard Henderson <rth@cygnus.com>
2212 * calls.c (expand_call): Pass parms not original exp to
2213 optimize_tail_recursion. Mind return value instead of looking
2215 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2216 call_expr. Move checks for call_expr and current_function_decl ...
2217 (expand_return): ... here.
2219 2000-03-26 Tom Tromey <tromey@cygnus.com>
2221 * gcc.c (handle_braces): Recognize `%{<S}' construct.
2222 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2224 (process_command): Use them.
2225 (check_live_switch): Likewise.
2226 (give_switch): Skip ignored switches.
2228 2000-03-26 Jan Hubicka <jh@suse.cz>
2230 * jump.c (jump_optimize_1): Fix typo in elide optimizations
2231 for minimal jump pass test.
2233 2000-03-26 Mark Mitchell <mark@codesourcery.com>
2235 * integrate.c (function_cannot_inline_p): Do inline functions that
2238 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2240 * stor-layout.c (layout_type, set_sizetype): early_type_list is
2241 now a list of TREE_LIST entries, not types.
2242 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2244 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2245 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2247 * config/mips/mips.c (function_arg): Likewise; also remove cast
2248 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2249 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2250 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2251 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2252 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2253 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2254 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2255 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2256 num_adjusts now unsigned.
2257 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2258 * config/sparc/sparc.c (struct function_arg_record_value_parms):
2260 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2261 as is BITPOS variable; use host_integerp and int_bit_position.
2262 (function_arg_record_value_2): Likewise.
2263 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2264 Variable REGNO now unsigned.
2265 (function_arg_record_value): NREGS now unsigned.
2267 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
2269 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2271 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2273 * Rework fields used to describe positions of bitfields and
2274 modify sizes to be unsigned and use HOST_WIDE_INT.
2275 * alias.c (reg_known_value_size): Now unsigned.
2276 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2277 (really_start_incremental_init): Use bitsize_zero_node.
2278 (push_init_level, pop_init_level, output_init_element): Likewise.
2279 Use bitsize_unit_node and bitsize_one_node.
2280 (output_pending_init_elements, process_init_element): Likewise.
2281 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2282 (make_extraction): Position and length HOST_WIDE_INT and unsigned
2283 HOST_WIDE_INT, respectively.
2284 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2285 (num_sign_bit_copies): Returns unsigned.
2286 BITWIDTH now unsigned; rework arithmetic.
2287 Remove recursive call from arg to MAX.
2288 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2289 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2291 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2292 (find_split_point, expand_compound_operation, make_extraction): LEN
2293 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2294 (make_field_assignment): Likewise.
2295 (combine_simplify_rtx): Add cast.
2296 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2297 (force_to_mode): WIDTH now unsigned; add cast.
2298 (if_then_else_cond): SIZE now unsigned.
2299 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2300 (extended_count): Now returns unsigned.
2301 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2302 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2303 (simplify_comparison): MODE_WIDTH now unsigned.
2304 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2305 (mark_used_regs_combine): Likewise; rework arithmetic.
2306 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2307 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2308 (record_promoted_value): REGNO now unsigned.
2309 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2310 (get_last_value): REGNO now unsigned.
2311 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2312 (reg_dead_regno, reg_dead_endregno): Now unsigned.
2313 (remove_death): Arg REGNO now unsigned.
2314 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2315 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2317 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2318 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2319 (struct cse_reg_info): REGNO now unsigned.
2320 (cached_regno): Now unsigned.
2321 (REGNO_QTY_VALID_P): Add cast.
2322 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2323 (remove_invalid_regs): Likewise.
2324 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2325 as are variables END and I.
2326 (get_cse_reg_info, insert): Likewise.
2327 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2328 (canon_hash): Likewise.
2329 (insert_regs, lookup_for_remove): REGNO now unsigned.
2330 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2332 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2333 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2334 * emit-rtl.c (subreg_realpart_p): Add cast.
2335 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2336 (operand_subword_force): Arg I is now unsigned.
2337 * except.c (eh_regs): Variable I is now unsigned.
2338 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2339 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2340 length is unsigned HOST_WIDE_INT; likewise for internal variables.
2341 (store_split_bit_field, extract_fixed_bit_field): Likewise.
2342 (extract_split_bit_field, store_bit_field, extract_bit_field):
2344 * expr.c (store_constructor_fields, store_constructor, store_field):
2345 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2346 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2347 (do_jump): Likewise.
2348 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2349 MAX_SIZE is now unsigned.
2350 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2351 (emit_group_store): Likewise.
2352 (emit_move_insn): I now unsigned.
2353 (store_constructor): Use host_integerp, tree_low_cst, and
2355 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2356 Rework all calculations to use trees and new fields.
2357 * expr.h (promoted_input_arg): Regno now unsigned.
2358 (store_bit_field, extract_bit_field): Adjust types of pos and size.
2359 (mark_seen_cases): Arg is HOST_WIDE_INT.
2360 * flow.c (verify_wide_reg_1): REGNO now unsigned.
2361 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2362 precisions and alignments are unsigned.
2363 (optimize_bit_field_compare, fold_truthop): Likewise.
2364 (int_const_binop): Adjust threshold for size_int_type_wide call.
2365 (fold_convert): Likewise.
2366 (size_int_type_wide): Make table larger and fix thinko that only
2367 had half of table used.
2368 (all_ones_mask_p, fold): Precisions are unsigned.
2369 * function.c (put_reg_info_stack): REGNO is unsigned.
2370 (instantiate_decl): Size is HOST_WIDE_INT.
2371 (instantiate_virtual_regs): I is unsigned.
2372 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2373 (promoted_input_arg): REGNO is unsigned.
2374 * function.h (struct function): x_max_parm_reg is now unsigned.
2375 * gcse.c (max_gcse_regno): Now unsigned.
2376 (struct null_pointer_info): min_reg and max_reg now unsigned.
2377 (lookup_set, next_set): REGNO arg now unsigned.
2378 (compute_hash_table): REGNO and I now unsigned.
2379 (handle_avail_expr): regnum_for_replacing now unsigned.
2380 (cprop_insn): REGNO now unsigned.
2381 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2382 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2383 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2384 * hard-reg-set.h (reg_class_size): Now unsigned.
2385 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2386 * jump.c (mark_modified_reg): I now unsigned; add cast.
2387 (rtx_equal_for_thread_p): Add cast.
2388 * loop.c (max_reg_before_loop): Now unsigned.
2389 (struct_movable): REGNO now unsigned.
2390 (try_copy_prop): REGNO arg unsigned.
2391 (regs_match_p): XN and YN now unsigned.
2392 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2393 (strength_reduce): Likewise; NREGS also unsigned.
2394 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2395 * loop.h (struct iv_class): REGNO now unsigned.
2396 (max_reg_before_loop, first_increment_giv, last_increment_giv):
2398 * machmode.h (mode_size, mode_unit_size): Now unsigned.
2399 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2400 * optabs.c (expand_binop): I and NWORDS now unsigned.
2401 (expand_unop): I now unsigned.
2402 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2403 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2404 * real.c (significand_size): Now returns unsigned.
2405 * real.h (significand_size): Likewise.
2406 * regclass.c (reg_class_size): Now unsigned.
2407 (choose_hard_reg_mode): Both operands now unsigned.
2408 (record_reg_classes): REGNO and NR now unsigned.
2409 (reg_scan): NREGS now unsigned.
2410 (reg_scan_update): old_max_regno now unsigned.
2411 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2412 * reload.c (find_valid_class): BEST_SIZE now unsigned.
2413 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2414 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2415 Likewise for variable R.
2416 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2417 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2418 (find_equiv_reg): Add casts.
2419 (regno_clobbered_p): Arg REGNO now unsigned.
2420 * reload.h (struct reload): NREGS now unsigned.
2421 (refers_to_regno_for_reload_p): Regno args are unsigned.
2422 (regno_clobbered_p): Likewise.
2423 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2424 (compute_use_by_pseudos): REGNO now unsigned.
2425 (find_reg): I and J now unsigned, new variable K, and change loop
2426 variables accordingly; THIS_NREGS now unsigned.
2427 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2428 (spill_hard_reg): REGNO arg now unsigned; add casts.
2429 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2430 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2431 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2432 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2433 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2434 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2435 (emit_reload_insns): REGNO now unsigned.
2436 (reload_cse_move2add): Add cast.
2437 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2439 * resource.c (mark_referenced_resources, mark_set_resources): New
2440 variable R; REGNO and LAST_REGNO now unsigned.
2441 (mark_target_live_regs): J and REGNO now unsigned.
2442 * rtl.c (mode_size, mode_unit_size): Now unsigned.
2443 * rtl.h (union rtunion_def): New field rtuint.
2444 (XCUINT): New macro.
2445 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2446 (operand_subword, operand_subword_force): Word number is unsigned.
2447 (choose_hard_reg_mode): Operands are unsigned.
2448 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2449 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2450 (regno_use_in, combine_instructions, remove_death): Likewise.
2451 (reg_scan, reg_scan_update): Likewise.
2452 (extended_count): Return is unsigned.
2453 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2454 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2455 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2456 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2457 (reg_reg_last_1): FIRS and LAST now unsigned.
2458 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2459 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2461 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2462 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2463 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2464 (replace_regs): Arg NREGS now unsigned.
2465 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2466 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2467 (simplify_binary_operation): Likewise.
2468 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2469 THIS_LAST now unsigned.
2470 (cselib_record_set): Add cast.
2471 * ssa.c (ssa_max_reg_num): Now unsigned.
2472 (rename_block): REGNO now unsigned.
2473 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2475 (all_cases_count): Just return -1 not -2.
2476 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2477 Rework tests to use trees whenever possible.
2478 Use host_integerp and tree_low_cst.
2479 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2480 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2481 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2482 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2483 (smallest_mode_for_size): Likewise.
2484 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2485 KNOWN_ALIGN is now an alignment, so simplify code.
2486 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2487 (start_record_layout): Renamed from new_record_layout_info.
2488 Update to new fields.
2489 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2491 (place_union_field): Renamed from layout_union_field.
2492 Update to use new fields in rli.
2493 (place_field): Renamed from layout_field.
2494 Major rewrite to use new fields in rli; pass alignment to layout_decl.
2495 (finalize_record_size): Rework to use new fields in rli and handle
2497 (compute_record_mode): Rework to simplify and to use new DECL fields.
2498 (finalize_type_size): Make rounding more consistent.
2499 (finish_union_layout): Deleted.
2500 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2501 (layout_type, case RECORD_TYPE): Call new function names.
2502 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2503 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2504 (get_best_mode): UNIT is now unsigned; remove casts.
2505 * tree.c (bit_position): Compute from new fields.
2506 (byte_position, int_byte_position): New functions.
2507 (print_type_hash_statistics): Cast to remove warning.
2508 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2509 (build_index_type): Likewise; make subtype of sizetype.
2510 (build_index_2_type): Pass sizetype to build_range_type.
2511 (build_common_tree_nodes): Use size_int and bitsize_int to
2512 initialize nodes; add bitsize_{zero,one,unit}_node.
2513 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2514 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2515 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2516 (DECL_FIELD_BITPOS): Deleted.
2517 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2518 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2519 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2520 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2521 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2522 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2523 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2524 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2525 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2526 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2527 (DECL_ALIGN): Adjust to new field in union.
2528 (DECL_OFFSET_ALIGN): New field.
2529 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2530 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2531 (union tree_decl): Add struct for both aligns.
2532 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2533 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2534 (struct record_layout_info): Rework fields to have offset
2535 alignment and byte and bit position.
2536 (start_record_layout, place_field): Renamed from old names.
2537 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2538 (byte_position, int_byte_position): Likewise.
2539 (get_inner_reference): Change types of position and length.
2540 * unroll.c (unroll_loop): New variable R; use for some loops.
2541 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2542 (calculate_giv_inc): Arg REGNO now unsigned.
2543 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2544 * varasm.c (assemble_variable): Clean up handling of size using
2545 host_integerp and tree_low_cst.
2546 (decode_addr_const): Use byte, not bit, position.
2547 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2548 use tree_low_cst and int_bit_position.
2549 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2551 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
2553 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2554 (reorder_block_def): New members eff_head and eff_end.
2555 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2556 (verify_insn_chain): New function.
2557 (skip_insns_between_block): Add code to skip deleted insns.
2558 Check for note before using.
2559 (chain_reorder_blocks): Replace calls to skip_insns_between_block
2560 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2561 Check for note before using.
2562 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2563 (fixup_reorder_chain): Restructure, clean up, defect removal.
2564 (reorder_basic_blocks): Remove last_insn and references to it.
2565 Moved insn chain verification code into a new function (see above).
2566 Delete defective code that sets last insn.
2567 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2570 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2572 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2574 2000-03-24 Richard Henderson <rth@cygnus.com>
2576 * tree.c (lang_safe_for_unsave): Remove.
2577 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2578 allowing for two levels of unsafeness. Remove lang hook.
2579 * tree.h: Update declarations.
2580 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2581 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2582 Always fail sibcalls when there are pending cleanups.
2584 2000-03-24 Geoff Keating <geoffk@cygnus.com>
2586 * flow.c (propagate_block): When we delete an ADDR_VEC,
2587 also delete the BARRIER following it if there is one.
2589 2000-03-24 Richard Henderson <rth@cygnus.com>
2591 * builtins.c (expand_builtin_bzero): Convert `length' argument
2594 2000-03-24 Jakub Jelinek <jakub@redhat.com>
2596 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2597 comparison if regno's are equal.
2598 * calls.c (initialize_argument_informat): Add ecf_flags argument.
2599 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2600 (expand_call): Update caller.
2601 Avoid making a sibling call if argument size of the callee is larger
2602 than argument size of the caller.
2603 Call hard_function_value with outgoing set if in sibcall pass.
2604 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2606 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2607 Change LEAF_REGISTERS from an array initializer to actual array
2608 identifier. Move static global variable into the function.
2609 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2610 sequences for leaf functions.
2611 * global.c (global_alloc): Likewise.
2612 * tm.texi (LEAF_REGISTERS): Update documentation.
2614 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2615 TARGET_FLAT leaf disabling hack.
2616 (LEAF_REGISTERS): Changed from an array initializer to actual array
2617 identifier to avoid duplication and remove the above hack.
2618 (FUNCTION_OK_FOR_SIBCALL): Define.
2619 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2620 always like call attribute.
2621 (eligible_for_sibcall_delay): New attribute.
2622 (sibcall): New delay type.
2623 (sibcall, sibcall_value, sibcall_epilogue): New expands.
2624 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2625 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2626 * config/sparc/sparc.c (sparc_leaf_regs): New array.
2627 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2629 (output_function_epilogue): Move part of the code into
2630 output_restore_regs.
2631 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2633 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2636 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2637 until infrastructure is finished.
2639 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
2641 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2642 (save_parm_insns): Not here.
2644 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2646 * builtins.c (expand_builtin_bzero): New function.
2647 (expand_builtin): Handle bzero.
2649 * builtins.def: Add BUILT_IN_BZERO.
2651 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2652 prototype & function for bzero.
2654 2000-03-23 Michael Meissner <meissner@redhat.com>
2656 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2657 change adding TARGET_FP to the TF floating point insns, except for
2658 trunctfsf2, which generates direct calls to truncdfsf2.
2660 2000-03-23 Geoff Keating <geoffk@cygnus.com>
2662 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2663 try to protect against middle-end changes that break binary
2665 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2667 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2669 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
2671 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2673 * calls.c (expand_call): If TARGET is passed by reference and
2674 is readonly, write a CLOBBER.
2676 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2678 * builtins.c (expand_builtin): Handle bcmp.
2680 * builtins.def: Add BUILT_IN_BCMP.
2682 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2683 prototype & function for bcmp.
2685 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
2687 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2688 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2689 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2691 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
2693 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2694 alternative when using -fp64 -gp32.
2696 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2698 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2699 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2700 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2702 * frame.h (frame_state): Revert last change.
2703 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2704 * libgcc2.c (throw_helper): Revert last change.
2706 2000-03-22 Richard Henderson <rth@cygnus.com>
2708 * stmt.c (expand_asm_operands): Don't promote the temporary.
2710 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2712 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2713 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2714 c_get_alias_set): Likewise.
2715 * c-decl.c (duplicate_decls): Likewise.
2716 * c-typeck.c (default_conversion,build_unary_op): Likewise.
2717 * calls.c (initialize_argument_information): Likewise.
2718 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2720 * dwarfout.c (decl_class_context,output_type): Likewise.
2721 * expr.c (get_inner_reference): Likewise.
2722 * fold-const.c (simple_operand_p,fold): Likewise.
2723 * function.c (aggregate_value_p): Likewise.
2724 * stmt.c (expand_asm_operands): Likewise.
2725 * varasm.c (named_section): Likewise.
2727 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2729 Implement dwarf2 exception handling for the ARM.
2730 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2731 (DWARF_FRAME_RETURN_COLUMN): Define.
2732 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
2733 REG_FRAME_RELATED_EXPR note.
2734 (emit_sfm): Likewise.
2735 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2736 * dwarf2out.c (reg_save): Handle saving a register to itself.
2737 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2738 * except.c (eh_regs): Don't use the static chain reg if it's
2740 * frame.h (frame_state): Add cfa_saved field.
2741 * frame.c (execute_cfa_insn): Set it.
2742 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
2744 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2746 (instantiate_virtual_regs): Adjust.
2748 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2749 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2750 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2752 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2753 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2755 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2757 * builtins.def: New file.
2759 * Makefile.in (TREE_H): Depend on builtins.def.
2761 * builtins.c (built_in_names): Use builtins.def.
2763 * tree.h (built_in_function): Likewise.
2765 2000-03-22 Mark Mitchell <mark@codesourcery.com>
2767 * tree.c (size_in_bytes): Return size_zero_node, not
2770 2000-03-22 Geoff Keating <geoffk@cygnus.com>
2772 * config/fp-bit.c (pack_d): Correct the case when a denormal
2773 is rounded up and stops being denormal.
2775 2000-03-21 Richard Henderson <rth@cygnus.com>
2777 * config/alpha/alpha.c (function_arg): Check for void_type_node
2778 before using MUST_PASS_IN_STACK.
2780 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
2782 * regmove.c (combine_stack_adjustments_for_block): Check that
2783 the stack pointer is a valid memory address.
2785 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
2787 * calls.c: re-install Mar 16 emit_library_call merge.
2789 2000-03-21 Jakub Jelinek <jakub@redhat.com>
2791 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2792 we cannot be sure that if reload_completed base register will
2793 be properly aligned.
2795 2000-03-21 Richard Henderson <rth@cygnus.com>
2797 * flow.c (delete_block): Fix typo last change.
2799 2000-03-21 Mark Mitchell <mark@codesourcery.com>
2801 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2802 not COMPLETE_TYPE_P, to check the type of the expression.
2804 2000-03-21 Michael Meissner <meissner@redhat.com>
2806 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2807 all floating point insns that just tested the macro
2808 TARGET_HAS_XFLOATING_LIBS.
2809 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2810 used to only use the gprs.
2812 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
2814 * tree.h (COMPLETE_TYPE_P): New macro.
2815 (COMPLETE_OR_VOID_TYPE_P): New macro.
2816 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2817 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2818 * c-aux-info.c (gen_type): Use them.
2819 * c-common.c (c_expand_expr_stmt): Likewise.
2820 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2821 grokdeclarator, grokparms, finish_struct, start_function,
2822 store_parm_decls, combine_parm_decls): Likewise.
2823 * c-parse.y (cast_expr): Likewise.
2824 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2825 c_size_in_bytes, c_alignof, build_component_ref,
2826 build_indirect_ref, build_array_ref, convert_arguments,
2827 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2828 * calls.c (initialize_argument_information): Likewise.
2829 * convert.c (convert_to_integer): Likewise.
2830 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2831 * dwarfout.c (location_or_const_value_attribute,
2832 output_enumeration_type_die, output_structure_type_die,
2833 output_union_type_die, output_type): Likewise.
2834 * expr.c (safe_from_p, expand_expr): Likewise.
2835 * function.c (assign_parms): Likewise.
2836 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2837 * tree.c (build_array_type, build_function_type,
2838 build_method_type, build_offset_type, build_complex_type): Likewise.
2839 * c-parse.c, c-parse.h: Regenerated.
2841 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2843 * config/c4x/rtems.h: Include config/rtems.h.
2845 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
2847 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2848 decl is a FUNCTION_DECL
2850 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
2852 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2853 function uses output registers. Don't save RP for leaf functions.
2854 Do save RP even if no epilogue.
2855 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2856 (CALL_USED_REGISTERS): Unmark in registers.
2857 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
2860 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2862 * config/rs6000/rs6000.md (bunordered): New expander.
2863 (bordered): New expander.
2864 (buneq): New expander.
2865 (bunge): New expander.
2866 (bungt): New expander.
2867 (bunle): New expander.
2868 (bunlt): New expander.
2869 (bltgt): New expander.
2871 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2872 (ccr_bit_negated_p): New function.
2873 (print_operand): For %C, generate appropriate cror for UNEQ,
2874 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
2876 2000-03-20 Andreas Jaeger <aj@suse.de>
2878 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2881 * tree.h (safe_for_unsave): Prototype.
2883 2000-03-20 Richard Henderson <rth@cygnus.com>
2885 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2886 (combine_stack_adjustments_for_block): Don't allow sp references
2887 in the side of a set we're not fixing up.
2888 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2889 after life_analysis.
2891 2000-03-20 Richard Henderson <rth@cygnus.com>
2893 * calls.c (expand_call): Don't bother generating tail call
2894 sequences if there are pending cleanups. Use
2895 expand_start_target_temps/expand_end_target_temps to elide
2896 cleanups created during sibcall expansion.
2898 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2900 * configure.in: Set $IFS to a value if it doesn't already have one
2901 in the --enable-checking handling.
2902 * configure: Regenerate.
2904 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2906 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2907 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2910 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
2912 * jump.c (delete_noop_moves): Remove code attempting to
2913 combine stack adjustments.
2915 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2917 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2918 * except.c (emit_cleanup_handler): Use them.
2919 (expand_end_all_catch): Likewise.
2920 * function.c (fixup_var_refs): Likewise.
2921 (expand_function_end): Clear catch_clauses_last.
2922 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2923 * except.h (struct eh_status): New field x_catch_clauses_last.
2924 (catch_clauses_last): New define.
2926 * Makefile.in (tree.o): Depend on HASHTAB_H.
2927 * tree.c: Include hashtab.h.
2928 (struct type_hash): Remove next field.
2929 (TYPE_HASH_SIZE): Remove.
2930 (TYPE_HASH_INITIAL_SIZE): New define.
2931 (type_hash_table): Change type to htab_t.
2932 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2933 mark_hash_entry): New functions.
2934 (init_obstacks): Allocate type hash.
2935 (type_hash_lookup): Use htab functions.
2936 (type_hash_add, mark_type_hash): Likewise.
2937 (dump_tree_statistics): Call print_type_hash_statistics.
2939 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2941 * rs6000/t-aix41: New file.
2943 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2945 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
2947 * tm.texi (Driver): Fix typos and tweak entry for
2949 Move misplaced STRUCT_FORCE_BLK entry ...
2950 (Storage Layout): ... to here.
2951 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2953 2000-03-19 Richard Henderson <rth@cygnus.com>
2955 * flow.c (delete_block): Delete the addr_vec along with the block.
2956 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2959 * fold-const.c (extract_muldiv): Apply type check for defined
2960 overflow to multiply as well as divide.
2962 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2964 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2966 * emit-rtl.c (remove_unncessary_notes): Check that all
2967 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2968 associated NOTE_BLOCK.
2969 * function.h (identify_blocks): Update comments.
2970 (reorder_blocks): Declare.
2971 * function.c (identify_blocks): Don't take paramters.
2972 (reorder_blocks): Don't take parameters.
2973 * loop.h (find_loop_tree_blocks): Remove.
2974 (unroll_block_trees): Likewise.
2975 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
2976 reorder_blocks instead of unroll_block_trees.h
2977 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2978 * stmt.c (find_loop_tree_blocks): Remove.
2979 (unroll_block_trees): Likewise.
2980 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2981 in whole-function mode.
2982 * tree.h (reorder_blocks): Remove declaration.
2984 * expr.c: Include intl.h.
2985 * Makefile.in (expr.o): Depend on intl.h.
2987 2000-03-18 Richard Henderson <rth@cygnus.com>
2989 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2991 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2993 * tree.h (tree_index): Remove enumerals for integer types.
2994 (integer_type_kind): New type.
2995 (integer_types): New variable.
2996 (char_type_node): Adjust.
2997 (signed_char_type_node): Likewise.
2998 (unsigned_char_type_node): Likewise.
2999 (short_integer_type_node): Likewise.
3000 (short_unsigned_type_node): Likewise.
3001 (integer_type_node): Likewise.
3002 (unsigned_type_node): Likewise.
3003 (long_integer_type_node): Likewise.
3004 (long_unsigned_type_node): Likewise.
3005 (long_long_integer_type_node): Likewise.
3006 (long_long_unsigned_type_node): Likewise.
3007 * tree.c (integer_types): New variable.
3008 (init_obstacks): Register it as a root.
3010 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
3012 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3013 NEXT_INSN. Update last insn in chain.
3015 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
3017 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3018 with TYPE_DECL_SUPPRESS_DEBUG set.
3020 2000-03-18 Richard Henderson <rth@cygnus.com>
3022 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3024 2000-03-18 Richard Henderson <rth@cygnus.com>
3026 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3027 care for HALF_PIC_P.
3028 (expander_call_insn_operand): Remove.
3029 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3030 * i386.h (PREDICATE_CODES): Update.
3031 * i386.md (all call expanders): Remove predicates, remove special
3032 handling for half-pic.
3033 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3034 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3035 (sibcall_epilogue): New.
3037 2000-03-17 Richard Henderson <rth@cygnus.com>
3039 * rtlanal.c (single_set): Reject if the parallel has anything
3040 except SET or USE or CLOBBER.
3042 2000-03-17 Jeff Law <law@cygnus.com>
3043 Richard Henderson <rth@cygnus.com>
3045 * Makefile.in (OBJS): Add sibcall.o.
3047 * sibcall.c: New file.
3048 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3049 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3050 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3051 Emit sibcall patterns when requested. Update all callers.
3052 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3053 elimination seems feasable.
3054 * final.c (leaf_function_p): Sibling calls don't discount being
3056 * flow.c (HAVE_sibcall_epilogue): Provide default.
3057 (find_basic_blocks_1): Sibling calls don't throw.
3058 (make_edges): Make edge from sibling call to EXIT.
3059 (propagate_block): Don't remove sibcall_epilogue insns.
3060 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
3061 (sibcall_epilogue): New.
3062 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3063 (identify_blocks_1): Likewise. Break out from ...
3064 (identify_blocks): ... here.
3065 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
3066 (reorder_blocks): ... here.
3067 (init_function_for_compilation): Zap prologue/epilogue as varrays.
3068 (record_insns): Extend a varray instead of mallocing new memory.
3069 (contains): Read a varray not array of ints.
3070 (sibcall_epilogue_contains): New.
3071 (thread_prologue_and_epilogue_insns): Emit and record
3072 sibcall_epilogue patterns.
3073 (init_function_once): Allocate prologue/epilogue varrays.
3074 * genflags.c (gen_insn): Treat sibcall patterns as calls.
3075 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3077 (save_for_inline_nocopy): ... here.
3078 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
3080 (expand_inline_function): ... here.
3081 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3082 (subst_constants): Handle 'n' formats.
3083 * jump.c (jump_optimize_minimal): New.
3084 (jump_optimize_1): New arg `minimal'; update callers. Elide most
3085 optimizations if it's set.
3086 * rtl.c (copy_rtx): Do copy jump & call for insns.
3087 * rtl.h (struct rtx_def): Document use of jump and call for insns.
3088 (SIBLING_CALL_P): New.
3089 (sibcall_use_t): New.
3090 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3091 Invoke optimize_sibling_and_tail_recursive_calls.
3092 * tree.c (lang_safe_for_unsave): New.
3093 (safe_for_unsave): New.
3094 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3096 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3097 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3098 (*sibcall_osf_1, *sibcall_value_osf_1): New.
3100 2000-03-17 Mark Mitchell <mark@codesourcery.com>
3102 * objc/objc-act.c (encode_method_prototype): Pass types, not
3103 PARM_DECLs, to int_size_in_bytes.
3105 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
3107 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3109 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3110 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3112 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3114 * Clean up usages of TREE_INT_CST_LOW.
3115 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3116 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3118 * c-tree.h (min_precision): Move declaration to here.
3119 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3120 (build_unary_op, add_pending_init): Use bit_position.
3121 (pending_init_member, process_init_element): Likewise.
3122 (really_start_incremental_init, push_init_level, pop_init_level):
3123 Don't make copies of nodes or modify them in place, use consistent
3124 types when tracking positions, and use tree routines computations.
3125 (set_init_index, output_init_element): Likewise.
3126 (output_pending_init_elements, process_init_element): Likewise.
3127 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3128 tree_low_cst and int_bit_position; also minor cleanup.
3129 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3130 (print_cst_octal): Precision is unsigned.
3131 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3132 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3133 (simple_type_align_in_bits): Result is unsigned int.
3134 Use tree_int_low_cst and host_integerp.
3135 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3136 (field_byte_offset): Result is HOST_WIDE_INT.
3137 Change types of internal variables so alignments are unsigned int,
3138 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3139 Use host_integerp, tree_low_cst, and int_bit_position.
3140 (add_bit_offset_attribute): Likewise.
3141 (add_data_member_location_attribute): Use tree_cst_low.
3142 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3143 (add_bit_size_attribute): Use tree_low_cst.
3144 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3145 * dwarfout.c: Similar changes to dwarf2out.c.
3146 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3147 * genoutput.c (n_occurences): Return -1 for null string.
3148 (strip_whitespace): Accept null string and make into function.
3149 (scan_operands): Reflect above changes.
3150 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3151 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3152 * ssa.c (rename_registers): Add missing cast of arg to bzero.
3153 * tree.c (int_size_in_bytes): Check for too big to represent.
3154 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3155 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3157 (min_precision): Delete from here.
3158 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3159 and int_bit_position.
3160 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3161 (encode_method_def): Likewise.
3162 (build_ivar_list_initializer): Use int_bit_position.
3163 (generate_shared_structures): Convert size.
3164 (encode_type, encode_complete_bitfield): Use integer_zerop.
3165 (encode_bitfield): Use tree_low_cst and int_bit_position.
3167 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3169 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3171 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3173 * call.c (special_function_p): It is only malloc if it returns
3176 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3178 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3179 (C33_FLAG, TARGET_C3X): Add macros.
3180 (TARGET_SWITCHES): Add -m33 option.
3181 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3183 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3185 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3186 (PARALLEL_PACK_FLAG): Delete.
3187 (TARGET_SWITCHES): Update.
3188 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3190 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3192 * fold-const.c (fold): Fix a few cases when the returned result
3193 is not of the same type as the input.
3195 2000-03-16 Nick Clifton <nickc@cygnus.com>
3197 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3200 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3202 * libgcc2.h: Move prototypes above macros with the same name.
3203 Wrap some function prototypes in the conditional which indicates
3204 whether they are supported, i.e. "BITS_PER_UNIT == 8".
3206 2000-03-16 Richard Henderson <rth@cygnus.com>
3208 * calls.c: Revert last two changes.
3210 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
3212 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3213 has exponent 0 is a zero.
3215 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3216 HASH may already be nonzero. Add code/mode into hash value
3217 immediately after repeat label.
3218 (cselib_lookup): Don't leave the hash table in an inconsistent
3219 state before a hash lookup operation.
3221 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
3223 * i386.md (all HI and QI mode non-move patterns): Conditionize
3224 by TARGET_[HQ]IMODE_MATH.
3225 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3226 x86_promote_qi_regs): Declare.
3227 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3228 TARGET_PROMOTE_QI_REGS): New macros.
3229 (PROMOTE_MODE): New macro.
3230 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3231 x86_promote_qi_regs): New global variables.
3233 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
3235 * calls.c (emit_library_call_value_1): Break out from ...; handle
3236 VOIDmode function calls too.
3237 (emit_library_call_value): ... here.
3238 (emit_library_call): Implement by calling emit_library_call_value_1.
3240 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
3242 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3243 Update arg_space_so_far on stack adjustments.
3244 (emit_library_call, emit_library_call_value): Likewise; take into
3245 account arg_space_so_far and pending_stack_adjust when calculcating
3248 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
3250 * flow.c: Move all basic block reordering code into its own file.
3251 (create_basic_block): Externalize.
3252 * bb-reorder.c: New file. Copy all basic block reordering code from
3253 flow.c to this file.
3254 (reorder_basic_blocks): Fix fencepost error in for-loop.
3255 (reorder_basic_blocks): Remove braces from single statement for-loops.
3256 * basic-block.h: Add declaration for create_basic_block.
3257 * Makefile.in: Add rules for bb-reorder.o.
3259 2000-03-16 Neil Booth <NeilB@earthling.net>
3261 * cppinit.c (handle_option): Implement #unassert directive
3262 as -A- command line option.
3263 (print_help): Update.
3264 * cpptexi.c: Update.
3266 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
3268 * md.texi (Standard Names): Document `jump'.
3270 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3272 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3275 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3277 Merge changes from newppc-branch onto trunk.
3279 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3281 * rs6000.c (toc_hash_table): Update for new hash table functions.
3282 (toc_hash_function): Likewise.
3283 (toc_hash_eq): Likewise.
3284 (toc_hash_mark_entry): Likewise.
3285 (toc_hash_mark_table): Likewise.
3286 (output_toc): Likewise.
3287 (rs6000_add_gc_roots): Likewise.
3289 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3291 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
3292 (AR_FLAGS_FOR_TARGET): here. New macro.
3294 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
3296 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3297 fpmem_operand) Delete.
3299 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3300 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3301 (rs6000_save_machine_status, rs6000_restore_machine_status,
3302 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
3303 references to above variables.
3304 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3305 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3306 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3307 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3308 (XER_REGNO_P, XER_REGNO): New.
3309 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3310 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3311 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
3313 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3314 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
3315 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3317 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3319 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3320 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3321 * rs6000.h: from here.
3323 * rs6000-protos.h (rs6000_select_section): Provide prototype.
3324 (rs6000_select_rtx_section): Likewise.
3325 (rs6000_encode_section_info): Likewise.
3326 (sdata_section): Likewise.
3327 (sdata2_section): Likewise.
3328 (sbss_section): Likewise.
3329 * sysv4.h (rs6000_select_section): Delete prototype.
3330 (rs6000_select_rtx_section): Likewise.
3331 (rs6000_encode_section_info): Likewise.
3332 (sdata_section): Likewise.
3333 (sdata2_section): Likewise.
3334 (sbss_section): Likewise.
3335 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3337 * sysv4.h: Delete various unnecessary #undef's and put a comment
3338 on the remaining ones.
3339 Change various comments according to coding standard.
3341 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
3343 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
3344 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3345 (CR0_REGNO_P) Remove.
3346 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
3347 setup_incoming_varargs, mtcrf_operation, print_operand,
3348 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
3349 Use the above macros.
3351 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
3353 * config/rs6000/rs6000.md: Added a new alternative for each
3354 pattern that had a 'x' alternative but no 'y' alternative.
3355 Added a new split for each of the above patterns.
3357 2000-02-18 Geoff Keating <geoffk@cygnus.com>
3359 * aix41.h (ASM_CPU_SPEC): Delete.
3360 (CPP_CPU_SPEC): Delete.
3362 * aix.h (RS6000_OUTPUT_BASENAME): Define.
3363 (ASM_OUTPUT_LABEL): Define.
3364 (ASM_GLOBALIZE_LABEL): Define.
3365 (STRIP_NAME_ENCODING): Define.
3366 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3367 (STRIP_NAME_ENCODING): Don't define.
3368 (ASM_OUTPUT_LABEL): Don't define.
3369 (ASM_GLOBALIZE_LABEL): Don't define.
3370 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3371 names, and ASM_OUTPUT_LABEL to output labels, rather than
3373 (ASM_OUTPUT_LABEL): Define.
3374 (ASM_OUTPUT_INT): Use assemble_name.
3375 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3376 (STRIP_NAME_ENCODING): Don't undefine first.
3377 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3379 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3380 specified with 'asm' even with -fleading-underscore.
3381 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3382 (output_epilog): Likewise.
3383 (output_toc): Likewise.
3384 * tramp.asm: Handle -fleading-underscore correctly.
3386 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3388 (nonlocal_goto_receiver): Delete.
3389 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3391 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3392 (SET_ASM_OP): Define.
3393 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3395 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3398 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3399 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3401 * rs6000.h: Add 'u' to more constants.
3403 2000-02-18 David Edelsohn <edelsohn@gnu.org>
3405 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3407 2000-02-15 David Edelsohn <edelsohn@gnu.org>
3409 * rs6000.c (reg_or_u_cint_operand): New function.
3410 (logical_operand): Handle 64-bit hosts.
3411 (logical_u_operand): New function.
3412 (non_logical_cint_operand): Handle 64-bit hosts.
3413 (non_logical_u_cint_operand): New function.
3414 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3415 (PREDICATE_CODES): Define new functions.
3416 * rs6000-protos.h: Declare new functions.
3417 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3418 (movdi_64): Bracket code intended for 64-bit hosts. Create
3419 CONST_DOUBLE for 32-bit values.
3420 (scc insns): Generate DImode compares.
3421 (mfcr insns): Create DImode versions.
3422 (sge matchers): New patterns.
3424 2000-02-15 Gabriel Paubert <paubert@iram.es>
3426 * rs6000.md: Correct instructions length attributes and
3427 constraints on unsigned compare instructions.
3428 (*ne0): Disable for PowerPC64.
3430 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3432 * rs6000.c (output_function_profiler): Use .long for a 32-bit
3433 quantity, fix profile1.C test failure under -fPIC.
3435 * rs6000.c: Add 'u' to many constants to suppress warnings.
3436 (constant_pool_expr_1): Make static.
3437 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3438 * rs6000.h: Add 'u' to many constants to suppress warnings.
3440 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3441 for the start of the TOC, instead of LCTOC..0.
3442 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3444 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3445 (load_toc_aix_di): Use LCTOC..1.
3447 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3448 * rs6000.c (rs6000_legitimize_address): New function from
3449 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
3450 symbols in the constant pool that really are TOC references.
3451 (print_operand_address): For ELF, write TOC offsets under
3452 -fPIC as subtractions in the insn.
3453 (output_toc): For ELF, define symbols in TOC as normal labels,
3455 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3456 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3457 (create_TOC_reference): Prototype only when RTX_CODE is defined.
3458 * rs6000.md (movsi): Only use create_TOC_reference on
3459 symbols in the constant pool that really are TOC references.
3461 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3462 * rs6000.c (rs6000_reorg): Delete.
3463 * rs6000-protos.h (rs6000_reorg): Delete.
3465 2000-02-09 Geoff Keating <geoffk@cygnus.com>
3467 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3469 * aix.h (SETUP_FRAME_ADDRESSES): Define.
3470 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3471 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3472 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3473 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3474 rs6000_aix_emit_builtin_unwind_init.
3475 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
3476 rs6000_emit_eh_toc_restore on AIX.
3477 (return_eh_si): Use r2.
3478 (return_eh_di): Use r2.
3480 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3481 since we're breaking binary compatibility anyway.
3483 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3485 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3486 constant_pool_expr_p): Declare them.
3487 (constant_pool_expr_p): Declare it.
3488 * config/rs6000/rs6000.c (toc_label_name): Define.
3489 (rs6000_override_options): Set toc_label_name.
3490 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3491 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3492 uses_TOC): New functions.
3493 (print_operand): Delete old '*' case.
3494 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3495 and strip off rtl for TOC before calling output_addr_const.
3496 (rs6000_emit_load_toc_table): Use toc_label_name.
3497 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3499 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3500 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3501 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3502 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3503 into explicit TOC_REGISTER offsets.
3504 (TOC_REGISTER): New macro.
3505 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
3506 TARGET_TOC to reference TOC_REGISTER.
3507 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3508 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
3509 uses_TOC before emitting label references.
3511 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3513 * rs6000.md (stack_tie): Fix warning.
3515 * eabi-ctors.c: Use 'asm' names for the start/end variables,
3516 to handle -fleading-underscore.
3517 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3518 (USER_LABEL_PREFIX): New macro.
3519 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3520 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3521 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3522 call-linux can use the same multilibs.
3523 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3524 and call-linux multilibs. Do multilib with -fleading-underscore.
3525 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3526 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
3529 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3530 have MASK_SOFT_FLOAT set.
3531 (CPP_FLOAT_DEFAULT_SPEC): New macro.
3532 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3533 CPP_FLOAT_DEFAULT_SPEC.
3535 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3536 * rs6000.md: Whitespace change.
3537 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3538 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3540 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3542 * rs6000.md (eh_epilogue): New expander.
3543 (eh_reg_restore): New expand/split/insn combination.
3544 (return_eh_si): New insn.
3545 (return_eh_di): New insn.
3547 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3548 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3549 * eabi-ctors.c (__do_global_ctors): Register this object's
3550 frame. Clean up. Call atexit() after the constructors.
3551 (__do_global_dtors): Deregister this object's frame. Clean up.
3552 Allow for recursive calls to exit().
3553 * rs6000.c (fixuplabelno): New variable.
3554 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3555 TARGET_RELOCATABLE, it slows down exec() under linux.
3556 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3558 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3559 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3560 (ASM_OUTPUT_DWARF_DELTA2): New macro.
3561 (ASM_OUTPUT_DWARF_DELTA4): New macro.
3562 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3563 (ASM_OUTPUT_DWARF_ADDR): New macro.
3564 (ASM_OUTPUT_DWARF_DATA4): New macro.
3565 (ASM_OUTPUT_DWARF_DATA2): New macro.
3566 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3567 (ASM_OUTPUT_DWARF_OFFSET): New macro.
3568 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3570 2000-02-03 Geoff Keating <geoffk@cygnus.com>
3572 * rs6000.c (rs6000_sr_alias_set): New variable.
3573 (rs6000_override_options): Initialise rs6000_sr_alias_set.
3574 (rs6000_emit_stack_tie): New function.
3575 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3576 in a way that dwarf2out can understand.
3577 (rs6000_frame_related): New function.
3578 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
3579 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3580 Use rs6000_emit_stack_tie when needed.
3581 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
3582 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
3583 * rs6000.md (stack_tie): New insn.
3584 (return_internal_si): Allow return value to be in the count
3586 (return_internal_di): Likewise.
3588 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3590 2000-02-03 Geoff Keating <geoffk@cygnus.com>
3592 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3594 2000-01-31 Geoff Keating <geoffk@cygnus.com>
3596 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3598 * rs6000.md (stmw): Use the right POWER opcode.
3601 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3603 * rs6000-protos.h: New file.
3605 * rs6000.c: Include tm_p.h. Fix compile time warnings.
3607 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
3610 * sysv4.h: Likewise.
3612 2000-01-28 Geoff Keating <geoffk@cygnus.com>
3614 * ../../configure.in: Delete powerpcle-*-winnt*
3615 and powerpcle-*-pe|powerpcle-*-cygwin*.
3616 * ../../configure: Regenerated.
3618 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3619 (TARGET_WINDOWS_NT): Delete.
3621 (CALL_NT_DLLIMPORT): Delete.
3622 Delete NT-specific code.
3623 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3626 * nt-ci.asm: Delete.
3627 * nt-cn.asm: Delete.
3628 * ntstack.asm: Delete.
3630 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3632 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3633 (ASM_FILE_START): Likewise.
3634 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3635 (ASM_OUTPUT_LABELREF): Likewise.
3636 (ASM_OUTPUT_SKIP): Likewise.
3637 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3638 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3639 (ASM_OUTPUT_CASE_LABEL): Likewise.
3640 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3641 (ASM_OUTPUT_ASCII): Likewise.
3643 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
3645 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3646 reload_toc_labelno for non-prologue TOC reloads. Also, don't
3647 increment rs6000_pic_labelno here.
3648 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3649 and increment rs6000_pic_labelno here.
3651 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
3653 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3654 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3655 allocation knows (reg) is dead before the insn.
3657 2000-01-21 Geoff Keating <geoffk@cygnus.com>
3659 * rs6000.md (movsi_to_cr): Correct typo in output template.
3661 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
3663 * rs6000.c (rs6000_pic_labelno): Always define.
3664 (rs6000_pic_func_labelno): Delete.
3665 (lmw_operation): Check for a zero base register,
3666 which doesn't mean what we want.
3667 (stmw_operation): New function.
3668 (print_operand): Define new 'l' modifier.
3669 (rs6000_stack_info): We must save all 64 bits of the registers
3670 if TARGET_POWERPC64.
3671 (rs6000_output_load_toc_table): Delete.
3672 (rs6000_emit_load_toc_table): New function.
3673 (rs6000_allocate_stack_space): Delete.
3674 (rs6000_emit_allocate_stack): New function.
3675 (rs6000_emit_prologue): New function.
3676 (output_prolog): Use rs6000_emit_prologue.
3677 (rs6000_emit_epilogue): Change a few variable names to be
3678 more accurate. Restore all 64 bits of the registers if
3679 TARGET_POWERPC64. Only restore the FP registers which were used
3680 if they are being saved/restored one-at-a-time.
3681 (output_mi_thunk): Delete inefficient code generation.
3682 (output_function_profiler): Don't use rs6000_output_load_toc_table.
3683 * rs6000.h: Declare rs6000_emit_load_toc_table,
3684 rs6000_allocate_stack_space, stmw_operation. Don't declare
3685 rs6000_output_load_toc_table.
3686 * rs6000.md (elf_high): Allow register 0, but discourage it
3688 (elf_low): Support loading into register 0.
3689 (load_toc_aix_si): New pattern.
3690 (load_toc_aix_di): New pattern.
3691 (load_toc_v4_pic_si): New pattern.
3692 (load_toc_v4_pic_di): New pattern.
3693 (load_toc_v4_PIC_1): New pattern.
3694 (load_toc_v4_PIC_1b): New pattern.
3695 (load_toc_v4_PIC_2): New pattern.
3696 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3697 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3698 (prologue): New expander.
3699 (movesi_from_cr): New pattern.
3700 (stmw): New pattern.
3701 (save_fpregs_si): New pattern.
3702 (save_fpregs_di): New pattern.
3704 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3706 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3711 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3713 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3715 (movsi_got_internal): Likewise.
3716 (movsi_got_internal+1): Likewise.
3717 (set_sp): 'unspec 7' does a SImode clobber.
3719 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3721 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3722 allocate a stack temporary.
3723 (floatsidf2_internal): Likewise.
3724 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
3726 (floatunssidf2): Don't use the fpmem "register", just
3727 allocate a stack temporary.
3728 (floatunssidf2_internal): Likewise.
3729 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
3731 (floatsidf2_loadaddr): Delete.
3732 (floatsidf2_store1): Delete.
3733 (floatsidf2_store2): Delete.
3734 (floatsidf2_load): Delete.
3735 (fix_truncdfsi2): Don't use the fpmem "register", just
3736 allocate a stack temporary.
3737 (fix_truncdfsi2_internal_si): Delete.
3738 (fix_truncdfsi2_internal_di): Delete.
3739 (fix_truncdfsi2_internal): New insn.
3740 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3741 (fix_truncdfsi2_store): Delete.
3742 (fix_truncdfsi2_load): Delete.
3743 (fctiwz): Produce gen_fctiwz.
3745 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
3747 * eabi.h (INVOKE__main): Define.
3748 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3750 (rs6000_emit_prologue): Likewise.
3751 * rs6000.h (struct rs6000_stack): Don't keep track of whether
3752 this is the main program.
3754 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3756 * rs6000.c (rs6000_va_arg): Delete some unused variables.
3758 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3760 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3761 goes after the argument.
3763 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3765 * rs6000.md: Document 'unspec' values used.
3766 (epilogue): New expander.
3767 (movesi_to_cr_one): New expander.
3768 (movesi_to_cr and following): New pattern.
3770 (return_internal_si): New pattern.
3771 (return_internal_di): New pattern.
3772 (return_and_restore_fpregs_si): New pattern.
3773 (return_and_restore_fpregs_di): New pattern.
3774 * rs6000.h: Declare new functions.
3775 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3776 rather than rs6000_calls_p.
3777 (rs6000_makes_calls): Delete.
3778 (lmw_operation): New function.
3779 (mtcrf_operation): New function.
3780 (rs6000_emit_epilogue): New function.
3781 (output_epilog): Call rs6000_emit_epilogue and final if
3782 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3784 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3786 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3787 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3788 * aix.h (SUBTARGET_SWITCHES): Document switches.
3789 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
3790 sched-prolog and sched-epilog the same. Document all the
3792 (TARGET_OPTIONS): No longer allow -mdebug-.
3794 2000-01-12 Geoff Keating <geoffk@cygnus.com>
3796 * rs6000.h (ASM_FILE_END): Move to aix.h.
3797 (EXTRA_SECTIONS): Move to aix.h.
3798 (READONLY_DATA_SECTION): Move to aix.h.
3799 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3800 (SELECT_SECTION): Move to aix.h.
3801 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3802 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3803 (LINK_REGISTER_REGNUM): New definition.
3804 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3805 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3807 * sysv4.h: Delete the code between the inclusion of rs6000.h
3809 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
3810 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
3811 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
3812 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
3813 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
3814 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
3815 (fix_truncdfsi2_internal_di): New pattern.
3816 (fix_truncdfsi2_store): The second arg here is Pmode too.
3817 (fix_truncdfsi2_load): The second arg here is Pmode too.
3818 (tablejumpdi): Now that switch tables hold only SImode values,
3819 gcc needs to know how to add them to the pc which is DImode.
3820 * rs6000.c (rs6000_stack_info): Use symbolic name for
3821 LINK_REGISTER_REGNUM.
3822 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
3823 (output_toc): Delete unused variables s1 and s2.
3824 (output_ascii): Use fputs not fprintf on a variable string.
3826 2000-01-07 David Edelsohn <edelsohn@gnu.org>
3828 * rs6000.c (processor_target_table): Add power3 as alias for 630.
3829 * aix43.h: Revert Aug 2 change.
3830 (HAS_INIT_SECTION): Define, not visible yet.
3831 (LD_INIT_SWITCH): Define, not visible yet.
3832 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3834 2000-01-04 Joel Sherrill (joel@OARcorp.com>
3836 * config/rs6000/rtems.h: Include config/rtems.h.
3838 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3840 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3841 (SLOW_UNALIGNED_ACCESS): Define.
3842 (CASE_VECTOR_MODE): Always use 32-bit offsets.
3843 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3844 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3845 (toc_section): Likewise and .toc pseudo-op.
3846 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
3848 (TEXT_SECTION_ASM_OP): Likewise.
3849 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3852 1999-12-17 Jakub Jelinek <jakub@redhat.com>
3854 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
3855 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3858 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3860 * rs6000.h: Move more stuff from here...
3862 * sysv4.h: Cleanup accordingly.
3863 * netware.h: Likewise
3865 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3867 * rs6000.h: Continue cleanup.
3870 * netware.h: Likewise.
3872 * sysv4.h: Likewise.
3873 * win-nt.h: Likewise.
3875 * rs6000.h (TARGET_SWITCHES): Add descriptions.
3876 (TARGET_OPTIONS): Likewise.
3878 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
3879 (SUBTARGET_OPTIONS): Likewise.
3881 * rs6000.md: Fix compile time warnings.
3883 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3885 vxworks patches from the Cygnus tree originally by
3886 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
3887 <vmakarov@cygnus.com>.
3888 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
3889 (ENDFILE_SPEC): Likewise.
3890 (LIB_VXWORKS_SPEC): New macro.
3891 (STARTFILE_VXWORKS_SPEC): New macro.
3892 (ENDFILE_VXWORKS_SPEC): New macro.
3893 (LINK_START_VXWORKS_SPEC): New macro.
3894 (LINK_OS_VXWORKS_SPEC): New macro.
3895 (CPP_OS_VXWORKS_SPEC): New macro.
3896 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
3897 * vxppc.h: Rewrite to use proper configuration method.
3898 * vxppcle.h: New file.
3899 * ../../configure.in: Add powerpcle-wrs-vxworks*.
3900 * ../../configure: Rebuilt.
3902 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3904 Lots of changes to rs6000.h, sysv4.h, aix.h,
3905 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
3906 with the aim that rs6000.h is the first header
3907 included and the others override it.
3910 * x-aix41-gld: Remove.
3912 * x-aix41: Remove target-specific switches, and don't specify
3913 -Wl,-bbigtoc as we don't need it any more.
3914 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
3915 Use t-aix43 for AIX 4.3 and above.
3916 * ../../configure: Regenerated.
3918 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
3919 options, that don't do anything yet.
3920 (MASK_SCHED_PROLOG): New macro.
3921 (MASK_SCHED_EPILOG): New macro.
3922 (TARGET_SCHED_PROLOG): New macro.
3923 (TARGET_SCHED_EPILOG): New macro.
3925 2000-01-04 Geoff Keating <geoffk@cygnus.com>
3927 * rs6000.c: Correct comment, the `minimal' TOCs are actually
3928 one per translation unit, not one per function.
3929 (output_toc): Also do duplicate constant elimination
3930 for per-translation-unit TOCs.
3932 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
3933 a comment explaining _exactly_ when this pattern gets used.
3934 (builtin_setjmp_receiver): New pattern for better clarity.
3935 (init_v4_pic): Move it into a section dealing with TOC registers.
3937 1999-12-30 Geoff Keating <geoffk@cygnus.com>
3939 * rs6000.c (toc_hash_table): New variable.
3940 (rs6000_hash_constant): New function.
3941 (toc_hash_function): New function.
3942 (toc_hash_eq): New function.
3943 (toc_hash_mark_entry): New function.
3944 (toc_hash_mark_table): New function.
3945 (output_toc): Don't output duplicate TOC entries in
3947 (rs6000_add_gc_roots): Add the hash table as a GC root.
3948 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
3949 where they clearly shouldn't be. This may need to be fixed
3950 later when there is a GNU ar for AIX.
3951 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
3952 Don't define BOOT_LDFLAGS as it is now not necessary.
3954 1999-12-29 Geoff Keating <geoffk@cygnus.com>
3956 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
3957 for va_list on AIX. Use unsigned_char_type_node rather than
3958 constructing our own version on svr4.
3960 1999-12-17 Geoff Keating <geoffk@cygnus.com>
3962 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
3963 since patently it's not.
3965 1999-12-08 Geoff Keating <geoffk@cygnus.com>
3967 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
3968 define_expand/define_insn pair, and handle restore of the
3969 SVR4 -fpic register.
3971 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
3973 * acconfig.h (HAVE_GAS_WEAK): New define.
3974 * configure.in (assembler weak support): Check for .weak support.
3975 * config.in, configure: Rebuilt.
3976 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
3977 HAVE_GAS_WEAK is defined.
3979 2000-03-15 Nick Clifton <nickc@cygnus.com>
3981 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
3984 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
3986 * cppfiles.c (open_include_file): New function.
3987 (find_include_file, cpp_read_file): Use it.
3989 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3991 * cpphash.c (dump_hash_helper): Take the slot, not the element.
3993 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
3995 * flow.c (verify_flow_info): Check for unconditional return.
3997 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
3999 * config/ia64/ia64.md (restore_stack_nonlocal): New.
4000 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
4001 (__ia64_restore_stack_nonlocal): New.
4002 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
4004 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4006 * cpphash.c (collect_formal_parameters): Do not complain about
4007 parameter names that just start with `__VA_ARGS__'.
4009 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
4011 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4012 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4013 * i386.c (pentiumpro_cost): Set mul cost to 4.
4014 (x86_use_movx): Set for PPro.
4016 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
4018 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4019 STACK_BOUNDARY for empty frames now.
4021 2000-03-14 Mark Mitchell <mark@codesourcery.com>
4023 * stor-layout.c (layout_union): Remove.
4024 (layout_union_field): New function, split out from layout_union.
4025 (finish_union_layout): Likewise.
4026 (layout_field): Handle unions by calling layout_union_field.
4027 (finish_record_layout): Handle unions.
4028 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4029 QUAL_UNION_TYPE handling.
4031 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
4033 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4034 end of basic block is jump_insn, not barrier; use create_basic_block
4035 instead of creating basic block by hand.
4037 2000-03-14 Jason Eckhardt <jle@cygnus.com>
4039 * flow.c (reorder_basic_blocks): Account for barriers when writing
4040 over NEXT_INSN (last_bb->end).
4041 (verify_flow_info): Add check for missing barriers.
4043 2000-03-14 Greg McGary <gkm@gnu.org>
4045 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4046 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4047 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4048 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4049 __unbounded, __unbounded__): New keywords.
4050 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4051 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4052 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4054 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
4056 * cselib.h: New file.
4057 * alias.c: Include "cselib.h".
4058 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4059 MEMs as two new arguments.
4060 (get_addr): New static function.
4061 (find_base_term): Handle VALUEs.
4062 (memrefs_conflict_p): Likewise.
4063 (true_dependence): Call get_addr on the addresses.
4064 Call fixed_scalar_and_varying_struct_p with addresses that have been
4065 passed through get_addr and canon_rtx.
4066 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4067 with true_dependence.
4068 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4069 * loop.c: Include "cselib.h".
4070 (load_mems): Process extended basic block that enters the loop with
4071 cselib. Use that information to change initialization of the shadow
4072 register so that a constant equivalence is seen by later passes.
4073 * reload1.c: Include "cselib.h".
4074 (reload_cse_invalidate_regno): Delete function.
4075 (reload_cse_mem_conflict_p): Likewise.
4076 (reload_cse_invalidate_mem): Likewise.
4077 (reload_cse_invalidate_rtx): Likewise.
4078 (reload_cse_regno_equal_p): Likewise.
4079 (reload_cse_check_clobber): Likewise.
4080 (reload_cse_record_set): Likewise.
4081 (reg_values): Delete static variable.
4082 (invalidate_regno_rtx): Likewise.
4083 (reload_cse_delete_noop_set): New static function.
4084 (reload_cse_simplify): New static function, broken out of
4086 (reload_cse_noop_set_p): Delete unused argument INSN.
4087 Just call rtx_equal_for_cselib_p on set source and destination.
4088 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4089 reload_cse_delete_noop_set. Delete code to keep track of values; use
4090 cselib functions instead. Delete code to push/pop obstacks.
4091 (reload_cse_simplify_set): Use cselib to find equivalent values.
4092 Delete code to push/pop obstacks.
4093 (reload_cse_simplify_operands): Likewise.
4094 * rtl.def (VALUE): New rtx code.
4095 * rtl.h (union rtunion_def): New elt rt_cselib.
4096 (X0CSELIB, CSELIB_VAL_PTR): New macros.
4097 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4098 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4099 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4100 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4101 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4102 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4103 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4104 cselib_record_set, cselib_record_sets): New static functions.
4105 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4106 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4107 references_value_p): New functions.
4108 (MAX_USELESS_VALUES, REG_VALUES): New macros.
4109 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4110 n_useless_values, reg_values, callmem, cselib_obstack,
4111 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4112 New static variables.
4113 * varray.h (union varray_data_tag): New elt te.
4114 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4115 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4118 2000-03-14 Nick Clifton <nickc@cygnus.com>
4120 * gcc.c (do_spec_1): Catch the case where %* is used in a
4121 substitution pattern, but it has not been initialised.
4122 Issue a meaningful error message if an unrecognised operator
4123 is encountered in a spec string.
4125 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
4127 * function.c (prepare_function_start): Correctly initialize
4128 cfun->stack_alignment_needed.
4130 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
4132 * cppfiles.c (find_include_file): Don't assume nshort is a
4135 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
4137 * configure.in (hppa configurations): Add pa32-regs.h to the
4138 list of tm files as appropriate.
4139 * configure: Rebuilt.
4140 * pa.c (compute_frame_size): Remove explicit knowledge about FP
4142 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4143 (fmpyaddoperands, fmpysuboperands): Likewise.
4144 * pa.h: Remove various definitions which depend on knowing
4145 how registers are numbered.
4146 * pa32-regs.h: New file with PA32 register numbering specific
4149 2000-03-14 Richard Henderson <rth@cygnus.com>
4151 * regmove.c (combine_stack_adjustments): New.
4152 (stack_memref_p, single_set_for_csa): New.
4153 (free_csa_memlist, record_one_stack_memref): New.
4154 (try_apply_stack_adjustment): New.
4155 (combine_stack_adjustments_for_block): New.
4156 * rtl.h (combine_stack_adjustments): Declare.
4157 * toplev.c (rest_of_compilation): Call it.
4159 * i386.md: Revert 2000-01-16 change.
4161 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4163 * gccbug.in: Add web category, gcc specific classes.
4165 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
4167 * stor-layout.c (finalize_record_size): Fix typo.
4169 2000-03-14 Stan Shebs <shebs@apple.com>
4171 * c-typeck.c (c_alignof): Error on incomplete types.
4172 * extend.texi (Alignment): Document this.
4174 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4176 * cppfiles.c: Include mkdeps.h.
4177 (find_include_file, read_include_file): Remove _cpp_ prefix
4178 from name, make static.
4179 (_cpp_execute_include): New function, broken out of
4182 * cpplib.c: Don't include mkdeps.h.
4183 (struct directive): Remove type field. Reorder entries. The
4184 function takes only one argument.
4185 (struct if_stack): Make type field an int.
4186 (directive_table): Rename to dtable. Generate it, the
4187 prototypes of the directive handlers, and the enum for the
4188 directive numbers, from a template macro.
4189 (do_ifndef, do_include_next, do_import): New functions.
4190 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4191 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4192 do_ident, do_assert, do_unassert, do_sccs): Take only one
4194 (do_sccs): Define always, but alter behavior based on
4196 (_cpp_handle_directive, consider_directive_while_skipping):
4197 Restructure for new directive table layout.
4199 (pass_thru_directive): Take a directive number, not a pointer
4200 to a struct directive.
4201 (parse_include): New function, broken out of do_include.
4202 (do_include, do_import, do_include_next): Use parse_include
4203 and _cpp_execute_include.
4204 (do_elif, do_else): Test for T_ELSE specifically when checking
4205 for #elif/#else after #else.
4206 (parse_ifdef): New function, broken out of do_ifdef.
4207 (validate_else): Expect a name arg without a leading #.
4208 (if_directive_name): Delete.
4209 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4210 directive handlers with only one argument.
4212 * cpphash.h: Update prototypes.
4213 (enum node_type): Remove entries for directives.
4214 * Makefile.in: Update dependencies.
4216 * cpphash.c (dump_hash_helper): Only dump nodes of type
4217 T_MACRO. Emit a newline after each definition.
4219 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4221 * gccbug.in: New file.
4222 * configure.in (all_outputs): Add gccbug.
4223 * Makefile.in (install-common): Install gccbug.
4224 (GCCBUG_INSTALL_NAME): New variable.
4225 * configure: Rebuilt.
4227 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4229 * function.c (put_var_into_stack): Use type_for_mode to calculate
4230 part_type. Use MEM_SET_IN_STRUCT_P.
4231 * expr.c (store_field): Handle CONCAT.
4232 (store_constructor): Use fields_length.
4233 * tree.c (fields_length): New fn.
4234 * tree.h: Declare it.
4236 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4238 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4239 (cpplex.o): New target.
4240 * po/POTFILES.in: Add cpplex.c.
4242 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4243 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4244 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4245 skip_block_comment, skip_line_comment, skip_comment,
4246 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4247 _cpp_parse_name, skip_string, parse_string,
4248 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4249 _cpp_get_directive_token, find_position,
4250 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4251 (maybe_macroexpand, _cpp_lex_token): New functions.
4253 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4254 parse_goto_mark): Delete.
4255 (_cpp_handle_eof): New function.
4256 (_cpp_handle_directive): Rename from handle_directive.
4257 (_cpp_output_line_command): Rename from output_line_command.
4258 (do_if, do_elif): Call _cpp_parse_expr directly.
4259 * cppfiles.c (_cpp_read_include_file): Don't call
4260 init_input_buffer here.
4261 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4262 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4263 here; pop the token_buffer and skip the rest of the line here.
4264 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4267 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4269 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4270 CPP_GOTO_MARK): New macros.
4271 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4272 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4273 _cpp_read_and_prescan, _cpp_init_input_buffer,
4274 _cpp_grow_token_buffer, _cpp_get_directive_token,
4275 _cpp_handle_directive, _cpp_handle_eof,
4276 _cpp_output_line_command): Prototype them here.
4277 * cpplib.h (enum cpp_token): Add CPP_MACRO.
4278 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4279 quote_string, output_line_command): Remove.
4281 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
4283 * stmt.c (expand_end_case): RANGE may be signed, and when checking
4284 whether it is too large we must also verify that it isn't negative.
4286 2000-03-13 Jakub Jelinek <jakub@redhat.com>
4288 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4289 (movsi_zero_liveg0): Remove.
4290 (movsf_insn_novis_liveg0): Remove.
4292 (negsi2_not_liveg0): Rename to negsi2.
4293 (one_cmplsi2): Remove.
4294 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4295 (one_cmplsi2_liveg0): Remove.
4296 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4297 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4298 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4299 (PREDICATE_CODES): Remove zero_operand.
4300 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4301 TARGET_BROKEN_SAVERESTORE.
4302 (zero_operand): Remove.
4303 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4304 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4306 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4307 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4308 TARGET_BROKEN_SAVERESTORE): Remove.
4309 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4311 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4313 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4316 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4318 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4320 * cpplib.c (do_pragma_implementation): Fix off-by-one error
4321 truncating a string. Don't assume tokens are nul terminated.
4322 Problem noted by Andreas Jaeger <aj@suse.de>
4324 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4326 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4327 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4328 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4330 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
4332 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4333 STRUCTURE_SIZE_BOUNDARY.
4335 2000-03-13 Mark Mitchell <mark@codesourcery.com>
4337 * tree.h (record_layout_info_s): New structure.
4338 (record_layout_info): New type.
4339 (new_record_layout_info): New function.
4340 (layout_field): Likewise.
4341 (finish_record_layout): Likewise.
4342 * stor-layout.c (layout_record): Remove.
4343 (new_record_layout_info): New function.
4344 (layout_field): New function, broken out from layout_record.
4345 (finalize_record_size): Likewise.
4346 (compute_record_mode): Likewise.
4347 (finalize_type_size): New function, broken out from layout_type.
4348 (finish_record_layout): Likewise.
4349 (layout_type): Use them.
4351 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4353 * cpphash.c: Don't include version.h.
4354 (special_symbol) [case T_VERSION]: Look for the string in
4355 hp->value.cpval; don't use version_string.
4356 * cppinit.c (initialize_builtins): Set hp->value.cpval for
4357 __VERSION__ to version_string.
4358 * Makefile.in (cpphash.o): Update deps.
4360 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4362 Convert cpplib to use libiberty/hashtab.c.
4364 * cpplib.h (struct cpp_reader): Make hashtab and
4365 all_include_files of type 'struct htab *'. Delete HASHSIZE
4366 and ALL_INCLUDE_HASHSIZE macros.
4368 * cpphash.h: Update prototypes.
4369 (struct hashnode): Remove next, prev, and bucket_hdr members.
4370 Make length a size_t. Add hash member.
4371 (struct ihash): Remove next member. Add hash member. Make
4372 name a flexible array member.
4374 * cppfiles.c: Include hashtab.h.
4375 (include_hash): Delete.
4376 (IHASHSIZE): New macro.
4377 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4378 (cpp_included): Do the hash lookup here.
4379 (_cpp_find_include_file): Rewrite.
4380 (cpp_read_file): Put the "fake" hash entry into the hash
4381 table. Honor the control_macro, if it turns out we've seen
4382 the file before. Don't push the buffer here.
4383 (_cpp_read_include_file): Push the buffer here.
4384 (OMODES): New macro. Use it whenever we call open(2).
4386 * cpphash.c: Include hashtab.h.
4387 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4388 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4389 _cpp_lookup_slot): New functions.
4390 (HASHSIZE): new macro.
4391 (hashf, _cpp_install, _cpp_delete_macro): Delete.
4392 (_cpp_lookup): Use hashtab.h routines.
4394 * cppinit.c: Include hashtab.h.
4395 (cpp_reader_init): Call _cpp_init_macro_hash and
4396 _cpp_init_include_hash. Don't allocate hashtab directly.
4397 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4398 pfile->all_include_files.
4399 (initialize_builtins): Use _cpp_make_hashnode and
4400 htab_find_slot to add hash entries.
4401 (cpp_finish): Just call _cpp_dump_macro_hash.
4402 * cpplib.c: Include hashtab.h.
4403 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4404 create hash entries.
4405 (do_pragma_poison, do_assert): Likewise.
4406 (do_include): Don't push the buffer here. Don't increment
4407 system_include_depth unless _cpp_read_include_file succeeds.
4408 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4410 (do_pragma_implementation): Use alloca to create copy.
4412 * Makefile.in: Update dependencies.
4414 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4416 * cppinit.c (cl_directive_handler): More K&R fixing.
4418 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
4420 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4422 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4424 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4426 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4427 Change from char[] to macros.
4429 2000-03-12 Neil Booth <NeilB@earthling.net>
4431 * cppinit.c (cpp_start_read): Update indirect function
4434 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
4436 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4439 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4440 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4442 2000-03-11 Neil Booth <NeilB@earthling.net>
4444 * cppinit.c (struct pending option): Replace undef with a
4445 pointer to a directive handling routine.
4446 (struct cpp_pending): Replace separate assert_ and define_
4447 lists with one directive_ list.
4448 (new_pending_define): Rename new_pending_directive. Extra
4449 argument is the directive's handling routine.
4450 (handle_option): Update to use new_pending_directive.
4452 2000-03-11 Neil Booth <NeilB@earthling.net>
4454 * cppfiles.c (file_cleanup, _cpp_find_include_file,
4455 remap_filename, _cpp_read_include_file, actual_directory,
4456 hack_vms_include_specification): Replace bcopy(), index() etc
4457 calls. Add casts to some allocations. Make some variables
4458 pointers to const [unsigned] char.
4459 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4460 collect_formal_parameters): Similarly.
4461 * cppinit.c (struct pending_option, append_include_chain,
4462 cpp_options_init, cpp_reader_init, initialize_standard_includes,
4463 cpp_start_read, new_pending_define, handle_option): Similarly.
4464 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4465 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4466 do_pragma_implementation, detect_if_not_defined,
4467 do_ifdef, skip_if_group, cpp_get_token, parse_string,
4468 do_assert, do_unassert): Similarly.
4469 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
4470 function prototypes.
4471 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
4473 2000-03-10 Richard Henderson <rth@cygnus.com>
4475 * builtins.c (expand_builtin_strlen): Revert last change.
4476 Use emit_insn_before if we're at the beginning of a sequence.
4478 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
4480 * builtins.c (expand_builtin_strlen): Make sure that we have something
4481 at the beginning of the sequence.
4483 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4486 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4488 2000-03-10 Richard Henderson <rth@cygnus.com>
4490 * except.c (can_throw): Use INTVAL on a CONST_INT.
4491 (reachable_handlers): Likewise.
4492 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4494 2000-03-10 Andreas Jaeger <aj@suse.de>
4496 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4497 MD_STARTFILE_PREFIX since those are not needed on linux.
4498 (ASM_FILE_START): New, from mips/gnu.h.
4500 2000-03-09 Richard Henderson <rth@cygnus.com>
4501 Alex Samuel <samuel@codesourcery.com> and others
4503 * Makefile.in (ssa.o): New rule.
4505 (STAGESTUFF): Add *.ssa and *.ussa.
4506 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4507 * rtl.def (PHI): New RTL expression.
4508 * rtl.h (clear_log_links): New declaration.
4509 (convert_to_ssa): Likewise.
4510 (convert_from_ssa): Likewise.
4511 * flow.c (split_edge): If the entry node falls through to the
4512 split edge's source block, split the entry edge.
4513 (clear_log_links): New function.
4514 * toplev.c (ssa_dump): New variable.
4515 (flag_ssa): Likewise.
4516 (f_options): Add "ssa".
4517 (compile_file): Create SSA dump files.
4518 (rest_of_compilation): Go to and from SSA if enabled.
4519 (decide_d_option): Handle -de for SSA dump files.
4522 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
4524 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4527 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
4529 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4531 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
4533 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4534 (MD_STARTFILE_PREFIX_1): New macro.
4536 2000-03-09 Robert Lipe <robertl@sco.com>
4538 * config/ia64/ia64.c: Include system.h.
4540 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
4542 * except.c (nothrow_function_p): If -fno-exceptions, just return.
4543 (init_eh_nesting_info): Likewise.
4545 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4546 (TREE_NOTHROW): Rename from TREE_RAISES.
4547 * toplev.c (rest_of_compilation): Set it.
4548 * print-tree.c (print_node): Adjust.
4549 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4550 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4551 * calls.c (emit_call_1): Add 'nothrow' parm. Add
4552 REG_EH_REGION note as appropriate.
4553 (libfunc_nothrow): New fn.
4554 (emit_library_call, emit_library_call_value): Use it.
4555 (expand_call): Check TREE_NOTHROW.
4557 * varasm.c (make_decl_rtl): Skip initial '*' when setting
4558 DECL_ASSEMBLER_NAME.
4560 2000-03-09 Andreas Jaeger <aj@suse.de>
4562 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4563 (TARGET_MEM_FUNCTIONS): Define.
4565 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
4567 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4569 * except.c (can_throw): See through a SEQUENCE.
4570 (nothrow_function_p): New fn.
4571 * except.h: Declare it.
4572 * function.c (current_function_nothrow): New var.
4573 (prepare_function_start): Initialize it.
4574 * output.h: Declare it.
4575 * toplev.c (rest_of_compilation): Set it.
4576 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4578 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
4580 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4581 match. (cpp_compare_defs): Count the nul separator when
4582 advancing over argument names.
4584 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
4586 * recog.c (preprocess_constraints): Matching constraints affect
4587 same alternative/different operand, not same operand/different
4590 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4591 register and a constant specially.
4593 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4595 * libgcc2.h: New file.
4596 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4598 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
4600 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4601 * configure: Regenerate.
4604 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4606 * Makefile.in (LIBCPP_DEPS): New macro.
4607 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4609 * cpperror.c: Include cpphash.h.
4610 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
4612 (lex): Don't use CPP_WARN_UNDEF.
4613 (_cpp_parse_expr): Return an int, the truth value.
4614 * cppfiles.c: Include cpphash.h.
4615 (_cpp_merge_include_chains): Move to cppinit.c and make static.
4616 * cppinit.c (include_defaults_array): Disentangle.
4617 (cpp_cleanup): Don't free the if stack here.
4618 (cpp_finish): Pop off all buffers, not just one.
4619 * cpplib.c (eval_if_expr): Return int.
4620 (do_xifdef): Rename do_ifdef.
4621 (handle_directive): Don't use CPP_PREPROCESSED.
4622 (cpp_get_token): Don't use CPP_C89.
4623 * fix-header.c: Don't use CPP_OPTIONS.
4625 * cpplib.h: Move U_CHAR, enum node_type, struct
4626 file_name_list, struct ihash, is_idchar, is_idstart,
4627 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4628 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4629 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4630 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4631 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4632 of _cpp_simplify_pathname, _cpp_find_include_file,
4633 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4634 Move struct if_stack to cpplib.c. Move struct cpp_pending to
4636 Change all uses of U_CHAR to be unsigned char instead.
4637 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4639 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
4641 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4642 (dwarf2out_begin_prologue): Set it.
4643 (output_call_frame_info): Don't emit EH unwind info for leaves.
4645 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4646 can occur outside of an EH region.
4647 * except.c: Correct comments about rethrow behavior.
4648 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4650 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
4652 * flow.c (make_edges): Always call make_eh_edge for calls.
4654 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4656 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4657 (struct cpp_buffer): Remove fname and underflow fields.
4658 (struct cpp_reader): Remove get_token field.
4659 (struct include_hash): Rename to struct ihash. Add typedef to
4661 (struct if_stack): Remove fname field.
4662 (IF_STACK_FRAME): Rename to IF_STACK.
4664 * cpperror.c (print_containing_files): Trust that there are no
4665 macro buffers below the top file buffer.
4666 * cppfiles.c: Replace all references to 'struct include_hash'
4667 with 'IHASH'. Rename initialize_input_buffer to
4668 init_input_buffer. Don't set or reference cpp_buffer->fname,
4669 use buffer->ihash->name instead.
4670 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
4671 not CPP_NULL_BUFFER.
4672 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4673 IF_STACK_FRAME, IHASH not struct include_hash.
4674 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
4675 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
4676 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
4677 references to cpp_buffer->fname (delete entirely, or use
4678 ->ihash->name instead) and IF_STACK->fname.
4679 (cpp_push_buffer): Don't set new->underflow.
4680 (do_include): Use cpp_file_buffer.
4682 * cpphash.c (collect_formal_parameters): Remove duplicate
4683 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
4684 used as a macro argument name. Don't append "..." to namebuf
4685 for varargs macros. After we're done scanning, go through
4686 namebuf and make it NUL separated, not comma separated.
4687 (_cpp_compare_defs): Remove register tag from variables.
4688 Expect defn->argnames to be NUL separated.
4689 (_cpp_dump_definition): Expect defn->argnames to be NUL
4690 separated and in forward order.
4691 * cpphash.h: Update documentation of argnames field.
4693 2000-03-08 Richard Henderson <rth@cygnus.com>
4695 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4696 to fail. Don't pre-expand the source operand.
4698 * i386.md (strlensi): Initialize eoschar and align before use.
4700 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
4702 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4703 CONSTRUCTOR element.
4705 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
4707 * mips.c (mips_expand_prologue): If the last
4708 named argument is the vararg marker "va_list", treat it as
4709 an unnamed argument.
4711 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
4713 * dbxout.c (dbxout_parms): When correcting for promoted
4714 big-endian parameters, use the mode of the DECL_RTL rather
4715 than UNITS_PER_WORD.
4717 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
4719 * c-common.h (make_fname_decl): Declare.
4720 * c-common.c (make_fname_decl): Define.
4721 (declare_hidden_char_array): Remove.
4722 (declare_function_name): Use make_fname_decl.
4723 * c-decl.c (c_make_fname_decl): New function.
4724 (init_decl_processing): Set make_fname_decl.
4726 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
4728 * cccp.c (handle_directive): Initialize backslash_newlines_p.
4730 2000-03-07 Philipp Thomas <pthomas@suse.de>
4732 * po/POTFILES.in: Remove cppalloc.c from file list.
4734 2000-03-07 Steve Chamberlain <sac@pobox.com>
4736 * pj.c (pj_expand_prologue): current_function->args_info is
4737 now current_function_args_info.
4739 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4740 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4741 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4743 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4745 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4746 output as hexadecimal rather than the default octal.
4748 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
4750 * cpphash.c (special_symbol): Fix thinko in previous commit.
4752 2000-03-07 Neil Booth <NeilB@earthling.net>
4754 * cppexp.c (struct operation, left_shift, right_shift,
4755 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4756 "int"s to "unsigned int"s.
4757 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4759 * cpplib.h: Update for above.
4760 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4761 returned from allocations.
4763 * cppinit.c (opt_comp, parse_options): New functions.
4764 (handle_option): Use parse_option to parse a single command
4765 line option, that possibly takes an argument.
4766 (cpp_handle_options): Sort the array of command line options on
4767 first invocation (non-ASCII hosts only).
4768 (print_help): Update.
4770 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
4772 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4773 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
4775 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4777 * cppinit.c (cpp_cleanup): Free imp->nshort also.
4779 * cpperror.c (cpp_print_containing_files,
4780 cpp_print_file_and_line, v_cpp_message): Rename to
4781 print_containing_files, print_file_and_line, and v_message.
4782 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4783 to _cpp_parse_expr, parse_escape, and lex.
4784 (parse_charconst): Remove broken multibyte support.
4785 * cppfiles.c (include_hash): Make static.
4786 (cpp_included): New function.
4787 (merge_include_chains, find_include_file, finclude,
4788 simplify_pathname): Rename to _cpp_merge_include_chains,
4789 _cpp_find_include_file, _cpp_read_include_file, and
4790 _cpp_simplify_pathname.
4791 * cpphash.c (cpp_lookup, free_definition, delete_macro,
4792 cpp_install, create_definition, macroexpand, compare_defs,
4793 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4794 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4795 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4796 * cppinit.c (cpp_handle_option): Rename to handle_option, make
4798 * cpplib.c: Remove extern prototype of cpp_parse_expr.
4800 * cpphash.h: Update prototypes.
4801 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
4803 2000-03-07 Andrew Haley <aph@cygnus.com>
4805 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4806 PTRDIFF_TYPE should be based solely on Pmode.
4809 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4811 * rtl.h (rtunion_def): Constify member `rtstr'.
4812 (emit_line_note_after, emit_line_note, emit_line_note_force,
4813 emit_note, decode_asm_operands): Constify.
4815 * cse.c (canon_hash): Likewise.
4817 * dbxout.c (dbxout_block): Likewise.
4819 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
4820 v_warning_for_asm): Likewise.
4822 * dwarfout.c (function_start_label): Likewise.
4824 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
4825 emit_line_note_force): Likewise.
4827 * final.c (last_filename, asm_insn_count, final_scan_insn,
4828 output_source_line): Likewise.
4830 * function.h (struct emit_status): Likewise.
4832 * gcse.c (hash_expr_1): Likewise.
4834 * genattr.c (gen_attr, main): Likewise.
4836 * genattrtab.c (struct function_unit, current_alternative_string,
4837 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
4838 attr_numeral, check_attr_test, check_attr_value,
4839 convert_set_attr_alternative, convert_set_attr,
4840 compute_alternative_mask, simplify_by_exploding, gen_attr,
4841 gen_unit): Likewise.
4843 * genflags.c (gen_insn): Likewise.
4845 * gengenrtl.c (type_from_format): Likewise.
4847 * genopinit.c (gen_insn): Likewise.
4849 * genoutput.c (n_occurrences, process_template, process_template):
4852 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4855 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4858 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
4859 ggc_set_mark, ggc_get_size): Likewise.
4861 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
4863 * optabs.c (init_one_libfunc): Likewise.
4865 * output.h (assemble_start_function): Likewise.
4867 * recog.c (decode_asm_operands): Likewise.
4869 * toplev.c (rest_of_compilation): Likewise.
4871 * tree.h (emit_line_note_after, emit_line_note,
4872 emit_line_note_force): Likewise.
4874 * varasm.c (asm_output_bss, asm_output_aligned_bss,
4875 asm_emit_uninitialised, assemble_start_function,
4876 assemble_variable, const_hash, compare_constant_1,
4877 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
4879 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
4881 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
4883 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
4885 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
4887 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
4888 arm_dllimport_name_p): Likewise.
4890 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
4893 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
4895 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4897 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
4898 arm_mark_dllexport, arm_mark_dllimport,
4899 arm_pe_encode_section_info): Likewise.
4901 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
4902 ASM_FINISH_DECLARE_OBJECT): Likewise.
4904 * arm/thumb.c (thumb_function_prologue): Likewise.
4906 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
4908 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4910 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
4912 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
4914 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4916 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4918 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
4919 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
4921 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
4923 * i386/i386.c (asm_output_function_prefix): Likewise.
4925 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
4927 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4929 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
4931 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
4932 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
4933 ASM_OUTPUT_SECTION_NAME): Likewise.
4935 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
4937 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
4939 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
4941 * m32r/m32r.c (m32r_encode_section_info): Likewise.
4943 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4945 * mcore/mcore.c (mcore_encode_section_info): Likewise.
4947 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4949 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4951 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4953 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
4955 * mips/mips.md (movdi, movsi): Likewise.
4957 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4959 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4961 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4963 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
4964 ASM_OUTPUT_ASCII): Likewise.
4966 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
4967 output_mi_thunk, output_toc): Likewise.
4969 * rs6000/rs6000.md (movsi): Likewise.
4971 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
4973 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
4975 * v850/v850.c (print_operand, print_operand_address,
4976 v850_encode_data_area): Likewise.
4978 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
4980 * config/mips/mips.md (zero_extendsidi2): Always force operand
4981 one to memory for mips16.
4983 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4985 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
4986 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
4987 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
4988 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
4989 (min_precision): Result is unsigned.
4990 (add_double, neg_double, mul_double): Low word is unsigned.
4991 (lshift_double, rshift_double, lrotate_double): Likewise.
4992 (rrotate_double, div_and_round_double): Likewise.
4993 (tree_floor_log2, compare_tree_int): New functions.
4994 (preserve_rtl_expr_temps): New declaration.
4995 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
4996 (decl_attributes): Use tree_log2 to find alignment.
4997 Check for TREE_INT_CST_HIGH for format args.
4998 (min_precision): Now unsigned.
4999 Use tree_floor_log2.
5000 (truthvalue_conversion): Delete long-disabled code.
5001 * c-decl.c (finish_struct): Clean up tests on field width.
5002 (finish_function): Use compare_tree_int.
5003 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
5004 * c-typeck.c (comptypes): Use tree_int_cst_equal.
5005 (default_conversion, digest_init): Use compare_tree_int.
5006 (build_binary_op): Use integer_all_onesp and compare_tree_int.
5007 Fix type errors in forming masks.
5008 * calls.c (initialize_argument_information): Use compare_tree_int.
5009 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5010 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5011 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5012 (store_field): Use compare_tree_int.
5013 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5014 (expand_expr, case ARRAY_REF): Use compare_tree_int.
5015 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5016 (do_store_flag): Use compare_tree_int.
5017 * fold-const.c (encode, decode): Low part is always unsigned.
5018 (force_fit_type, add_double, neg_double, mul_double): Likewise.
5019 (lshift_double, rshift_double, lrotate_double): Likewise.
5020 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5021 (fold_convert): Use compare_tree_int.
5022 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5023 (invert_truthvalue, case INTEGER_CST): Likewise.
5024 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5025 * mkdeps.c (deps_dummy_targets): Make I unsigned.
5026 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5027 (lshift_double, rshift_double, lrotate_double, rrotate_double):
5029 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5030 (expand_end_case): Use compare_tree_int.
5031 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5032 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5033 (layout_decl): Likewise.
5034 (layout_record, layout_union): Make sizes unsigned.
5035 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5036 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5037 * tree.c (struct type_hash): hashcode is unsigned.
5038 (build_type_attribute_variant, type_hash_list): Likewise.
5039 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5040 (attribute_hash_list, build_array_type, build_method_type): Likewise.
5041 (build_complex_type): Likewise.
5042 (real_value_from_int_cst): Remove unneeded casts.
5043 (integer_all_onesp): Add casts.
5044 (tree_floor_log2, compare_tree_int): New functions.
5045 (build_index_type): Use tree_int_cst_sgn.
5046 * varasm.c (assemble_variable): Use compare_tree_int.
5048 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
5050 * cpphash.c (collect_expansion): Also catch ## at start of macro.
5052 * varasm.c (make_decl_rtl): Don't add a number to members of
5054 (make_function_rtl): Likewise.
5056 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5058 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5059 patch from 2000-01-28.
5061 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
5063 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5064 filled with an insn from the jump target.
5066 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5068 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5069 (c4x_external_ref): Likewise.
5070 * config/c4x/c4x.c (struct name_list): Likewise.
5072 1999-12-16 Ben Collins <bcollins@debian.org>
5074 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5075 argument to genmultilib.
5076 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5077 the contents into the multilib.h header.
5078 * gcc.c: Declare multilib_exclusions for the specs file.
5079 (set_multilib_dir): Use it.
5080 (print_multilib_info): Likewise.
5081 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5082 to pass to genmultilib.
5084 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5086 * builtins.c (built_in_class_names, built_in_names): Constify a
5089 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5091 (_mcleanup): Ensure value matches format specifier in sprintf.
5093 * cpphash.c (special_symbol): Don't needlessly cast away
5096 * cppinit.c (base_name): Delete unused prototype.
5098 * mkdeps.c (deps_init): Make definition K&R safe.
5100 * tree.h (built_in_class_names, built_in_names): Constify a
5103 2000-03-06 Jakub Jelinek <jakub@redhat.com>
5105 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5106 floating point instructions for epilogue delay.
5108 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5109 to gas if it supports .register pseudo.
5111 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5112 LONG_DOUBLE_TYPE_SIZE if not defined.
5113 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5114 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5116 * gengenrtl.c: Likewise.
5117 * print-rtl.c: Likewise.
5119 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5120 MASK_LONG_DOUBLE_128.
5121 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5122 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5123 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5124 (SUBTARGET_SWITCHES): Define.
5125 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5126 with -mlong-double-128.
5127 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5128 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5129 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5130 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5131 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5132 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5133 with -mlong-double-128.
5134 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5135 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5136 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5137 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5138 TARGET_LONG_DOUBLE_128): Define.
5139 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5140 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5141 long double on TARGET_ARCH64.
5143 2000-03-06 Mark Mitchell <mark@codesourcery.com>
5145 * function.c (free_temps_for_rtl_expr): Don't free slots
5146 that have been pushed into a higher level.
5149 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5151 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5153 * basic-block.h (ALLOCA_REG_SET): Remove.
5154 (INITIALIZE_REG_SET): New macro.
5155 * flow.c (update_life_info): Use it.
5156 (calculate_global_regs_live): Likewise.
5157 (propagate_block): Likewise.
5158 * global.c (build_insn_chain): Likewise.
5159 * haifa-sched.c (schedule_region): Likewise.
5161 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
5163 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5164 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5165 (DWARF_ARANGES_PAD_SIZE): New define.
5166 (output_aranges): Use it to pad the address range header.
5167 (DWARF_ROUND): Fix for non power of 2 rounding.
5169 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
5171 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5173 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5175 * tree.def (RTL_EXPR): Update documentation.
5176 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5177 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5178 * function.c (preserve_rtl_expr_temp): New function.
5179 (preserve_rtl_expr_temps): Likewise.
5180 (preserve_rtl_expr_result): Use it.
5183 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5185 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
5187 * regmove.c (copy_src_to_dest) Do not create src->dest move
5188 for unchanging destination.
5190 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5192 * function.h (struct sequence_stack): Remove rtl_expr.
5193 (struct emit_staus): Likewise.
5194 (seq_rtl_expr): Remove.
5195 * tree.h (free_temps_for_rtl_expr): Don't declare.
5196 (start_sequence_for_rtl_expr): Likewise.
5197 * rtl.h (preserve_rtl_expr_result): Likewise.
5198 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5199 (start_sequence_for_rtl_expr): Remove.
5200 (push_topmost_sequence): Don't save sequence_rtl_expr.
5201 (pop_topmost_sequence): Remove comment about not restoring it.
5202 (end_sequence): Don't set seq_rtl_expr.
5203 (init_emit): Don't initialize it.
5204 (mark_sequence_stack): Don't mark it.
5205 (mark_emit_status): Likewise.
5206 * except.c (protect_with_terminate): Use
5207 start_sequence_for_rtl_expr, not start_sequence.
5208 * expr.c (expand_expr, case RTL_EXPR): Don't call
5209 preserve_rtl_expr_result or free_temps_for_rtl_expr.
5210 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5211 (preserve_rtl_expr_result): Remove.
5212 (free_temps_for_rtl_expr): Likewise.
5213 (pop_temp_slots): Likewise.
5214 (mark_temp_slot): Don't mark the rtl_expr.
5215 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5216 start_sequence_for_rtl_expr.
5218 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
5220 * mkdeps.c, mkdeps.h: New files.
5221 * po/POTFILES.in: Add them.
5222 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5223 (cpplib.o, cppinit.o): Depend on mkdeps.h.
5224 (mkdeps.o): New target.
5226 * cppfiles.c: Delete deps_output.
5227 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
5228 OBJECT_SUFFIX, and base_name.
5229 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
5231 (initialize_dependency_output): Use deps_init,
5232 deps_add_target, deps_calc_target, and deps_add_dep. Remove
5233 all the unnecessary string bashing.
5234 (cpp_finish): Use deps_write. Remove an unnecessary nesting
5236 * cpplib.c (do_include): Use deps_add_dep.
5237 * cpplib.h (struct cpp_reader): Replace deps_buffer,
5238 deps_allocated_size, deps_size, deps_column members with
5239 single pointer to a struct deps. Delete prototype of
5242 * cppinit.c: Fix thinko in previous patch.
5244 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5246 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5247 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5248 (mode_for_size_tree): New function.
5249 (layout_decl, layout_type): Call it and clean up BLKmode checks.
5250 * tree.h (mode_for_size_tree): New declaration.
5252 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5254 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
5256 * stmt.c (is_body_block): Move...
5257 * dwarfout.c, dwarf2out.c: ...from here.
5258 * tree.h: Declare it.
5259 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5260 * final.c (final_start_function): Do call remove_unnecessary_notes
5263 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5265 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5267 * cpplib.h (_dollar_ok): New macro.
5268 (is_idchar, is_idstart): Use it.
5269 (IStable): Rename to _cpp_IStable. Declare it const if
5270 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
5271 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5272 is_space): Update for renamed IStable.
5274 * cppinit.c: Delete all references to FAKE_CONST and CAT
5275 macros. Define init_IStable as empty macro if gcc >=2.7 or
5276 C99. Change TABLE() to ISTABLE and hardcode name of table.
5277 (cpp_start_read): Don't change the IStable based on
5280 * cpphash.c (unsafe_chars): Add pfile argument. All callers
5281 changed. Handle '$' for char1 correctly.
5282 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5284 * cppexp.c (tokentab2): Make const.
5285 (cpp_lex): Make toktab const.
5286 * cppinit.c (include_defaults_array): Make const.
5287 (initialize_standard_includes): Make default_include const.
5289 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5291 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5292 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5293 (gen_decl_die): Likewise.
5294 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5295 (output_decl): Likewise.
5297 * varasm.c (make_function_rtl): If we change the name used in the
5298 rtl, update DECL_ASSEMBLER_NAME accordingly.
5299 (make_decl_rtl): Likewise.
5301 * toplev.c (rest_of_compilation): Tweak formatting.
5303 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5304 remove_unnecessary_notes.
5305 (debug_ignore_block): New fn.
5306 * toplev.h: Declare it.
5307 * emit-rtl.c (remove_unncessary_notes): Call it.
5308 * dwarf2out.c (dwarf2out_ignore_block): New fn.
5309 * dwarf2out.h: Declare it.
5310 * final.c (final_start_function): Don't call remove_unnecessary_notes
5311 if we did insn scheduling.
5313 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5315 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5316 * cpplib.h: Delete SET_CPP_PEDANTIC.
5318 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5320 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5321 result is a RECORD_TYPE.
5323 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
5325 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5327 2000-03-03 Richard Henderson <rth@cygnus.com>
5329 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5330 addition over compliments over shifts.
5332 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5334 * reload1.c (reload_combine_note_use): Handle return register USEs.
5335 REG case: Handle multi-hard-register hard regs.
5337 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5339 * md.texi: Document use of '*' in insn pattern name.
5341 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5343 * calls.c (special_function_p): operator new may not be malloc-like.
5345 * gcse.c (dump_hash_table): Really fix error in last change.
5347 2000-03-02 Denis Chertykov <denisc@overta.ru>
5349 * avr.c (print_operand): Use print_operand_address instead of
5351 * avr/libgcc.S: Cleanup code.
5353 2000-03-02 Richard Henderson <rth@cygnus.com>
5355 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5357 2000-03-02 Mark Mitchell <mark@codesourcery.com>
5359 * tree.h (TYPE_ALIGN_UNIT): New macro.
5361 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
5363 * i386.c: (constant_call_address_operand): Reject CONST_INT.
5365 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
5367 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5369 (SET_CPP_PEDANTIC): New macro.
5370 * cpplib.c (do_include): Don't bother checking system_header_p.
5371 (do_warning, do_ident, do_assert, do_unassert): Likewise.
5372 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5374 * function.h (struct expr_status): Add x_arg_space_so_far.
5375 (arg_space_so_far): New macro.
5376 * expr.c (init_expr): Initialize it.
5377 * calls.c (emit_call_1): Reset it.
5378 (compute_argument_block_size, expand_call): Use it.
5379 (expand_call, store_one_arg): Increment it.
5381 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5383 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5386 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
5388 * cppfiles.c (cpp_read_file): New function.
5390 * cpphash.c (collect_expansion): Make sure to reset last_token
5391 to NORM when we hit a string. Handle trailing whitespace
5392 properly when the expansion is empty.
5393 (create_definition): Disable line commands while parsing the
5395 (dump_definition): If pfile->lineno == 0, output a line
5396 command ahead of the dump, and add a trailing newline.
5398 * cppinit.c (append_include_chain): Add fifth argument, which
5399 indicates whether or not system headers are C++ aware.
5400 (initialize_standard_includes): New function,
5401 broken out of read_and_prescan. Pass 'cxx_aware' value from
5402 the include_defaults_array on to append_include_chain.
5403 (dump_special_to_buffer): Const-ify char array.
5404 (builtin_array): Don't dump __BASE_FILE__.
5405 (cpp_start_read): Use cpp_read_file. Reorder code for
5406 clarity. Don't output line commands here for -D/-A/-U
5407 switches. Don't call deps_output for files included with
5408 -include or -imacros.
5410 * cpplib.c (do_define): Don't pay any attention to the second
5412 (cpp_expand_to_buffer): Disable line commands while scanning.
5413 (output_line_command): Work in the file buffer.
5414 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5415 Fix formatting of comments. Prototype cpp_read_file.
5417 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5419 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5420 reference the language-equivalent of sizetype.
5421 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5422 * fold-const.c (size_binop, size_diffop): Put back checks.
5423 * gcse.c (dump_hash_table): Fix minor error in last change.
5424 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5425 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5428 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
5430 * calls.c (expand_call) Do not attempt to combine stack adjustments
5431 with inhibit_defer_pop set.
5433 2000-03-01 Mark Mitchell <mark@codesourcery.com>
5435 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5436 the DECL_SIZE for a FIELD_DECL.
5438 2000-03-01 Bruce Korb <bkorb@gnu.org>
5440 * fixinc/inclhack.tpl: remove unused symlinks
5441 * fixinc/README: GCC Maintainer info
5442 * fixinc/inclhack.sh: regen
5443 * fixinc/fixincl.sh: regen
5445 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
5447 * cpphash.c (collect_expansion): Trim trailing white space
5448 from macro definitions, but don't go past the last insertion
5451 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
5453 * i386.md (mulqi3): New pattern.
5455 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
5457 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5459 (struct cpp_reader): Add parsing_if_directive and
5460 parsing_define_directive flags.
5461 (struct cpp_options): Remove output_conditionals flag.
5462 (check_macro_name): Delete prototype.
5464 * cpphash.h (struct macrodef): Delete.
5465 (struct reflist): Separate from struct definition.
5466 (struct definition): Remove unused fields. Add column number.
5467 (create_definition): Returns a DEFINITION *. Takes a
5468 cpp_reader * and an int.
5470 * cpphash.c (SKIP_WHITE_SPACE): Delete.
5471 (PEEKC): Copy defn from cpplib.c.
5472 (rest_extension, REST_EXTENSION_LENGTH): Delete.
5474 (struct arglist): Simplify.
5475 (collect_expansion): Rewrite. Get tokens by calling
5476 cpp_get_token. Add more error checking.
5477 (collect_formal_parameters): New function, broken out of
5478 create_definition and reworked to use get_directive_token.
5479 (create_definition): All real work is now in collect_expansion
5480 and collect_formal_parameters. do_define handles finding the
5481 macro name. Return a DEFINITION, not a MACRODEF.
5482 (macroexpand): Replace bcopy with memcpy throughout. Replace
5483 character-at-a-time copy loop with memcpy and pointer increments.
5484 (compare-defs): d1->argnames / d2->argnames might be null.
5486 * cpplib.c (copy_rest_of_line): Delete function.
5487 (skip_rest_of_line): Do all the work ourselves.
5488 (skip_string): New function.
5489 (parse_string): Use skip_string.
5490 (get_macro_name): New function.
5491 (check_macro_name): Delete.
5492 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5493 (cpp_skip_hspace): Use CPP_BUMP_LINE.
5494 (handle_directive): ICE if we're called on a macro buffer.
5495 (do_define): Determine macro name and type (funlike/objlike)
5496 here. Expunge all uses of MACRODEF.
5497 (cpp_push_buffer): Set line_base to NULL.
5498 (do_undef, read_line_number): Don't worry about getting a POP token.
5499 (eval_if_expression): Set/reset parsing_if_directive around
5500 cpp_parse_expr. Don't clear only_seen_white.
5501 (skip_if_group): Remove output_conditionals logic. Use
5503 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5504 tokens under appropriate conditions.
5505 (cpp_unassert): Call do_unassert not do_assert. Oops.
5507 * cppexp.c (parse_defined): New function, break out of
5509 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5510 ourselves, with cpp_defined.
5511 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5513 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5514 * gcc.dg/strpaste-2.c: New.
5516 2000-02-29 Mark Mitchell <mark@codesourcery.com>
5518 * fold-const.c (size_binop): Don't asert inputs are the same and
5519 have TYPE_IS_SIZETYPE set.
5520 (size_diffop): Likewise.
5522 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
5524 * dwarfout.c (output_block): Output abstract blocks even if they
5525 don't have TREE_ASM_WRITTEN set.
5527 * calls.c (emit_library_call): Check for null REG.
5529 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
5531 * c-decl.c (current_function_decl): Move to toplev.c.
5532 (init_decl_processing): Don't add current_function_decl as a ggc
5534 * dbxout.c (dbxout_symbol): Change return type to int.
5535 (dbxout_symbol_location, dbxout_syms): Likewise.
5536 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5537 any locals. Use current_function_func_begin_label if set.
5538 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5539 * dwarf2out.c (dwarf2out_begin_prologue): Set
5540 current_function_func_begin_label.
5541 * final.c (final_start_function): Reset it.
5542 * toplev.c (current_function_decl): Define it here.
5543 (current_function_func_begin_label): New variable.
5544 (main): Add both as ggc roots.
5545 * tree.h (current_function_func_begin_label): Declare.
5547 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5549 * gcse.c: Cleanups throughout: mostly white-space, but also
5550 some minor rearrangement of code.
5552 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
5554 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5555 returns a PARALLEL. Use emit_group_load and use_group_regs
5557 (emit_library_call_value): Similarly.
5559 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5560 * pa/quadlib.asm: Remove.
5561 * pa/quadlib.c: New file.
5563 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5564 * configure: Rebuilt.
5566 2000-02-29 Philip Blundell <pb@futuretv.com>
5568 * config/arm/conix-elf.h: New file.
5569 * configure.in (arm*-*-conix*): New configuration.
5570 * configure: Regenerate.
5572 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
5574 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5575 don't have TREE_ASM_WRITTEN set.
5577 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5579 * Eliminate DECL_FIELD_SIZE.
5580 * builtins.c (built_in_class_names, built_in_names): New variables.
5581 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5582 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5583 DECL_SIZE, not DECL_FIELD_SIZE.
5584 * print-tree.c (print_node): Remove code that prints extra blank
5585 lines in some cases.
5586 Properly handle inline and builtin function cases.
5587 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5588 * tree.h (built_in_class_named, built_in_names): New declarations.
5589 (union tree_decl): Rename internal unions to u1 and u2 and change
5590 some of their components.
5591 Add new field built_in_class.
5592 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5593 Reflect above changes.
5594 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5595 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5596 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5597 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5599 2000-02-28 Dmitri Makarov <dim@windriver.com>
5601 * extend.texi: Document ARM's support for long/short calls.
5603 * invoke.texi: Document ARM's -mlong-calls command line switch.
5605 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5606 (arm_encode_call_attribute): Add prototype.
5607 (arm_set_default_type_attribute): Add prototype.
5608 (arm_strip_name_encoding): Add prototype.
5610 * config/arm/arm.c (arm_init_cumulative_args): replace
5611 initialisation og 'long_calls' field with initialisation of
5612 'call_cookie' field.
5613 (enum arm_pragma_enum): New enum.
5614 (arm_pragma_long_calls): New static variable.
5615 (arm_process_pragma): Also process "#pragma long_calls_off".
5616 (arm_valid_type_attribute_p): Accept short_call attribute.
5617 (arm_comp_type_attributes): Check long/short call attributes.
5618 (arm_encode_call_attribute): New function: Encode long_call
5619 or short_call attribute in function name.
5620 (arm_set_default_type_attributes): New function: Assign
5621 default attributes to newly defined type.
5622 (current_file_function_operand): New function: Return true if
5623 the symbol is a function which has already been compiled.
5624 (arm_is_longcall_p): New function: Return true if the
5625 indicated function should be called via a long call.
5626 (arm_get_strip_length): New function. Returns number of
5627 prefix characters to be stripped from a function's name.
5628 (arm_strip_name_encoding): New function. Strip prefix characters
5629 from a function's name.
5631 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5633 (SHORT_CALL_FAG_CHAR): Define.
5634 (LONG_CALL_FAG_CHAR): Define.
5635 (ENCODED_SHORT_CALL_ATTR_P): Define.
5636 (ENCODED_LONG_CALL_ATTR_P): Define.
5637 (ARM_NAME_ENCODING_LENGTHS): Define.
5638 (STRIP_NAME_ENCODING): Define.
5639 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5640 (ARM_ENCODE_CALL_TYPE): Define.
5641 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5642 (ARM_DECLARE_FUNCTION_SIZE): Define.
5643 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5645 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5646 if a long call is needed.
5647 (call_value): Ditto.
5648 (call_symbol): Ditto.
5650 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5651 ARM_DECLARE_FUNCTION_SIZE.
5653 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5654 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5655 (ARM_STRIP_NAME_ENCODING): Undefine.
5656 (STRIP_NAME_ENCODING): Undefine.
5657 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5658 (ASM_DECLARE_FUNCTION_NAME): Ditto.
5659 (ASM_OUTPUT_COMMON): Ditto.
5660 (ASM_DECLARE_OBJECT_NAME): Ditto.
5662 * config/arm/pe.c (arm_dllexport_name_p): Check for
5664 (arm_dllimport_name_p): Ditto.
5665 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5666 (arm_mark_dllimport): Ditto.
5668 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5670 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5672 2000-02-28 Mark Mitchell <mark@codesourcery.com>
5674 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5676 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
5678 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5679 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5680 NO_BUILTIN_WCHAR_TYPE is not defined.
5681 (CPP_WCHAR_TYPE): Delete.
5682 * cccp.c (main): Don't change wchar_type if cplusplus.
5683 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5685 2000-02-28 Nick Clifton <nickc@cygnus.com>
5687 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5689 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
5691 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5692 (ASM_WEAKEN_LABEL): Define.
5694 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
5696 * expr.c (store_constructor): Do not emit USE.
5697 * rtl.h (stupid_life_analysis): Remove.
5699 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5701 * function.c (number_blocks): Reset next_block_index based on
5702 what debugging format is used, not what is defined.
5704 * lcm.c: Minor reformatting throughout.
5705 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5707 * toplev.c (rest_of_compilation): Account for time in
5708 optimize_mode_switching.
5710 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5711 if only marking labels.
5713 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
5715 * calls.c (expand_call): Attempt to combine stack adjustments with
5716 pending stack adjustments.
5718 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5720 * loop.c (reg_in_basic_block_p): Don't abort when falling through
5721 to the end of the function.
5723 2000-02-27 Mark Mitchell <mark@codesourcery.com>
5725 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5727 * final.c (next_block_index): Remove.
5728 (max_block_depth): Likewise.
5729 (pending_blocks): Likewise.
5730 (init_final): Don't initialize them.
5731 (final_start_function): Don't set next_block_index. Set up
5733 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5734 * function.h (number_blocks): New function.
5735 * function.c (get_block_vector): New function.
5736 (identify_blocks): Use it.
5737 (reorder_blocks): Set NOTE_BLOCK.
5738 (number_blocks): New function.
5739 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5740 * tree.h (BLOCK_NUMBER): New macro.
5741 (tree_block): Add block_num field.
5742 * dbxout.c (next_block_number): Remove.
5743 (dbxout_init): Don't set it.
5744 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5745 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
5747 * toplev.c (rest_of_compilation): Always call
5748 find_loop_tree_blocks. Fix indentation.
5749 * dwarf2out.c (next_block_number): Remove.
5750 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5751 to determine block numbers.
5752 (gen_inlined_subroutine_die): Likewise.
5753 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5754 (decls_for_scope): Don't increment next_block_number.
5755 * dwarfout.c (next_block_number): Remove.
5756 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5757 to determine block numbers.
5758 (output_inlined_subroutine_die): Likewise.
5759 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5760 (output_decls_for_scope): Don't increment next_block_number.
5761 * sdbout.c (next_block_number): Remove.
5762 (sdbout_block): Use BLOCK_NUMBER.
5763 (sdbout_begin_block): Simplify.
5764 * xcoffout.c (next_block_number): Remove.
5765 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5766 (xcoffout_begin_block): Don't set next_block_number.
5767 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5770 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5772 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5773 (expand_builtin_strcpy): Pass correct type to size_binop.
5774 (expand_builtin_strcmp): Likewise.
5775 Clean up conditional structure.
5776 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5777 (complete_array_type): Don't use size_binop for MAXINDEX.
5778 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5779 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5780 (c_alignof): Use size_one_node.
5781 (build_unary_op): Pass arg of proper type to size_binop.
5782 (really_start_incremental_init, push_init_level): Use sizetype for
5783 constructor{,_bit,_unfilled}_index.
5784 (pop_init_label, output_init_element): Likewise.
5785 (output_pending_init_elements, process_init_element): Likewise.
5786 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5787 * expr.c (store_expr): Use size_int.
5788 (store_constructor): Use proper types for size_binop args.
5789 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5790 (expand_expr_unaligned): Likewise.
5791 (string_contant): Return object of sizetype.
5792 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5793 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5794 (ARGS_SIZE_TREE): Pass proper types to size_binop.
5795 * fold-const.c (int_const_binop): Refine when size_int is called.
5796 (fold_convert): Likewise.
5797 (size_int_wide): Rework to take KIND as arg, only take low order
5798 bits, handle new sizetype_tab datatype, and chain entries in
5800 (size_int_type_wide): New function.
5801 (size_binop): Validate types of arguments.
5802 (ssize_binop): Deleted.
5803 (size_diffop): New function.
5804 (extract_muldiv): Only fold division into multiplication for sizetypes.
5805 * function.c (assign_parms): Use size_diffop and make sure
5806 VAR field is of ssizetype; also pass proper type to size_binop.
5807 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
5808 (round_down): Deleted from here.
5809 * store-layout.c (sizetype_tab): Now an array.
5810 (sizetype_set, early_root_list): New variables.
5811 (variable_size): Use size_one_node.
5812 (round_up): Pass proper type to size_binop.
5813 (round_down): Moved to here and corrected as above.
5814 (layout_record): Pass proper arg types to size_binop.
5815 (layout_type): Likewise.
5816 If sizetype_set is zero, record the type just laid out.
5817 (make_unsigned_type): Don't call set_sizetype;
5818 (make_signed_type): Likewise; also, call fixup_signed_type.
5819 (initialize_sizetypes): New function.
5820 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
5821 set name of bitsizetype to "bit_size_type".
5822 Fix up type of sizes of all types made before call.
5823 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
5824 * tree.c (fix_sizetype): Deleted.
5825 (build_common_tree_nodes): Call initialize_sizetypes.
5826 (build_common_tree_nodes_2): Don't call fix_sizetype.
5827 * tree.h (TYPE_IS_SIZETYPE): New macro.
5828 (initialize_sizetype): New declaration.
5829 (enum size_type_kind): New type.
5830 (struct sizetype_tab): Deleted.
5831 (sizetype_tab): Now array; adjust sizetype macros.
5832 (size_diffop, size_int_type_wide): New functions.
5833 (size_int_wide): Change number of args and type; access macros changed.
5834 (ssize_int, sbitsize_int): New macros.
5835 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
5836 (ROUND_TYPE_SIZE_UNIT): New macro.
5838 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
5840 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
5842 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5844 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
5845 Mark as possibly unused.
5847 * cse.c (cse_insn): Delete dead code involving tablejump.
5848 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
5850 * Makefile.in (libcpp.a): Start by deleting it.
5852 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5854 * cpplib.h (enum file_change_code): Added rename_file.
5855 * cpplib.c (do_line): If a filename is given, set file_change to
5857 (output_line_command): If file_change is rename_file, always
5858 output a # directive with the file name.
5860 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
5862 2000-02-26 Mark Mitchell <mark@codesourcery.com>
5864 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
5865 when copying a PARM_DECL or RESULT_DECL.
5867 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5869 * fix-header.c (recognized_function): Also fix prototypes for
5870 functions taking "void".
5872 2000-02-26 Geoff Keating <geoffk@cygnus.com>
5874 * reload1.c (do_output_reload): Check reg_reloaded_valid before
5875 looking at reg_reloaded_contents.
5877 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
5879 * Makefile.in (STMP_FIXINC): New toggle.
5880 (LIBGCC2_DEPS): Delete all references.
5881 (stmp-headers): Delete target. All references either deleted
5882 or changed to stmp-int-headers.
5883 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
5884 (LIBCPP_OBJS): Take out cppalloc.o.
5885 (cppalloc.o): Delete target.
5886 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
5887 (gen-protos, fix-header): Link with libiberty.a.
5888 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
5891 * configure.in: Remove refs to strerror.
5892 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
5893 * system.h: Take out strerror stanza.
5895 * cpperror.c (my_strerror): Delete function.
5896 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
5897 * cppmain.c (main): Call xmalloc_set_program_name first thing.
5898 * cppalloc.c: Delete file.
5899 * gen-protos.c: Don't provide xrealloc.
5901 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
5902 xstrerror throughout.
5904 2000-02-26 Bruce Korb <bkorb@gnu.org>
5906 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
5907 match for DOS headers, too.
5908 * fixinc/inclhack.sh,fixincl.x: Regenerate.
5910 2000-02-26 Geoff Keating <geoffk@cygnus.com>
5912 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
5913 is right for most ELF targets.
5914 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
5915 Let the default file use %U properly.
5916 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
5919 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
5922 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5924 * toplev.c (documented_lang_options): Correct spelling error.
5925 (decode_d_option, decode_f_option, main): Likewise.
5927 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
5929 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
5930 to tell assembler it is permitted to expand large constants.
5932 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
5934 * protoize.c: (AUX_INFO_SUFFIX): New macro.
5935 (aux_info_suffix): Use.
5936 (SAVE_SUFFIX): New macro.
5938 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
5939 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
5940 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
5942 * invoke.texi (Running Protoize): Update documentation.
5944 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
5946 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
5948 2000-02-25 John Wehle (john@feith.com)
5950 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
5952 2000-02-25 Anthony Green <green@cygnus.com>
5954 * toplev.c (rest_of_compilation): Rebuild jump labels if
5955 combine_instructions has created a new direct jump.
5956 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
5958 (combine_instructions): Call try_combine with new argument.
5959 Return non-null value when new direct jump instruction is created.
5960 * rtl.h: combine_instructions returns an int.
5962 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
5964 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
5965 jump when changing a computed jump into a jump to a known
5968 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
5970 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
5971 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
5973 * i386.md (define_expand "clrstrsi"): Fix typo.
5975 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
5977 * rtl.texi: Fix typo.
5979 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5981 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
5982 UNITS_PER_WORD. Change caller initial_elimination_offset.
5983 (rounded_frame_size): Take into account that argument pushed has
5984 changed. Fix TARGET_ALIGN_DOUBLE problem.
5986 2000-02-25 Geoff Keating <geoffk@cygnus.com>
5988 * haifa-sched.c (schedule_block): Explain the real reason
5989 we delete REG_SAVE_NOTEs on the first insn of a block.
5990 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
5992 2000-02-24 Mark Mitchell <mark@codesourcery.com>
5994 * input.h (push_srcloc): New function.
5995 (pop_srcloc): Likewise.
5996 * toplev.c (push_srcloc): Define it.
5997 (pop_srcloc): Likewise.
5999 2000-02-24 Richard Henderson <rth@cygnus.com>
6001 * flow.c (life_analysis): When collecting reg info, clear
6004 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6006 Fix bug exposed by reload.c no longer rounding the frame
6007 size to BIGGEST_ALIGNMENT:
6008 * sh.c (rounded_frame_size): New function.
6009 (sh_expand_prologue, sh_expand_epilogue): Use it.
6010 (initial_elimination_offset): Likewise.
6012 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6014 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6015 * sh-protos.h (sh_need_epilogue): Declare.
6016 * sh.c (sh_need_epilogue_known): New static variable.
6017 (sh_need_epilogue): New function.
6018 (function_epilogue): Clear need_epilogue_known.
6019 * sh.md (return): Split into expander / insn pattern.
6020 Make the expander conditional on ! sh_need_epilogue ().
6022 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
6024 * machmode.h (get_mode_alignment): Declare.
6025 (GET_MODE_ALIGNMENT): Call it.
6026 * stor-layout.c (get_mode_alignment): New function. Make
6027 sure alignment is always power of 2.
6029 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6031 * i386.h: Remove useless definition of "I386" and misleading
6034 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6036 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
6037 under which TREE_PERMANENT will be set.
6038 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6039 build1): Use TREE_SET_PERMANENT.
6040 * print-tree.c (print_node): Don't report value of
6041 TREE_PERMANENT if ggc_p is true.
6043 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6044 decide whether to give a type a new alias set.
6045 * objc/objc-act.c (build_objc_string_object): Never copy the string.
6046 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6047 of value of 'obstack'.
6050 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6052 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6054 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6056 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6057 * cpplib.c (cpp_get_token): Produce them.
6058 * cppexp.c (cpp_lex): Handle them.
6060 2000-02-23 Nick Clifton <nickc@cygnus.com>
6062 * config/arm/arm.c (arm_comp_type_attributes): Simply and
6063 comment tests on type attributes.
6065 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6067 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6068 conform to documentation.
6069 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6070 to check for special cases.
6071 * sh-protos.h (sh_loop_align): Declare.
6072 * sh.c (sh_loop_align): Define.
6074 2000-02-22 Andrew Haley <aph@cygnus.com>
6076 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6077 (SIZE_TYPE): Is 32 bits when using -mgp32.
6078 (PTRDIFF_TYPE): Ditto.
6080 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6082 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6084 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6086 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6087 BIGGEST_FIELD_ALIGNMENT a constant.
6089 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
6091 * dwarf2out.c (output_line_info): Put the marker for the end of
6092 the line number info at the actual end.
6093 (gen_struct_or_union_type_die): Use decl_function_context
6094 to check for local classes.
6095 * dwarfout.c (output_type): Likewise.
6097 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
6099 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6100 for arguments with a mode, but no type.
6101 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6102 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6103 * pa/long_double.h: New file.
6104 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6105 both have 128bit wide long doubles.
6106 * configure: Rebuilt.
6108 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6110 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6112 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6113 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6114 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6116 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6118 * integrate.c (compare_blocks, find_block): Likewise.
6120 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6122 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6124 * stmt.c (stmt_status, set_file_and_line_for_stmt,
6125 expand_asm_operands): Likewise.
6127 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
6129 * predict.c (estimate_probability): Added the pointer heuristic to
6130 the collection of static branch predictors.
6132 2000-02-21 Catherine Moore <clm@cygnus.com>
6134 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6135 * invoke.texi (-mfix7000): Document.
6137 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
6139 * diagnostic.c (init_output_buffer): Make it possible to output at
6140 least 32 characters if we're given a too long prefix.
6142 2000-02-20 Mark Mitchell <mark@codesourcery.com>
6144 * varasm.c (initializer_constant_valid_p): Call
6145 lang_expand_constant to simplify the constant.
6147 2000-02-20 Bruce Korb <bkorb@gnu.org>
6149 * fixinc/inclhack.def(stdio_va_list):
6150 typedef needs to be disabled.
6151 * fixinc/inclhack.sh: regen
6152 * fixinc/fixincl.x: regen
6154 2000-02-20 Geoff Keating <geoffk@cygnus.com>
6156 * print-rtl.c (print_rtx): Don't print addresses when
6157 flag_dump_unnumbered.
6159 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6161 * sparc.c (sparc_output_scratch_registers): Mark parameter with
6163 (sparc_va_arg, sparc_flat_output_function_prologue,
6164 sparc_flat_output_function_epilogue): Cast value to unsigned in
6166 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6168 * sparc.md: Add default case in switch.
6170 2000-02-19 Richard Henderson <rth@cygnus.com>
6172 * c-typeck.c (add_pending_init): Don't abort for multiple
6173 fields at the same offset.
6174 (pending_init_member): Test the correct member.
6176 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6178 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6180 (start_catch_handler) : Same.
6182 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
6184 * Makefile.in: Have flow.o depend on $(EXPR_H)
6186 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6188 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6189 * c-decl.c (duplicate_decls, finish_enum): Likewise.
6190 (finish_decl): Remove -Wlarger-than code from here.
6191 * flags.h (id_clash_len): Now int.
6192 (larger_than_size): Now HOST_WIDE_INT.
6193 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6194 Clean up checking to see if in table.
6195 (make_bit_field_ref): Remove extra parm to bitsize_int.
6196 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6197 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6198 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6199 and for computing size of decl.
6200 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6201 Move -Wlarger-than code to here.
6202 (layout_record): Remove extra arg to bitsize_int.
6203 Set TYPE_BINFO_SIZE_UNIT.
6204 (layout_union): Remove extra arg to bitsize_int.
6205 Use proper type for size of QUAL_UNION.
6206 (layout_type): Remove extra arg to bitsize_int.
6207 * toplev.c (id_clash_len): Now int.
6208 (larger_than_size): Now HOST_WIDE_INT.
6209 (decode_W_option): Clean up id-clash and larger-than- cases.
6210 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6211 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6212 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6213 (struct tree_decl): New field size_unit.
6214 (size_int_wide): No HIGH operand; NUMBER is now signed.
6215 (size_int_2): Deleted.
6216 (size_int, bitsize_int): Don't use it and rework args.
6217 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6219 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
6221 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6223 2000-02-18 Geoff Keating <geoffk@cygnus.com>
6225 * invoke.texi (Warning Options): Add an explanation of why
6226 you might want the -Wfloat-equal flag.
6228 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6230 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6231 * cppinit.c (new_pending_define): Add cast to avoid warning.
6232 * expmed.c (extract_bit_field): Likewise.
6233 * flow.c (enum reorder_skip_type): New type.
6234 (skip_insns_between_blcok): New it.
6235 Rework to avoid warning about possibly undefined variable.
6236 * function.c (assign_parms): Make thisparm_boundary unsigned.
6237 * genrecog.c (write_switch): Cast XWINT result to int.
6238 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6239 * mips-tfile.c (init_file): Make two versions of FDR intializer:
6240 one for MIPS and one for Alpha.
6241 (get_tag, copy_object): Add casts to avoid warnings.
6242 * optabs.c (init_one_libfunc): Cast NAME to (char *).
6243 * reload.c (find_reloads): Make TYPE enum reload_type.
6244 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6245 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6246 * varasm.c (compare_constant_1): Add cast to avoid warning.
6247 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6249 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6250 Cast switch operand of size to int.
6251 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6252 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6255 2000-02-18 Nick Clifton <nickc@cygnus.com>
6257 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6258 anything for an alignment of zero.
6260 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6261 anything for an alignment of zero.
6263 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
6265 * gcc.texi (Bug Reporting): Refer to bugs.html.
6266 (Bug Lists): Likewise.
6267 * system.h (GCCBUGURL): New preprocessor define.
6268 * rtl.c (fancy_abort): Use it.
6269 * gcc.c (main): Likewise.
6271 2000-02-18 Richard Henderson <rth@cygnus.com>
6273 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6274 (life_analysis_1): Subsume into ...
6275 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
6276 Use update_life_info for the relaxation.
6277 (update_life_info): Update REG_BASIC_BLOCK for registers live on
6278 entry and regs_live_at_setjmp.
6279 (set_noop_p): Simplify.
6280 (notice_stack_pointer_modification_1): Renamed from s/_1//.
6281 (record_volatile_insns): Split into ...
6282 (delete_noop_moves): ... here,
6283 (notice_stack_pointer_modification): ... here,
6284 (insn_dead_p): ... and here.
6285 (propagate_block): Don't query INSN_VOLATILE.
6286 (mark_used_regs): Mind !PROP_REG_INFO.
6287 * toplev.c (rest_of_compilation): Call mark_constant_function here,
6288 not in life_analysis.
6290 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
6292 * loop.c (canonicalize_condition): New function,
6293 broken out of get_condition.
6294 (get_condition): Use it.
6295 * expr.h (canonicalize_condition): Prototype it.
6297 * tree.h (tree_int_cst_msb): Declare.
6298 * tree.c (tree_int_cst_msb): New function.
6300 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6302 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6305 * invoke.texi (-fmessage-length=n): Document.
6307 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
6309 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6311 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6313 * function.c (thread_prologue_and_epilogue_insns): Put a line note
6316 2000-02-17 Nick Clifton <nickc@cygnus.com>
6318 * config/arm/thumb.c: Replace includes of system headers with
6319 #include "system.h".
6321 2000-02-16 Richard Henderson <rth@cygnus.com>
6323 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6324 Add crtbeginS.o and crtendS.o.
6325 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6326 (ENDFILE_SPEC): Use crtendS.o.
6327 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6329 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6330 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
6332 (__dso_handle): New variable.
6333 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6334 bias to __CTOR_END__.
6336 2000-02-16 Richard Henderson <rth@cygnus.com>
6338 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6340 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
6342 * longlong.h (__clz_tab): Declare as static to match definition.
6344 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6345 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6346 (XREF_FILE_NAME): Define.
6348 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6349 (EH_FRAME_SECTION_ASM_OP): Define.
6350 (IDENT_ASM_OP): Define.
6351 (TEXT_SECTION_ASM_OP): Define.
6353 (CTORS_SECTION_ASM_OP): Define.
6354 (CTOR_SECTION_FUNCTION): Use it.
6355 (DTORS_SECTION_ASM_OP): Define.
6356 (DTOR_SECTION_FUNCTION): Use it.
6358 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
6360 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6363 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6364 debug_bb_n): New functions.
6365 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6366 * basic-block.h: Prototype new functions.
6368 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
6370 * configure.in: Add support for avr target.
6371 * configure: Rebuilt.
6373 * invoke.texi: Add AVR invocation docs.
6374 * install.texi: Add information about AVR.
6375 * md.texi: Add AVR constraint letters description.
6376 * extend.texi: Add description for AVR specific attributes.
6378 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
6380 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6382 2000-02-16 Nick Clifton <nickc@cygnus.com>
6384 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6385 (make_insn_raw): Move RTL check here.
6387 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6389 * version.c: Include gansidecl.h and version.h.
6391 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6393 * configure.in (gcc_version): When setting, narrow search to
6394 lines containing `version_string'.
6396 * Makefile.in (mainversion): Likewise.
6397 (GCC_H): New variable.
6398 (gcc.h): Delete target.
6399 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6400 (version.o): Depend on version.h.
6401 (dbxout.o): Don't depend on gcc.h.
6403 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
6404 Michael Meissner <meissner@cygnus.com>
6406 * md.texi (Simple Constraints): Add item about whitespace.
6407 * genoutput.c (strip_whitespace): New.
6408 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6409 strip_whitespace for constraints.
6410 Test pointer using NULL, not 0.
6412 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6414 * cpplib.c (do_line): Pedwarn for #line > 32767.
6416 * c-lex.c (readescape): Warn about '\x', but do not reject it.
6418 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
6420 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6421 to default cpp spec.
6422 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6423 * cpp.texi: Document __GNUC_PATCHLEVEL__.
6426 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6429 2000-02-15 Denis Chertykov <denisc@overta.ru>
6431 * configure.in: Add support for avr target.
6433 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6435 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6436 (sh_addr_diff_vec_mode): Don't declare.
6437 * sh.c (sh_addr_diff_vec_mode): Delete.
6439 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6441 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6443 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6445 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6446 (smulsi3_highpart_i): Name.
6447 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6448 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6449 (smulsi3_highpart, umulsi3_highpart): Likewise.
6451 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6452 correctly independent of endianness.
6453 (mulsidi3, umulsidi3): Now define_insn. Hide details that
6454 confuse the optimizers.
6455 (mulsidi3+1, umulsidi3+1): New define_split.
6457 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
6459 * config/sh/sh.md: Guard insn splits against illegal registers.
6460 * config/sh/sh.h: Correct comment about macros.
6462 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6463 Andrew MacLeod <amacleod@cygnus.com>
6465 * Makefile.in (lcm.o): Depend on insn-attr.h.
6466 * basic-block.h (optimize_mode_switching): Declare.
6467 * lcm.c (tm_p.h, insn-attr.h): #include.
6468 (seginfo, bb_info): New structs.
6469 (antic, transp, comp, delete, insert) : New file-scope static variables.
6470 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6471 (reg_becomes_live, optimize_mode_switching): Likewise.
6472 * tm.texi: Add description of mode switching macros.
6473 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6475 * sh-protos.h (remove_dead_before_cse): Remove prototype.
6476 (fldi_ok, fpscr_set_from_mem): New prototypes.
6477 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6478 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6479 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6480 (sh_flag_remove_dead_before_cse): Remove declaration.
6481 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6482 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6483 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6484 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6485 (barrier_align): Allow for JUMP_INSNS containing a parallel.
6486 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6487 (fldi_ok): New function.
6488 (get_fpscr_rtx): Add fpscr_rtx as GC root.
6489 (emit_sf_insn): Only generate fpu switches when optimize < 1.
6490 (emit_df_insn): Likewise.
6491 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6492 (sh_flag_remove_dead_before_cse): Delete.
6493 (get_free_reg, fpscr_set_from_mem): New functions.
6494 * sh.md (movdf, movsf): Remove no_new_pseudos code.
6495 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6497 2000-02-15 Loren Rittle <ljrittle@acm.org>
6499 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6501 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6503 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6504 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6506 * cccp.c: Include version.h and/or don't declare `version_string'.
6507 * collect2.c: Likewise.
6508 * alpha.c: Likewise.
6509 * arm/aof.h: Likewise.
6510 * arm/coff.h: Likewise.
6511 * arm/elf.h: Likewise.
6512 * arm/pe.h: Likewise.
6513 * arm/tcoff.h: Likewise.
6514 * arm/telf.h: Likewise.
6515 * arm/tpe.h: Likewise.
6516 * arm/vxarm.h: Likewise.
6517 * convex/convex.c: Likewise.
6518 * i386/dgux.c: Likewise.
6519 * i386/sun386.h: Likewise.
6520 * m88k/m88k.c: Likewise.
6521 * mcore/mcore-pe.h: Likewise.
6522 * mips/mips.h: Likewise.
6523 * romp/romp.h: Likewise.
6524 * sh/sh.c: Likewise.
6525 * cpphash.c: Likewise.
6526 * cppinit.c: Likewise.
6527 * dwarf2out.c: Likewise.
6528 * dwarfout.c: Likewise.
6531 * mips-tfile.c: Likewise.
6532 * protoize.c: Likewise.
6533 * toplev.c: Likewise.
6536 * version.c (version_string): Constify a char*.
6538 * version.h: New file.
6540 2000-02-14 Nick Clifton <nickc@cygnus.com>
6542 * configure.in: Add mcore-elf and mcore-pe targets.
6543 * configure: Regenerate.
6545 * NEWS: Add note that MCore port has been contributed.
6547 * invoke.texi: Document command line switches for MCore port.
6548 * install.texi: Add MCore to list of supported targets.
6550 2000-02-14 Geoff Keating <geoffk@cygnus.com>
6552 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6553 then we will need to import the frame handling functions.
6554 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6555 to import the frames themselves.
6557 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
6558 Jason Eckhardt <jle@cygnus.com>
6560 * basic_block.h: Added prototype for reorder_basic_blocks.
6561 * toplev.c: Changes to add -freorder-blocks and graph dump after
6562 block reordering is done.
6563 * flow.c (reorder_block_def): New structure for use during block
6565 (REORDER_BLOCK_*): New macros to access members of above structure.
6566 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6567 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6568 functions for block reordering.
6570 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
6572 * gcc.texi (Passes): Fix typo.
6573 * md.texi (Standard Names): Ditto.
6574 * tm.texi (Storage Layout): Ditto.
6576 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
6578 * cpplib.c (do_define): Only free the old definition if it
6581 2000-02-13 Neil Booth <NeilB@earthling.net>
6583 * cppfiles.c (read_and_prescan): When emitting deferred
6584 newlines, test speccase[] again instead of checking each
6585 possible whitespace character in turn. When we encounter \r,
6586 look behind for \n first, then ahead.
6588 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
6590 * cse.c (cse_altered): New internal flag.
6591 (cse_insn): Set it if we changed an insn.
6592 (cse_main): Clear cse_altered before each basic block.
6593 Only garbage collect if cse_altered is true afterward.
6595 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6597 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6599 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
6601 * combine.c (simplify_comparison): Fix typo.
6603 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
6605 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6608 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6610 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6611 previously inserted node instead of root node. Caller changed.
6613 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6615 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6617 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6619 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6620 __dereg_frame_dtor): Add prototype argument.
6622 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6624 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6626 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6628 * gthr-vxworks.h (__gthread_once): Likewise.
6630 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6632 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
6634 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6635 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6636 stack pointer in functions w/o saved registers, output LEAVE more often
6637 on TARGET_USE_LEAVE machines.
6639 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6641 * config/arm/arm.c (arm_init_cumulative_args); New function:
6642 Initlaise the CUMULATIE_ARGS strcuture for a function
6644 (arm_function_arg): New function: Determine where to place a
6645 function's argument. Also handles deciding the function's
6647 (current_file_function_operand): New function: Return true if
6648 the symbol is a function which has already been compiled.
6649 (arm_is_long_call_p): New function: Return true if the
6650 indicated function should be called via a long call.
6651 (arm_valid_type_attribute_p): New function: Return true if the
6652 attribute is a valid, arm specific, attribute.
6653 (arm_comp_type_attribute): New function: Return true if the
6654 two types have compatable, arm specific, attributes.
6656 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6658 (FUNCTION_ARG): Redefine to call arm_function_arg.
6659 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6661 (INIT_CUMULATIVE_ARGS): Redefine to call
6662 arm_init_cumulative_args.
6663 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6665 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
6667 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6669 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6670 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6671 (COMP_TYPE_ATTRIBUTES): Define.
6673 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6674 if a long call is needed.
6675 (call_value): Call arm_is_long_call_p to decide if a long call
6677 (call_symbol): Call arm_is_long_call_p to decide if a long call
6680 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6682 2000-02-11 Denis Chertykov <denisc@overta.ru>
6684 * README.AVR: New file with information about the avr ports.
6685 * config/avr: New directory with avr port files.
6687 2000-02-11 Andreas Jaeger <aj@suse.de>
6689 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6691 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
6693 * cpphash.c: Fix formatting, update commentary.
6694 (dump_definition): Take three separate arguments instead of a
6695 MACRODEF structure argument.
6696 * cpphash.h: Update prototype of dump_definition.
6697 * cppinit.c (cpp_finish): Update call of dump_definition.
6699 * cpplib.c (do_define): Always create new hash entry with
6700 T_MACRO type. Remove redundant check for redefinition of
6701 poisoned identifier. Update call of dump_definition.
6702 (do_undef): Don't call check_macro_name. Rename sym_length to
6704 (do_error, do_warning): Don't use copy_rest_of_line or
6706 (do_warning): Don't use pedwarn for the actual warning,
6707 only the notice about its not being in the standard. (Fixes
6708 bug with #warning in system headers.)
6709 (do_ident): Stricter argument checking - accept only a single
6710 string after #ident. Also, macro-expand the line.
6711 (do_xifdef): Use cpp_defined. De-obfuscate.
6713 (do_pragma): Split out specific pragma handling to separate
6714 functions. Use get_directive_token. Update commentary. Do
6715 not pass on #pragma once or #pragma poison to the front end.
6716 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6717 do_pragma_default): New.
6719 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
6721 * jump.c (jump_optimize_1): The first operand in a relational
6723 * optabs.c (emit_conditional_move): Handle relationals which
6724 have a known true/false result.
6726 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6728 * function.c (thread_prologue_and_epilogue_insns): Don't insert
6729 a RETURN insn into a block which already ends with a jump.
6731 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6733 * haifa-sched.c (BUF_LEN): Increase a lot.
6735 2000-02-11 Nick Clifton <nickc@cygnus.com>
6737 * configure.in: Add tm_p_file specification for thumb targets.
6738 * configure: Regenerate.
6740 * config/arm/thumb-protos.h: New file: Prototypes for exported
6741 functions defined in thumb.c.
6743 2000-02-11 Robert Lipe <robertl@sco.com>
6745 * Makefile.in (bootstrap-lean): Remove additional files.
6746 (bootstrap2-lean): Likewise.
6747 (VOL_FILES): List of files for above.
6749 2000-02-11 Nathan Sidwell <nathan@acm.org>
6751 * cpphash.c (special_symbol): Remove spurious argument to
6754 2000-02-11 Joel Sherrill (joel@OARcorp.com>
6756 * configure.in: (i*86-*-rtems*): Swapped elf and coff
6758 * configure: Rebuilt.
6760 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
6762 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6764 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
6766 * pa.c, pa.h: Remove trigraph sequences within comments.
6768 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
6770 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6772 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
6774 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6776 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6778 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6780 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6782 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6783 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6784 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6785 (ASM_FILE_END): Use c4x_file_end.
6786 * config/c4x/c4x.c (c4x_global_label): New function.
6787 (c4x_external_ref, c4x_file_end): Likewise.
6789 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6790 (c4x_external_ref, c4x_end_file): Likewise.
6792 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
6794 * cppexp.c: Don't include cpphash.h.
6795 (parse_charconst, cpp_lex): Use cpp_defined.
6796 (cpp_lex): Use get_directive_token throughout. Remove
6797 unnecessary cases from switch. Move assertion-handling code
6799 (cpp_parse_expr): If we see '+' or '-', check the context to
6800 determine if they are unary or binary operators. Streamline
6801 the jumps a bit. Do not call skip_rest_of_line.
6803 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6804 static. Export get_directive_token. Update commentary.
6805 (cpp_defined): New function.
6806 (do_define): Remove reference to T_PCSTRING. Call
6807 free_definition to release memory for old definition, when
6809 (eval_if_expression): Set only_seen_white to 0 before calling
6810 cpp_parse_expr. Call skip_rest_of_line after it returns.
6811 (cpp_read_check_assertion): Don't preserve a pointer into the
6812 token buffer across a call to cpp_get_token.
6814 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
6815 * cppfiles.c (redundant_include_p): Use cpp_defined.
6816 * cpphash.c (free_definition): New function.
6817 (delete_macro): Use it. Update commentary.
6818 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
6820 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
6821 from enum node_type. Prototype cpp_defined and get_directive_token.
6822 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
6824 * fix-header.c (check_macro_names): Use cpp_defined.
6825 (read_scan_file): Set inhibit_warnings and inhibit_errors in
6826 the options structure.
6828 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6830 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
6832 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
6834 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
6835 rather than die->die_tag.
6837 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6839 * combine.c (make_extraction, force_to_mode): Avoid warning on
6840 mixed-signedness conditionals.
6841 (make_field_assignment, nonzero_bits): Likewise.
6842 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
6843 (store_split_bit_field, extract_split_bit_field): Likewise.
6844 (extract_fixed_bit_field, store_bit_field,
6845 * expr.c: Change alignment to be unsigned everywhere.
6846 (move_by_pieces, store_constructor_field, store_constructor):
6847 Alignment parm is unsigned.
6848 (emit_block_move, emit_group_load, emit_group_store): Likewise.
6849 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6850 (do_compare_rtx_and_jump): Likewise.
6851 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
6852 Compare align with GET_MODE_ALIGNMENT.
6853 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
6854 (get_inner_reference): Likewise.
6855 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
6856 (expand_assignment): Local vars for alignment now unsigned.
6857 (store_constructor, store_field, expand_expr, do_jump): Likewise.
6858 (do_compare_and_jump): Likewise.
6859 (store_field): Call new function expr_align.
6860 * expr.h (emit_block_move, emit_group_load, emit_group_store):
6861 Alignment arg now unsigned.
6862 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6863 (do_compare_rtx_and_jump, store_bit_field): Likewise.
6864 (extract_bit_field): Likewise.
6865 * fold-const.c (add_double): Add cast to eliminate signedness warning.
6866 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
6867 (get_best_mode): Alignment arg is unsigned.
6868 * rtl.h (move_by_pieces): Likewise.
6869 * store-layout.c (maximum_field_alignment, set_alignment):
6871 (layout_decl): Alignment arg is now unsigned.
6872 Remove unneeded casts.
6873 (layout_record, layout_union, layout_type): Remove unneeded casts.
6874 Local alignment variables now unsigned.
6875 (get_best_mode): Alignment arg now unsigned.
6876 * tree.c (expr_align): New function.
6877 * tree.h (expr_align): Likewise.
6878 (maximum_field_alignment, set_alignment): Now unsigned.
6879 (get_inner_reference): Alignment argument is now pointer to unsigned.
6880 * varasm.c (assemble_variable): Add cast to eliminate warning.
6882 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
6884 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
6885 then store directly into op0.
6887 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
6888 the CALL_INSN, and emit the note immediately after it.
6890 2000-02-10 Nick Clifton <nickc@cygnus.com>
6892 * config/arm/thumb.md (epilogue): Include a (return) in the
6893 generated insn, and emit it using emit_jump_insn not
6896 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
6898 * function.c (assign_temp): Change zero-sized arrays to size 1.
6899 * integrate.c (expand_inline_function): Do not update
6900 stack_alignment_needed
6901 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
6902 add some sanity checking, remove optimization for function with
6905 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6907 * flow.c (mark_regs_live_at_end): Delete unused variables.
6909 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
6911 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
6912 in macro FRAME_GROWS_DOWNWARD.
6914 * stmt.c (expand_end_bindings): Delete unused variable.
6916 * unroll.c (iteration_info): Mark parameter `loop' with
6919 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6921 * fixinc/server.c (load_data): Return NULL if the marker line is
6923 (run_shell): If load_data returns NULL, retry the command once, in
6926 * configure: Rebuilt.
6928 2000-02-09 Bruce Korb <bkorb@gnu.org>
6930 * gcc/fixincludes: ** DELETED **
6931 * gcc/fixcpp: ** DELETED **
6932 * gcc/fixinc-nt.sed: ** DELETED **
6933 * gcc/just-fixinc: ** DELETED **
6934 * gcc/Makefile.in: Removed out-dated commentary
6935 * gcc/configure.in: Removed fast-fixincludes disablement.
6936 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
6938 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
6939 * function.c (thread_prologue_and_epilogue_insns): Uncomment
6942 2000-02-09 Richard Henderson <rth@cygnus.com>
6944 * jump.c (delete_insn): Don't delete user labels at -O0.
6946 2000-02-09 Robert Lipe <robertl@sco.com>
6948 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
6949 Don't link with HOST_LIBS.
6951 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6953 * configure.in: Correct --help text for --with-dwarf2.
6954 Put tm-dwarf2.h after other tm files, if it's requested.
6955 * configure: Regenerate.
6956 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
6959 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
6961 * cpplib.h: Provide HASHNODE typedef and forward decl of
6962 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
6963 DEFINITION, struct hashnode, struct macrodef, struct
6964 definition, scan_decls prototype, default defn of
6965 INCLUDE_LEN_FUDGE moved elsewhere.
6967 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
6968 definition, and struct hashnode moved here. Remove the unused
6969 'predefined' field from struct definition. Replace the 'args'
6970 union with its sole member. All users updated (cpphash.c).
6971 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
6972 multiple include guard.
6974 * cpphash.c (hashf): Make static; use better algorithm; drop
6975 HASHSIZE parameter; return an unsigned int.
6976 (cpp_lookup): Drop HASH parameter. PFILE parameter is
6977 used. Calculate HASHSIZE modulus here.
6978 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
6980 (create_definition): Drop PREDEFINITION parameter.
6981 * cpplib.c (do_define): Don't calculate a hash value here.
6982 Don't pass (keyword == NULL) to create_definition.
6984 * scan.h: Prototype scan_decls here.
6985 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
6986 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
6987 callers of cpp_lookup and cpp_install updated.
6989 * cpphash.c (macarg): Hoist all the flag diddling out of the
6991 (macroexpand): ... and out of the loop that calls macarg.
6992 Skip over the initial paren before macro arguments with
6993 cpp_get_non_space_token; point may be some distance before
6994 that paren. Abort if it's not there.
6996 * cpplib.c (parse_clear_mark): Delete function.
6997 (parse_set_mark, parse_goto_mark): Make static.
6998 (ACTIVE_MARK_P): New macro.
6999 (skip_block_comment, skip_line_comment): Do not bump the line
7000 if ACTIVE_MARK_P is true.
7001 (cpp_pop_buffer): The buffer to be popped may not have an
7003 (cpp_get_token): When looking for the initial paren before
7004 macro arguments, only set a mark in a file buffer, Always
7005 return to that mark before proceeding to call macroexpand or
7006 return a NAME token.
7008 * cpplib.h: Remove prototypes of parse_set_mark,
7009 parse_clear_mark, parse_goto_mark.
7010 (struct cpp_options): Rename 'put_out_comments' to
7011 'discard_comments' and invert its sense.
7012 * cppinit.c, cpphash.c, cpplib.c: All users of
7013 put_out_comments changed to use discard_comments, with
7016 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
7018 * function.c (thread_prologue_and_epilogue_insns): Don't delete
7019 the edge from a block that both jumps and falls through to the
7022 2000-02-09 Scott Bambrough <scottb@netwinder.org>
7024 * config/arm/arm.md (movsi): In PIC mode, make sure that a
7025 constant source address is legitimate.
7027 2000-02-09 Philip Blundell <pb@futuretv.com>
7029 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7032 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7034 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7036 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
7038 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7039 ends with a newline and a NUL. Don't be so clever manipulating
7042 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
7044 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7045 not to BIGGEST_ALIGNMENT.
7047 2000-02-08 Geoff Keating <geoffk@cygnus.com>
7049 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7050 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7051 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7052 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7053 * frame.c (execute_cfa_insn): Handle
7054 DW_CFA_GNU_negative_offset_extended.
7056 2000-02-08 Richard Henderson <rth@cygnus.com>
7058 * flow.c (tidy_fallthru_edges): Split out from ...
7059 (delete_unreachable_blocks): ... here.
7060 (find_basic_blocks): Use it.
7062 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7064 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7066 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
7068 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7069 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7070 (fix-header.o): Don't depend on cpphash.h.
7072 * scan.c (hashstr): New function.
7073 * scan.h: Prototype it.
7074 * fix-header.c: Don't include cpphash.h. Use hashstr.
7075 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
7076 hashstr. Report hash table statistics. Add private
7077 definition of xrealloc.
7079 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7081 * i386.h (TARGET_SWITCHES): Fix typo in option name.
7083 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
7085 * function.c (thread_prologue_and_epilogue_insns): Don't replace
7086 jumps with returns unless they are jumps to the fallthru block.
7088 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
7090 * i386.md (addqi3_cc): Fix contraints.
7092 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
7094 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7096 2000-02-07 Mark Mitchell <mark@codesourcery.com>
7098 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7099 carriage return after a macro name.
7101 2000-02-07 Fred Fish <fnf@be.com>
7103 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7104 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7106 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
7108 * cppfiles.c (deps_output): Count spacers in deps_column.
7110 2000-02-07 Neil Booth <NeilB@earthling.net>
7112 * cppinit.c (initialize_dependency_output): If there is no
7113 suffix, don't try to look for known suffixes. Use strrchr.
7114 (cpp_start_read): Remove duplicate initialization.
7116 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
7118 * calls.c (compute_argument_block_size): New argument
7119 preferred_stack_boundary.
7120 (expand_call): update cfun->preferred_stack_boundary, update call of
7121 compute_argument_block_size
7122 (emit_library_call): Increate cfun->preferred_stack_boundary
7123 to PREFERRED_STACK_BOUNDARY
7124 (emit_library_call_value): Likewise.
7125 * explow.c (allocate_dynamic_stack_spave): Likewise.
7126 * function.c (prepare_function_start): Set
7127 cfun->preferred_stack_boundary
7128 * function.h (struct function): Add preferred_stack_boundary field.
7129 * integrate.c (expand_inline_function): Update
7130 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7131 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7132 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7134 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
7136 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7137 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7138 cpp_pedwarn, cpp_pedwarn_with_line,
7139 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7140 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7141 v_cpp_error_with_line, v_cpp_warning_with_line,
7142 cpp_message_from_errno, cpp_perror_with_name): Delete.
7144 * cpperror.c (cpp_print_containing_files): Take starting
7146 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7147 (v_cpp_message): Now called directly by all entry points.
7149 (cpp_pfatal_with_name, cpp_message): Delete.
7150 (cpp_notice_from_errno, cpp_ice): New functions.
7151 (cpp_notice): Is now for reporting error conditions, just
7152 without an associated file.
7153 (cpp_error, cpp_error_with_line): Don't do anything if
7154 opts->inhibit_errors is on.
7155 (cpp_pedwarn_with_file_and_line): Take column argument also.
7157 * cpplib.h: Update prototypes of exported functions.
7158 (struct cpp_options): Add inhibit_errors.
7160 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7161 non-error messages. Include intl.h.
7163 * cppinit.c, cppmain.c: Likewise. Also, use
7164 cpp_notice_from_errno instead of cpp_perror_with_name or
7165 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7167 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7168 report internal errors.
7170 * cpplib.c (do_define): Switch bcopy to memcpy.
7171 Give cpp_pedwarn_with_file_and_line a dummy column argument.
7173 * cpplib.c (copy_rest_of_line): Revert previous change: don't
7174 bail out early if we hit a line comment.
7176 2000-02-06 Richard Henderson <rth@cygnus.com>
7178 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7179 * basic-block.h: Declare them.
7180 * emit-rtl.h (active_insn_p): New.
7181 (next_active_insn, prev_active_insn): Use it.
7182 * rtl.h: Declare it.
7183 * function.c (emit_return_into_block): New.
7184 (thread_prologue_and_epilogue_insns): Insert return insns instead
7185 of epilogues when possible.
7186 * jump.c (jump_optimize_1): Remove code to insert a return insn
7187 on the fallthru to the exit block.
7189 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7190 and for non-empty stack frames.
7191 * i386.md (return): Expand to return-pop as needed.
7193 2000-02-06 Richard Henderson <rth@cygnus.com>
7195 * simplify-rtx.c (simplify_relational_operation): Canonicalize
7196 constant to op1 for testing.
7198 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7200 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7201 (fixuns_truncqfqi2): Use it.
7203 2000-02-06 Richard Henderson <rth@cygnus.com>
7205 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7208 * i386.md (widening and peepholes): Mask the constant instead of
7211 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7213 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7214 input pointer before possibly branching off to the backslash
7216 * cpphash.c (macroexpand): Correctly delete \r escapes when
7217 stringifying parameters.
7218 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7219 if we can; bail out early if we hit a line comment.
7220 (handle_directive): Treat '# 123' in an .S file just like
7221 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
7222 Return 1 for '# not_a_directive'.
7223 (get_directive_token): Pop macro buffers here, so that
7224 cpp_get_token can't sneakily move past a newline.
7226 (cpp_get_token): goto randomchar if handle_directive returns 0.
7228 * cppalloc.c: Update copyright.
7229 * cpplib.c: Merge all the static function prototypes into one
7231 * cpplib.h: Remove #if 0 block.
7233 * cpperror.c: Remove #ifdef EMACS block.
7234 * cppmain.c: Likewise.
7235 * cpphash.c: Remove #if 0 blocks.
7236 * cppinit.c: Remove #if 0 blocks, and the -lint option.
7237 * cpplib.c: Remove #if 0 blocks and code referencing
7238 pcp_inside_if or for_lint. Remove duplicate error message.
7239 Fix error messages for #else after #else or #elif. Reformat.
7240 Remove archaic TODO list.
7241 * cpplib.h: Remove pcp_inside_if and for_lint flags.
7243 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7245 * i386/osf1elf.h: Add missing backslash to multiline string.
7247 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7249 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7251 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7253 * Makefile.in (c-common.o): Depend on $(EXPR_H).
7255 * c-common.c: Include expr.h.
7257 * c-pragma.c (mark_align_stack): Add prototype.
7259 * caller-save.c (add_stored_regs): Likewise.
7261 * combine.c (record_promoted_value): Likewise.
7263 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7266 * cppinit.c (new_pending_define): Likewise.
7268 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7270 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7271 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7272 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7273 class_scope_p): Likewise.
7275 * dwarf2out.h (dwarf2out_set_demangle_name_func,
7276 dwarf2out_add_library_unit_info): Likewise.
7278 * ggc.h (ggc_page_print_statistics): Likewise.
7280 * haifa-sched.c (propagate_deps): Likewise.
7282 * reg-stack.c (next_flags_user, record_label_references): Likewise.
7284 * rtl.h (set_stack_check_libfunc): Likewise.
7286 * toplev.h (set_fatal_function): Likewise.
7288 * toplev.c (set_fatal_function): Delete prototype.
7290 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7292 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7294 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7295 (FUNC_END): Likewise.
7297 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7299 * caller-save.c: Include tm_p.h.
7301 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7303 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7305 2000-02-04 Neil Booth <NeilB@earthling.net>
7307 * cccp.c (main): Check 'dir' for a NULL pointer before passing
7310 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
7312 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7313 * genflags.c: Use the max_operand_1 logic from genemit.c to
7314 calculate how many arguments gen_insn prototypes have. Remove
7315 NO_MD_PROTOTYPES ifdefs from the generated file.
7316 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7317 file. Cast gen_insn initializers to insn_gen_fn.
7318 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7319 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7321 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7323 * fixinc/Makefile.in (HDR): Add machname.h.
7326 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7328 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7329 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7330 (c4x_cpu_version): Ditto.
7331 * config/c4x/c4x-protos.h: ... here.
7333 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
7335 * dwarf2out.c (add_abstract_origin_attribute): Don't call
7336 gen_abstract_function on our context if we're a nested function.
7338 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7340 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7341 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7343 2000-02-04 Bruce Korb <bkorb@gnu.org>
7345 * fixinc/genfixes(machname.h):
7346 Move the functionality from gen-machine.h into this file.
7347 UNdef MN_NAME_PAT if there are no names to change.
7348 Also, be a little kinder when AutoGen is not present.
7350 * fixinc/Makefile.in(machname.h):
7351 Change the generation rule to use genfixes.
7353 * fixinc/fixfixes.c(machine_name):
7354 machine_name_fix's functionality now dependent upon whether
7355 MN_NAME_PAT is defined.
7357 * fixinc/fixtests.c(machine_name):
7360 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7363 * fixinc/fixlib.h(mn_get_regexps):
7366 * fixinc/gen-machine.h: DELETED
7368 2000-02-04 Jan Hubicka <jh@suse.cz>
7369 Richard Henderson <rth@cygnus.com>
7371 * i386.c (SAVE_REGS_FIRST): Remove.
7372 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7373 (ix86_compute_frame_size): Likewise.
7374 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
7375 (ix86_emit_restore_regs): Remove.
7376 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7377 when a frame pointer is in use.
7378 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
7379 instead of pop to restore a register when profitable; emit leave
7381 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7383 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7384 * i386.md (prologue_allocate_stack): Remove.
7385 (epilogue_deallocate_stack): Remove.
7386 (pro_epilogue_adjust_stack): New.
7388 2000-02-04 Richard Henderson <rth@cygnus.com>
7390 * function.c (diddle_return_value): Rework to use a callback function.
7391 Use current_function_return_rtx if it's been set up.
7392 (do_clobber_return_reg, clobber_return_register): New.
7393 (do_use_return_reg, use_return_register): New.
7394 (expand_function_end): Use them.
7395 * stmt.c (expand_null_return): Likewise.
7396 * function.h: Declare them.
7397 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7398 (mark_reg): Change arguments as appropriate for callback.
7399 * integrate.c (expand_inline_function): Revert 19 Jan change.
7401 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
7403 * tm.texi (Values in Registers): Fix typo: "fo" "for".
7404 (Misc): Say the scheduler, not the Haifa scheduler.
7406 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
7408 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7409 when in_mem is set. Update all callers.
7411 2000-02-04 Richard Henderson <rth@cygnus.com>
7413 * i386/openbsd.h (INT_ASM_OP): Define.
7415 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
7417 * tm.texi: Fix various typos.
7419 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
7421 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7422 (MD_STARTFILE_PREFIX_1): New macro.
7424 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
7426 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7427 destination when needed.
7428 (strmovsi, strsetsi): New expander.
7429 (strmovsi_1, strsetsi_1): New pattern.
7430 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7431 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7432 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7433 * invoke.texi (align-stringops, inline-all-stringops): Document.
7435 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
7437 * i386/netbsd.h (INT_ASM_OP): Define.
7439 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
7441 * cpplib.h (cpp_reader): Add new flag, no_directives.
7442 * cpphash.c (macarg): Set it.
7443 * cpplib.c (handle_directive): If no_directives is on and we
7444 find a directive, issue an error and discard the line.
7446 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
7448 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7449 FP constants. Add ! TARGET_FPU check for FP constants.
7451 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
7453 * flow.c (find_basic_blocks): Don't kill label_value_list
7455 (cleanup_cfg): Kill it here.
7457 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7459 * expr.c (store_field): Ensure ALIGN is no stricter than the
7462 2000-02-02 Richard Henderson <rth@cygnus.com>
7464 * jump.c (delete_insn): Partially revert 19 Jan change;
7465 don't convert unused code labels to notes at -O0.
7467 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7469 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7470 split_all_insns to recreate REG_LABEL notes for flow2 pass.
7472 2000-02-01 Richard Henderson <rth@cygnus.com>
7474 * i386.c (general_no_elim_operand): New.
7475 (nonmemory_no_elim_operand): New.
7476 (ix86_expand_move): Copy eliminable operands before a push.
7477 * i386-protos.h: Declare new functions.
7478 * i386.h (CAN_ELIMINATE): Simplify.
7479 (PREDICATE_CODES): Update.
7480 * i386.md (push insns): Don't allow eliminable register operands.
7482 2000-02-01 Richard Henderson <rth@cygnus.com>
7484 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7485 replace BLKmode with DECL_RTL's mode.
7487 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
7489 * frame.c (find_fde): Convert for loop to do-while so compiler
7490 sees it's always executed at least once.
7491 * libgcc2.c (BBINBUFSIZE): Kill.
7492 (__bb_init_prg): Use fgets.
7493 (__bb_exit_trace_func): Don't paste strings.
7494 * unroll.c (unroll_loop): Initialize unroll_type, not
7495 unroll_number, and tweak logic to match.
7497 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7499 (ix86_flags_dependant): Likewise. Disentangle control flow.
7500 (ix86_sched_reorder): Break guts out to
7501 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7502 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7505 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7506 use string concatenation. Don't save and restore esi.
7508 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7509 (machname.h): Remove script to separate file. Use two-step
7510 sequence so target is not created if script fails.
7511 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
7512 identifiers are defined.
7513 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7514 an empty string, machine_name doesn't need to do anything at
7516 (is_cxx_header): Add more cases to regexp.
7517 * fixinc/fixlib.h: Update prototype.
7518 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7520 * fixinc/fixincl.c: Define NO_BOGOSITY.
7522 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7523 (hp_sysfile): Add missing comma.
7524 (math_exception): Put the wrapper ifdefs at the beginning and
7525 the end of the file.
7526 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7528 2000-02-01 Richard Henderson <rth@cygnus.com>
7530 * sparc.c (fp_zero_operand): Turn into a normal predicate.
7531 Use CONST0_RTX. Update all callers.
7532 * sparc.h, sparc-protos.h: Update accordingly.
7533 * sparc.md (fp mov insns): Use fp_zero_operand directly
7536 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
7538 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7541 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7543 * Makefile.in (specs.ready): New target.
7544 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7546 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7548 * fixinc.irix: Use unique filenames for writing into /tmp,
7549 * fixinc.ptx: Likewise.
7550 * fixinc.sco: Likewise.
7551 * fixinc.svr4: Likewise.
7552 * fixinc.winnt: Likewise.
7554 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7556 * tsystem.h: New file.
7558 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7559 s-crtS): Depend on tsystem.h.
7561 * crtstuff.c: Include tsystem.h.
7562 * frame.c: Likewise.
7563 * libgcc2.c: Likewise.
7565 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
7567 * builtins.c (expand_builtin_memset): Expand for variable sized
7570 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
7572 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7575 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
7577 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7579 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7581 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
7583 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7584 case 3->2 combining (combining with splitting) in which 2 is CC0
7585 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
7586 checked at the begining of the function with the aid of calling
7587 function 'can_combine_p'.
7589 2000-01-31 Dave Brolley <brolley@redhat.com>
7591 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7593 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
7595 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7598 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7600 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7602 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7605 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
7607 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7608 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7609 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7610 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7611 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7612 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7613 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7614 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7615 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7616 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7618 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7619 Add %(cpp_cpu) to CPP_SPEC.
7621 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7622 Add %(cc1_cpu) to CC1_SPEC.
7624 2000-01-28 Ulrich Drepper <drepper@redhat.com>
7626 * c-decl.c (c_decode_option): Accept optional numeric argument to
7627 -Wformat and set warn_format.
7628 * c-common.c: Don't emit warning about non-constant printf format
7629 string unless warn_format > 1.
7631 2000-01-30 Richard Henderson <rth@cygnus.com>
7633 * alpha.md (return_internal): Allow after reload only.
7635 2000-01-30 Richard Henderson <rth@cygnus.com>
7637 * i386.c (ix86_compute_frame_size): Omit padding1 if the
7638 local frame size is zero.
7640 2000-01-30 Richard Henderson <rth@cygnus.com>
7642 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7643 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
7644 * alpha.md (return): Turn into an expander.
7645 (return_internal): Don't use $26.
7646 (epilogue): Emit the return insn.
7648 2000-01-30 Richard Henderson <rth@cygnus.com>
7650 * alpha.md (negtf2, abstf2): Fix word order thinko.
7652 (trunctfsf2): Avoid intermediate rounding errors.
7654 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
7656 * cppfiles.c (find_position): Drop 'colp' argument, return the
7658 (read_and_prescan): Adjust to match. Don't ever manipulate
7659 line or line_base except via find_position.
7661 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
7663 * c-parse.in: Apply Ulrich's changes from c-parse.y.
7664 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7667 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
7669 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7670 just print "<command line>". If 'filename' is null or an
7671 empty string, print "<stdin>" for the filename.
7672 * cpplib.c (do_define): Don't print the 'location of the
7673 previous definition' message if we're still parsing the
7675 (cpp_pedwarn_with_file_and_line): Always call
7676 cpp_file_line_for_message.
7678 2000-01-29 Mark Mitchell <mark@codesourcery.com>
7680 * flow.c (mark_regs_live_at_end): Fix typo.
7682 2000-01-28 Ulrich Drepper <drepper@redhat.com>
7684 * c-common.c: Adjust variable names, comments, help strings to c99.
7685 * c-lex.c: Likewise.
7686 * c-parse.y: Likewise.
7687 * c-tree.h: Likewise.
7689 * cpplib.h: Likewise.
7690 * c-decl.c: Likewise. Recognize options with names "*99" as well.
7691 * cppinit.c: Likewise.
7693 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7695 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7696 * c4x.c: Define the optab rtx values.
7697 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7698 (c4x_emit_libcall): Use new optab rtx values.
7699 (c4x_emit_libcall3): Likewise.
7700 (c4x_emit_libcall_mulhi): Likewise.
7701 * c4x-protos.h: Add prototypes for optab rtx values and change
7702 prototypes for above c4x_emit_libcall functions.
7704 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7706 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7708 (c4x_function_prologue): Use regnames intead of float_reg_names when
7710 (c4x_function_epilogue): Likewise.
7711 (c4x_print_operand): Likewise.
7712 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7713 * c4x.md (set_high): Disable for TARGET_TI.
7715 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7717 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7718 of framepointer + constant to ADDR_REGS class.
7719 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7720 * c4x.c (std_or_reg_operand): New function.
7721 * c4x-protos.h (std_or_reg_operand): Prototype it.
7723 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7725 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7726 object names as libgcc2.c.
7727 * libgcc.S: Use newly defined names.
7729 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
7730 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7732 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7733 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7734 (FLOW_LOOP_LAST_BLOCK): Likewise.
7736 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7738 * basic-block.h (struct loop): New fields 'first' and 'last'.
7739 * flow.c (flow_loops_find): Compute loop->first and loop->last.
7740 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7741 and loop->last to check for NOTE_INSN_LOOP_END.
7743 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
7745 * predict.c (estimate_probability): Use the new FIRST and LAST fields
7746 of the loop descriptor rather than HEADER and LATCH. Also added
7747 missing break statements as well making some coding style modifications
7748 as suggested by Michael Hayes.
7750 2000-01-28 Richard Henderson <rth@cygnus.com>
7752 * flow.c (find_basic_blocks): Remove do_cleanup argument.
7753 Break out that code ...
7754 (cleanup_cfg): ... here.
7755 (commit_one_edge_insertion): Detect a return instruction being
7756 emitted to an edge. Emit a barrier following; clear fallthru.
7757 (commit_edge_insertions): Verify CFG consistency.
7758 * function.c (expand_function_start): Kill unused variable.
7759 (expand_function_end): Likewise.
7760 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7761 to insert the epilogue.
7763 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7764 (delete_null_pointer_checks): Likewise.
7765 * output.h: Likewise.
7766 * reg-stack.c (reg_to_stack): Likewise.
7767 * toplev.c (rest_of_compilation): Likewise. Run
7768 thread_prologue_and_epilogue_insns after rebuilding the CFG.
7770 2000-01-28 Richard Henderson <rth@cygnus.com>
7772 * Makefile.in (flow.o): Revert 24 Jan change.
7773 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
7774 FUNCTION_VALUE result to DECL_RESULT's mode.
7776 * haifa-sched.c (schedule_insns): Don't recompute reg info
7779 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
7781 * configure.in: Make --enable-cpplib the default.
7782 * configure: Regenerate.
7783 * gcc.dg/990119-1.c: No longer expected to fail.
7785 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
7787 * jump.c (jump_optimize_1): Delete an optimization that is also done
7788 by merge_blocks in flow.
7790 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7792 * diagnostic.c (build_message_string, output_printf,
7793 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7794 (build_location_prefix): Fix non-literal format string.
7796 2000-01-27 Richard Henderson <rth@cygnus.com>
7798 * alpha.md (trunctfsf2): New.
7800 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
7802 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7804 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7806 * cppinit.c (cpp_handle_option): Recognize C++ comments under
7808 * cpplib.c (skip_block_comment, skip_line_comment): Split code
7810 (skip_comment) ... here. Permit C++ comments in system
7811 headers always. Warn about C++ comments in user code under
7812 -std=gnu89 -pedantic.
7813 (copy_comment): Use skip_comment.
7814 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
7816 (consider_directive_while_skipping, do_else, do_endif): Call
7817 validate_else unconditionally.
7818 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
7819 text after the conditional in a system header.
7820 * cpplib.h (struct cpp_buffer): Add flag
7821 warned_cplusplus_comments.
7823 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
7825 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
7826 Use unshare_all_rtl_1.
7827 (unshare_all_rtl_again): New function.
7828 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
7830 * function.c (purge_addressof_1): Use unshare_all_rtl_again
7831 rather than resetting the 'used' flags ourself.
7833 * toplev.c (rest_of_compilation): Add current_function_decl
7834 to the unshare_all_rtl call.
7835 * tree.h: Prototype unshare_all_rtl.
7836 * rtl.h: Prototype unshare_all_rtl_again here.
7838 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
7840 * genoutput.c (output_prologue): Include ggc.h in generated
7842 * Makefile.in (insn-output.o): Depends on ggc.h.
7844 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
7845 Hans-Peter Nilsson <hp@bitrange.com>
7847 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
7848 Remove redundant include of xm-ns32k.h.
7849 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
7850 Remove redundant include of xm-ns32k.h.
7851 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
7852 Remove redundant include of xm-ns32k.h.
7853 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
7855 * ns32k/ns32k.h: Update comment on multiply-add instructions.
7856 (TARGET_SWITCHES): Add documentation strings.
7857 (DWARF_FRAME_REGNUM): Override default definition.
7858 (REG_CLASS_CONTENTS): Add comments.
7859 (SUBSET_P): Format to reduce line length.
7860 (SMALL_REGISTER_CLASSES): Make a run time option.
7861 (GO_IF_NONINDEXED_ADDRESS): Reformat.
7862 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
7863 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
7864 (regclass_map): fix typo in comment.
7865 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
7866 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
7867 (trace, reg_or_mem_operand): Delete, unused function.
7868 (calc_address_cost): Small offsets are cheaper than large ones.
7869 (expand_block_move): Generate more efficient code when bytes is a
7870 known at compile time.
7871 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
7872 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
7873 instead of reg_or_mem_operand.
7875 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
7876 not general_operand. Similarly use "=rm" or stricter, not "=g".
7877 For input operands, use stricter constraints than "g" if not
7878 general_operand. Similarly use stricter predicate than
7879 "general_operand" when stricter constraints than "g" are present,
7880 except for matching constraints.
7881 (movstrsi): Use "memory_operand" for operands 0 and 1.
7882 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
7883 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
7884 not reg_or_mem_operand.
7885 (udivmoddisi4): Ditto.
7886 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
7887 Use nonimmediate_operand for operand 3, not register_operand.
7888 (udivmoddiqi4_internal): Use register_operand for operand 1, not
7891 2000-01-27 Fred Fish <fnf@be.com>
7893 * gthr-posix.h: Fix typo; compatibily -> compatibility.
7894 * gthr-single.h: Likewise.
7895 * gthr-solaris.h: Likewise.
7896 * gthr-vxworks.h: Likewise.
7897 * gthr-win32.h: Likewise.
7900 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
7902 * cppinit.c: Add " (cpplib)" to end of string printed by
7905 2000-01-27 Richard Henderson <rth@cygnus.com>
7907 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
7908 testing for a signed comparison.
7909 (alpha_emit_floatuns): New.
7910 * alpha-protos.h: Declare it.
7911 * alpha.md (floatunsdisf2, floatunsdidf2): New.
7912 (extendsfdf2): Tidy.
7914 2000-01-27 Jakub Jelinek <jakub@redhat.com>
7916 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
7917 no -g option specifying debugging format, default to -gstabs+.
7919 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7921 * calls.c (special_function_p): New argument fork_or_exec.
7922 (expand_call): When profile_arc_flag is set and the function
7923 is in the fork_or_exec group, call __bb_fork_func first.
7924 * libgcc2.c, _bb module (__bb_fork_func): New function.
7925 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
7927 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
7928 * tree.h (special_function_p): Update prototype.
7930 2000-01-26 Richard Henderson <rth@cygnus.com>
7932 * alpha.c (alpha_split_tfmode_pair): New.
7933 * alpha-protos.h: Declare it.
7934 * alpha.md (abstf2, negtf2): New.
7935 (movtf insn): Add input G constraint.
7936 (movtf splitter): Use alpha_split_tfmode_pair.
7938 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7940 * i386/cygwin.h: PROTO -> PARAMS.
7942 2000-01-26 Jakub Jelinek <jakub@redhat.com>
7944 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
7945 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
7946 using _Qp_cmp/_Q_cmp and testing the return value.
7947 (print_operand): Call reverse_condition_maybe_unordered if
7948 we are handling CCFPmode or CCFPEmode.
7949 Handle ORDERED, UN* and LTGT comparisons.
7950 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
7951 if not TARGET_HARD_QUAD.
7952 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
7953 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
7954 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
7955 Adjust gen_b* calls so that they reflect return comparison of
7956 sparc_emit_float_lib_cmp.
7958 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7960 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
7961 incoming operands array is large enough for one more operand.
7962 (alpha_emit_xfloating_arith): Likewise.
7964 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
7966 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
7967 file with one line and no trailing newline.
7968 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
7969 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
7970 checking if the match is on the line.
7971 * fixinc/gnu-regex.c: Provide regerror not __regerror.
7973 2000-01-25 Richard Henderson <rth@cygnus.com>
7975 * sparc.c (output_cbranch): Fix accidental squashing of the
7976 fp branch pre-delay nop.
7978 2000-01-25 Richard Henderson <rth@cygnus.com>
7980 * tree.def (UNNE_EXPR): Remove.
7981 * c-typeck.c (build_binary_op): Don't handle it.
7982 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
7984 * rtl.def (UNNE): Remove.
7986 * jump.c (reverse_condition): Update accordingly.
7987 (swap_condition): Likewise.
7988 (comparison_dominates_p): Handle unordered comparisons.
7989 (reverse_condition_maybe_unordered): New.
7990 * rtl.h (reverse_condition_maybe_unordered): Declare.
7992 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
7993 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
7994 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
7995 * sparc.md (bltgt): New.
7997 2000-01-25 Nick Clifton <nickc@redhat.com>
7999 * emit-rtl.c (emit_insn): Only check machine class insns for
8000 improper emission of a RETURN.
8002 2000-01-25 Richard Henderson <rth@cygnus.com>
8004 * Makefile.in (flow.o): Depend on $(EXPR_H).
8005 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8006 duplicate the structure of diddle_return_value for keeping regs live.
8008 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8010 * loop.c (current_loop_info): Delete.
8011 (consec_sets_invariant_p): Add loop argument, update callers.
8012 (get_condition_for_loop): Likewise.
8013 (count_nonfixed_reads, update_giv_derive): Likewise.
8014 (simplify_giv_expr, general_induction_var): Likewise.
8015 (consec_sets_giv, recombine_givs): Likewise.
8016 (move_movables): Delete loop_start and loop_end arguments,
8017 add loop argument, and update callers.
8018 (find_mem_givs, check_final_value): Likewise.
8019 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8020 (loop_invariant_p): Rename from invariant_p, add loop argument, and
8022 (basic_induction_var): Add loop argument, delete loop_level argument,
8024 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8025 add loop argument, and update callers.
8026 (find_splittable_regs, find_splittable_givs): Likewise.
8027 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8028 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8029 (biv_total_increment): Delete loop_start and loop_end arguments;
8031 (precondition_loop_p): Delete loop_start and loop_info arguments;
8033 * loop.h (get_condition_for_loop): Add loop argument.
8034 (biv_total_increment): Delete loop_start and loop_end arguments.
8035 (precondition_loop_p): Delete loop_start and loop_info arguments;
8037 (final_biv_value): Delete loop_start and loop_end arguments;
8039 (final_giv_value, back_branch_in_range_p): Likewise.
8041 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
8043 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8045 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
8047 * Makefile.in (c-gperf.h) : Change the "See" pointer to
8048 point to the new "generated_files" doc.
8050 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
8052 * config/fp-bit.c (_unord_f2): Fix typo.
8054 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
8056 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8057 c-typeck.c, objc/objc-act.c: Remove all references to obstack
8058 functions obsoleted by GC, such as push_obstacks_nochange,
8059 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8060 and code which existed only to decide whether or not to call
8061 them. Remove now-unused NESTED argument from start_function;
8062 all callers changed. Do not change behavior based on ggc_p.
8063 The use of the ixp_obstack in c-iterate.c and the util_obstack
8064 in objc/objc-act.c remain; these are not obsoleted by garbage
8066 * c-tree.h: Update prototype for start_function.
8068 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8070 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
8072 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8075 2000-01-25 Richard Henderson <rth@cygnus.com>
8077 * sparc-protos.h (select_cc_mode): Declare.
8078 * sparc.c (select_cc_mode): New. Handle unordered compares.
8079 (output_cbranch): Always reverse via code change. Handle
8080 unordered compares. Factor tests and string updates.
8081 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8082 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8083 * sparc.md (bunordered, bordered): New.
8084 (bungt, bunlt, buneq, bunge, bunle): New.
8086 2000-01-25 Richard Henderson <rth@cygnus.com>
8088 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8089 * ggc-common.c (ggc_add_rtx_varray_root): New.
8090 (ggc_mark_rtx_varray): New.
8091 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
8092 functions down below ggc_mark_foo.
8093 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8095 2000-01-25 Richard Henderson <rth@cygnus.com>
8097 * alpha.c (secondary_reload_class): Don't allocate a secondary
8098 for integral mode memories into FLOAT_REGS. Rearrange the more
8099 complicated memory expression inward.
8101 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
8103 * inclhack.def: Fixes to play nicer with FreeBSD, and
8104 corrections to comments.
8105 (cxx_unready): Add select expression.
8106 (irix_sockaddr): Add bypass expression.
8107 (machine_ansi_h_va_list): New fix.
8108 (stdio_va_list): No need to edit _BSD_VA_LIST_.
8109 Split out addition of "#include <stdarg.h>" to...
8110 (stdio_stdarg_h): ... here.
8111 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
8112 to stdlib.h also. Do not munge _BSD_SIZE_T_.
8113 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8115 (ultrix_ifdef): Tighten up select expression.
8117 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
8118 re_ct and max_mach to avoid use of shell. Make printed names
8119 match names in inclhack.def. Use static copyright date.
8120 Don't count c_test and test expressions as requiring regex_t
8121 slots. Add some commentary.
8122 * inclhack.tpl: Do not include the 'This script contains N
8123 fixup scripts' line if PROGRAM is defined. Use static
8126 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
8128 * dwarf2out.c: include "varray.h", not dyn-string.h.
8129 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8130 (addr_const_to_string, addr_to_string): Lose.
8131 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8132 (struct dw_val_struct): val_addr is now an rtx.
8133 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8134 (used_rtx_varray): New varray.
8135 (dwarf2out_init): Initialize it.
8137 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8139 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8140 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8141 * Makefile.in (dwarf2out.o): Update dependencies.
8143 2000-01-24 Richard Henderson <rth@cygnus.com>
8145 * i386.c (i386_dwarf_output_addr_const): New.
8146 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8148 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8150 * dwarfout.c (output_mem_loc_descriptor): Likewise.
8151 * i386.c (i386_simplify_dwarf_addr): New.
8152 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8154 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
8156 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8157 TYPE_STUB_DECL is NULL.
8159 2000-01-24 Richard Henderson <rth@cygnus.com>
8161 * builtins.c (expand_tree_builtin): Move ...
8162 * c-common.c (expand_tree_builtin): ... here.
8164 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8166 * loop.h (LOOP_INFO): New accessor macro.
8167 * basic-block.h (struct loop): Rename field `info' to `aux'.
8168 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8169 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8170 * unroll.c (loop_iterations, unroll_loop): Likewise.
8172 2000-01-24 Christopher Faylor <cgf@cygnus.com>
8174 * config/i386/t-cygwin: Accomodate new winsup directory layout
8175 when searching for include files.
8177 2000-01-24 Richard Henderson <rth@cygnus.com>
8179 * rtl.def: Add unordered fp comparisions.
8180 * tree.def: Likewise.
8181 * tree.h: Add ISO C 9x unordered fp comparision builtins.
8183 * builtins.c (expand_tree_builtin): New function.
8184 * c-typeck.c (build_function_call): Use it.
8185 (build_binary_op): Support unordered compares.
8186 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8188 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8189 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8190 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8191 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8192 * jump.c (reverse_condition): Don't abort for UNLE etc, but
8194 (swap_condition): Handle unordered compares.
8195 (thread_jumps): Check can_reverse before reversing.
8196 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
8199 * optabs.c (can_compare_p): New argument CODE. Verify branch or
8200 setcc is present before acking for cmp_optab. Update all callers.
8201 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8202 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8203 * expr.c (expand_expr): Likewise. Support unordered compares.
8204 (do_jump, do_store_flag): Likewise.
8205 * expr.h (enum libfunc_index): Add unordered compares.
8207 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8208 (DPBIT_FUNCS): Add _unord_df.
8209 * config/fp-bit.c (_unord_f2): New.
8210 * fp-test.c (main): Try unordered compare builtins.
8212 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8213 * alpha.c (alpha_comparison_operator): Check mode properly.
8214 (alpha_swapped_comparison_operator): Likewise.
8215 (signed_comparison_operator): Likewise.
8216 (alpha_fp_comparison_operator): New.
8217 (alpha_emit_conditional_branch): Handle unordered compares.
8218 * alpha.h (PREDICATE_CODES): Update.
8219 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8220 (bunordered, bordered): New.
8222 2000-01-24 Richard Henderson <rth@cygnus.com>
8224 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8225 * alpha.md (movtf): New expander, insn, and splitter.
8227 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
8229 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8232 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
8234 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8235 (FIXED_REGISTERS, CALL_USED_REGISTERS,
8236 REG_ALLOC_ORDER): Add frame pointer
8237 (FRAME_POINTER_REGNUM): Set to 20
8238 (HARD_FRAME_POINTER_REGNUM): New macro.
8239 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8240 to HARD_FRAME_POINTER.
8241 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8242 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8243 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8244 (HI_REGISTER_NAMES): Add "frame".
8245 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8246 (debug_reg): Handle FRAME_POINTER_REGNUM.
8247 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8248 GENERAL_REGS and INDEX_REGS.
8249 * i386.c (SAVED_REGS_FIRST): new macro.
8250 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8251 (ix86_decompose_address, memory_address_length): Likewise.
8252 (regclass_map): Add frame pointer.
8253 (call_insn_operand): Handle frame_pointer_rtx.
8254 (reg_no_sp_operand): Likewise.
8255 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8256 (print_operand, legitimize_pic_address): Fix formating.
8257 (ix86_compute_frame_size): Make static, update prototype, new
8258 parameters padding1, padding2, use ix86_nsaved_regs, use
8259 stack_alignment_needed.
8260 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8261 to HARD_FRAME_POINTER_REGNUM conversions.
8262 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8263 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8264 (print_reg): Abort on FRAME_POINTER_REGNUM
8266 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
8268 * i386.h (PREDICATE_CODES): Add aligned_operand.
8269 * i386.c (aligned_operand): New function.
8270 (ix86_aligned_p): Kill.
8271 * i386.md (movhi_1): Emit mov for aligned operands.
8272 (promoting peep2s): Use aligned_operand.
8274 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
8276 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8277 expression to allow underscores in macro names.
8278 (fix_char_macro_defines): Increment scanning pointer.
8280 2000-01-23 Richard Henderson <rth@cygnus.com>
8282 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8283 * alpha/osf5.h: New file.
8284 * configure.in (alpha-*-osf5): Add it to tm_file.
8286 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8288 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8289 (alpha_emit_xfloating_cvt, function_arg): Declare.
8290 * alpha.c (alpha_emit_conditional_branch): Call
8291 alpha_emit_xfloating_compare for TFmode compares.
8292 (alpha_lookup_xfloating_lib_func): New.
8293 (alpha_compute_xfloating_mode_arg): New.
8294 (alpha_emit_xfloating_libcall): New.
8295 (alpha_emit_xfloating_arith): New.
8296 (alpha_emit_xfloating_compare): New.
8297 (alpha_emit_xfloating_cvt): New.
8298 (print_operand): Add default abort case.
8299 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8300 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8301 (BIGGEST_ALIGNMENT): Increase to 128 bits.
8302 (RETURN_IN_MEMORY): True for TF/TCmode.
8303 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8304 (FUNCTION_ARG): Move to function_arg.
8305 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8306 (ASM_OUTPUT_LONG_DOUBLE): New.
8307 (ASM_OUTPUT_DOUBLE): Always output bits.
8308 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8309 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8310 (extenddftf2, trunctfdf2): New.
8312 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8314 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8315 * config/sparc/sol2.h: ... here.
8317 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8319 * basic-block.h (struct loops): New field `levels'.
8320 * flow.c (flow_loops_level_compute): Traverse all outer loops.
8321 (flow_loop_level_compute): Initialise level to 1.
8322 (flow_loops_find): Set loops->levels.
8323 (flow_loops_dump): Print loops->levels.
8325 2000-01-23 Richard Henderson <rth@cygnus.com>
8327 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8328 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8330 2000-01-23 Richard Henderson <rth@cygnus.com>
8332 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8333 * i386.h (DBX_REGISTER_NUMBER): Use them.
8334 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8335 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8336 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8337 * i386/sequent.h: Kill incorrect comment.
8339 2000-01-23 Mark Mitchell <mark@codesourcery.com>
8341 * ggc-page.c (struct page_entry): Make `context_depth' an
8343 (struct globals): Likewise.
8345 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
8347 * loop.c (check_dbra_loop): When checking a loop for
8348 reversability, check the source of any stores to ensure
8349 they don't depend on an initial value.
8351 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8353 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8355 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
8357 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8358 'pz_scan' into scope of entire function. Only affects
8359 compiles with -DDEBUG.
8361 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8363 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8364 section naming to that prior to 2000-01-07 patch.
8365 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8366 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8367 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8368 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8369 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8371 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
8373 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8376 2000-01-21 Jim Wilson <wilson@cygnus.com>
8378 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8379 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8381 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8383 * cpphash.c (change_newlines): Delete function.
8384 (struct argdata): Delete 'newlines' and 'use_count' fields.
8385 (macroexpand): Remove code referencing those fields.
8387 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8389 * loop.c (loops_info): New variable.
8390 (loop_optimize): Allocate loops->array and free it on exit.
8391 Allocate memory for loops_info and assign to each loop,
8393 (find_and_verify_loops): Do not allocate loops->array.
8395 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8397 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8399 2000-01-21 Jakub Jelinek <jakub@redhat.com>
8401 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8402 pseudos if expanded after first flow.
8403 (movdi_pic_label_ref): Likewise.
8405 2000-01-20 Richard Henderson <rth@cygnus.com>
8407 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8409 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
8411 * Makefile.in (fixinc.sh): Depend on specs.
8412 * fixinc/Makefile.in: Add rule to create machname.h.
8413 (fixlib.o): Depend on machname.h.
8414 * fixinc/fixtests.c (machine_name): New test.
8415 * fixinc/fixfixes.c (machine_name): New fix.
8416 * fixinc/fixlib.c (mn_get_regexps): New helper function for
8417 the machine_name test and fix.
8418 * fixinc/fixlib.h: Prototype it.
8419 * fixinc/inclhack.def (machine_name): Use the C test and fix.
8420 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8422 * gcc.c (do_spec_1) [case P]: Take care not to create
8423 identifiers with three leading or trailing underscores.
8425 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8426 (fixincl): Don't specify libraries twice on link line.
8427 (gnu-regex.o): Remove special rule.
8428 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8429 defined by config.h. Do not define _REGEX_RE_COMP.
8430 (regcomp): Allocate and initialize a fastmap.
8431 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8433 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
8435 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8437 2000-01-19 Richard Henderson <rth@cygnus.com>
8439 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8440 arguments with BB. Update all callers. Tidy line wrapping.
8442 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
8444 * emit-rtl.c (try_split): Return last_insn if we split the
8447 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
8449 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8450 (ix86_initial_elimination_offset): Declare.
8451 * i386.c (ix86_nsaved_regs): Break out from ...
8452 (ix86_can_use_return_insn_p): ... here.
8453 (ix86_emit_save_regs): Break out from ...
8454 (ix86_expand_prologue): ... here.
8455 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8457 (ix86_expand_epilogue): ... here.
8458 (ix86_compute_frame_size): Make static, add prototype.
8459 (ix86_initial_elimination_offset): Break out from ...
8460 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8462 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8464 * recog.h (OUT_FCN): Delete.
8466 * vax.md: Call `get_insn_template' instead of OUT_FCN.
8468 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8470 * cppalloc.c: PROTO -> PARAMS.
8471 * cpperror.c: Likewise.
8472 * cppfiles.c: Likewise.
8473 * cpplib.c: Likewise.
8474 * cpplib.h: Likewise.
8476 * config/arm/arm-protos.h: PROTO -> PARAMS.
8477 * config/arm/arm.c: Likewise.
8478 * config/c4x/c4x.c: Likewise.
8479 * config/fr30/fr30-protos.h: Likewise.
8480 * config/nextstep.c: Likewise.
8481 * config/pa/pa.c: Likewise.
8482 * config/pj/pj.c: Likewise.
8483 * config/rs6000/rs6000.c: Likewise.
8484 * config/v850/v850-protos.h: Likewise.
8485 * config/v850/v850.c: Likewise.
8487 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8489 * i370-protos.h: New file.
8491 * i370.c: Include tm_p.h. Fix compile time warnings.
8493 * i370.h: Move prototypes to i370-protos.h. Fix compile time
8496 * i370.md: Likewise.
8498 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8500 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8501 (target_isinf, target_isnan, eisnan): Mark parameter with
8503 (eiisinf): Wrap in INFINITY.
8504 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8505 (ibmtoe): Remove unused variable `rndsav'.
8507 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8509 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8510 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8512 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
8514 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8515 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8516 (fix_char_macro_defines, fix_char_macro_uses): New functions.
8518 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8519 Recognize Emacs mode markers also.
8520 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8521 C++ comments in C++ headers. Call is_cxx_header only if
8524 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8526 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8527 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8528 ... these, which use the new C fixes.
8529 (math_exception): Escape literal '+' in bypass expression.
8531 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8534 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8536 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8539 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8541 * loop.c (loop_optimize): Allocate loop_info structure for each loop
8542 prior to calling scan_loop.
8544 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8546 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8547 (split_branches, calc_live_regs): Likewise.
8549 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8551 * sh.md (fpu_single, fp_mode): New attributes.
8553 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8555 * loop.c (current_loop_info): Renamed from loop_info_data
8556 and changed to a pointer.
8557 (loop_optimize): Allocate loop_info structure for each loop
8558 and initialise to zero.
8559 (scan_loop): Set current_loop_info.
8561 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8564 2000-01-19 Richard Henderson <rth@cygnus.com>
8566 * stupid.c: Die die die.
8567 * Makefile.in (OBJS): Remove stupid.o.
8568 (stupid.o): Likewise.
8570 * except.c (emit_eh_context): Don't emit USEs for stupid.
8571 * explow.c (probe_stack_range): Likewise.
8572 * flags.h (obey_regdecls): Remove.
8573 * flow.c (find_basic_blocks): Don't run try_merge_blocks
8574 when not optimizing.
8575 (life_analysis): Limit data collection when not optimizing.
8576 (mark_regs_live_at_end): Always mark the return value registers.
8577 (mark_used_regs): Remove dummy RETURN case.
8578 (print_rtl_with_bb): Don't consult obey_regdecls.
8579 * function.c (use_variable, use_variable_after): Remove.
8580 (assign_parms): Consult optimize not obey_regdecls.
8581 (expand_function_start): Don't emit USEs for stupid.
8582 (expand_function_end): Likewise.
8583 * global.c (build_insn_chain): Export.
8584 * integrate.c (expand_inline_function): Kill return-value USE
8586 * jump.c (jump_optimize_1): Do simple jump optimizations and
8587 dead code elimination.
8588 (calculate_can_reach_end): Remove check_deleted argument.
8589 (delete_insn): Patch out insns even when not optimizing.
8590 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8591 * rtl.h (use_variable, use_variable_after): Remove declarations.
8592 (build_insn_chain): Declare.
8593 * stmt.c (expand_value_return): Don't emit USEs for stupid.
8594 (expand_end_bindings): Likewise.
8595 (expand_decl): Likewise. Consult optimize not obey_regdecls.
8596 * toplev.c (obey_regdecls): Remove.
8597 (rest_of_compilation): Don't set it. Kill stupid in favour of
8598 flow1, local-alloc, and reload.
8599 (main): Don't set obey_regdecls.
8601 * config/nextstep.c (handle_pragma): Likewise.
8603 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8605 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8607 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8609 * alpha-protos.h: PROTO -> PARAMS.
8610 * alpha.c: Likewise.
8612 * h8300.c: Likewise.
8613 * i386-protos.h: Likewise.
8615 * m32r-protos.h: Likewise.
8618 * mips.md: Likewise.
8619 * gmon-sol2.c: Likewise.
8620 * sparc.c: Likewise.
8622 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8624 * ns32k-protos.h: New file.
8626 * ns32k.c: Fix compile time warnings.
8628 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
8631 * ns32k.md: Likewise.
8633 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8635 * vax-protos.h: New file.
8637 * vax.c: Fix compile time warnings.
8639 * vax.h: Move prototypes to vax-protos.h. Fix compile time
8644 * vaxv.md: Likewise.
8646 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8648 * romp-protos.h: New file.
8650 * romp.c: Fix compile time warnings.
8652 * romp.h: Move prototypes to romp-protos.h. Fix compile time
8655 * romp.md: Likewise.
8657 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8659 * we32k-protos.h: New file.
8661 * we32k.c: Fix compile time warnings.
8663 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
8666 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8668 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8670 * except.c (eh_regs): Likewise.
8672 * final.c (output_operand): Likewise.
8674 * fold-const.c (target_isinf, target_isnan): Likewise.
8676 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
8678 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8679 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8681 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8683 (clrstrsi): Rewrite.
8684 (strsethi, strsetqi): New expanders.
8685 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8686 (cmpstrsi): Emit compare insn before cmpstrsi_1
8687 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8688 (strlensi_1): Likewise.
8689 (cmpstrsi_1): Likewise; do not output compare.
8690 (strlen expander): Do not unroll when optimizing for size.
8691 (*subsi3_carry): Rename to subsi3_carry
8692 (addqi3_cc): New pattern.
8693 * i386.h (processor_costs): Add move_ratio field.
8694 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8695 * i386.c (*_cost): Set move_ratio.
8696 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8697 (x86_expand_strlensi_1): Rewrite the main loop.
8699 2000-01-17 Richard Henderson <rth@cygnus.com>
8701 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8702 * cse.c (find_comparison_args, fold_rtx): Likewise.
8703 * integrate.c (subst_constants): Likewise.
8704 * loop.c (get_condition): Likewise.
8706 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8708 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8710 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8712 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8713 (RESTORE_WARN_FLAGS): Unpack it.
8714 Change semantic type of extension to ttype.
8715 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8716 * c-parse.y, c-parse.c, objc/objc-parse.y,
8717 objc/objc-parse.c: Regenerate.
8719 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
8721 * fixinc/fixlib.c: Add copyright notice.
8722 (compile_re): New function.
8723 * fixinc/fixlib.h: Prototype compile_re.
8725 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8726 Use compile_re to compile regular expressions.
8728 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8729 where the pattern matched.
8731 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8733 (ultrix_ansi_compat): Likewise.
8734 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8736 (interactv_add2, interactv_add3): Delete.
8737 (x11_sprintf): Don't use filename glob.
8738 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8741 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8743 * print-rtl.c: PROTO -> PARAMS.
8745 * reg-stack.c: Likewise.
8746 * resource.c: Likewise.
8747 * sdbout.h: Likewise.
8748 * simplify-rtx.c: Likewise.
8749 * stor-layout.c: Likewise.
8750 * stupid.c: Likewise.
8751 * xcoffout.c: Likewise.
8752 * xcoffout.h: Likewise.
8754 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8756 * toplev.c: PROTO -> PARAMS.
8757 * toplev.h: Likewise.
8760 * unroll.c: Likewise.
8761 * varasm.c: Likewise.
8762 * varray.c: Likewise.
8763 * varray.h: Likewise.
8765 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8767 * reload.c: PROTO -> PARAMS.
8768 * reload.h: Likewise.
8769 * reload1.c: Likewise.
8770 * reorg.c: Likewise.
8771 * resource.h: Likewise.
8774 * rtlanal.c: Likewise.
8775 * sbitmap.h: Likewise.
8776 * sdbout.c: Likewise.
8777 * stack.h: Likewise.
8779 * system.h: Likewise.
8781 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8783 * machmode.h: PROTO -> PARAMS.
8784 * mbchar.h: Likewise.
8785 * mips-tdump.c: Likewise.
8786 * mips-tfile.c: Likewise.
8787 * optabs.c: Likewise.
8788 * output.h: Likewise.
8789 * prefix.c: Likewise.
8790 * profile.c: Likewise.
8791 * protoize.c: Likewise.
8793 * recog.c: Likewise.
8794 * recog.h: Likewise.
8795 * regclass.c: Likewise.
8796 * regmove.c: Likewise.
8799 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8801 * ggc-common.c: PROTO -> PARAMS.
8802 * ggc-page.c: Likewise.
8803 * ggc-simple.c: Likewise.
8805 * global.c: Likewise.
8806 * graph.c: Likewise.
8807 * gthr-win32.h: Likewise.
8808 * haifa-sched.c: Likewise.
8809 * halfpic.h: Likewise.
8810 * integrate.c: Likewise.
8811 * integrate.h: Likewise.
8814 * local-alloc.c: Likewise.
8818 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8820 * genattr.c: PROTO -> PARAMS.
8821 * genattrtab.c: Likewise.
8822 * gencheck.c: Likewise.
8823 * gencodes.c: Likewise.
8824 * genconfig.c: Likewise.
8825 * genemit.c: Likewise.
8826 * genextract.c: Likewise.
8827 * genflags.c: Likewise.
8828 * gengenrtl.c: Likewise.
8829 * genopinit.c: Likewise.
8830 * genoutput.c: Likewise.
8831 * genpeep.c: Likewise.
8832 * genrecog.c: Likewise.
8834 2000-01-16 Mark Mitchell <mark@codesourcery.com>
8836 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
8838 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8840 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
8841 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
8842 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
8843 * configure, config.in: Rebuilt.
8845 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
8847 * config/i386/i386.md: Add peephole to merge successive stack
8850 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
8852 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
8853 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
8854 when walking backwards to find all the parameter loads when
8855 the basic block ends in a call.
8857 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8859 * loop.c (this_loop_info): Delete.
8860 (uid_loop): Add in place of uid_loop_num. All uses updated.
8861 (loop_number_exit_count): Delete and replace with entry in loop
8862 structure. All uses updated.
8863 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8864 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8865 (loop_outer_loop): Likewise.
8866 (loop_invalid, loop_number_exit_labels): Likewise.
8867 (loop_used_count_register): Delete and replace with entry in
8868 loop_info structure.
8869 (find_and_verify_loops): Add loops argument.
8870 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
8871 loop_end, etc. arguments with loop structure pointer. All callers
8873 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
8874 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
8875 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
8876 (insert_bct): Likewise.
8877 (basic_induction_var): New argument level.
8878 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
8879 vtop, and cont. Add used_count_register.
8880 (uid_loop): Delete declaration.
8881 (loop_number_exit_count): Likewise.
8882 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8883 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8884 (loop_outer_loop, loop_used_count_register): Likewise.
8885 (loop_invalid, loop_number_exit_labels): Likewise.
8886 (unroll_loop): Replace loop_start and loop_end arguments
8887 with loop structure pointer.
8888 (loop_precondition_p, loop_iterations): Likewise.
8889 Include basic-block.h.
8890 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
8891 with loop structure pointer.
8892 (loop_precondition_p, loop_iterations): Likewise.
8893 * basic-block.h (struct loop): New entries vtop, cont,
8894 cont_dominator, start, end, top, scan_start, exit_labels,
8896 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
8898 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8900 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
8902 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
8904 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
8906 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8908 * pdp11-protos.h: New file.
8910 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
8913 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
8916 * pdp11.md: Likewise.
8920 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8922 * mn10300-protos.h: New file.
8924 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
8927 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
8930 * mn10300.md: Likewise.
8932 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8934 * mn10200-protos.h: New file.
8936 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
8939 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
8942 * mn10200.md: Likewise.
8944 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8946 * h8300-protos.h: New file.
8948 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
8951 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
8954 * h8300.md: Likewise.
8956 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8958 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
8959 (asm_emit_uninitialised): Likewise.
8961 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
8963 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
8964 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
8966 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8968 * config/mips/mips.c (override_options): Don't turn on extra
8969 alignment for mips16.
8971 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8973 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
8974 eabi, and make sure queued POSTINCREMENT rtl is emitted at
8977 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8979 * builtins.c (PAD_VARARGS_DOWN): Define.
8980 (std_expand_builtin_va_arg): Use the above macro.
8981 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
8982 * tm.texi (Register Arguments): Document the above macro.
8984 2000-01-14 Nick Clifton <nickc@cygnus.com>
8986 * emit-rtl.c (emit_insn): If checking is enabled, make sure
8987 that this function has not been used to emit a jump
8990 * jump.c (return_jump_1): Cope with being passed a null rtx.
8992 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8994 * eh-common.h: PROTO -> PARAMS.
8995 * emit-rtl.c: Likewise.
8996 * errors.c: Likewise.
8997 * errors.h: Likewise.
8998 * except.c: Likewise.
8999 * except.h: Likewise.
9000 * explow.c: Likewise.
9001 * expmed.c: Likewise.
9004 * final.c: Likewise.
9005 * fix-header.c: Likewise.
9007 * fold-const.c: Likewise.
9008 * function.c: Likewise.
9009 * function.h: Likewise.
9011 * gcov-io.h: Likewise.
9015 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9017 * sh-protos.h: New file.
9019 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9020 Add static prototypes. Fix compile time warnings.
9022 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
9026 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9028 * arc-protos.h: New file.
9030 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
9033 * arc.h: Move prototypes to arc-protos.h. Fix compile time
9038 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9040 * dsp16xx-protos.h: New file.
9042 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
9045 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
9048 * dsp16xx.md: Likewise.
9050 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9052 * convex-protos.h: New file.
9054 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
9057 * convex.h: Move prototypes to convex-protos.h. Fix compile time
9060 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9062 * elxsi-protos.h: New file.
9064 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
9067 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
9070 * elxsi.md: Likewise.
9072 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
9074 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9075 case for moving from HI/LO/HI_LO_REG. This makes the behavior
9076 match the comment for MIPS16.
9078 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
9080 * flow.c (split_edge): Do not call set_block_for_insn if we
9081 do not have a basic_block_for_insn structure.
9083 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9084 and destination functions are 32bit aligned within the trampoline.
9085 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9086 (TRAMPOLINE_ALIGNMENT): Define.
9088 * cse.c (cse_insn): When changing (set (pc) (reg)) to
9089 (set (pc) (label_ref)), verify the change creates a valid insn.
9091 * fr30.c (call_operand): Tighten and rework to match rules for
9092 call RTL expressions.
9093 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9094 * fr30.md (call patterns): Improve constraints.
9096 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
9098 * fr30.c (fr30_expand_epilogue): Revert last change.
9099 Use emit_jump_insn for the return insn.
9101 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
9102 Stan Cox <scox@cygnus.com>
9104 * predict.c: New file. Preliminary infrastructure work for static
9105 branch prediction and basic block reordering.
9106 * basic-block.h: Add prototype for estimate_probability.
9107 * Makefile.in: Add rules for predict.o.
9109 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
9111 * fixincludes (va_list): Use __not_va_list__ for the dummy.
9112 * fixinc/*: Likewise.
9114 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9116 * cccp.c: PROTO -> PARAMS.
9118 * collect2.c: Likewise.
9119 * combine.c: Likewise.
9120 * convert.h: Likewise.
9122 * dbxout.c: Likewise.
9123 * dbxout.h: Likewise.
9124 * diagnostic.c: Likewise.
9125 * doprint.c: Likewise.
9126 * dwarf2out.c: Likewise.
9127 * dwarf2out.h: Likewise.
9128 * dwarfout.c: Likewise.
9129 * dwarfout.h: Likewise.
9130 * dyn-string.h: Likewise.
9132 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9134 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9135 macro conditionals guarding use.
9137 * dwarf2out.c: Include "tm_p.h".
9139 * function.c (locate_and_pad_parm): Mark parameter with
9141 (expand_function_end): Likewise for variable `context'.
9143 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9145 2000-01-13 Nick Clifton <nickc@cygnus.com>
9147 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9148 register to prevent compile time warnings.
9150 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
9152 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9153 to avoid -Wtraditional warning.
9155 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9157 * 1750a-protos.h: New file.
9159 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
9162 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
9165 * 1750a.md: Likewise.
9167 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9169 * a29k-protos.h: New file.
9171 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
9174 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
9177 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9179 * clipper-protos.h: New file.
9181 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
9184 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
9187 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9189 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9191 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
9193 * configure.in (--enable-new-gxx-abi): New option.
9194 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9195 * Makefile.in (GXX_ABI_FLAG): New variable.
9196 * configure: Regenerate.
9198 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9200 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9201 * tm.texi (FORCE_STRUCT_BLK): Document.
9202 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9204 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
9206 * config/ns32k/ns32k.md: Revert Jan 9 change.
9208 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9209 to a mode-test, if the predicate is address_operand.
9211 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
9213 * combine.c (if_then_else_cond): Be careful about what kinds
9214 of RTL expressions are passed to operand_subword.
9216 * flow.c (split_edge): If we have to insert a new jump, make
9217 sure to associate it with a basic block.
9219 * flow.c (commit_one_edge_insertion): A block with one successor
9220 can end in a JUMP_INSN that is not a simplejump.
9222 2000-01-12 Robert Lipe <robertl@sco.com>
9224 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9225 (BUILD_VA_LIST_TYPE): Define.
9226 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9229 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
9231 * cccp.c (do_pragma): Add cast to (char *).
9233 2000-01-12 Richard Henderson <rth@cygnus.com>
9234 Fred Fish <fnf@be.com>
9235 Jason Merrill <jason@cygnus.com>
9237 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9238 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9239 * i386/beos-elf.h, i386/beos-pe.h: New files.
9241 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9242 * cross-make (SYSTEM_HEADER_DIR): Define using
9243 CROSS_SYSTEM_HEADER_DIR.
9245 * gcc.c (LIBRARY_PATH_ENV): Provide default.
9246 (process_command): Use it.
9247 (main): Likewise. Kill trailing = from env vars.
9248 (build_search_list): Put it back.
9249 * collect2.c (main): Use LIBRARY_PATH_ENV.
9251 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9252 * toplev.c: Use NEED_DECLARATION_ENVIRON.
9254 * tm.texi (Frame Layout): Document SMALL_STACK.
9255 * c-common.c (c_common_nodes_and_builtins): Check it.
9257 * system.h: Undef alloca after including glibc's <stdlib.h>,
9258 if USE_C_ALLOCA is defined.
9260 * gcc.c (set_input): New fn.
9261 (main): After all input files are compiled, reset the input file
9264 * aclocal.m4 (rindex, index): If already defined, don't attempt
9267 * ginclude/varargs.h: (__va_list__): Define ifndef.
9268 * ginclude/stdarg.h: Likewise.
9270 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9271 instead of unsigned char.
9273 * hash.h (true, false, boolean): Undef before enum.
9275 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9276 proper type of "HOST_WIDE_INT *", rather than their natural type of
9277 "unsigned HOST_WIDE_INT *".
9279 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9281 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9283 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9285 * regclass.c (choose_hard_reg_mode): Likewise.
9287 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9289 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9291 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9293 * c-common.c: PROTO -> PARAMS.
9294 * c-common.h: Likewise.
9295 * c-decl.c: Likewise.
9296 * c-iterate.c: Likewise.
9297 * c-lang.c: Likewise.
9298 * c-lex.c: Likewise.
9299 * c-lex.h: Likewise.
9300 * c-parse.in: Likewise.
9301 * c-pragma.c: Likewise.
9302 * c-pragma.h: Likewise.
9303 * c-tree.h: Likewise.
9304 * c-typeck.c: Likewise.
9305 * objc/objc-act.c: Likewise.
9306 * objc/objc-act.h: Likewise.
9308 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9310 * m88k-protos.h: New file.
9312 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
9315 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
9317 * m88k.md: Likewise.
9319 * tekXD88.h: Likewise.
9321 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9323 * m68k-protos.h: New file.
9325 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
9328 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
9330 * mot3300.h: Likewise.
9332 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
9334 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9336 (extract_bitlist): Declare bitlen.
9338 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
9340 * cccp.c: Accept and ignore -lang-fortran.
9342 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9343 qualifiers don't match at any level of pointerness.
9345 2000-01-12 Robert Lipe <robertl@sco.com>
9347 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9349 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
9351 * reload1.c (reload_reg_unavailable): New static variable.
9352 (reload_reg_free_p): Test it.
9353 (reload_reg_free_for_value_p): Test it instead of
9355 (choose_reload_regs_init): Compute it.
9357 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
9359 * reorg.c (fill_slots_from_thread): Check modified_in_p
9362 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
9364 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9365 these nodes even if INTERNALS is not set.
9367 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
9369 * gcse.c (delete_null_pointer_checks_1): Cope when
9370 get_condition cannot determine the condition.
9372 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
9374 * toplev.h (set_message_length): Declare.
9376 * diagnostic.c (obstack_chunk_alloc): Define macro.
9377 (obstack_chunk_free): Likewise.
9378 (struct output_buffer): New data structure.
9380 (output_maximum_width): New variable.
9381 (doing_line_wrapping, set_message_length, init_output_buffer,
9382 get_output_prefix, output_space_left, emit_output_prefix,
9383 output_newline, output_append, output_puts, dump_output,
9384 vbuild_message_string, build_message_string, build_location_prefix,
9385 voutput_notice, output_printf, line_wrapper_printf,
9386 vline_wrapper_message_with_location): New functions. Implement
9387 automatic line wrapping.
9388 (v_message_with_decl): Make it handle automatic line wrapping.
9389 (v_error_with_file_and_line): Likewise.
9390 (v_warning_with_file_and_line): Likewise.
9391 (announce_function): Likewise.
9392 (default_print_error_function): Likewise.
9394 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
9396 * cpplib.h (struct cpp_options): Change lang_asm to char.
9398 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9399 done in cpp_handle_option now.
9400 (initialize_builtins): Take out special case code used only by
9402 (cpp_handle_option): Turn off trigraphs and trigraph warnings
9403 if -traditional. Recognize -lang-fortran and set
9404 lang_fortran, also turn off cplusplus_comments.
9405 (print_help): Document -lang-fortran.
9406 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9407 lang_asm. Ignore all directives other than `# 123 "file"' if
9409 (cpp_get_token): If -traditional, don't recognize directives
9410 unless the # is in column 1.
9411 (parse_string): If lang_fortran or lang_asm, silently
9412 terminate strings ('' or "") at end of line.
9413 Remove unnecessary braces.
9415 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9416 Richard Henderson <rth@cygnus.com>
9418 * resource.c (mark_referenced_resources): Mark a set strict_low_part
9420 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9421 strict_low_part when possible.
9423 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9425 * alias.c: PROTO -> PARAMS.
9426 * basic-block.h: Likewise.
9427 * bitmap.c: Likewise.
9428 * bitmap.h: Likewise.
9429 * builtins.c: Likewise.
9430 * c-aux-info.c: Likewise.
9431 * caller-save.c: Likewise.
9432 * calls.c: Likewise.
9434 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9436 * Makefile.in (toplev.o): Depend on regs.h.
9438 * output.h (tdesc_section): Prototype.
9440 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9442 * sdbout.c: Include "tm_p.h".
9444 * toplev.c: Include "regs.h".
9446 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
9448 * unroll.c (unroll_loop): Add EH support.
9450 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9452 * pa-protos.h: New file.
9454 * pa.c: Include recog.h and tm_p.h.
9455 (compute_zdepwi_operands, compute_movstrsi_length,
9456 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9457 find_addr_reg, import_milli): Add static prototypes.
9458 (pa_cpu_string, pa_arch_string): Constify a char*.
9459 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9460 (read_only_operand): Add argument `mode'.
9461 (singlemove_string, output_move_double, output_fp_move_double,
9462 output_block_move, output_and, output_ior, output_ascii,
9463 remove_useless_addtr_insns, milli_names, output_mul_insn,
9464 output_div_insn, output_mod_insn, output_arg_descriptor,
9465 output_cbranch, output_bb, output_bvb, output_dbra, ,
9466 output_millicode_call, output_call, hppa_encode_label,
9467 output_parallel_movb, output_parallel_addb): Constify a char*.
9468 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9469 (output_parallel_addb): Remove extra arg to `constrain_operands'
9471 * pa.h: Move all prototypes to pa-protos.h.
9472 (pa_cpu_string, pa_arch_string): Constify a char*.
9473 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9475 * pa.md: Call `function_label_operand' with mode argument.
9476 Likewise for `read_only_operand'.
9477 Fix nesting of parens in call to `symbolic_operand'.
9479 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9481 * i860-protos.h: New file.
9483 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
9486 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
9488 * i860.md: Likewise.
9490 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
9492 * i386.md (movstrsi expander): Rewrite.
9493 (movstrsi_1 insn): Deleted.
9494 (strmovhi, strmovqi expander): New expanders.
9495 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9496 * i386.c (x86_single_stringop): New global variable.
9497 * i386.h (x86_single_stringop): Declare.
9498 (TARGET_SINGLE_STRINGOP): New macro.
9500 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
9502 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9503 integer vararg POSTINCREMENT before the destination of the jump
9504 for the hard fp case.
9505 (function_arg_pass_by_reference): Pass a copy of CUM to
9508 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9509 for CONSTANT_ADDRESS_P above while loop for subreg.
9511 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
9513 * flow.c (propagate_block): When a prologue/epilogue insn
9514 is marked dead, unconditionally clear libcall_is_dead and
9515 insn_is_dead, and only dump rtl if warnings aren't being
9518 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
9520 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9521 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9522 (FIXED_REGISTERS): Set dirflag as fixed.
9523 (CALL_USED_REGISTERS): Set dirflag as used.
9524 (REG_ALLOC_ORDER): Set dirflag as last one.
9525 (DIRFLAG_REG): New macro.
9526 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9527 (HI_REGISTER_NAMES): Add dirflag.
9528 (DEBUF_PRINT_REG): Handle dirflag.
9529 * i386.md (type attribute): New cld and str types.
9530 (length_opcode attribute): Set cld and str to 1.
9531 (memory attribute): Set str to unknown - it is not clear from the
9533 (pent_np function unit): Prefixed string operations takes 12 cycles
9534 minimally; cld takes 2 cycles.
9535 (ppro_uops attribute): Str is "many" and cld is "few".
9536 (ppro_p0 unit): Handle cld here.
9537 (k6_alux unit): Handle cld and str types.
9538 (k6_load unit): It is ocupied by str opcodes.
9539 (k6_store unit): It is ocupied by str opcodes.
9540 (athlon_decode): Str is vector decoded.
9541 (athlon_ieu): Handle str and cld.
9543 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9544 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9545 cmpstrsi_nz_1 insn): Do not output cld instruction
9547 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
9549 * gcc.texi (G++ and GCC): Add Java and Chill.
9550 (Bug Critera): Don't list languages.
9552 * gcc.texi (Incompatibilities): No longer claim most C compilers
9555 * gcc.texi (G++ and GCC): Update other front-ends list.
9557 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
9559 * i386.c (ix86_expand_setcc): Fix typo.
9560 (ix86_expand_movcc): Similarly.
9562 * Band-aid until haifa's bitset implementation is nuked.
9563 * haifa-sched.c (extract_bitlst): New parameter for size of the
9564 bitset in bits. All callers changed. Avoid looking at undefined
9566 (edgeset_bitsize): New variable.
9567 (schedule_region): Initialize edgeset_bitsize.
9569 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9571 * Makefile.in (optabs.o): Depend on real.h
9572 (resource.o): Depend on insn-attr.h
9574 * builtins.c (result_vector): Wrap prototype in macro conditions
9575 governing definition and use.
9577 * c-common.c: Include tm_p.h.
9579 * c-lex.c: Likewise.
9581 * elfos.h: Constify a char*.
9583 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9584 (get_attr_length, shorten_branches, profile_after_prologue): Mark
9585 parameter with ATTRIBUTE_UNUSED.
9587 * fold-const.c (exact_real_inverse): Wrap variable `i' in
9590 * haifa-sched.c (schedule_insns): Mark parameter with
9593 * optabs.c: Include real.h.
9595 * real.h (ereal_atof): Add prototype arguments.
9597 * resource.c: Include insn-attr.h.
9599 * sdbout.c (sdbout_queue_anonymous_type,
9600 sdbout_dequeue_anonymous_types): Wrap in macro
9601 SDB_ALLOW_FORWARD_REFERENCES.
9602 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9605 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9607 * stupid.c: Include tm_p.h.
9609 * tree.c (real_value_from_int_cst): Mark parameter with
9612 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9614 * i960-protos.h: New file.
9616 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
9619 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
9621 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9623 * combine.c (expand_field_assignment): Do not discard SUBREGs
9624 while computing nonzero_bits.
9626 2000-01-09 Nick Clifton <nickc@cygnus.com>
9628 * config/arm/arm.c: Fix compile time warnings about signed vs
9630 * config/arm/arm.h: Fix compile time warnings about signed vs
9633 2000-01-09 Philip Blundell <philb@gnu.org>
9635 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9636 than `ldm' with only one register.
9637 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9640 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9643 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
9645 * config/ns32k/ns32k.md (load or push effective address): Operand 1
9648 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9650 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9651 assignment used as truth value.
9653 * function.c (assign_temp): Mark parameter `dont_promote' with
9654 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
9655 PROMOTE_FOR_CALL_ONLY.
9657 * genrecog.c (write_subroutine): Mark variable `operands' with
9660 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9663 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9664 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9666 * toplev.c (note_deferral_of_defined_inline_function): Likewise
9669 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9671 * config/c4x.h: Tidy up comments.
9672 * config/c4x.c: Likewise.
9674 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
9676 * fold-const.c (lshift_double, rshift_double): Handle
9677 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9679 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9681 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9682 in prepare_function_start().
9684 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
9686 * config/v850/v850.c (expand_epilogue): Interrupt functions no
9687 longer allocate extra stack for function calls.
9689 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9691 * config/c4x/c4x.md (*subqf3_set): Fix typo.
9693 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9695 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9697 2000-01-07 David Edelsohn <edelsohn@gnu.org>
9699 * rs6000.c (processor_target_table): Add power3 as alias for 630.
9700 * aix43.h: Revert Aug 2 change.
9701 (HAS_INIT_SECTION): Define, not visible yet.
9702 (LD_INIT_SWITCH): Define, not visible yet.
9703 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9705 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9707 * collect2.c (main): Expand ld2 size further.
9708 (export_object_lst): Cast assignment to avoid warning.
9709 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9710 (scan_prog_file, COFF): Do not collect initialization or
9711 finalization functions generated for entire shared object if
9712 init/fini support present.
9714 2000-01-07 Nick Clifton <nickc@cygnus.com>
9716 * config/elfos.h: Tidy up formatting of marcos. Make sure
9717 that .section directives are always prefixed by a tab.
9719 * config/svr4.h: Add #include "elfos.h" and remove duplicate
9722 2000-01-07 Matt Austern <austern@sgi.com>
9724 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9727 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
9729 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9731 (crtbegin.o, s-crtS): Likewise.
9733 2000-01-06 Richard Henderson <rth@cygnus.com>
9735 * alpha.md (adddi_2+1): Limit offset such that it will be
9736 loadable with a single ldah+lda pair.
9737 (adddi_2+2): Explicitly fail split if we can't make it work.
9739 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
9741 * protoize.c: Conditionally include unistd.h.
9742 (IS_SAME_PATH_CHAR): New macro.
9743 (IS_SAME_PATH): New macro.
9744 (CPLUS_FILE_SUFFIX): New macro.
9745 (cplus_suffix): New static variable.
9746 (is_abspath): New static function.
9747 (in_system_include_dir): Handle DOS style pathnames.
9748 (file_could_be_converted): Likewise.
9749 (file_normally_convertible): Likewise.
9750 (directory_specified_p): Likewise.
9751 (file_excluded_p): Likewise.
9752 (abspath): Likewise.
9753 (shortpath): Likewise.
9754 (referenced_file_is_newer): Likewise.
9755 (save_def_or_dec): Likewise.
9756 (do_processing): Likewise.
9758 (edit_file): Likewise. Use rename instead of link.
9759 (rename_c_file): Likewise. Don't rename syscalls file.
9760 (munge_compile_params): Define null device for DOS based systems.
9761 (process_aux_info_file): Use binary mode if appliable.
9762 (edit_file): Likewise.
9763 * invoke.texi (Running Protoize): Document C++ suffixes used.
9765 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9766 IS_DIR_SEPARATOR macros.
9767 * collect2.c: Likewise.
9768 * cppinit.c: Likewise.
9769 * dwarf2out.c: Likewise.
9772 * prefix.c: Likewise.
9774 * toplev.c: Likewise.
9775 * system.h: And move to here.
9777 * prefix.c (update_path): Fix typo in variable name.
9779 2000-01-06 Richard Henderson <rth@cygnus.com>
9781 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9782 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9783 (count_reg_sets_1, count_reg_references): Likewise.
9784 (flow_loops_level_compute): Start counting actual loop depth at 1.
9785 (flow_loops_find): Likewise.
9786 * local-alloc.c (update_equiv_regs): Likewise.
9787 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9789 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
9791 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9792 FIRST_PSEUDO_REGISTER
9793 * dwarf2out.c: Don't include frame.h
9794 * dwarfout.c: Likewise
9795 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9798 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
9800 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9803 * i386.c (movsf splitter): Fix typo in my last checkin.
9805 2000-01-05 Nick Clifton <nickc@cygnus.com>
9807 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
9808 own definition of this macro.
9809 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
9810 flag_data_sections or UNIQUE_SECTION_P are true.
9812 * tm.texi (UNIQUE_SECTION): Document that it can be called for
9813 unitialised data decls.
9815 * config/i386/winnt.c (i386_pe_unique_section): Cope with
9816 being called for uninitialised data.
9818 * config/i386/interix.c (i386_pe_unique_section): Cope with
9819 being called for uninitialised data.
9821 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
9822 for uninitialised data.
9824 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
9825 for uninitialised data.
9827 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
9828 for uninitialised data.
9830 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
9831 (UNIQUE_SECTION_P): Always generate a unique section if
9832 flag_data_sections is true.
9833 (UNIQUE_SECTION): Also generate unique sections for
9835 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
9836 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
9839 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9841 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
9844 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9846 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
9847 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
9848 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
9849 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
9850 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
9852 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
9854 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
9856 * c-decl.c (finish_enum): Simplify code to determine minimum and
9857 maximum values of the enum, and calculate the type. Remove check
9858 for FUNCTION_DECLs in the values list, which cannot happen. Replace
9859 the DECL_INITIAL of each enumeration constant with a copy converted
9860 to the enumeration type. When updating variant types, don't bother
9861 updating the type itself.
9863 * c-typeck.c (build_binary_op): Simplify conditional expressions
9864 when weeding out spurious signed-unsigned warnings. Add new
9865 spurious warning category: if the unsigned quantity is an enum
9866 and its maximum value fits in signed_type(result_type). Update
9868 (build_conditional_expr): Warn here if one alternative is signed
9869 and the other is unsigned.
9871 2000-01-05 Nick Clifton <nickc@cygnus.com>
9873 * config/fr30/fr30.h: Remove extraneous comments.
9875 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
9877 * reload1.c (choose_reload_regs): When disabling a reload, also
9878 set reload_spill_index to -1.
9880 2000-01-04 Joel Sherrill (joel@OARcorp.com>
9882 * configure.in (m68*-*-rtemscoff*): New target, formal name for
9884 (m68*-*-rtemself*): New target.
9885 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
9886 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
9887 (sparc*-*-rtemself*): New target.
9888 (sparc*-*-rtems*): Now elf not a.out.
9889 * config/i386/rtems.h: Include config/rtems.h.
9890 * config/i386/rtemself.h: Include config/rtems.h.
9891 * config/i960/rtems.h: Include config/rtems.h.
9892 * config/m68k/rtems.h: Include config/rtems.h.
9893 * config/m68k/rtemself.h: Include config/rtems.h.
9894 * config/mips/rtems64.h: Include config/rtems.h.
9895 * config/pa/rtems.h: Include config/rtems.h.
9896 * config/rs6000/rtems.h: Include config/rtems.h.
9897 * config/sh/rtems.h: Include config/rtems.h.
9898 * config/sh/rtemself.h: Include config/rtems.h.
9899 * config/sparc/rtems.h: Include config/rtems.h.
9900 * config/sparc/rtemself.h: Include config/rtems.h
9902 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
9904 * final.c (shorten_branches): Correctly compute length of
9905 asms without operands.
9907 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
9909 * configure.in: Add pj target.
9910 * configure: Regenerate.
9911 * config/pj: New directory.
9912 * config/pj/lib1funcs.S: New file.
9913 * config/pj/linux.h: New file.
9914 * config/pj/pj.c: New file.
9915 * config/pj/pj.md: New file.
9916 * config/pj/pjl.h: New file.
9917 * config/pj/t-pj: New file.
9918 * config/pj/xm-pj.h: New file
9920 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
9922 * toplev.c (rest_of_compilation): Run shorten-branches before
9925 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9927 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
9928 macros so that they're consistent with their names.
9929 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9930 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9932 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9934 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
9935 modified inadvertently.
9937 2000-01-04 Joel Sherrill <joel@OARcorp.com>
9939 * configure.in (v850*-*-rtems*): New target.
9940 * configure: Regenerate.
9941 * config/v850/rtems.h: New file.
9943 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
9945 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
9946 (__gthread_key_create): Likewise.
9947 (__gthread_key_dtor): Likewise.
9948 (__gthread_once): Fix logic.
9949 (__gthread_key_delete): Cast away constness.
9951 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
9952 * invoke.texi: Document.
9953 * i386/mingw32.h (CPP_SPEC): Use.
9954 (LIBGCC_SPEC): Likewise.
9955 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
9957 2000-01-04 David Edelsohn <edelsohn@gnu.org>
9959 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
9960 (HANDLE_PRAGMA_PACK): Undefine.
9961 (SLOW_UNALIGNED_ACCESS): Define.
9963 2000-01-04 David Edelsohn <edelsohn@gnu.org>
9965 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9966 to default definition.
9967 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
9968 (store_fixed_bit_field): Call macro with word_mode and alignment.
9969 (extract_bit_field): Call macro with relevant mode and alignment.
9970 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9971 to default definition.
9972 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
9974 (move_by_pieces_ninsns): Likewise.
9975 (clear_by_pieces): Likewise.
9976 (emit_push_insn): Likewise.
9977 (store_field): Call macro with relevant mode and alignment.
9978 (expand_expr): Likewise.
9979 (expand_expr_unaligned): Likewise.
9981 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
9982 (SLOW_UNALIGNED_ACCESS): Define.
9983 (CASE_VECTOR_MODE): Always use 32-bit offsets.
9984 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
9985 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
9986 (toc_section): Likewise and .toc pseudo-op.
9987 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
9989 (TEXT_SECTION_ASM_OP): Likewise.
9990 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
9993 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
9994 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
9995 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
9996 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
9997 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
9999 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
10001 * regclass.c: Revert my Jan 4 change to loop cost computation.
10003 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10005 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10008 2000-01-04 Stan Cox <scox@cygnus.com>
10010 * haifa-sched.c (build_control_flow): Change unreachable simple
10011 loop test to check if current block has only one predecessor.
10012 (find_rgns): Initialize degree. Use dest as degree index, not src.
10014 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10016 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10018 * calls.c (expand_call): Likewise for
10019 `old_stack_arg_under_construction'.
10021 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10023 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10026 * gcc.c (execute): Likewise for `ut' and `st'.
10028 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10030 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10032 * jump.c (jump_optimize_1): Likewise for `temp2'.
10034 * local-alloc.c (block_alloc): Likewise for `r1'.
10036 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10038 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10039 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10041 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10044 * reload.c (find_reloads): Likewise for `goal_alternative_number'
10045 and `goal_earlyclobber'.
10047 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10049 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10051 * stupid.c (stupid_life_analysis): Likewise for `chain'.
10053 * unroll.c (copy_loop_body): Likewise for `copy'.
10055 * varasm.c (output_constructor): Likewise for `byte'.
10057 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10059 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10060 all FP constants for constant->reg moves.
10061 (ix86_split_to_parts): Try to convert memory address into immediate
10062 when available in the constant pool.
10063 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10065 (LEGITIMATE_CONSTANT_P): Return 1.
10066 * i386.md (pushsf): New splitter to convert constant pool memory
10067 reference to immediate.
10068 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10071 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
10073 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10074 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10075 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10076 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10077 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10079 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
10081 * ginclude/stdbool.h: Support compilation as C++.
10083 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10085 * fold-const.c (make_range): Don't try to reverse an unbounded range.
10087 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
10089 * regclass.c (regclass): Properly compute loop_cost. Adjust
10092 * regclass.c: Fix minor whitespace problems.
10094 2000-01-03 Anthony Green <green@cygnus.com>
10096 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10097 Restore the pic register if required.
10099 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
10101 * c-common.c (format_char_info): Update comment.
10102 (check_format_info): Recognize 'z' modifier in the same way 'Z'
10103 was recognized. Emit warning for formats new in ISO C99 only
10104 if flag_isoc9x is not set.
10106 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
10108 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10110 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10112 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10113 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10114 (make_compound_operation): Choose cheaper alternative between
10115 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10117 * regclass.c (op_costs): Remove global variable.
10118 (record_reg_classes): New parameter "op_costs" and "reg_pref".
10119 (record_operand_costs): Break out from ...
10120 (scan_one_insn): ... here.
10121 (dump_regclass): Make dumps nicer.
10122 (regclass): Dump preferrences choosed and changes done during passes.
10124 2000-01-03 Jakub Jelinek <jakub@redhat.com>
10126 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10128 2000-01-03 Jakub Jelinek <jakub@redhat.com>
10130 * config/sparc/sparc.c (gen_df_reg): New function.
10131 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10132 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10133 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10134 movtf_cc_reg_sp64+1): Use it.
10136 2000-01-02 Mark Mitchell <mark@codesourcery.com>
10138 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10139 copied LABEL_DECLs.
10141 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
10143 * config/i386/i386.c (ix86_expand_unary_operator): Function
10144 definition made void.
10145 (ix86_expand_binary_operator): Update outdated preceding comment.
10146 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10149 * config/i386/i386.c (override_options): Fix option-name typo.
10151 2000-01-02 Mark Mitchell <mark@codesourcery.com>
10153 * system.h (CEIL): Define.
10154 * builtins.c (CEIL): Remove.
10155 * expmed.c (CEIL): Likewise.
10156 * expr.c (CEIL): Likewise.
10157 * stor-layout.c (CEIL): Likewise.
10159 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10161 * expr.c (store_constructor_field): Fix typo introduced with last
10164 2000-01-01 Mark Mitchell <mark@codesourcery.com>
10166 * tree.h (BINFO_N_BASETYPES): New macro.
10168 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
10170 * expmed.c (emit_store_flag): Prevent losing a pending stack
10171 adjust the same way we prevent losing queued increments.
10173 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10175 * function.c (update_temp_slot_address): Handle case where sum of
10176 temporary address plus offset in register is a valid address.
10178 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10180 * genrecog.c (change_state) Corrected typo.
10182 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10184 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10185 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10186 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10188 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
10190 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10191 case, expand GT comparisons correctly. Fix a comment before this
10194 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
10196 * dwarfout.c: Include "frame.h"
10197 * dwarf2out.c: Likewise.
10198 * Makefile.in (dwarfout.o): Depend on frame.h
10199 (dwarf2out.o): Likewise.
10201 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10203 Restore i386 binary compatibility in Dwarf EH info.
10204 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10205 value of FIRST_PSEUDO_REGISTER.
10206 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10207 (struct frame_state): Use DWARF_FRAME_REGISTERS.
10208 * dwarfout.c (output_reg_number): Ditto.
10209 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10210 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10212 1999-12-29 Bruce Korb <autogen@linuxbox.com>
10214 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10215 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10216 (<hack>_RE_CT): not needed
10217 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10218 rewritten to scan the file text once only
10219 "template<..." test added
10220 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10221 (is_cxx_header): declaration added
10222 * fixinc/fixtests.c(is_cxx_header): removed
10223 (apply_fix_p_t): removed
10224 (double_slash_test): is_cxx_header is only called once now
10225 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10226 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10227 within the templates.
10228 The borken spelling of "broken" was fixed.
10229 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10230 The default level depends on FIXINC_DEBUG.
10232 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10234 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10235 Otherwise provide a declaration for atexit.
10236 (init_dummy): Make sure dummy call to atexit is nevertheless
10237 called with correct number of args.
10239 * frame.c: Update comments referring to other files.
10241 * libgcc2.c: Likewise.
10243 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10245 * cse.c (free_element, get_element): Remove unused prototypes.
10247 * fold-const.c (extract_muldiv): Initialize variables `op0' and
10250 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10253 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
10255 * configure.in,configure: case arm for mn10200-*-* now sets
10256 float_format=i32 so that float.h will correctly claim "double"
10257 to be 32 bits. Ran autoconf to generate configure from .in file.
10259 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
10261 * pa.md (conditional zero): If op1 is a register, force it into
10262 the same register as op0.
10264 1999-12-28 Mark Mitchell <mark@codesourcery.com>
10266 * tree.h (BINFO_BASETYPES): Improve documentation.
10268 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10270 * configure.in (--enable-checking): Use a more portable `for'
10273 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10275 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10276 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10278 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10281 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10282 Delete descriptions.
10284 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10285 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10286 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10287 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10288 xm-svr4.h: Remove all instances of sys_siglist handling.
10290 1999-12-27 Jakub Jelinek <jakub@redhat.com>
10292 * config/sparc/sparc.md (cmp_zero_qi,
10293 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10294 cmp_zero_extendqidi2_andcc_set): New patterns.
10296 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
10298 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10299 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10300 (fpgnulib.c, xfgnulib.c): Add rules.
10301 * m68k/t-mot3300-gas: Likewise.
10303 1999-12-27 Ian Lance Taylor <ian@zembu.com>
10305 * configure.in: Avoid [[ by using test and changequote. Add
10306 changequote required by 1999-12-14 change.
10307 * configure: Rebuild.
10309 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
10311 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10313 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
10315 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10316 * flow.c (find_use_as_address): Likewise.
10317 * function.c (fixup_var_refs_1): Likewise.
10318 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10319 * jump.c (invert_exp, redirect_exp): Likewise.
10320 * loop.c (replace_call_address): Likewise.
10321 (count_nonfixed_reads): Likewise.
10322 * rtlanal.c (modified_between_p): Likewise.
10323 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10324 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10325 * unroll.c (remap_split_bivs): Likewise.
10327 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10329 * diagnostic.c (v_message_with_decl): Use .* format specifier
10330 instead of building the format specifier width manually.
10332 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10333 determining whether to provide a prototype. Remove the
10334 sys_siglist clause in the conditional.
10336 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10338 * fold-const.c (operand_equal_p): Use memcmp to compare string
10340 Suggested by D. J. Bernstein
10342 1999-12-17 Jakub Jelinek <jakub@redhat.com>
10344 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10345 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10347 * config/mips/mips.h (TARGET_64BIT): Likewise.
10348 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10349 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10350 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
10351 dsps. Give routines proper names if SI/DI modes are not used.
10352 * longlong.h: Use DWunion instead of DIunion.
10354 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
10356 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10357 GC_CHECKING, GC_ALWAYS_COLLECT.
10358 * configure.in: Allow --enable-checking with an argument
10359 listing check modes to enable.
10360 * config.in, configure: Rebuilt.
10361 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10362 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10363 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
10364 ENABLE_GC_ALWAYS_COLLECT.
10365 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10367 * tree.h, tree.c: Change ENABLE_CHECKING to
10368 ENABLE_TREE_CHECKING throughout.
10370 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10372 * fold-const.c (fold_truthop): Properly check for FP RHS.
10374 1999-12-24 Mark Mitchell <mark@codesourcery.com>
10376 * toplev.h (note_deferall_of_defined_inline_function): Declare.
10377 * toplev.c (note_deferral_of_defined_inline_function): New
10378 function, split out from ...
10379 (rest_of_compilation): ... here. Use it.
10381 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10383 * expr.c (store_constructor): Don't call clear_storage if size is
10386 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10388 * Makefile.in (toplev.o): Depend on loop.h.
10390 * dwarfout.c: Include tm_p.h.
10392 * emit-rtl.c (restore_emit_status): Mark parameter with
10395 * final.c (final_scan_insn): Likewise.
10397 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10398 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10399 flow_depth_first_order_compute, flow_loop_pre_header_find,
10400 flow_loop_tree_node_add, flow_loops_tree_build,
10401 flow_loop_level_compute, flow_loops_level_compute,
10402 flow_loop_outside_edge_p): Add prototypes.
10403 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10405 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10406 Mark with ATTRIBUTE_NORETURN.
10408 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10410 * local-alloc.c (no_conflict_p): Likewise.
10412 * loop.c (insert_bct): Hide definitions of variables with hidden
10414 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10416 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10417 with ATTRIBUTE_UNUSED.
10418 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10419 (reg_scan): Likewise.
10421 * reload.c (find_reloads): Remove unused variables `changed'.
10423 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10425 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10426 Remove unused variable `insn'.
10428 * toplev.c: Include loop.h.
10429 (report_file_and_line): Remove unnecessary prototype.
10431 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10433 * unroll.c (biv_total_increment): Likewise.
10435 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10437 * reload1.c (emit_input_reload_insns): Restore old behaviour
10438 wrt. 'special' reloads.
10440 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
10442 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10443 hash.h. (cse.c): Don't depend on hashtab.h.
10445 * cse.c: Don't include hashtab.h.
10446 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10448 * ggc-simple.c: Don't include hash.h.
10450 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
10452 * dwarf2out.c (add_abstract_origin_attribute): Call
10453 gen_abstract_function on our function context.
10455 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
10457 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10459 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10461 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10464 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10466 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10467 constraints to "a!r".
10469 1999-12-21 Mark Mitchell <mark@codesourcery.com>
10471 * Makefile.in (calls.o): Depend on function.h.
10472 (alias.o): Likewise.
10474 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
10476 * reload1.c (emit_reload_insns): Break out code and variables into...
10477 (input_reload_insns, other_input_address_reload_insns,
10478 other_input_reload_insns, input_address_reload_insns,
10479 inpaddr_address_reload_insns, output_reload_insns,
10480 output_address_reload_insns, outaddr_address_reload_insns,
10481 operand_reload_insns, other_operand_reload_insns,
10482 other_output_reload_insns): ... new static variables, and...
10483 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10484 do_output_reload): ... new functions.
10486 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10488 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10490 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10492 * md.texi: Add c4x constraints documentation.
10494 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10496 * config/i386/dgux.c (struct option): Rename to
10497 lang_independent_option.
10498 (struct m_options): Add description field.
10499 (output_options): Rename option type, add sep declaration, output
10500 ix86_cpu_string and ix86_arch_string only if set.
10501 (output_file_start): Rename option type.
10503 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
10505 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10507 (libgcc2.a): Similarly.
10509 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
10511 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10512 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
10513 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10515 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
10517 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10518 Remove redundant initialization of "frexpon" and "expon".
10520 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10522 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10524 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10525 (store_constructor_field, expand_expr): Pass new arg.
10527 1999-12-20 Mark Mitchell <mark@codesourcery.com>
10529 * Makefile.in (explow.o): Depend on function.h.
10531 * stor-layout.c (set_sizetype): Fix typo.
10533 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
10535 * function.c (cfun): Renamed from current_function. All users
10537 * function.h (cfun): Rename declaration as well.
10539 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10540 to be of type regset_head, not regset. All users changed by adding
10542 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10544 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10546 * config/c4x/rtems.h: New file.
10548 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
10550 * reload1.c (spill_failure): Take class of failed reload as argument
10551 and print it. Caller changed.
10553 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10555 * rs6000.h (SUBTARGET_DEFAULT): New macro.
10556 (TARGET_SWITCHES): Allow subtargets to default switches.
10557 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10559 1999-12-18 Mark Mitchell <mark@codesourcery.com>
10561 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10564 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
10566 * cccp.c (main): Define __STDC_VERSION__ as necessary.
10567 * cppinit.c (cpp_handle_option): Likewise.
10569 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10570 determine when to define.
10572 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
10574 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10575 cmove with mismatched test and data modes.
10577 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
10579 * c-typeck.c (c_expand_start_case): Don't warn for long switch
10582 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10584 * alias.c: Minor reformatting.
10585 * flow.c: Likewise.
10586 * regs.h: Likewise.
10587 * stor-layout.c: Likewise.
10588 * fold-const.c: Likewise.
10589 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10590 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10592 (size_int_wide): Cache nodes even if garbage collecting.
10593 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10594 of SAVE_EXPR has no side effects.
10595 * cse.c: Move a comment.
10596 * tree.c: Minor reformatting.
10597 (int_size_in_bytes): Return -1 if constant overflows.
10599 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10601 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10603 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
10605 * objc/objc-parse.c: Regenerate. This file must be rebuilt
10606 after any change to c-parse.in, even if objc-parse.y didn't
10609 1999-12-18 David S. Miller <davem@redhat.com>
10611 * toplev.c (rest_of_compilation): Restore BLOCK tree
10612 reconstruction and branch shortening changes lost in
10613 December 18th change.
10615 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
10617 * config/arm/linux-elf.h: Change all instances of
10618 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10619 * config/arm/uclinux-elf.h: Likewise.
10621 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
10623 * toplev.c (notice, vmessage, v_message_with_file_and_line,
10624 v_message_with_decl, file_and_line_for_asm,
10625 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10626 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10627 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10628 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10629 pfatal_with_name, fatal_io_error, need_error_newline,
10630 last_error_function, last_error_tick, announce_function,
10631 default_print_error_function, print_error_function,
10632 report_error_function, fnotice, error_with_file_and_line,
10633 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10634 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10635 warning_with_decl, warning_for_asm, warning, pedwarn,
10636 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10638 (compile_file): Use fnotice instead of notice. Adjust call.
10640 * diagnostic.c: New file.
10642 * Makefile.in (OBJS): Include diagnostic.o
10643 (diagnostic.o): Define dependence.
10645 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10647 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10650 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10652 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10654 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
10656 * fixtests.c (is_cxx_header): New fn, split out of
10658 (else_endif_label): Allow "#endif // comment" in C++ headers,
10659 as determined by is_cxx_header.
10660 * fixfixes.c (else_endif_label_fix): Update comment.
10661 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10663 * genfixes: Correct double thinko in commandline parsing.
10664 * hackshell.tpl: Generate correct sh syntax for bypass
10667 * inclhack.def (all): Whenever an inserted preprocessor
10668 conditional is split over multiple lines, use double
10669 backslashes in this file so the fixed header will be readable.
10671 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10672 and add bypass entry for correct version of this header.
10673 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10674 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10676 (hpux8_bogus_inlines): New fix, split from...
10677 (ultrix_atof_param) ... here.
10678 (math_expression): Add bypass entry keyed to glibc comment
10679 indicating the problem has been dealt with; disable
10680 unnecessary sed operations; update commentary.
10681 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10682 add select and bypass entries, simplify shell operation.
10683 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10685 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10686 ultrix_atof_param): Add select entry.
10687 (stdio_va_list, sunos_mather_decl): Add bypass entry.
10688 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10689 comments with the fixes they describe.
10691 * c-parse.in (string action): Do not warn about ANSI string
10692 concatenation in system headers. Affects C parser only.
10693 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10695 1999-12-16 Jakub Jelinek <jakub@redhat.com>
10697 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10698 compiling libgcc2 the macro depends always on arch cpp defines.
10700 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
10702 * loop.c (insert_loop_mem): Don't record MEMs from inside
10705 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
10707 * regclass.c (regclass): Do not use flowgraph when not optimizing.
10709 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10710 notes too, create one when replacement failed, attempt to simplify
10712 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10713 or REG_EQUIV notes.
10715 1999-12-16 Mark Mitchell <mark@codesourcery.com>
10717 * crtstuff.c (__dso_handle): Declare.
10718 (__cxa_finalize): Likewise.
10719 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10722 * invoke.texi: Document -fuse-cxa-atexit.
10724 * tree.h (ptr_type_node): Document.
10725 (const_ptr_type_node): Likewise.
10727 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10729 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10730 (optimize_reg_copy_2): Likewise.
10731 (optimize_reg_copy_3): Likewise.
10732 (fixup_match_2): Likewise.
10733 (regmove_optimize): Likewise.
10734 (fixup_match_1): Liekwise.
10736 * i386.md (HI to SImode promoting splitters): Rewrite.
10737 (pushsf mem peep2): New.
10738 (testhi to andhi peep2): Remove.
10739 * i386.h (x86_promote_QImode): New.
10740 (TARGET_PROMOTE_QImode): New.
10741 (PREDICATE_CODES): Add promotable_binary_operator.
10742 * i386.c (x86_promote_QImode0: New.
10743 (promotable_binary_operator): New.
10744 * i386-protos.h (promotable_binary_operator): New.
10746 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10748 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10750 1999-12-16 Mark Mitchell <mark@codesourcery.com>
10752 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10753 * function.c (insert_block_after_note): Remove.
10754 (retrofit_block): Likewise.
10755 (identify_blocks): Fix indentation.
10756 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10757 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10758 * function.h (insert_block_after_note): Remove prototype.
10759 (retrofit_block): Likewise.
10760 * integrate.c (expand_inline_function): Don't call
10761 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
10762 just expand_start_bindings. Use the block_map to remap old
10763 NOTE_BLOCKs to new ones.
10764 (integrate_decl_tree): Keep track of remapped blocks.
10765 * integrate.h (struct inline_remap): Add block_map.
10766 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
10767 NOTE_BLOCK on the notes.
10768 (expand_start_bindings): Rename to ...
10769 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
10770 (expand_end_bindings): Set NOTE_BLOCK.
10771 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10772 reconstruct the BLOCK tree.
10773 * tree.h (expand_start_bindings): Macroize. Call ...
10774 (expand_start_bindings_and_block): New function.
10776 1999-12-16 Jakub Jelinek <jakub@redhat.com>
10778 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10779 to match the format.
10781 1999-12-16 David S. Miller <davem@redhat.com>
10783 * expr.c (emit_move_insn_1): Only emit clobbers if one of
10784 the outputs is a SUBREG.
10785 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10788 * config/sparc/sparc.c (epilogue_renumber): Add default case
10791 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10793 * toplev.c (rest_of_compilation): Run branch shortening after
10796 * regclass.c (loop_depth): Remove
10797 (scan_one_insn): Do not handle LOOP_NOTE insns.
10798 (regclass): Go through basic blocks and set loop_cost
10800 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
10802 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10804 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10806 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10807 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
10808 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
10810 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
10812 * loop.c (insert_loop_mem): Ignore memory clobbers.
10814 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
10817 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
10819 * profile.c: Remove redundant #include "output.h".
10821 * h8300.md (HImode preinc peephole): Fix typo.
10823 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10825 * function.c (retrofit_block): Abort if we don't find a suitable insn.
10826 (insert_block_after_note): Abort if we don't have a previous block.
10827 Remove FN parameter.
10828 * function.h: Adjust.
10830 1999-12-15 Mark Mitchell <mark@codesourcery.com>
10832 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
10833 argument more than once.
10835 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10837 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
10839 1999-12-15 Jakub Jelinek <jakub@redhat.com>
10841 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
10843 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10845 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
10846 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
10847 update stack_alignment_needed.
10848 (prepare_function_start): Initialize stack_alignment_needed
10849 * function.h (struct function): Add field stack_alignment_needed.
10851 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10853 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
10854 Handle live_throughout / dead_or_set instead of live_before /
10856 (save_call_clobbered_regs): Get register livenessinformation from
10857 chain->live_throughout.
10858 (add_stored_regs): New function.
10859 (insert_restore, insert_save): Add restored / saved registers to
10861 * global.c (reg_dies): New parameter chain.
10862 (reg_becomes_live): Third parameter is regs_set now.
10863 Changed all callers.
10864 (reg_dies): New parameter chain. Changed all callers.
10865 (build_insn_chain): Set live_throughout instead of
10866 live_before / live_after.
10867 * reload.h (struct insn_chain): Replace members live_before /
10868 live_after with live_throughout / dead_or_set.
10869 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
10870 instead of live_before / live_after.
10871 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
10872 (order_regs_for_reload, find_reg, finish_spills): Likewise.
10873 (choose_reload_regs_init): Likewise.
10874 * stupid.c (current_chain, find_clobbered_regs): Delete.
10875 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
10876 instead of chain->live_before / chain->live_after.
10877 (mark_hard_ref): New function.
10878 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
10880 1999-12-15 David S. Miller <davem@redhat.com>
10882 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
10884 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10886 * flow.c (calculate_loop_depth): Make global, remove prototype,
10887 rewrite to use new loop infrastructure.
10888 (find_basic_block): Remove calculate_loop_depth call.
10889 * toplev.c (rest_of_compilation): Call find_basic_block.
10890 * output.h (calculate_loop_depth): Declare.
10892 * flow.c (dump_flow_info): Dump loop_depth.
10893 (flow_loops_nodes_find): Increase loop_depth for basic block in the
10895 (flow_loops_find): Initialize the loop_depth for each basic block.
10897 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
10899 * tree.c (decl_function_context): Handle virtual functions.
10901 * tlink.c (scan_linker_output): Don't look in demangled name when
10902 looking for linker output keywords.
10904 * dwarfout.c (output_type): We can defer namespace-scope classes.
10906 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
10908 * regclass.c (record_reg_classes): Update comment for merging
10909 register class preferences in reg->reg copies. Tighten conditions
10910 for merging register class preferences in reg->reg copies.
10912 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
10914 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
10916 1999-12-14 Geoff Keating <geoffk@cygnus.com>
10918 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
10919 (INIT_SECTION_ASM_OP): Delete.
10920 (FINI_SECTION_ASM_OP): Delete.
10921 (STARTFILE_SPEC): Define to hold just crtbegin.o.
10923 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
10925 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
10926 the abstract origin wasn't emitted.
10928 * dwarf2out.c (class_scope_p): New fn.
10929 (gen_subprogram_die): Use it.
10930 (gen_variable_die): Use it. Tweak logic.
10931 (gen_struct_or_union_type_die): Check context_die to determine
10932 if we're function-local.
10933 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
10935 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10937 * loop.c (check_dbra_loop): Can't reverse a biv that has
10938 maybe_multiple set.
10940 1999-12-14 Nick Clifton <nickc@cygnus.com>
10942 * config/arm/arm.c: Add support for -mcpu=arm720 command line
10945 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10947 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
10948 for givs made from biv increments.
10950 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
10952 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
10953 * alpha.c (override_options): Recognize -mcpu=ev67.
10954 * alpha.h (CPP_CPU_EV67_SPEC): New.
10955 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
10956 (EXTRA_SPECS): Update.
10958 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
10960 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
10961 appropriate for -lang-c89 and -std=*.
10962 * cppinit.c (cpp_handle_option): Likewise.
10963 (new_pending_define): New, split out from cpp_handle_option.
10964 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
10965 or enable trigraphs for -ansi/-std=*.
10967 * ginclude/stdarg.h (__va_copy): New.
10968 (va_copy): Don't define for C89.
10970 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
10972 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
10973 for long long multiply-accumulate.
10975 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10977 * regclass.c (scan_one_insn): Set loop_cost to 1 when
10978 optimizing for size.
10980 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
10982 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
10983 if something changed. Back out that part of yesterday's changes.
10985 * loop.c (loop_max_reg): New static variable.
10986 (loop_optimize): Initialize it. Eliminate one unnecessary call to
10988 (scan_loop): Call reg_scan_update whenever we may have added new
10989 registers, and update loop_max_reg.
10991 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10993 * regclass.c (record_reg_classes): Do not do the copying preferrencing
10994 when source does not die.
10996 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
10998 1999-12-14 Jakub Jelinek <jakub@redhat.com>
11000 * config/sparc/linux64.h (TARGET_LIVE_G0,
11001 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
11003 * config/sparc/linux.h (TARGET_LIVE_G0,
11004 TARGET_BROKEN_SAVERESTORE): Likewise.
11005 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11006 TARGET_BROKEN_SAVERESTORE): Likewise.
11008 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11009 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11011 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11012 as sparc64 block profiling register.
11013 * config/sparc/sparc.c (sparc_override_options): Allow block
11014 profiling with -m32.
11015 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11016 profiling register.
11017 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11018 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11019 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11021 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11023 * config/sparc/sparc.h: Likewise.
11024 * config/sparc/xm-sysv4-64.h: Likewise.
11025 * config/float-sparc.h: Likewise.
11026 * glimits.h: Likewise.
11027 * longlong.h: Likewise.
11029 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11030 (ASM_IDENTIFY_GCC): Remove.
11032 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
11034 * combine.c (combine_simplify_rtx): Don't make shared rtl.
11035 (simplify_logical): Likewise.
11037 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
11039 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11040 * cppfiles.c (INO_T_EQ): Likewise.
11042 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
11044 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11045 * i386/mingw32.h (LIB_SPEC): Likewise.
11046 (STARTFILE_SPEC): Likewise.
11047 * i386/uwin.h (LIB_SPEC): Likewise.
11048 (STARTFILE_SPEC): Likewise.
11050 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11051 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11053 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
11055 * combine.c (combine_simplify_rtx): Fix order of checks for
11056 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11058 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
11060 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
11061 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11063 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
11065 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11067 * regclass.c (inv_reg_alloc_order): New array.
11068 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11070 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11071 counted_for_groups, counted_for_nongroups. Add fields rld and
11073 * reload.c (push_secondary_reload): Don't set nongroup field of
11075 (push_reload): Likewise.
11076 (find_reloads): Delete code to compute nongroup fields.
11077 * reload1.c (reload_insn_firstobj): New static variable.
11078 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
11080 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11081 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11082 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11084 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11086 (struct hard_reg_n_uses): Deleted.
11087 (potential_reload_regs): Deleted.
11088 (init_reload): Initialize spilled_pseudos and pseudos_counted.
11089 (reload): Don't try to allocate reload registers if we already know
11090 we have to make another pass. Call select_reload_regs. Free memory
11091 starting with reload_firstobj when starting another pass.
11092 Don't allocate spilled_pseudos.
11093 (calculate_needs_all_insns): Call copy_reloads for an insn that
11094 needs reloads; don't call calculate_needs.
11095 (spill_cost): New static array.
11096 (used_spill_regs_local): New static variable.
11097 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11098 to compute potential_reload_regs.
11099 (find_reload_regs): Completely rewritten to use find_reg.
11100 (allocate_reload_reg): Don't test counted_for_groups or
11101 counted_for_nongroups. Lose NOERROR arg and code to give an error;
11102 all cllers changed.
11103 (choose_reload_regs): Add fallback code that uses the existing
11104 register allocation from find_reload_regs.
11106 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
11108 * flow.c (create_edge_list): Cast xmalloc return value.
11110 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
11112 * doprnt.c: Remove incorrect comment closure.
11114 * cse.c: Fix a few minor whitespace goofs.
11116 1999-12-13 Don Bowman <don@pixstream.com>
11118 * mips/vxworks.h: Fix problem with comment termination.
11119 (EXTRA_SECTIONS): Add in_sbss.
11120 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11122 1999-12-12 David S. Miller <davem@redhat.com>
11124 * cse.c (struct cse_reg_info): Add hash_next member,
11125 reorder rest of struct for better packing on 64-bit
11127 (cse_reg_info_tree): Kill.
11128 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11129 REGHASH_FN): New custom pow2 hash mechanism.
11131 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11132 use a pow2 hash table.
11133 (get_cse_reg_info): Rework to use new REGHASH.
11134 (new_basic_block): Likewise, use HASH_SIZE, and inline
11136 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11137 and inline free_element call.
11138 (lookup_as_function, insert, flush_hash_table, invalidate,
11139 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11140 invalidate_for_call, use_related_value, find_comparison_args,
11141 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11142 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11143 get_element): Kill.
11145 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
11147 * cse.c (cse_basic_block): Free qty_table consistently.
11149 1999-12-12 David S. Miller <davem@redhat.com>
11150 Jakub Jelinek <jakub@redhat.com>
11152 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11153 SUBREGs by hand, gen the appropriate hard reg directly.
11154 (movtf reg/mem split): Likewise and alter_subreg on destination
11156 (movtf mem/reg split): Similarly.
11157 (movdf_cc_sp64): Rename from hidden pattern.
11158 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11159 (movtf_cc_sp64, following split): New pattern and splitter.
11160 (movdf_cc_reg_sp64): Rename from hidden pattern.
11161 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11163 (movtf_cc_reg_sp64, following split): New pattern and splitter.
11165 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
11167 * loop.c (load_mems): Don't hoist written floating point mem
11170 1999-12-12 Mark Mitchell <mark@codesourcery.com>
11172 * except.h (struct eh_queue): Add `next' pointer.
11173 (struct eh_status): Make x_ehqueue a pointer.
11174 (push_ehqueue): Declare.
11175 (pop_ehqueue): Likewise.
11176 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11178 (expand_fixup_region_end): Likewise.
11179 (expand_leftover_cleanups): Likewise.
11180 (push_ehqueue): Define.
11181 (pop_ehqueue): Likewise.
11182 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11183 than doing it inline.
11184 (expand_start_all_catch): Adjust now that ehqueue is a
11186 (mark_eh_queue): Mark all level of the queue.
11187 (mark_eh_status): Adjust now that ehqueue is a
11189 (init_eh_for_function): Allocate ehqueue.
11190 (free_eh_status): Free it.
11191 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11192 expansion for a fixup.
11194 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11196 * gthr-single.h (__gthread_active_p): Add prototype arguments.
11198 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11199 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11200 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11201 function_ptr, getpagesize, __enable_execute_stack,
11202 __enable_execute_stack, __clear_insn_cache,
11203 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11204 _cleanup, _exit, __default_terminate, __terminate_func,
11205 __terminate, __empty, __throw, new_eh_context,
11206 eh_context_initialize, eh_context_static, eh_context_specific,
11207 get_eh_context, __get_eh_context, __get_eh_info,
11208 init_reg_size_table, eh_threads_initialize,
11209 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11210 __unwinding_cleanup, throw_helper, __throw, __rethrow,
11211 __pure_virtual): Add prototype arguments.
11212 (__bb_exit_func): Cast a sizeof to long when comparing against one.
11213 Cast a signed value to unsigned long when comparing against one.
11214 (new_eh_context): Wrap in _GTHREADS macro.
11215 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11217 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11218 (throw_helper): Initialize variables `handler_p' and `pc_p'.
11220 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11222 * combine.c (record_promoted_value): Remove unused variable
11225 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11227 * global.c (record_conflicts): Likewise for `j'.
11229 * genoutput.c (output_insn_data): Don't unnecessarily cast away
11232 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11234 * i386-protos.h (output_387_binary_op, output_fix_trunc,
11235 output_fp_compare): Constify a char*.
11237 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11239 (override_options, ix86_comp_type_attributes, print_operand,
11240 output_387_binary_op, output_fix_trunc, output_fp_compare):
11242 (ix86_sched_reorder): Mark parameter `clock_var' with
11245 * i386.h (DEBUG_PRINT_REG): Constify a char*.
11247 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
11249 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11250 operand, for use in the Java front-end.
11252 1999-12-10 Ben Collins <bcollins@debian.org>
11254 * configure.in: Fix typo for "-64" in 64bit as check.
11255 * configure: Rebuilt.
11257 1999-12-10 Jakub Jelinek <jakub@redhat.com>
11259 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11262 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11264 * c-parse.in (string): With -Wtraditional, warn if ANSI string
11265 concatenation is utilized.
11267 * invoke.texi (-Wtraditional): Document it.
11269 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11271 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11272 Cast a ptrdiff_t to long and pass it to printf with %ld.
11274 1999-12-10 Geoff Keating <geoffk@cygnus.com>
11276 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11277 68881, we have no 68881 registers at all.
11278 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11279 value in a 68881 register if it is available.
11281 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
11283 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11284 for long long multiply-accumulate.
11286 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
11288 * loop.c (insert_loop_mem): Undo last change.
11290 1999-12-10 David S. Miller <davem@redhat.com>
11292 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11294 * config/sparc/sparc-protos.h: Add them.
11295 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11296 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11297 constraints which use those helpers.
11298 (EXTRA_CONSTRAINT): Use this new macro.
11299 * md.texi: Update sparc target constraints documentation.
11300 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11301 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11302 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11303 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11304 (movsf high/lo_sum split): Rework for new patterns.
11305 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11307 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
11309 * c-common.c (c_common_nodes_and_builtins):
11310 Create __builtin_ptrdiff_t and __builtin_size_t.
11312 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
11314 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11316 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11318 * regclass.c (globalize_reg): Re-instate test that allows
11319 fixed registers to be declared as a variable even after functions
11322 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11324 * i386.md (cpu attribute): Add "athlon".
11325 (athlon_decode): New attribute.
11326 (Athlon scheduling units definitions): New.
11327 (fcmp and shld patterns): Set athlon_decode to "vector".
11328 * i386.c (athlon_cost): New.
11330 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11331 x86_use_sahf): Set for Athlon.
11332 (x86_use_fiop): Unset for Athlon.
11333 (override_options): Define Athlon alignments and "athlon" name.
11334 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11335 * i386.h (TARGET_ATHLON): New.
11336 (enum processor_type): Add PROCESSOR_ATHLON.
11337 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11339 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11341 1999-12-09 Andreas Jaeger <aj@suse.de>
11343 * loop.c (record_biv): Declare parameter as int.
11345 * config/i386/i386-protos.h: Declare long_memory_operand.
11347 1999-12-09 Mark Mitchell <mark@codesourcery.com>
11349 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11350 EXPR_WITH_FILE_LOCATION.
11352 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11354 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11357 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11359 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11362 1999-12-09 Jakub Jelinek <jakub@redhat.com>
11364 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11365 default on linux64 again.
11366 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11367 models for multilibing.
11368 * genmultilib: Accept | as alternative separator within a set in
11371 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11373 * calls.c (precompute_arguments): Make sure initial_value contains
11374 value pseudo which CSE expects.
11375 * cse.c (struct set): New entry orig_src.
11376 (cse_insn): Set it early on entry, use it for libcall EQUIV note
11379 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
11381 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11383 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
11385 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11387 1999-12-08 Jakub Jelinek <jakub@redhat.com>
11389 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11390 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11392 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11395 * longlong.h: Merge in changes from glibc.
11396 Also don't clobber %g2 register in 32bit SPARC assembly, so that
11397 -mno-app-regs libgcc can be compiled.
11398 * libgcc2.c: Add defines so that the updated longlong.h
11399 can be used in libgcc2.a. Also, make sure on most architectures
11400 (at least on all which have optimized code in longlong.h defined
11401 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11403 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11405 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11406 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11407 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11409 * configure: Rebuilt.
11411 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
11413 * alpha.c (secondary_reload_class): For !BWX, sub-simode
11414 outputs require a register.
11416 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
11418 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11419 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
11420 functions like dptoul will be resolved.
11421 (libgcc2.a): Make sure that the object files from DPBIT are named
11422 differently (prefix `_dp') from those that would be coming from
11425 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
11427 * configure.in: When target is sparc* and tm_file contains 64,
11428 test for 64bit support in assembler. If not supported, remove
11429 sparc/t-sol2-64 from target-dependent Makefile fragments.
11430 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11431 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11432 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11433 * acconfig.h (AS_SPARC64_FLAG): Added.
11434 * configure, config.in: Rebuilt.
11435 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11436 support. Use AS_SPARC64_FLAG.
11438 1999-12-07 Jakub Jelinek <jakub@redhat.com>
11440 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11441 suitable for holding OFmode values so that gcc works with complex
11443 (hard_64bit_mode_classes): Likewise.
11445 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11446 so that it is actually matched.
11447 (sethi_di_medlow): Likewise.
11449 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11450 as legitimate constant if -mvis.
11451 * config/sparc/sparc.md (movtf): Likewise.
11452 (clear_sf): Use const_double_operand.
11453 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11455 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11456 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11457 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11458 routines, _Qp_* cannot be handled like that now.
11459 (INIT_TARGET_OPTABS): Likewise.
11460 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11461 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11462 sparc_emit_float_lib_cmp if ARCH64 and soft float.
11463 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11464 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11465 divtf3, sqrttf3): New expanders.
11466 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11467 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11468 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11471 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11472 * configure: Rebuilt.
11473 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11474 -mcpu is given and we're doing 64bit compiles.
11476 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
11478 * loop.h (struct induction): Add multi_insn_incr.
11479 * loop.c (basic_induction_var): New multi_insn_incr argument.
11480 Set it if we search back through previous insns for the biv.
11481 (record_biv): New multi_insn_incr argument; fill in struct induction.
11482 (strength_reduce): Discard an iv with multiple bivs, any of
11483 which require multiple insns to increment.
11485 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
11487 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11490 1999-12-06 David S. Miller <davem@redhat.com>
11492 * combine.c (check_promoted_subreg): Do not conditionalize this upon
11493 PROMOTE_FUNCTION_RETURN.
11495 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
11497 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11498 and handle REG_UNUSED note on insn.
11500 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
11501 inner_mask instead of mask.
11503 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
11505 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11506 zero if there was an error.
11508 1999-12-06 Jakub Jelinek <jakub@redhat.com>
11510 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11513 * longlong.h: Fix clobbers in SPARC asm statements.
11515 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11516 valid sethi operations when TARGET_ARCH64.
11518 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11519 always use move_by_pieces to avoid infinite recursion.
11520 (restore_fixed_argument_area): Likewise.
11522 * combine.c (check_promoted_subreg, record_promoted_value): New
11524 (combine_instructions): Use them to retain nonzero and sign bit
11525 information after SUBREGs are eliminated by optimizations in
11526 this pass if PROMOTE_FUNCTION_RETURN.
11528 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11529 .register declaration. Don't use variables with __ prefixes.
11531 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11533 * fold-const.c (optimize_bit_field_compare): Only use one mode
11534 for both RHS and LHS in non-constant case.
11536 1999-12-06 Nathan Sidwell <nathan@acm.org>
11538 * frame.c (start_fde_sort): Only allocate erratic array, if
11539 linear one was allocated. Return allocated flag.
11540 (fde_insert): Only insert, if there's a valid array.
11541 (fde_end_sort): Split, sort and merge if linear and erratic
11542 arrays exist, else just sort linear one.
11543 (search_fdes): New function. Linear search through original fde
11545 (frame_init): Permit multiple initializations. Cope with
11547 (find_fde): Fallback on linear search, if failed to sort array.
11548 (__deregister_frame_info): Only free sorted array, if we
11551 1999-12-06 Jakub Jelinek <jakub@redhat.com>
11553 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11555 1999-12-05 Jakub Jelinek <jakub@redhat.com>
11557 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11559 1999-12-05 Mark Mitchell <mark@codesourcery.com>
11561 * tree.h (special_function_p): Declare.
11562 * calls.c (special_function_p): Make it global. Don't take `name'
11563 as a parameter. Fix typo in 1999-11-28 change.
11564 (expand_cal): Adjust.
11566 1999-12-04 Mark Mitchell <mark@codesourcery.com>
11568 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11569 * tree.h (EXPR_WFL_FILENAME): Define in terms of
11570 EXPR_WFL_FILENAME_NODE.
11571 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11573 * print-tree.c (print_note): Print TREE_PRIVATE and
11576 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11577 the original die cannot be found.
11579 * varray.h (varray_head_tag): Add elements_used.
11580 (VARRAY_PUSH): New macro.
11581 (VARRAY_POP): Likewise.
11582 (VARRAY_TOP): Likewise.
11583 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11585 * varray.c (varray_init): Initialize elements_used.
11586 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11587 (INTEGRATE_H): New variable.
11588 (integrate.o): Depend on INTEGRATE_H.
11589 (unroll.o): Likewise.
11591 * function.h (insert_block_after_note): Declare.
11592 * function.c (insert_block_after_note): Split out from ...
11593 (retrofit_block): ... here.
11595 * stmt.c (expand_fixup): Fix typo in comment.
11597 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11599 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11600 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11601 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11602 (regmove_optimize, fixup_match_1): Likewise.
11604 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11606 * flow.c (flow_loops_dump): Add missing argument when calling
11607 flow_loop_nested_p.
11609 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
11610 Greg McGary <gkm@gnu.org>
11612 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11613 (init_attributes): Add A_NO_LIMIT_STACK.
11614 (decl_attributes): Handle A_NO_LIMIT_STACK.
11615 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11616 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11617 Handle stack bounds checking.
11618 * flags.h (flag_stack_check): Use the word 'probe' rather than
11619 'check', because the flag doesn't actually cause any checking to
11621 * function.c (expand_function_start): Set
11622 current_function_limit_stack.
11623 * function.h (struct function): Add limit_stack.
11624 (current_function_limit_stack): Define.
11625 * invoke.texi (Code Gen Options): Document new options.
11626 * rtl.h: Declare stack_limit_rtx.
11627 * toplev.c (stack_limit_rtx): New variable.
11628 (decode_f_option): Handle new options -fstack-limit-register=REG,
11629 -fstack-limit-symbol=IDENT, -fno-stack-limit.
11630 (main): Add stack_limit_rtx as GC root.
11631 * tree.h (DECL_NO_LIMIT_STACK): New macro.
11632 (struct tree_decl): New member no_limit_stack.
11634 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11636 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11637 (conditional_trap+1): Get new mnemonic correct.
11638 (conditional_trap+2): New pattern for DImode traps.
11640 * config/m68k/m68k.c (output_function_prologue): Handle
11642 * config/m68k/m68k.md (trap): New insn.
11643 (conditional_trap): New insn.
11644 * md.texi (Standard Names): Document `trap' and
11645 `conditional_trap'.
11646 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11647 so a cc0 setter doesn't get emitted at some random place in the
11650 * config/i960/i960.md (trap): New insn.
11651 (conditional_trap): New expander.
11652 (conditional_trap+1, conditional_trap+2): New insns for signed
11653 and unsigned cases.
11654 * config/i960/i960.c (i960_function_prologue): Use
11655 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
11657 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
11658 Geoffrey Keating <geoffk@cygnus.com>
11660 * flags.h (warn_padded, warn_packed): Add global var decls.
11661 * toplev.c (warn_padded, warn_packed): Add global var defns.
11662 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11663 * stor-layout.c (layout_record): Add local variable `type'
11664 to hold often-used TREE_TYPE (field). Add local variable
11665 `unpacked_align' to hold alignment that would be in force
11666 if no `packed' attribute were present. Warn if `packed' attribute
11667 is unnecessary, or even harmful. Warn when gcc inserts padding
11668 to satisfy alignment requirements of members. Use NULL_TREE
11669 when checking whether var_size is set.
11670 * invoke.texi: Document new flags.
11672 1999-12-03 Nathan Sidwell <nathan@acm.org>
11674 * frame.c (fde_split): Reimplement to avoid variable sized array.
11676 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11678 * combine.c (try_combine): Before fixing up LOG_LINKS for the
11679 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11681 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
11683 * invoke.texi: Document the mips option -mno-crt0
11685 1999-12-02 Mike Karr <mkarr@mathworks.com>
11687 * cccp.c (argdata): Added free_ptr member.
11688 (macroexpand): Initialize free_ptr of each argument. When an
11689 argument's buffers are freed, if the argument's free_ptr corresponds
11690 to a buffer on the input stack, then return the free_ptr to that stack
11691 frame, otherwise, free it.
11692 (macarg): If an argument begins and ends on the same input stack level,
11693 then transfer the free_ptr of that buffer to the argument in case
11694 the stack is popped during the processing of a subsequent argument.
11696 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
11698 * loop.c (note_reg_stored): New function.
11699 (struct note_reg_stored_arg): New structure.
11700 (try_copy_prop): Change to be more conservative; only replace within
11701 one extended basic block and stop replacing if a store to the
11702 replacement reg is seen.
11704 1999-12-02 Nick Clifton <nickc@cygnus.com>
11706 * config/fp-bit.c: Initialise all fields of the NAN
11709 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11712 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
11714 * i386.md (extend?f?f2): Force the input into a register, not
11717 1999-12-01 Jakub Jelinek <jakub@redhat.com>
11719 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11721 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11722 alternative because setting up 64bit constant is usually costly,
11723 especially when reload is in progress or completed.
11724 (movdf_const_intreg_sp64): Likewise.
11725 (movdf_const_intreg split): Fix building up constants when
11726 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11728 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
11730 * combine.c (if_then_else_cond): Use const_true_rtx instead of
11731 const1_rtx for return values in EQ/NE comparison against (const_int 0)
11734 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11735 (asm_file_start): Emit .am33 into assembly file when compiling for
11737 (print_operand_address): Handle POST_INC addresses.
11738 (can_use_return_insn, initial_offset): Check AM33 registers too.
11739 (expand_prologue): Check & save AM33 registers too.
11740 (expand_epilogue): Similarly.
11741 (secondary_reload_class): Handle AM33 specific secondary reloads.
11742 (output_tst): Emit efficient code for the AM33 too.
11743 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11744 (TARGET_SWITCHES): Add -mam33 switch.
11745 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11746 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11747 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11748 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11749 (enum reg_class, REG_CLASS_NAMES): Likewise.
11750 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11751 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11752 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11753 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11754 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11755 (HAVE_POST_INCREMENT): Define.
11756 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11757 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11758 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11759 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11760 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11761 (zero_extend to SI from QI/HI): Likewise.
11762 (sign_extend to SI from QI/HI): Likewise.
11763 (mulsidi3, umulsidi3): New patterns for the AM33.
11764 (tstsi with zero extension from QI/HI): Add AM33 variants.
11765 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11766 (return_internal_regs, store_movm): Handle new AM33 registers.
11767 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11768 (LIBGCC, INSTALL_LIBGCC): Likewise.
11769 * invoke.texi: Document new flags.
11771 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
11773 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11774 (addsi3_carry): Likewise.
11775 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11776 (sbbsi3_carry): Likewise.
11777 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11778 (mulhi3): Likewise.
11779 (test?i_1): Ensure that only one operand is memory.
11780 (conditional move patterns): likewise.
11781 (shift and rotate patterns): Rewrite to expander, add
11782 "binary_operator_ok" to the condition.
11784 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11785 * i386.h (procesor_costs): Add movzbl_load field.
11786 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11787 non-Q registers, accept DImode registers anywhere.
11789 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11790 * i386.c (*_cost): Set value for movxbl_load field.
11792 * (addsi): New add to lea splitter.
11793 (ashlsi): Likewise.
11794 (lea to add/shift peep2): New.
11796 1999-12-01 Mark Salter <msalter@cygnus.com>
11798 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11799 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11800 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11802 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11804 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11805 * i386.md (movsi_xor): New.
11807 (movsi_1, movhi_1, movqi_1): Remove.
11808 (movsi_2): Rename to movsi_1.
11809 (movhi_2): Rename to movhi_1.
11810 (movqi_2): Rename to movqi_1.
11811 (movdi_1): Remove; remove splitter.
11812 (movdi_2): Rename to movdi_1.
11813 (divmodsi4 splitter): Do not emit clobbers for move patterns.
11814 (long move peep2): Do not create QI or HI mode mov0s
11815 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
11817 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
11820 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
11821 (abs?f2_if): Likewise.
11823 1999-11-30 Alex Samuel <samuel@codesourcery.com>
11825 * ggc.h (ggc_test_and_set_mark): New macro.
11826 (ggc_mark_rtx): Use ggc_test_and_set_mark.
11827 (ggc_mark_tree): Likewise.
11828 (ggc_mark_rtvec): Likewise.
11829 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
11831 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
11833 * dwarf2out.c (scope_die_for): Only handle types. Only search for
11835 (decl_scope_table): Just an array of trees now.
11836 (push_decl_scope): Simplify.
11837 (dwarf2out_init): Adjust.
11838 (local_scope_p): New fn.
11839 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
11840 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
11841 (gen_typedef_die): Likewise.
11842 (gen_lexical_block_die): Don't call push/pop_decl_scope.
11843 (gen_inlined_subroutine_die): Likewise.
11844 (gen_abstract_function): Set current_function_decl temporarily.
11845 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
11846 Handle block extern declarations. Don't call push/pop_decl_scope.
11847 (gen_decl_die): Fix logic for block externs.
11849 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11851 * calls.c (special_function_p): Remove `realloc' and add `strdup'
11852 to the list of functions which have attribute malloc by default.
11854 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11856 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
11857 integer constant does not match the traditional type, limit the
11858 warnings to cases where the base of the type is ten.
11860 * invoke.texi (-Wtraditional): Document it.
11862 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11864 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
11865 * rs6000.md: Only access a CONST_INT with INTVAL
11867 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
11869 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
11870 (compute_nearerout): Likewise.
11871 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
11872 size_t to unsigned long for formatting.
11874 1999-11-30 Jakub Jelinek <jakub@redhat.com>
11876 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
11877 Allow the user to override call-used/fixed state of %g2-5
11878 registers from the command line (with the exception of %g4 for
11880 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
11881 there is a higher chance of having a leaf function.
11882 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
11883 for ARCH64 which has %ccr register.
11884 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
11886 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
11887 insn accept into delay slot any insn which does not use %[ol]
11888 registers. Accept some LO_SUM and shift left by 1 for the normal
11890 (output_function_epilogue): Likewise.
11891 (epilogue_renumber): Added argument which inhibits any renumbering
11892 and just tests if the rtx does not use any %[ol] registers.
11893 (output_return): Reflect above change.
11895 1999-11-30 Jakub Jelinek <jakub@redhat.com>
11897 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
11898 aggregate passing for sizes <= 16 bytes.
11900 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
11902 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
11903 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
11904 * reload.c (find_dummy_reload): Likewise.
11905 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
11906 * reload1.c (reload_as_needed): Likewise.
11907 * stupid.c (stupid_find_reg): Likewise.
11908 * tm.texi (Obsolete Register Macros): Delete section.
11909 * gmicro.h: Remove all traces of the two macros.
11910 * i386.h: Likewise.
11911 * m88k.h: Likewise.
11912 * mips.h: Likewise.
11914 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
11916 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
11917 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
11918 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
11919 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
11920 units for the sparclite86x chip.
11921 (flush): Revert October 14th change; add SImode specifically.
11922 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
11923 * invoke.texi: Document it.
11925 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
11927 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
11928 psimode_truncation_operand.
11930 * config/mn10200/mn10200.c (psimode_truncation_operand): New
11931 function. Return true if the operand is either a MEM valid
11932 for a PSImode address or not a MEM at all.
11934 * config/mn10200/mn10200.md (truncsipsi2): Use
11935 psimode_truncation_operand.
11937 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11939 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
11940 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
11941 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
11942 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
11943 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
11944 (flow_loop_level_compute, low_loops_level_compute): Likewise.
11945 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
11946 * basic-block.h: Protect from multiple inclusion.
11947 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
11948 (struct loops, struct loop): Define structures.
11949 * sbitmap.c (sbitmap_a_subset_b_p): New function.
11950 * sbitmap.h: Protect from multiple inclusion.
11951 (sbitmap_a_subset_b_p): Add prototype.
11952 * Makefile.in (LOOP_H): New macro.
11953 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
11955 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
11957 * cppinit.c (CAT): The argument list of this macro may not contain
11960 1999-11-29 David S. Miller <davem@redhat.com>
11962 Move quantity tables and register equivalence chains into
11963 per-qty and per-register structure arrays respectively.
11964 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
11965 qty_const_insn, qty_comparison_code, qty_comparison_const,
11966 qty_comparison_qty): Delete, replace with...
11967 (qty_table): this structure table.
11968 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
11969 (reg_eqv_table): this structure table.
11970 (make_new_qty): Add argument MODE. Caller updated.
11971 Update to use qty_table and reg_eqv_table.
11972 (make_regs_eqv, delete_reg_equiv, insert_regs,
11973 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
11974 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
11975 cse_process_notes, cse_main, cse_basic_block): Likewise.
11977 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11979 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
11980 operation if C is negative.
11981 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
11982 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
11983 law for some divisions if constant is negative and change other
11984 divisions to the opposite rounding.
11986 * expr.c (store_constructor_field): If bit position is not multiple
11987 of alignment of TARGET's mode, use BLKmode.
11989 * expr.c (expand_expr_unaligned): Add more code from full case
11990 that is needed when OP0 is in a register.
11992 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11994 * dwarfout.c (field_byte_offset): Size can be zero if there was
11997 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
11999 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
12000 (associate_trees): Delete unused var TEM.
12001 (extract_muldiv): Delete unused var CANCEL_P.
12003 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
12004 (target_isinf, target_isnan, target_negative): Add return types to
12005 function definitions.
12007 1999-11-29 Bruce Korb <autogen@linuxbox.com>
12009 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12010 * fixinc/hackshell.tpl: ditto
12011 * fixinc/fixtests.c(double_slash_test): more C++ header testing
12012 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12014 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
12016 * reload.c (push_reload): When looking for a register to put into
12017 reg_rtx, make sure all hard regs in a multi-reg register are in the
12018 right class and nonfixed.
12020 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12021 pending_read_insns, pending_write_insns, pending_read_mems,
12022 pending_write_mems, pending_list_length, last_pending_memory_flush,
12023 last_function_call, sched_before_next_call): Move static variables
12025 (bb_ prefixed versions): Replace with single array bb_deps.
12026 (struct deps): New structure.
12027 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12028 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12029 argument of type "struct deps *"; use that instead of global
12030 variables. All callers changed.
12031 (init_rgn_data_dependencies): Delete function.
12032 (init_rtx_vector): Delete function.
12033 (init_deps): New function.
12035 (free_pending_lists): Simplify, we always use the bb_deps array even
12036 if only one basic block.
12037 (compute_block_backward_dependences): Likewise.
12038 (schedule_region): Likewise.
12040 (propagate_deps): New function, broken out of
12041 compute_block_backward_dependences.
12042 (compute_block_backward_dependences): Use it.
12044 * alpha.md: Delete useless patterns that tried to work around
12045 register elimination problems.
12047 * unroll.c (loop_iterations): Don't abort if iteration variable
12050 From Joern Rennecke:
12051 * reload1.c (reloads_conflict): Reverse test comparing operand
12052 numbers when testing for conflict between output/outaddr reloads.
12054 1999-11-29 David S. Miller <davem@redhat.com>
12056 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12058 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12060 1999-11-28 Robert Lipe <robertl@cygnus.com>
12062 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12063 table from .fini into .dtor.
12065 1999-11-28 Anthony Green <green@cygnus.com>
12067 * tree.h (struct tree_decl): Add malloc_flag.
12068 (DECL_IS_MALLOC): Define.
12069 * c-common.c (attrs): Add A_MALLOC attribute.
12070 (init_attributes): Add this attribute to the table.
12071 (decl_attributes): Handle malloc attribute.
12072 * calls.c (special_function_p): Check for the malloc attribute.
12073 * extend.texi (Function Attributes): Document malloc attribute.
12075 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
12077 * pa.md (reload shift-add patterns): Remove.
12079 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12081 * reorg.c (dbr_schedule) Print more statistics. Corrected
12082 problem when printing info when 3 delay slots are filled.
12084 1999-11-28 Jakub Jelinek <jakub@redhat.com>
12086 * combine.c (setup_incoming_promotions): Pass an outgoing
12087 regno to FUNCTION_ARG_REGNO_P which it expects.
12089 1999-11-28 Andreas Jaeger <aj@suse.de>
12091 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12093 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
12095 * cccp.c (do_include): Avoid initialization of automatic variable.
12097 * integrate.c (mark_stores): Function definition made void, to match
12098 previous declaration.
12099 * regclass.c (dump_regclass): Ditto.
12100 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12102 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12104 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12105 known to be multiple of divisor.
12107 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12109 * combine.c (try_combine): Add code to try to merge a set of a
12110 two-word pseudo to a constant with a setting of one of those words
12113 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12114 (split_tree): Completely rework to make more general.
12115 (make_range, fold): Call negate_expr.
12116 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12117 (fold, associate): Call new split_tree and associate_trees.
12118 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12120 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
12122 * loop.c (try_copy_prop): Avoid GNU C extension.
12124 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12126 * except.c (init_eh_for_function): Still zero eh_return_context,
12127 eh_return_stack_adjust, and eh_return_handler.
12129 * except.h (eh_status): Adjust documentation for x_protect_list.
12130 (begin_protect_partials): New function.
12131 * except.c (enqueue_eh_entry): Fix formatting.
12132 (get_first_handler): Add consistency check.
12133 (add_partial_entry): Adjust usage of protect_list.
12134 (emit_cleanup_handler): Save and restore ehqueue.
12135 (expand_start_all_catch): Add comment.
12136 (begin_protect_partials): New function.
12137 (end_protect_partials): Adjust usage of protect_list.
12138 (init_eh_for_function): Use xcalloc.
12140 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12142 * c-common.c (check_format_info): Don't call a variadic function
12143 with a non-literal format string.
12145 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12147 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12148 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12151 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12154 * collect2.c (collect_wait): Likewise.
12156 * dbxout.c (dbxout_type): Likewise.
12158 * gcc.c (do_spec_1): Likewise.
12160 * genemit.c (gen_insn, gen_expand): Likewise.
12162 * genrecog.c (write_switch, write_subroutine): Likewise.
12164 * mips-tfile.c (catch_signal, botch): Likewise.
12166 * print-rtl.c (print_rtx): Likewise.
12168 * toplev.c (default_print_error_function, report_error_function,
12169 _fatal_insn): Likewise.
12171 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12173 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12175 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12177 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12178 operations when needed.
12179 * i386.md (fop_?f_comm): New.
12180 (fop_?f_1): Do not accept commutative operands.
12182 1999-11-25 Andreas Jaeger <aj@suse.de>
12184 * config/mips/mips.md (casesi_internal): Add missing brace.
12186 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
12188 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12189 (splice_child_die): Handle moving a child DIE from the declaration
12190 DIE of a class to its specification.
12191 (gen_struct_or_union_type_die): Use 'complete' consistently.
12192 (gen_decl_die): Generate the virtual context DIE first.
12193 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12195 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
12197 * config/mips/mips.md (call_value_multiple_interanal1): New.
12199 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
12201 * dwarf2out.c (free_AT, free_die): New fns.
12202 (remove_children): Call them.
12203 (output_line_info): Disable removal of duplicate notes.
12205 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12206 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12207 means pretend the type isn't defined.
12208 Don't defer emitting types.
12209 (gen_type_die_for_member): New fn.
12210 (gen_decl_die): Call it.
12211 (splice_child_die): New fn.
12212 (gen_member_die): Call it rather than generate duplicate dies.
12214 Defer emitting information for the abstract instance of an inline
12215 until we either inline it or emit an out-of-line copy.
12216 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12217 from output_inline_function if DECL_ABSTRACT is also set.
12218 (block_ultimate_origin): Likewise.
12219 (gen_abstract_function): New fn.
12220 (gen_decl_die, gen_inlined_subroutine_die): Call it.
12221 (gen_subprogram_die): An abstract instance is not a declaration
12222 just because it doesn't match current_function_decl. Don't abort
12223 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
12224 has an abstract origin.
12225 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12226 abstract instance here.
12228 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
12230 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12231 where we need to reload fpul from a system register.
12233 1999-11-24 Andreas Jaeger <aj@suse.de>
12235 * config/mips/linux.h (CPP_PREDEFINES): Added.
12236 (LINK_SPEC): Remove -Y since this is only needed on sparc.
12238 1999-11-24 Andreas Jaeger <aj@suse.de>
12240 * config/mips/linux.h (TARGET_VERSION): Added.
12241 (HANDLE_SYSV_PRAGMA): Added.
12242 (DEFAULT_VTABLE_THUNKS): Added.
12244 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12246 * local-alloc.c (qty): New structure and static variable.
12247 (qty_phys_reg): Remove, all references changed to qty.
12248 (qty_n_refs): Likewise.
12249 (qty_min_class): Likewise.
12250 (qty_birth): Likewise.
12251 (qty_death): Likewise.
12252 (qty_size): Likewise.
12253 (qty_mode): Likewise.
12254 (qty_n_calls_crossed): Likewise.
12255 (qty_alternate_class): Likewise.
12256 (qty_changes_size): Likewise.
12257 (qty_first_reg): Likewise.
12258 (alloc_qty): Rename variable QTY to QTYNO.
12259 (finf_free_reg): Likewise.
12260 (local_alloc): Allocate qty, do not allocate the removed variables.
12262 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
12264 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12265 when -membedded-pic is passed.
12267 * config/mips/mips.md (casesi): Handle 64-bit case too.
12268 (casesi_internal_di): New insn.
12270 * config/mips/mips.c (embedded_pic_offset): Always make the
12271 embedded-pic subtractions relative to the name of the current
12272 function by use of the magic string "..CURRENT_FUNCTION".
12273 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12275 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
12277 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12278 of (const_int 0), when what we really care about is
12279 whether it's a zero constant anyway.
12280 (div_trap_mips16): Likewise.
12282 1999-11-23 Mark Mitchell <mark@codesourcery.com>
12284 * loop.c (loop_optimize): Always find_loop_tree_blocks and
12285 unroll_block_trees when generating debuggable code.
12287 * tree.h (unsave_expr_1): New function.
12288 (lang_unsave): New variable.
12289 (get_callee_fndecl): New function.
12290 * tree.c (unsave_expr_now_r): New function.
12291 (lang_unsave): Define.
12292 (unsave_expr_1): Likewise.
12293 (unsave_expr_now_r): Split out from unsave_expr_now.
12294 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
12295 call unsave_expr_now_r.
12296 (get_callee_fndecl): Define.
12298 * Makefile.in (gencheck): Don't depend on lang_tree_files.
12299 (gencheck.o): Do depend on lang_tree_files.
12301 * integrate.h (copy_decl_for_inlining): New declaration.
12302 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12303 (copy_decl_for_inlining): New function.
12304 (integrate_parm_decls): Use it.
12305 (integrate_decl_tree): Likewise.
12307 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
12309 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12310 the second two from the first.
12311 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12312 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12313 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12315 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12316 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12319 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
12321 * pa.md (call_internal_symref, call_value_internal_symref): No mode
12322 needed on the address operand.
12323 * pa.c (call_operand_address): Check for the correct mode.
12325 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
12327 * loop.c: Include "basic-block.h".
12328 (try_copy_prop, replace_loop_reg): New functions.
12329 (load_mems): Detect registers that just hold copies of the hoisted
12330 mem, and call try_copy_prop to eliminate them.
12331 * Makefile.in (loop.o): Update dependencies.
12333 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
12335 * Makefile.in (gencheck.o): Depend on gencheck.h.
12336 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12337 (insn-peep.o): Depend on except.h and function.h.
12338 (insn-attrtab.o): Depend on RECOG_H.
12339 (insn-output.o): Depend on toplev.h and flags.h.
12340 (gengenrtl.o): Depend on real.h.
12341 (gen-protos.o): Depend on cpplib.h and cpphash.h.
12342 Unify all dependencies to be on RECOG_H rather than recog.h.
12344 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12346 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12347 * configure.in: Try building a bi-arch 32/64-bit compiler on
12348 sparc-*-solaris2.7 and higher.
12349 * configure: Rebuild.
12351 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
12353 * config/freebsd.h: New, FreeBSD architecture independent file.
12354 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12355 independent pieces.
12356 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12357 directly by i386/freebsd.h.
12358 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12359 independent configuration file.
12360 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12361 directly by i386/freebsd.h.
12362 * configure: Rebuilt.
12364 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12365 which is in the user's namespace.
12366 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12367 `i386' which is not in our namespace.
12369 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
12371 * invoke.texi (ARM Options): Add in -mno-alignment-traps
12373 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12375 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12376 (add_dwarf_attr, add_child_die): Just push onto the front.
12377 (reverse_die_lists): New fn.
12378 (add_sibling_attributes): Use it.
12379 (push_decl_scope): Reorganize.
12380 (add_name_and_src_coords_attributes): Don't set file and line for
12381 an artificial decl.
12382 (gen_subprogram_die): An artificial function doesn't need to match
12384 (gen_compile_unit_die): Return the generated die. Only add
12385 AT_comp_dir if the filename is relative.
12386 (remove_AT): Simplify loop. Also free string values.
12387 (output_die): A DIE ref can't be null.
12388 (output_value_format, value_format): Take a dw_attr_ref.
12389 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12390 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12391 AT_addr, AT_lbl): New fns.
12392 (various): Use them.
12393 (various): Constify.
12395 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12397 * combine.c (combine_simplify_rtx): When handling a SUBREG,
12398 take SUBREG_WORD into account.
12399 (if_then_else_cond): Likewise.
12401 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12403 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12404 clause from BSD license, pursuant with
12406 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12408 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
12410 * loop.c (load_mems): Reformat slightly.
12411 * basic-block.h (regset_head): New typedef.
12412 (INIT_REG_SET): New macro.
12414 1999-11-22 Bruce Korb <autogen@linuxbox.com
12416 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12417 (mips-dec-bsd*): non-functional code
12418 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12420 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12421 added three replacement fixes
12422 (no_double_slash): removed comments that are not (any longer) pertinent
12423 (bad_lval): this fix currently runs against many files.
12424 The comment seems to indicate that we should select for files
12425 containing 'pragma extern_prefix'.
12427 * fixinc/fixinc.x86-linux-gnu: deleted
12428 * fixinc/inclhack.sh: regen
12429 * fixinc/fixincl.x: regen
12430 * fixinc/fixincl.sh: regen
12432 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
12434 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12435 its code is INSN and it has no notes.
12437 1999-11-22 Andrew Haley <aph@cygnus.com>
12439 * varasm.c (function_defined): Remove.
12440 (make_function_rtl): Don't set function_defined.
12441 (make_decl_rtl): Remove global register warning.
12442 * regclass.c (no_global_reg_vars): New variable.
12443 (globalize_reg): Warn if function has already been defined.
12444 (regclass_init): Set no_global_reg_vars.
12446 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12448 * regclass.c (reg_pref): New structure and static variable
12449 (prefclass): Delete.
12450 (altclass): Delete.
12451 (all uses of prefclass and altclass): Use reg_pref instead.
12453 1999-11-21 Nick Clifton <nickc@cygnus.com>
12455 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12457 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12458 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12459 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12461 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
12463 * varasm.c (output_constructor): Solve problem with long long
12464 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12466 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12468 * global.c (allocno): New structure and static variable.
12469 (allocno_reg): Remove, all references replaced by allocno.
12470 (allocno_size): Likewise.
12471 (hard_reg_conflicts): Likewise.
12472 (hard_reg_preferences): Likewise.
12473 (hard_reg_copy_preferences): Likewise.
12474 (hard_reg_full_preferences): Likewise.
12475 (regs_someone_prefers): Likewise.
12476 (allocno_calls_crossed): Likewise.
12477 (allocno_n_refs): Likewise.
12478 (allocno_live_length): Likewise.
12479 (find_reg): Rename ALLOCNO to NUM.
12481 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12482 references updated.
12483 (may_move_out_cost): New variable.
12484 (init_reg_sets_1): Initialize may_move_out_cost.
12485 (record_reg_classes): Use may_move_out_cost.
12487 * regclass.c (dump_regclass): New function.
12488 (regclass): New parameter DUMP, call DUMP_REGCLASS.
12489 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12490 pass rtl_dump_file to regclass.
12491 * rtl.h (regclass): Update prototype.
12493 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12495 * i386.md (neg, not and abs patterns): Revmap to use
12496 ix86_expand_unary_operator and ix86_unary_operator_ok.
12497 (add?f and sub?f expanders): Force operand 1 to register.
12498 * i386.c (ix86_expand_unary_operator): Rewrite.
12499 (ix86_unary_operator_ok): Ensure that memory operands
12501 (ix86_binary_operator_ok): Do not allow operand 1 to
12502 come into memory and operand 0 not.
12503 (ix86_expand_binary_operator): Ensure that
12504 src1 is not non-matching memory.
12506 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12507 to support integer registers and memory.
12508 (abss?2_integer): Likewise.
12510 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12511 (REG_CLASS_NAMES): Likewise.
12512 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12514 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12515 (movsf): Likewise; unify 4th and 5th alternative.
12516 (pushdf): Likewise.
12517 (movdf_1): Likewise; rename to movdf_integer.
12518 (pushxf): Likewise; rename to pushxf_integer; fix output template;
12519 remove redundant splitter.
12520 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12521 (movdf_nointeger): New.
12522 (movxf_nointeger): New.
12523 (pushxf_nointeger): New.
12525 * i386.md (extend?f?f): Split to expander and pattern, refuse two
12526 memory operands in patterns.
12527 (fop*): Refuse two memory operands.
12529 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12530 on !TARGET_USE_CLTD CPUs.
12532 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
12534 * extend.texi: Document C++ restricted pointers and references.
12536 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
12538 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12539 (invalidate_skipped_set): Call it unconditionally.
12540 (cse_set_around_loop): Likewise.
12542 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12544 * rtl.texi (mem): Add documentation for alias-set argument
12547 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12549 * i386.h (struct_processor_costs): New fields int_load, int_store,
12550 fp_move, fp_load and fp_store
12551 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12553 (MEMORY_MOVE_COST): New macro.
12554 * i386.c (386_cost): Define new fields.
12555 (i486_cost): Likewise.
12556 (pentium_cost): Likewise.
12557 (pentiumpro_cost): Likewise.
12558 (k6_cost): Likewise.
12560 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
12561 Geoffrey Keating <geoffk@cygnus.com>
12563 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12565 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12568 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12569 (TARGET_STRICT_ALIGNMENT): New macro.
12570 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12571 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12572 * invoke.texi (M680x0 Options): Document -mstrict-align.
12574 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
12575 Richard Henderson <rth@cygnus.com>
12577 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12578 (ix86_split_long_move): Declare.
12579 * i386.c (split_xf, ix86_split_movdi): Remove.
12580 (ix86_split_to_parts, ix86_split_long_move): New.
12581 * i386.md (dimode move splitters): Use ix86_split_long_move.
12582 (dfmode move splitters): Likewise.
12583 (xfmode move splitters): Likewise.
12584 (movsf_1): Allow F->r.
12585 (movdf_1, movxf_1): Allow F->ro.
12587 1999-11-17 Mark Mitchell <mark@codesourcery.com>
12589 * except.h (struct eh_entry): Add goto_entry_p.
12590 (eh_region_from_symbol): Remove prototype.
12591 * except.c (find_func_region_from_symbol): New function.
12592 (emit_cleanup_handler): Likewise.
12593 (eh_region_from_symbol): Make it static.
12594 (add_new_handler): Verify the argument.
12595 (find_func_region): Update comment.
12596 (expand_eh_region_end): Expand handlers here, rater than waiting
12597 until expand_leftover_cleanups or start_all_catch.
12598 (expand_leftover_cleanups): Don't expand here.
12599 (expand_start_all_catch): Or here.
12600 (expand_rethrow): Check the return value from find_func_region.
12601 * function.c (expand_function_end): Emit the catch_clauses.
12603 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
12605 * integrate.c (expand_inline_function): Add necessary check for NULL.
12607 1999-11-18 Nick Clifton <nickc@cygnus.com>
12609 * toplev.c (main): Correctly detect an unrecognised option.
12611 * cppinit.c (cpp_handle_option): Do not claim to have consumed
12612 a -f option if it has not been recognised.
12614 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
12616 * basic-block.h (update_life_extent): Remove trailing comma on
12617 enumeration type list.
12619 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12621 * varasm.c (output_constructor) Solved problem with long long
12622 bitfields. Corrected calculating this_time and shift. Also
12623 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12625 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
12627 * flow.c (split_edge): Take looping structure into account when
12628 determining where to put the new block note.
12630 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
12632 * Makefile.in (ggc-none.o): Provide host specific version if
12635 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
12637 * cse.c (delete_trivially_dead_insns): Identify no-op insns
12638 containing subregs too.
12640 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12642 * invoke.texi: Add documentation for -muninit-const-in-rodata.
12643 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12644 (TARGET_UNINIT_CONST_IN_RODATA): Define.
12645 (text_section): Add switches -munint-const-in-rodata and
12646 -mno-uninit-const-in-rodata.
12647 (ASM_OUTPUT_COMMON): Remove.
12648 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12649 const objects should be placed in read-only data. Otherwise declare
12652 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
12654 * jump.c (jump_optimize_1): Revert last change.
12656 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
12658 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12659 test if optimizing for size.
12661 1999-11-17 Mark Mitchell <mark@codesourcery.com>
12663 * Makefile.in (toplev.o): Depend on except.h.
12664 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12666 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12668 * i386.md (divmodsi4): Rewrite to expander.
12669 (*divmodsi4_nocltd): New.
12670 (*divmodsi4_cltd): New.
12671 (divmodsi4 splitter): Handle the case when input comes in edx.
12672 (udivmodhi4): Do not use constraints in exander.
12673 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12675 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
12677 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12678 for the common case.
12680 1999-11-16 Jakub Jelinek <jakub@redhat.com>
12682 * explow.c (hard_function_value): Add outgoing argument.
12683 * expr.h (hard_function_value): Declare it.
12684 * calls.c (expand_call, emit_library_call_value): Update callers.
12685 * function.c (aggregate_value_p): Ditto.
12686 (diddle_return_value): Must look at the outgoing registers
12687 on archs with register windows.
12689 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
12691 * alpha.c (alpha_build_va_list): Use make_lang_type and
12692 initialize TYPE_NAME for the va_list record.
12694 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12696 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12698 * ggc.h (struct ggc_statistics): Rearrange elements for better
12699 packing on 64-bit hosts.
12700 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12701 (compute_nearerout): Likewise.
12703 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
12705 * config/rs6000/rs6000.c (first_reg_to_save): Save
12706 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12708 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
12710 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12711 notion of nesting to find the DIE for a type or function.
12712 DIEs can go in limbo even if we got a context_die.
12713 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12714 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12716 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12717 (gen_type_die): Writing out the context doesn't cause member class
12718 template instantiations to be written out as well.
12720 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
12722 * rs6000.h (ASM_OUTPUT_DEF): New.
12723 Based on proposed addition from David Edelsohn.
12725 1999-11-15 Robert Lipe <RobertLipe@usa.net>
12726 Bruce Korb <autogen@linuxbox.com>
12728 * fixinc/inclhack.def
12729 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
12730 (unixware7_byteorder_fix): added. Removes conflicts for new defs
12732 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
12733 (svr4_endian): enabled with SVR5
12734 (svr4_mkdev): simplified syntax and enabled with SVR5
12736 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
12738 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12739 * configure: Rebuilt.
12740 * config/t-freebsd-thread: New file.
12742 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
12744 * i386.c (ix86_decompose_address): Verify the base is a REG
12745 before trying to examine its register number.
12747 * basic-block.h: Remove all #defines and prototypes related to
12749 (free_bb_mem, compute_preds_succs): Remove prototype.
12750 * rtl.h (free_bb_mem): Remove prototype.
12751 * flow.c (alloc_int_list_node); Remove function.
12752 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12753 (compute_preds_succs, free_bb_mem): Likewise.
12754 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12755 * toplev.c (rest_of_compilation): Likewise.
12756 * haifa-sched.c (build_control_flow): Use flow generated edge
12757 list to build the haifa specific edge list.
12758 (find_rgns): Use new CFG data structures instead of pred/succ lists.
12759 (schedule_insns): Do not build pred/succ lists anymore. Instead
12760 build the edge table.
12762 * basic-block.h (dump_bb_data): Remove declaration.
12763 * flow.c (dump_bb_data): Remove function.
12764 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12765 (sbitmap_union_of_predsucc): Likewise.
12767 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12768 argument. All callers changed.
12769 (delete_null_pointer_checks_1): No longer need to compute the
12772 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12773 All callers changed.
12774 (pre_expr_reaches_here_p_work): Likewise.
12775 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12776 * lcm.c (compute_laterin): Fix initialization of LATER.
12777 (compute_nearerout): Similarly for NEARER.
12779 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12781 * cse.c (set_nonvarying_address_components): Delete unused function.
12782 (refers_to_p): Likewise.
12784 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
12786 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12789 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12791 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12792 definition in do while (0).
12794 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
12796 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12798 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
12800 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12802 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
12804 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12805 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12806 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12807 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
12809 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
12810 saved on the stack. Output more accurate stack frame statistics
12811 into assembler file.
12813 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
12815 * genextract.c (record_insn_name): New function.
12816 (get_insn_name): No longer a stub.
12817 (main): Call record_insn_name for each insn. After each label
12818 written, print the insn name in a comment.
12820 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12822 * output.h (const_section, init_section, fini_section): Add
12825 * alpha/elf.h (const_section): Delete declaration.
12827 * svr4.h (const_section): Likewise.
12829 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
12831 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
12832 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
12833 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
12835 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
12836 variable-sized array bounds.
12838 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
12840 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
12843 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12845 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
12846 addresses the same way GO_IF_LEGITIMATE_INDEX does.
12848 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12850 * cse.c (hash_arg_in_struct): Delete.
12851 (struct table_elt): Delete elt in_struct.
12852 (struct set): Delete elt src_in_struct.
12853 (merge_equiv_classes): Don't set either hash_arg_in_struct or
12854 the corresponding in_struct elts.
12855 (canon_hash): Likewise.
12856 (safe_hash): Likewise.
12857 (find_best_addr): Likewise.
12858 (record_jump_cond): Likewise.
12859 (cse_insn): Likewise.
12861 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
12863 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
12865 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
12868 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
12870 * function.c (diddle_return_value): Put back check that the DECL_RTL
12871 for the function is a register.
12873 * function.c (diddle_return_value): Use hard_function_value to
12874 get an rtx suitable for use in the USE/CLOBBER insn.
12876 * global.c (global_conflicts): Update comments.
12877 (record_conflicts): No need to record conflicts between pseudos here.
12879 1999-11-11 Bruce Korb <autogen@linuxbox.com>
12881 * fixinc/fixincl.c: Added verbose levels for status messages
12883 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12885 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
12886 operand as argument to expand_and or expand_binop.
12888 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
12890 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
12891 gcc_add_string_root.
12893 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
12895 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
12897 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
12899 * flow.c (compute_flow_dominators): Initially put all blocks on
12901 * lcm.c (compute_antinout_edge, compute_available): Similarly.
12902 * gcse.c (compute_cprop_avinout): Remove.
12903 (compute_cprop_data): Use compute_available.
12904 (delete_null_pointer_checks_1): Use compute_available.
12906 * basic-block.h (compute_available): Returns a void now.
12907 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
12908 to return a value anymore.
12909 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
12910 worklists. Fix boundary cases. Compute maximal solutions.
12911 (compute_laterin, compute_nearerout): Similarly.
12913 * dwarf2out.c (add_AT_location_description): Allow
12914 (mem (plus (pseudo) (...)) too.
12916 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
12918 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
12920 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
12921 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12923 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
12925 * gansidecl.h: Likewise.
12931 * toplev.h: Likewise.
12933 * tree.c: Likewise.
12935 * tree.h: Likewise.
12937 * varray.c: Likewise.
12939 * varray.h: Likewise.
12941 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
12943 * gcov.c (struct arcdata): Add hits and total, remove prob.
12944 (output_branch_counts): New.
12945 (process_args): Set output_branch_counts if -c.
12946 (calculate_branch_probs): Store hits and total instead of
12948 (output_data): Emit counts if output_branch_counts is true.
12949 * gcov.texi (Invoking Gcov): Document -c switch..
12951 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
12953 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
12954 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
12956 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
12958 * invoke.texi (C Dialect Options): Add missing builtins from
12959 c-common.c to list.
12960 * extend.texi (Other Builtins): Copy to this list.
12962 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12964 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
12965 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
12966 redundant bitmap.h.
12968 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
12970 * flow.c (compute_flow_dominators): No longer treat basic block 0
12971 or (n_basic_blocks - 1) specially. Clear the AUX field before
12972 starting computation of doms/pdoms. Fix initial state for pdoms.
12974 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12976 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
12977 match rtl.o's: added ggc.h and toplev.h
12978 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
12979 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
12980 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
12982 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
12984 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
12985 from HAVE_DOS_BASED_FILESYSTEM.
12986 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
12987 HAVE_DOS_BASED_FILESYSTEM.
12989 (split_directories): Only special-case DOS file names if
12990 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
12991 instead of explicit tests. Conditionalize on !VMS.
12992 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
12993 tests. Conditionalize on !VMS.
12994 (process_command): Only use make_relative_prefix if !VMS.
12995 (free_split_directories): Conditionalize on !VMS.
12996 (DIR_UP): Conditionalize on !VMS.
12998 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
13000 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
13002 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
13004 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13007 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
13009 * invoke.texi (Environment Variables): Document relative path
13011 * gcc.c (DIR_UP): If not defined, define as "..".
13012 (standard_bindir_prefix): New static, holds target location to
13014 (split_directories): New function to split a filename into
13015 component directories.
13016 (free_split_directories): New function, release memory allocated
13017 by split_directories.
13018 (make_relative_prefix): New function, make a relative pathname if
13019 the compiler is not in the expected location.
13020 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13021 can figure out an appropriate prefix from argv[0].
13022 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13023 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
13024 STANDARD_BINDIR_PREFIX.
13026 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13028 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
13030 * config/c4x/c4x.h: Moved prototypes to c4x.h.
13031 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13032 c4x_secondary_memory_needed) Delete.
13033 (fp_zero_operand): Add mode argument.
13035 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
13037 * reload1.c (reload_reg_free_for_value_p): Don't use a register
13038 that is in reload_reg_used.
13040 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
13042 * config/arm/arm-protos.h: New file: Prototypes for functions
13043 defined in arm.c and pe.c.
13044 * config/arm/arm.h: Fix compile time warnings.
13045 * config/arm/arm.c: Fix compile time warnings.
13046 * config/arm/pe.h: Fix compile time warnings.
13047 * config/arm/aout.h: Fix compile time warnings.
13049 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
13051 * config/m32r/m32r-protos.h: New file: Prototypes for functions
13054 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13055 Add support for subtargets.
13056 Add prototypes for new predicates.
13057 Add scheduling macros.
13059 * config/m32r/m32r.c: Fix compile time warnings.
13060 (int8_operand): New predicate function.
13061 (reg_or_cmp_int16_operand): New predicate function.
13062 (extend_operand): New predicate function.
13063 (m32r_adjust_code): New scheduling function.
13064 (m32r_adjust_priorty): New scheduling function.
13065 (m32r_sched_init): New scheduling function.
13066 (m32r_sched_reorder): New scheduling function.
13067 (m32r_sched_variable_issue): New scheduling function.
13068 (direct_return): New codegen function.
13069 (m32r_not_same_reg): New rtl testsing function.
13071 * config/m32r/m32r.md: Fix compile time warnings.
13072 Add support for pre decrement and post increment memory
13074 Add S<cc> patterns.
13077 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13079 * global.c (EXECUTE_IF_CONFLICT): Don't define.
13080 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13081 (find_reg): Likewise.
13083 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
13085 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13086 to avoid assembler errors.
13088 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
13090 * config/v850/v850-protos.h: New file: Prototypes for functions
13092 * config/v850/v850.h: Move prototypes to v850-protos.h
13093 * config/v850/v850.c: Move prototypes to v850-protos.h
13094 * config/v850/v850.md: Fix compile time warnings.
13096 * config/fr30/fr30-protos.h: New file: Prototypes for functions
13098 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13099 * config/fr30/fr30.c: Fix compile time warnings.
13100 * config/fr30/fr30.md: Fix compile time warnings.
13102 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
13104 * tree.h (get_containing_scope): Declare it.
13105 * tree.c (get_containing_scope): New fucntion.
13106 (decl_function_context): Use it.
13107 * toplev.c (rest_of_compilation): Use get_containing_scope.
13109 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13111 * Makefile.in (rtl.o): Depend on toplev.h.
13113 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
13115 * cse.c (delete_trivially_dead_insns): Replace alloca with
13117 * except.c (update_rethrow_references): Likewise.
13118 (init_eh_nesting_info): Likewise.
13119 * function.c (identify_blocks): Likewise.
13120 * gcse.c (dump_hash_table): Likewise.
13121 * graph.c (print_rtl_graph_with_bb): Likewise.
13122 * loop.c (combine_movables): Likewise.
13123 (move_movables): Likewise.
13124 (count_loop_regs_set): Likewise.
13125 (strength_reduce): Likewise.
13126 * profile.c (compute_branch_probabilities): New function, split
13128 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
13129 * regclass.c (regclass): Likewise.
13130 * regmove.c (regmove_optimize): Likewise.
13131 * toplev.c (compile_file): Likewise.
13132 (main): Don't mess with the stack rlimit.
13134 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
13136 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13137 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13139 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
13141 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13143 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
13145 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13146 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13149 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
13151 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13153 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
13155 * gcse.c (post_dominators): Kill.
13156 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13157 (compute_code_hoist_data): Use compute_flow_dominators. Do not
13158 pass in a pdom array since we do not need pdoms.
13159 * haifa-sched.c (schedule_insns): Similarly.
13160 * flow.c (compute_dominators): Remove dead function.
13161 (compute_flow_dominators): Do not compute doms or pdoms if the
13162 caller does not request them. Split up loop to build doms and
13163 pdoms. Use a worklist to compute doms and pdoms.
13164 * basic-block.h (compute_dominators): Remove prototype.
13166 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
13168 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13169 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13170 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13171 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13172 (cant_move, fed_by_spec_load, is_load_insn): Remove.
13173 (schedule_region): Remove unused variable.
13174 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13176 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
13178 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13179 (update_equiv_regs): Likewise.
13180 (block_alloc): Likewise.
13181 * reg-stack.c (reg_to_stack): Likewise.
13182 (convert_regs_2): Likewise.
13183 * reload1.c (reload_as_needed): Likewise.
13185 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
13187 * Makefile.in (dbxout.o): Depend on ggc.h.
13188 (dwarf2out.o): Likewise.
13189 (xcoffout.o): Likewise.
13190 * dbxout.c: Include ggc.h.
13191 (dbxout_init): Register lastfile as a root.
13192 * dwarf2out.c: Include ggc.h.
13193 (dwarf2out_line): Register lastfile as a root.
13194 * xcoffout.c: Include ggc.h.
13195 (xcoffout_source_line): Register xcoff_lastfile as a root.
13197 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
13199 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13201 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
13203 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13205 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13207 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13209 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13210 (EXECUTE_IF_CONFLICT): Likewise.
13211 (ALLOCNO_LIVE_P): Avoid signed division.
13212 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13213 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13214 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13216 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
13218 * haifa-sched.c (schedule_block): Don't crash if there's no
13219 next insn for an interblock movement.
13220 (add_branch_dependences): Don't allow clobber insns to move either.
13222 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
13224 * i386.c (split_xf): New.
13225 * i386-protos.h: Declare it.
13226 * i386.md (movxf_1): Add general regs alternatives.
13227 (movxf_1+1): New splitter for same.
13229 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
13231 * function.c (purge_addressof_1): Add missing return values.
13233 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
13235 * function.c (is_addressof): New function. Returns true if
13236 the given piece of RTL is an ADDRESSOF.
13237 (purge_addressof_1): Make boolean. Return false if the
13238 ADDRESSOFs could not be purged.
13239 (purge_addressof): If ADDRESSOFs could not be purged from the
13240 notes attached to an insn, remove the offending note(s),
13241 unless they are attached to a libcall.
13243 1999-11-05 Andreas Jaeger <aj@suse.de>
13245 * genoutput.c (null_operand =): Initialize all fields.
13247 * errors.h: Add extern to prototypes.
13249 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
13251 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13252 * configure: Rebuilt.
13254 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13256 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13257 (mirror_conflicts): New function.
13258 (global_alloc): Call it.
13259 (expand_preferences): Remove redundant CONFLICTP test.
13260 (find_reg, dump_conflicts): Likewise.
13261 (prune_preferences): Process conflicts one word at a time.
13263 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
13265 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13266 instead of an explicit loop.
13268 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
13270 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
13271 if REG_RETVAL check succeeds, then put classp in src_elt.
13273 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
13275 * function.c (pad_to_arg_alignment): Only update argument_pad
13276 if the argument's alignment is greater than STACK_BOUNDARY.
13278 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
13280 * bitmap.h (BITMAP_XFREE): New.
13281 * flow.c (life_analysis): Use it.
13282 (life_analysis_1): Free blocks.
13284 * combine.c (undo_commit): New.
13285 (try_combine): Use it. Don't zap undobuf.undos.
13286 (combine_instructions): Don't zap undobuf.undos; free the
13287 undobuf.frees list.
13289 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13291 * stmt.c (cost_table_): New.
13292 (estimate_case_costs): Use it instead of xmalloc.
13294 * toplev.c (compile_file): Reuse dumpname memory instead
13297 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
13299 * reg-stack.c (convert_regs_1): Initialize target_stack->top
13300 after verifying an EH edge.
13302 * haifa-sched.c (init_rgn_data_dependences): Correctly
13303 size bb_pending_lists_length when zeroing.
13305 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
13307 * function.c (diddle_return_value): New.
13308 (expand_function_end): Use it.
13309 * stmt.c (expand_null_return): Likewise.
13310 (expand_value_return): Likewise.
13312 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13314 * reload1.c (reload): Don't remove return value clobbers.
13316 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
13318 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13320 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
13322 * cse.c (cse_main): Use xmalloc, not alloca.
13323 (cse_basic_block): Likewise.
13324 * local-alloc.c (local_alloc): Likewise.
13326 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
13327 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13329 * rtl.c: Include toplev.h.
13330 (fatal): Remove declaration.
13332 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
13334 * haifa-sched.c (schedule_block): Fix thinko.
13336 1999-11-03 James McKelvey <mckelvey@fafnir.com>
13338 * fixinc/fixincl.c(create_file): Allow for systems that do not have
13339 S_IR* defined values
13341 1999-11-03 Philippe De Muyter <phdm@macqel.be>
13343 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13344 call `malloc' instead.
13346 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
13348 * flags.h (flag_renumber_insns): Declare.
13349 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
13351 * rtl.h (renumber_insns): Change prototype.
13352 * toplev.c (flag_renumber_insns): Define.
13353 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13355 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
13357 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13358 and fpsqrtd. Use them and create fdiv function unit to more
13359 accurately represent fpu sqrt pipeline semantics on UltraSparc.
13360 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13362 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
13364 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13366 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13367 insn into ready list, do not use just a raw swap.
13369 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
13371 * rtl.h (renumber_insns): New function.
13372 (remove_unnecessary_notes): Likewise.
13373 * emit-rtl.c (renumber_insns): Define.
13374 (remove_unncessary_notes): Likewise.
13375 * toplev.c (rest_of_compilation): Remove dead code.
13376 Use renumber_insns and remove_unncessary_notes.
13378 * gcse.c (struct null_pointer_info): New type.
13379 (get_bitmap_width): New function.
13380 (current_block): Remove.
13381 (nonnull_local): Likewise.
13382 (nonnull_killed): Likewise.
13383 (invalidate_nonnull_info): Take a null_pointer_info as input.
13384 (delete_null_pointer_checks_1): New function.
13385 (delete_null_pointer_checks): Use it.
13387 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13388 (split_edges): Likewise.
13389 (schedule_block): Likewise.
13390 (compute_block_backward_dependencies): Likewise.
13391 (schedule_region): Likewise.
13392 (schedule_insns): Likewise.
13394 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
13396 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13397 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13398 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13399 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13400 * jump.c (delete_unreferenced_labels): Don't delete if
13401 LABEL_ALTERNATE_NAME is set.
13402 * print-rtl.c (print_rtx): Dump alternate name.
13403 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13404 * rtl.h (LABEL_ALTERNATE_NAME): Define.
13405 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13406 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13408 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13410 * fix-header.c (recognized_extern, recognized_function): Constify
13413 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13414 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13415 (compute_available): Remove unused variable `last'.
13416 (compute_nearerout): Remove unused variable `temp_bitmap'.
13417 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13418 Remove unused variable `x'.
13420 * scan.h (recognized_function, recognized_extern): Constify a
13423 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13425 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13427 * varasm.c (decode_rtx_const): Use XSTR to access the string
13430 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
13432 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13434 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13436 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13438 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
13440 * pa.c (ireg_operand): New function.
13441 * pa.h (PREDICATE_CODES): Handle ireg_operand.
13442 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13443 Fix out of date comment.
13445 * pa.md (negdi2): Turn into expander + anonymous pattern.
13447 * reload.c (find_reloads): Fix typos in recent change.
13449 * dwarf2out.c: Do not include ctype.h.
13451 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13453 * regclass.c (record_reg_classes): Always use may_move_cost when
13454 seeing how operand fits with various register classes.
13456 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
13458 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13459 * toplev.c: Revert Nov 1 13:22 change.
13461 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
13463 * config/pa/pa.md (height reduction patterns): Add checks for
13464 overlapping operands to avoid semantic-destroying splits for
13465 height reduction patterns.
13467 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13469 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13470 have been an hyphen, fixed.
13471 * configure: Rebuilt.
13473 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
13475 * config/arm/tpe.h: Add prototypes for exported functions.
13476 * config/arm/pe.c: Fix compile time warnings.
13477 * config/arm/semi.h: Fix compile time warnings.
13478 * config/arm/arm.c: Fix compile time warnings.
13479 * config/arm/arm.h: Fix compile time warnings.
13480 * config/arm/arm.md: Fix compile time warnings.
13481 * config/arm/thumb.c: Fix compile time warnings.
13482 * config/arm/thumb.h: Fix compile time warnings.
13483 * config/arm/thumb.md: Fix compile time warnings.
13485 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
13487 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13490 * unroll.c (unroll_loop): Remove LOOP notes when loop is
13491 completely unrolled.
13493 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13495 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13497 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
13499 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13500 * rtl.h (rtx_equal_p): Move prototype.
13501 * rtl.c (rtx_equal_function_value_matters): Move from
13503 (rtx_equal_p): Likewise.
13504 * rtlanal.c (rtx_equal_function_value_matters): Delete.
13505 (rtx_equal_p): Likewise.
13507 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
13509 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13510 ! HAS_INIT_SECTION.
13512 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
13514 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13516 * pa.h (ADDR_VEC_ALIGN): Define.
13518 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13519 notes when presented with "if (foo) break; end_of_loop" and
13520 the break sequence gets moved out of the loop.
13522 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13523 Remove explicit zero initializations of entries within MAP.
13525 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
13527 * reg-stack.c (convert_regs_1): Handle EH edges specially.
13529 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
13531 * bitmap.h (BITMAP_XMALLOC): New macro.
13532 * flow.c (CLEAN_ALLOCA): Remove.
13533 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13534 (life_analysis): Likewise.
13535 (update_life_info): Don't use CLEAN_ALLOCA.
13536 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13537 (calculate_global_regs_live): Likewise.
13538 (print_rtl_with_bb): Likewise.
13539 (verify_flow_info): Likewise.
13540 * global.c (global_alloc): Likewise.
13541 (global_conflicts): Likewise.
13542 * integrate.c (save_for_inline_nocopy): Likewise.
13543 (expand_inline_function): Likewise.
13544 * jump.c (jump_optimize_1): Likewise.
13545 (duplicate_loop_exit_test): Likewise.
13546 (thread_jumps): Likewise.
13547 * loop.c (loop_optimize): Likewise.
13548 (combine_givs): Likewise.
13549 (recombine_givs): Likewise.
13550 * reorg.c (dbr_schedule): Likewise.
13551 * unroll.c (unroll_loop): Likewise.
13553 * combine.c (combine_instructions): Use xmalloc instead of alloca.
13555 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
13557 * toplev.c (rest_of_compilation): Don't optimize the CFG
13558 when rebuilding, just before dbr.
13560 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13562 * output.h (assemble_end_function, assemble_destructor,
13563 assemble_constructor, assemble_gc_entry, assemble_global,
13564 assemble_label, output_constant_pool) Constify a char*.
13566 * varasm.c (assemble_destructor, assemble_constructor,
13567 assemble_gc_entry, assemble_end_function, assemble_global,
13568 assemble_label, output_constant_pool): Likewise.
13570 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
13572 * config/arm/thumb.c (thumb_expand_prologue): Add comments
13573 explaining what is goin on in this function.
13575 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13577 * regclass.c (record_reg_classes): In matching case, recompute
13578 costs since the direction of movement is different.
13580 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
13582 * resource.c (mark_target_live_regs): For unconditional branches,
13583 the resources found at the branch target should be added to the
13584 resources found so far, not intersected.
13586 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
13588 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13590 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13591 (sys/mman.h): Include this file only if #HAVE_MMAP.
13592 (run_compiles): Initialize `esac_fmt' with one old KR string, not
13593 with automatically concatenated ANSI strings.
13595 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
13597 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13598 (DIV_ROUND_UP): Robustify.
13599 (ggc_recalculate_in_use_p): New function.
13600 (release_pages): Don't inline it.
13601 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13603 (ggc_pop_context): Use ggc_recalculate_in_use_p.
13604 (clear_marks): Always save in_use_p.
13605 (sweep_pages): Use ggc_recalculate_in_use_p.
13606 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13607 Release pages before counting statistics.
13609 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
13611 * toplev.c (rest_of_compilation): Fix thinko in this change:
13613 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
13615 (rest_of_compilation): If inside an inlined external function,
13616 pretend we are just being declared.
13618 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
13620 * flow.c (calculate_global_regs_live): Fix thinko.
13622 * integrate.c (expand_inline_function): Fix bugs in previous
13623 change from Oct 28, 1999.
13625 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
13627 * stmt.c (expand_value_return): Fix typo in this change:
13629 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13630 (expand_value_return): Correctly convert VAL when promoting function
13631 return; support RETURN_REG being a PARALLEL.
13633 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
13635 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13637 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13639 * hard-reg-set.h (reg_names): Constify a char*.
13641 * regclass.c (reg_names): Likewise.
13643 * regs.h (reg_names): Likewise
13645 * a29k/a29k.c (reg_names): Delete declaration.
13647 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13649 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13650 arc_output_function_epilogue): Likewise.
13652 * elxsi/elxsi.c (reg_names): Likewise.
13654 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13656 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13659 * m88k/m88k.c (output_function_profiler): Likewise.
13661 * sparc/sparc.c (sparc_flat_output_function_prologue,
13662 sparc_flat_output_function_epilogue): Likewise.
13664 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
13666 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13667 warning from -Wuninitialized and put it under -W.
13668 * function.c (uninitialized_vars_warning): Warn only when the
13669 corresponding flag is set.
13671 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
13673 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13674 is nonzero and the single set does not have an elt, then assign
13677 * simplify-rtx.c: New file.
13678 * Makefile.in (OBJS): Add simplify-rtx.o
13679 (simplify-rtx.o): Add dependencies.
13680 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13681 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13682 (cse_gen_binary, simplify_unary_operation): Delete.
13683 (simplify_binary_operation, simplify_plus_minus): Likewise.
13684 (check_fold_consts, simplify_relation_operation): Likewise.
13685 (simplify_ternary_operation): Likewise.
13686 (delete_trivially_dead_insns): Simplify the contents of the
13687 REG_EQUAL note before trying to substitute it into the source
13688 of the reg-reg copy at the end of a libcall sequence.
13690 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
13691 references/callers changed.
13693 * mn10200.c (mn10200_va_arg): Force the return value into a
13696 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13698 * cccp.c (macroexpand): Avoid out of range accesses for omitted
13701 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
13703 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13705 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
13707 * fold-const.c (fold): Fix thinko when optimizing comparisons
13710 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
13712 * gcc.texi (Passes): Update front-end files to their current
13715 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
13717 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13718 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13719 (PREDICATE_CODES): Add addition_operation.
13720 * alpha-protos.h (addition_operation): Declare.
13721 (secondary_reload_class): Likewise.
13722 * alpha.c (addition_operation): New.
13723 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13724 * alpha.md (adddi3): Turn into expander.
13725 (*lda, *adddi_2): New.
13726 (movsf, movdf patterns): Don't preference integer regs.
13727 (movsi, movdi patterns): Don't preference fp regs.
13729 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
13731 * genrecog.c (write_switch): Check for duplicate CODE cases.
13733 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
13735 * ggc-common.c: Update pre-function commentary.
13736 * ggc-page.c: Likewise.
13738 (poison_pages): Use memset directly.
13739 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
13740 (ggc_collect): Poison before sweeping.
13741 * ggc-simple.c: Update pre-function commentary.
13742 (ggc_alloc_obj): Poison non-zeroed memory.
13744 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
13746 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13747 match format string, even on 64-bit hosts.
13748 * gcc-page.c (ggc_page_print_statistics): Likewise.
13750 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
13752 * config/i386/i386.c (ix86_cpu): Revert last patch.
13753 * config/i386/i386.h (ix86_cpu): Ditto.
13755 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
13757 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13758 TYPE_SIZE, convert type of result to sizetype.
13760 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
13762 * flow.c (count_or_remove_death_notes): Equate NULL with the
13765 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13766 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13769 * i386.c (pic_label_no): Delete.
13770 (ix86_attr_length_default): Don't use single_set to peek
13773 * recog.c (peephole2_optimize): Allow recog_next_insn to index
13774 the first insn after bb->end.
13775 * i386.md (push mem peeps): Scratch is live after evaluation
13777 (cmp mem peep): Similarly.
13779 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
13781 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13782 * function.c (pad_to_arg_alignment): Add missing braces.
13784 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13786 * alpha/alpha-protos.h (literal_section): Add prototype.
13787 (alpha_need_linkage, alpha_start_function,alpha_end_function):
13790 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13792 (alpha_start_function, alpha_end_function, float_strings,
13793 alpha_need_linkage): Constify a char*
13795 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13797 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13799 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13801 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13803 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13805 * flow.c (debug_flow_info): Add prototype.
13807 * gcc.c (main): Likewise.
13809 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
13812 * reload1.c (failed_reload, set_reload_reg): Likewise.
13814 * mips-tfile.c (main): Likewise.
13815 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
13816 with ATTRIBUTE_NORETURN.
13818 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
13820 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
13821 DECL is not a memory ref.
13823 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
13825 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
13826 * config/i386/i386.c (ix86_cpu): Add extern attribute.
13828 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
13830 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
13831 * config/mips/elf64.h: ditto.
13833 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
13835 * expr.c (emit_push_insn): New argument alignment_pad.
13836 Update all callers. Adjust stack pointer based on alignment pad.
13837 * function.c (pad_to_arg_alignment): New argument alignment_pad.
13838 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
13839 (locate_and_pad_parm): New argument alignment_pad. Update all
13841 * expr.h (emit_push_insn): Update prototype.
13842 (locate_and_pad_parm): Update prototype.
13843 * calls.c (arg_data): Add new field alignment_pad.
13844 (initialize_argument_information): Initialize alignment_pad.
13846 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
13848 * except.c (free_eh_nesting_info): Free the info itself.
13849 * function.c (free_after_compilation): Don't free NULL.
13850 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
13851 (pre_edge_insert): Free inserted.
13852 * stmt.c (free_stmt_status): Don't free NULL.
13854 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
13856 * gcov.c (DIR_SEPARATOR): Provide default.
13857 (output_data): Add test for MS-DOS format absolute filename.
13858 (fancy_abort): Correct program name.
13859 (open_files): Open all files in binary mode.
13860 * libgcc2.c (__bb_exit_func): Likewise.
13862 * profile.c (init_branch_prob): Specify binary when opening files.
13864 * flags.h (flag_unwind_tables): New decl.
13865 * toplev.c (flag_unwind_table): New definition.
13866 (f_options): Add -funwind-tables.
13867 (decode_g_option): Clarify warning when unknown -g option is given.
13868 (rest_of_compilation): If inside an inlined external function,
13869 pretend we are just being declared.
13871 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
13872 (dwarf2out_frame_finish): Likewise.
13874 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
13876 * fold-const.c (merge_ranges): If not in0, but in1, handle
13877 upper bounds equal like subset case.
13879 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
13881 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
13882 passed in a register but moved to the stack.
13884 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
13886 * gcc.c (pass_exit_codes, greatest_status): New variables.
13887 (struct option_map): Add entry for "--pass-exit-codes".
13888 (execute): Update greatest_status if error.
13889 (display_help): Add documentation for -pass-exit-codes.
13890 (process_command): Handle -pass-exit-codes.
13891 (main): Look at pass_exit_codes and greatest_status on call to exit.
13893 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13895 * reload.c (find_reloads): Refine test for no input reload
13896 case to not includes reloads emitted after insn.
13898 * function.c (find_temp_slots_from_address): Handle sum involving
13899 a register that points to a temp slot.
13900 (update_temp_slot_address): Make recursive call if both old and
13901 new are PLUS with a common operand.
13902 * calls.c (expand_call): Mark temp slot for result as having
13905 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
13907 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
13908 component as well as "BINUTILS".
13910 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
13911 * integrate.c (copy_rtx_and_substitute): Likewise.
13912 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
13913 All callers changed.
13914 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
13916 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
13917 gdb extensions, write size of type; also be more consistent
13918 in using references when this is a subtype.
13920 * pa.md (extv, extzv, insv): Use define_expand to reject constant
13921 that is out of range.
13923 * loop.c (unknown_constant_address_altered): New variable.
13924 (prescan_loop): Initialize it.
13925 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
13926 (invariant_p, case MEM): Remove handling for volatile and readonly;
13927 check new variable if readonly.
13928 (check_dbra_loop): Chdeck unknown_constant_address_altered.
13930 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
13931 (addr_affects_sp_p): Removed from note_mem_written and only
13932 define #ifdef AUTO_INC_DEC.
13934 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
13936 * regclass.c (record_reg_classes): Properly handle register move
13939 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
13940 Don't think valid if both operands are invalid.
13941 (struct constant_descriptor): New field RTL.
13942 (mark_const_hash_entry): Mark it.
13943 (record_constant{,_rtx}): Initialize it.
13944 (output_constant_def): Allocate RTL in permanent obstack and
13946 ({record,compare}_constant_1): Modes must match for
13947 CONSTRUCTOR of ARRAY_TYPE.
13949 * c-common.h (initializer_constant_valid_p): Delete decl from here.
13950 * output.h (initializer_constant_valid_p): Move decl to here.
13951 * c-common.c (initializer_constant_valid_p): Delete function from here.
13952 * varasm.c (initializer_constant_valid_p): Move function to here.
13954 * tree.h (STRIP_SIGN_NOPS): New macro.
13955 * fold-const.c (optimize_minmax_comparison): New function.
13956 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
13957 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
13958 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
13959 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
13960 widening conversions.
13961 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
13962 to look at size of mode, not precision of type; also add missing cases.
13963 (optimize_bit_field_compare, decode_field_reference): Don't try to
13964 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
13966 * dwarf2out.c (ctype.h): Include.
13967 (dwarf2out_set_demangle_name_func): New function.
13968 (size_of_line_info): Deleted.
13969 (output_line_info): Compute size of line info table from difference
13971 (base_type_die, add_name_attribute): Call demangle function, if any.
13972 (field_byte_offset): Use bits per word for variable length fields.
13973 (gen_array_type_die): Add array name.
13974 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
13975 (dwarf2out_add_library_unit_info): New function.
13977 * explow.c (set_stack_check_libfunc): New function.
13978 (stack_check_libfunc): New static variable.
13979 (probe_stack_range): Allow front-end to set up a libfunc to call.
13981 * combine.c (simplify_comparison): When making comparison in wider
13982 mode, check for having commuted an AND and a SUBREG.
13983 (contains_muldiv): New function.
13984 (try_combine): Call it when dividing a PARALLEL.
13985 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
13986 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
13988 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
13989 use one of the CLOBBERs instead.
13990 (if_then_else_cond): If comparing against zero, just return thing
13993 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
13994 Don't generate shifts and subtract if have conditional arithmetic.
13996 * rtl.h (delete_barrier): New declaration.
13997 * jump.c (jump_optimize): Set up to handle conditional call.
13998 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
13999 (delete_barrier): New function.
14001 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
14003 * recog.c (nonmemory_operand): Accept ADDRESSOF.
14005 * tree.c (build_type_attribute_variant): Push to obstack of
14006 ttype around type_hash_canon call.
14008 * expr.c (placeholder_list): Move decl to file scope.
14009 (expand_expr): Don't force access to volatile just because its
14011 If ignoring reference operations, just expand the operands.
14012 (expand_expr, case COMPONENT_REF): Propagate
14013 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14014 Refine test for using bitfield operations vs pointer punning.
14015 (expand_expr, case CONVERT_EXPR): If converting to
14016 BLKmode UNION_TYPE from BLKmode, just return inner object.
14017 Use proper mode in store_field call.
14018 Properly set sizes of object to store and total size in store_field
14019 call for convert to union.
14020 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14021 memory (like for ADDR_EXPR). Also, don't put constant in register if
14022 we'll want it in memory.
14023 (readonly_fields_p): New function.
14024 (expand_expr, case INDIRECT_REF): Call it if LHS.
14025 (expand_assignment): Handle a RESULT_DECL where
14026 DECL_RTL is a PARALLEL.
14027 (do_jump, case WITH_RECORD_EXPR): New case.
14028 (get_inner_reference): Always go inside a CONVERT_EXPR
14029 and NOP_EXPR if both modes are the same.
14030 (store_field): Use bitfield operations if size of bitsize is not same
14031 as size of RHS's type.
14032 Check for bitpos not a multiple of alignment in BLKmode case.
14033 Do block move in largest possible alignment.
14034 (store_constructor): Set BITSIZE to -1 for variable size and properly
14035 in case of array of BLKmode.
14036 (expand_expr_unaligned): New function.
14037 (do_compare_and_jump): Call it.
14039 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14040 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14041 does not include 'o'.
14043 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14044 both SET_DEST and SET_SRC reference a virtual register.
14045 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14047 * integrate.c (expand_inline_function): Handle case of setting
14048 virtual stack vars register (from built in setjmp); when parameter
14049 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14050 (subst_constant): Add new parm, MEMONLY.
14051 (expand_inline_function, integrate_parm_decls): Pass new parm.
14052 (integrate_decl_tree): Likewise.
14053 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14054 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14055 (copy_rtx_and_substitute, case SET): Add explicit calls to
14056 copy_rtx_and_substitute for both sides.
14058 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14060 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14061 within INDEX_TYPE, instead of before.
14062 (fixup_gotos): Use f->target_rtl, not the next insn,
14063 since latter may be from a later fixup.
14064 (expand_value_return): Correctly convert VAL when promoting function
14065 return; support RETURN_REG being a PARALLEL.
14066 (expand_return): When checking for result in regs and having
14067 cleanup, consider PARALLEL in DECL_RTL as being in regs.
14069 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
14071 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14072 last_nominal_fname): Mark const.
14073 (struct include_hash: name, nshort, control_macro): Mark
14075 (struct macrodef: symnam): Mark const.
14076 (struct if_stack: fname): Mark const.
14077 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14078 (IStable): New character-syntax array which encompasses all
14079 the old is_foo arrays.
14080 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14081 is_space): New macros for interrogating IStable.
14082 (check_macro_name): Kill last argument. All callers changed.
14084 * cppinit.c (initialize_char_syntax): Delete.
14085 (is_idchar, is_idstart, is_hor_space, is_space,
14086 trigraph_table): Delete.
14087 (IStable): New. Initialize with clever macros to avoid
14088 information duplication.
14089 (builtin_array): Table of builtins to get rid of explicit list
14090 in initialize_builtins.
14091 (initialize_builtins): Use builtins_array.
14092 (cpp_start_read): Call init_IStable, and set IStable['$'] if
14093 opts->dollars_in_ident.
14095 * cppexp.c: Change all refs to is_xyz[] arrays to use new
14097 (cpp_parse_expr): Avoid 'format string is not constant'
14098 warning. Use ISGRAPH to identify printable chars.
14099 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14101 (read_and_prescan): Map trigraphs to chars with open-coded
14102 if-else-if-... sequence, not a lookup table.
14103 * cpphash.c: Change all refs to is_xyz[] arrays to use new
14105 * cpplib.c: Change all refs to is_xyz[] arrays to use new
14106 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
14107 (check_macro_name): Remove ability to report an invalid
14108 assertion name, which is never used.
14109 (do_line): Constify a couple of char *'s.
14110 * cppmain.c (main): Call cpp_cleanup before returning.
14112 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
14114 * ggc.h (struct ggc_statistics): New type.
14115 (ggc_get_size): New function.
14116 (ggc_print_statistics): Likewise.
14117 * ggc-common.c (ggc_stats): New variable.
14118 (ggc_mark_rtx_children): Keep statistics.
14119 (ggc_mark_tree_children): Likewise.
14120 (ggc_print_statistics): New function.
14121 * ggc-page.c (struct globals): Add bytes_mapped field.
14122 (alloc_anon): Update it.
14123 (release_pages): Likewise.
14124 (ggc_get_size): New function.
14125 (ggc_page_print_statistics): New function.
14126 * ggc-simple.c (ggc_get_size): New function.
14128 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
14130 * flow.c (propagate_block): When the last reference to a label
14131 before an ADDR_VEC is deleted because the reference is a dead
14132 store, delete the ADDR_VEC.
14134 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
14136 * resource.c (find_free_register): Don't use the frame pointer
14137 if frame_pointer_needed.
14139 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
14141 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14142 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14144 * config/i960/i960.c (i960_va_start): New locals base, num.
14145 Use INDIRECT_REF instead of ARRAY_REF on valist.
14146 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14148 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
14150 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14152 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
14154 * tree.def (PLACEHOLDER_EXPR): Update comments.
14156 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14158 * c-common.c (check_format_info): Avoid non-literal format string
14159 warnings when `first_arg_num' is zero.
14161 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14163 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14165 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
14167 * arm.md (casesi_insn): Add a clobber of the condition code
14170 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
14172 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14173 used by both cc1 and cc1plus.
14175 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
14177 * config/arm/arm.c: Initialise arm_structure_size_boundary to
14178 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14179 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14180 to the value 32 if it has not already been defined.
14181 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14182 Override definition in arm.h with a value of 8.
14184 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
14186 * c-pragma.c (push_alignment): Don't check the return value
14189 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
14191 * sparc.h (ADJUST_COST): Fix thinko.
14193 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
14195 * cccp.c (rescan): Fixed obp pointer handling around call to
14196 check_expand subroutine.
14198 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
14200 * gcse.c (delete_null_pointer_checks): Only record non-null info
14201 for pseudos when examining stores.
14203 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14204 splitters for these patterns. Use "#" for output templates.
14205 (addsi3_carryin_shift): New pattern.
14207 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
14209 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14210 of the function return register into a plain REG until
14211 after function inlining is done.
14213 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
14215 * jump.c (jump_optimize_1): If we did cross-jumping, and
14216 the data will matter, rebuild the CFG.
14217 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14218 not optimizing. Don't run shorten_branches.
14219 * toplev.c (rest_of_compilation): Run shorten_branches after
14222 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
14224 * rtl.h (note_stores): Add additional paramter.
14225 * rtlanal.c (reg_set_p_1): Take additional paramter.
14226 (reg_set_last_1): Likewise.
14227 (reg_set_p): Adjust call to note_stores.
14228 (reg_set_last): Likewise.
14229 (note_stores): Pass data parameter to worker function.
14230 * alias.c (record_set): Take additional parameter.
14231 (init_alias_analysis): Pass it.
14232 * caller-save.c (mark_set_regs): Take additional parameter.
14233 (save_call_clobbered_regs): Pass NULL to note_stores.
14234 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14236 (record_dead_and_set_regs_1): Likewise.
14237 (reg_dead_at_p_1): Likewise.
14238 (combine_instructions): Adjust calls to note_stores.
14239 (try_combine): Likewise.
14240 (record_dead_insn): Remove.
14241 (record_dead_and_set_regs): Adjust calls to note_stores.
14242 (reg_dead_at_p): Likewise.
14243 * cse.c (invalidate_skipped_set): Take additional parameter.
14244 (cse_check_loop_start): Likewise.
14245 (cse_check_loop_start_value): Remove.
14246 (cse_set_around_loop): Adjust calls to note_stores.
14247 * flow.c (notice_stack_pointer_modification): Take additional
14248 parameter. Remove duplicate declaration.
14249 (record_volatile_insns): Adjust calls to note_stores.
14250 * gcse.c (record_set_info): Take additional parameter.
14251 (record_last_set_info): Likewise.
14252 (invalidate_nonnull_info): Likewise.
14253 (record_set_insn): Remove.
14254 (compute_sets): Adjust calls to note_stores.
14255 (last_set_insn): Remove.
14256 (compute_hash_table): Adjust calls to note_stores.
14257 (insert_insn_end_bb): Likewise.
14258 (delete_null_pointer_checks): Likewise.
14259 * global.c (mark_reg_store): Take additional parameter.
14260 (mark_reg_clobber): Likewise.
14261 (reg_becomes_live): Likewise.
14262 (global_conflicts): Adjust calls to note_stores.
14263 (build_insn_chain): Likewise.
14264 * integrate.c (note_modified_parmregs): Take additional parameter.
14265 (mark_stores): Likewise. Make it static.
14266 (save_for_inline_nocopy): Adjust calls to note_stores.
14267 (try_constants): Likewise.
14268 * integrate.h (mark_stores): Remove declaration.
14269 * jump.c (mark_modified_reg): Take additional parameter.
14270 (thread_jumps): Adjust calls to note_stores.
14271 * local-alloc.c (validate_equiv_mem_from_store): Take additional
14273 (no_equiv): Likewise.
14274 (reg_is_set): Likewise.
14275 (validate_equiv_mem): Adjust calls to note_stores.
14276 (update_equiv_regs): Likewise.
14277 (block_alloc): Likewise.
14278 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14279 (note_addr_stored): Take additional parameter.
14280 (note_set_pseudo_multiple_uses): Likewise.
14281 (record_initial): Likewise.
14282 (prescan_loop): Adjust calls to note_stores.
14283 (strength_reduce): Likewise.
14284 (check_dbra_loop): Likewise.
14285 * regmove.c (flags_set_1): Take additional paramter.
14286 (mark_flags_life_zones): Adjust calls to note_stores.
14287 * reload1.c (mark_not_eliminable): Take additional parameter.
14288 (forget_old_reloads_1): Likewise.
14289 (reload_cse_invalidate_rtx): Likewise.
14290 (reload_cse_check_clobber): Likewise.
14291 (reload_combine_note_store): Likewise.
14292 (move2add_note_store): Likewise.
14293 (reload): Adjust calls to note_stores.
14294 (reload_as_needed): Likewise.
14295 (emit_reload_insns): Likewise.
14296 (reload_cse_regs_1): Likewise.
14297 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14298 (reload_combine): Adjust calls to note_stores.
14299 * resource.c (update_live_status): Take additional paramter.
14300 (mark_target_live_regs): Adjust calls to note_stores.
14301 * stupid.c (find_clobbered_regs): Take additional parameter.
14302 (stupid_life_analysis): Adjust calls to note_stores.
14304 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
14306 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14309 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14312 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14313 of the variable arm_structure_size_boundary.
14315 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
14317 * alias.c (init_alias_analysis): Allocate reg_known_value and
14318 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
14320 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14321 * cse.c (cse_main): Call end_alias_analysis.
14322 * haifa-sched.c (schedule_insns): Likewise.
14323 * local-alloc. (update_equiv_regs): Likewise.
14324 * reload1.c (reload_cse_regs): Likewise.
14326 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14328 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14329 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14330 mapping from MASK_FPU.
14332 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
14334 * sparc.md (call): Don't bound structure return size to 0xfff.
14336 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
14338 * resource.c (mark_target_live_regs): Check that the target
14339 insn wasn't created after compute_bb_for_insn.
14341 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
14343 * ggc-page.c (poison_pages): Don't be overzealous.
14345 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
14347 * alias.c: Update comments for ADDRESS.
14348 (nonlocal_reference_p): Look inside the ADDRESS to determine if
14349 it is a local memory reference.
14351 * c-typeck.c (build_function_call): Check that the built-in
14352 function is of class BUILT_IN_NORMAL before trying to recongize
14353 it as BUILT_IN_ABS.
14354 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14355 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14357 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
14359 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14361 (pre_gcse): Likewise.
14362 (hoist_expr_reaches_here_p): Likewise.
14363 (hoist_code): Likewise.
14364 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
14366 (pre_expr_reaches_here_p_work): ... here.
14367 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
14369 (expr_reaches_here_p_work): ... here.
14371 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
14373 * resource.c (find_basic_block): Delete.
14374 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14375 (init_resource_info): Call compute_bb_for_insn.
14377 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
14379 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14380 with already adjacent blocks, but no fallthru.
14381 (merge_blocks_move_successor_nojumps): Simplify.
14382 (debug_flow_info): New.
14384 * toplev.c (rest_of_compilation): Open jump1 dump file before
14385 jump and close after, as opposed to just using dump_rtl.
14387 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14389 * reload.h (earlyclobber_operand_p): Declare.
14390 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
14391 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
14392 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14393 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
14395 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
14396 Richard Henderson <rth@cygnus.com>
14398 * emit-rtl.c (emit_block_insn_before): New.
14399 (emit_block_insn_after): New.
14400 * basic-block.h: Declare them.
14402 * bitmap.h: Protect from multiple inclusion.
14404 * recog.c (scratch_operand): Handle VOIDmode correctly.
14406 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14408 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14409 * function.c (assign_parms): Likewise.
14410 * global.c (global_conflicts): Clarify STACK_REGS commentary.
14412 * reg-stack.c (max_uid): Remove.
14413 (blocks, block_begin, block_end, block_drops_in): Remove.
14414 (block_stack_in, block_out_reg_set, block_number): Remove.
14415 (struct block_info_def, BLOCK_INFO): New.
14416 (enum emit_where): New.
14417 (current_block): New.
14418 (BLOCK_NUM): Remove.
14419 (mark_regs_pat, record_label_references): Remove.
14420 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14422 (goto_block_pat, print_blocks, dump_stack_info): Remove.
14423 (reg_to_stack): Simplified test for existance of fp code. Use
14424 flow.c code. Call shorten_branches after cross-jump opt.
14425 (check_asm_stack_operands): Renamed from record_asm_reg_life.
14426 Return false if the asm doesn't use stack regs. Don't do life
14427 analysis on the asm.
14428 (emit_pop_insn): Replace function pointer arg `when' with
14429 enum `where'. Update all callers.
14430 (change_stack): Likewise. Update basic block end.
14431 (emit_swap_insn): Use current_block->head to limit reverse search
14432 for start of block. Use emit_block_insn_after.
14433 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14434 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
14435 structure assignment instead of bcopy.
14436 (print_stack): New.
14437 (convert_regs_entry, convert_regs_exit): New.
14438 (convert_regs_1, convert_regs_2): Split out from convert_regs.
14439 Work on basic blocks and the CFG.
14440 (convert_regs): Use them.
14442 * i386.c (output_fix_trunc): Remove code for DImode input operand
14443 not at top-of-stack.
14444 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14446 (fix_truncdi_1): Allow any mode scratch.
14448 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
14450 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14451 * linux.h, netbsd.h, vms.h: Not here.
14453 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
14455 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14456 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14457 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14458 CONDITIONAL_REGISTER_USEAGE): Use them.
14459 * config/mips/mips.c (mips_move_1word,mips_move_2words,
14460 gen_conditional_branch,override_options) : Use them.
14461 * config/mips/mips.md : Use them.
14463 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
14465 * i386.md (zero_extendqihi2): Use SImode register name with andl.
14467 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
14469 * integrate.c (function_cannot_inline_p): Don't allow inlining
14472 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14474 * c-parse.in (cast_expr): Constify.
14476 * cccp.c (special_symbol): Likewise.
14478 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14480 * dwarf2out.c (base_type_die): Likewise.
14482 * global.c (allocno_compare): Likewise.
14484 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14486 * regclass.c (fix_register): Likewise.
14488 * rtl.h (fix_register): Likewise.
14490 * stupid.c (stupid_reg_compare): Likewise.
14492 * toplev.c (decode_f_option): Likewise.
14494 * tree.c (build_complex_type): Likewise.
14496 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
14498 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14500 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14502 * reload.c (find_reloads): Compute mode and nregs fields of all
14504 * reload1.c (calculate_needs_all_insns): Simplify a bit.
14505 (calculate_needs): Use precomputed mode/nregs values.
14506 (allocate_reload_reg): Likewise.
14508 (failed_reload, set_reload_reg): ... new functions.
14509 (choose_reload_regs_init): New function, mostly broken out from...
14510 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
14511 Also lose one #if 0 block.
14513 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
14515 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
14518 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
14520 * tree.h (BLOCK_TYPE_TAGS): Remove.
14521 (BLOCK_END_NOTE): Likewise.
14522 (BLOCK_LIVE_RANGE_FLAG): Likewise.
14523 (BLOCK_LIVE_RANGE_START): Likewise.
14524 (BLOCK_LIVE_RANGE_END): Likewise.
14525 (tree_block): Remove live_range_flag, live_range_var_flag, and
14526 type_tags. Remove end_note, live_range_start, and live_range_end.
14527 (remember_end_note): Remove prototype.
14528 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14529 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14531 * ggc-common.c (ggc_mark_tree_children): Don't mark
14532 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14533 * integrate.c (adjust_copied_decl_tree): Remove.
14534 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14535 * stmt.c (last_block_end_note): Remove.
14536 (init_stmt): Don't add a GC root for it.
14537 (expand_fixup): Don't set it.
14538 (remember_end_note): Remove.
14539 (expand_end_bindings): Don't set last_block_end_note.
14541 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14543 * reload1.c (reload_reg_free_for_value_p): Show
14544 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14547 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
14549 * expmed.c (extract_bit_field): Allow for the case of non-integer
14550 objects that are smaller than a word (like SFmode on a 64-bit
14553 * loop.c (basic_induction_var): A non-integer variable which is
14554 being set by a paradoxical subreg is probably not a biv.
14556 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14558 * prefix.c (translate_name) Check for empty prefix string.
14560 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
14562 * Makefile.in (CPP_CROSS_NAME): New variable.
14563 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14565 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14566 names of the files to be uninstalled.
14568 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
14570 * collect2.c (IS_DIR_SEPARATOR): Define.
14571 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14573 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14576 * haifa-sched.c (add_dependence): Update the true dependency
14577 cache the first time we add a true dependence to the LOG_LINKS chain.
14579 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
14581 * fold-const.c (fold): Fix comment.
14583 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14585 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14586 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14587 dbxout_start_new_source_file, dbxout_source_file,
14588 dbxout_source_line, dbxout_finish, dbxout_type_fields,
14589 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14591 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14592 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14593 (dbxout_block): Initialize variable `blocknum'.
14595 * dbxout.h (dbxout_init, dbxout_finish,
14596 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14597 dbxout_args, dbxout_source_line): Constify a char*.
14599 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14600 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14601 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14602 low_pc_attribute, high_pc_attribute, body_begin_attribute,
14603 body_end_attribute, comp_dir_attribute, sf_names_attribute,
14604 src_info_attribute, mac_info_attribute, producer_attribute,
14605 lookup_filename, generate_macinfo_entry, fundamental_type_code,
14606 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14607 dwarfout_undef): Constify a char*.
14608 (add_incomplete_type, retry_incomplete_types): Add prototypes.
14610 * dwarfout.h (dwarfout_define, dwarfout_undef,
14611 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14613 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
14615 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14616 (MULTILIB_ISA_DEFAULT): New.
14617 (MULTILIB_DEFAULTS): Use it.
14618 * config/mips/mips.c (): Remove the now unnecessary definition
14619 of MIPS_ISA_DEFAULT.
14620 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14621 unnecessary definition.
14623 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
14625 * arm.md (pic_load_addr): Add constraints to operand 1.
14627 1999-10-25 Bruce Korb <autogen@linuxbox.com>
14629 * fixinc/genfixes: Provide a means for specifying -D options to
14632 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
14634 * arm.c (arm_override_options): Correct initialization of
14635 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14636 arm_is_strong, and arm_is_6_or_7.
14638 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14639 (note_set_pseudo_multiple_uses): New function.
14640 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14641 if a pseudo set in the loop exit is used elsewhere.
14643 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
14645 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14647 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
14649 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14650 a single load-address pattern.
14652 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
14654 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14655 depending on whether or not line-number notes are present.
14657 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14659 * cccp.c (progname, file_buf, default_include, include_file,
14660 macrodef, definition, hashval, wchar_type, user_label_prefix,
14661 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14662 expand_to_temp_buffer, is_system_include, base_name,
14663 absolute_filename, read_name_map, open_include_file,
14664 record_control_macro, check_precompiled, check_preconditions,
14665 pcfinclude, pass_thru_directive, create_definition,
14666 check_macro_name, comp_def_part, collect_expansion,
14667 check_assertion, read_token_list, assertion_install,
14668 assertion_lookup, eval_if_expression, conditional_skip,
14669 validate_else, skip_quoted_string, quote_string, macarg1,
14670 error_from_errno, install, lookup, hashf, dump_defn_1,
14671 perror_with_name, pfatal_with_name, main, trigraph_pcp,
14672 check_white_space, rescan, handle_directive, monthnames,
14673 special_symbol, do_include, remap_include_file, write_output,
14674 arglist, do_assert, do_unassert, do_line, do_error, do_once,
14675 do_ident, do_sccs, do_xifdef, skip_if_group,
14676 output_line_directive, macroexpand, macarg, change_newlines,
14677 initialize_builtins, make_definition): Constify a char*.
14679 * pcp.h (stringdef): Likewise.
14681 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
14683 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14686 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
14687 Richard Henderson <rth@cygnus.com>
14689 * alias.c: Include ggc.h.
14690 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14691 (record_set): Verify enough room in reg_base_value.
14692 (init_alias_analysis): Allocate reg_base_value with xcalloc.
14693 Register it as a GC root.
14694 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
14695 * Makefile.in (alias.o): Depend on ggc.h.
14697 * unroll.c (unroll_loop): Verify the insn before a barrier
14698 is a JUMP_INSN before checking JUMP_LABEL.
14700 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14702 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14703 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14704 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14705 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14706 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14707 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14709 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14711 * output.h (ctors_section, dtors_section, bss_section): Prototype.
14713 * alpha/alpha-interix.h (text_section): Delete prototype.
14714 * alpha/elf.h (text_section): Likewise.
14715 * arm/linux-elf.h (text_section): Likewise.
14716 * arm/linux-telf.h (text_section): Likewise.
14717 * c4x/c4x.h (text_section): Likewise.
14718 * dsp16xx/dsp16xx.h (bss_section): Likewise.
14719 * elfos.h (text_section): Likewise.
14720 * i386/aix386ng.h (text_section): Likewise.
14721 * i386/i386-interix.h (text_section): Likewise.
14722 * i386/sco5.h (text_section): Likewise.
14723 * i386/svr3gas.h (text_section): Likewise.
14724 * nextstep.h (text_section): Likewise.
14725 * psos.h (text_section): Likewise.
14726 * ptx4.h (text_section): Likewise.
14727 * svr3.h (text_section): Likewise.
14728 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14730 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14732 * final.c (peephole): Delete prototype.
14734 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14735 (pre_insert_copies): Remove unused variable `bb'.
14737 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14740 * output.h (peephole): Add prototype.
14742 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
14744 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14747 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
14749 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14750 for inlined declarations.
14752 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
14754 * arm.c (logical_binary_operator): New fucntion.
14755 * arm.h (logical_binary_operator): Declare it.
14756 (PREDICATE_CODES): Handle logical_binary_operator.
14757 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14758 output constraints. Add appropriate splitters.
14759 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14760 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14761 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14763 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14765 * genoutput.c (struct operand_data): New elt eliminable.
14766 (output_operand_data): Write it.
14767 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14768 (compare_operands): Take it into account.
14769 * recog.h (struct insn_operand_data): New elt eliminable.
14770 * reload1.c (check_eliminable_occurrences, elimination_effects): New
14772 (old_asm_operands_vec, new_asm_operands_vec): Delete.
14773 (eliminate_regs): Move code that detects changes to elimination
14774 target regs into new function elimination_effects.
14775 Delete one #if 0 block.
14776 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14777 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14778 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14779 Only call eliminate_regs for real operands of the insn, not for parts
14780 of its structure or parts matched by things like match_operator.
14781 Use elimination_effects and check_eliminable_occurrences. Use
14782 copy_insn to duplicate the pattern when not in the final pass.
14784 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
14786 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14789 1999-10-22 Bruce Korb <autogen@linuxbox.com>
14791 * fixinc/README: document the "mach" machine matching test
14792 * fixinc/fixfixes.c: Implement the #else/#endif label fix
14793 * fixinc/fixtests.c: Implement the #else/#endif label test
14794 * fixinc/inclhack.def: utilize these tests and fixes
14795 * fixinc/inclhack.sh: regen
14796 * fixinc/fixincl.x: regen
14797 * fixinc/fixincl.sh: regen
14799 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
14801 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
14804 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
14806 * gcc.1: Document exit codes.
14808 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14810 * calls.c: Include tm_p.h later, so everything we need is defined.
14811 * expr.c: Likewise.
14812 * function.c: Likewise.
14814 * except.c: Include tm_p.h.
14816 * sparc.c: Likewise.
14817 (dwarf2out_cfi_label): Don't prototype.
14818 (check_return_regs, epilogue_renumber,
14819 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
14820 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
14821 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
14822 ultra_schedule_insn): Add static prototype.
14823 (data_segment_operand, text_segment_operand): Call itself with the
14824 proper number of arguments.
14825 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
14827 * sparc.h: Move all declarations to sparc-protos.h.
14828 (SELECT_RTX_SECTION): Pass a missing MODE argument to
14831 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
14833 * config/svr4.h (text_section, ctors_section, dtors_section): Add
14835 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
14836 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
14837 ASM_OUTPUT_ASCII): Constify a char*.
14839 * sparc-protos.h: New file for sparc prototypes.
14841 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14843 * function.c (record_insns, contains): Always declare and define.
14844 (record_insns): Mark with ATTRIBUTE_UNUSED.
14846 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
14848 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
14849 to .section when outputting a .bss section to deal with multiple
14850 .bss input sections (as happens with -fdata-sections)
14851 Also output %progbits, not @progbits so the assembler doesn't treat as
14853 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
14855 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
14856 thumb parts even when building with non-thumb CPUs, by forcing
14859 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
14861 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
14862 (movdf_const_intreg_sp64): Similarly.
14864 * local-alloc.c (update_equiv_regs): Check the correct insn
14865 for pre-existing REG_EQUIV notes.
14867 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
14869 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
14870 block reached by a branch if we're not going to actually process
14873 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
14875 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
14876 a local extern function declaration.
14878 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
14880 * i386.c (ix86_expand_prologue): Properly wrap USE around
14881 reg for CALL_INSN_FUNCTION_USAGE.
14883 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
14885 * config/mips/mips.md (movdf_internal1a): Allow floating-point
14886 move between GP_REGs.
14888 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
14890 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
14891 the mode size when finding out if an offset is legal.
14893 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
14895 * basic-block.h (PROP_*): Move constants from ...
14896 * flow.c: ... here.
14897 (compute_bb_for_insn): Free the array before reallocating.
14898 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
14899 (allocate_reg_life_data): Reset all reg variables collected by
14901 (get_block_head_tail): Don't convert from bb to block.
14902 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
14903 (find_insn_reg_weight): Take block not bb.
14904 (schedule_block): Don't set block num for moved insns.
14905 (schedule_region): Don't update_life_info or find_insn_reg_weight.
14906 (schedule_insns): Do it here instead.
14907 * combine.c (combine_instructions): Invoke compute_bb_for_insn
14908 before update_life_info.
14909 * recog.c (split_all_insns, peephole2_optimize): Update for
14910 new arg to update_life_info.
14911 * rtlanal.c (remove_note): Cope with NULL note.
14912 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
14915 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
14917 * jump.c (jump_optimize_1): More accurately detect casesi insns.
14919 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
14920 block records so that merge_blocks_nomove will clean up correctly.
14921 (split_edge): Handle casesi insns.
14923 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
14925 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
14927 * pa.md (call, call_value): Do not emit a blockage after restoring
14930 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
14932 * c-typeck.c (c_expand_asm_operands): Fix typo.
14934 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14936 * arm.c (fpu_rhs_operand): Verify modes.
14937 (fpu_add_operand): Likewise.
14938 (di_operand): Likewise.
14939 (soft_df_operand): Likewise.
14941 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
14943 * arm.c (arm_return_in_memory): APCS rules state that the elements
14944 of a structure returned in a register must be 'integer-like'.
14946 1999-10-19 Bruce Korb <autogen@linuxbox.com>
14948 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
14949 in the source tree when the generated targets are out of date
14950 * fixinc/genfixes: Alter it to run individual fixes for make.
14951 * fixinc/README: rewrite
14952 * fixinc/inclhack.def: moved initial comments to README
14954 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
14956 * toplev.c (main): Do not generate an error message if an
14957 unrecognised command line switch is recognisable by another
14958 language. If extra_warnings are enabled, then generate a
14959 warning message instead.
14961 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
14963 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
14964 (insert_pack_attributes): Delete prototype.
14966 * c-pragma.c (default_alignment): New static variable.
14967 (push_alignment): Initialize to current effective alignment.
14968 (pop_alignment): Use to set new alignment.
14969 (insert_pack_attributes): Delete function.
14970 (handle_pragma_token): Set default_alignment as well each time
14971 a #pragma pack(<n>) is encountered.
14973 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
14975 * reg-stack.c (stack_result): Aggregates are not returned in
14978 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
14980 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
14982 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
14984 * basic-block.h (set_block_num): Declare.
14985 * flow.c (update_life_info): Don't call compute_bb_for_insn
14986 or free_basic_block_vars.
14987 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
14988 (insn_orig_block): Remove.
14989 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
14990 (schedule_block): Keep BLOCK_NUM up-to-date.
14991 (schedule_insns): Use compute_bb_for_insn.
14992 * recog.c (split_all_insns): Likewise.
14993 (peephole2_optimize): Likewise.
14995 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
14997 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
14998 if the pic register is used.
15000 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15002 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
15003 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
15004 if that tests TREE_PERMANENT.
15006 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
15008 * cse.c (invalidate_for_call): Do not remove memory references from
15009 the table here. It's handled elsewhere.
15011 * haifa-sched.c (add_dependence): Protect references to the
15012 true dependency cache with #ifdef INSN_SCHEDULING.
15013 (remove_dependence): Similarly.
15015 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15016 to the cfg code that this is a return instruction.
15017 * mn10300.md (return_internal): Similarly.
15019 * combine.c (get_last_value): If the last set of a register
15020 is after subst_low_cuid, then we can not use it to determine
15021 the register's last value.
15023 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
15025 * Makefile.in: Back out previous change.
15027 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
15029 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15031 * haifa-sched.c (add_dependence): Only check/update the cache
15033 (remove_dependence): Likewise.
15034 (schedule_insns): Only create the true_dependency_cache if the
15035 average number of instructions in a basic block is very large.
15037 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
15039 * Makefile.in (ggc-common.o): Depend on genrtl.h.
15040 (ggc-simple.o): Likewise.
15041 (ggc-page.o): Likewise.
15043 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
15045 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15046 Prototype for exported functions.
15047 (pre_lcm, pre_rev_lcm): Remove prototypes.
15048 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15049 (compute_available): Move to lcm.c, and change parameter order.
15050 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15051 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15052 (gcse_main): No longer call compute_preds_succs. Rebuild the
15053 set table after reach pre pass.
15054 (pre_insert_map, pre_delete_map, edge_list): New.
15055 (alloc_pre_mem): Allocate edge vectors.
15056 (free_pre_mem): Delete edge vectors.
15057 (compute_pre_data): Call new edge based lcm routines.
15058 (process_insert_insn): New function.
15059 (insert_insn_end_bb): Use it.
15060 (pre_edge_insert): New function.
15061 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
15063 (pre_insert_copies): Revamp using new edge based lcm outputs.
15064 (pre_delete): Likewise.
15065 (one_pre_gcse_pass): Insert & remove fake edges to the exit
15067 (compute_code_hoist_vbeinout): New new edge based routines.
15068 * lcm.c: Remove all the old LCM functions. Replace with new ones
15069 that work with the new cfg datastructures and work with edges
15072 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15074 * reload.h (struct reload): Add new fields "mode" and "nregs".
15075 * reload1.c: Change all occurrences of reload_mode and reload_nregs
15076 to reference the "mode" and "nregs" field within struct reload.
15078 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
15080 * haifa-sched.c (true_dependency_cache): New.
15081 (add_dependence): Use the true dependency cache to avoid expensive
15082 walks down the LOG_LINKS dependency list. Add entries to the
15083 cache as necessary.
15084 (remove_dependence): Remove entries from the true dependency cache
15086 (schedule_insns): Allocate and initialize and free the true
15089 * haifa-sched.c (schedule_insns): Do not remove inter-block
15090 dependencies anymore.
15092 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
15094 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15095 * i386/t-winnt: Likewise.
15097 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
15099 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15101 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
15103 * Makefile.in (LANGUAGES): Omit "proto".
15104 (clean): Remove stale comment about removing unprotoize.c.
15106 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15108 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15109 using arithmetic on void pointers.
15111 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
15113 * haifa-sched.c (compute_block_forward_dependencies): Only check
15114 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15116 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
15118 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15119 (expr_equiv_p): Reject memories with different alias sets.
15121 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
15123 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15124 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15125 (f_options): Add "bounded-pointers" and "bounds-check" entries.
15126 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15127 (lang_init): Set default for flag_bounds_check if still "unspecified".
15129 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15131 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
15133 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15135 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15138 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15140 * config/c4x/c4x.md (*db_noclobber,
15141 *decrement_and_branch_until_zero_noclobber): New patterns and
15142 associated splitters.
15144 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15146 * config/c4x/c4x.md (parallel instruction patterns): Rework
15147 constraints to keep reload happy.
15149 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15151 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15152 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15153 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15154 Add new patterns and associated post-reload splitters.
15156 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15158 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15160 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15162 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15164 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15166 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15168 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
15171 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
15173 * pa.c (move_operand): Rely on memory_address_p to determine the
15174 validity of non-indexed memory addresses.
15175 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15176 operand in DFmode and SFmode when generating PA2.0 code.
15178 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
15180 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15182 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
15184 * mips.c (function_prologue): Fix argument types.
15185 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15186 (casesi_internal): Write to the scratch register.
15188 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
15190 * cppexp.c (cpp_parse_escape): Make static. Change second arg
15192 (parse_charconst): Delete unnecessary cast when calling
15194 (cpplib.h): Kill prototype of cpp_parse_escape.
15196 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
15198 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15199 * unroll.c (unroll_loop): Cast return value of alloca.
15200 * i370/i370.c: Include function.h and toplev.h.
15201 (i370_label_scan): Remove c++ commented abort.
15202 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15203 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15204 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15205 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15207 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
15209 * config/t-freebsd: Do not override USER_H.
15210 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15212 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15213 Mumit Khan <khan@xraylith.wisc.edu>
15215 * c-parse.in (component_decl): Support anonymous struct/union.
15217 * c-parse.y: Regenerate.
15218 * c-parse.c: Likewise.
15219 * objc/objc-parse.y: Likewise.
15220 * objc/objc-parse.c: Likewise.
15221 * c-decl.c (finish_struct): Don't sort the fields.
15222 (field_decl_cmp): Delete unused function.
15224 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
15226 * sparc.md (movsf_const_intreg): Revert last constraint change.
15227 (movdf_const_intreg_sp32): Likewise.
15229 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
15231 * cse.c: Include hashtab.h instead of splay-tree.h
15232 (struct cse_reg_info): No longer use variant union. Add new
15233 field "regno". All references changed to avoid union.
15234 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15235 (free_cse_reg_info): Remove.
15236 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15237 (get_cse_reg_info): Revamp to use expandable hash tables instead
15238 of splay trees. Initialize new fields in cse_reg_info structure.
15239 (new_basic_block): Similarly.
15241 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
15243 * genrecog.c (message_with_line): Prototype.
15244 (validate_pattern): Pass along the set for the dest, not a flag.
15245 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
15246 Check for PC/CC0 as sources.
15247 (nodes_identical): Check for children position match before
15248 allowing the combination.
15250 * rtl.c (read_rtx): Track line number across \\\n.
15252 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
15254 * mips.h (SPECIAL_MODE_PREDICATES): New.
15255 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15256 (movdi+1, movsi+1): Add output reload constraint.
15257 (casesi_internal): Likewise. Fix commentary.
15258 (return_internal): Use pmode_register_operand.
15260 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
15262 * 1750a.md (movstrqi): Add missing output reload constraint.
15263 (call_value): Likewise.
15264 * a29k.md (cpxxx patterns): Add missing match_operator mode.
15265 (jmpfdec): Add missing inout reload constraint.
15266 * elxsi.md (addsi patterns): Add missing output reload constraint.
15267 (move from sp): Use @ alternates.
15268 (call_value): No constraint on output.
15269 * fr30.md (movsi_pop): Add missing output reload constraint.
15270 (movsf_constant_store): Likewise.
15271 (splits): Remove constraints.
15272 (subsi3): Add missing mode.
15273 * i370.md (cmpstrsi+1): Add missing output reload constraint.
15274 (call_value): Likewise.
15275 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15276 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15277 * m32r.md (movsicc_internal): Add output reload constraint.
15278 (movstrsi_internal): Add inout reload constraints.
15279 * m88k.h (reg_names): Don't declare.
15280 (SPECIAL_MODE_PREDICATES): New.
15281 * m88k.md (*): Use register_operand not reg_or_0_operand
15283 * mn10200.h (PREDICATE_CODES): New.
15284 * ns32k.md (ffs pattern): Add output reload constraint.
15285 * pdp11.md (sob pattern): Add inout reload constraint.
15286 * sh.md (splits): Remove constraints.
15287 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15288 * v850.md (pattern_is_ok_for_epilogue): Likewise.
15289 * vax.md (jgequ pattern): Add inout reload constraint.
15291 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
15293 * configure.in (djgpp): Revert previous patch.
15294 * configure: Rebuit.
15295 * config/i386/djgpp.h: Revert previous patch.
15297 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
15299 * fixinc/inclhack.def: Restore patch lost during last merge of
15300 "no_bogosity" branch.
15301 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15303 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
15305 * fixincludes: Add a HPUX 11 fix for inttypes.h.
15306 * fixinc/inclhack.def: Same.
15307 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15309 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
15311 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15312 as the base of a PLUS.
15314 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15316 * config/c4x/c4x.md: Define mode for remaining unspec operators.
15317 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
15319 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
15321 * pa.md (post_stw+1): Use pmode_register_operand.
15322 (dcacheflush, icacheflush): Likewise.
15324 * i386.md (movstricthi_1): Allow r/r.
15326 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
15328 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15329 to (not (and (arg0) (arg1))). Similary for and.
15331 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15332 fallthrough to associate code.
15333 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15336 * combine.c (simplify_logical): Convert XOR to IOR if operands have
15337 no bits in common; remove XOR to ROTATE conversion.
15339 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15341 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15343 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15345 * config/c4x/c4x.c (dst_operand): New.
15346 (PREDICATE_CODES): Update.
15347 * config/c4x/c4x.h (dst_operand): Declare it.
15348 * config/c4x/c4x.md: Define mode for each unspec usage.
15349 (move patterns): Use dst_operand predicate instead of src_operand.
15350 (movqi_update, movqf_update): Delete.
15352 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
15354 * recog.c (pmode_register_operand): New.
15355 * recog.h: Declare it.
15356 * genrecog.c (pred_codes): Likewise.
15357 (special_mode_pred_table): Likewise.
15358 (validate_pattern): Don't warn no mode for address_operand.
15360 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15361 if the operand is not insn-like.
15363 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
15364 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15366 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15368 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
15370 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15371 instead of general_operand in a SET_DEST. Use const_double_operand
15372 instead of an explicit test against CONST_DOUBLE.
15373 (movsf_const_lo): Add missing register mode.
15374 (goto_handler_and_restore): Add auxiliary test for Pmode.
15375 (flush): Adjust to use address_operand.
15376 (return_sf_no_fpu): Add missing output constraint.
15378 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
15380 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15381 for call return value.
15382 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15384 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
15386 * toplev.c (main): Only warn about options for other languages.
15387 * collect2.c (main): Pass -w to sub-gcc.
15389 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
15391 * flow.c (propagate_block): Add call-clobbered registers to
15394 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15395 zapping mem_set_list.
15396 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15397 (mark_set_1, mark_used_regs): Likewise.
15399 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
15401 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15403 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15405 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15406 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15407 options. Also add a new item "C-only Warning Options" to the
15410 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
15412 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15413 from multiple calls.
15415 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
15417 * i386.md (call value patterns): Move to the end of the file.
15418 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15420 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15422 * configure.in (djgpp configuration): Define extra_objects..
15423 * configure: Rebuilt.
15424 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15425 (DTORS_SECTION_ASM_OP): Define.
15426 (INIT_SECTION_ASM_OP): Define.
15427 (FINI_SECTION_ASM_OP): Define.
15428 (DATA_SECTION_ASM_OP): Define.
15429 (TEXT_SECTION_ASM_OP): Define.
15430 (EH_FRAME_SECTION_ASM_OP): Define.
15431 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15432 (STARTFILE_SPEC): Add crtbegin.o.
15433 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15434 to here from LINK_COMMAND_SPEC.
15435 (DO_GLOBAL_CTORS_BODY): Define.
15436 (CRTSTUFF_USE_FINI_SECTION): Define
15437 (HAS_INIT_SECTION): Delete.
15439 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
15441 * Makefile.in (all.cross): Depend on xcpp$(exeext).
15443 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
15445 * pa.h (PREDICATE_CODES): New.
15447 * genrecog.c (validate_pattern): Condense the destination
15448 non-lvalue message.
15450 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
15452 * alpha.md (call-1): Supply missing mode for operator.
15453 (*): Add missing output reload constraints. Remove constraints
15454 from define_splits.
15456 * i386.h (SPECIAL_MODE_PREDICATES): New.
15457 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15458 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15459 (addsi_lea_3): Add missing mode for op 3.
15460 (prologue_set_got, prologue_get_pc): Add missing modes.
15461 (*) Add missing output reload constraints.
15463 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
15465 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15466 check for member bit-size overflow and use var_size if it occurs.
15467 (layout_record): Use bitsize_int() to define the type size in bits.
15468 Likewise for computation and assignment to DECL_FIELD_BITPOS.
15469 (layout_decl): Likewise when assigning to DECL_SIZE.
15471 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
15473 * genrecog.c (validate_pattern): Typo last change. Verify
15474 that output operands have output reloads.
15476 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
15478 * genrecog.c (special_mode_pred_table): New.
15479 (NUM_SPECIAL_MODE_PREDS): New.
15480 (find_operand): New.
15481 (validate_pattern): New argument `insn'. Warn for assignment to
15482 any predicate accepting non-lvalues. Conditionaly warn for
15483 match_operand without a mode. Try much harder to match source
15484 and destination modes on a set.
15485 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15487 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
15489 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15491 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
15493 * combine.c (simplify_logical): Recognize xor pattern that encodes
15496 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15498 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15501 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
15503 * ggc-page.c (MAP_FAILED): Provide default.
15505 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
15507 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15508 * sparc.h (PREDICATE_CODES): Update.
15510 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
15512 * alpha.c (some_ni_operand): New.
15513 * alpha-protos.h: Declare it.
15514 * alpha.h (PREDICATE_CODES): Update.
15515 * alpha.md (sXaddq reload insns): Use some_ni_operand
15516 for SET_DEST instead of some_operand.
15518 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
15519 Jim Wilson <wilson@cygnus.com>
15521 * genrecog.c (maybe_both_true_2): Don't compare modes of
15523 (process_tree): Elide peephole2_insns. Invoke simplify_tests
15524 after find_afterward.
15525 (debug_decision_1): Dump next and afterward codes.
15527 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
15529 * rtl.c (dump_and_abort): Remove.
15530 (fatal_with_file_and_line): New.
15531 (fatal_expected_char): New.
15532 (read_rtx_lineno, read_rtx_filename): New.
15533 (read_skip_spaces): Track line number.
15534 (read_name): Use fatal_with_file_and_line.
15535 (read_rtx): Use fatal_expected_char. Track line number.
15536 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15538 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15539 if it isn't a CODE_LABEL.
15541 * genattr.c (main): Set read_rtx_filename.
15542 * genattrtab.c (main): Likewise.
15543 * gencodes.c (main): Likewise.
15544 * genconfig.c (main): Likewise.
15545 * genemit.c (main): Likewise.
15546 * genextract.c (main): Likewise.
15547 * genflags.c (main): Likewise.
15548 * genopinit.c (main): Likewise.
15549 * genoutput.c (main): Likewise.
15550 * genpeep.c (main): Likewise.
15552 * genrecog.c (decision_test.u.insn): Add `lineno'.
15553 (pattern_lineno, error_count): New variables.
15554 (message_with_line): New.
15555 (add_to_sequence): Break out checking code to ...
15556 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
15557 (merge_insn): Use message_with_line.
15558 (make_insn_sequence): Use validate_pattern. Record insn lineno.
15559 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
15561 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15563 * expr.c (store_constructor): Clear union if constructor is empty.
15565 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
15567 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15568 Add !endian checks. Change %{...} to %(...).
15570 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
15572 * i386.md (*addsi3_cc): Renamed from addcsi3.
15573 (*addsi3_carry): Renamed from addxsi3.
15574 (*subsi3_cc): Renamed from subcsi3.
15575 (*subsi3_carry): Renamed from subxsi3.
15576 (*xorqi_cc_1): Renamed from xorcqi_1.
15577 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15578 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15580 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
15582 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15583 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15585 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
15587 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15588 climb up the chain of insns.
15590 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
15592 * genrecog.c (write_subroutine): Careful for null trees.
15593 (process_tree): Don't elide empty functions.
15595 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
15597 * Makefile.in (genrtl.o): Depend on ggc.h.
15598 * configure.in (valloc): Probe for it.
15599 (with-gc): Use ggc-page if valloc present.
15600 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15601 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15602 (ggc_alloc_string): Moved from ggc-page.c.
15603 * ggc-none.c (ggc_alloc_obj): New.
15604 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15605 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15606 (struct globals): Likewise for dev_zero_fd.
15607 (init_ggc): Likewise for it's initialization.
15608 (ggc_allocated_p): Move careful dereference from ...
15609 (ggc_lookup_page_table): ... here. Delete.
15610 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15611 (alloc_anon): Use valloc if no mmap.
15612 (release_pages): Use free if using valloc.
15613 (ggc_alloc_obj): Renamed from alloc_obj.
15614 (ggc_set_mark): Renamed from mark_obj.
15615 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15616 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15617 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15618 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15619 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15620 (ggc_collect): Use fp printing instead of our own rounding.
15621 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15622 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15623 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15624 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15625 (struct ggc_string, struct ggc_any): Delete.
15626 (offsetof): Provide default definition.
15627 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15629 (struct ggc_mem): New, from corpse of ggc_any.
15630 (struct ggc_status): Delete.
15631 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15632 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15633 (n_strings_collected, n_anys_collected): Delete.
15634 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15635 (ggc_alloc_string, ggc_alloc): Delete.
15636 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15637 (ggc_free_string, ggc_free_any): Delete.
15638 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15639 (ggc_compare_addresses, ggc_mark_string): Delete.
15640 (ggc_mark_string_if_gcable, ggc_mark): Delete.
15641 (search_data): Delete.
15642 (struct globals): New.
15643 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15644 (tree_insert, tree_lookup): New.
15645 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15646 (clear_marks, sweep_objs): New.
15647 (ggc_collect): Gut. Use clear_marks, sweep_objs.
15648 (init_ggc): Set allocated_last_gc.
15649 (ggc_push_context): Gut. Use G.context.
15650 (ggc_pop_context): Likewise.
15651 (ggc_pop_context_1): New.
15652 (debug_ggc_tree): New.
15653 (debug_ggc_balance, tally_leaves): New.
15654 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15655 (ggc_mark_string_if_gcable): Remove decl.
15656 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15657 (ggc_mark_rtvec_children): New.
15658 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15659 (ggc_mark_if_gcable): New decl.
15660 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15661 (ggc_alloc_tree, ggc_alloc): Likewise.
15662 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15663 (ggc_alloc_obj): New decl.
15664 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15665 (ggc_alloc_tree, ggc_alloc): Likewise.
15666 (ggc_set_mark): New decl.
15667 * rtl.h (struct rtx_def): Remove gc_mark.
15668 (struct rtvec_def): Likewise.
15669 * tree.h (struct tree_common): Likewise.
15671 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
15673 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15674 float_format and thread_file definitions.
15675 * configure: Rebuilt.
15677 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
15679 * extend.texi (Function Names): Document types of function names.
15681 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15683 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
15684 an earlyclobbered output conflict with RELOAD_INPUT reloads.
15686 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15688 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15690 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15692 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15694 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
15696 * collect2.c (main): Do prelimnary link on AIX if rflag.
15698 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15700 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15701 __CTOR_LIST__ in opposite order, which is the correct order for sorted
15703 (__do_global_dtors): similarly for __DTOR_LIST__.
15705 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15706 Diego Novillo <dnovillo@cygnus.com>
15708 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15711 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
15713 * fixincl/*: Merged "no_bogosity" branch
15714 * fixincl/fixlib.h: protect against doubly defining t_bool
15715 * fixincl/server.h: protect against doubly defining t_bool
15717 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
15719 * genoutput.c: Include toplev.h.
15721 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
15723 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15725 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15726 * configure: Regenerate.
15728 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
15730 * gcse.c (delete_null_pointer_checks): Returns void.
15732 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15734 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15735 * emit-rtl.c (copy_insn_1): Likewise.
15737 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
15739 * config/mips/mips.c (mips_build_va_list): Correct
15740 TREE_CHAIN setting when hard-float.
15741 (mips_va_start): Use corrected setting.
15742 (mips_va_arg): Likewise. Also pass a tree to build of
15743 POSTINCREMENT_EXPR rather than a naked 'int'.
15745 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
15747 * ggc.h (ggc_push_context): Fix comment.
15748 (ggc_pop_context): Likewise.
15749 (mark_string_if_gcable): Likewise.
15750 * ggc-common.c (ggc_mark_rtx_children): Use
15751 ggc_mark_string_if_gcable.
15752 * ggc-page.c (ggc_lookup_page_table): New function.
15753 (ggc_allocated_p): Likewise.
15754 (mark_obj): Fix formatting.
15755 (ggc_mark_string_if_gcable): New function.
15756 * ggc-simple.c (ggc_allocated_strings): New variable.
15757 (ggc_strings_used): Likewise.
15758 (ggc_compare_addresses): New function.
15759 (ggc_pop_context): Pop the `any' memory too.
15760 (ggc_mark_string_if_gcable): New function.
15761 (ggc_collect): Initialize and tear down ggc_allocated_strings.
15763 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
15765 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15766 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15767 * rs6000.c (expand_block_move): Match movstrsi_?reg register
15770 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
15772 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15773 (sched_reg_live_length, sched_reg_basic_block): Delete.
15774 (current_block_num, bb_live_regs, old_live_regs): Delete.
15775 (dead_notes, struct sometimes): Delete.
15776 (sched_note_set, birthing_insn_p): Delete.
15777 (adjust_priority): Gut useless reg lifetime code.
15778 (create_reg_dead_note, attach_deaths): Delete.
15779 (attach_deaths_insn, new_sometimes_live): Delete.
15780 (finish_sometimes_live): Delete.
15781 (find_pre_sched_live, find_post_sched_live): Delete.
15782 (update_reg_usage): Delete.
15783 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15784 (schedule_insns): Delete reg lifetime code.
15785 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15786 (unlink_other_notes): Adjust REG_NOTE commentary.
15787 (reemit_notes): Use REG_SAVE_NOTE.
15788 (schedule_block): Likewise.
15789 (schedule_region): Allocate bitmap of blocks in region. Use
15790 count_or_remove_death_notes. Use update_life_info.
15792 * rtl.h (REG_SAVE_NOTE): New.
15793 * rtl.c (reg_note_name): Update.
15795 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
15797 * combine.c (refresh_blocks, need_refresh): New.
15798 (combine_instructions): Allocate refresh_blocks. Invoke
15799 update_life_info if needed.
15800 (distribute_notes): Mark refresh_blocks instead of installing
15802 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15803 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15805 * Makefile.in (recog.o): Depend on basic-block.h.
15807 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
15809 * genrecog.c (add_to_sequence): Thinko last change: delete
15810 shadowing allow_const_int variable.
15812 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15814 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
15815 __GNUC__ and __GNUC_MINOR__.
15817 * gansidecl.h: Likewise.
15823 * toplev.h: Likewise.
15825 * tree.c: Likewise.
15827 * tree.h: Likewise.
15829 * varray.c: Likewise.
15831 * varray.h: Likewise.
15833 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15835 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
15836 use one before a jump table.
15838 * rtl.def (ADDRESS): Change documentation to match reality.
15839 * md.texi: Don't document it.
15840 * gmicro.md (load address pattern): Use 'p' constraint, delete use
15843 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
15845 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
15847 * genrecog.c (add_to_sequence): Move allow_const_int test outside
15848 known predicate block; default allow_const_int true.
15849 (debug_decision_list): New.
15851 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
15853 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
15855 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
15857 * gcse.c (gcse_main): Avoid global optimizations if we have a
15858 large number of basic blocks and the ratio of edges to blocks
15860 (delete_null_pointer_checks): Likewise.
15862 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
15864 * c-common.c (check_format_info): Warn if format string isn't a
15867 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15869 * configure.in (arm*-*-*): Don't let autoconf remove brackets
15870 * configure: regenerate
15872 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
15874 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
15875 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
15876 (peepholes): Re-enable.
15878 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
15880 * Makefile.in (flow.o): Depend on TREE_H.
15881 * basic-block.h (REG_SET_EQUAL_P): New.
15882 (XOR_REG_SET): New.
15883 (n_edges): Declare.
15884 (free_regset_vector): Remove declaration.
15885 (flow_delete_insn_chain): Declare.
15886 (enum update_life_extent): New.
15887 (update_life_info, count_or_remove_death_notes): Declare.
15888 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
15889 Verify register live at bb->global_live_at_start before adding USE.
15890 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
15891 (CLEAN_ALLOCA): New.
15893 (PROP_*): New flags.
15894 (find_basic_blocks_1): Use alloc_EXPR_LIST.
15895 (clear_edges): Zero n_edges.
15896 (make_edge): Increment n_edges.
15897 (split_edge): Don't allocate bb->local_set. Increment n_edges.
15898 (flow_delete_insn_chain): Export.
15899 (delete_block): Decrement n_edges.
15900 (merge_blocks_nomove): Likewise.
15901 (life_analysis): Give life_analysis_1 PROP flags.
15902 (verify_wide_reg_1, verify_wide_reg): New.
15903 (verify_local_live_at_start): New.
15904 (update_life_info): Rewrite to call into propogate_block.
15906 (mark_regs_live_at_end): After reload, if epilogue as rtl,
15907 always mark stack pointer. Conditionally mark PIC register.
15908 After reload, mark call-saved registers, return regsiters.
15909 (life_analysis_1): Accept PROP flags not remove_dead_code.
15910 Call mark_regs_live_at_end before zeroing regs_ever_live.
15911 Use calculate_global_regs_live. Copy global_live_at_end before
15912 calling final propagate_block. Zero reg_next_use on exit.
15913 (calculate_global_regs_live): New.
15914 (allocate_bb_life_data): Don't allocate bb->local_set.
15915 (init_regset_vector, free_regset_vector): Remove.
15916 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
15917 Test flags before every operation. Warn if prologue/epilogue insn
15918 would have been deleted.
15919 (mark_set_regs, mark_set_1): Accept and use FLAGS.
15920 Use alloc_EXPR_LIST.
15921 (mark_used_regs): Accept and use FLAGS, not FINAL.
15922 Remove special handling for RETURN.
15923 (try_pre_increment): Use alloc_EXPR_LIST.
15924 (dump_flow_info): Dump n_edges.
15925 (unlink_insn_chain, split_hard_reg_notes): Remove.
15926 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
15927 (find_insn_with_note, new_insn_dead_notes): Remove.
15928 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
15929 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
15930 (replace_insns): Remove.
15931 (count_or_remove_death_notes): New.
15932 (verify_flow_info): Abort on error after all checks.
15933 (remove_edge): Decrement n_edges.
15934 (remove_fake_edges): Tweek format.
15935 * haifa-sched.c (schedule_insns): Use split_all_insns.
15936 * output.h (update_life_info): Remove declaration.
15937 * recog.c (split_all_insns): From the corpse of split_block_insns,
15938 do the whole function block by block. Use update_life_info.
15939 (recog_last_allowed_insn): New.
15940 (recog_next_insn): Mind it.
15941 (peephole2_optimize): Set it. Walk backwards through blocks.
15942 Use update_life_info.
15943 * rtl.h (update_flow_info, replace_insns): Remove declarations.
15944 (split_all_insns): Declare.
15945 * toplev.c (rest_of_compilation): Thread prologue before flow2.
15946 Use split_all_insns.
15948 * i386.md (or -1 peep2s): Disable.
15950 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
15952 * config/mips/mips.md (movstrsi+[123]) : Combine these into
15953 a single pattern. Scrap the 'd' versions as unnecessary.
15955 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
15956 tablejump_mips162,tablejump_internal4): The operands to a
15957 label_ref must be VOIDmode.
15959 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15961 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
15963 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
15965 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
15967 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
15969 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
15970 cache every function if ggc_p.
15972 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15974 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
15975 instead of copy_rtx. Accept sequences that contain asm statements.
15976 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
15977 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
15978 orig_asm_operands_vector, copy_asm_operands_vector,
15979 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
15981 * rtl.h (copy_insn, copy_insn_1): Declare.
15983 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15985 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
15987 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
15988 arguments to `current_file_function_operand'.
15990 * genrecog.c: Include hard-reg-set.h and resource.h in the
15991 generated output file.
15993 * real.c: Include tm_p.h.
15995 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15997 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
16000 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
16002 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
16003 before the fctiwz insn.
16005 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16006 Mark Mitchell <mark@codesourcery.com>
16008 * tree.c (make_lang_type_fn): New funtion pointer.
16009 (make_lang_type): Call it.
16010 * tree.h (make_lang_type): Declare.
16011 (make_lang_type_fn): Likewise.
16012 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16014 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
16016 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16017 make sure that HIGH instructions are copied into BASE_REGS.
16019 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
16021 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16023 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
16025 * c-decl.c (finish_struct): Use simpler method of
16026 removing elements of a singly-linked list.
16028 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
16030 * alpha.md (peephole2's): Comment out peephole2's that generate
16033 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
16035 * genrecog.c (add_to_sequence): Disable mode check for
16038 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16040 * ggc-simple.c (init_ggc): Set empty_string.
16042 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
16044 * configure.in: Detect mmap. Add --with-gc=foo to select
16045 garbage collector; default to page if mmap available.
16046 * Makefile.in (GGC): Substitute.
16048 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
16050 * c-decl.c (ggc_p): Enable.
16052 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16054 * flow.c (verify_flow_info): Make it extern & unconditionally define.
16056 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
16058 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16059 string for little-endian-data.
16061 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
16063 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16064 case somebody tries to compile --enable-checking code with gcc
16067 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
16069 * genrecog.c (add_to_sequence): Verify operand to label_ref is
16072 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
16074 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16075 * jump.c (jump_optimize_1): Document why.
16077 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16079 * collect2.c (scan_prog_file, scan_libraries): Prototype function
16080 pointers and casts for `int_handler' and `quit_handler'.
16082 * flow.c (verify_flow_info, split_hard_reg_notes,
16083 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16084 remove_edge, remove_fake_successors): Add static prototypes.
16085 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16086 (mark_set_1): Initialize variable `regno'.
16087 (unlink_insn_chain): Likewise for variable `curr'.
16088 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16090 * loop.c (strength_reduce): Initialize variable
16091 `unrolled_insn_copies'.
16092 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16093 prototypes. Change these functions to take const PTR parameters
16094 to avoid prototype conflict when used as the comparson argument
16096 (check_dbra_loop): Initialize variable `comparison_val'.
16098 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16099 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16100 (find_valid_class): Initialize variable `best_class'.
16101 (find_reloads): Call memcpy, not bcopy.
16103 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16104 (hard_reg_use_compare): Don't needlessly cast away const.
16105 (reload_reg_class_lower): Likewise.
16106 (choose_reload_regs): Initialize variable `regno'.
16108 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
16110 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16112 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
16114 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16115 ({,d}discard): Add forward declarations. Declare parameter as
16117 (main_without_main): Explicitly declare return type to be int.
16118 (memcpy): Properly declare.
16120 * libgcc2.c (toplevel): If inhibit_libc is defined and not
16121 building the trampoline support, declare malloc, free, and
16123 (__clear_cache): Mark arguments as potentially unused.
16125 * frame.c (toplevel): If inhibit_libc is defined, declare
16128 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
16130 * flow.c (make_edge): Accept an optional 2D bitmap in which
16131 to cache edge existence. Update all callers.
16132 (make_label_edge, make_eh_edge): Pass through the edge cache.
16133 (make_edges): Provide the cache.
16135 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16137 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16139 (local_mbtowc): Change the type of variable `i' from int to size_t.
16141 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16142 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16144 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
16146 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16147 after other includes that define the appropriate types. Include
16148 tm_p.h for getting user prototypes.
16149 * ggc-callbacks.c (toplevel): Ditto.
16150 * ggc-none.c (toplevel): Ditto.
16151 * gcc-page.c (toplevel): Ditto.
16152 * ggc-simple.c (toplevel): Ditto.
16154 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
16155 Jonathan Larmour <jlarmour@cygnus.co.uk>
16157 * config/mips/mips.c (mips_move_2words): Split doubles if
16158 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16160 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
16162 * genrecog.c (struct decision_test): New.
16163 (struct decision): Remove test-related members, sort the rest by size.
16164 (IS_SPLIT): Simplify.
16165 (new_decision, new_decision_test): New.
16166 (add_to_sequence): Use them. No special handling for args of
16168 (maybe_both_true): Renamed from not_both_true; return sense changed.
16169 (maybe_both_true_1, maybe_both_true_2): New. Broken out
16170 of maybe_both_true and adjusted for decision_test.
16171 (position_merit): Remove.
16172 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16173 (merge_accept_insn): New, broken out of merge_trees.
16174 (merge_trees): Use them. No special case for c_test; no node
16175 splitting; use test type instead of position_merit.
16176 (factor_tests): New.
16177 (simplify_tests): New.
16178 (break_out_subroutines): Don't write code now.
16179 (find_afterward): New.
16180 (write_afterward, write_switch, write_cond): New.
16181 (write_action, is_unconditional): New.
16182 (write_node): New. Use them.
16183 (write_tree_1): Rewrite. Use the new functions above.
16184 (write_tree): Remove afterward processing.
16185 (write_subroutine): Simplify function variant emission.
16186 (write_subroutines): New.
16187 (same_codes, clear_codes): Remove.
16188 (same_modes, clear_modes): Remove.
16189 (write_header): New, broken out of main.
16190 (make_insn_sequence): Use new_decision and new_decision_test.
16191 (process_tree): New, broken out of main.
16192 (main): Adjust for merge_trees interface change.
16193 Don't #define operands in the output file.
16194 (record_insn_name): New, broken out of make_insn_sequence.
16195 (debug_decision_2, debug_decision_1, debug_decision_0): New.
16196 (debug_decision): New.
16198 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
16200 * resource.c (find_free_register): Mark class_str argument const.
16201 * resource.h: Update prototype to match.
16203 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16204 * i386.md: Give all anonymous insns names.
16206 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
16208 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16211 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
16213 * toplev.c (dbr_sched_time): Unconditional.
16214 (peephole2_time): New.
16215 (compile_file): Add pass numbers to all of the dump file suffixes.
16216 Dump peephole2_time. Don't dump times for non-applicable passes.
16217 (rest_of_compilation): Add pass numbers to dump file suffixes.
16218 Conditionalize calls to the scheduler.
16219 * invoke.texi: Update.
16221 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
16223 * flow.c (make_edges): Fix insn iteration.
16224 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16225 (find_basic_blocks_1): Fix spelling mistake.
16227 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
16229 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16230 always have side-effects. Use memset not bzero.
16231 (make_node): Likewise.
16233 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
16235 * stmt.c (expand_anon_union_decl): When any of the elements of the
16236 union is addressable, so is the entire union.
16238 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
16240 * sbitmap.c (sbitmap_ones): Don't set too many bits.
16242 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16243 * bitmap.c (bitmap_operation): Return true iff TO changed.
16244 (bitmap_equal_p): New.
16245 (bitmap_bit_p): Tidy arithmetic.
16246 (debug_bitmap_file): Likewise.
16248 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
16250 * toplev.c (rest_of_compilation): Turn on cse_not_expected
16251 before cse2 instead of after.
16253 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
16255 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16258 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16260 * cppinit.c (is_idchar initializer): Loosen tests to accept
16263 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
16265 * mips.md: Define conditional move patterns for floating point
16266 operands and DI mode conditions.
16268 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
16270 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16271 always have side-effects.
16273 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
16275 * mn10200.c (asm_file_start): Fix typo.
16277 * cppinit.c (is_idchar initializer): Tighten tests for when
16278 to put the table into initialized memory.
16280 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16281 not an array of rtunion.
16282 * gcc-page.c (ggc_alloc_rtvec): Similarly.
16283 * gcc-simple (ggc_free_rtvec): Similarly.
16285 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16288 * mbchar.h: Add missing #endif.
16290 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16291 (FPBIT, DPBIT): Define.
16293 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16295 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16297 * profile.c (instrument_arcs, output_gcov_string,
16298 tablejump_entry_p): Add static prototypes.
16299 (output_gcov_string): Constify a char*.
16301 * regmove.c (replacement_quality, fixup_match_2): Add static
16304 * resource.h (reg_dead_p): Add extern prototype.
16306 * rtl.c (trim_filename): Add static prototype.
16308 * scan-decls.c (skip_to_closing_brace): Likewise.
16310 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16311 (expand_end_case): Initialize variable `range'.
16312 (emit_case_nodes): Remove unused prototype `rtx_fn'.
16314 * varasm.c (asm_emit_uninitialised): Add static prototype.
16315 (asm_emit_uninitialised, assemble_variable): Mark parameter with
16318 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16320 * cpplib.c (if_directive_nameo): Add static prototype.
16322 * cse.c (cse_insn): Remove unused variable `p'.
16324 * except.c (create_rethrow_ref, push_entry,
16325 receive_exception_label, new_eh_region_entry, find_func_region,
16326 clear_function_eh_region, process_nestinfo): Add static prototypes.
16327 (get_reg_for_handler): Hide definition.
16328 (process_nestinfo): Initialize variable `extra_handlers'.
16330 * expr.h (expand_builtin_longjmp): Add extern prototype.
16332 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16334 * function.c (prepare_function_start): Likewise.
16335 (pop_function_context_from): Mark parameter `context' with
16337 (push_temp_slots_for_block, flush_addressof): Hide definition.
16339 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16340 solve_program_flow_graph, calculate_branch_probs,
16341 function_summary, main, fancy_abort): Add prototypes.
16343 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16344 (add_hash): Constify a char*.
16346 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16347 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16348 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16350 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16352 * lists.c (free_list, zap_lists): Likewise.
16354 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16356 * alias.c (nonlocal_reference_p): Add static prototype.
16358 * bitmap.c (bitmap_element_allocate): Prototype args in function
16361 * builtins.c (stabilize_va_list): Add static prototype.
16362 (expand_builtin_va_arg): Constify a char*.
16364 * c-lex.c (getch, put_back, extend_token_buffer_to,
16365 read_line_number, token_getch, token_put_back): Add static
16368 * c-parse.gperf (hash, is_reserved_word): Likewise.
16370 * cccp.c (is_dir_separator): Likewise.
16372 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16374 * graph.h: New file to prototype functions exported by graph.c.
16376 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16378 * graph.c: Include graph.h.
16380 * toplev.c: Likewise. Remove redundant prototypes.
16382 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
16384 * invoke.texi: Removed duplicated description for -Q.
16386 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
16388 * extend.texi: Grammar fix in __extension__ text.
16390 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
16392 * md.texi (define_peephole2): New section.
16394 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
16396 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16397 (mov $-1 to or peepholer): Enable for pentium when optimizing for
16400 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
16402 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16404 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
16406 * i386.md (ffs expander): Emit Pentium friendly code for
16409 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
16411 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16413 (build1): Likewise.
16415 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16417 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16419 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
16421 * config/m68k/m68k.c (use_return_insn): Return false if the pic
16422 register is in use.
16424 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16426 * md.texi (No Constraints): Delete section.
16427 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16428 * final.c (final_scan_insn): We always have register constraints.
16429 * genattrtab.c: Don't include "insn-config.h".
16430 (write_attr_case): We always have register constraints.
16431 * genconfig.c (register_constraint_flag): Delete.
16432 (walk_insn_part): Don't check whether we have register constraints.
16433 (main): Don't write out "#define REGISTER_CONSTRAINTS".
16434 * genoutput.c (have_constraints): Delete.
16435 (main): Don't set it.
16436 (output_operand_data): We always have constraints.
16437 (scan_operands): Likewise.
16438 (compare_operands): Likewise.
16439 * local-alloc.c (block_alloc): We always have constraints.
16440 (requires_inout): Always compile this function.
16441 * recog.c (extract_insn): We always have constraints.
16442 (constrain_operands, reg_fits_class_p): Always compile these
16444 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16446 (struct insn_operand_data): Likewise.
16447 * regclass.c (regclass): We always have constraints.
16448 (record_reg_classes, copy_cost, record_address_regs,
16449 auto_inc_dec_reg_p): Always compile these functions.
16450 * regmove.c (regmove_optimize): We always have constraints.
16451 * reload.c (find_reloads): Likewise.
16452 * reload1.c (reload): Likewise.
16453 (reload_cse_simplify_operands): Likewise.
16454 * i860.c (output_delay_insn): Likewise.
16456 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
16458 * iris6.h (BUILD_VA_LIST_TYPE): Define.
16460 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16462 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16463 for the va_list record.
16465 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
16467 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16470 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
16472 * alias.c: Include insn-flags.h.
16473 * Makefile.in (alias.o): Update.
16475 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
16477 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16478 to LTU and GEU. Handle more cases using sbb.
16480 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
16482 * i386.md (truncatexfdf splitters): Do not use subreg.
16483 (fop XFmode patterns): Fix mode in operand testing.
16485 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
16487 * jump.c (jump_optimize_1): Amend last change to test only the
16488 form of the operand, not the insn.
16490 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16491 not register_operand to determine when B may need preloading.
16493 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
16495 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16496 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16497 (call-value patterns): Move to end of file.
16498 (*): Remove mode from label_ref in (pc) context.
16499 (movstrqi): Use memory not general_operand for BLKmode operands.
16500 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16501 to register_operand operands.
16502 (peep2 patterns): Convert from commented-out peephole patterns.
16504 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16506 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16507 to BUILT_IN_INIT_DWARF_REG_SIZES.
16508 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16509 Renamed from BUILT_IN_DWARF_REG_SIZE; call
16510 expand_builtin_init_dwarf_reg_sizes.
16511 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16512 with __builtin_init_dwarf_reg_size_table.
16513 * dwarf2out.c (struct reg_size_range): Delete.
16514 (expand_builtin_init_dwarf_reg_sizes): New function.
16515 (expand_builtin_dwarf_reg_size): Delete.
16516 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16517 (expand_builtin_dwarf_reg_size): Don't declare.
16518 * libgcc2.c (dwarf_reg_size_table_initialized): New.
16519 (dwarf_reg_size_table): New.
16520 (init_reg_size_table): New function.
16521 (copy_reg): Use dwarf_reg_size_table.
16522 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16525 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
16527 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16528 Correctly build argument list to constructor and destructor functions.
16530 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
16532 * c-tree.h (warn_float_equal): Declare.
16533 * c-decl.c (warn_float_equal): Define.
16534 (c_decode_option): Recognize -W[no-]float-equal.
16535 * c-typeck.c (build_binary_op): Conditionally warn
16536 about equality tests of floating point types.
16537 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16538 * invoke.texi: Add docs for -Wfloat-equal warning.
16540 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
16542 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16543 generating RTL directly.
16544 * mips.h (INIT_TARGET_OPTABS): Likewise.
16545 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16547 * expr.h (init_mov_optab): Delete declaration
16549 * h8300.c (WORD_REG_USED): Update to avoid useless register
16550 saves in interrupt functions and functions which never return.
16552 * cse.c (struct set): Delete inner_dest_loc field.
16553 (cse_insn): Remove assignments to inner_dest_loc field.
16555 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
16557 * ggc-page.c: Don't include <unistd.h> etc taken care of
16558 by "system.h". Include <sys/mman.h> afterward.
16560 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
16562 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16565 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
16567 * xcoffout.c (xcoffout_declare_function): Add documentation.
16568 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16569 TARGET_64BIT. Compare constant to -1, not bit pattern.
16570 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16571 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
16574 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
16576 * dwarf2out.c (add_abstract_origin_attribute): Abort if
16577 origin_die is NULL.
16578 (gen_inlined_enumeration_type_die): Do not abort if the type has
16579 not been writeen out.
16580 (gen_inlined_structure_type_die): Do not abort if the type has
16581 not been writeen out.
16582 (gen_inlined_union_type_die): Do not abort if the type has
16583 not been writeen out.
16584 (gen_tagged_type_instantiation_die): Do not abort if the type
16585 has not been written out.
16587 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16589 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16591 * reg-stack.c (straighten_stack): Copy hard reg set with
16594 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
16596 * builtins.c (stabilize_va_list): Stabilize array type va_list
16597 to a pointer type, not the base record type.
16598 (expand_builtin_va_copy): Dereference the pointers explicitly;
16599 use the correct size for the copy.
16601 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16602 (rs6000_va_arg): Likewise.
16604 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
16606 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16608 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
16610 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16612 (DECL_BUILT_IN_CLASS): Adjust accordingly.
16614 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
16616 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16617 (init_ggc): Use it instead of a constant.
16618 (ggc_collect): Bound allocated_last_gc by it.
16620 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
16622 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16625 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
16627 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
16628 (mips*-*-openbsd*): Let big endian configuration be a fragment.
16629 * configure: Regen.
16630 * config/mips/openbsd.h: New, OpenBSD little endian target.
16631 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
16632 * config/mips/xm-openbsd.h: New, OpenBSD host.
16634 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
16636 * config/m68k/m68k.c (output_function_prologue,
16637 output_function_epilogue): Use
16638 current_function_uses_pic_offset_table instead of regs_ever_live
16639 to decide whether to save/restore pic register.
16640 (legitimize_pic_address): Don't modify regs_ever_live any more.
16642 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
16644 * function.h (struct function): Add x_dont_save_pending_sizes_p.
16645 * stor-layout.c (variable_size): Don't add sizes to the pending
16646 sizes list if x_dont_save_pending_sizes_p is set.
16648 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
16650 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16651 for symbolic_operand().
16652 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16654 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16656 * combine.c (gen_rtx_combine): Add missing call to va_end().
16658 * final.c (asm_fprintf): Likewise.
16660 * genattrtab.c (attr_rtx): Likewise.
16662 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
16664 * cse.c: Update comments.
16665 (cse_insn): When converting a conditional/computed jump into
16666 an unconditional jump, always make sure a BARRIER immediately
16667 follows the converted jump. Do not delete unreachable code.
16668 (cse_basic_block): Do not delete unreachable code.
16669 * toplev.c (rest_of_compilation): Move call to
16670 delete_trivially_dead_insns after the conditional call to
16673 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16675 * collect2.c (make_temp_file): Don't prototype.
16677 * gcc.c (make_temp_file): Likewise.
16679 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16681 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
16683 * varasm.c (asm_emit_uninitialised): New function: Generate
16684 the assembler statements necessary to declare an uninitialised
16686 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16688 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16689 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16691 (assemble_variable): Use asm_emit_uninitialised to emit an
16692 uninitialised variable.
16694 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
16696 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16697 constant on a 64 bit host. Patch supplied by Geoffrey Keating
16698 <geoffk@cygnus.com>.
16700 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16702 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16703 * c-common.h (builtin_function): Don't declare.
16705 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16707 (pushdecl): Likewise.
16708 (finish_decl): Likewise.
16709 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
16710 int. All callers changed.
16711 Set the builtin's DECL_BUILT_IN_CLASS.
16712 * tree.h (enum built_in_class): New.
16713 (enum built_in_function): Delete NOT_BUILT_IN.
16714 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16716 (DECL_SET_FUNCTION_CODE): Likewise.
16717 (DECL_BUILT_IN_CLASS): New macro.
16718 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16719 (struct tree_decl): Split builtin function code field into a
16721 (builtin_function): Declare.
16723 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
16725 * optabs.c (init_traps): Fix typo in last change.
16727 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
16729 * toplev.c (rest_of_decl_compilation): Update comment.
16731 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
16733 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16734 in .sbss if appropriate.
16735 (EXTRA_SECTION_FUNCTIONS): Add sbss.
16736 (SBSS_SECTION_ASM_OP): New macro.
16737 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16738 (EXTRA_SECTIONS): Add in_sbss.
16739 * config/mips/mips.h: Prototype sbss_section.
16741 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
16743 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16746 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
16748 * optabs.c (init_traps): Register trap_rtx as a GC root.
16750 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16752 * config/mips/mips.c (function_arg_pass_by_reference): Define
16753 unconditionally, since it's called unconditionally.
16755 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16757 * toplev.c (documented_lang_options): Add -fshort-wchar.
16758 * c-decl.c (c_decode_option): Likewise.
16759 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16761 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16762 * gcc.c (default_compilers): If -fshort-wchar,
16763 override __WCHAR_TYPE__.
16764 * tm.texi (C Dialect Options): Add -fshort-wchar.
16766 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16767 symbol for a variable.
16769 * cpplib.h (CPP_PREPROCESSED): New macro.
16770 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16771 we're seeing this input for a second time.
16773 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
16775 * emit-rtl.c (init_emit_once): Initialize modes first.
16777 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
16779 * config/i386/i386.c (pic_label_name): Change to char pointer.
16780 (global_offset_table): New variable.
16781 (load_pic_register): Fill global_offset_table if it hasn't
16782 already been done. Allocate pic_label_name dynamically.
16783 * ggc.h (empty_string): New variable.
16784 * ggc-simple.c (empty_string): Likewise.
16785 (init_ggc): Allocate empty_string and add as root.
16786 * stmt.c (digit_strings): New variable.
16787 (init_stmt): Add last_block_end_note as root. Allocate and
16788 initialize digit_strings.
16789 (expand_asm_operands): Use empty_string instead of string
16790 constant. Use digit_strings instead of string constants.
16791 * profile.c (init_arc_profiler): Allocate string with
16792 ggc_alloc_string instead of xmalloc.
16793 (output_func_start_profiler): Likewise.
16794 * c-typeck.c (digest_init): Check if init is error_mark_node.
16796 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
16797 Richard Henderson <rth@cygnus.com>
16799 * ggc-page.c: New file.
16800 * Makefile.in (ggc-page.o): New.
16802 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
16804 * invoke.texi: Document -fdelete-null-pointer-checks
16805 * toplev.c (flag_delete_null_pointer_checks): New.
16806 (f_options): Add entry for -fdelete-null-pointer-checks.
16807 (rest_of_compilation): Conditionalize null pointer check
16808 elimination on flag_delete_null_pointer_checks.
16809 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
16811 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
16813 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
16814 copyright notice and special exception to GPL.
16816 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16818 * abi64.h (mips_function_value): Add prototype arguments.
16820 * mips-protos.h: New file with mips prototypes.
16822 * mips.c: Include "tm_p.h".
16823 (mktemp, lookup_name): Add prototype arguments.
16824 (extern_list, string_constant, mips_fill_delay_slot,
16825 mips_output_external, mips_output_external_libcall,
16826 mips_output_filename, mips_declare_object, function_prologue,
16827 mips_expand_prologue, function_epilogue, mips16_constant,
16828 build_mips16_function_stub, mips_output_conditional_branch):
16830 (mips_va_start): Remove unused variable `u'.
16831 (mips_va_arg): Cast value to unsigned when comparing against one.
16833 (save_restore_insns, mips_expand_prologue): Add missing arg in
16834 call to `large_int'.
16836 * mips.h: Move prototypes to mips-protos.h.
16837 (data_section, memory_address_p, rdata_section,
16838 readonly_data_section, simple_epilogue_p, text_section): Delete
16839 prototypes delcared elsewhere.
16840 (mips_epilogue_delay_slots, print_options): Delete unused decls.
16842 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
16844 * mips.md: Delete extra args in call to `mips_move_2words'.
16846 * xm-iris6.h (alloca): Add prototype argument.
16848 * genpeep.c: Include "tm_p.h" in generated output file.
16850 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16852 * basic-block.h (find_edge_index): Change parameters.
16853 * flow.c (verify_edge_list): Pass basic_block parameters to
16854 find_edge_index instead of integers.
16856 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
16858 * combine.c (simplify_comparison): Use an unsigned shift to adjust
16861 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
16863 * gcc.1: Fix a formatting error.
16865 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16867 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
16868 i786, mn10200, mn10300, pdp11, v850.
16870 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
16872 * libgcc2.c (num_digits): Add prototype with
16873 __attribute__((const)).
16874 (__terminate): Add prototype.
16876 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
16878 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
16880 * alpha/alpha.c (print_operand): Fix type of `code'.
16881 (alpha_output_filename): Constify.
16882 * alpha/alpha.h: Move all function declarations ...
16883 * alpha/alpha-protos.h: ... here. New file.
16884 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
16885 (SECTION_FUNCTION_TEMPLATE): Likewise.
16887 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16889 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
16890 * expr.c (expand_expr): Likewise.
16891 (do_jump): Likewise.
16892 (do_store_flag): Pass ccp_store_flag to can_compare_p.
16893 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
16895 (enum can_compare_purpose): New.
16896 (can_compare_p): Adjust prototype.
16897 (prepare_cmp_insn, prepare_operand): Declare.
16898 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
16899 * optabs.c (cmp_available_p): Deleted.
16900 (expand_abs): Pass ccp_jump to can_compare_p.
16901 (can_compare_p): New arg PURPOSE. Check for combined optabs.
16902 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
16903 Call can_compare_p rather than cmp_available_p.
16904 (prepare_operand): No longer static.
16905 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
16906 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
16907 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
16908 sequence to use emit_cmp_and_jump_insns.
16909 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
16911 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
16913 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
16914 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
16915 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
16916 (plus (reg) (const_int 0))
16917 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
16919 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
16921 * rs6000.c (expand_block_move): DImode loads and stores require
16922 word-aligned displacements. Increment address registers with
16923 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
16925 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
16927 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
16928 is no name for the base type, rather than segfault. If we are
16929 writing out a complex integer type, use DW_ATE_lo_user.
16931 * expr.c (emit_move_insn_1): If we are copying a complex that fits
16932 in one word or less (complex char, complex short, or on 64 bit
16933 systems complex float) to/from a hard register, copy it through
16934 memory instead of dying in gen_{real,imag}part. If we have a
16935 short complex type, prevent inlining since it allocates stack
16938 * tree.c (build_complex_type): If we are writing dwarf2 output,
16939 generate a name for complex integer types.
16941 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16943 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
16944 * flow.c (remove_edge): Remove extra whitespace.
16945 (remove_fake_edges): Fix comment.
16946 (add_noreturn_fake_exit_edges): Use the correct name.
16948 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
16950 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
16951 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
16952 (clean): Depend on INTL_CLEAN.
16953 (maintainer-clean): Adjust.
16955 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16957 * configure.in (AC_PREREQ): Bump to 2.13.
16958 (AC_C_STRINGIZE): Call this instead of using a custom macro.
16960 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
16962 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
16964 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
16966 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
16967 (HAVE_STRINGIZE): Define.
16969 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
16971 * c-parse.in: save and restore warn_pointer_arith on __extension__
16972 along with pedantic.
16973 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
16974 Set the type of extension to itype rather than $<itype>1 kludge.
16975 * extend.texi (Alternate Keywords): Adjust documentation.
16976 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
16978 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
16980 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
16981 most assembler templates.
16983 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
16984 FP loads and stores.
16985 (following_call): Always return zero for the PA8000.
16986 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
16987 FP loads and stores.
16988 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
16990 * pa.h (BRANCH_COST): Define.
16992 * pa.md (return, return_internal): Use bve for PA2.0.
16994 * pa.md (fused multiply): Add variants which reduce height for the
16995 fused multiply, but which still generate 2 insns.
16996 (fnegabs): Similarly.
16998 * pa.md (subsi3): Turn into an expander. Create two anonymous
16999 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
17000 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
17002 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
17004 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17006 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17007 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17009 * regclass.c (init_regs): Add "top_of_stack" as a garbage
17012 * flow.c (record_active_eh_regions): Terminate loop after finding
17013 the last insn in the last basic block.
17015 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17017 * config/c4x/c4x.md: Delete parallel instruction peepholes.
17019 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17021 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17023 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17025 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17026 splitting to not use output template.
17028 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17030 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17031 * config/c4x/c4x.c (c4x_va_start): New function.
17033 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
17035 * genrecog.c (not_both_true): Handle correctly cases when called for
17036 tests with different positions in the insn.
17038 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17040 * machmode.h (HOST_PTR_PRINTF): Move from here ...
17042 * system.h (HOST_PTR_PRINTF): ... to here.
17044 * mips-tfile.c: Don't include machmode.h.
17046 * Makefile.in (MACHMODE_H): New variable. Update to use it.
17047 (mips-tfile.o): Don't depend on machmode.h.
17049 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17051 * haifa-sched.c (sched_analyze): Rename local variable `region' to
17052 avoid conflicts with typedef struct `region' at the top level scope.
17054 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
17056 * basic-block.h (basic_block): Add eh_beg, eh_end.
17057 * flow.c (entry_exit_blocks): Update.
17058 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17059 Call new functions.
17060 (find_basic_blocks_1): Don't record eh_list at each bb. Use
17061 lists.c functions to allocate insn lists.
17062 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
17064 (make_eh_edge): ... here. New.
17065 (move_stray_eh_region_notes): New.
17066 (record_active_eh_regions): New.
17067 (delete_unreachable_blocks): Split out block merging ...
17068 (try_merge_blocks): ... here. New.
17069 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17070 Dump debugging data.
17071 (merge_blocks_move_successor_nojumps): Likewise.
17072 (merge_blocks): Use eh_beg+eh_end to validate block movement.
17074 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
17076 * extend.texi (Bound member functions): Document unbound pmf
17079 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17081 * flow.c (split_edge): Handle insertion on a fallthrough edge which
17082 has the EXIT_BLOCK as a dest.
17084 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17086 * flow.c (remove_edge): New function to remove an edge from the
17088 (remove_fake_successors): New function to remove fake successor edges.
17089 (remove_fake_edges): New function to remove all fake edges from the
17091 (add_fake_exit_edges): New function to add fake edges from all blocks
17092 with no successors to the exit block.
17093 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17094 prototypes for new functions.
17096 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17098 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17099 Use Pmode to determine whether to output .dword or .word.
17101 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
17103 * tree.c (built_in_filename): New variable.
17104 (BUILT_IN_FILENAME): New macro.
17105 (init_tree_codes): Allocate built_in_filename.
17106 (make_node): Use built_in_filename instead of string constant.
17108 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
17110 * configure.in: Add fr30 target.
17111 * configure: Regenerate.
17112 * config/fr30: New directory.
17113 * config/fr30/crti.asm: New file.
17114 * config/fr30/fr30.c: New file.
17115 * config/fr30/crtn.asm: New file.
17116 * config/fr30/fr30.h: New file.
17117 * config/fr30/fr30.md: New file.
17118 * config/fr30/lib1funcs.asm: New file.
17119 * config/fr30/t-fr30: New file.
17120 * config/fr30/xm-fr30.h: New file.
17122 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
17124 * flow.c (merge_blocks_move_successor_nojumps): Delete the
17125 BARRIER at the end of the successor, not the BARRIER before
17128 * pa.c (pa_add_gc_roots): Fix thinko in last change.
17130 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
17132 * stmt.c (any_pending_cleanups): Don't crash when
17133 current_function->stmt is unset.
17135 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17137 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17138 other initializations that may use it for relative offsets.
17140 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17142 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17143 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
17144 * config/i386/sol2dbg.h: Removed.
17145 * config/i386/sol2gas.h: New file, to enable gas work-around.
17146 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17147 Don't use sol2dbg.h.
17148 * configure: Rebuilt.
17150 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
17152 * invoke.texi (-fthis-is-variable): Remove documentation.
17154 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
17156 * basic-block.h (compute_bb_for_insn): Declare.
17157 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
17158 to use; set size of basic_block_for_insn directly.
17159 (find_basic_blocks): Update.
17161 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17163 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17165 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17167 * crtstuff.c (ON_EXIT): Delete empty macro definition.
17168 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17170 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
17172 * c-decl.c (c_decode_option): Extend comment.
17174 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
17176 * toplev.c (progname): Make 'const char *'
17177 (flag_print_mem): Move out of main.
17178 (version_flag): Move out of main.
17179 (filename): Move out of main.
17180 (debug_args): Remove g prefix from options.
17181 (documented_lang_options): Remove cpplib specific options.
17182 (display_help): Add g prefix to debug options.
17183 (check_lang_option): Delete this function.
17184 (decode_d_option): New function: Decode -d... option.
17185 (decode_f_option): New function: Decode -f... option.
17186 (decode_W_option): New function: Decode -W... option.
17187 (decode_g_option): New function: Decode -g... option.
17188 (independent_decode_option): New function: Decode a language
17189 independent command line option.
17190 (main): Invoke lang_decode_option and then
17191 independent_decode_option on each command line option in
17194 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
17196 Revert this change. Gavin's patch to operand_equal_p is a better fix.
17197 * fold-const.c (fold_range_test): Do not try to fold the range
17198 test if the rhs or lhs has side effects.
17200 * basic-block.h (compute_flow_dominators): Declare.
17202 * gcse.c (alloc_code_hoist_mem): New function.
17203 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17204 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17205 (hoist_code, one_code_hoisting_pass): Likewise.
17206 (gcse_main): If optimizing for size, then hoist expressions
17207 computed in multiple dominated basic blocks.
17209 * gcse.c (invalid_nonnull_info): New function.
17210 (delete_null_pointer_checks): Likewise.
17211 * rtl.h (delete_null_pointer_checks): Declare.
17212 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17214 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17215 (merge-blocks_move_successor_nojumps): Likewise.
17216 (merge_blocks): Allow merging of some blocks, even if it requires
17217 physical movement of the blocks, but not if it requires new jumps.
17219 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17220 Callers and prototype changed.
17221 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17223 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17225 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17226 -YP when both -p and -pg are present. From i386/sol2.h.
17228 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17230 * Makefile.in (distclean): Delete tm_p.h.
17231 * configure.in: Create a new file, "tm_p.h", from a list in
17232 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17233 "i386/i386-protos.h".
17235 * alias.c: Include "tm_p.h".
17236 * c-typeck.c: Likewise.
17237 * calls.c: Likewise.
17239 * emit-rtl.c: Likewise.
17240 * explow.c: Likewise.
17241 * expmed.c: Likewise.
17242 * expr.c: Likewise.
17243 * final.c: Likewise.
17244 * flow.c: Likewise.
17245 * fold-const.c: Likewise.
17246 * function.c: Likewise.
17247 * gcse.c: Likewise.
17248 * global.c: Likewise.
17249 * haifa-sched.c: Likewise.
17250 * integrate.c: Likewise.
17251 * jump.c: Likewise.
17252 * local-alloc.c: Likewise.
17253 * loop.c: Likewise.
17254 * optabs.c: Likewise.
17255 * recog.c: Likewise.
17256 * reg-stack.c: Likewise.
17257 * regclass.c: Likewise.
17258 * regmove.c: Likewise.
17259 * reload.c: Likewise.
17260 * reload1.c: Likewise.
17261 * reorg.c: Likewise.
17262 * resource.c: Likewise.
17263 * stmt.c: Likewise.
17264 * stor-layout.c: Likewise.
17265 * toplev.c: Likewise.
17266 * tree.c: Likewise.
17267 * unroll.c: Likewise.
17268 * genattrtab.c (main): Make generated file include "tm_p.h".
17269 * genemit.c (main): Likewise.
17270 * genoutput.c (main): Likewise.
17271 * genrecog.c (main): Likewise.
17273 * i386.h: Delete all prototypes.
17274 * i386.c: Include "tm_p.h".
17275 (ix86_attr_length_default): Call constant_call_address_operand
17276 with correct number of arguments.
17277 * i386-protos.h: New file.
17278 * i386.md (unnamed patterns): Call constant_call_address_operand
17279 with correct number of arguments.
17280 (exception_receiver): Call load_pic_register with correct number
17283 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
17285 * c-pragma.c (mark_align_stack): Dereference the void* properly.
17287 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
17289 * rtl.h (insns_safe_to_move_p): New function.
17290 * loop.c (find_and_verify_loops): Use it.
17291 * rtlanal.c (insns_safe_to_move_p): Define it.
17293 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
17295 * c-pragma.c: Include ggc.h.
17296 * Makefile.in (c-pragma.o): Update.
17298 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17300 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17301 (LIB_SPEC): Likewise.
17302 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17303 Reindent -YP/-p/-pg.
17304 Copied from config/sparc/sol2.h.
17306 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
17308 * c-pragma.c (mark_align_stack): New.
17309 (init_pragma): New.
17310 * c-pragma.h (init_pragma): Declare it.
17311 * c-lex.c (init_parse): Call it.
17313 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17315 * configure.in: Pick up thread library on Solaris/x86 just
17316 like on Solaris/sparc.
17317 * configure: Rebuilt.
17319 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
17321 * rtl.h (global_rtx_index): New enum.
17322 (global_rtl): Change to array of rtx.
17323 (pc_rtx, cc0_rtx): Redefine accordingly.
17324 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17325 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17326 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17327 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17328 (const_int_rtx): Change to array of rtx.
17329 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17331 * emit-rtl.c (global_rtl): Change to array of rtx.
17332 (const_int_rtx): Change to aray of rtx.
17333 (gen_rtx_CONST_INT): Redefine accordingly.
17334 (init_emit_once): Allocate and initialize global_rtl. Likewise
17335 for const_int_rtx. Add both as GC roots.
17336 * genattrtab.c (global_rtl): Update declaration.
17338 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
17340 * Makefile (USER_H): Add iso646.h back.
17342 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
17344 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17345 zapping the LOG_LINKS of sched_before_next_call.
17347 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17348 * pa.c (insn_refs_are_delayed): Renamed from
17349 insn_sets_and_refs_are_delayed.
17351 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
17353 * functiion.h (struct function): Add x_whole_function_mode_p.
17354 (retrofit_block): Declare.
17355 * function.c (retrofit_block): New function.
17356 (identify_blocks): Add assertions. Allow an incomplete set of
17357 block notes if we're still generating code for the function.
17358 * integrate.c: Include loop.h.
17359 (expand_inline_function): Call find_loop_tree_blocks to map block
17360 notes to blocks when in whole-function mode. Use retrofit_block
17361 to insert new BLOCKs for the inlined function, rather than
17363 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
17364 * Makefile.in (integrate.o): Depend on loop.h.
17366 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
17368 * tree.h (warn_about_unused_variables): Declare.
17369 * stmt.c (warn_about_unused_variables): New function, split out
17371 (expand_end_bindings): Here.
17373 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
17375 * stmt.c (preserve_subexpressions_p): Don't crash when
17376 current_function->stmt is unset.
17378 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
17380 * stmt.c (expand_start_bindings): Allow callers to pass a flag
17381 indicating that no NOTE_INSN_BLOCK_BEG note is required.
17382 (expand_start_target_temps): Use it.
17383 * except.c (expand_eh_region_start_for_decl): Likewise.
17384 * expr.c (expand_expr): Likewise.
17386 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
17388 * fold-const.c (operand_equal_p): Pay attention to side effects.
17390 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
17392 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17393 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17395 * tlink.c (scan_linker_output): Look for keywords before accepting
17396 a mangled name in quotes.
17398 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
17400 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17401 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17403 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
17405 * alpha.md: Revert Thu Nov 26 change that came in through the
17406 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17407 Avoid earlyclobber when possible.
17409 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17411 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17413 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17414 Define HAVE_ON_EXIT.
17416 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17418 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
17419 CTYPE_CONV in all ctype macros.
17421 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17424 * cexp.y (initialize_random_junk): Likewise.
17426 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17428 * i370.c (handle_pragma): Likewise.
17430 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17432 * v850.c (override_options): Likewise.
17434 * doprint.c (_doprnt): Likewise.
17436 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17439 * fixinc/server.c (load_data): Likewise.
17441 * fold-const.c (real_hex_to_f): Likewise.
17443 * genattr.c (write_upcase, gen_attr): Likewise.
17445 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17446 write_upcase): Likewise.
17448 * genemit.c (print_code): Likewise.
17450 * genopinit.c (gen_insn): Likewise.
17452 * genpeep.c (print_code): Likewise.
17454 * genrecog.c (print_code): Likewise.
17456 * optabs.c (init_libfuncs): Likewise.
17458 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
17460 * haifa-sched.c (sched_analyze): Keep the list of notes organized
17462 (reemit_notes): Likewise.
17464 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
17466 * ggc.h (ggc_root): Move to ggc-common.c.
17468 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17469 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17470 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17471 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17472 * ggc-common.c (ggc_root): Move from ggc.h.
17473 (roots): Declare, static.
17474 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17475 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17476 null or check/set mark bit.
17477 (ggc_mark_roots): New.
17478 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17480 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
17482 * m32r.c: Include toplev.h.
17483 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17484 (gen_compare): Rename swap_p to must_swap to match uses.
17485 Add default abort case.
17486 (m32r_output_function_epilogue): Remove unused variables.
17487 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17488 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17489 define to empty parameter list. Update all uses.
17490 (predicate decls): Use enum machine_mode not int.
17491 * m32r.md (movsi): Call abort, not fatal_insn.
17492 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17494 1999-09-14 Andrew Haley <aph@cygnus.com>
17496 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17497 use $0 instead of 0.
17499 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17501 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17502 computation out of loop over hard regs.
17504 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
17506 * function.c (identify_blocks): Don't shadow a variable in an
17508 * integrate.c (integrate_decl_tree): Don't use pushlevel,
17509 pushdecl, or poplevel to build up the new BLOCK tree.
17510 (expand_inline_function): Likewise.
17511 (integrate_parm_decls): Likewise.
17513 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
17515 * c-typeck.c (qualify_type): Merge qualifiers from both types.
17517 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
17519 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17520 * invoke.texi: Document this change.
17522 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
17524 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17526 (mark_emit_status): Renamed from mark_emit_state.
17527 * except.c (mark_eh_status): Renamed from mark_eh_state.
17528 Check not null before marking.
17529 (free_eh_status): New.
17530 * expr.c (mark_expr_status, free_expr_status): New.
17531 * function.c (free_machine_status): New.
17532 (free_after_parsing): New.
17533 (free_after_compilation): Move bits to free_after_parsing; call
17534 free_eh_status, free_expr_status; zero the marked members of the
17536 (prepare_function_start): No can_garbage_collect.
17537 Call init_eh_for_function.
17538 (expand_dummy_function_end): Free up current_function state.
17539 (mark_function_status): Renamed from mark_function_state.
17540 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
17541 * function.h (struct function): No can_garbage_collect.
17542 (free_machine_status, free_after_parsing): Declare.
17543 (free_eh_status, free_expr_status): Declare.
17544 * ggc.h (mark_expr_status): Declare.
17545 * stmt.c (free_stmt_status): Free the struct.
17546 (mark_stmt_status): Renamed from mark_stmt_state.
17547 (init_stmt): Don't call init_eh.
17548 (init_stmt_for_function): Don't call init_eh_for_function.
17549 * toplev.c (compile_file): Call init_eh.
17550 (rest_of_compilation): Free basic block info before ggc_collect.
17551 Call free_after_parsing; conditionally call free_after_compilation.
17552 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17553 Check not null before marking.
17554 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
17556 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
17558 * c-lex.c (yylex): Initialize warn.
17560 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
17562 * pa.c (emit_move_sequence): Properly set the mode of the scratch
17563 register when performing secondary reloads for the SAR register.
17565 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
17567 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17568 (NOTE_BLOCK): New macro.
17569 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17570 * function.h (identify_blocks): Change prototype.
17571 * function.c (identify_blocks): Simplify.
17572 (reorder_blocks): Likewise.
17573 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17574 NOTE_INSN_BLOCK_{BEG,END}.
17575 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17576 the list of saved notes if the note isn't a
17577 NOTE_INSN_BLOCK_{BEG,END}.
17578 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17580 (reemit_notes): Adjust recreation of notes to reflect new saved
17582 * print-rtl.c (print_rtx): Print the address of the BLOCK when
17583 printing a block note.
17584 * stmt.c (block_vector): Remove.
17585 (find_loop_tree_blocks): Simplify.
17586 (unroll_block_trees): Likewise.
17587 * tree.h (reorder_block): Change prototype.
17589 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
17591 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
17592 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17593 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17594 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
17595 (atexit, exit): Simplify.
17596 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
17597 * config/lots: Remove defns of HAVE_ATEXIT.
17599 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
17601 * calls.c (precompute_arguments): Fix typo in comment.
17602 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17605 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
17607 * dsp16xx.c (override_options): Fix typos in GC root registration.
17609 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
17611 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17612 from config/svr4.h.
17613 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17614 (FUNCTION_PROFILER): Redefine appropriately for Linux.
17615 (CC1_SPEC): Likewise.
17617 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17619 * genattr.c (main): Add extern prototype. Call return, not exit.
17620 * genattrtab.c (main): Likewise.
17621 * gencheck.c (main): Likewise.
17622 * gencodes.c (main): Likewise.
17623 * genconfig.c (main): Likewise.
17624 * genemit.c (main): Likewise.
17625 * genextract.c (main): Likewise.
17626 * genflags.c (main): Likewise.
17627 * gengenrtl.c (main): Likewise.
17628 * genopinit.c (main): Likewise.
17629 * genoutput.c (main): Likewise.
17630 * genpeep.c (main): Likewise.
17631 * genrecog.c (main): Likewise.
17633 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17634 * genattrtab.c (get_insn_name): Likewise.
17635 * gencodes.c (get_insn_name): Likewise.
17636 * genconfig.c (get_insn_name): Likewise.
17637 * genemit.c (get_insn_name): Likewise.
17638 * genextract.c (get_insn_name): Likewise.
17639 * genflags.c (get_insn_name): Likewise.
17640 * genopinit.c (get_insn_name): Likewise.
17641 * genpeep.c (get_insn_name): Likewise.
17643 * gencheck.c (usage): Add static prototype.
17644 * genextract.c (print_path): Constify a char*.
17645 * genopinit.c (optabs): Likewise.
17646 * genoutput.c (operand_data, data, output_predicate_decls,
17647 compare_operands): Likewise.
17648 * genrecog.c (write_tree): Add default case in switch.
17650 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17652 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17654 * print-rtl.c (get_insn_name): Remove prototype.
17656 * toplev.h (progname): Declare const.
17658 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17659 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17660 dump_sched_info, dump_local_alloc, regset_release_memory,
17661 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17662 error_with_file_and_line, error_with_decl, error_for_asm, error,
17663 fatal, warning_with_file_and_line, warning_with_decl, warning,
17664 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17665 Remove redundant prototypes.
17667 (notice, check_lang_option, report_file_and_line, vnotice,
17668 mark_file_stack): Add static prototype.
17669 (set_fatal_function): Add prototype.
17670 (vnotice, report_file_and_line, set_fatal_function,
17671 check_lang_option): Constify a char*.
17672 (main): Prototype. Call return, not exit.
17674 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17676 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17678 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17680 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17682 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17684 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17686 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
17687 behave as if it's zero in all cases.
17688 (expand_function_start): Adjust call to assign_parms.
17689 * tree.h (assign_parms): Adjust prototype.
17690 * objc/objc-act.c (hack_method_prototype): Adjust call to
17693 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
17695 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17696 arg_pointer_rtx fixed if the argument pointer register is
17698 (NONZERO_BASE_PLUS_P): Likewise.
17700 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
17702 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17703 match_insn2 to match_insn.
17704 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17706 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
17708 * Makefile.in (USER_H): Remove va-foo.h.
17710 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17711 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17712 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17713 va-spur.h,va-v850.h}: Remove.
17715 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
17717 * sparc/sparc.md (eligible_for_return_delay): New attribute.
17718 (in_return_delay): Use it instead of match_insn.
17720 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17722 * config/alpha/va_list.h (va-alpha.h): Do not include.
17723 (__gnuc_va_list): Typedef as in varargs.h.
17725 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
17727 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17728 DECL_LIVE_RANGE_RTL.
17730 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
17732 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17733 not NOTE_BLOCK_NUMBER.
17734 (expand_eh_region_end): Likewise.
17735 (find_exception_handler_labels): Likewise.
17736 (scan_region): Likewise.
17737 (exception_optimize): Likewise.
17738 (update_rethrow_references): Likewise.
17739 (set_insn_eh_region): Likewise.
17740 * final.c (final_scan_insn): Likewise.
17741 * flow.c (make_edges): Likewise.
17742 * integrate.c (expand_inline_function): Likewise.
17743 * print-rtl.c (print_rtx): Likewise.
17745 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
17747 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17748 terms of builtin functions and types.
17750 * mips.c (mips_build_va_list): New.
17751 (mips_va_start, mips_va_arg): New.
17752 * mips.h (BUILD_VA_LIST_TYPE): New.
17753 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17755 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17756 (sh_build_va_list, sh_va_start, sh_va_arg): New.
17757 * sh.h (BUILD_VA_LIST_TYPE): New.
17758 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17760 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
17762 * recog.h (struct recog_data): Make dup_num, operand_address_p,
17763 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17764 (struct insn_data): Likewise with n_operands, n_dups,
17765 n_alternatives, output_format.
17766 * regclass.c (scan_one_insn): Cast n_operands to int before
17767 arithmetic inside comparison.
17769 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
17771 * toplev.c (compile_function): Unconditionally emit nop.
17773 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17775 * haifa-sched.c (actual_hazard): Move declaration of variable
17776 `this_cost' into the scope where it is used.
17778 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17780 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17781 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
17782 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17784 * genrecog.c (make_insn_sequence): Call memset, not bzero.
17786 * jump.c (find_insert_position): Don't declare or define unless
17787 !HAVE_conditional_arithmetic.
17788 (returnjump_p_1, delete_prior_computation): Add static prototypes.
17790 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17792 * recog.c (offsettable_address_p): Prototype function pointer.
17793 (preprocess_constraints): Call memset, not bzero.
17795 * tree.c (tree_node_kind_names): Constify a char*. Make static.
17796 (gcc_obstack_init): Don't declare.
17797 (fix_sizetype): Add static prototype.
17798 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17799 (tree_cons): Call memset, not bzero.
17801 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17802 definition in macro ASM_WEAKEN_LABEL.
17803 (mark_const_hash_entry): Add static prototype.
17805 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17807 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
17809 * unroll.c (find_common_reg_term, subtract_reg_term,
17810 loop_find_equiv_value): Add static prototypes.
17811 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
17812 (copy_loop_body): Remove unreachable break statement.
17814 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
17816 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
17818 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17820 Undo some changes from the gcc2 merge:
17821 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
17822 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
17826 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
17827 * emit-rtl.c (gen_lowpart_common): Disable optimization of
17828 initialized float-int union if the value is a NaN.
17830 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
17832 * gthr-win32.h: New file.
17834 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
17835 shared as a valid attribute.
17836 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
17837 * extend.texi: Document `shared' variable attribute.
17839 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
17841 * configure.in: Handle --enable-threads on FreeBSD.
17842 * configure: Rebuit.
17844 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17846 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
17848 * configure: Rebuilt.
17850 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
17851 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
17852 Rosimildo DaSilva <rdasilva@connecttel.com>
17854 * configure.in (m68k-*-rtemscoff*): Added.
17855 * configure.in (mips64orion-*-rtems*): Converted to ELF.
17856 * configure.in (sparc-*-rtemsaout*): Added as alias for old
17857 sparc-rtems configuration.
17858 * configure.in (sparc-*-rtemself*): Added.
17859 * configure.in (sparc-*-rtems*): Now ELF not a.out.
17860 * config/i386/rtems.h: Added comment.
17861 * config/sparc/rtemself.h: New file.
17863 * configure.in (m68k-rtemself): Added.
17864 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
17865 and DWARF_DEBUGGING_INFO.
17866 * config/m68k/crti.s: New file.
17867 * config/m68k/crtn.s: New file.
17868 * config/m68k/t-crtstuff: New file.
17869 * config/m68k/rtemself.h: New file.
17871 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
17872 global ctor/dtor and C++ exception handling.
17873 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
17874 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
17876 * config/i386/t-rtems-i386: New File.
17878 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
17880 * stmt.c (expand_end_case): Return right away if the case stack is
17883 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
17885 * Makefile.in (version.c): Remove rule incorrectly brought in from
17888 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
17890 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
17891 * msdos/top.sed: Take into account a prepended $(SHELL) to
17893 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
17895 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
17897 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17899 * regmove.c (fixup_match_1): Don't change an unchanging register.
17900 (stable_but_for_p): Renamed to:
17901 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
17902 Changed all callers.
17904 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
17906 * loop.c (strength_reduce): Don't call reg_used_between_p if the
17907 insn from BL2 is after the insn from BL.
17909 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
17911 * recog.h (INSN_OUTPUT_FORMAT_*): New.
17912 (struct insn_data): Merge `template' and `outfun' into `output'.
17913 Add `output_format'.
17914 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
17915 (struct data): Remove `outfun'; add `output_format'.
17916 (name_for_index): Remove declaration.
17917 (output_insn_data): Handle output formats.
17918 (process_template): Emit the bare array for @.
17919 (gen_expand, gen_split): Set output_format to NONE.
17920 * output.h (get_insn_template): Declare.
17921 * final.c (get_insn_template): New.
17922 (final_scan_insn): Use it.
17923 * toplev.c (compile_file): Likewise.
17925 * c4x/c4x.c (c4x_process_after_reload): Likewise.
17926 * i860/i860.c (output_delayed_branch): Likewise.
17927 (output_delay_insn): Likewise.
17929 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17931 * rtl.c (obstack_alloc_rtx): Removed.
17933 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
17935 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
17937 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
17939 * i386.c (call_insn_operand): Reject const_int.
17940 (expander_call_insn_operand): Use call_insn_operand.
17942 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17944 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
17946 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
17948 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
17949 Use DImode operation.
17951 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
17953 * gcc.c: Include sys/resource.h.
17954 (report_times): New flag.
17955 (execute): If report_times is set, calculate and report the
17956 CPU time consumed by each subprocess.
17958 (rus, prus): New globals.
17959 (option_map): Add --time.
17960 (display_help): Document -time.
17961 (process_command): Set report_times if -time is given.
17962 Turn off -pipe if -time is given.
17964 * invoke.texi: Document new option -time.
17966 * configure.in: Check for getrusage. Check if we have to
17967 prototype getrusage.
17968 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
17969 * configure: Regenerate.
17970 * config.in: Regenerate.
17972 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
17974 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
17977 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
17979 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
17980 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
17981 (nan): Return _thenan_sf or _thenan_df as appropriate.
17982 (L_thenan_sf): Define _thenan_sf.
17983 (L_thenan_df): Define _thenan_df.
17985 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
17986 (DPBIT_FUNCS): Add _thenan_df.
17988 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
17990 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
17993 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17995 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
17998 (lang_specific_driver): Don't take a function pointer parameter.
17999 All callers changed.
18001 * gcc.c: Include gcc.h.
18002 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
18003 lang_specific_extra_outfiles, fatal): Don't declare.
18004 (multilib_defaults_raw): Constify.
18005 (read_specs): Call memset, rather than bzero.
18006 (main): Call return, not exit.
18007 (lookup_compiler): Call memcpy, not bcopy.
18008 (fatal): Make extern.
18010 * cppspec.c: Include gcc.h.
18011 (lang_specific_driver): Initialize variable `quote'. Constify a
18012 char*. All calls to the function pointer parameter now
18013 explicitly call `fatal'.
18015 * gccspec.c (lang_specific_driver): Include gcc.h.
18017 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
18019 * arm.c (note_invalid_constants): Use recog_data.operand_type
18022 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18024 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18027 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18028 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18029 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18030 reload_secondary_in_reload, reload_secondary_out_reload,
18031 reload_secondary_in_icode, reload_secondary_out_icode,
18032 reload_reg_rtx, reload_when_needed): Delete declarations.
18033 (struct reload): New structure.
18034 (rld): Declare new array.
18035 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18036 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18037 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18038 reload_secondary_in_reload, reload_secondary_out_reload,
18039 reload_secondary_in_icode, reload_secondary_out_icode,
18040 reload_reg_rtx, reload_when_needed): Delete definitions.
18042 (whole file): Replace uses of the deleted arrays with uses of rld.
18043 * reload1.c (whole file): Replace uses of the deleted arrays with
18045 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18046 explicit loops, not with bcopy.
18048 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
18050 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18051 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18052 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18053 insn_name): Delete and consolidate into new structures.
18054 (insn_operand_predicate_fn): New.
18055 (insn_output_fn): New.
18056 (insn_gen_fn): New.
18057 (struct insn_operand_data): New.
18058 (struct insn_data): New.
18060 (OUT_FCN): Update for insn_data change.
18061 * builtins.c (expand_builtin_strlen): Likewise.
18062 (expand_builtin_memcmp): Likewise.
18063 * combine.c (make_extraction, simplify_comparison): Likewise.
18064 * cse.c (canon_reg, cse_insn): Likewise.
18065 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18066 * expmed.c (store_bit_field, extract_bit_field): Likewise.
18067 (emit_store_flag): Likewise.
18068 * expr.c (convert_move, emit_block_move): Likewise.
18069 (clear_storage, emit_push_insn, expand_increment): Likewise.
18070 (do_store_flag): Likewise.
18071 * expr.h (GEN_FCN): Likewise.
18072 (insn_gen_function): Die.
18073 * final.c (final_scan_insn): Update for insn_data change.
18074 (output_asm_name): Likewise.
18075 * function.c (fixup_var_refs_1): Likewise.
18076 * loop.c (check_dbra_loop): Likewise.
18077 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18078 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18079 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18080 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18081 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18082 * regmove.c (gen_add3_insn): Likewise.
18083 * reload.c (push_secondary_reload, combine_reloads): Likewise.
18084 (find_reloads, find_reloads_address_1): Likewise.
18085 (debug_reload_to_stream): Likewise.
18086 * reload1.c (emit_reload_insns, gen_reload): Likewise.
18087 * stmt.c (expand_end_case): Likewise.
18088 * toplev.c (compile_file): Likewise.
18090 * c4x/c4x.c (c4x_process_after_reload): Likewise.
18091 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18093 * print-rtl.c (insn_name_ptr): Remove declaration.
18094 (get_insn_name): Declare.
18095 (print_rtx): Use it.
18096 * genoutput.c (insn_name_ptr): Remove.
18097 (next_operand_number): New.
18098 (struct operand_data): New.
18099 (null_operand, odata, odata_end): New.
18100 (struct data): Use struct operand_data.
18101 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18102 (get_insn_name): Renamed from name_for_index.
18103 (output_prologue): Define NO_MD_PROTOTYPES.
18104 (output_predicate_decls): Break out from output_epilogue.
18105 Iterate over the operands list.
18106 (output_operand_data): Break out from output_epilogue. Emit
18107 just the operands list.
18108 (output_insn_data): Break out from output_epilogue. Emit just
18110 (output_epilogue): Remove.
18111 (output_get_insn_name): New.
18112 (constraints, op_n_alternatives, predicates, address_p): Die.
18113 (modes, strict_low, seen): Die.
18114 (scan_operands): Take new param `d' instead of writing to
18115 seven global variables.
18116 (compare_operands): New.
18117 (place_operands): New.
18118 (validate_insn_alternatives): Update for struct data change.
18119 (gen_insn): Don't zero or copy 7 global arrays. Update for
18120 scan_operands; call place_operands.
18121 (gen_peephole, gen_expand, gen_split): Likewise.
18122 (main): Update for new output routines.
18124 * genattr.c (insn_name_ptr): Remove.
18125 (get_insn_name): New function.
18126 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18127 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18128 * genrecog.c: Likewise.
18130 * alpha.md (adddi3): Make `pattern' array static.
18132 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18134 * config/c4x/c4x.h (c4x_rpts_cycles_string,
18135 c4x_cpu_version_string): Constify char *.
18136 * config/c4x/c4x.c (c4x_rpts_cycles_string,
18137 c4x_cpu_version_string): Likewise.
18139 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
18141 * tree.c (save_tree_status): Revert 10 Sep change.
18142 (restore_tree_status): Likewise. Call obstack_free with NULL
18143 before freeing the obstack proper.
18145 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
18147 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18149 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18150 surrounding context.
18152 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
18154 * tree.c (type_hash_canon): Put all types in the hash-table, when
18157 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
18159 * recog.h (struct recog_data, recog_data): New.
18160 (recog_foo variables): Kill.
18161 * recog.c (recog_operand, recog_operand_loc): Kill.
18162 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18163 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18164 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18165 (recog_data): Define.
18166 (extract_insn): Update all recog_foo references to use recog_data.
18167 (preprocess_constraints, constrain_operands): Likewise.
18168 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18169 * genattrtab.c (main): Likewise.
18170 * genextract.c (main): Likewise.
18171 * genoutput.c: Likewise.
18172 * genrecog.c (write_subroutine, main): Likewise.
18173 * local-alloc.c (block_alloc): Likewise.
18174 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18175 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18176 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18177 * reload.c (find_reloads, find_reloads_toplev): Likewise.
18178 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18179 (reload_cse_simplify_operands): Likewise.
18181 * arc/arc.c (arc_final_prescan_insn): Likewise.
18182 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18183 * h8300/h8300.c (notice_update_cc): Likewise.
18184 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18185 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18186 * mn10200/mn10200.c (notice_update_cc): Likewise.
18187 * mn10300/mn10300.c (notice_update_cc): Likewise.
18188 * romp/romp.c (update_cc): Likewise.
18189 * sparc/sparc.c (check_pic): Likewise.
18190 * v850/v850.c (notice_update_cc): Likewise.
18192 * genemit.c (main): Don't declare recog_operand.
18194 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
18196 * ggc.h (rtvec_def): Forward declare.
18197 (tree_node): Likewise.
18198 (ggc_root): Define.
18200 (ggc_set_mark_rtx): Add prototype.
18201 (ggc_set_mark_rtvec): Likewise.
18202 (ggc_set_mark_tree): Likewise.
18203 * ggc-simple.c (ggc_root): Don't define.
18204 (roots): Don't declare.
18205 (ggc_mark_rtx): Remove.
18206 (ggc_mark_rtvec): Likewise.
18207 (ggc_mark_tree): Likewise.
18208 (ggc_mark_varray): Likewise.
18209 (ggc_mark_tree_hash_table_entry): Likewise.
18210 (ggc_mark_tree_hash_table): Likewise.
18211 (ggc_set_mart_rtx): New function.
18212 (ggc_set_mark_rtvec): Likewise.
18213 (ggc_set_mark_tree): Likewise.
18214 (ggc_add_root): Remove.
18215 (ggc_add_rtx_root): Likewise.
18216 (ggc_remove_tree_root): Likewise.
18217 (ggc_add_string_root): Likewise.
18218 (ggc_add_tree_varray_root): Likewise.
18219 (ggc_add_tree_hash_table_root): Likewise.
18220 (ggc_del_root): Likewise.
18221 (ggc_mark_rtx_ptr): Likewise.
18222 (ggc_mark_tree_ptr): Likewise.
18223 (ggc_mark_string_ptr): Likewise.
18224 (ggc_mark_tree_varray_ptr): Likewise.
18225 (ggc_mark_tree_hash_table_ptr): Likewise.
18226 * ggc-common.c: New file.
18227 * Makefile.in (OBJS): Add ggc-common.o.
18228 (ggc-common.o): List dependencies.
18230 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
18232 * cppalloc.c (xstrdup): Use memcpy.
18233 * cpperror.c (cpp_print_containing_files): Don't use
18235 * cpplib.c (conditional_skip): Set temp->lineno.
18236 (do_endif): Make error message less obscure.
18237 (if_directive_name): New function.
18238 (cpp_get_token [case EOF]): Unwind the if stack and generate
18239 error messages for each unterminated conditional in this file.
18240 (parse_string): Do not behave differently if -traditional.
18242 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
18244 * builtins.c (expand_builtin_va_arg): Cope with an array-type
18245 va_list decomposing to pointer-type.
18246 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18247 (rs6000_va_arg): Likewise.
18249 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
18251 * except.c (start_dynamic_handler): Compute size using
18252 STACK_SAVEAREA_MODE.
18254 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18256 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
18257 include directory headers. Don't define strrchr. Don't provide
18258 my_* replacement functions. Prefer PTR over `pointer_type'.
18259 Don't prototype system functions. Don't redefine getopt.
18261 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18262 safe_read, safe_write, save_pointers, restore_pointers,
18263 is_id_char, in_system_include_dir, directory_specified_p,
18264 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18265 find_corresponding_lparen, referenced_file_is_newer,
18266 save_def_or_dec, munge_compile_params, gen_aux_info_file,
18267 process_aux_info_file, identify_lineno, check_source,
18268 seek_to_line, forward_to_next_token_char, output_bytes,
18269 output_string, output_up_to, other_variable_style_function,
18270 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18271 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18272 find_static_definition, connect_defs_and_decs, add_local_decl,
18273 add_global_decls, needs_to_be_converted, visit_each_hash_node,
18274 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18275 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18276 scan_for_missed_items, edit_file, string_list_cons): Add static
18278 (standard_exec_prefix, target_machine, target_version,
18279 default_syscalls_dir, string_list, string_list_cons, find_file,
18280 do_cleaning): Constify a char*.
18281 (safe_read, safe_write): Use PTR, not a char*.
18282 (is_id_char): Take an int, not a char.
18283 (main): Add prototype. Call return, not exit.
18285 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
18287 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18288 when comparing types.
18290 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
18292 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18293 (strength_reduce): Release the varrays from the no-bivs early exit.
18295 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18296 the loop over the registers.
18298 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18300 (restore_tree_status): Check that instead when freeing the obstack.
18302 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
18304 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18307 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18309 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
18310 operand size modifiers.
18312 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18314 * c-common.c (c_common_nodes_and_builtins): Don't build
18316 * c-common.h (enum c_tree_index and related accesor macros): Remove
18317 everything now declared in tree.h.
18318 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18319 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18320 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18321 (error_mark_node, void_type_node, char_type_node, integer_type_node,
18322 unsigned_type_node, ptr_type_node, va_list_type_node,
18323 integer_zero_node, null_pointer_node, integer_one_node): Delete.
18324 (init_decl_processing): Call build_common_tree_nodes and
18325 build_common_tree_nodes_2 instead of building their nodes here.
18326 Don't add roots for these nodes.
18327 * stor-layout.c (size_zero_node, size_one_node): Delete.
18328 (set_sizetype): Make a new node for bitsizetype each time.
18329 * tree.c (global_trees): New variable.
18330 (init_obstacks): Add a gc root for it.
18331 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18332 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18333 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18334 (build_common_tree_nodes): New function.
18335 (fix_sizetype): New function.
18336 (build_common_tree_nodes_2): New function.
18337 * tree.h (enum tree_index): New.
18338 (global_trees): Declare.
18339 Add accessor macros for all nodes now moved to global_trees.
18340 Delete their declarations.
18342 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
18344 * c-decl.c (finish_function): When processing a nested function,
18345 push and pop GC context around rest_of_compilation.
18347 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
18349 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18350 Default ix86_arch to PROCESSOR_I386.
18351 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
18352 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18353 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18354 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18355 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
18356 (EXTRA_SPECS): Remove deleted specs.
18358 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
18360 * function.c (assign_stack_local_1): Allocate from
18361 function->x_frame_offset, not frame_offset.
18363 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
18365 * ggc.h (lang_cleanup_tree): Remove.
18366 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18367 * ggc-callbacks.c (lang_cleanup_tree): Remove.
18369 * c-decl.c (finish_struct): Use ggc_alloc to allocate
18370 TYPE_LANG_SPECIFIC when garbage collecting.
18371 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18372 (lang_cleanup_tree): Remove.
18374 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
18376 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18377 * crtstuff.c: Not here.
18378 * dwarf2out.c: Or here.
18379 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18382 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
18384 * function.h (free_after_compilation): Remove decl parameter.
18385 (free_varasm_status0: Likewise.
18386 (free_emit_status): Likewise.
18387 (free_stmt_status): Likewise.
18388 (free_after_compilation): Likewise.
18389 (init_lang_status): New variable.
18390 (free_lang_status): Likewise.
18391 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18392 * function.c (init_lang_status): New variable.
18393 (free_lang_status): Likewise.
18394 (push_function_context_to): Don't set function::decl here.
18395 (free_after_copmilation): Make decl parameter implicit. Call
18396 free_lang_status if defined.
18397 (prepare_function_start): Call init_lang_status if defined.
18398 (init_function_start): Set function::decl here.
18399 * profile.c (output_func_start_profiler): Don't call pushdecl
18400 until we've actually started the function.
18401 * stmt.c (free_stmt_status): Make decl parameter implicit.
18402 * toplev.c (rest_of_compilation): Don't pass decl to
18403 free_after_compilation.
18404 * varasm.c (free_varasm_status): Likewise.
18406 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18408 * except.c (call_get_eh_context): Add root when allocating static
18411 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
18413 * arm.c: Include "ggc.h".
18414 (arm_add_gc_roots): New function.
18415 (arm_override_options): Call it.
18416 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18418 * arm.md (define_asm_attributes): Add a pool_range attribute.
18420 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
18422 * extend.texi (Volatiles): New node.
18424 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
18426 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18427 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18428 (struct ggc_any): Replace `mark' with `magic_mark'.
18429 (ggc_alloc_string): Use memcpy, not bcopy.
18430 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
18431 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18432 (ggc_free_any): New.
18433 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
18434 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
18435 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
18436 Use IS_MARKED. Use ggc_free_any.
18438 1999-09-09 Scott Bambrough <scottb@netwinder.org>
18440 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18442 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
18444 * toplev.c (main): Always init_ggc.
18446 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
18448 * except.c (find_all_handler_type_matches): Free the list if
18449 we found no matches.
18451 * combine.c (SUBST): Break out to a real function do_SUBST.
18452 (SUBST_INT): Likewise.
18453 * gcse.c (free_pre_mem): Free `temp_bitmap'.
18454 (pre_insert): Free `inserted'.
18455 * loop.c (basic_induction_var): Always set `location'.
18457 * function.c (expand_function_end): Add initial_trampoline as a root.
18458 * rtl.h (init_varasm_once): Declare.
18459 * toplev.c (compile_file): Call it.
18460 * ggc-simple.c (ggc_mark_string_ptr): New.
18461 (ggc_add_string_root): New.
18462 (ggc_collect): Disable collection avoidance temporarily.
18463 * ggc.h (ggc_add_string_root): Declare.
18464 * except.c (create_rethrow_ref): Use ggc_alloc_string.
18465 * optabs.c (init_libfuncs): Likewise.
18466 * varasm.c (named_section): Use ggc_alloc_string.
18467 (make_function_rtl): Likewise.
18468 (make_decl_rtl): Likewise.
18469 (assemble_static_space): Likewise.
18470 (assemble_trampoline_template): Likewise.
18471 (output_constant_def): Likewise.
18472 (force_const_mem): Likewise.
18473 (mark_const_hash_entry): New.
18474 (mark_pool_sym_hash_table): New.
18475 (mark_varasm_state): Use it.
18476 (init_varasm_once): New.
18478 * expr.h (init_one_libfunc): Declare.
18479 * optabs.c (init_one_libfunc): New.
18480 (init_optabs): Use it.
18481 * config/gofast.h: Likewise.
18482 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18483 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18485 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
18487 * Makefile.in (cppexp.o): Depend on cpphash.h.
18488 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18490 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18491 * cpplib.c (do_define): Generalise to handle poisoned definitions,
18492 redefining poisoned identifiers, etc.
18493 (do_undef): Don't allow poisoned identifiers to be undefined.
18494 (do_pragma): Add #pragma poison.
18495 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18497 * cccp.c: Add T_POISON node type.
18498 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18500 (do_define): Generalise to handle poisoned definitions,
18501 redefining poisoned identifiers, etc.
18502 (do_undef): Don't allow poisoned identifiers to be undefined.
18503 (do_pragma): Add #pragma poison.
18504 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18506 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18507 * c-pragma.h: Add ps_poison state. We now always have generic
18510 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
18512 * ggc.h (ggc_alloc): New function.
18513 (ggc_mark): Likewise.
18514 * ggc-simple.c (ggc_any): New structure.
18515 (ggc_status): Add anys.
18516 (n_anys_collected): New variable.
18517 (ggc_alloc): Define.
18518 (ggc_mark): Likewise.
18519 (ggc_collect): Collect the anys.
18521 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18523 * c-decl.c (mark_binding_level): Make static to match prototype.
18525 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
18527 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18529 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
18531 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18532 will use into account. Expand the max width to 5.
18535 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
18537 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18538 for the rtx length.
18540 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
18542 * alpha.md (call value patterns): Remove the result predicates.
18544 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
18546 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18549 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18551 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18552 changed from extern char *, to extern PTR. Also fix typo in
18553 NEED_DECLARATION_REALLOC test.
18555 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18557 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18559 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18560 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18561 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18562 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18564 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18566 * cccp.c (pcfinclude): Likewise.
18568 * global.c (allocno_compare): Likewise.
18570 * haifa-sched.c (rank_for_schedule): Likewise.
18572 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18574 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18576 * stupid.c (stupid_reg_compare): Likewise.
18578 * tree.c (_obstack_allocated_p): Likewise.
18580 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18582 1999-09-08 Bruce Korb autogen@linuxbox.com
18584 * Makefile.in: Give the hapless gperf user a hint about
18585 why "gperf -F" fails.
18587 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
18589 * lists.c: Include ggc.h.
18591 (init_EXPR_INSN_LIST_cache): Install it.
18593 * ggc-simple.c (init_ggc): Absorb the old init.
18594 (ggc_push_context): Use xcalloc.
18595 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18596 (ggc_collect): Add [rvts] tags to the collection stats.
18598 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
18600 * cccp.c (main): Fix handling of -include and -imacros options.
18602 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
18604 * cpplib.c (cpp_push_buffer): Fix order of arguments.
18606 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18608 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18611 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
18613 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18614 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18615 and SET_DEST. Update comment.
18617 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18619 * config/c4x/c4x.c: Include ggc.h.
18620 (c4x_add_gc_roots): New function.
18621 (c4x_override_options): Call c4x_add_gc_roots.
18623 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
18625 * defaults.h (TARGET_ESC): Move ...
18626 * system.h: ... here, where Linas had it in the first place. Silly me.
18628 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
18630 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18631 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18632 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18633 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18634 * defaults.h (TARGET_ESC): Add default.
18636 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
18638 * configure.in: add i370-*-openedition, i370-*-mvs and
18639 i370-*-linux targets
18641 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
18643 * dsp16xxx.c: Include ggc.h
18644 (override_options): Mark GC roots.
18645 * mn10200.c: Include ggc.h.
18646 (asm_file_start): Mark GC roots.
18647 * tahoe.c: Include ggc.h.
18648 (extensible_operand): Mark GC roots.
18650 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
18652 * README: Add section discussing status of ELF ABI.
18653 * i370.c: Fix misc spelling mistakes.
18654 (i370_label_scan): Updated notes, exception handling.
18655 (i370_function_prolog): Simplify ELF stack handling.
18656 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18657 (STACK_GROWS_DOWNWARD): ELF stack grows down.
18658 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18659 * i370.md: (movdi): Add notes.
18660 (floatsidf2): Use stack not rtca for scratch float area.
18661 (iorsi3): Correct operand constraints.
18662 * x-oe: Restore TAROUTOPTS which are used by pax.
18664 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
18666 * rs6000.c: Include ggc.h.
18667 (rs6000_add_gc_roots): New function.
18668 (override_options): Call it.
18670 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
18672 * alpha.h (alpha_compare): New.
18673 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18674 * alpha.c: Likewise for the definitions.
18675 (alpha_emit_conditional_branch): Update for alpha_compare.
18676 (alpha_emit_conditional_move): Likewise.
18677 * alpha.md (cmpdf, cmpdi): Likewise.
18678 (setcc patterns): Likewise. Zero alpha_compare after use.
18679 (sne): Optimize (x != 0) into (0U < x).
18681 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
18683 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18684 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18685 (INIT_EXPANDERS): Remove.
18686 * alpha.c: Include ggc.h.
18687 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18688 (alpha_init_machine_status, alpha_mark_machine_status): New.
18689 (override_options): Install them.
18690 (struct machine_function): Moved to alpha.h.
18691 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18692 (alpha_init_expanders): Remove.
18693 (alpha_return_addr): Adjust to use current_function->machine.
18694 (alpha_ra_ever_killed): Likewise.
18695 (alpha_expand_epilogue): Likewise.
18696 * alpha.md (eh_epilogue): Likewise.
18698 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
18699 Melissa O'Neill <oneill@cs.sfu.ca>
18700 Geoffrey Keating <geoffk@cygnus.com>
18702 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18703 call-used registers (call-saved registers must still be contiguous
18704 and end with r31, of course).
18706 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
18708 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18709 (self_promoting_type_p): Delete.
18710 (self_promoting_args_p): Move ...
18711 * c-common.c: ... here.
18712 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18713 (simple_type_promotes_to): New.
18714 * builtins.c (lang_type_promotes_to): New.
18715 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18716 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18717 * c-common.h: ... here.
18718 (self_promoting_args_p, simple_type_promotes_to): Declare.
18719 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18720 (grokdeclarator): Likewise.
18721 * tree.h (lang_type_promotes_to): Declare.
18723 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
18725 Add some machine-dependent GC roots.
18726 * sparc.c: Include ggc.h.
18727 (sparc_add_gc_roots): New function.
18728 (mark_ultrasparc_pipeline_state): Likewise.
18729 (override_options): Call sparc_add_gc_roots.
18730 * pa.c: Include ggc.h.
18731 (pa_add_gc_roots): New function.
18732 (mark_deferred_plabels): Likewise.
18733 (override_options): Call pa_add_gc_roots.
18734 * mips.c: Include ggc.h.
18735 (mips_add_gc_roots): New function.
18736 (override_options): Use it.
18738 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18740 * cpperror.c (cpp_file_line_for_message): Constify a char*.
18742 * cppexp.c (parse_number, parse_charconst, cpp_lex,
18743 cpp_parse_expr): Add static prototypes.
18744 (parse_charconst): Don't cast away const-ness.
18745 (token): Constify a char*.
18747 * cppfiles.c (file_name_list, include_hash, find_include_file,
18748 finclude, initialize_input_buffer): Constify a char*.
18749 (file_cleanup, find_position): Add static prototypes.
18751 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18752 collect_expansion): Add static prototypes.
18753 (cpp_install, create_definition, monthnames): Constify a char*.
18755 * cpphash.h (cpp_install): Likewise.
18757 * cppinit.c (known_suffixes, default_include,
18758 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18759 (base_name, dump_special_to_buffer, initialize_dependency_output):
18760 Add static prototypes.
18762 * cpplib.c (my_strerror): Constify a char*.
18763 (null_underflow, null_cleanup, skip_comment, copy_comment,
18764 copy_rest_of_line, handle_directive, pass_thru_directive,
18765 get_directive_token, read_line_number, cpp_print_file_and_line,
18766 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18767 v_cpp_warning_with_line, detect_if_not_defined,
18768 consider_directive_while_skipping): Add static prototypes.
18769 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18770 cpp_pedwarn_with_file_and_line): Constify a char*.
18772 * cpplib.h (cpp_options, include_hash, progname, definition,
18773 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18774 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18775 find_include_file, deps_output, include_hash): Constify a char*.
18777 * cppmain.c (progname): Constify.
18778 (main): Add prototype. Use return, not exit.
18780 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18781 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18782 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18783 check_protection): Add static prototype.
18785 (progname, recognized_macrom, recognized_extern): Constify a char*.
18786 (main): Add prototype.
18788 * gen-protos.c (progname): Constify a char*.
18790 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
18792 * emit-rtl.c (free_emit_status): Take decl as a parameter.
18793 (init_emit_once): Add more GC roots.
18794 * except.c (mark_func_eh_entry): New function.
18795 (mark_eh_node): Mark false_label and rethrow_label.
18796 (init_eh): Add more GC roots.
18797 * function.c (free_after_compilation): Take decl as a paramter.
18798 Call free_stmt_status.
18799 (mark_function_state): Don't assume x_parm_reg_stack_loc is
18801 * function.h (free_after_compilation): Change prototype.
18802 (free_varasm_status): Likewise.
18803 (free_emit_status): Likewise.
18804 (free_stmt_status): New function.
18805 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18806 Remove, replacing with ...
18807 (ggc_status): New structure.
18808 (ggc_chain): New variable.
18809 (init_gcc): Define.
18810 (ggc_push_context): New function.
18811 (ggc_pop_context): Likewise.
18812 (ggc_alloc_rtx): Adjust for use of ggc_chain.
18813 (ggc_alloc_rtvec): Likewise.
18814 (ggc_alloc_tree): Likewise.
18815 (ggc_alloc_string): Likewise.
18816 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
18817 (ggc_mark_tree): Give language-dependent code a chance to mark
18819 (ggc_mark_tree_varray): Handle empty arrays.
18820 (ggc_collect): Adjust for use of ggc_chain. Clear
18821 bytes_alloced_since_last_gc.
18822 * ggc.h (ggc_pop_context): New function.
18823 (ggc_push_context): Likewise.
18824 * print-tree.c (print_node): Don't print obstacks when GC'ing.
18825 * stmt.c (free_stmt_status): New function.
18826 (init_stmt_for_function): Clear last_expr_value.
18827 * toplev.c (rest_of_compilation): Always call free_after_compilation.
18828 Conditionalize call to ggc_collect.
18829 (main): Call init_ggc.
18830 * tree.c (push_obstacks): Do the push, even when GC'ing.
18831 (push_obstacks_nochange): Likewise.
18832 (pop_obstacks): Liekwise.
18833 * varasm.c (free_varasm_status): Take decl as a parameter.
18835 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
18837 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
18838 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
18839 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
18840 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
18842 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
18844 * pa/x-pa-mpeix: New file for the MPE port.
18846 * pa/quadlib.asm: New file for long double support.
18848 * configure.in: Add hppa1.0-*-mpeix for MPE port.
18849 * configure: Rebuilt.
18851 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
18853 * final.c (shorten_branches): Fix last change.
18855 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
18857 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
18859 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
18861 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
18864 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18866 * c-aux-info.c (concat): Don't define.
18868 * cccp.c (my_strerror): Likewise. All callers changed to use
18870 (do_include): Call xstrdup, not xmalloc/strcpy.
18871 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
18872 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
18874 * collect2.c (my_strsignal): Likewise. All callers changed to use
18876 (locatelib): Call xstrdup, not xmalloc/strcpy.
18878 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
18880 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
18882 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
18884 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
18886 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
18888 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
18890 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
18892 (find_all_handler_type_matches): Likewise. Don't check return
18894 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
18895 xmalloc, not malloc.
18896 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
18898 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
18899 (init_spec): Call xcalloc, not xmalloc/bzero.
18900 (set_spec): Call xstrdup, not save_string.
18901 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
18902 (find_a_file): Call xstrdup, not xmalloc/strcpy.
18903 (process_command): Call xstrdup, not save_string.
18904 (main): Call xcalloc, not xmalloc/bzero.
18906 * gcov.c (xmalloc): Don't define.
18907 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
18908 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
18909 (output_data): Call xcalloc, not xmalloc/bzero.
18911 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
18913 * mips-tdump.c (xmalloc): Don't define.
18914 (print_symbol): Call xmalloc, not malloc.
18915 (read_tfile): Call xcalloc, not calloc.
18917 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
18918 Don't define. All callers of xfree/my_strsignal changed to use
18919 free/strsignal instead.
18920 (allocate_cluster): Call xcalloc, not calloc.
18922 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
18923 Fix memory leak, free allocated memory.
18925 * prefix.c (translate_name): Call xstrdup, not save_string.
18926 (update_path): Likewise.
18928 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
18930 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
18931 Don't define. Callers of xfree/savestring2 changed to use
18932 free/concat instead.
18934 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
18935 (init_elim_table): Likewise.
18937 * resource.c (init_resource_info): Likewise.
18939 * stupid.c (stupid_life_analysis): Likewise.
18941 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
18942 (open_dump_file): Call concat, not xmalloc/strcpy/...
18943 (clean_dump_file): Likewise.
18944 (compile_file): Call xstrdup, not xmalloc/strcpy.
18946 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
18948 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
18949 * v850.c (v850_va_arg): New.
18951 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18953 * haifa-sched.c: Tidy comments.
18955 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18957 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
18958 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
18959 $(out_object_file)): Depend on ggc.h.
18960 * c-common.c: Include "ggc.h".
18961 (combine_strings): If doing GC, use ggc_alloc_string.
18962 * c-decl.c: Include "ggc.h".
18963 (ggc_p): Define with value 0.
18964 (mark_binding_level): New function.
18965 (init_decl_processing): Add GC roots.
18966 (mark_c_function_context): New function.
18967 (lang_mark_false_label_stack): New function.
18968 (lang_mark_tree): New function.
18969 (lang_cleanup_tree): New function.
18970 * c-lang.c: Include "ggc.h".
18971 (lang_init): Call c_parse_init.
18972 * c-lex.c: Include "ggc.h".
18973 (check_linenum): If doing GC, don't copy filenames to permanent
18975 * c-parse.in: Include "ggc.h".
18976 (c_parse_init): New function.
18977 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
18978 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
18980 * except.c (mark_eh_state): Mark more state.
18981 * function.c (mark_function_state): Likewise.
18982 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
18983 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
18984 * toplev.c (mark_file_stack): New function.
18985 (compile_file): If doing GC, use ggc_alloc_string on input filename.
18986 (main): Add root for input_file_stack.
18988 * i386.c: Include "ggc.h".
18989 (ix86_mark_machine_status): New function.
18990 (override_options): Set mark_machine_status.
18992 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18994 * tree.c (copy_node): Copy node contents also if doing GC.
18996 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18998 * collect2.c (scan_libraries): Fix double-thinko :-).
19000 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
19002 * collect2.c (scan_libraries): Fix thinko.
19004 * cse.c (delete_trivially_dead_insns): Do not skip the last
19005 insn if it is a real insn.
19007 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
19009 * Makefile.in (ggc-simple.o): Depend on hash.h.
19010 * ggc.h (ggc_add_tree_hash_table_root): Declare.
19011 (ggc_mark_tree_varray): Likewise.
19012 (ggc_mark_tree_hash_table): Likewise.
19013 * ggc-simple.c: Include hash.h.
19014 (ggc_mark_tree_hash_table_ptr): New function.
19015 (ggc_mark_tree_hash_table_entry): Likewise.
19016 (ggc_mark_tree_hash_table): Likewise.
19017 (ggc_add_tree_hash_table_root): Likewise.
19018 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19019 rtx, when defining fields.
19021 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19023 * profile.c (output_func_start_profiler): Remove apparently
19024 nonsensical call to start_sequence.
19026 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
19028 * clipper/clipper.c (clipper_va_start): Fix typos.
19030 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19031 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19032 (spur_va_arg): New stub.
19034 * configure.in: Comment out pyramid.
19036 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
19038 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19039 don't conflict with the bits that win32, cygwin, and dgux
19042 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
19043 Bernd Schmidt <bernds@cygnus.co.uk>
19045 * integrate.c (function_cannot_inline_p): Do not inline
19046 functions with forced labels.
19048 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
19049 Bernd Schmidt <bernds@cygnus.co.uk>
19050 Mark Mitchell <mark@codesourcery.com>
19052 * Makefile.in (ggc-simple.o): Depend on varray.h.
19053 (rtl.o): Depend on ggc.h.
19054 (genattrtab.o): Depend on ggc.h.
19055 (print-tree.o): Likewise.
19056 (fold-const.o): Likewise.
19057 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19058 (make_insn_raw): Don't cache insns when GC'ing.
19059 (emit_insn_before): Likewise.
19060 (emit_insn_after): Likewise.
19061 (emit_insn): Likewise.
19062 (start_sequence): Use xmalloc to allocate the sequence_stack.
19063 (end_sequence): Add free to free it.
19064 (gen_sequence): Don't cache insns when GC'ing.
19065 (clear_emit_caches): Don't use sequence_element_free_list.
19066 (init_emit): Use xcalloc, not xmalloc+bzero.
19067 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19068 * function.c (pop_function_context_from): Use free to free the
19069 fixup_var_refs_queue.
19070 (put_reg_into_stack): Allocate it with xmalloc.
19071 * genattrtab.c: Include ggc.h.
19072 (operate_exp): Don't use obstack_free when GC'ing.
19073 (simplify_cond): Likewise.
19074 (simplify_text_exp): Likewise.
19075 (optimize_attrs): Likewise.
19076 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19078 (gencode): Generate a #include for ggc.h.
19079 * ggc-callbacks.c (ggc_p): Define it to zero.
19080 * ggc-none.c (ggc_p): Likewise.
19081 * ggc-simple.c: Include varray.h.
19082 (ggc_mark_tree_varray): New function.
19083 (ggc_add_tree_varray_root): Likewise.
19084 (ggc_mark_tree_varray_ptr): Likewise.
19085 * ggc.h (ggc_p): Declare.
19086 (varray_head_tag): Likewise.
19087 (ggc_add_tree_varray_root): Declare.
19088 * print-tree.c (print_node): Don't check for TREE_PERMANENT
19089 inconsistencies when GC'ing.
19090 * rtl.c: Include ggc.h.
19091 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19092 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19093 (rtx_free): Don't call obstack_free when GC'ing.
19094 * toplev.c (rest_of_compilation): Call ggc_collect after every
19096 * tree.c (push_obstacks): Do nothing, if GC'ing.
19097 (pop_obstacks_nochange): Likewise.
19098 (pop_obstacks): Likewise.
19099 (make_node): Use ggc_alloc_tree when GC'ing.
19100 (copy_node): Likewise.
19101 (get_identifier): Use ggc_alloc_string when GC'ing.
19102 (build_string): Likewise.
19103 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19104 (tree_cons): Likewise.
19105 (build1): Likewise.
19106 (type_hash_canon): Don't call obstack_free when GC'ing.
19108 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
19110 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19111 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19113 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
19114 Bernd Schmidt <bernds@cygnus.co.uk>
19115 Mark Mitchell <mark@codesourcery.com>
19117 * Makefile.in (stor-layout.o): Depend on ggc.h.
19118 (expr.o): Depend on ggc.h.
19119 (profile.o): Depend on ggc.h.
19120 (stor-layout.o): Depend on ggc.h.
19121 * emit-rtl.c (init_emit_once): Add gc roots.
19122 * expr.c: Include ggc.h.
19123 (emit_block_move): Add gc roots.
19124 (clear_storage): Likewise.
19125 * expr.h (init_stor_layout_once): New function.
19126 * profile.c: Include ggc.h.
19127 (init_arc_profiler): profiler_label is a root.
19128 * scan.c (make_sstring_space): Trust xrealloc to function
19129 correctly with first parameter NULL.
19130 * stor-layout.c: Include ggc.h.
19131 (set_sizetype): Add gc root.
19132 (init_stor_layout_once): New function.
19133 * toplev.c (compile_file): Call it.
19135 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
19136 Bernd Schmidt <bernds@cygnus.co.uk>
19137 Mark Mitchell <mark@codesourcery.com>
19139 * Makefile.in (tree.o): Depend on ggc.h.
19140 (varasm.o): Likewise.
19141 (function.o): Likewise.
19142 (stmt.o): Likewise.
19143 (except.o): Likewise.
19144 (optabs.o): Likewise.
19145 (emit-rtl.o): Likewise.
19146 * emit-rtl.c: Include ggc.h.
19147 (sequence_element_free_list): Remove, and all references.
19148 (mark_sequence): New functions.
19149 (mark_emit_state): New function.
19150 * except.c: Include ggc.h.
19151 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19152 (mark_tree_label_node): New functions.
19153 (mark_eh_state): New function.
19154 * function.c: Include ggc.h.
19155 (mark_temp_slot, mark_function_chain): New functions.
19156 (mark_function_state): New function.
19157 (init_function_once): New function.
19158 * function.h (init_function_once): New function.
19159 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19160 * ggc.h (label_node): Declare.
19161 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19162 (lang_mark_false_label_stack): New function.
19163 (mark_temp_slot): Remove declaration.
19164 (mark_function_chain): Likewise.
19165 (mark_eh_state): Adjust prototype.
19166 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19168 * optabs.c: Include ggc.h.
19169 (mark_optab): New function.
19170 (init_optabs): Add gc roots.
19171 * stmt.c: Include ggc.h.
19172 (mark_cond_nesting, mark_loop_nesting): New functions.
19173 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19174 (mark_stmt_state): New function.
19175 * toplev.c (compile_file): Call init_function_once.
19176 * tree.c: Include ggc.h.
19177 (type_hash): Move declaration earlier in file.
19178 (TYPE_HASH_SIZE, type_hash_table): Likewise.
19179 (init_obstacks): Add gc roots.
19180 (mark_type_hash): New function.
19181 * varasm.c: Include ggc.h.
19182 (mark_pool_constant): New function.
19183 (mark_varasm_state): New function.
19185 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19187 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19189 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19191 * c-decl.c (struct language_function): Renamed from struct c_function.
19193 (c_function_chain): Delete.
19194 (push_c_function_context): New arg F. Don't warn about nested
19195 functions here. Fill LANGUAGE elt of F. Delete code to update
19196 c_function_chain. Don't call push_function_context.
19197 (pop_c_function_context): New arg F. Restore from there instead of
19198 from c_function_chain. Don't call pop_function_context. Clear out
19199 LANGUAGE field of F when done.
19200 * c-lang.c: Include "function.h"
19201 (lang_init): Initialize save_lang_status and restore_lang_status.
19202 * c-parse.in (nested_function, nested_function_notype): Warn about
19203 nested functions. Call push_function_context/pop_function_context
19204 instead of the _c_ variants.
19205 * c-tree.h (push_c_function_context, pop_c_function_context): Update
19207 * Makefile.in (c-lang.o): Update dependencies.
19209 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19210 regno_pointer_flag, regno_pointer_align.
19211 (gen_reg_rtx): Use xrealloc to enlarge them.
19212 (free_emit_status): New function.
19213 * function.c (mark_machine_status, mark_lang_status): New variables.
19214 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
19215 in some bits from assign_stack_local. All callers changed to use new
19217 (assign_stack_local): Just call assign_stack_local_1.
19218 (free_after_compilation): New function.
19219 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19220 (trampoline_address): Likewise.
19221 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19222 (prepare_function_start): Explicitly clear some more variables.
19223 * function.h (struct function): New elt can_garbage_collect.
19224 (mark_machine_status, mark_lang_status): Declare variables.
19225 (free_after_compilation, free_emit_status, free_varasm_status,
19226 init_varasm_status): Declare functions.
19227 * toplev.c (rest_of_compilation): Call free_after_compilation when
19228 done with the current function.
19229 * varasm.c (free_varasm_status): New function.
19231 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
19233 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19234 (EXPAND_BUILTIN_VA_ARG): Define.
19235 * sparc.c (sparc_va_start): New.
19236 (sparc_va_arg): New.
19238 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19240 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19242 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19244 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19246 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
19248 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19249 (OBJS): Add $(GGC).
19250 (ggc-callbacks.o): New target.
19251 * ggc-callbacks.c: New file.
19253 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19255 * expr.h: Collapse individual optab and libfunc vars to arrays.
19256 (optab_index, libfunc_index): New enumerations.
19257 (optab_table, libfunc_table): New arrays.
19258 Add accessor macros for both.
19260 * optabs.c (optab_table, libfunc_table): New.
19261 Delete declarations for individual optab and libfunc vars.
19263 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
19265 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19267 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19269 * Makefile.in (GGC, GGC_LIB): New.
19270 (HOST_RTL): Include ggc-none.o.
19271 (ggc-simple.o): New target.
19272 (ggc-none.o): Likewise.
19273 * tree.h (tree_common): Add gc_mark.
19274 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19275 (struct rtvec_def): Add gc_mark.
19276 * emit-rtl.c (global_rtl): Update static initializers to contain
19277 enough initializers.
19278 * ggc.h, ggc-none.c, ggc-simple.c: New files.
19279 * toplev.c (gc_time): New variable.
19280 (all_time): New variable.
19281 (compile_file): Print gc time.
19282 (print_time): Calculate percentage of the whole.
19284 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19286 Change obstack memory management and varasm constant pool handling so
19287 that nested functions are treated like any other functions.
19288 * function.c (init_machine_status): New variable.
19289 (push_function_context_to): Set contains_functions for the outer
19290 function. Don't call save_varasm_status.
19291 (pop_function_context_from): Don't call restore_varasm_status. Don't
19292 set current_function_contains_functions.
19293 (prepare_function_start): Call init_varasm_status rather than
19294 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
19296 * function.h (struct function) Add field varasm. Delete fields
19297 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19298 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19299 (init_machine_status): Declare.
19300 (save_varasm_status, restore_varasm_status): Delete declarations.
19301 (save_tree_status, restore_tree_status): Delete last argument.
19302 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
19303 code. All callers changed.
19304 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19305 save_constants_in_decl_trees, restore_constants, save_constants,
19306 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19308 (inlining): New variable.
19309 (reg_map, label_map, insn_map, orig_asm_operands_vector,
19310 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19312 (save_for_inline_nocopy): Don't save constants.
19313 Don't set inl_emit field in current_function.
19314 (expand_inline_function): Use emit field, not inl_emit, of the inlined
19315 function. Set new variable inlining before
19316 calling copy_rtx_and_substitute.
19317 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19318 constant pool references if inlining is nonzero.
19319 Delete ADDRESS and (most of the) CONST cases.
19320 (output_inline_function): Save and restore current_function/
19321 current_function_decl. Delete restore_constants code. Don't call
19322 init_const_rtx_hash_table.
19323 * output.h (init_const_rtx_hash_table): Don't declare.
19324 * rtl.h (struct function): Declare.
19325 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19326 * toplev.c (rest_of_compilation): Don't treat nested functions or
19327 functions containing them specially. Delete all code to deal with
19328 save_for_inline_copying.
19329 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19330 inline_obstacks): Delete variables.
19331 (save_tree_status): Lose arg CONTEXT. All callers changed.
19332 Simply allocate a new function_maybepermanent_obstack for the new
19333 function, delete all the special cases.
19334 Don't save inline_obstacks.
19335 (restore_tree_status): Lose arg CONTEXT. All callers changed.
19336 Delete special handling for function_maybepermanent_obstack; simply
19338 Don't restore inline_obstacks.
19339 (permanent_allocation): Delete code that frees inline_obstacks.
19340 (print_inline_obstack_statistics): Delete function.
19341 (dump_tree_statistics): Don't call it.
19342 * varasm.c (struct varasm_status): New.
19343 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19344 last_pool, pool_offset, const_double_chain): Delete global
19345 variables, replace with accessor macros.
19346 (immed_double_const): Don't walk const_double_chain outside a
19347 function, but don't treat nested functions specially anymore.
19348 (immed_real_const_1): Likewise.
19349 (clear_const_double_mem): Don't treat nested functions specially.
19350 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19351 (save_varasm_status, restore_varasm_status): Delete functions.
19352 (init_varasm_status): New function.
19353 (force_const_mem): Don't treat nested functions specially.
19354 (find_pool_constant): Accept new arg F, search for constants in
19355 that function's pool rather than the current one. All callers
19357 (get_pool_constant_for_function, get_pool_mode_for_function): New
19360 * i386.c (init_386_machine_status): New function, mostly from
19361 clear_386_stack_locals.
19362 (struct machine_functions): Rename element names to avoid name
19364 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19365 macros, replacing global variables.
19366 (clear_386_stack_locals, save_386_machine_status,
19367 restore_386_machine_status): Delete functions.
19368 (override_options): Initialize init_machine_status.
19369 * i386.h (INIT_EXPANDERS): Delete macro.
19370 (save_386_machine_status, restore_386_machine_status,
19371 clear_386_stack_locals): Delete declarations.
19373 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19375 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19376 (doloop_begin): Simplify pattern and use emit_jump_insn.
19377 (doloop_end): Simplify pattern, switch operand order,
19378 and use emit_jump_insn.
19380 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19382 * function.h (struct function): Add new element LANGUAGE.
19383 (save_lang_status): Declare new variable.
19384 (restore_lang_status): Likewise.
19385 * function.c (save_lang_status): Define.
19386 (restore_lang_status): Likewise.
19387 (push_function_context_to): Call language-specific save function.
19388 (pop_function_context_from): Call language-specific restore function.
19390 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19392 * i386.md (movsf_1): Check REG_P before use of REGNO.
19393 (movdf_1): Likewise.
19394 (movxf_1): Likewise.
19395 (extendsfdf2): Likewise.
19396 (extendsfxf2): Likewise.
19397 (extenddfxf2): Likewise.
19399 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19401 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19402 constants into memory.
19403 (c4x_shiftable_constant): New function.
19404 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19405 (c4x_shiftable_constant): Declare.
19406 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19407 ashlqi3_noclobber): Add new patterns and associated splitters.
19409 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
19411 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19412 * dwarf2out.c (dwarf2out_frame_init): Likewise.
19413 * final.c (shorten_branches): Likewise.
19414 * global.c (global_alloc): Likewise.
19415 * haifa-sched.c (build_control_flow): Likewise.
19416 * stmt.c (check_for_full_enumeration_handling): Likewise.
19417 (estimate_case_costs): Likewise.
19419 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
19421 * rtl.h (RTL_CHECKC2): Fix typo in last change.
19423 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
19425 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19426 (recompute_reg_usage): Likewise.
19427 * rtlanal.c (find_regno_fusage): Likewise.
19429 * rtl.c (rtl_check_failed_code1): New function.
19430 (rtl_check_failed_code2): New.
19431 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19432 (RTL_CHECKC1, RTL_CHECKC2): New.
19433 (XC*): New accessor macros.
19434 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19435 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19436 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19437 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19438 (TRAP_*, RANGE_INFO_*): Likewise.
19440 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19442 * Makefile.in (tlink.o): Don't depend on toplev.h.
19444 * collect2.c (c_file, o_file, export_file, import_file, ldout,
19445 output_file, nm_file_name, ldd_file_name, strip_file_name,
19446 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19447 add_prefix, prefix_from_env, prefix_from_string, do_wait,
19448 fork_execute, maybe_unlink, add_to_list,
19449 extract_init_priority, write_list, dump_list,
19450 dump_prefix_list, write_list_with_asm, write_c_file,
19451 write_c_file_stat, write_c_file_glob, scan_prog_file,
19452 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19453 ignore_library, extract_string, notice, dump_file, target_machine,
19454 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19455 read_file, print_load_command): Constify a char*.
19456 (fdopen, error, fatal, fatal_perror): Don't prototype.
19457 (my_strerror): Remove. All callers use xstrerror instead.
19458 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19459 (main): Add prototype. Constify lots of char* ptrs. Change calls
19460 to xcalloc/strcpy/strcat/... to one call to concat.
19461 (main, scan_prog_file, scan_libraries): Use an intermediate
19462 `const char **' to build an argv array.
19463 (mapfile, libselect, libcompare, locatelib): Add prototypes.
19465 * collect2.h (collect_execute, collect_wait, dump_file,
19466 file_exists): Constify a char*.
19467 (ldout, c_file_name, temporary_obstack, permanent_obstack,
19468 temporary_firstobj, vflag, debug): Add extern declarations.
19469 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19471 * tlink.c: Don't include toplev.h.
19472 (vflag, debug, ldout, c_file_name, temporary_obstack,
19473 permanent_obstack, temporary_firstobj): Don't declare.
19474 (tlink_execute, frob_extension, symbol_hash_lookup,
19475 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19476 recompile_files, read_repo_files, demangle_new_symbols,
19477 scan_linker_output): Constify a char*.
19478 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19479 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19481 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
19483 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19484 (relative) rather than jsr (absolute) subroutine call insns.
19485 * config/m68k/m68k-coff.h: Ditto.
19487 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
19489 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19490 now rework these too.
19491 (arm_reorg): If an insn can't reach the end of the current pool,
19492 ensure that we emit that pool before the insn.
19494 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
19496 * tlink.c (scan_linker_output): Skip the initial underscore in
19497 a mangled name if appropriate.
19499 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19501 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19502 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19503 error_with_ivar, gen_declarator, create_builtin_decl,
19504 my_build_string, generate_descriptor_table, generate_ivars_list,
19505 generate_dispatch_table, check_protocols, TAG_GETCLASS,
19506 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19507 dump_base_name, lang_decode_option, build_encode_expr,
19508 start_class, finish_class, encode_pointer, really_start_method,
19509 gen_declaration, dump_interface, handle_class_ref, handle_impent):
19511 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19512 Add static prototypes.
19513 (build_objc_string_decl, build_selector_reference_decl,
19514 encode_bitfield, build_class_reference_decl): Remove unused
19515 parameter, all callers changed.
19516 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19517 (objc_printable_name): Likewise. Change second parameter to type int.
19518 (init_objc): Use memcpy, not bcopy, to avoid casts.
19520 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
19522 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19523 reg notes on a deleted insn.
19524 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19526 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
19528 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19530 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19532 * stmt.c (expand_asm_operands): Fix index into inout_mode when
19535 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
19537 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19538 * tm.texi (MD_ASM_CLOBBERS): Document it.
19540 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
19542 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19543 * except.c (expand_rethrow): Remove unused variable.
19544 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19545 * flow.c (replace_insns): Likewise.
19546 (create_edge_list, verify_edge_list): Likewise.
19547 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19549 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19550 is special code to run.
19551 (main): Don't define operands to emit_operand.
19552 * genrecog.c (main): Don't emit an empty peephole2_insn function.
19554 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19556 * alpha/alpha.h (normal_memory_operand): Declare.
19557 (reg_no_subreg_operand): Declare.
19558 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19560 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
19562 * c-parse.in (compstmt_primary_start): New, broken out of first
19563 part of compstmt handling in primary.
19564 (primary): Use it. Add an error clause.
19565 (compstmt_nostart): Renamed from compstmt; remove all
19566 initial invocations of compstmt_start.
19569 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
19571 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
19574 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
19576 * combine.c (simplify_shift_const): Remove extra semicolon.
19577 * dwarf2out.c (remove_AT): Likewise.
19578 * expmed.c (expand_mult): Likewise.
19579 * gcov.c (create_program_flow_graph): Likewise.
19580 * reorg.c (mostly_true_jump): Likewise.
19582 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
19584 * fold-const.c (fold_range_test): Do not try to fold the range
19585 test if the rhs or lhs has side effects.
19587 * combine.c (simplify_rtx): Recognize another case of a synthesized
19590 * varasm.c (mark_constant_pool): When marking indirect references,
19591 only look at SYMBOL_REFs.
19593 * except.c (expand_fixup_region_end): Do not peek at
19594 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19596 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
19598 * flags.h: New variables align_loops, align_loops_log,
19599 align_jumps, align_jumps_log, align_labels, align_labels_log,
19600 align_functions, align_functions_log.
19601 * toplev.c: Define them.
19602 (f_options): Handle -falign-* when they have no argument.
19603 (main): Add logic to set variables for -falign-functions,
19604 -falign-jumps, -falign-labels, -falign-loops.
19605 Make it -fsched-verbose=<n> and -finline-limit=<n>.
19606 (display_help): Change help to match options.
19607 * final.c (LABEL_ALIGN): Default to align_labels_log.
19608 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19609 (LOOP_ALIGN): Default to align_loops_log.
19610 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19611 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19612 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19613 * varasm.c (assemble_start_function): Handle align_functions.
19615 * config/sparc/sparc.h: Don't declare sparc_align_*.
19616 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19617 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19619 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19621 * config/sparc/sparc.c: Delete sparc_align_loops,
19622 sparc_align_jumps, sparc_align_funcs and the corresponding string
19624 (sparc_override_options): Default align_functions on ultrasparc.
19625 Delete -malign-* handling.
19627 * config/mips/mips.c (override_options): On 64-bit targets,
19628 try to align code to 64-bit boundaries.
19629 (print_operand): New substitution, %~,
19630 which aligns labels to align_labels_log.
19631 * config/mips/mips.md (div_trap_normal): Use %~.
19632 (div_trap_mips16): Likewise.
19634 (absdi2): Likewise.
19635 (ffssi2): Likewise.
19636 (ffsdi2): Likewise.
19637 (ashldi3_internal): Likewise.
19638 (ashrdi3_internal): Likewise.
19639 (lshrdi3_internal): Likewise.
19640 (casesi_internal): Likewise.
19642 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
19644 Merge new ia32 backend from the branch!
19646 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19647 See ChangeLog.P2 on new_ia32_branch for details.
19649 * rtl.h (stack_regs_mentioned_p): Delete prototype.
19650 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19651 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19652 * i386/gas.h (ASM_FILE_START): Define.
19653 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19654 for name change of ix86_valid_decl_attribute_p.
19655 (i386_pe_valid_type_attribute_p): Similarly.
19657 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
19659 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19660 to step through CC modes.
19662 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19664 * regmove.c (fixup_match_1): Don't move INSN in front of P if
19665 it would end up in the shadow of a live flags regsiter.
19667 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19669 * reload1.c: Fix many indentation problems.
19670 * reload.c: Likewise.
19672 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
19674 * alias.c (non_local_reference_p): Constify fmt.
19676 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
19678 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19680 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
19682 * cse.c (delete_trivially_dead_insns): Do not delete stores to
19683 the internal_arg_pointer.
19685 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
19687 Merge peephole2 from new_ia32_branch:
19688 * Makefile.in (STAGESTUFF): Add *.peephole2.
19689 (mostlyclean): Likewise.
19690 (recog.o): Depend on resource.h.
19692 * final.c (peephole): Conditionalize decl on HAVE_peephole.
19693 (final_scan_insn): Likewise for the invocation of peephole.
19694 * genconfig.c (main): Look for peephole and peephole2 patterns.
19695 Emit HAVE_peephole* accordingly.
19696 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19697 * flags.h (flag_peephole2): Declare.
19698 * toplev.c: New pass peephole2. New flag -fpeephole2.
19700 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19701 * gencodes.c (main): Likewise.
19702 * genextract.c (main): Likewise.
19703 * genoutput.c (main): Likewise.
19704 * genemit.c (max_operand_1): Look for the max scratch operand.
19705 (gen_rtx_scratch): New.
19706 (gen_exp): Use it, and pass on new arg subroutine_type.
19707 (gen_expand): Take max scratch into account.
19708 (gen_split): Emit peephole2 functions.
19709 (output_peephole2_scratch): New.
19710 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
19711 * genrecog.c (routine_type): Add PEEPHOLE2.
19713 (make_insn_sequence): Match outer parallel for peep2. Discard
19714 top level scratches and dups.
19715 (add_to_sequence): New args insn_type and top. Update all callers.
19716 Handle toplevel peep2 matching insns.
19717 (write_subroutine): Handle peep2.
19718 (write_tree_1): Likewise.
19719 (write_tree): Likewise.
19721 (change_state): New arg afterward. Update all callers.
19722 Handle matching separate insns.
19723 * recog.c (recog_next_insn): New.
19724 (peephole2_optimize): New.
19725 * rtl.def (DEFINE_PEEPHOLE2): New.
19726 * resource.c (find_free_register): New argument last_insn. Use it
19727 to find a register available through the entire span.
19728 * resource.h (find_free_register): Update prototype.
19730 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
19732 * i386.c (output_strlen_unroll): Don't write xops[7]
19733 label if it wasn't set.
19735 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
19737 * cpplib.c (struct directive): Const-ify name pointer and
19738 function pointer prototype.
19739 (validate_else, do_define, do_line, do_include, do_undef,
19740 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19741 do_elif, do_endif, do_sccs, do_assert, do_unassert,
19742 do_warning): Const-ify second arg.
19743 (directive_table): Mark const. Reorder entries by frequency
19744 of usage, record statistics.
19746 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19748 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19749 bounds- check RTL accesses if --enable-checking.
19750 (RTVEC_ELT): Bounds check if --enable-checking.
19751 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19752 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19753 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19755 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19756 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
19758 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19759 (NOTE_SOURCE_FILE): Use X0STR.
19760 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19761 MEM_ALIAS_SET): Use X0INT.
19762 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19763 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19765 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19766 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19767 (rtl_check_failed_bounds, rtl_check_failed_type1,
19768 rtl_check_failed_type2, rtvec_check_failed_bounds): New
19770 (fancy_abort): Fix comment.
19772 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19773 (cse_insn): Decrement LABEL_NUSES for jump target before
19774 deleting jump insn.
19775 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19776 * final.c (alter_subreg): Compute regno before changing x to
19777 REG; set REGNO(x) after changing it.
19778 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19779 notes containing CONST_INTs.
19780 (delete_eh_regions): Use NOTE_EH_HANDLER.
19781 * function.c (put_reg_into_stack): Make reg a MEM before
19783 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
19785 (gen_mem_addressof): Make reg a MEM before initializing it.
19786 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19788 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19789 deleting an insn, not after.
19790 (block_alloc): Only look at PATTERN(insn) if we have to, and
19791 only if it's format class 'i'.
19792 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19793 CONST_INT before using its INTVAL.
19794 * print-rtl.c (print_rtx): Use X0STR.
19795 * regmove.c (fixup_match_1): Don't look at PATTERN of
19796 non-class-'i' insn chain elements.
19797 * reload.c (loc_mentioned_in_p): Take address of
19798 in->fld[1].rtx directly.
19799 * reload1.c (reload): Change reg to a MEM before initializing
19801 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19803 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19805 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
19807 * config/mips/mips.c (machine_dependent_reorg): Force a
19808 barrier to output the local constant pool if a barrier hasn't
19809 been found at a natural point in the instruction stream.
19811 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19813 * c-parse.in (language_string): Constify.
19815 * dwarf2out.c (language_string): Remove declaration.
19817 * dwarfout.c (language_string): Likewise.
19819 * toplev.c (language_string, init_parse, finish_parse): Likewise.
19821 * tree.h (language_string, init_parse, finish_parse): Declare.
19823 * i386/sun386.h (language_string): Remove declaration.
19825 * mips.h (language_string): Likewise.
19827 * nextstep.h (language_string): Likewise.
19829 * nextstep21.h (language_string): Likewise.
19831 * rs6000.c (language_string): Likewise.
19833 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19835 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
19836 (getpwd.o): Remove target.
19838 * getpwd.c: Delete file. Its in libiberty now.
19840 * dbxout.c (getpwd): Don't prototype.
19841 * dwarf2out.c (getpwd): Likewise
19842 * dwarfout.c (getpwd): Likewise
19843 * final.c (getpwd): Likewise.
19844 * protoize.c (getpwd): Likewise.
19846 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19848 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
19850 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
19852 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
19853 mark_set_resources.
19855 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
19857 * fixinc/Makefile.in (subdir): New.
19858 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
19861 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
19863 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
19864 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
19867 * invoke.texi: Fix typo.
19869 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
19870 changed. Handle autoincrement addressing modes.
19872 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
19873 just like we would the virtual incoming args register when
19876 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
19878 * rs6000.h (ASM_FILE_START): Specify complete filename, including
19879 path, in .file directive.
19881 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
19883 * gcc.texi (External Bugs): Remove obsolete note about Perl on
19886 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
19888 * stdbool.h: Make the typedef name _Bool, with bool a #defined
19891 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19893 * tree.c (tree_code_name): Constify a char*.
19895 * tree.h (tree_code_name, decl_printable_name): Likewise.
19897 * function.h (struct function): Likewise.
19899 * toplev.c (decl_name, decl_printable_name): Likewise.
19901 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
19903 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
19904 (init_objc): Remove function pointer cast.
19906 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
19908 * pa.md (interspace_jump): New pattern.
19909 (builtin_longjmp): New expander.
19911 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
19913 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
19914 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
19915 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
19917 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
19919 * jump.c (delete_prior_computation): Also check calls
19920 to constant functions. Don't bother checking for a
19921 REG_UNUSED note before adding it.
19922 (delete_computation): Handle multi-word hard registers
19923 when synthesizing missing REG_DEAD notes for a register
19924 which is both set and used by an insn.
19926 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19928 * loop.c (this_loop_info): New variable.
19929 (loop_has_call, loop_has_volatile, loop_has_tablejump,
19930 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
19932 (prescan_loop, strength_reduce): New argument loop_info. All callers
19934 (scan_loop): New variable loop_info, initialise to address of
19936 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
19937 Delete variable loop_has_multiple_exit targets and replace with
19938 field in this_loop_info.
19939 (find_and_verify_loops): Rename this_loop to this_loop_num.
19940 (strength_reduce): Delete loop_iteration_info. Replace variable
19941 loop_info with function argument of same name.
19942 (insert_bct): Rework test for loop being completely unrolled.
19944 * loop.h (struct loop_info): New fields num, loops_enclosed,
19945 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
19946 has_indirect_jump, and cont. Redefine use of unroll_number.
19947 (loop_unroll_number): Delete.
19949 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
19950 field of loop_info.
19951 (loop_iterations): Delete variable vtop and instead use
19952 loop_info->vtop computed in prescan_loop.
19954 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
19956 * fix-header.c (main): Do not pass a null pointer to strcmp.
19958 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
19960 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
19962 * configure: Rebuilt.
19964 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
19966 * jump.c (jump_optimize_1): Do not delete assignments to
19967 internal_arg_pointer.
19968 * cse.c (delete_trivially_dead_insns): Always consider a set of
19969 the internal_arg_pointer live.
19971 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
19973 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
19974 (update_life_info) [REG_WAS_0]: Search the original insns rather
19975 than the new insns for the note. Fix typos finding note_dest.
19976 If no dest found, discard the note rather than abort.
19977 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
19978 (replace_insns): Remove the old insn list after update_life_info
19981 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
19983 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
19984 sched_analyze_insn.
19985 (sched_analyze_1): Let add_dependence care for not adding dups.
19986 (sched_analyze_2): Likewise.
19987 (add_branch_dependences): Likewise.
19989 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
19991 * i386/winnt.c (export_list): New type.
19992 (exports_head): Rename to
19993 (export_head): this.
19994 (i386_pe_record_exported_symbol): Add is_data flag.
19995 (i386_pe_asm_file_end): Emit directive for exported variables.
19996 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
19998 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
19999 (ASM_DECLARE_OBJECT_NAME): Likewise.
20000 (ASM_DECLARE_FUNCTION_NAME): Likewise.
20001 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
20003 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
20005 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20007 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20010 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
20012 * config/openbsd.h: Define SET_ASM_OP.
20013 * tm.texi: cross-reference SET_ASM_OP in the index.
20015 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
20017 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20018 for a CONST_DOUBLE, at compile time. Initialize rtx_length
20019 and class_narrowest_mode at compile time. Kill init_rtl.
20020 Mark rtx_length, mode_class, mode_size, mode_unit_size,
20021 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20022 rtx_format as const. Kill all references to EXTRA_CC_MODES or
20024 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20026 * rtl.h: Declare rtx_length and rtx_format as const.
20027 * machmode.def: Define CC(). Use CC() to define CCmode. If
20028 EXTRA_CC_MODES is defined, expand it here.
20029 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20030 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20031 const. Kill all references to EXTRA_CC_MODES.
20033 * toplev.c: Don't prototype or call init_rtl.
20034 * optabs.c: Don't call init_mov_optab.
20035 * genemit.c: Don't generate init_mov_optab. Don't call
20037 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20039 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20040 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20041 genrecog.c: Don't call init_rtl.
20043 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20044 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
20045 definition of EXTRA_CC_MODES.
20047 * md.texi: Kill ref to EXTRA_CC_NAMES.
20048 * tm.texi: Document new way to define EXTRA_CC_MODES.
20050 * genrecog.c: Do not look up the name of a define_split.
20051 (Unrelated bugfix.)
20053 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
20055 * config/v850/v850.md: Fix typo introduced by previous delta.
20057 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20059 * gcc.c (fatal): Make definition static to match prototype.
20061 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20063 * combine.c (get_last_value): Don't look for earlier sets if the last
20064 known set is somewhere in between the insns being combined.
20066 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
20068 * configure.in: Don't use shell ! to negate exit codes
20069 * configure: Regenerate
20071 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
20073 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20074 the fact that ALIGN is measured in bits, not bytes.
20076 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
20078 * errors.c: New file; defines functions error, warning, and
20079 fatal, variables have_error and progname.
20080 * errors.h: New file; prototypes and decls for stuff in errors.c.
20082 * Makefile: Add rules to build errors.o and
20083 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
20084 genopinit, genrecog, genextract, genpeep, genattr, and
20085 genoutput with errors.o. Add errors.h to deps of genconfig.o,
20086 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20087 genpeep.o, genattr.o, and genoutput.o.
20089 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20090 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
20091 define or prototype fatal. Set progname at beginning of main.
20092 * genoutput.c: Likewise, and don't define or prototype error
20095 * c-typeck.c (c_expand_start_case): Return immediately if exp
20097 * fold-const.c (operand_equal_p): Return immediately if arg1
20098 or arg0 are ERROR_MARKs.
20099 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20100 fields of type ERROR_MARK when calculating if the record can
20103 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
20104 with much help from Jeffrey A Law and Richard Henderson
20106 * i386.md: In the 6 insns which call output_fix_trunc,
20107 earlyclobber operands[0].
20109 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
20111 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20112 creating new registers.
20114 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
20116 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20117 i386_reg_alloc_order, i386_regparm_string,
20118 i386_align_loops_string, i386_align_jumps_string,
20119 i386_align_funcs_string, i386_preferred_stack_boundary_string,
20120 and i386_branch_cost_string as type "const char *".
20121 * i386.c: Define all above strings as type "const char *".
20123 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
20125 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20126 when emitting alignment padding. Emit padding byte of 0 instead of 4.
20128 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
20130 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20131 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20133 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
20135 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20136 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20137 (dwarf2out_line, dwarf2out_finish): Likewise.
20138 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20140 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
20142 * tree.c (lang_unsave_expr_now) : Correct return type.
20143 * tree.h (lang_unsave_expr_now) : Same.
20145 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
20147 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20148 instead of duplicating code.
20150 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20152 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20154 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
20156 * tree.h: fancy_abort always takes three args.
20157 * resource.c: Move include of system.h before toplev.h.
20159 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
20161 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20164 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
20166 * system.h: Don't redefine abort or trim_filename.
20167 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20168 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20169 whether or not __FUNCTION__ is available.
20170 * tree.h: Duplicate rtl.h's definition of abort, for files
20171 that don't include rtl.h. Delete all code to perform type
20172 checking with a compiler other than GCC.
20173 * varray.h: Delete all code to perform type checking with a
20174 compiler other than GCC. Make VARRAY_CHECK() always evaluate
20175 its arguments exactly once, using a statement expression.
20176 Adjust the VARRAY_<type> accessor macros to match.
20177 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20178 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20179 caller's location. Define fatal_insn and fatal_insn_not_found
20180 as macros that use _fatal_insn and _fatal_insn_not_found.
20181 (fancy_abort, trim_filename): Kill prototypes.
20183 * rtl.c (trim_filename): Move here from toplev.c.
20184 (fancy_abort): New function.
20185 (DIR_SEPARATOR): Provide default definition.
20186 * tree.c (tree_check_failed, tree_class_check_failed): Go
20187 through fancy_abort.
20188 (tree_check, tree_class_check, cst_or_constructor_check,
20189 expr_check): Delete.
20190 * varray.c (varray_check_failed): New function.
20191 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20192 _fatal_insn and _fatal_insn_not_found. Go through
20194 (trim_filename, fancy_abort): Delete.
20196 * builtins.c (expand_builtin_args_info): Report ICE with abort.
20197 * except.c (start_catch_handler): Report ICE with error/abort
20199 * final.c (output_operand_lossage): Likewise.
20200 * flow.c (verify_flow_info): Likewise.
20202 * gcc.c: Prototype fatal.
20203 * gengenrtl.c: Undef abort after including rtl.h not system.h.
20204 * genattr.c, genattrtab.c, genemit.c, genextract.c,
20205 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20206 Don't define fancy_abort.
20208 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
20210 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20213 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
20215 * m88k.h (VERSION_INFO2): Kill.
20216 (VERSION_STRING): Kill.
20218 (VERSION_INFO1): Tidy.
20219 (TARGET_VERSION): Update.
20220 * m88k/dgux.h (VERSION_INFO2): Kill.
20221 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20222 * m88k/luna.h (VERSION_INFO1): Tidy.
20223 * m88k/sysv4.h (VERSION_INFO1): Likewise.
20224 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20225 (output_file_start): Adjust for death of VERSION_STRING.
20227 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
20229 * cpplib.c (detect_if_not_defined): New function.
20230 (do_if): Use it to detect potential once-only headers.
20232 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
20234 * c-common.c (combine_strings): Always set TREE_CONSTANT.
20236 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
20238 * combine.c (nonzero_bits) : Allow single-ly set registers to be
20239 anywere in the function only if they are pseudos and set before
20240 being used (not live at the start of the function).
20241 (num_sign_bit_copies) : Same.
20242 (get_last_value_validate) : Same.
20243 (get_last_value) : Same.
20245 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
20247 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20248 where N and M are constant and N is an integer multiple of M.
20250 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20252 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20253 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20254 sbitmap_union_of_preds): Add prototypes.
20255 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20256 the intersection of successors with the new flow graph structures.
20257 (sbitmap_intersection_of_preds): New function to compute the
20258 intersection of predecessors with the new flow graph structures.
20259 (sbitmap_union_of_succs): New function to compute the union of
20260 successors with the new flow graph structures.
20261 (sbitmap_union_of_preds): New function to compute the union of
20262 predecessors with the new flow graph structures.
20263 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20264 (expr_reaches_here_p): Use edge and basic_block structures instead
20265 of s_preds and s_succs.
20266 (compute_cprop_avinout): Use new sbitmap routines.
20267 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20268 of s_preds and s_succs.
20269 * flow.c (compute_flow_dominators): Compute dominators using
20270 edges and basic blocks instead of s_preds and s_succs.
20272 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20274 * lists.c (unused_insn_list, unused_expr_list): New file for
20275 maintaining various types of lists. New statics for maintaining a
20276 cache of available INSN_LIST and EXPR_LIST nodes.
20277 (free_list): Static function for freeing a list of INSN/EXPR nodes.
20278 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20279 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20280 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20281 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20282 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20283 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20284 (free_INSN_LIST_node): Free an individual INSN_LIST node.
20285 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20286 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20287 (remove_dependence, free_pending_lists): Use new global routines.
20288 (flush_pending_lists, sched_analyze_insn): Use new global routines.
20289 (sched_analyze, compute_block_backward_dependences): Use new routines.
20290 (sched_analyze_1, sched_analyze_2): Use new routines.
20291 (schedule_insns): Use new global routines.
20292 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20294 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20295 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20297 * toplev.c (rest_of_compilation): Initialize node cache.
20298 * Makefile.in (OBJS): Add lists.o to list of object files.
20299 (lists.o): Add dependancies.
20301 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
20303 * config/v850/v850.md: Fix compile time warning messages.
20304 * config/v850/v850.c: Fix compile time warning messages.
20305 * config/v850/v850.h: Fix compile time warning messages.
20307 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20309 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20310 Remove unused prototype for `init_lengths'.
20312 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20314 * calls.c (emit_call_1): Mark parameter `stack_size' with
20316 (expand_call): Initialize variable `insn'.
20317 (emit_library_call): Likewise for variable `high_to_save'.
20318 (emit_library_call_value): Likewise.
20319 (store_one_arg): Likewise for variables `lower_bound' and
20322 * combine.c (try_combine): Likewise for variables `i2_code_number'
20323 and `other_code_number'.
20324 (find_split_point): Likewise for variables `pos', `unsignedp' and
20326 (simplify_if_then_else): Likewise for variables `op' and `c1'.
20327 (simplify_and_const_int): Remove unused variable `width'.
20328 (merge_outer_ops): Likewise.
20330 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20331 HOST_WIDE_INT' when comparing against one.
20332 (simplify_relational_operation): Likewise.
20333 (cse_insn): Initialize variables `src_eqv_volatile',
20334 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20336 * final.c (init_final): Constify parameter `filename'.
20337 (final_start_function): Mark parameter `optimize' with
20339 (profile_function): Likewise for parameters `first' and `optimize'.
20340 (output_source_line): Likewise for parameter `file'.
20342 * integrate.c (subst_constants): Cast a value to `size_t' when
20343 comparing against one.
20344 (mark_stores): Initialize variable `mode'. Cast a value to
20345 `size_t' when comparing against one.
20347 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20349 * loop.c (move_movables): Initialize variable `first'.
20350 (strength_reduce): Likewise for variable `increment'.
20351 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
20352 value to `size_t' when comparing against one.
20353 (load_mems): Initialize variable `end_label'.
20355 * output.h (init_final): Constify parameter.
20357 * reload.c (decompose): Initialize variable `base'.
20359 * reload1.c (reload): Likewise for variable `is_scalar'.
20360 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20361 (choose_reload_regs): Initialize variable `mode'.
20362 (emit_reload_insns): Likewise for variable `store_insn'.
20363 (reload_cse_noop_set_p): Mark parameter `insn' with
20365 (reload_combine): Initialize variable `set'.
20367 * unroll.c (unroll_loop): Likewise for variable `local_label'.
20368 (copy_loop_body): Cast a value to `size_t' when comparing against
20371 * varasm.c (assemble_variable): Initialize variable `size_tree'.
20372 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20373 (remove_from_pending_weak_list): Mark parameter `name' with
20376 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20378 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20381 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
20383 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20384 (ASM_DECLARE_FUNCTION_NAME): Define.
20385 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20386 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20387 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20388 not already defined.
20390 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
20392 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20393 of n_popped when call/call_value are not defined.
20395 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
20397 * tm.texi: GNU CC -> GCC conversion.
20398 (CC1_SPEC): Indicate it is used for all language front ends.
20400 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
20402 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20403 NOTE_INSN_EH_REGION_END correctly.
20405 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
20406 Jeff Law <law@cygnus.com>
20408 * loop.c (strength_reduce): Automatically unroll loops if the
20409 unrolled loop size is smaller than the rolled loop size.
20411 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20412 and delete comment that code should be rewritten.
20414 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
20416 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20419 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20421 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
20423 * fixinc/mkfixinc.sh: Don't fix uwin headers.
20424 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20425 (LINK_SPEC): Add -u _main when building executables.
20426 (ASM_DECLARE_FUNCTION): Update from Cygwin.
20427 (ASM_FILE_END): Use the default for ix86-pe.
20428 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20430 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
20432 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20433 and ASM_CLOSE_PAREN are empty strings.
20435 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
20436 Geoffrey Keating <geoffk@cygnus.com>
20438 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20439 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20440 (unprotoize.o): Ditto.
20441 (test-protoize-simple): Don't define STD_PROTO_DIR.
20442 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
20443 changes to make 'test-protoize-simple' pass.
20444 (STD_PROTO_DIR): Remove define.
20445 (STANDARD_EXEC_PREFIX): Supply default define.
20446 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20447 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20448 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20449 (GET_ENV_PATH_LIST): New macro.
20450 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20451 (do_processing): Initialize default_syscalls_dir using new
20452 macros. Use it to initialize syscalls_absolute_filename.
20454 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
20456 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20457 B into a register before emit_conditional_move.
20459 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
20461 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20462 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
20463 multiplicand out of (+ (* a b) (* c d)).
20465 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
20466 Richard Henderson <rth@cygnus.com>
20468 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20469 (new_insn_dead_notes): Likewise.
20470 (update_n_sets): Likewise.
20471 (update_flow_info): Move to flow.c, renamed to update_life_info;
20472 extend to handle multiple source insns.
20473 * flow.c: Include resource.h
20474 (unlink_insn_chain): New.
20475 (split_hard_reg_notes): New.
20476 (maybe_add_dead_note): New.
20477 (maybe_add_dead_note_use): New.
20478 (find_insn_with_note): New.
20479 (new_insn_dead_notes): New.
20480 (update_n_sets): New.
20481 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20482 (maybe_remove_dead_notes): New.
20483 (update_life_info): New.
20484 (prepend_reg_notes): New.
20485 (replace_insns): New.
20486 * output.h (update_life_info): Declare.
20487 * recog.c (split_block_insns): Use update_life_info.
20488 * resource.c (find_free_register): Use reg_alloc_order, don't use
20489 fixed regs, make sure the mode is supported, don't use new regs.
20491 * rtl.h (replace_insns): Declare.
20493 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
20495 * expr.c (expand_expr): Cope with COND_EXPRs with one
20496 non-returning branch.
20498 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
20500 * expr.c (store_expr): Always pass down the target, even when not
20503 1999-08-24 Nick Clifton <nickc@cygnus.com>
20505 * configure.in: Define target_cpu_default for v850 targets.
20506 * configure: Regenerate
20508 * config/v850/v850.h (TARGET_CPU_generic): Define.
20509 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20510 addresses are 4 byte aligned.
20512 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20515 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20517 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
20518 (main): Add prototypes.
20520 * genattrtab.c (substitute_address, write_const_num_delay_slots,
20521 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20522 (write_attr_get): Emit prototypes along with function definition.
20523 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20524 (write_complex_function): Emit static prototype along with
20525 function definition.
20527 * genemit.c (gen_split): Emit prototypes along with function
20530 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20531 Likewise for predicates and `insn_operand_predicate'.
20532 (process_template): Emit static prototype along with function
20535 * genrecog.c (make_insn_sequence): Constify a char*. Add
20536 prototypes for get_split_*().
20537 (write_subroutine): Emit prototypes along with function
20540 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20542 * gcse.c (find_avail_set): Follow chains of register-register copies.
20543 Use oprs_not_set_p to guarantee that the returned value can be
20545 (cprop_insn): Don't verify the return value of find_avail_set with
20548 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20549 (cprop_cc0_jump): New function.
20550 (cprop_insn): Break out new function cprop_jump and use it.
20551 Also use cprop_cc0_jump for machines with CC0.
20552 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20554 * tree.h (current_function_calls_setjmp,
20555 current_function_calls_longjmp): Delete declarations.
20556 * dsp16xx.c: Include "function.h".
20557 * elxsi.c: Likewise.
20558 * gmicro.c: Likewise.
20559 * h8300.c: Likewise.
20560 * i370.c: Likewise.
20561 * m32r.c: Likewise.
20562 * mn10200.c: Likewise.
20563 * mn10300.c: Likewise.
20564 * ns32k.c: Likewise.
20565 * spur.c: Likewise.
20566 * v850.c: Likewise.
20568 * rtl.h (rtx_equal_function_value_matters): Declare.
20569 * toplev.c (rtx_equal_function_value_matters): Don't declare.
20571 * function.c: Likewise.
20572 * emit-rtl.c: Likewise.
20574 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
20576 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20579 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20581 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20584 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
20586 * cpp.texi: Add a node documenting macro varargs (copied
20589 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
20591 * cppspec.c: Put a null pointer at the end of the new argv.
20593 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
20595 * configure.in: Remove code to select/de-select the haifa
20596 scheduler. Every scheduled port gets haifa now.
20597 * configure: Rebuilt.
20598 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20600 * Makefile.in: Corresponding changes.
20602 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20604 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20605 All callers changed.
20606 (prepare_float_lib_cmp): Likewise.
20607 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20608 * expr.h (emit_float_lib_cmp): Delete declaration.
20609 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20610 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20611 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20613 (cmptf): Now conditional on TARGET_HARD_QUAD.
20615 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
20617 * resource.c (mark_target_live_regs): Use
20618 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20620 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20622 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20624 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20626 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20628 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20630 * rtl.h (rtx_format): Constify a char*.
20632 * rtl.c (rtx_format): Likewise.
20633 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20634 (init_rtl): Use accessor macro, not `rtx_format'.
20636 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20639 * caller-save.c (mark_referenced_regs): Likewise.
20641 * combine.c (subst, make_compound_operation, known_cond,
20642 gen_rtx_combine, update_table_tick, get_last_value_validate,
20643 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20645 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20646 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20647 count_reg_usage): Likewise.
20649 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20652 * final.c (leaf_renumber_regs_insn): Likewise.
20654 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20655 dump_edge_info, count_reg_references): Likewise.
20657 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20658 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20661 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20662 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20663 add_label_notes): Likewise.
20665 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20666 clear_struct_flag, count_sub_rtxs, count_alternatives,
20667 compares_alternatives_p, contained_in_p, walk_attr_value,
20668 write_expr_attr_cache): Likewise.
20670 * genconfig.c (walk_insn_part): Likewise.
20672 * genemit.c (max_operand_1, gen_exp): Likewise.
20674 * genextract.c (walk_rtx): Likewise.
20676 * genflags.c (num_operands): Likewise.
20678 * genoutput.c (scan_operands): Likewise.
20680 * genpeep.c (match_rtx): Likewise.
20682 * genrecog.c (add_to_sequence): Likewise.
20684 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20687 * integrate.c (save_constants, copy_for_inline,
20688 copy_rtx_and_substitute, subst_constants, restore_constants):
20691 * jump.c (mark_jump_label, invert_exp, redirect_exp,
20692 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20694 * local-alloc.c (contains_replace_regs, memref_referenced_p):
20697 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20698 add_label_notes, replace_call_address, count_nonfixed_reads,
20699 invariant_p, find_single_use_in_loop, find_mem_givs,
20700 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20703 * print-rtl.c (reg_names, print_rtx): Likewise.
20705 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20707 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20708 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20709 print_blocks): Likewise.
20711 * regclass.c (fix_register, record_address_regs,
20712 reg_scan_mark_refs): Likewise.
20714 * regmove.c (stable_but_for_p): Likewise.
20716 * reload.c (loc_mentioned_in_p, operands_match_p,
20717 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20718 copy_replacements, refers_to_regno_for_reload_p,
20719 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20720 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20723 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20724 delete_address_reloads_1, count_occurrences,
20725 reload_cse_mem_conflict_p, reload_combine_note_use,
20726 add_auto_inc_notes): Likewise.
20728 * resource.c (mark_referenced_resources, mark_set_resources):
20731 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20732 reg_mentioned_p, regs_set_between_p, modified_between_p,
20733 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20734 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20735 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20736 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20738 * sched.c (sched_analyze_2, attach_deaths): Likewise.
20740 * stupid.c (stupid_mark_refs): Likewise.
20742 * unroll.c (remap_split_bivs): Likewise.
20744 * varasm.c (mark_constants): Likewise.
20746 * a29k/a29k.c (uses_local_reg_p): Likewise.
20748 * alpha/alpha.c (summarize_insn): Likewise.
20750 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20751 eliminate_lr2ip): Likewise.
20753 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20755 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20756 reg_mentioned_in_mem): Likewise.
20758 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20759 symbolic_reference_mentioned_p): Likewise.
20761 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20763 * sh/sh.c (regs_used, mark_use): Likewise.
20765 * vax/vax.c (vax_rtx_cost): Likewise.
20767 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20769 * machmode.h (mode_name): Constify a char*.
20771 * rtl.c (mode_name): Likewise.
20773 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20775 * optabs.c (init_libfuncs): Constify a char*.
20777 * print-tree.c (mode_name): Remove redundant declaration.
20778 (print_node): Use accessor macro, not `mode_name'.
20780 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
20782 (new_spill_reg): Constify a char*.
20784 * tree.c (mode_name): Remove redundant declaration.
20786 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20788 * rtl.c (rtx_name): Constify a char*.
20790 * rtl.h (rtx_name, fix_sched_param): Likewise.
20792 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20793 (mypr): Use accessor macro, not `rtx_name'.
20795 * genemit.c (print_code): Constify a char*.
20797 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20799 * genpeep.c (print_code): Constify a char*.
20801 * genrecog.c (print_code): Likewise.
20803 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20804 end_bb): Add static prototype.
20805 (draw_edge): Constify a char*.
20806 (end_bb): Remove unused parameter.
20808 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
20809 print_block_visualization): Constify a char*.
20811 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
20813 * c-common.c (c_get_alias_set): Update comment.
20815 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20817 * linux.h (LIB_SPEC): Added.
20819 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20821 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
20823 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
20825 * tree.c (expr_check): Fix typo in last change.
20827 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
20829 * rtl.def (NOTE): Change format to "iuu0n".
20830 (ADDR_DIFF_VEC): Change format to "eEee0".
20831 (ADDRESSOF): Change format to "eit".
20833 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
20834 (RTVEC_ELT): Change to match.
20835 (XVECEXP): Use XVEC and RTVEC_ELT.
20836 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
20837 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
20838 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
20839 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
20840 TRAP_CONDITION, TRAP_CODE): Use XEXP.
20841 (INTVAL): Use XWINT.
20842 (ADDRESSOF_DECL): Use XTREE.
20843 (SET_ADDRESSOF_DECL): Delete.
20844 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
20845 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
20846 ifdefed out since 2.6 at least.
20847 (gen_rtvec_vv): Delete prototype.
20849 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
20851 (copy_most_rtx): Handle 't' format letter.
20852 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
20853 (gen_rtvec_vv): Delete function. All callers changed to use
20854 gen_rtvec_v instead.
20855 * print-rtl.c (print_rtx): Move special casing of NOTEs to
20856 the '0' format letter.
20858 * function.c (gen_mem_addressof): Don't use
20859 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
20861 * integrate.c (copy_rtx_and_substitute): Likewise.
20862 Copy 't' slots with XTREE.
20863 (subst_constants): Treat 't' slots like '[swi]' slots.
20864 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
20865 * jump.c (rtx_equal_for_thread_p): Likewise.
20866 * rtlanal.c (rtx_equal_p): Likewise.
20867 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
20868 only four arguments.
20869 * gengenrtl.c (type_from_format): Provide correct types for
20873 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
20874 If a recent gcc is in use (always in stage2 and beyond), use
20875 statement expressions, so we don't make a function call unless
20876 the check fails. Evaluate arguments exactly once.
20877 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
20878 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
20880 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
20881 they evaluate their arguments exactly once, irrespective of
20882 the compiler in use.
20884 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
20885 is used by the currently-enabled check macros. This is:
20886 (tree_check_failed, tree_class_check_failed): For gcc.
20887 (tree_check, tree_class_check, cst_or_constructor_check,
20888 expr_check): For other compilers.
20890 * gencheck.c: Do not define any *_CHECK1 macros.
20892 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
20893 Mark Mitchell <mark@codesourcery.com>
20895 * c-common.c (c_get_alias_set): Fix support for poitners and
20898 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
20900 * alias.c: Include tree.h.
20901 (nonlocal_reference_p, mark_constant_function): New functions.
20902 * flow.c (life_analysis): Call mark_constant_function.
20903 * rtl.h (mark_constant_function): Declare it.
20905 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
20907 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
20908 unrecognisable switches.
20910 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20912 * loop.c (recombine_givs): Set ix field after sorting.
20913 (recombine_givs): Remove bogus index / giv lockstep looping.
20915 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20917 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
20919 (emit_store_flag_force): Use do_compare_rtx_and_jump.
20920 (do_cmp_and_jump): Formatting fixes.
20921 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
20922 do_compare_rtx_and_jump instead of compare_from_rtx.
20923 (do_compare_rtx_and_jump): New function; mostly copied from
20925 (do_jump_for_compare): Delete.
20926 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
20928 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
20929 of compare/do_jump_for_compare pairs.
20930 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
20931 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
20932 compare_from_rtx/do_jump_for_compare pairs.
20933 (do_jump_by_parts_equality): Likewise.
20934 (do_jump_by_parts_equality_rtx): Likewise.
20935 * expr.h (do_compare_rtx_and_jump): Declare.
20936 * optabs.c (prepare_cmp_insn): New function, contains most of the code
20937 that used to be in emit_cmp_insn.
20938 (cmp_available_p): New function.
20939 (prepare_operand): New function.
20940 (emit_cmp_and_jump_insn_1): New function, contains some code that used
20941 to be in emit_cmp_insn.
20942 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
20943 parameters to be pointers; don't emit final compare but modify some of
20944 the values pointed to by the args so the caller can perform the
20945 correct comparison.
20946 (expand_binop): Call emit_store_flag_force with signed forms of
20948 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
20949 emit_jump_insn pair.
20950 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
20951 emit_cmp_and_jump_insn_1. Call emit_queue.
20952 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
20954 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
20955 jump sets cc0 before deleting it.
20956 * integrate.c (expand_inline_function): Likewise.
20957 * unroll.c (unroll_loop): Similar changes in several places.
20958 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
20959 before deleting it.
20961 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20963 * Makefile.in (insn-recog.o): Update dependencies.
20964 * genrecog.c (main): Make generated file include "function.h".
20966 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
20968 * cse.c (cse_insn): Call never_reached_warning when a jump is
20969 changed to be unconditional.
20970 * flags.h: Declare warn_notreached.
20971 * flow.c (delete_block): Call never_reached_warning when
20972 a block is deleted.
20973 * jump.c (delete_barrier_successors): Call never_reached_warning
20974 when we delete everything after a BARRIER.
20975 (never_reached_warning): New function.
20976 * rtl.h: Declare never_reached_warning.
20977 * toplev.c (warn_notreached): New variable.
20978 (lang_independent_options): Set warn_notreached
20979 when -Wunreachable-code.
20980 (compile_file): We need line numbers for -Wunreachable-code.
20982 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
20984 * haifa-sched.c (insn_unit): Fix typo on out of range test.
20985 * sched.c (insn_unit): Likewise.
20987 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
20989 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
20991 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20993 * flow.c (create_edge_list): Use xmalloc, not malloc.
20995 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
20997 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
20998 C-style comments. Do not lose the character before double slash.
21000 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21002 * basic-block.h (struct edge_list): Stucture to maintain a vector
21004 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21005 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21006 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21007 New function prototypes.
21008 * flow.c (create_edge_list): Function to create an edge list.
21009 (free_edge_list): Discards memory used by an edge list.
21010 (print_edge_list): Debug output showing an edge list.
21011 (verify_edge_list): Internal consistency check for an edge list.
21012 (find_edge_index): Function to find an edge index for a pred and succ.
21014 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
21016 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21019 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
21021 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21023 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
21025 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21027 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
21029 * toplev.c (rest_of_compilation): Allow machine dependent
21030 reorganisation pass to place information into the RTL dump
21031 file if it so wishes.
21033 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
21035 * explow.c (hard_function_value): Use VOIDmode instead of
21037 * stmt.c (expand_return): Likewise.
21038 * stor-layout.c (get_best_mode): Likewise.
21040 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21041 emit call instead of emit_insn call.
21043 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
21045 * configure.in: Handle --disable/enable-win32-registry.
21046 * install.texi: Document --disable/enable-win32-registry.
21047 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21048 (WIN32_REGISTRY_KEY): New macro.
21049 * prefix.c: Use to enable/disable win32-specific code.
21050 (lookup_key): Use versioned key.
21051 * configure: Regenerate.
21052 * config.in: Likewise.
21054 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
21056 * cpplib.c (read_line_number): New fn, split out of...
21059 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
21061 tree.c (lang_unsave_expr_now) : New.
21062 (unsave_expr_now): Call lang_unsave_expr_now.
21063 tree.h (lang_unsave_expr_now) : New.
21065 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
21067 * toplev.c (flag_new_exceptions): On by default.
21069 1999-08-13 Michael Meissner <meissner@cygnus.com>
21071 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21073 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
21075 * dwarfout.c (fundamental_type_code): Return FT_boolean for
21076 INTEGER_TYPE with precision==1, it's __java_boolean.
21078 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21080 * global.c (prune_preferences): Move some invariants out of the
21083 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
21085 * configure.in (alpha*-dec-osf*): Add osf5.
21087 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
21089 * configure.in: Rework handling of ARM GNU/Linux slightly.
21090 (arm*-*-linux-gnuoldld): New target.
21091 * configure: Regenerate.
21092 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21093 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
21094 * config/arm/linux-oldld.h: New file.
21095 * config/arm/linux-elf26.h: Don't include linux-elf.h.
21096 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21098 * config/arm/linux-elf.h (ASM_SPEC): Define.
21099 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21100 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21101 for 26-bit APCS and old linker.
21102 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21104 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21105 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21106 don't define `arm' or `arm_elf'.
21107 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21108 MULTILIB_DIRNAMES): Define. Fix typo in comment.
21110 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
21112 * rtl.texi: Fix typo.
21114 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
21116 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21118 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
21120 * extend.texi (C++ Signatures): Remove node.
21121 * invoke.texi: Remove discussion of -fhandle-signatures,
21122 signature, sigof, __signature__, and __sigof__.
21124 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
21126 * Makefile.in (JAVAGC): Removed.
21128 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
21130 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21132 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21134 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21136 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
21138 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21139 a register that is already known to be a pointer.
21141 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
21143 * fixinc/inclhack.tpl: Only install assert.h conditionally.
21144 * fixinc/inclhack.sh: Regenerated.
21145 * fixinc/fixincl.sh: Regenerated.
21147 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
21149 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21150 Fix documentation of -ansi flag to describe its C++ behavior.
21151 Remove bogus reference to GCC 2.9.
21153 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
21155 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21156 note if it is non-NULL.
21158 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21160 * except.h (eh_nesting_info): Add new structure defintion.
21161 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21162 (reachable_handlers, update_rethrow_references): Add function
21164 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
21165 a rethrow symbol instead of an integer exception region number.
21166 * flow.c (Make_edges): Use new exception nesting routines to determine
21167 which handlers are reachable from a CALL or asynchronous insn.
21168 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21170 (delete_eh_regions): Update rethrow labels, and don't delete
21171 regions which are the target of a rethrow.
21172 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21173 avoid overloading the SYMBOL_REF_USED flag.
21174 (rethrow_symbol_map): Use new rethrow_ref field.
21175 (rethrow_used): Use new rethrow_ref field.
21176 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21177 of an integer. Fix formatting.
21178 (output_exception_table_entry): Use new rethrow_ref field.
21179 (can_throw): Check for EH_REGION_NOTE before deciding
21180 whether a CALL can throw or not.
21181 (scan_region): Call rethrow_used() instead of accessing data structure.
21182 (update_rethrow_references): New function to make sure only regions
21183 which are still targets of a rethrow are flagged as such.
21184 (process_nestinfo): New static function to initialize a handler
21185 list for a specific region.
21186 (init_eh_nesting_info): New function to allocate and initialize
21187 the list of all EH handlers reachable from all regions.
21188 (reachable_handlers): New function to retrieve the list of handlers
21189 reachable from a specific region and insn.
21190 (free_eh_nesting_info): New function to dispose of a list of
21191 reachable handlers.
21193 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21195 * flow.c (split_edge): Set JUMP_LABEL field.
21196 (commit_one_edge_insertion): Set head correctly for insert_before.
21197 When inserting insns, update insn block numbers if allocated.
21199 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21201 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21202 retry_incomplete_types): Add static prototype.
21203 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21204 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21205 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21206 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21207 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21210 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21211 dwarf2out_start_source_file, dwarf2out_line): Likewise.
21213 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21215 * output.h (assemble_name): Constify a char*.
21217 * varasm.c (UNIQUE_SECTION, assemble_start_function,
21218 assemble_variable, assemble_name): Likewise.
21220 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21222 * arm/pe.c (arm_pe_unique_section): Likewise.
21224 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21226 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21228 * i386/interix.c (i386_pe_unique_section): Likewise.
21230 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21232 * i386/winnt.c (i386_pe_unique_section): Likewise.
21234 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21236 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21238 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21240 * pa/pa.c (output_call): Likewise.
21242 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21244 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21246 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21249 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21252 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21254 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21255 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21257 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21259 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21261 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21263 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21265 * tree.h (lang_identify): Constify a char*.
21266 (print_error_function): Add extern prototype. Constify a char*.
21268 * c-lang.c (lang_identify): Constify a char*.
21270 * objc/objc-act.c (lang_identify): Constify a char*.
21272 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21274 * genpeep.c (main): Make generated file include "function.h".
21275 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21277 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21279 * Makefile.in: Update dependencies.
21280 * alias.c: Include "function.h"
21281 * c-decl.c: Likewise.
21282 * caller-save.c: Likewise.
21283 * calls.c: Likewise.
21284 * combine.c: Likewise.
21286 * explow.c: Likewise.
21287 * final.c: Likewise.
21288 * global.c: Likewise.
21289 * graph.c: Likewise.
21290 * local-alloc.c: Likewise.
21291 * loop.c: Likewise.
21292 * optabs.c: Likewise.
21293 * profile.c: Likewise.
21294 * recog.c: Likewise.
21295 * regclass.c: Likewise.
21296 * regmove.c: Likewise.
21297 * reload.c: Likewise.
21298 * reorg.c: Likewise.
21299 * resource.c: Likewise.
21300 * sched.c: Likewise.
21301 * stupid.c: Likewise.
21302 * config/1750a/1750a.c: Likewise.
21303 * config/a29k/a29k.c: Likewise.
21304 * config/arc/arc.c: Likewise.
21305 * config/arm/arm.c: Likewise.
21306 * config/arm/thumb.c: Likewise.
21307 * config/c4x/c4x.c: Likewise.
21308 * config/clipper/clipper.c: Likewise.
21309 * config/convex/convex.c: Likewise.
21310 * config/fx80/fx80.c: Likewise.
21311 * config/i860/i860.c: Likewise.
21312 * config/m68k/m68k.c: Likewise.
21313 * config/m88k/m88k.c: Likewise.
21314 * config/mips/mips.c: Likewise.
21315 * config/pdp11/pdp11.c: Likewise.
21316 * config/pyr/pyr.c: Likewise.
21317 * config/romp/romp.c: Likewise.
21318 * config/sh/sh.c: Likewise.
21319 * config/tahoe/tahoe.c: Likewise.
21320 * config/vax/vax.c: Likewise.
21321 * config/we32k/we32k.c: Likewise.
21322 * config/sparc/sparc.c: Include "function.h".
21323 (mem_min_alignment): Test current_function rather than
21324 regno_pointer_align.
21325 * config/pa/pa.c: Likewise.
21326 (compute_frame_size): Delete declaration of
21327 current_function_outgoing_args_size.
21328 * config/arc/arc.h (current_function_varargs): Delete declaration.
21329 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21331 * config/i370/i370.h (current_function_outgoing_args_size): Delete
21333 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21334 current_function_uses_pic_offset_table.
21335 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21336 of current_function_returns_pointer.
21337 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21338 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21339 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21340 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21341 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21342 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21343 * config/m88k/m88k.c: Include "function.h"
21344 (call_used_regs, current_function_pretend_args_size,
21345 current_function_outgoing_args_size, frame_pointer_needed): Delete
21347 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21349 * config/mips/mips.h (current_function_calls_alloca): Delete
21351 * config/mn10200/mn10200.h (current_function_needs_context,
21352 rtx_equal_function_value_matters): Delete declarations.
21353 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21354 flag_pic): Delete declarations.
21355 * config/pa/pa.h (current_function_pretend_args_size,
21356 current_function_decl): Delete declarations.
21357 * config/pa/som.h (current_function_varargs): Delete declaration.
21358 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21360 * config/pyr/pyr.h (current_function_pretend_args_size,
21361 current_function_args_size, current_function_calls_alloca): Delete
21363 * config/sh/sh.h (current_function_varargs): Delete declaration.
21364 * config/sparc/sparc.h (current_function_outgoing_args_size,
21365 current_function_calls_alloca, current_function_decl): Delete
21367 * config/spur/spur.h (current_function_pretend_args_size,
21368 current_function_calls_alloca): Delete declarations.
21369 * config/v850/v850.c (current_function_outgoing_args_size): Delete
21371 * config/vax/vms.h (current_function_name): Delete declaration.
21372 * gcse.c: Include "function.h".
21373 (current_function_name, current_function_calls_setjmp): Delete
21375 * haifa-sched.c: Include "function.h".
21376 (forced_labels): Delete declaration.
21377 * jump.c: Likewise.
21378 * reg-stack.c: Likewise.
21379 * reload1.c: Likewise.
21380 * genemit.c (main): Make generated file include function.h.
21381 * genoutput.c (output_prologue): Likewise.
21383 * builtins.c (saveregs_value, apply_args_value): Delete variables.
21384 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21385 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21386 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21387 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
21388 macros for some of them.
21389 (emit_filename, emit_lineno): Delete declarations.
21390 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
21391 regno_pointer_* variables through current_function.
21392 (gen_inline_header_rtx): Delete function.
21393 (save_emit_status): Delete function.
21394 (set_new_last_label_num): New function.
21395 (clear_emit_caches): New function.
21396 (restore_emit_status): Just clear last_labelnum and call
21398 (get_last_insn_anywhere): Variable sequence_stack is now accessed
21399 through macro seq_stack.
21400 (add_insn_after): Likewise.
21401 (add_insn_before): Likewise.
21402 (remove_insn): Likewise.
21403 (pop_topmost_sequence): Likewise.
21404 (in_sequence_p): Likewise.
21405 (start_sequence_for_rtl_expr): Likewise.
21406 (start_sequence): Likewise, and likewise for
21407 sequence_rtl_expr/seq_rtl_expr.
21408 (push_topmost_sequence): Likewise.
21409 (end_sequence): Likewise.
21410 (init_virtual_regs): Now takes a "struct emit_status *" argument.
21411 All callers changed. Store into that pointer instead of globals.
21412 (init_emit): Allocate emit elt of current_function.
21413 Changes for sequence_rtl_expr/sequence_stack renaming.
21414 Call clear_emit_caches instead of doing it in-line.
21415 Access regno_pointer_* variables through current_function.
21416 (init_emit_once) Don't clear sequence_stack.
21418 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21420 (arg_pointer_save_area): Delete declaration.
21421 (finish_expr_for_function): Renamed from init_queue; no longer static.
21422 (init_expr): Don't call init_queue.
21423 (save_expr_status, restore_expr_status): Delete functions.
21424 (expand_expr): Changes to reflect new layout of struct function.
21425 Don't access current_function_check_memory_usage when current_function
21427 * expr.h (forced_labels, save_expr_regs, saveregs_value,
21428 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21429 current_function_outgoing_args_size, current_function_arg_offset_rtx,
21430 current_function_uses_const_pool, function_call_count,
21431 current_function_uses_pic_offset_table, nonlocal_labels,
21432 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21433 current_function_check_memory_usage, nonlocal_goto_handler_slots,
21434 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21436 (finish_expr_for_function): Declare.
21437 * flags.h (current_function_has_nonlocal_label,
21438 current_function_has_nonlocal_goto, current_function_is_thunk,
21439 current_function_has_computed_jump): Delete declarations.
21440 * flow.c (forced_labels): Delete declaration.
21441 * function.c (current_function_pops_args,
21442 current_function_returns_struct, current_function_returns_pcc_struct,
21443 current_function_needs_context, current_function_calls_setjmp,
21444 current_function_calls_longjmp, current_function_has_nonlocal_label,
21445 current_function_has_nonlocal_goto, current_function_is_thunk,
21446 current_function_has_computed_jump, current_function_calls_alloca,
21447 current_function_contains_functions, current_function_returns_pointer,
21448 current_function_epilogue_delay_list, current_function_args_size,
21449 current_function_pretend_args_size, current_function_arg_offset_rtx,
21450 current_function_outgoing_args_size, current_function_varargs,
21451 current_function_stdarg, current_function_args_info, cleanup_label,
21452 current_function_name, current_function_uses_const_pool,
21453 current_function_instrument_entry_exit, current_function_return_rtx,
21454 current_function_uses_pic_offset_table, nonlocal_labels,
21455 current_function_internal_arg_pointer, current_function_cannot_inline,
21456 current_function_check_memory_usage, function_call_count,
21457 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21458 nonlocal_goto_stack_level, return_label, save_expr_regs,
21459 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21460 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21461 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21462 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21463 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21465 (push_function_context_to): Don't save them. Don't call
21466 save_storage_status, save_emit_status or save_expr_status.
21467 (pop_function_context_from): Don't restore them. Don't call
21468 restore_storage_status or restore_expr_status.
21469 (get_func_frame_size): New function.
21470 (get_frame_size): Use it.
21471 (assign_outer_stack_local): Reflect some member name changes in struct
21473 (put_reg_into_stack): Likewise.
21474 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21476 (fixup_var_refs): Likewise.
21477 (fix_lexical_addr): Likewise.
21478 (trampoline_address): Likewise.
21479 (prepare_function_start): Clear field inlinable of current_function.
21480 (init_function_for_compilation): New function.
21481 (expand_dummy_function_end): New function.
21482 (expand_function_end): Call finish_expr_for_function.
21483 * function.h (struct emit_status): New; fields moved here from struct
21484 function and from global variables. Add accessor macros for some of
21486 (struct expr_status): Likewise.
21487 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21488 (struct function): Add fields expr and emit, inlinable, inl_emit,
21489 original_arg_vector, original_decl_initial, inl_last_parm_insn,
21490 inl_max_label_num. Add many comments.
21491 Add accessor macros for all elts of struct function that no longer
21492 have a global variable.
21493 (cleanup_label, return_label, frame_offset, tail_recursion_label,
21494 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21495 stack_slot_list): Delete declarations.
21496 (get_func_frame_size): Declare.
21497 (save_expr_status, restore_expr_status, save_emit_status,
21498 save_storage_status, restore_storage_status): Delete declarations.
21499 (init_virtual_regs): Declare.
21500 * output.h (current_function_pops_args,
21501 current_function_returns_struct, current_function_returns_pcc_struct,
21502 current_function_needs_context, current_function_calls_setjmp,
21503 current_function_calls_longjmp, current_function_calls_alloca,
21504 current_function_has_nonlocal_label, current_function_varargs,
21505 current_function_has_computed_jump, current_function_returns_pointer,
21506 current_function_contains_functions, current_function_args_size,
21507 current_function_pretend_args_size, current_function_stdarg,
21508 current_function_outgoing_args_size, current_function_args_info,
21509 current_function_name, current_function_return_rtx,
21510 current_function_epilogue_delay_list,
21511 current_function_uses_const_pool, current_function_cannot_inline):
21512 Delete declarations.
21513 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21514 regno_reg_rtx): Delete declaration.
21515 (REGNO_POINTER_FLAG): Delete macro.
21516 * stmt.c (expand_goto): Changes to reflect that some fields in struct
21517 function were renamed.
21518 * stor-layout.c (save_storage_status, restore_storage_status): Delete
21520 * toplev.c: Include "function.h".
21521 (current_function_decl): Delete declaration.
21522 (compile_file): Call init_dummy_function_start and
21523 expand_dummy_function_end around some initializations that need to
21525 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21526 Call init_function_for_compilation.
21527 * unroll.c: Include "function.h"
21528 (unroll_loop): Access regno_pointer_* variables through
21531 * tree.h (struct tree_decl): Add elt f to saved_insns member.
21532 (DECL_SAVED_INSNS): use it.
21533 (expand_dummy_function_end): Declare.
21534 (init_function_for_compilation): Declare.
21535 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21536 that it's no longer an INLINE_HEADER.
21537 (expand_call): Likewise.
21538 * integrate.c (finish_inline): Delete function.
21539 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21540 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21541 args. Don't generate an INLINE_HEADER rtx, just return the arg
21542 vector. All callers changed.
21543 (save_for_inline_copying): Create a duplicate struct emit_status to
21544 hold the emit state for compiling the current function. Use this and
21545 the other new fields in struct function that are for integration
21546 instead of an INLINE_HEADER.
21547 Use memcpy instead of bcopy.
21548 Store the current struct function in DECL_SAVED_INSNS of fndecl.
21549 (save_for_inline_nocopy): Similar changes, except no new emit_status
21551 (expand_inline_function): Get information from function structure,
21552 not from an inline header rtx.
21553 (output_inline_function): Lose code to extract the necessary
21554 information from an inline header; simply put back the function
21555 structure into current_function. Clear its inlinable elt.
21556 * rtl.def (INLINE_HEADER): Delete.
21557 * rtl.h: Delete all accessors for an INLINE_HEADER.
21558 (gen_inline_header_rtx): Delete declaration.
21559 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21560 Delete declarations.
21561 (REGNO_POINTER_ALIGN): Delete.
21562 (clear_emit_caches): Declare.
21563 (set_new_last_label_num): Declare.
21565 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
21567 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21569 * except.c (expand_eh_region_start_for_decl): Always start a new block.
21570 * stmt.c (is_eh_region): Make sure current_function is present, too.
21572 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
21574 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21575 for 64bit PA targets.
21577 * pa.h (SELECT_SECTION): Define.
21578 * som.h (SELECT_SECTION): Delete.
21580 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21582 * alias.c (init_alias_analysis): Wrap call to
21583 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21585 1999-08-07 Bruce Korb <autogen@linuxbox.com>
21587 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
21588 <sys/asm.h> contains an asm comment with an apostrophe
21589 * fixinc/inclhack.sh: regen
21590 * fixinc/fixincl.x: regen
21592 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
21594 * function.c (init_function_start): Clear prologue & epilogue.
21595 (prologue_epilogue_contains): New function.
21596 * alias.c (init_alias_analysis): Use it.
21597 * rtl.h (prologue_epilogue_contains): Declare it.
21599 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
21601 * jump.c (onlyjump_p): New function.
21602 * rtl.h: Declare it.
21603 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21604 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21606 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
21608 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21609 to invert loops. Simplify block scanning.
21611 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21613 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21614 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21616 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
21618 * config/sparc/liteelf.h: New file to support sparclite-elf target
21619 * config/sparc/t-sp86x: New file to support sparc86x targets
21620 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21621 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21622 * configure.in: Support above target triplets
21623 * configure: Regenerated
21625 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
21627 * fixinc/server.c (server_setup): Do not prefix function used as
21628 parameter with `&'.
21630 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
21632 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21633 Remove fp reg alternatives.
21635 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
21637 * Makefiin (TAROUTOPTS): Kill.
21638 (install-headers-tar): Use "xpf" for tar headerfile extraction
21639 * i370/x-oe (TAROUTOPTS): Delete.
21640 * m68k/x-apollo68 (TAROUTOPTS): Delete.
21641 * m68k/x-hp320 (TAROUTOPTS): Delete.
21642 * m68k/x-hp320g (TAROUTOPTS): Delete.
21643 * gcc.texi: Update bug reporting text.
21645 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21647 * reg-stack.c (change_stack) Fixed problem with negative array index.
21649 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
21651 * extend.texi, install.texi: Fix spelling mistakes.
21653 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21654 (s-attrtab); No longer try to use pre-made insn-attrtab file.
21655 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21656 PREMADE_ATTRTAB_MD.
21657 * mips/t-ecoff: Likewise.
21658 * mips/t-elf: Likewise.
21659 * mips/t-mips: Likewise.
21660 * mips/t-osfrose: Likewise.
21661 * mips/t-r3900: Likewise.
21662 * mips/t-svr3: Likewise.
21663 * mips/t-svr4: Likewise.
21664 * mips/t-ultrix: Likewise.
21666 * gcc.texi: Document recommend means to provide software floating
21667 point libraries in libgcc.a
21669 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
21671 * c-lex.c (yylex): We can have a number with no digits.
21673 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
21675 * jump.c (delete_prior_computation): New function, broken
21676 out of delete_computation. Check for side effects with
21677 side_effects_p instead of FIND_REG_INC_NOTE. Handle
21678 multi-word hard registers.
21679 (delete_computation): Use it. Check for side effects with
21680 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
21681 missing REG_DEAD note for a register which is both set and
21684 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
21686 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21687 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21688 (ASM_FILE_START): Import _mcount with the right type.
21689 (ASM_DECLARE_FUNCTION_NAME): Define.
21690 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21691 * pa.c (output_function_prologue): Always emit the function's label
21693 * pa.h (TEXT_SPACE_P): Define.
21694 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21695 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21696 * som.h (TEXT_SPACE_P): Delete.
21697 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21698 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21700 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
21702 * expr.c (emit_group_load): Allow src to be a CONCAT.
21704 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21706 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21707 (___mulsi3): Use '!' comment character.
21709 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21711 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21713 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
21715 * gcc.c: Update URLs and mail addresses.
21716 * gcc.texi: Likewise.
21718 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
21720 * rs6000.c (current_file_function_operand): Return zero for
21722 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21724 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21727 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
21729 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21730 allocate space in the stack frame for the PIC register.
21732 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
21734 * m68k.md (xordi3, anddi3): These patterns are not available on
21737 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
21739 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21740 (PUT_REAL): Likewise.
21742 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21744 * final.c (shorten_branches): Don't add an alignment for loops
21745 that have no label inside.
21747 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21749 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21750 prototypes in macro HAVE_cmpstrsi.
21752 * cpplib.c (cpp_get_token): Remove unused label `op3'.
21754 * emit-rtl.c (operand_subword): Remove unused variable
21757 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21759 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21761 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
21763 * cpphash.c (macroexpand): Delete leading whitespace when arg
21764 is concatenated before.
21765 (unsafe_chars): Correct test for whether + and - can extend a
21768 * cppinit.c (cpp_start_read): Do dependencies for
21769 -include/-imacros files also.
21771 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21772 tokenizing non-directive lines.
21773 (cpp_expand_to_buffer): Temporarily disable no-output mode.
21774 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21777 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21779 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21781 * c-lex.c: Sync with C++ frontend.
21782 (linemode): New variable.
21783 (parse_float): imag, conversion_errno, and type are output only.
21784 (yylex): Adjust. Move initial '.' case into main switch.
21786 (handle_generic_pragma): Just deal with tokens.
21787 (readescape): Use ISXDIGIT and ISGRAPH.
21788 * c-parse.in: Add END_OF_LINE token.
21790 * c-lex.c (lang_init): Generalize.
21791 (nextchar): Remove. Replace uses with UNGETC.
21792 (skip_white_space): Handle linemode here. Optimize for cpplib.
21793 (skip_white_space_on_line): Remove.
21794 (extend_token_buffer_to): New fn.
21795 (extend_token_buffer): Use it.
21796 (read_line_number, check_newline): Just deal with tokens.
21797 (token_getch, token_put_back): New fns.
21798 (yylex): Use them. More cpplib optimizations. Simplify.
21800 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
21801 Jason Merrill <jason@yorick.cygnus.com>
21803 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21804 (consume_string): Make this smart about USE_CPPLIB.
21805 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21806 (yylex): Rewrite to be intelligent about USE_CPPLIB.
21807 Also, clean up cases where we redundantly set token_buffer[0].
21808 (read_line_number): New fn.
21809 (ignore_escape_flag): New variable.
21811 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
21813 * a29k/t-a29kbare: Fix some comments.
21814 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
21815 (FPBIT, DPBIT): Define.
21816 * a29k/t-vx29k: Likewise.
21817 * arc/t-arc: Likewise.
21818 * arm/t-arm-elf: Likewise.
21819 * arm/t-bare: Likewise.
21820 * arm/t-pe: Likewise.
21821 * arm/t-pe-thumb: Likewise.
21822 * arm/t-semi: Likewise.
21823 * arm/t-thumb: Likewise.
21824 * arm/t-thumb-elf: Likewise.
21825 * arm/t-thumb-linux: Likewise.
21826 * h8300/t-h8300: Likewise.
21827 * i960/t-i960: Likewise.
21828 * i960/t-vxworks960: Likewise.
21829 * m32r/t-m32r: Likewise.
21830 * mips/t-ecoff: Likewise.
21831 * mips/t-elf: Likewise.
21832 * mips/t-r3900: Likewise.
21833 * pa/t-pro: Likewise.
21834 * rs6000/t-aix43: Likewise.
21835 * rs6000/t-beos: Likewise.
21836 * rs6000/t-newas: Likewise.
21837 * rs6000/t-ppccomm: Likewise.
21838 * rs6000/t-rs6000: Likewise.
21839 * rs6000/t-winnt: Likewise.
21840 * rs6000/t-xnewas: Likewise.
21841 * rs6000/t-xrs6000: Likewise.
21842 * sh/t-sh: Likewise.
21843 * sparc/t-elf: Likewise.
21844 * sparc/t-sparcbare: Likewise.
21845 * sparc/t-sparclite: Likewise.
21846 * sparc/t-splet: Likewise.
21847 * v850/t-v850: Likewise.
21848 * mn10200/t-mn10200: Fix comments.
21849 * mn10300/t-mn10300: Likewise.
21851 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
21852 dummy operand. Allocate a new pseudo for the dummy operand.
21853 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
21855 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
21857 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
21859 * configure: Rebuilt.
21860 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
21862 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
21864 * recog.c (preproces_constraints): Zero recog_op_alt before
21865 processing the constraints.
21867 * arm.c (typedef minipool_node): Renamed from pool_node.
21868 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
21869 (add_minipool_constant): New function.
21870 (dump_minipool): New function.
21871 (find_barrier): Remove special case for getting the insn size of
21872 an insn that references the constant pool.
21873 (minipool_fixup): New structure.
21874 (push_minipool_barrier): New function.
21875 (push_minipool_fix): New function.
21876 (note_invalid_constants): New function.
21877 (add_pool_constant, dump_table, fixit, broken_move): Delete.
21878 (arm_reorg): Rewrite code to fix up the constant pool into a
21879 series of mini-pools embedded in the insn stream.
21880 (arm_output_epilogue): New function, made mainly from the body
21881 of output_func_epilogue.
21882 (output_func_epilogue): Move insn generation part of epilogue code
21883 to arm_output_epilogue.
21884 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
21885 * arm.md (pool_range): New attribute.
21886 (zero_extendqidi2): Add attribute pool_range.
21887 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
21888 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
21889 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
21890 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
21891 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
21892 (epilogue): New expand.
21893 (epilogue_insn): New insn. Call arm_output_epilogue.
21895 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
21896 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
21898 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21900 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21902 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
21904 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
21906 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
21908 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
21910 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
21912 * global.c: Fix comment.
21914 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
21916 * gcc.c (access_check): New static function.
21917 (find_a_file): Use it when searching a directory list.
21918 * collect2.c (find_a_file): Don't accept directories found when
21919 searching a directory list.
21921 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
21923 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
21924 function parameters with `&'.
21925 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
21927 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
21929 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
21930 or tidy_fallthru_edge if the last insn in the block is not
21931 an unconditional jump or a simple conditional jump.
21933 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21935 * Makefile.in (c-decl.o): Depends on defaults.h.
21937 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
21939 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
21941 (CLASS_MAX_NREGS): Likewise.
21943 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
21945 * cse.c (cse_insn): Fix dumb thinko in last change.
21947 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21949 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
21952 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
21954 * dwarf2out.c (add_location_or_const_value_attribute): Correct
21955 test for sizes of passed and declared parameter types.
21957 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21959 * fixincludes: Fix the return type of bsearch, char* -> void*.
21961 * fixinc/inclhack.def: Likewise.
21963 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
21965 * invoke.texi (-fdump-translation-unit): New option.
21967 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
21969 * expr.h (PROMOTE_PROTOTYPES): Move ...
21970 * defaults.h: ... to here.
21971 * c-decl.c: Include defaults.h instead of expr.h.
21972 * c-typeck.c: Include defaults.h.
21974 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
21976 * toplev.h (errorcount): Declare.
21977 (warningcount): Likewise.
21978 (sorrycount): Likewise.
21979 * c-lex.c (errorcount): Don't declare.
21980 * dwarf2out.c (errorcount): Don't declare.
21982 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
21984 * config/libgloss.h: Add a note discouraging use with ELF.
21985 * configure.in: Don't use libgloss.h for ELF targets.
21986 Always use_collect2 on a.out targets.
21988 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
21990 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
21991 (force_to_mode, case ASHIFTRT): Add shiftrt label.
21993 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21995 * loop.c (strength_reduce): When doing biv->giv conversion, update
21996 reg note of NEXT->insn.
21998 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22000 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
22002 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22004 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22005 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22006 Ensure expr.h is included.
22007 * c-typecheck.c (convert_arguments): Ditto.
22009 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22011 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22012 * config/convex/convex.h: Ditto.
22013 * config/dsp16xx/dsp16xx.h: Ditto.
22014 * config/fx80/fx80.h: Ditto.
22015 * config/gmicro/gmicro.h: Ditto.
22016 * config/i370/i370.h: Ditto.
22017 * config/i386/i386.h: Ditto.
22018 * config/m32r/m32r.h: Ditto.
22019 * config/m68k/m68k.h: Ditto.
22020 * config/m88k/m88k.h: Ditto.
22021 * config/mips/mips.h: Ditto.
22022 * config/pa/pa.h: Ditto.
22023 * config/pyr/pyr.h: Ditto.
22024 * config/tahoe/tahoe.h: Ditto.
22025 * config/we32k/we32k.h: Ditto.
22027 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22028 based on arch size.
22030 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22032 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22035 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22037 1999-08-02 Richard Henderson <rth@cygnus.com>
22039 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22040 for the register spill block.
22041 (m32r_va_arg): New.
22042 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22043 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22045 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22046 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22047 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22049 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22051 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22052 MAX_WCHAR_TYPE defined in sparc.h.
22053 * config/sparc/linuxaout.h: Likewise.
22054 * config/sparc/linux64.h: Likewise.
22055 Also default to -mvis if CPU is UltraSPARC.
22057 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22059 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22060 (RTX_OK_FOR_OLO10): Likewise.
22061 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22062 %lo(), allow it in addresses...
22063 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22064 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22065 does not make sense.
22066 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22067 (sparc_output_scratch_registers): New function.
22068 (output_function_prologue, sparc_flat_output_function_prologue): Use
22070 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22072 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22073 * configure.in: Add check for .register pseudo-op support in as and
22074 check for offsetable %lo().
22075 * acconfig.h: Add templates for the above checks.
22076 * configure: Regenerate.
22078 1999-08-02 Richard Henderson <rth@cygnus.com>
22080 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22081 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22082 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22084 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22086 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22089 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22091 * config/float-sparc.h: New file.
22092 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22093 sparc-*-linux-gnu and sparc64-*-linux*.
22095 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22097 * rs6000.c (rs6000_va_list): Type is an array.
22098 (rs6000_va_start): Don't doubly adjust for varargs.
22099 (rs6000_va_arg): Evaluate long long GPR adjustment.
22101 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
22103 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22104 -maix64 and -maix32.
22105 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22106 LINK_SPEC): Change appropriately.
22107 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22108 (u_short_cint_operand): Likewise.
22109 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22111 * rs6000/t-aix43 (MULTILIB): Change to -m64.
22113 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22115 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
22117 * rs6000/rs6000.c (num_insns_constant_wide): Correct
22118 for type promotion.
22119 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22120 (non_add_cint_operand): Likewise.
22121 (logical_operand): Likewise.
22122 (non_logical_cint_operand): Likewise.
22123 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22124 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22125 (rs6000_select_rtx_section): Suppress warning.
22126 (small_data_operand): Suppress warning.
22127 (rs6000_got_register): Suppress warning.
22128 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22129 type, so `J' is generally the wrong constraint for a SImode value;
22131 (andsi3_internal2): Likewise.
22132 (andsi3_internal3): Likewise.
22133 (iorsi3_internal1): Likewise.
22134 (xorsi3_internal1): Likewise.
22136 (movsf_softfloat): Likewise.
22137 (scc insns): Likewise.
22138 (movsi+2): Preserve sign bits of SImode constant.
22139 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22140 (movdf+1): Sign-extend properly.
22141 (movdi_32+1): Sign-extend properly.
22142 (scc insns): Sign-extend properly.
22144 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22147 1999-08-02 Richard Henderson <rth@cygnus.com>
22149 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22150 -mcpu parsing code.
22151 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22152 * alpha.md (all fp insns): Likewise.
22154 1999-08-02 Nick Clifton <nickc@cygnus.com>
22156 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22159 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
22161 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
22162 pic_load_label generator directly.
22163 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
22164 No longer a named pattern.
22166 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
22168 * explow.c (force_reg): Call force_operand if X does not
22169 satisfy general_operand.
22171 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
22173 * fix-header.c (main): When testing for CONTINUED, use string
22174 equality, not pointer equality.
22176 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
22178 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22180 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
22182 * cse.c (cse_insn): Fix loop which deletes insns after a jump
22183 that has become an unconditional jump.
22185 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22186 (output_function_epilogue): Similarly.
22188 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22190 * tree.h (init_dummy_function_start): Declare.
22192 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22194 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22195 last_expr_type, last_expr_value, block_start_count, block_stack,
22196 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22197 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22198 dynamically in stmt elt of struct function for each function.
22199 (struct nesting): Rename function_call_count elt to n_function_calls,
22200 target_temp_slot_level to block_target_temp_slot_level. All users
22202 (struct stmt_status): New structure definition.
22203 Add many accessor macros for stmt_status elements which previously
22204 were global variables.
22205 (init_stmt_for_function): Allocate stmt elt for current_function.
22206 Reflect that block_start_count was renamed to
22207 current_block_start_count.
22208 (save_stmt_status, restore_stmt_status): Delete functions.
22209 (preserve_subexpressions_p): Don't access loop_stack when outside
22211 (expand_start_bindings): Reflect that block_start_count was renamed to
22212 current_block_start_count.
22213 (expand_fixup): Likewise.
22214 (expand_decl): Don't access block_stack when outside a function.
22215 (expand_decl_cleanup): Likewise.
22216 (expand_dcc_cleanup): Likewise.
22217 (expand_dhc_cleanup): Likewise.
22218 (expand_anon_union_decl): Likewise.
22219 (set_file_and_line_for_stmt): New function.
22220 (in_control_zone_p): New function.
22222 * function.h (struct function): Add new elt stmt.
22223 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22224 case_stack, nesting_stack, nesting_depth, block_start_count,
22225 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22226 emit_lineno, goto_fixup_chain.
22227 (save_eh_status, restore_eh_status, save_stmt_status,
22228 restore_stmt_status): Delete declarations.
22229 * function.c (push_function_context_to): Don't call save_stmt_status.
22230 (pop_function_context_to): Don't call restore_stmt_status.
22231 * tree.h (in_control_zone_p): Declare.
22232 * rtl.h (set_file_and_line_for_stmt): Declare.
22234 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22235 call set_file_and_line_for_stmt.
22237 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
22239 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22240 Also update copyright.
22242 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22244 * c-pragma.c: Don't include "except.h".
22245 * emit-rtl.c: Likewise.
22246 * stor-layout.c: Likewise.
22247 * tree.c: Likewise.
22248 * varasm.c: Likewise.
22250 * flow.c: Include "function.h".
22251 * tree.h (init_dummy_function_start): Declare new function.
22253 * except.h (struct eh_status): New structure.
22254 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22256 (eh_return_stub_label, ehstack, catchstack, ehqueue,
22257 catch_clauses, false_label_stack, caught_return_label_stack,
22258 protect_list, current_function_ehc): Add accessor macros for the
22259 corresponding fields in current_function->eh; delete declarations
22260 for all items that used to be declared here.
22261 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22262 catch_clauses, false_label_stack, caught_return_label_stack,
22263 protect_list, current_function_ehc): Delete variables.
22264 (init_eh_for_function): Allocate current_function->eh.
22265 (save_eh_status, restore_eh_status): Delete functions.
22267 * function.h (struct function): Add fields next_global and eh.
22268 Delete all exception handling related fields.
22269 * function.c (current_function): New variable.
22270 (all_functions): New variable.
22271 (push_function_context_to): Don't allocate a struct function,
22272 use current_function instead. Call init_dummy_function_start when
22273 outside a function. Clear current_function before returning.
22274 (pop_function_context_from): Restore current_function.
22275 Don't free the restored struct function.
22276 (prepare_function_start): New function.
22277 (init_dummy_function_start): New function.
22278 (init_function_start): Break out some code into prepare_function_start
22281 * stmt.c (save_stmt_status): Don't call save_eh_status.
22282 (restore_stmt_status): Don't call restore_eh_status.
22284 * Makefile.in: Update dependencies.
22286 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
22288 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22289 of depending on a magic constant value. Update comments.
22290 (hppa_expand_prologue): Similarly.
22292 * pa.md (reload_indi, reload_outdi): Allow any register for the
22293 original reload register.
22295 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
22297 * cccp.c (print_help): Change marcos to macros.
22299 1999-07-30 Richard Henderson <rth@cygnus.com>
22301 * c-typeck.c (initializer_constant_valid_p): Move ...
22302 * c-common.c (initializer_constant_valid_p): ... here. Use
22303 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
22304 of label addresses.
22305 * c-common.h (initializer_constant_valid_p): Declare.
22306 * c-tree.h (initializer_constant_valid_p): Remove.
22308 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
22310 * config/i386/sol2-c1.asm: Align the stack.
22311 * config/i386/sol2-gc1.asm: Likewise.
22313 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
22315 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22316 -Asparclite for sparc86x.
22317 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22319 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22321 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
22323 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22324 the user if using the non-default arch size in BI_ARCH configuration.
22325 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22327 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22328 Fix patterns so that they actually match.
22329 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22330 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22331 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22333 (mulsidi3): Reflect this in the expand.
22334 (smulsi3_highpart): Only on TARGET_ARCH32.
22335 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22336 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22337 (umulsidi3): Reflect this in the expand.
22338 (umulsi3_highpart): Only on TARGET_ARCH32.
22339 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22340 don't require g0 to be zero.
22341 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22342 ({,u}divsi3): New expands.
22343 ({,u}divsi3_sp64): New patterns.
22344 (after lshrdi3_v8plus): Four new patterns to help combiner
22345 optimizing nested mixed mode shifts.
22347 * config/sparc/sparc.c (sparc_override_options): Use deprecated
22348 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22349 speed things up. Don't use them by default on plain v9 in 64bit
22350 mode, according to what SPAMv9 sais.
22352 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22353 top 32 bits of %[og][0-7] in signal handlers.
22354 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22356 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
22358 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22359 (ashlsi3): Corresponding changes.
22361 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22363 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
22365 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22367 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22369 * arm.h (Hint): Delete macro.
22370 Substitute HOST_WIDE_INT for Hint in some prototypes.
22371 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22373 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
22375 * builtins.c (expand_builtin_setjmp): Use force_operand to
22376 make sure that the buffer address is in a suitable form to be
22377 passed to force_reg.
22379 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
22381 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22384 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
22386 * pa.md (indirect_jump): Remove mode from match_operand. Verify
22387 proper mode in the condition string.
22388 (icacheflush, dcacheflush): Remove modes from match_operands.
22390 * pa.c (emit_move_sequence): Always convert scratch_reg to the
22391 proper mode before using it.
22393 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22396 * pa.c (store_reg): Do not call add_high_const generator directly.
22397 (load_reg, set_reg_plus_d): Likewise.
22398 * pa.md (add_high_const): No longer a named pattern.
22400 * pa.c (legitimize_address): Consistently use Pmode rather than
22401 SImode. Do not call gen_pic2_highpart directly anymore.
22402 * pa.md (pic2_highpart): No longer a named pattern.
22403 (pic2_lo_sum): Similarly. Reformat to make more readable.
22405 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22410 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22412 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22414 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
22416 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
22417 and tag the spill mems.
22418 (hppa_va_start): New.
22419 (hppa_va_arg): New.
22420 * pa.h (EXPAND_BUILTIN_VA_START): New.
22421 (EXPAND_BUILTIN_VA_ARG): New.
22423 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
22425 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22426 and tag the spill mems.
22427 (mn10300_va_start): New.
22428 (mn10300_va_arg): New.
22429 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22430 (EXPAND_BUILTIN_VA_ARG): New.
22432 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
22434 * mn10200.c (mn10200_va_arg): New.
22435 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22437 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
22439 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22440 rather than play with TREE_INT_CST_LOW.
22442 1999-07-27 Philip Blundell <pb@nexus.co.uk>
22444 * config/arm/telf.h: Include dbxelf.h.
22445 (CPP_PREDEFINES): Only define if not already defined.
22446 (ASM_IDENTIFY_GCC): Likewise.
22447 (SUBTARGET_EXTRA_SECTIONS): Likewise.
22448 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22449 * config/arm/thumb.h (LINK_SPEC): Only define if not already
22451 (DBX_DEBUGGING_INFO): Don't define.
22452 * config/arm/linux-telf.h: New file.
22453 * config/arm/linux-tgas.h: New file.
22454 * config/arm/t-thumb-linux: New file.
22455 * config/arm/uclinux-elf.h: New file.
22456 * config/arm/uclinux-telf.h: New file.
22457 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22458 thumb-*-uclinux): New targets.
22459 * configure: Regenerate.
22461 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
22463 * pa.md (post_store, pre_load): New expanders.
22464 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22465 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22466 need to directly generate RTL for them.
22467 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22470 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
22472 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22473 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22474 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22475 (secndary_reload_class): Make TARGET_ELF conditional compile.
22476 (print_operand_address): Similar.
22477 (output_toc): Print all values as hex.
22478 (get_issue_rate): Rearrange and add RS64A and PPC630.
22479 * rs6000.h (processor_type): Add RS64A and PPC630.
22480 (PROCESSOR_POWERPC64): New.
22481 (PROMOTE_MODE): Use word_mode.
22482 (RTX_COSTS): Add RS64A and PPC630.
22483 * rs6000.md (scheduling information): Add lmul and ldiv
22484 representing 64-bit integer multiply and divide. Add rs64a and
22485 PPC630 information.
22486 (ashldi3): Add support for "rldic" instruction.
22487 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22489 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
22491 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22492 instead of V8 for sparclite86x in cpu_table.
22494 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22496 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22497 output_file_directive.
22499 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
22501 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22502 tree for op1, not the rtl.
22504 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
22506 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22507 to m88k_va_start, leaving only the register spill.
22508 (m88k_build_va_list): New.
22509 (m88k_va_start): New.
22510 (m88k_va_arg): New.
22511 * m88k.h (BUILD_VA_LIST_TYPE): New.
22512 (EXPAND_BUILTIN_VA_START): New.
22513 (EXPAND_BUILTIN_VA_ARG): New.
22515 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
22517 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22518 Rename from expand_builtin_saveregs.
22519 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22521 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
22523 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22524 for the register spill block.
22525 (i960_build_va_list): New.
22526 (i960_va_start): New.
22527 (i960_va_arg): New.
22528 * i960.h (BUILD_VA_LIST_TYPE): New.
22529 (EXPAND_BUILTIN_VA_START): New.
22530 (EXPAND_BUILTIN_VA_ARG): New.
22531 * i960.md (store_multiple): Use change_address on individul mems.
22533 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
22535 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22537 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22538 (expand_builtin_va_end): Evaluate arg for side effects.
22539 * c-common.c (c_common_nodes_and_builtins): Construct a
22540 va_list_arg_type_node to handle array decomposition to pointer.
22542 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
22544 * except.c (st_dynamic_cleanup): Use force_operand on the
22547 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
22549 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22550 * c4x.c (c4x_va_arg): New.
22552 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
22554 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22555 has manual_pop set.
22557 1999-07-26 Nathan Sidwell <nathan@acm.org>
22559 * eh-common.h (__eh_matcher): Prototype correctly.
22561 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
22563 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22564 (TARGET_SINGLE_PIC_BASE): Likewise.
22565 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22567 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22568 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22569 (TARGET_OPTIONS): Add -mpic-register=N.
22570 (OUTPUT_INT_ADDR_CONST): New macro.
22571 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22572 LEGITIMATE_PIC_OPERAND_P): Likewise.
22573 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22574 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22575 output_addr_const directly.
22576 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22578 (thumb_pic_register, thumb_pic_register_string): Declare.
22580 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22582 (label_mentioned_p): New function: Imported from arm.c.
22583 (legitimize_pic_address): New function: Imported from arm.c.
22584 (is_pic):New function: Imported from arm.c.
22585 (thumb_finalize_pic):New function: Imported from arm.c.
22586 (add_constant): Cope with PIC constants.
22587 (fixit): Cope with PIC constants.
22588 (output_return): Do not treat the PIC register as live if
22589 TARGET_SINGLE_PIC_BASE is true.
22590 (thumb_function_prologue): Do not treat the PIC register as live if
22591 TARGET_SINGLE_PIC_BASE is true.
22592 (thumb_expand_prologue): Do not treat the PIC register as live if
22593 TARGET_SINGLE_PIC_BASE is true.
22594 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22595 TARGET_SINGLE_PIC_BASE is true.
22596 (thumb_print_operand): Accept '|'.
22597 (thumb_override_options): Process PIC options.
22599 * config/arm/thumb.md (movsi): Support PIC.
22600 (call_insn): Change "i" constraint to "X".
22601 (call_value_insn): Likewise.
22602 (consttable_4, consttable_8, consttable_end): Set and clear
22603 "making_const_table" as appropriate.
22604 (pic_load_addr, pic_add_dot_plus_four): New insns.
22606 * invoke.texi (Thumb Options): Fix spelling. Document new
22607 options -msingle-pic-base and -mpic-register=.
22609 1999-07-26 Andrew Haley <aph@cygnus.com>
22611 * config/m32r/initfini.c (__init): Use a full word immediate for
22612 __fini: this allows it to be placed in any memory region.
22614 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22615 -mmodel=medium. This is OK for all memory models.
22617 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
22619 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22620 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22622 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
22624 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22627 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22629 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
22631 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22632 (BUILD_VA_LIST_TYPE): New.
22633 (EXPAND_BUILTIN_VA_START): New.
22634 (EXPAND_BUILTIN_VA_ARG): New.
22635 * i860.c (output_delayed_branch): Disable.
22636 (output_delay_insn): Likewise.
22637 (i860_saveregs): New.
22638 (i860_build_va_list): New.
22639 (i860_va_start): New.
22640 (i860_va_arg): New.
22641 * i860.md: Disable all peepholes using output_delayed_branch.
22642 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22644 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
22646 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22647 (BUILD_VA_LIST_TYPE): New.
22648 (EXPAND_BUILTIN_VA_START): New.
22649 (EXPAND_BUILTIN_VA_ARG): New.
22650 * clipper.c (clipper_builtin_saveregs): Only dump registers.
22651 Return the address of the save area.
22652 (clipper_build_va_list): New.
22653 (clipper_va_start): New.
22654 (clipper_va_arg): New.
22656 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
22658 * arc.h (EXPAND_BUILTIN_VA_START): New.
22659 (EXPAND_BUILTIN_VA_ARG): New.
22660 * arc.c (arc_setup_incoming_varargs): Set alias set of
22662 (arc_va_start): New.
22665 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
22667 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22668 (BUILD_VA_LIST_TYPE): New.
22669 (EXPAND_BUILTIN_VA_START): New.
22670 (EXPAND_BUILTIN_VA_ARG): New.
22671 * alpha.c (alpha_builtin_saveregs): Delete.
22672 (alpha_build_va_list): New.
22673 (alpha_va_start): New.
22674 (alpha_va_arg): New.
22676 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
22678 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22680 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22681 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22683 * gcc.texi: More changes related to list conversion.
22684 * invoke.texi: Likewise.
22686 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
22688 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22689 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22690 (expand_builtin_next_arg): Accept ARGLIST not EXP.
22691 (stabilize_va_list): New function.
22692 (std_expand_builtin_va_start): New function.
22693 (expand_builtin_va_start): New function.
22694 (get_varargs_alias_set): New function.
22695 (std_expand_builtin_va_arg): New function.
22696 (expand_builtin_va_arg): New function.
22697 (expand_builtin_va_end): New function.
22698 (expand_builtin_va_copy): New function.
22699 (expand_builtin): Call them.
22700 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22701 __builtin_{varargs_start,stdarg_start,end,copy}.
22702 (build_va_arg): New function.
22703 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22704 (build_va_arg): Declare.
22705 * c-decl.c (ptr_type_node, va_list_type_node): New.
22706 * c-parse.gperf (__builtin_va_arg): New.
22707 * c-parse.in (VA_ARG): New token.
22708 (unary_expr): Recognize it.
22709 * expr.c (expand_expr): Expand VA_ARG_EXPR.
22710 * expr.h (std_expand_builtin_va_start): Declare.
22711 (std_expand_builtin_va_arg): Declare.
22712 (expand_builtin_va_arg): Declare.
22713 (get_varargs_alias_set): Declare.
22714 * tree.def (VA_ARG_EXPR): New.
22715 * tree.h (BUILT_IN_VARARGS_START): New.
22716 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22717 (ptr_type_node, va_list_type_node): Declare.
22718 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22719 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22720 * m88k.h, m88k.c: Likewise.
22721 * mn10300.h, mn10300.c: Likewise.
22722 * pa.h, pa.c: Likewise.
22723 * rs6000.h, rs6000.c: Likewise.
22724 * sh.h, sh.c: Likewise.
22725 * sparc.h, sparc.c: Likewise.
22727 * emit-rtl.c (operand_subword): Copy alias set.
22728 (change_address): Likewise.
22730 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
22732 * pa.c (compute_frame_size): Scan all the used callee saved registers,
22733 not just the first one.
22735 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
22737 * config/arm/arm.h (TARGET_SWITCHES): Add
22738 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
22739 (TARGET_OPTIONS): Add -mpic-register=.
22740 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22741 (arm_pic_register_string): Declare.
22742 (NEED_PLT_GOT): Delete, replace with ...
22743 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
22744 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22745 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22746 * config/arm/arm.c (arm_override_options): Add new option
22748 (arm_pic_register_string): New variable.
22749 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22750 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22751 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
22752 (output_return_instruction): Likewise.
22753 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22754 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
22755 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22757 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
22758 mention of -msched-prolog. Document new options -msingle-pic-base
22759 and -mpic-register=.
22761 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
22763 * haifa-sched.c (reemit_notes): Tidy.
22764 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22767 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
22769 * explow.c (trunc_int_for_mode): New function.
22770 (plus_constant_wide): Use it.
22771 * combine.c (simplify_and_const_int): Likewise.
22772 (merge_outer_ops): Likewise.
22773 (simplify_shift_const): Likewise.
22774 * cse.c (simplify_unary_operation): Likewise.
22775 (simplify_binary_operation): Likewise.
22776 * emit-rtl.c (operand_subword): Likewise.
22777 * rtl.h: Declare it.
22779 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22781 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22782 (use NUM_REGS instead of NUM_INTS).
22784 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22786 * builtins.c: New file.
22787 * expr.c (saveregs_value, apply_args_value): Delete definition,
22788 moved into builtins.c.
22789 (string_constant): No longer static.
22790 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22791 apply_args_size, apply_result_size, result_vector,
22792 expand_builtin_apply_args, expand_builtin_apply,
22793 expand_builtin_return): Delete functions, moved into builtins.c.
22794 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22795 * expr.h (saveregs_value, apply_args_value): Declare variables.
22796 (expand_builtin, string_constant): Declare functions.
22797 * Makefile.in: Update to build builtin.o.
22799 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
22801 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22802 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22803 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22804 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22806 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22809 1999-07-21 Michael Meissner <meissner@cygnus.com>
22811 * print-rtl.c (print_rtx): Print the names of the virtual
22814 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
22816 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
22817 introduced in previous delta.
22819 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22821 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
22822 to avoid name clash.
22824 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
22826 * c-lex.c (yylex) : Correct the test for overflow when lexing
22829 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
22831 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
22832 (adjust_priority): Always call ADJUST_PRIORITY.
22833 (schedule_insn): Only put insns into the ready at cost 0.
22834 (schedule_block): Remove redundant initial sort. Give clock_var
22835 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
22837 * tm.texi (MD_SCHED_REORDER): Update docs.
22839 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
22840 * sparc.c (ultra_reorder_called_this_block): Delete.
22841 (ultrasparc_sched_init): Don't set it.
22842 (ultrasparc_sched_reorder): Don't check it.
22844 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
22846 * rs6000.h (struct rs6000_args): Add sysv_gregno.
22847 * rs6000.c (init_cumulative_args): Init sysv_gregno.
22848 (function_arg_boundary): Align DFmode.
22849 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
22850 to get fp reg and stack overflow correct.
22851 (function_arg): Likewise.
22852 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
22853 (setup_incoming_varargs): Restructure for ABI_V4; use
22854 function_arg_advance to skip final named argument.
22855 (expand_builtin_saveregs): Properly unskip the last integer arg
22856 when doing varargs. Adjust overflow location calculation.
22858 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
22859 explicitly unsigned.
22860 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
22861 (__VA_GP_REGSAVE): Similarly.
22862 (__va_longlong_p): Delete.
22863 (__va_arg_type_violation): New declaration.
22864 (va_arg): Restructure. Flag promotion errors. Align double.
22865 TFmode passed by reference.
22867 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
22868 in the HOST_BITS_PER_WIDE_INT > 32 case.
22870 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
22872 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
22874 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
22876 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
22877 * toplev.c (documented_lang_options): Add -fpreprocessed.
22878 * cpplib.h (struct cpp_buffer): Add preprocessed.
22879 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
22880 (cpp_start_read): Don't expand macros or emit an initial #line
22881 directive if -fpreprocessed.
22883 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
22885 * cpplib.h (struct cpp_buffer): Added manual_pop for
22886 better C++ tokenization.
22887 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
22888 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
22889 * c-common.c (cpp_token): Make non-static.
22891 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22893 * c-common.h: New file.
22894 * c-common.c (permanent_obstack): Delete unused declaration.
22895 (c_global_trees): New array.
22896 (c_common_nodes_and_builtins): New function; split off common code
22897 from init_decl_processing in both c-decl.c and cp/decl.c.
22898 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
22899 c_global_trees and accessor macros defined in c-common.h.
22900 Include c-common.h.
22901 * c-decl.c: Delete definitions for tree nodes that were replaced by
22903 (init_decl_processing): Build void_list_node.
22904 Call c_common_nodes_and_builtins; delete code to generate the common
22906 * objc/objc-act.c (build_module_descriptor): Rename variable
22907 void_list_node to avoid clash with c-common.h.
22909 * Makefile.in: Update dependencies.
22910 * objc/Make-lang.in: Likewise.
22912 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
22914 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
22915 (UNIQUE_SECTION_P): Likewise.
22916 (UNIQUE_SECTION): Likewise.
22918 1999-07-19 Linas Vepstas <linas@linas.org>
22920 * config/i370/README: New file.
22921 * config/i370/linux.h: New file.
22922 * config/i370/mvs.h: New file.
22923 * config/i370/oe.h: New file.
22924 * config/i370/t-linux: New file.
22925 * config/i370/t-mvs: New file.
22926 * config/i370/t-oe: New file.
22927 * config/i370/x-oe: New file.
22928 * config/i370/xm-linux.h: New file.
22929 * config/i370/xm-mvs.h: New file.
22930 * config/i370/xm-oe.h: New file.
22932 * i370.c (label_node_t): Add first_ref_page, label_addr,
22933 label_first_ref, label_last_ref members.
22934 (mvs_need_base_reload): Renamed from mvs_label_emitted.
22935 (MAX_MVS_LABEL_SIZE): Define.
22936 (MAX_LONG_LABEL_SIZE): Define.
22937 (alias_node_t, alias_anchor, alias_number): New.
22938 (mvs_function_table): Reorder for EBCDIC.
22939 (ascebc, ebcasc): Unconditionally define.
22940 (i370_branch_dest, i370_branch_length): New functions.
22941 (i370_short_branch, i370_label_scan): New functions.
22942 (mvs_get_label): Renamed from mvs_add_label. Search for
22943 an existing label before creating a new one.
22944 (mvs_add_label): New function.
22945 (mvs_get_label_page): New function.
22946 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
22947 over the entire list.
22948 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
22949 (mvs_check_page) [TARGET_ELF_ABI]: New function.
22950 (mvs_add_alias, mvs_need_alias): New functions.
22951 (mvs_get_alias, mvs_check_alias): New functions.
22952 (handle_pragma): New function.
22953 (mvs_function_check): New function.
22954 (unsigned_jump_follows_p): Search harder.
22955 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
22956 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
22957 * i370.h (TARGET_VERSION): Delete.
22958 (CPP_SPEC, CPP_PREDEFINES): Delete.
22959 (mvs_label_emitted): Delete.
22960 (TARGET_EBCDIC): Delete.
22961 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
22962 (HANDLE_PRAGMA): Define.
22963 (HARD_REGNO_NREGS): Handle complex modes.
22964 (HARD_REGNO_MODE_OK): Likewise.
22965 (CLASS_MAX_NREGS): Likewise.
22966 (RET_REG): Likewise.
22967 (EXTRA_CONSTRAINT): Define.
22968 (RETURN_IN_MEMORY): True for DImode.
22969 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
22970 (FUNCTION_PROFILER): Delete.
22971 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
22972 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
22973 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
22974 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
22975 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
22976 (ASM_FILE_START): Add "RMODE ANY".
22977 (ASM_OUTPUT_EXTERNAL): Check for aliases.
22978 (ASM_GLOBALIZE_LABEL): Likewise.
22979 (ASM_OUTPUT_LABELREF): Likewise.
22980 (ASM_OUTPUT_COMMON): Likewise.
22981 (PRINT_OPERAND): Handle 'K', 'W', default.
22982 (PRINT_OPERAND_ADDRESS): New.
22983 (Lots of defines): Add support for TARGET_ELF_ABI.
22984 * i370.md (attr length): New. Define for all patterns.
22985 (*): Lots of tweeks to assembly output and constraints.
22987 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
22989 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
22990 Disable patterns performing SImode comparisons with SImode values
22991 if TARGET_POWERPC64 and instruction does not sign-extend or does
22992 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
22993 differ for signed quantities.
22994 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
22995 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
22996 (decrement_and_branch_on_count): Add 64-bit variant.
22998 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23000 * final.c (output_asm_insn): When searching for the matching string
23001 for a given dialect, don't run past the end of the list of
23002 alternatives if there are fewer alternatives in the template than
23005 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
23007 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23008 Removed paragraph about compression of files and size limitation,
23009 duplicated in the FAQ. Use gcc-patches for posting patches.
23010 * gcc.c (main): Updated URL with bug reporting instructions to
23011 gcc.gnu.org. Removed e-mail address.
23012 * system.h (abort): Likewise.
23014 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23016 * Makefile.in (stmp-multilib-sub): Make the files extracted
23017 from $(LIBGCC1) writable.
23019 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
23021 * config/arm/aout.h: Reformat for improved readability.
23023 * config/arm/arm.h: Reformat for improved readability.
23024 Replace uses of fprintf with asm_fprintf where appropriate.
23025 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
23026 function declaration assembler actions.
23027 (NUM_INTS): New macro: Convert from bytes to words.
23028 (NUM_REGS): New macro: Compute number of registers required to
23029 hold a quanitity of tyep MODE.
23030 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23032 (NUM_ARG_REGS): New macro: The number of argument registers
23034 (ARG_REGISTER): New macro: Compute the register number of the Nth
23036 (LAST_ARG_REGNUM): New macro: The number of the last argument
23038 (SP_REGNUM): New macro: Register number of the stack pointer.
23039 (FP_REGNUM): New macro: Register number of the frame pointer.
23040 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23041 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23042 CUMULATIVE_ARGS so that it counts registers not bytes.
23044 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23046 Replace uses of fprintf with asm_fprintf where appropriate.
23047 (output_ascii_pseudo_op): Replace with version from thumb.c
23049 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23051 * config/arm/elf.h (CPP_PREDEFINES): Replace with
23052 SUBTARGET_CPP_SPEC.
23053 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23054 (ASM_FILE_START): Emit ASM_APP_OFF.
23056 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
23058 * pa.c (compute_frame_size): Round frame according to
23059 STACK_BOUNDARY rather than a hardwired value.
23061 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23063 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23065 * configure: Rebuilt.
23067 * configure.in (hppa*-*-linux*): New configuration.
23068 * configure: Rebuilt.
23069 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23070 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23071 * pa/pa-linux.h: New file.
23072 * pa/t-linux: New file.
23073 * pa/xm-linux.h: New file.
23075 * pa.c (hppa_legitimize_address): Change references from SImode to
23076 either Pmode or word_mode as appropriate.
23077 (emit_move_sequence, store_reg, load_reg): Likewise.
23078 (set_reg_plus_d, hppa_expand_prologue): Likewise.
23079 (output_mul_insn): Likewise.
23080 * pa.h (PROMOTE_MODE): Likewise.
23081 (INITIALZE_TRAMPOLINE): Likewise.
23082 (Pmode): Define to word_mode.
23084 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23085 value of 4. Allocate 8 bytes for each FP register save.
23086 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23088 (hppa_expand_prologue): Likewise.
23089 * pa.h (PROMOTE_MODE): Likewise.
23090 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23091 (FUNCTION_ARG_BOUNDARY): Likewise.
23093 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23095 * pa.c (out_of_line_prologue_epilogue): Delete.
23096 (override_options): Remove -mspace related code.
23097 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23098 (compute_frame_size): Only allocate space for register that
23099 actually need to be saved.
23100 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23101 (TARGET_SWITCHES): Remove -mspace, -mno-space
23102 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23103 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
23104 * pa/ee.asm, pa/ee_fp.asm: Delete.
23106 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23108 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23109 directive in column zero.
23111 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
23113 * m68k.c (output_function_prologue): Fix computation of save mask
23114 when generating PIC code.
23116 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
23118 * tree.c (build_type_attribute_variant): Move current_obstack restore
23119 after build_qualified_type call.
23121 1999-07-15 Mark Mitchell <mark@codesourcery.com>
23123 * configure.in: Use t-iris6, even with GNU LD.
23124 * config/mips/iris6gld.h: Fix typo in linker spec.
23125 * config/mips/t-iris6gld: Remove.
23127 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
23129 * rs6000.md (insv, extzv): Remove SImode dependence in named
23130 patterns. Explicitly generate DImode RTL if PowerPC64 and
23132 (insvdi): Reverse start and size in instruction template.
23134 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
23136 * invoke.texi: Typo fixes.
23138 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
23140 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23141 handle at this time instead of silently generating incorrect code.
23142 (gen_imagpart): Likewise.
23144 * reload.c (find_reloads): Emit a USE for a pseudo register without
23145 a hard register if we could not create an optional reload for the
23148 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23150 * c-typeck.c (output_init_element, process_init_element):
23151 When advancing constructor_unfilled_fields for a RECORD_TYPE,
23152 check for nameless bit fields.
23154 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
23156 * regclass.c (scan_one_insn): Notice subregs that change the
23157 size of their operand.
23158 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23160 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
23162 * configure.in (alpha*-*-*): Include alpha/t-ieee.
23163 * configure: Rebuilt.
23164 * alpha/t-ieee: New file.
23166 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
23168 * rs6000.c (find_addr_reg): Do not select r0 as an address
23171 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
23173 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23175 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
23177 * rs6000.md (movsf): Do not force easy FP constants into memory.
23179 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23180 immed_double_const to ensure they are properly truncated then
23183 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23185 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23186 always unless NO_DEBUG is used. Compile this code
23188 (replace_symbols_in_block): Compile it unconditionally.
23190 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
23192 * configure.in (i?86-*-elf*): New target.
23193 * configure: Rebuilt.
23194 * i386/i386elf.h, i386/t-i386elf: New files.
23196 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
23198 * toplev.c (main): Don't complain about saying -gdwarf.
23199 (rest_of_compilation): Remove redundant code.
23201 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
23203 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23205 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
23207 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23208 "Li960R:", to avoid name clash.
23210 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23212 * loop.c (check_dbra_loop): When reversing a loop, delete all
23213 REG_EQUAL notes referencing the reversed biv except those which are
23214 for a giv based on it.
23216 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
23218 * version.c: Drop "gcc-" prefix from version #.
23220 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
23222 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23223 the label if we're being verbose.
23225 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
23227 * m68k.c (output_function_prologue): Add pic register to mask
23228 if live and flag_pic.
23229 (output_function_epilogue): Likewise.
23231 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
23233 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23234 directives in column zero.
23236 * pa/elf.h (ASM_FILE_START): Define.
23237 * pa/som.h (ASM_FILE_START): Include .level directives.
23238 * pa/hpux10.h (ASM_FILE_START): Delete.
23239 * pa/hpux11.h (ASM_FILE_START): Delete.
23241 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23243 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23245 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23246 when reload_out equals reload_in.
23248 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
23250 * invoke.texi (Spec Files): New node: Describe the contents of
23253 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
23255 * invoke.texi (DEC Alpha Options): Put @end table at
23256 beginning of line, to avoid confusing texi2html.
23258 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
23260 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23261 introduced in previous delta.
23263 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23265 * reload1.c (gen_reload): When synthesizing a 3 operand add
23266 sequence, improve test for when to reload OP1 into the reload
23267 register instead of OP0.
23269 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
23271 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23273 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
23275 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23278 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
23280 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23281 (va_dcl): Use __builtin_va_alist_t.
23283 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
23285 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23286 on the permanent_obstack.
23287 * dwarfout.c (output_type): Likewise.
23289 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
23291 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23292 Merged from c-typeck.c and cp/typeck.c.
23293 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23294 Merged into c-common.
23296 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
23298 * c-lex.c (errorcount): Declare it.
23299 (finish_parse): Update errorcount when using CPPLIB.
23301 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
23303 * fixinc/inclhack.def(end_else_label): Double the backslash so
23304 sed gets a chance to see it.
23305 * fixinc/inclhack.sh: regen
23306 * fixinc/fixincl.x: regen
23308 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
23310 Add framework to support armv5 architecture when it becomes
23313 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23314 (arm_arch5): New variable.
23315 (all_architectures): Add armv5 line.
23316 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23317 -march=armv5 is specified on the command line.
23318 (arm_arch5): Export this variable.
23319 * invoke.texi: Document new string accepted by -march= switch for
23322 * config/arm/arm.h: Replace use of constant 12 as a register
23323 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23324 * config/arm/arm.c: Replace use of constant 12 as a register
23325 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23327 * config/arm/elf.h: Tidy up.
23328 * config/arm/coff.h: Tidy up.
23330 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
23332 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23333 * gcc/config/mips/t-iris6gld: New file.
23334 * gcc/config/mips/iris6gld.h: Likewise.
23336 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
23338 * c-decl.c (widest_integer_literal_type_node,
23339 widest_unsigned_literal_type) : New.
23340 (init_decl_processing): Handle/use the two new types.
23341 * c-common.c (type_for_size,type_for_mode) : Same.
23342 * c-lex.c (yylex) : Same.
23343 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23345 * c-tree.h (widest_integer_literal_type_node,
23346 widest_unsigned_literal_type) : New.
23348 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
23350 * dwarfout.c (field_byte_offset): Correctly compute the object's
23351 byte offset for the first bit of a field which crosses an alignment
23352 boundary on a !BYTES_BIG_ENDIAN target.
23354 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
23356 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23359 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
23360 Jeff Law <law@cygnus.com>
23362 * ginclude/varargs.h (va_dcl): Use word_mode for type of
23365 * except.c: Include intl.h.
23366 (expand_eh_return): Set current_function_cannot_inline.
23367 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23368 * function.h (struct function): Add eh_return_stub_label.
23369 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23370 * Makefile.in (except.o): Depend on intl.h.
23372 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
23374 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23375 same as offsettable in cases 1 and 2.
23377 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
23379 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23380 (extlh, extwh): Likewise.
23382 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
23384 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23386 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
23388 * configure.in: Add arm-pe and thumb-pe targets.
23389 * configure: Regenerate.
23391 * thumb.c (arm_naked_function_p): New function: Determines if
23392 a function is naked (has no gcc generated prologue/epilogue).
23393 (is_called_in_ARM_mode): Return true if the func has the
23394 interfacearm attribute.
23395 (output_return): Do not generate a return for naked functions.
23396 (thumb_function_prologue): Do not generate a prologue for
23398 (thumb_expand_prologue): Do not generate a prologue for naked
23400 (thumb_expand_epilogue): Do not generate an epilogue for naked
23402 (arm_valid_machine_decl_attribute): New function, copied from
23403 arm.c: Permit naked and interfacearm attributes.
23405 * config/arm/pe.c: New file: Support code for arm-pe target.
23406 * config/arm/pe.h: New file: Header file for arm-pe target.
23407 * config/arm/tpe.h: New file: Header file for thumb-pe target.
23408 * config/arm/t-thumb-pe: New file: Makefile fragment for
23411 1999-07-01 Mark Kettenis <kettenis@gnu.org>
23413 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23414 -fPIC or -fpic is specified.
23416 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
23418 * expr.c (emit_block_move): Use copy_to_mode_reg for
23419 !TARGET_MEM_FUNCTIONS case too.
23421 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23423 * configure: Rebuilt.
23424 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23425 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
23426 definitions made redundant by dbxelf.h inclusion. Delete
23427 lots of definitions related to assembly output that are
23428 specific to the SOM object format.
23429 * pa.c (output_function_prologue): Do not emit the function's
23431 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23432 * pa-pro.h: Deleted.
23433 * som.h: New file with SOM specific definitions.
23434 * elf.h: New file with ELF specific definitions.
23436 * elfos.h (const_section): Output a tab before assembler directives.
23437 (ctors_section, dtors_section): Likewise.
23438 (ASM_OUTPUT_SECTION_NAME): Likewise.
23440 * pa/pa1.h: Delete unused file.
23442 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
23444 * configure.in (hppa*-hp-hpux11*): New configuration.
23445 * configure: Rebuilt.
23446 * pa/pa-hpux11.h: New file.
23447 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23450 * mips.md (leasi, leadi): New patterns.
23452 * expr.c (emit_block_move): Properly handle case where one of the
23453 block move arguments has a queued increment or decrement.
23454 (clear_storage): Similarly. Fix formatting goof.
23456 1999-06-28 "David O'Brien" <obrien@NUXI.com>
23458 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23459 semicolon from the BSD VA_LIST replacement expression.
23461 * fixinc/inclhack.sh: regen
23462 * fixinc/fixincl.x: regen
23464 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23465 now use the fixincl program.
23467 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
23469 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23470 case. Also make the PIC register call_used.
23472 * m68k.h (FINALIZE_PIC): Delete.
23473 * m68k.c (finalize_pic): Delete.
23475 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
23477 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23480 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
23482 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23484 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
23486 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23488 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
23490 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23492 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
23494 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23496 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
23498 * rs6000.c (output_toc): Always use hex values for floating-point
23499 constants. Store single-precision values in upper-half of TOC
23500 entry in 64-bit mode.
23501 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23502 to final constraints.
23503 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23504 (fctiwz): Improve accuracy of RTL for pattern.
23506 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
23508 * expr.c (expand_expr): Allow RTL_EXPR's through the
23509 MAX_INTEGER_COMPUTATION_MODE checks.
23511 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
23513 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23514 such that MASK_SUPPORT_ARCH is not negative.
23516 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
23518 * loop.c (verify_dominator): Properly handle ADDR_VEC and
23519 ADDR_DIFF_VEC insns that appear inside loops.
23521 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
23522 Jeff Law <law@cygnus.com>
23524 * rs6000.md (movdf_hardfloat32): Revert previous patch.
23525 Handle LO_SUM the same as offsettable in cases 1 and 2.
23526 * rs6000.c (find_addr_reg): Revert previous patch.
23528 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
23530 * system.h (strstr): New external function declaration.
23531 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23532 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23533 * config.in, configure: Rebuilt.
23535 1999-06-24 Tom Tromey <tromey@cygnus.com>
23537 * gcc.c (main): Read user-specified specs files after computing
23538 additional startfile_prefixes.
23540 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
23542 Revert these two patches:
23544 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23545 * loop.c (strength_reduce): When doing biv->giv conversion, update
23546 reg note of NEXT->insn.
23548 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23549 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23551 (recombine_givs): Set ix field after sorting.
23553 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23555 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23556 for the parts of an UNSPEC / UNSPEC_VOLATILE.
23558 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
23560 *fixinc/inclhack.def: Add fix development commentary
23561 (read_ret_type): reactivate and add selection clause
23562 (zzz_*): tweak output file name to match what is used in hackshell.tpl
23563 *fixinc/{fixincl.x|inclhack.sh}: regen
23565 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
23567 * expr.c (expand_expr): STRIP_NOPS before checking against
23568 MAX_INTEGER_COMPUTATION_MODE
23569 (check_max_integer_computation_mode): Likewise.
23571 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
23573 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23575 1999-06-22 Jim Wilson <wilson@cygnus.com>
23577 * expr.c (store_expr): When target is a promoted subreg, return a
23578 promoted subreg as a result.
23580 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
23582 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23584 (dwarf2out_define): Mark unused parameters appropriately.
23585 (gen_unspecified_parameters_die): Ditto.
23586 (gen_subprogram_die): Fix signed/unsigned warnings.
23587 (gen_variable_die): Ditto.
23589 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
23591 * fixinc/inclhack.def(end_else_label): combined else_label
23592 and endif_label and fixed the sed expression.
23593 *fixinc/{fixincl.x|inclhack.sh}: regen
23595 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
23597 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23598 'x' when handling non-offsettable addresses
23600 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
23602 * final.c (shorten_branches): Don't try to split an insn that has
23605 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
23607 * config/mips/mips.c (symbolic_expression_p): New function.
23608 (mips_select_rtx_section): Put symbolic expressions in the
23609 data section, not the read-only data section.
23611 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
23613 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23615 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
23617 * collect2.c (main): Log frame table count.
23618 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23619 (scan_prog_file) [COFF]: Handle frame tables.
23621 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23622 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23623 * alpha/elf.h: Undef them again.
23624 * alpha/vms.h: Remove their definitions.
23626 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23628 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23629 remove the clobber of r0 and change the REG_UNUSED note to
23632 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
23634 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23635 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23636 fits in HOST_WIDE_INT and one uses union to access a long constant
23639 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
23641 * sparc.c (sparc_override_options): Don't allow profiling for
23642 code models other than medlow.
23643 (sparc_function_profiler): New function from old FUNCTION_PROFILER
23644 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23645 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
23646 (sparc_block_profiler): Likewise.
23647 (sparc_function_block_profiler_exit): Likewise.
23648 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23649 (FUNCTION_BLOCK_PROFILER): Likewise.
23650 (BLOCK_PROFILER): Likewise.
23651 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23652 (MCOUNT_FUNCTION): New.
23653 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23654 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23655 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23656 (MCOUNT_FUNCTION): New.
23657 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23658 (BLOCK_PROFILER): Delete.
23659 (MCOUNT_FUNCTION): New.
23661 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
23663 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23665 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23667 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23670 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23673 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23676 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23679 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
23681 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23684 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
23686 * i386/djgpp.h (LIB_SPEC): New.
23687 (STARTFILE_SPEC): New.
23689 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23691 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
23693 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23696 * system.h (WSTOPSIG): New macro.
23698 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
23700 * c-pragma.c (push_alignment): Don't ignore alignments greater than
23702 (insert_pack_attributes): Take into account member natural
23705 * i386/winnt.c (exports_head): New static variable.
23706 (i386_pe_record_exported_symbol): New function.
23707 (i386_pe_asm_file_end): Use.
23708 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23709 symbols to be emitted at end of assembly.
23710 (ASM_DECLARE_OBJECT_NAME): Likewise.
23711 (ASM_DECLARE_FUNCTION_NAME): Likewise.
23713 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23716 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
23718 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23721 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
23723 * haifa-sched.c (sched_analyze_1): Use free_list instead of
23724 zapping reg_last_uses directly.
23725 (sched_analyze_2, sched_analyze_insn): Likewise.
23726 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
23728 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
23730 * rs6000.md (movdf_hardfloat32): Use worst case insn length
23731 attributes for cases 1 and 2.
23733 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
23735 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23738 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
23740 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23742 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
23744 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23745 PIC_OFFSET_TABLE_REGNUM for general alloaction.
23746 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23747 must be stacked if it is used for PIC accesses.
23748 * arm.c (use_return_insn): Handle PIC register specially.
23749 (output_return_instruction): Likewise.
23750 (output_func_{prologue,epilogue}): Likewise.
23751 (output_expand_prologue): Likewise.
23753 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23754 (*strsi_predec): Renamed from *strqi_predec.
23755 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23756 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23758 * arm.c (arm_override_options): Remove warning about PIC code
23759 not being supported.
23761 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
23763 * rs6000.c (find_addr_reg): New function.
23764 * rs6000.h (find_addr_reg): Declare.
23765 (offsettable_addr_operand): Delete.
23766 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23767 from and stores to GPRs.
23769 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
23771 * alpha.c (alpha_expand_block_move): Use get_insns rather than
23772 gen_sequence as argument to emit_no_conflict_block.
23774 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23776 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23777 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23778 *fixinc/fixincl.x: regen
23779 *fixinc/inclhack.sh: regen
23781 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
23783 * added support for -mpcrel (PC relative addressing for m68k)
23784 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
23785 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23786 * m68k.c (print_operand_address): Handle 32-bit PIC case.
23787 (comments for general_src_operand): Add some explanation
23788 about EXTRA_CONSTRAINTS.
23789 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23790 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23791 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23792 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23793 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23794 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23795 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23796 if not already set.
23797 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23798 * m68k.h (TARGET_PCREL): New target flag.
23799 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23800 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23801 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23802 contains a SYMBOL_REF. Relax this constraint during reload, since
23803 we want to use the predicates, not reload's built-in concept of a
23804 valid memory address, to control what insns need reloading.
23805 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23806 operands (essentially 'g', 'm', and 's' under normal circumstances).
23807 * m68k.c (print_operand): Cause printing of pc-relative addresses
23808 to include pc register.
23809 (print_operand_address): Ditto.
23810 (general_src_operand): Accept operands that are not only
23811 general_operands, but are also valid when used as a pc-relative
23813 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
23814 (memory_src_operand): Similar, for memory_operands.
23815 (pcrel_address): New predicate to accept the special case of a
23816 pc-relative address.
23817 * m68k.md (many patterns): Rewrite common SImode, HImode, and
23818 QImode insns to accept *_src_operand instead of *_operand where
23819 pc-relative operands can fit. For example, a pc-relative operand
23820 can be used as a memory source operand for addsi3, but not as a
23821 memory destination.
23822 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
23824 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
23826 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
23827 .thumb_set pseudo op to mark aliases of thumb functions.
23829 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
23831 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
23832 preference to ASM_OUTPUT_DEF, if it is defined.
23834 * tm.texi: Document new, optional target macro
23835 ASM_OUTPUT_DEF_FROM_DECLS.
23837 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23839 * fixincludes: ISCNTL patch
23840 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
23841 (dgux_int_varargs): new for DG/UX
23842 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
23844 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
23846 * invoke.texi (ia32 options): Fix typo.
23848 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23850 * loop.c (strength_reduce): When doing biv->giv conversion, update
23851 reg note of NEXT->insn.
23853 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
23855 * loop.c (move_movables): Note issues with replacing REGs with
23857 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
23859 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
23861 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
23863 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
23864 the reference to `mcount' was not correct for the ELF on FreeBSD.
23866 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23868 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23871 (recombine_givs): Set ix field after sorting.
23873 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
23875 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
23876 to safe to extract a subword out of a REG.
23878 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23880 * sh.md (mulsi3): Don't add a no-op move at the end.
23882 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23884 * cse.c (cse_insn): Don't put hard register source into tables for
23885 the last insn of a libcall.
23887 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23889 * loop.c (strength_reduce): Insert sets of derived givs at every
23890 biv increment, even if it's the only one.
23892 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
23894 * dwarfout.c (add_incomplete_type): New fn.
23895 (output_type): Call it.
23896 (retry_incomplete_types): New fn.
23897 (dwarfout_finish): Call it.
23899 From Eric Raskin <ehr@listworks.com>:
23900 (output_type): Output types for bases.
23902 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23904 * mips.c (mips_output_conditional_branch): Add `break'
23905 between `default' label and `close braces'.
23907 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
23909 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
23910 specifications and make it realistic.
23911 (LIB_SPEC): Likewise.
23913 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
23915 * config/mips/mips.c (mips_secondary_reload_class): Check for
23916 (PLUS (SP) (REG)) and return appropriate register class.
23917 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
23918 Handle (PLUS (SP) (REG)).
23919 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
23920 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
23921 of emit_insn for tablejump.
23923 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
23925 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
23926 asm_fprintf format string by itself.
23927 (output_function_profiler): Likewise.
23929 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
23931 * combine.c (simplify_logical, case AND): Only call
23932 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
23933 or the constant is positive.
23935 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
23937 * configure.in: Fix typo in rs6000-ibm-aix4 case.
23938 * configure: Regenerate.
23940 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
23942 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
23943 require a sub-version #.
23944 * configure: Rebuilt.
23946 1999-06-14 Robert Lipe (robertlipe@usa.net)
23948 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
23950 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
23952 * c-typeck.c (process_init_element): Detect excess elements in
23953 char array initializer.
23955 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
23957 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
23959 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
23961 * invoke.texi (Option Summary): Add -fpermissive flag.
23963 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
23965 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
23966 that require PIC code sequences.
23968 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
23970 * configure.in: Add new target: thumb-elf.
23971 * configure: Regenerate.
23972 * config/arm/t-thumb-elf: New file: Makefile fragment for
23974 * config/arm/telf.h: New file: Header file for thumb-elf
23977 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
23979 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
23980 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
23981 initializers is some circumstances.
23983 * fixinc/inclhack.def (endif_label): Add additional selector for
23984 more bogus stuff after #endif statements.
23985 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
23987 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
23989 * i386/cygwin.h (SET_ASM_OP): Define.
23991 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
23993 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
23995 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23997 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
24000 * sh.md (ic_invalidate_line_i): Remove second alternative.
24002 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24004 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24005 test for the presence of valid prototypes. Delete bypass expr.
24006 (ioctl_fix_ctrl): Correct the selection expression.
24007 (no_double_slash): Correct quoting rules
24008 *fixinc/fixincl.x: regen
24009 *fixinc/inclhack.sh: regen
24011 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
24013 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24015 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24017 * rs6000.md (movsi_got_internal_mem): Delete.
24018 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24019 (GOT_TOC_REGNUM): Delete.
24020 (PIC_OFFSET_TABLE_REGNUM): Define.
24021 (FINALIZE_PIC): Disable.
24022 * rs6000.c (rs6000_got_register): New code for fixed pic register.
24023 (rs6000_replace_regno): Delete.
24024 (rs6000_finalize_pic): Likewise.
24025 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24027 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24029 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24030 is a note; use <= for the compare; advance P while it is
24033 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
24035 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24036 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24038 * varasm.c (remove_from_pending_weak_list): Verify t->name
24039 is non-NULL before passing it to strcmp.
24041 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24043 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24044 the typed arguments are not part of a comment
24045 (ioctl_fix_ctrl): Added a purpose comment
24046 *fixinc/fixincl.x: regenerate
24047 *fixinc/inclhack.sh: regenerate
24049 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24051 * invoke.texi: Add C4x invocation docs.
24053 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24055 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24057 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24059 (c4x_legitimize_reload_address): New function.
24060 * config/c4x/c4x.md: Update docs.
24062 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
24064 * fixincludes: Avoid removing '.'.
24065 * fixinc/fixinc.svr4: Likewise.
24066 * fixinc/fixinc.winnt: Likewise.
24067 * fixinc/inclhack.tpl: Likewise.
24068 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24070 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24072 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24074 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24076 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
24078 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24081 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
24083 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24084 * configure: Regenerate.
24086 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
24088 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24091 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
24093 * fixinc/inclhack.def (avoid_bool): Also catch
24094 "typedef [unsigned] int bool".
24095 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24097 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24098 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24099 * configure: Rebuilt.
24101 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
24103 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24104 such that we can override its definitions if necessary.
24105 (CPP_SPEC): New define. Support processor specific predefines via
24107 (CC1_SPEC): New define. Support processor specific compiler
24108 options via %(cc1_cpu).
24109 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
24112 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24114 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24115 between sed's -e flag, and the open-quote following it.
24116 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24118 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
24119 Jeffrey A Law (law@cygnus.com)
24121 * varasm.c (assemble_start_function): Remove the function
24122 from the pending weak decls list when we define a function.
24123 (assemble_variable): Similarly for variables.
24124 (weak_finish): Ignore items on the list with a NULL name.
24125 (remove_from_ending_weak_list); New function to "remove" an item
24126 from the pending weak declarations list.
24128 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24130 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24132 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
24134 * c-lex.c (GETC): Redefine to call getch.
24135 (UNGETC): Redefine to call put_back.
24136 (putback_buffer): New structure type.
24137 (putback): New static structure.
24138 (getch): New function.
24139 (put_back): New function.
24140 (yylex): Replace unused bytes from bad multibyte character.
24142 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
24144 * cpplib.c (do_define): Cast `alloca' return value.
24145 (do_include, do_undef, do_pragma): Likewise.
24146 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24148 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24149 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24151 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
24153 * sparc.md (abstf2): This should be an expand.
24154 (split after abstf2_notv9): Fix mode.
24155 (abstf2_hq_v9): New pattern.
24156 (abstf2_v9): Only use when no hard quad.
24157 (absdf2_v9): Fix if target is not the same as source.
24158 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24159 Add correct output constraints.
24161 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
24163 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24164 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24166 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
24168 * mips.h (mips_output_conditional_branch): New function.
24169 (mips_adjust_insn_length): Likewise.
24170 (ASSEMBLER_SCRATCH_REGNUM): New macro.
24171 (ADJUST_INSN_LENGTH): Likewise.
24172 * mips.c (print_operand): Add `F' and `W' for floating-point
24173 comparison opcodes.
24174 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24176 (mips_adjust_insn_length): New function.
24177 (mips_output_conditional_branch): New function.
24178 * mips.md (length): Adjust attribute definition to handle
24179 conditional branches. Change lengths to bytes, rather than
24180 instructions throughout. Remove length attribute from
24181 instructions whose length is four bytes, and rely on the default
24183 (dslot): Fix typo in comment.
24184 Reword conditional branch patterns to use
24185 mips_output_conditional_branch.
24187 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
24189 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24190 (LIB_SPEC): Likewise.
24191 Link with -lprof1_r for -g/-pg.
24193 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24195 * loop.c (check_dbra_loop): Fix change of Jan 19.
24197 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
24199 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
24200 (STARTFILE_SPEC): Define, override the svr4.h version.
24201 (ENDFILE_SPEC): Likewise.
24203 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
24205 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24206 * fixinc/fixincl.x: Regenerated.
24207 * fixinc/inclhack.sh: Regenerated.
24209 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24211 * sh.c (barrier_align): Don't return early for normal branch/barrier
24212 when optimizing for SH2.
24214 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
24216 * i386/udk.h (LINK_SPEC): Correct linker search path for
24219 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24221 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24222 (braf_label_ref_operand): Delete.
24223 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24224 * sh.md (casesi_jump_2): Operand1 is now the inside of a
24225 label_ref, and has no predicate.
24226 The patten has a predicate to guard against invalid substitutions.
24227 (dummy_jump): Delete.
24228 (casesi): Update use of casesi_jump_2.
24230 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24232 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24233 *fixinc/fixincl.x: regenerate
24234 *fixinc/inclhack.sh: regenerate
24236 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
24238 * dwarf2out.c (add_incomplete_type): New fn.
24239 (gen_struct_or_union_type_die): Call it.
24240 (retry_incomplete_types): New fn.
24241 (dwarf2out_finish): Call it.
24243 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
24245 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24246 current block starts with a CODE_LABEL and ends with a CALL and
24247 we can not find all the argument setup instructions for the CALL.
24249 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
24251 Revert this change:
24252 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24253 something is a candidate for optimize_bit_field_compare.
24255 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24257 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24259 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
24261 * alpha.c (override_options): Thinko in last patch.
24263 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24264 (LIB_SPEC): Recognize -pthread.
24266 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
24268 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24269 definition in config/arm/coff.h
24270 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24272 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24274 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24275 fixes that need "file=xxx\n" prepended before invocation
24276 (start_fixer - new): starting the fixer process is complex enough
24277 to warrent its own routine. It prepends the "file=xxx\n" stuff.
24278 (process): uses the new routine; omit usage of putenv()
24279 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24280 * fixinc/fixincl.x: regenerate
24282 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
24284 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24285 and version #s (1.1 -> 2.96) as needed.
24286 * README.g77: Kill way out of date file in the toplevel directory.
24288 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
24290 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24291 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
24292 * configure: Rebuilt.
24293 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24294 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24295 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24296 (SWITCH_TAKES_ARG): Likewise.
24297 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24298 * config/t-freebsd: Moved from config/i386/ so it can used for all
24301 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
24303 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24305 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
24307 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24308 * configure: Rebuilt.
24310 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
24312 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24313 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24314 * rs6000/rs6000.c (rs6000_file_start): Use putc.
24315 (rs6000_output_load_toc_table): Same.
24316 (output_prolog, output_mi_thunk): Same.
24317 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24318 (ASM_GLOBALIZE_LABEL): Use putc.
24320 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
24322 * alpha.md (reload_*_help): New patterns and splitters.
24323 (reload_*): Use them.
24324 (mov[qh]i): Likewise.
24326 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
24328 * cccp.c (handle_directive): Handle backslash-newlines in quoted
24331 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
24333 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24335 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
24337 * flow.c (mark_regs_live_at_end, insn_dead_p,
24338 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24339 and HARD_FRAME_POINTER_REGNUM special treatment if reload
24340 hasn't run or the frame pointer is needed.
24341 * haifa-sched.c (attach_deaths): Likewise.
24342 * sched.c (attach_deaths): Likewise.
24344 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
24346 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24347 calculate_can_reach_end returns nonzero.
24349 * configure.in (native gas tests): Search for an assembler in the
24350 same manner that the installed compiler will.
24351 * configure: Rebuilt.
24352 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24354 * alias.c (find_base_term): Improve handling of addresses
24355 constructed from binary operations.
24357 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
24359 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24361 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
24363 * function.h (cleanup_label, frame_offset): Declare.
24364 (tail_recursion_label, tail_recursion_reentry): Likewise.
24365 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24366 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24367 (tail_recursion_label, tail_recursion_reentry): Likewise.
24368 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24370 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
24372 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24374 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24375 (MAX_OFILE_ALIGNMENT): Define.
24377 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
24379 * fixincl.c: Replace local include scheme with #includes of
24380 gansidecl.h and system.h.
24381 * procopen.c: Likewise.
24382 * server.c: Likewise.
24384 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
24386 * i386/t-dgux (EXTRA_PARTS): Add crti.o
24387 (crti.o): Add build rule and dependencies.
24388 * fixinc/fixinc.dgux: Use modified _int_varargs.h
24390 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24392 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24393 (LIB_LINUX_SPEC): Likewise.
24394 (LIB_LINUX_SPEC): Add support for -pthread
24395 (CPP_OS_LINUX_SPEC): Likewise.
24396 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24399 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
24401 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24403 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24404 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24405 for IEEE math and CC_FCOMI.
24406 (put_jump_code): No IEEE if CC_FCOMI is set.
24408 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24410 * fold-const.c (fold_truthop): Make the field reference unsigned
24411 when converting a single bit compare.
24413 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24415 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24417 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
24419 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24420 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24423 * reload.c (push_reload): Do not call remove_address_replacements
24424 when presented with identical optional reloads.
24426 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
24428 * alpha.h (MASK_FIX, TARGET_FIX): New.
24429 (MASK_*): Reorganize constants.
24430 (CPP_AM_FIX_SPEC): New.
24431 (TARGET_SWITCHES): Add FIX.
24432 (EXTRA_SPECS): Likewise.
24433 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24434 (SECONDARY_MEMORY_NEEDED): Likewise.
24435 (REGISTER_MOVE_COST): Likewise.
24436 * alpha.c (override_options): Add FIX support. Always use
24437 ALPHA_TP_PROG for ev6.
24438 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24439 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24440 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24442 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
24444 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24445 something is a candidate for optimize_bit_field_compare.
24447 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
24449 * gcc.texi (Passes): Document branch-shortening.
24450 * invoke.texi (Debugging Options): Document the fact that `-dp'
24451 outputs length information for instructions.
24453 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
24455 * flow.c: Revert previous delta.
24457 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
24459 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24460 FRAME_POINTER_REGNUM.
24461 (mark_set_1): Ditto.
24462 (mark_used_regs): Ditto.
24464 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
24466 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24467 (GOT_PCREL): New macro. Define to 1 if not already defined.
24468 * arm/elf.h (GOT_PCREL): Define to 0.
24469 * arm.c (arm_finalize_pic): Take into account the setting of
24472 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
24474 * output.h (STRIP_NAME_ENCODING): Provide default definition.
24475 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24477 * flow.c (mark_set_1): Do not record BLKmode stores as dead
24478 store elimination candidates.
24480 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
24482 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24485 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
24487 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24488 Add use of x-aix41-gld.
24490 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
24492 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24493 (ASM_OUTPUT_DESTRUCTOR): Define.
24495 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
24497 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24498 last CODE_LABEL in a loop if we have previously passed a jump
24499 to the top of the loop.
24501 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
24503 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24504 applying Philip's patch.
24506 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
24508 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24511 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
24513 * loop.c (strength_reduce): Grow reg_single_usage as needed.
24515 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
24517 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24518 Also remove a useless comment.
24520 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24522 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
24524 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
24526 * collect2.c (main): Only generate import or export file and add
24527 to link arguments if non-empty. Use xmalloc not alloca.
24528 (write_{export,import}_file): Delete.
24529 (write_aix_file): New function.
24530 (locatelib): Use xmalloc not malloc.
24531 (GCC_OK_SYMBOL): Do not check type if aix64.
24533 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
24535 Based on patch by Scott Bambrough and Pat Beirne:
24536 * config/arm/arm.c (making_const_table): New variable.
24537 * config/arm/arm.h (making_const_table): Declare.
24538 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24540 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24541 Keep track of when we are building the constant table.
24543 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
24545 * config/arm/arm.c (arm_override_options): Fix erroneous warning
24548 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
24550 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24553 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
24555 * tm.texi (FUNCTION_ARG): Correct description of a stack element
24558 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
24560 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24562 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24564 * rs6000.c (output_mi_thunk): Enable full support again.
24566 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24568 * sh.h (BRANCH_COST): Define.
24570 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
24572 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24574 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
24576 * function.c (assign_stack_local): Align stack slot propertly.
24577 (assign_outer_stack_local): Likewise.
24579 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
24581 * expr.h (lang_expand_constant): Declare.
24582 * toplev.c (lang_expand_constant): Define it.
24583 * varasm.c (output_constant): Use it.
24585 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24587 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24588 Change function definitions to K&R style.
24590 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24592 * fixinc/fixincl.c: We must not ignore SIGCLD now.
24594 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
24596 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24597 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24598 (several places): omit static initialization
24599 (process): use single fd, since only the read fd is used
24600 * fixinc/gnu-regex.c: define 'const' away, if not supported
24601 * fixinc/procopen.c(several places): omit static initialization
24602 * fixinc/server.c: define 'volitile' away, if not supported
24604 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24606 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24607 asm_fprintf and %L to generate the label name.
24608 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24609 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24611 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
24613 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24614 insn for a conditional jump can not be found.
24616 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
24618 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24619 on variables in specific sections other than .sbss and .sdata.
24621 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
24623 * stmt.c (expand_return): Call start_cleanup_deferral and
24624 end_cleanup_deferral around conditional code.
24626 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24628 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24629 filename lists. Utilizes new "krstr" AutoGen function.
24630 * fixinc/fixincl.x: Rebuilt.
24632 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
24634 * i386.c (output_float_compare): Avoid GNU-C extensions.
24636 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
24638 * version.c: Bump to distinguish mainline tree from the
24641 See ChangeLog.1 for earlier changes.