1 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
4 of sequence point problems.
6 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
8 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
10 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
12 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
15 __classof__, and __headof__ from the list of gnu keywords.
16 (-ansi): Remove -foperator-names from list of implied options.
17 Do not call it ANSI C++.
18 (-foperator-names): Document as -fno-operator-names.
20 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
22 * cpphash.c (timestamp): Delete.
23 (del_HASHNODE): If type is T_MCONST, free value.cpval.
24 (special_symbol): Remove unnecessary braces. Remove
25 T_VERSION. Treat T_STDC like T_CONST unless
26 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
27 when one is encountered, then convert them into T_MCONST
29 * cppinit.c (builtin_array): version_string is T_MCONST.
30 __STDC__ has a "1" in its cpval. Don't have a terminator
31 entry. Clean up which entries are dumped.
32 (initialize_builtins): Only __STDC__ gets the special
33 -traditional treatment. Count the length of builtin_array.
34 Render version_string here.
35 * cpphash.h: Remove T_VERSION. Add T_MCONST.
36 * cpplib.h (struct cpp_reader): Remove timebuf.
38 2000-04-09 Richard Henderson <rth@cygnus.com>
40 * genrecog.c (pred): Update comparison_operator for the unordered
43 * config/i386/i386.c (no_comparison_operator): Disallow unordered
45 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
46 (uno_comparison_operator): New.
47 (put_condition_code): Handle UNORDERED/ORDERED.
48 (unsigned_comparison): Likewise.
49 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
50 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
51 (ix86_expand_fp_compare): Use them. Take scratch as argument,
52 update all callers. Handle all 8 unordered operators.
53 (ix86_expand_setcc): Lose the unordered argument, update all callers.
54 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
55 * config/i386/i386.h (PREDICATE_CODES): Update.
56 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
57 (ix86_expand_branch, ix86_expand_setcc): Update.
58 * config/i386/i386.md (sunordered, sordered): New.
59 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
60 (bunordered, bordered): New.
61 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
62 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
63 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
65 2000-04-09 Philip Blundell <philb@gnu.org>
67 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
69 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
71 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
72 fix_truncxfhi2): New patterns.
73 * i386.c (output_fix_trunc): Handle converting to HImode.
75 2000-04-08 Alex Samuel <samuel@codesourcery.com>
77 * ssa.c (convert_to_ssa): Eliminate dead code when calling
79 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
80 (for_each_successor_phi): Change parameter to basic_block.
81 (coalesce_regs_in_successor_phi_nodes): Likewise.
82 (coalesce_regs_in_copies): Likewise.
83 (compute_coalesced_reg_partition): Use basic_block instead of index.
84 * rtl.h (convert_to_ssa): Delete.
85 (convert_from_ssa): Likewise.
86 (successor_phi_fn): Likewise.
87 (for_each_successor_phi): Likewise.
88 (in_ssa_form): Likewise.
89 * basic-block.h (convert_to_ssa): Moved from rtl.h.
90 (convert_from_ssa): Likewise.
91 (successor_phi_fn): Likewise.
92 (in_ssa_form): Likewise.
93 (for_each_successor_phi): Likewise. Change parameter to basic_block.
94 * flow.c (calculate_global_regs_live): Pass a basic_block to
95 for_each_successor_phi.
97 2000-04-08 Richard Henderson <rth@cygnus.com>
99 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
100 was modified in the current insn.
102 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
104 * arm/thumb.md: Delete.
105 * arm/thumb-protos.h: Delete.
107 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
109 Merge changes from merged-arm-thumb-backend-branch onto trunk.
111 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
113 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
116 * arm.md (nop): Use the standard RTL expression. Don't code as a
118 (*arm_nop, *thumb_nop): Delete.
120 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
121 constants. Use casts instead.
122 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
123 output_multi_immediate, arm_poke_function_name): Likewise.
124 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
125 MASK_RETURN_ADDDR): Likewise.
127 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
129 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
132 * arm.md (eh_epilogue): New function.
133 * arm.h (struct machine_function): Move to here ...
134 * arm.c: ... from here.
135 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
136 (thumb_exit): Extra parameter eh_ofs. All callers changed.
137 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
139 2000-03-30 Nick Clifton <nickc@cygnus.com>
141 * config/arm/semi.h (ASM_SPEC): Restore definition.
142 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
144 * config/arm/elf.h (ASM_SPEC): Restore definition.
145 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
147 * config/arm/arm.h (ASM_SPEC): Remove definition.
148 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
150 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
152 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
154 2000-03-24 Nick Clifton <nickc@cygnus.com>
156 Various formating tidyups, elimination of compile time
157 warnings and synchronisation with internal sources:
159 * config/arm/arm-protos.h (assemble_align): Add prototype.
160 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
161 (gen_comapre_reg): Rename to arm_gen_compare_reg.
162 (arm_return_addr_rtx): Rename to arm_return_addr.
164 * config/arm/arm.c: Include except.h.
165 Define shorter typenames for strict minipool_node and struct
167 (arm_return_in_memory): For WinCE return all structures <= 32 bits
169 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
170 (gen_comapre_reg): Rename to arm_gen_compare_reg.
172 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
174 (ASM_SPEC): Define if not already defined.
175 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
177 * config/arm/arm.md: Rename references to gen_rotated_half_load to
178 arm_gen_rotated_half_load, and references to gen_comapre_reg to
180 (indirect_jump): Only accept register operands.
181 (load_indirect_jump): Keep this pattern since combine can generate
184 * config/arm/coff.h: Include aout.h.
185 (MULTILIB_DEFAULTS): Only define if not already defined.
187 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
188 into arm.h (so that COFF ports can support thumb based aliases).
189 (ASM_SPEC): Move definition into arm.h
191 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
193 (ASM_SPEC): Move definition to arm.h
195 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
197 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
198 for entries in the .bss section
200 2000-03-23 Nick Clifton <nickc@cygnus.com>
202 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
203 to thumb_far_jump_used_p.
205 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
206 single integer parameter.
208 * config/arm/arm.c (struct machine_function): Add two new
209 fields, 'far_jump_used' and 'arg_pointer_live'.
210 (thumb_far_jump_used_p): Once the decision has been made that
211 far jumps might be used, always return true.
212 If being called from the initial elimination offset macro then
213 do not bother to perform the test if the arg pointer is not
215 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
216 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
218 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
220 * arm.c (output_return_instruction): Handle more cases where we can
221 return from a function with an ldr instruction.
222 (arm_output_epilogue): Likewise.
224 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
225 if we need to push a large stack frame and there are no callee-saved
228 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
229 in ARM code if the frame pointer has been eliminated.
231 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
232 unspec_volatile arguments to avoid duplicates.
233 (consttable_1, consttable_2): Fixes for big-endian mode.
235 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
238 Re-write constant pool code.
239 * arm.c (minipool_node, minipool_fix): New types.
240 (minifix): Delete type.
241 (arm_add_minipool_constant): Delete.
242 (arm_compute_minipool_offsets, arm_find_barrier,
243 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
244 (get_jump_table_size): Now returns HOST_WIDE_INT.
245 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
247 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
248 (assign_minipool_offsets, arm_print_value): Likewise.
249 (dump_minipool): Rewrite.
250 (arm_barrier_cost): New function.
251 (create_fix_barrier): New function.
252 (push_minipool_barrier): New function.
253 (push_minipool_fix): Record additional information about the fixup
255 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
256 check the mode of what needs fixing.
257 (arm_reorg): Rewrite.
259 2000-03-08 Nick Clifton <nickc@cygnus.com>
261 * config/arm/arm.md (indirect_jump): Force constant addresses into
264 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
266 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
268 2000-02-24 Nick Clifton <nickc@cygnus.com>
270 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
271 adjust is word aligned.
272 (thumb_expand_epilogue): Make sure that stack adjust is word
275 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
277 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
279 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
280 pointer relative addresses.
282 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
284 * arm.c (find_barrier): Find the last barrier within the allowed
287 2000-02-09 Nick Clifton <nickc@cygnus.com>
289 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
291 2000-02-09 Nick Clifton <nickc@cygnus.com>
293 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
294 ARM_FUNCTION_PROFILER.
296 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
297 ARM_FUNCTION_PROFILER.
299 * config/arm/linux-oldld.h: Imported from mainline sources.
301 2000-02-07 Nick Clifton <nickc@cygnus.com>
303 * config/arm/lib1funcs.asm: Merge in thumb functions from
306 * config/arm/lib1thumb.asm: Delete.
308 2000-02-04 Nick Clifton <nickc@cygnus.com>
310 * config/arm/arm.c: Sychronised with current Red hat local
312 * config/arm/arm.h: Ditto.
313 * config/arm/arm-protos.h: Ditto.
315 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
317 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
319 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
322 2000-02-02 Nick Clifton <nickc@cygnus.com>
324 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
326 * config/arm/arm.md (epilogue): Fix rtl checking abort because
327 (return) was emited using an emit_insn() call.
329 2000-01-31 Nick Clifton <nickc@cygnus.com>
331 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
333 (thumb_exit): Move frame pointer back into hard frame pointer
334 register if backtracing is being used.
336 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
338 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
341 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
343 * config/arm/arm.md (neg_pool_offset): Provide default for new
345 (arm_movsi_insn): Add neg_pool_offset attribute.
346 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
347 rtx for the insn that starts the scan and an unsigned long for its
348 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
349 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
350 instructions in *PINSERTED.
351 (struct minipool_fixup): Add MIN_ADDRESS elt.
352 (sort_fixups): Compute it.
353 (arm_reorg): Changes to support inserting pools before the insn to be
356 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
358 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
359 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
360 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
362 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
364 * config/arm/semi.h (TARGET_VERSION): Do not define if already
366 (TARGET_DEFAULT): Do not define if already defined.
368 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
370 * config/arm/arm.md (anddi3): Allow disjoint source operands.
371 (iordi3): Allow disjoint source operands.
372 (xordi3): Allow disjoint source operands.
373 (negdi2): Permit construction for ARM and Thumb.
374 (arm_negdi2): Renamed version of old negdi2 pattern.
375 (thumb_negdi2): New pattern: Only permit non-overlapping
376 source and destination.
378 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
380 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
381 scratch low register so that it will not be deleted.
383 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
385 * config/arm/pe.h (ARM_PE): Define.
387 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
388 interfacearm attribute if this is a PE toolchain.
389 (output_return_instruction): Do not emit anything if the function
390 has the naked attribute set.
391 (is_called_in_ARM_mode): If the function has the interfacearm
392 attribute then return true.
393 (thumb_expand_prologue): Do not generate a prologue for naked
395 (thumb_expand_epilogue): Do not generate an epilogie for a naked
397 (output_thumb_prologue): Do not bother if the function is naked.
398 Strip PE encoding from function name before emitting.
400 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
402 * arm.md (pic_load_addr): Fix constraints.
404 * arm.md (casesi_insn): Fix mis-applied patch.
406 * arm.md ("core" function unit): Add rules for single- and
408 (All TARGET_THUMB patterns): Add "type" attribute information
410 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
411 the following insn is a CALL.
413 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
415 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
416 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
417 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
419 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
421 * config/arm/linux-gas.h: oops - this file was missed out when the
422 branch was created...
424 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
426 * thumb.c: Deleted. Move contents to ...
428 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
430 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
433 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
434 declare a prototype for asm_output_align();
436 * arm.c (thumb_condition_code): Delete.
437 (arm_print_operand): Always use arm_condition_code array.
439 * arm.c (thumb_return_addr_rtx): Delete.
440 (arm_save_machine_status, arm_restore_machine_status): Delete.
441 (arm_init_machine_status, arm_mark_machine_status): New functions.
442 (arm_init_expanders): Update accordingly.
443 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
444 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
445 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
447 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
449 * configure.in : Fix arm-*-aout target to use new t-arm-aout
451 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
454 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
456 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
457 stack backtrace structure.
459 * config/arm/arm-protos.h: Add prototypes for functions defined in
462 * config/arm/arm.c (arm_override_options): Fix selection of
463 attributes of default processor.
465 * config/arm/coff.h: Delete needless #include.
467 * config/arm/pe.c: Delete unused code.
469 * config/arm/pe.h (CPP_DEFINES): Delete
470 (SUBTARGET_CPP_SPEC): Define.
471 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
473 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
475 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
477 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
479 (CAN_DEBUG_WITHOUT_FP): Define.
480 (FIXED_REGISTERS): Make r11 call-saved.
481 (CALL_USED_REGISTERS): Likewise.
482 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
483 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
484 frame-pointer is required.
485 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
486 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
487 if the target normally needs a stack frame in non-leaf functions.
488 (use_return_insn): Correct logic for determining when a return
489 instruction can be used.
490 (output_return_instruction): Handle the frame-pointer register as
491 a normal register when not TARGET_APCS_FRAME.
492 (arm_output_prologue): Likewise.
493 (arm_output_epilogue): Likewise.
494 (output_func_epilogue): Likewise.
495 (arm_expand_prologue): Likewise.
496 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
498 * arm.c (use_return_insn): No need to check floating point regs if
500 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
501 the code of value stored in the minipool array.
502 (arm_add_minipool_constant): Likewise.
504 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
506 * basic-block.h (conflict_graph_enum_fn): K&R fix.
508 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
510 * tree.c (tree_expr_nonnegative_p): New function.
512 * tree.h (tree_expr_nonnegative_p): Declare.
514 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
515 elide some sign_compare warnings.
516 (build_conditional_expr): Likewise.
518 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
520 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
522 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
523 * i386.c (print_operand): Use the proper suffix for a 387 HImode
524 operand. Abort if a 387 operand has an unsupported size.
526 2000-04-08 Neil Booth <NeilB@earthling.net>
528 * cppexp.c (parse_charconst): Null does not end character
530 * cppinit.c (ISTABLE): Null character handled as whitespace.
531 * cpplex.c (null_warning): new function.
532 (skip_string): Emit warning if nulls encountered.
533 (_cpp_skip_hspace): Emit warning if nulls encountered.
534 (_cpp_lex_token): Emit warning if nulls encountered. Drop
538 2000-04-07 Richard Henderson <rth@cygnus.com>
540 * flow.c (loop_depth): Remove.
541 (reg_next_use, cc0_live, mem_set_list): Replace with ...
542 (struct propagate_block_info): New.
543 (life_analysis): Don't allocate reg_next_use.
544 (propagate_block_delete_insn): Break out of propagate_block.
545 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
546 (propagate_block_delete_libcall): Likewise.
547 (propagate_block): Create a propagate_block_info struct to pass
548 to subroutines. Allocate one not two temporary regsets. Don't
549 clobber memory for const calls. Look for clobbers in
550 CALL_INSN_FUNCTION_USAGE.
551 (mark_set_regs): Recognize COND_EXEC.
552 (mark_set_reg): Break out of mark_set_1.
553 (mark_used_reg): Break out of mark_used_regs.
554 (mark_used_regs): Recognize COND_EXEC.
555 (insn_dead_p): Use propagate_block_info struct.
556 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
557 (find_auto_inc, try_pre_increment_1): Likewise.
558 (print_rtl_with_bb): Dump regs live at end too.
559 (count_reg_sets_1): Pass in loop_depth.
560 (count_reg_sets, count_reg_references): Likewise.
561 (recompute_reg_usage): Provide it.
563 2000-04-07 Richard Henderson <rth@cygnus.com>
565 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
568 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
570 * cpplib.c (do_elif): Skip the rest of the line if we're
571 not going to bother evaluating it.
572 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
573 to avoid pointless calls to the lexer.
575 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
577 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
579 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
581 * calls.c (expand_call): emit_queue if we're trying a sibcall.
583 2000-04-07 Jakub Jelinek <jakub@redhat.com>
585 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
587 2000-04-06 Geoff Keating <geoffk@cygnus.com>
589 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
590 crtend so they can be multilibbed.
591 (STAGESTUFF): Remove s-crt and s-crtS.
593 2000-04-07 Richard Henderson <rth@cygnus.com>
595 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
596 if we discover we need a pseudo and no_new_pseudos is true.
597 * config/alpha/alpha.md (ne:DI insn): New.
598 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
600 2000-04-07 Richard Henderson <rth@cygnus.com>
602 * rtl.def (COND_EXEC): New.
603 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
604 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
606 * genconfig.c (have_cond_arith_flag): Remove.
607 (have_cond_exec_flag): New.
608 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
609 (main): Print HAVE_conditional_execution.
611 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
612 (sched_analyze_insn, print_pattern): Likewise.
613 * reload.c (find_equiv_reg): Likewise.
614 * rtlanal.c (reg_referenced_p): Likewise.
615 (note_stores, dead_or_set_regno_p): Likewise.
616 (reg_overlap_mentioned_p): Rewrite to use a switch.
618 * ggc.h (struct rtx_def): Forward declare.
620 * print-rtl.c (debug_rtx_range): New.
621 * rtl.h (debug_rtx_range): Declare.
623 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
625 * gcse.c (gcse_main): Don't rebuild the CFG here.
626 (delete_null_pointer_checks): Likewise.
627 * ssa.c (convert_to_ssa): Likewise.
628 * toplev.c (rest_of_compilation): Do it here instead. Combine
629 sequential calls to TIMEVAR. Consistently use `insns' instead of
630 `get_insns()'. Always split insns after reload when optimizing.
632 * basic-block.h (merge_blocks_nomove): Declare.
633 (tidy_fallthru_edge): Declare.
634 * flow.c (merge_blocks_nomove): Document as merging into previous
635 blocks. Remove cruft from between blocks; remove all edges out of A.
636 (tidy_fallthru_edge): Export.
638 2000-04-06 Alex Samuel <samuel@codesourcery.com>
640 * ssa.c (compute_conservative_reg_partition): Declare with
642 * toplev.c (clean_dump_file): Remove previously-deleted function
643 inadvertantly merged back in.
644 * conflict.c (conflict_graph_add): Use a single call to
645 htab_find_slot to look up and insert.
647 2000-04-06 Richard Henderson <rth@cygnus.com>
649 * genrecog.c (*): Rename _last_insn to last_insn.
650 (make_insn_sequence): Set the position of the peephole2 C test
651 to be at the last insn.
653 2000-04-06 Richard Henderson <rth@cygnus.com>
655 * flow.c (compute_flow_dominators): Free worklist.
657 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
659 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
661 2000-04-06 Alex Samuel <samuel@codesourcery.com>
663 * rtl.h (INSN_P): New macro.
664 (successor_phi_fn): New typedef.
665 (for_each_successor_phi): New prototype.
666 (in_ssa_form): New variable.
667 (PHI_NODE_P): Likewise.
668 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
669 phi nodes in successors.
670 (mark_used_regs): Add PHI case.
671 (set_phi_alternative_reg): New function.
672 (life_analysis): Assert that dead code elimination is not selected
674 * toplev.c (to_ssa_time): New variable.
675 (from_ssa_time): Likewise.
676 (compile_file): Zero to_ssa_time and from_ssa_time.
677 Print time to convert to and from SSA.
678 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
679 (print_time): Compute percent fraction as integer.
680 * ssa.c (PHI_NODE_P): Moved to rtl.h.
681 (convert_to_ssa): Check if we're already in SSA.
682 Don't eliminate dead code in life_analysis.
683 Rerun flow and life analysis at bottom.
684 (eliminate_phi): Use canonical regnos when adding nodes.
685 (mark_reg_in_phi): New function.
686 (mark_phi_and_copy_regs): Likewise.
687 (convert_from_ssa): Rerun life analysis at top.
688 Use coalesced partition.
689 Check for removing a phi node at the end of the block.
690 (compute_coalesced_reg_partition): New function.
691 (coalesce_regs_in_copies): Likewise.
692 (coalesce_reg_in_phi): Likewise.
693 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
694 (for_each_successor_phi): Likewise.
695 (rename_context): New struct.
696 (rename_block): Use a rename_context with rename_insn_1. When
697 renaming sets of a subreg, emit a copy of the entire reg first.
698 (rename_insn_1): Treat data as a rename_context *. Save current
700 (rename_set_data): Add field set_insn.
701 * Makefile.in (HASHTAB_H): Move up in file.
702 (OBSTACK_H): New macro.
703 (collect2.o): Use OBSTACK_H in dependencies.
704 (sdbout.o): Likewise.
705 (emit-rtl.o): Likewise.
706 (simplify-rtx.o): Likewise.
707 (fix-header.o): Likewise.
708 (OBJS): Add conflict.o.
709 (conflict.o): New rule.
710 * basic-block.h: Include partition.h.
711 (conflict_graph): New typedef.
712 (conflict_graph_enum_fn): Likewise.
713 (conflict_graph_new): New prototype.
714 (conflict_graph_delete): Likewise.
715 (conflict_graph_add): Likewise.
716 (conflict_graph_conflict_p): Likewise.
717 (conflict_graph_enum): Likewise.
718 (conflict_graph_merge_regs): Likewise.
719 (conflict_graph_print): Likewise.
720 (conflict_graph_compute): Likewise.
721 * conflict.c: New file.
723 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
725 * tlink.c (read_repo_files): Don't look for .rpo info for
728 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
730 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
732 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
734 * config/sh/lib1funcs.asm (___udivsi3_i4):
735 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
736 only depends on FMOVD_WORKS.
738 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
740 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
741 make double constant 8-byte aligned.
743 2000-04-06 Jakub Jelinek <jakub@redhat.com>
745 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
746 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
747 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
748 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
749 Accept storing GENERAL_REGS into offsetable memory.
750 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
751 building a TFmode constant other than 0.0L into GENERAL_REGS.
753 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
755 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
757 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
759 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
760 (macro_cleanup): No need to cast pbuf->macro.
761 (collect_expansion): Use _cpp_get_define_token. Goto done if
762 it returns VSPACE. Remove check for trailing space after
764 (_cpp_create_definition): Don't diddle flags here. Return
766 (unsafe_chars): Handle c1 being EOF.
767 (push_macro_expansion): Use unsafe_chars for both accidental-paste
768 checks. Don't push the buffer till after we're done with
770 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
771 (PEEKN, FORWARD, GETC, PEEKC): Use them.
772 (cpp_push_buffer): Don't set new->alimit. Set new->mark
774 (_cpp_parse_assertion): Don't NUL terminate.
775 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
776 hspace before calling _cpp_parse_assertion. Remove all sets
777 of only_seen_white. Treat '\f' as hspace. Don't do anything
778 special with '\n' here.
779 (maybe_macroexpand): Handle T_EMPTY hash entries without
780 pushing a buffer at all.
781 (cpp_get_token): Handle clearing only_seen_white here. Handle
782 incrementing the line number here. Clear
783 potential_control_macro as well as only_seen_white, if
785 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
786 (_cpp_get_define_token): New function, basically like
787 _cpp_get_directive_token was but doesn't eat horizontal space.
788 Don't do anything with only_seen_white here.
789 (_cpp_get_directive_token): Just call _cpp_get_define_token
790 repeatedly till it returns non-hspace.
792 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
793 (conditional_skip, skip_if_group): Return int.
794 (DIRECTIVE_TABLE): Change origin of all conditional directives
796 (TRAD_DIRECT_P): New macro.
797 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
798 an error for a bogus directive, unless -lang-asm. Use
799 TRAD_DIRECT_P. Loop calling handler functions till one returns
801 (get_macro_name): Don't diddle flags here.
802 (do_define): Diddle flags here. Use _cpp_get_directive_token.
803 Create T_EMPTY nodes for #define macro /* nothing */.
804 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
805 Use hp->name when calling pass_thru_directive.
806 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
807 Return the result of conditional_skip and/or skip_if_group.
808 Don't call _cpp_output_line_command.
809 (consider_directive_while_skipping): Use _cpp_get_directive_token.
810 Issue -Wtraditional warnings as appropriate. Don't complain
811 about unrecognized directives. If we are to stop skipping,
812 return the number of the directive that ended the skip.
813 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
814 expansion and line commands while skipping. Return the result
815 of consider_directive_while_skipping, if nonzero.
816 (do_endif): Just set potential_control_macro here.
817 (validate_else): Use _cpp_get_directive_token.
818 (do_assert, do_unassert): Don't save pointers into the
819 token_buffer across calls to the lexer. Use
820 _cpp_get_directive_token.
822 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
823 pointer, not an offset. Replace 'data', which was a generic
824 pointer, with 'macro', which points to a struct hashnode.
825 (cpp_reader): Add 'potential_control_macro' pointer.
826 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
827 (CPP_BUF_GET, CPP_FORWARD): Delete.
828 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
829 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
830 ACTIVE_MARK_P): Update.
831 (_cpp_get_define_token): New internal function.
832 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
834 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
836 * configure.in: And here.
837 * configure: Regenerate.
838 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
839 --enable-libstdcxx-v3 is passed at configure time.
840 * config.h.in: Regenerate.
842 2000-04-05 Mark Mitchell <mark@codesourcery.com>
844 * final.c (final): Use xcalloc to allocate line_note_exists.
845 * function.c (free_after_compilation): Free the temp_slots.
846 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
847 (combine_temp_slot): Free temp_slots when they get combined.
848 (purge_addressof): Fix typo in comment.
849 * stmt.c (mark_goto_fixup): Mark the fixup itself.
850 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
852 * ggc.h: Include varray.h.
853 (ggc_pending_trees): Declare.
854 (ggc_mark_tree_children): Remove declaration.
855 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
856 * ggc-common.c (ggc_pending_trees): New variable.
857 (ggc_mark_roots): Call ggc_mark_trees.
858 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
859 the ggc_pending_trees.
860 * Makefile.in (GGC_H): New variable. Use it throughout in place
863 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
865 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
868 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
870 * sh.c (sh_insn_length_adjustment): New function.
871 * sh-protos.h (sh_insn_length_adjustment): Declare.
872 * sh.h (ADJUST_INSN_LENGTH): Use it.
874 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
876 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
877 from the insn where REG_RETVAL is added.
878 (emit_no_conflict_block): Ditto.
880 * md.texi (Standard Names): Clarify when movX is needed.
882 * combine.c (simplify_comparison) [MINUS]: Do not replace
883 all (op (minus A B) 0) with (op A B).
885 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
886 J"orn Rennecke <amylaar@cygnus.co.uk>
888 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
889 (block_lump_real): Likewise.
891 2000-04-05 Chris Demetriou <cgd@netbsd.org>
893 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
894 remaining non-zero debugging masks.
896 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
898 * basic-block.h (verify_flow_info): Declare.
899 (flow_loop_outside_edge_p): Declare.
900 * flow.c (verify_flow_info): Remove declaration.
901 (clear_log_links, flow_loop_outside_edge_p): Likewise.
903 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
905 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
908 2000-04-05 Jakub Jelinek <jakub@redhat.com>
910 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
911 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
912 seqdi_zero_trunc+1): Allow splits only if registers are
915 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
917 * acconfig.h: Add HAVE_GAS_HIDDEN.
918 * config.in: Regenerated.
919 * configure.in: Add test for .hidden pseudo-op in gas.
920 * configure: Regenerated.
921 * crtstuff.c: Include auto-host.h.
922 Emit additional .hidden pseudo-op for __dso_handle if the
923 assembler knows about it.
925 2000-04-04 Philippe De Muyter <phdm@macqel.be>
927 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
928 before freeing argnames.
929 * cpplib.c (do_ifndef): Cast return value of xstrdup.
931 2000-04-05 Michael Meissner <meissner@redhat.com>
933 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
934 Walton <jonboy@gordian.com> to make memory references with update
935 work wtih -mregnames.
937 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
939 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
940 (regrename_optimize): Rename variables `def_uses' and
941 `ext_basic_blocks' to avoid conflicts with similarly named
942 typedefs in traditional C.
944 * calls.c (initialize_argument_information): Fix typo in previous
947 2000-04-04 Richard Henderson <rth@cygnus.com>
949 * regrename.c (consider_available): Test fixed_regs not
950 PIC_OFFSET_TABLE_REGNUM.
952 2000-04-04 Geoff Keating <geoffk@cygnus.com>
954 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
956 (CRTSTUFF_T_CFLAGS_S): Delete definition.
957 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
958 (ENDFILE_LINUX_SPEC): Always use crtend.
959 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
960 (powerpc-*-linux-gnu): Likewise.
961 * configure: Regenerate.
963 * config/rs6000/eabi.h: Don't include sysv4.h.
964 (MULTILIB_DEFAULTS): Don't define.
965 * config/rs6000/eabiaix.h: Don't include eabi.h.
966 * config/rs6000/eabile.h: Delete.
967 * config/rs6000/eabilesim.h: Delete.
968 * config/rs6000/eabisim.h: Don't include eabi.h.
969 * config/rs6000/linux.h: Don't include sysv4.h.
970 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
971 (MULTILIB_DEFAULTS): Don't redefine.
972 * config/rs6000/rtems.h: Don't include eabi.h.
973 * config/rs6000/sol2.h: Don't include sysv4le.h.
974 * config/rs6000/sysv4le.h: Don't include sysv4.h.
975 * config/rs6000/t-ppc: Delete.
976 * config/rs6000/t-ppcgas: Correct comment.
977 * config/rs6000/t-ppcos: Correct comment. Don't build
978 multilibs for -fPIC, rather use -fPIC -mstrict-align
980 * config/rs6000/t-ppc: Delete.
981 * config/rs6000/vxppc.h: Don't include sysv4.h.
982 * config/rs6000/vxppcle.h: Delete.
983 * configure.in: Use multiple header files for p2pc ELF targets
984 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
985 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
986 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
987 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
988 always available for these platforms.
990 2000-04-04 Richard Henderson <rth@cygnus.com>
992 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
994 2000-04-04 Stan Cox <scox@cygnus.com>
996 * Makefile.in: Add rules for regrename.o
997 * regrename.c: New file.
998 * rtl.h (regrename_optimize): Add prototype.
999 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1000 (compile_file, decode_d_option): Add support for -frename-registers.
1001 (rest_of_compilation): Call regrename_optimize.
1002 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1005 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1007 * Makefile (gccbug): New target.
1008 (doc): Depend on it.
1009 * gcc.texi (Bugs): Link subnodes.
1011 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1012 Document severities, priorities, and classes in bug form.
1014 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
1016 * cpplex.c (trigraph_map, speccase): Combine into single
1018 (NORMAL, NONTRI): New macros.
1019 (_cpp_read_and_prescan): Change to use unified table. Use
1020 is_hspace to test for whitespace.
1022 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1023 definition that doesn't provoke the "empty body in an
1024 if-statement" warning.
1026 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
1028 * builtins.c (expand_builtin_strlen): Force the source to
1029 be a memory address.
1031 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1033 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1035 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1037 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1038 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
1039 (ECF_IS_CONST): Rename to ECF_CONST.
1040 (special_function_p): Make static, change interface.
1041 (flags_from_decl_or_type, try_to_integrate): Break out from ...
1042 (expand_call) ... here; convert number of variables to flags.
1043 (emit_library_call_vlue_1): Likewise.
1044 (setjmp_call_p): New function.
1045 (initialize_argument_information): Accepts flags as argument;
1047 (precompute_arguments): Likewise.
1048 * tree.h (special_function_p): Remove.
1049 (setjmp_call_p): Add prototype.
1051 2000-04-04 Jakub Jelinek <jakub@redhat.com>
1053 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1054 so that addresses are offsetable by up to 16 bytes.
1055 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1056 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1059 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1060 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1061 (movsf): Don't force any constant to memory if target is integer
1063 Move fp_zero_operand check below the const0_rtx check.
1064 (movtf): Likewise. Also allow fp_zero_operand for stores into
1066 (movdf): Likewise. Also allow fp_zero_operand for stores into
1067 memory and into integer hard registers.
1068 (clear_df, clear_dfp, movdf_const_intreg_sp32,
1069 movdf_const_intreg_sp64): Remove.
1070 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1072 (movdf_no_e_insn_v9_sp32): New pattern.
1073 (movdf_insn_v9only): Remove.
1074 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1075 (movdf_insn_sp64): Remove.
1076 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1077 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1078 (following splits): Rewrite conditions. Add two new splits
1079 for storing 0.0 into memory and registers.
1080 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1081 (movtf_insn_sp32): Redo constraints and conditions.
1082 (movtf_insn_vis_sp32): New pattern.
1083 (movtf_no_e_insn_sp32): Redo constraints and conditions.
1084 (movtf_insn_hq_sp64): Likewise.
1085 (movtf_insn_hq_vis_sp64): New pattern.
1086 (movtf_insn_sp64): Redo constraints and conditions.
1087 (movtf_insn_vis_sp64): New pattern.
1088 (movtf_no_e_insn_sp64): Redo constraints and conditions.
1089 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1091 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1092 -mvis or -m64 to take down the number of various reload patterns.
1094 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
1096 * pa/pa-64.h: New file.
1097 * pa/pa64-regs.h: New file.
1098 * pa/pa64-start.h: New file.
1099 * pa/t-pa64: New file.
1100 * pa/xm-pa64hpux.h: New file.
1102 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1104 * sparc.c (output_restore_regs): Prototype.
1105 (sparc_emit_float_lib_cmp): Constification.
1107 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1109 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1112 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1113 (get_value_hash, hash_rtx): Likewise.
1115 * ssa.c (compute_conservative_reg_partition): Prototype.
1117 * tree.c (mark_hash_entry): Prototype.
1119 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
1121 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1122 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1123 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1125 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1126 * objc/lang-specs.h: Likewise.
1128 2000-04-03 Neil Booth <NeilB@earthling.net>
1130 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
1131 and SYNTAX_ERROR2. Replace `' in messages with ''.
1132 (op_to_str): Make re-entrant.
1133 (_cpp_parse_expr): Implement new error macros. Use | rather
1134 than || to logically or 2 boolean integers. Simply expression
1135 checking we have a left operand iff needed.
1137 2000-04-03 Nick Clifton <nickc@cygnus.com>
1139 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1141 2000-04-03 Philip Blundell <philb@gnu.org>
1143 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1145 2000-04-03 Felix Lee <flee@cygnus.com>
1147 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
1148 (run_shell): Use it.
1150 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
1152 * Makefile.in (stmp-int-hdrs): Make include subdir here...
1153 (stmp-fixproto): ...rather than here.
1155 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
1157 * pa.c (print_operand): Compute 'base' only inside the code paths
1160 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
1162 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1165 2000-04-03 Philipp Thomas <pthomas@suse.de>
1167 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1169 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
1171 * Makefile.in (alias.o): Depend on $(TREE_H).
1173 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
1175 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1177 * cpplib.c (_cpp_handle_directive): Improve warnings for
1178 traditional C and indented directives.
1180 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1181 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1182 fixinc/inclhack.def: Indent the # of #include_next one space.
1183 * cp/rtti.c: Un-indent #if and #endif.
1185 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1186 syntax error, but an error has already been printed.
1187 * cpplex.c (_cpp_parse_assertion): Give a more specific error
1188 message when called with nothing remaining on the line.
1189 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1190 OTHER token, not an ASSERTION.
1191 * cpplib.c (do_assert): When we create a 'base' node, clear
1192 its aschain pointer.
1194 2000-04-02 Neil Booth <NeilB@earthling.net>
1196 * cppexp.c: New typedef op_t. struct operation and struct
1197 token updated to use it.
1198 (op_to_str): New function.
1199 (_cpp_parse_expr): Error messages modified to use op_to_str.
1201 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1203 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1204 before checking MUST_PASS_IN_STACK.
1206 2000-04-02 Neil Booth <NeilB@earthling.net>
1208 * cppexp.c: New FINISHED dummy token. Combine operator initial
1209 flags and initial priority into a single constant. New
1210 EQUALITY macro. New operator flag SHORT_CIRCUIT.
1211 (_parse_cpp_expr): Implement new constants. Take left operand
1212 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
1213 parse indicated by reducing FINISHED token. Remove new lines
1214 from cpp_error messages.
1216 2000-04-01 Mark Mitchell <mark@codesourcery.com>
1218 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1221 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
1223 * cpplib.c: Include symcat.h. Add 'origin' field to struct
1224 directive. Add origin values to DIRECTIVE_TABLE. Generate
1225 the strings and function names on the fly. Take the #sccs
1226 entry out of the table if SCCS_DIRECTIVE is not defined.
1227 (_cpp_handle_directive): Decide if the # was at the beginning
1228 of the line here. Issue -pedantic warnings for extended
1229 directives here. Warn about K+R directives with the #
1230 indented, and C89/extended directives with the # not indented,
1232 (do_import, do_include_next, do_warning, do_ident, do_sccs,
1233 do_assert, do_unassert): Don't issue pedantic warning here.
1235 * cpphash.h: Add CPP_WTRADITIONAL macro.
1236 * cpplib.h (struct cpp_options): Rename warn_stringify to
1237 warn_traditional; update comments.
1238 * cppinit.c (handle_option): Set warn_traditional not
1240 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1241 CPP_WTRADITIONAL (pfile).
1242 * cpplex.c (_cpp_lex_token): Don't decide if directives should
1243 be ignored in -traditional mode here.
1245 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1246 to initialize speccase[] and trigraph_map[]. Delete all
1247 references to pfile->input_speccase. Always treat '?' as a
1248 special character. Remove table-initialization code from
1249 _cpp_init_input_buffer.
1251 * cpplib.h (struct cpp_reader): Remove input_speccase field.
1252 * cppinit.c (cpp_cleanup): Don't free input_speccase.
1254 2000-04-01 Richard Henderson <rth@cygnus.com>
1256 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1257 (mostlyclean): Likewise.
1259 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1260 (struct dump_file_info, enum dump_file_index, dump_file): New.
1261 (open_dump_file): Take a dump_file_index not a suffix, and a decl
1262 not a string. Clean out file if we havn't yet done so. Do nothing
1263 if the dump isn't enabled.
1264 (close_dump_file): Do nothing if the dump isn't open. Dump
1265 graph data if requested.
1266 (dump_rtl, clean_dump_file): Remove.
1267 (compile_file): Don't clean the dump files. Only finalize .bp dump
1268 if flag_test_coverage or flag_branch_probabilities. Only finalize
1269 .combine dump if optimizing. Iterate over dump_file to finalize the
1271 (rest_of_compilation): Update for open_dump_file/close_dump_file.
1272 Convert all uses of dump_rtl.
1273 (decode_d_option): Iterate over dump_file to implement 'a' and to
1274 locate pass-specific dumps.
1276 2000-04-01 Neil Booth <NeilB@earthling.net>
1278 * cppexp.c: Redefine priority constants.
1279 (_cpp_parse_expr): Replace left and right priority scheme with
1280 single priority logic. Move LOGICAL to same place as COMPARE.
1281 Remove bogus check for multiple unary +/- operators.
1283 2000-04-01 Neil Booth <NeilB@earthling.net>
1285 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1286 within the switch statement. Binary operations break out of
1287 the switch naturally. '(' tokens handled by forcing
1288 immediate shift. ')' handled by forcing immediate reduce to
1289 the previous '('. New error messages.
1291 2000-03-31 Geoff Keating <geoffk@cygnus.com>
1293 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1294 part', it's already in use. Use %K instead. Add a return at the
1295 end of what is now %K.
1296 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
1298 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
1300 * builtins.c (expand_builtin_apply): Pass proper parameters to
1301 allocate_dynamic_stack_space.
1302 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
1303 update stack_pointer_delta; do not update arg_size_so_far.
1304 (compute_argument_block_size): Use stack_delta instead of
1305 stack_pointer_pending and arg_size_so_far.
1306 (expand_call): Add sanity checking for stack_pointer_delta;
1307 save and restore stack_pointer_delta for SIB, use
1308 stack_pointer_delta for alignment; do not update arg_space_so_far.
1309 (emit_library_call_value): Use stack_pointer_delta for alignment.
1310 (store_one_arg): Do not update arg_space_so_far.
1311 * explow.c (adjust_stack, anti_adjust_stack): Update
1312 stack_pointer_delta.
1313 (allocate_dynamic_stack_space): Add sanity checking for
1314 stack_pointer_delta.
1315 * expr.c (init_expr, clear_pending_stack_adjust): Clear
1316 stack_pointer_delta.
1317 (emit_push_insn): Update stack_pointer_delta.
1318 * function.h (struct expr_status): Add x_stack_pointer_delta;
1319 remove x_arg_space_so_far.
1320 (arg_space_so_far): Remove.
1321 (stack_pointer_delta): New macro.
1323 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
1325 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1326 Reorder struct cpp_options and struct cpp_reader for better
1327 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
1328 takes two args. Change all 'char' flags to 'unsigned char'.
1329 Move show_column flag into struct cpp_options. Don't
1330 prototype cpp_options_init.
1331 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1332 cppinit.c, cpplex.c, cpplib.c:
1333 Replace CPP_OPTIONS (pfile)->whatever with
1334 CPP_OPTION (pfile, whatever), and likewise for
1335 opts = CPP_OPTIONS (pfile); ... opts->whatever;
1337 * cppinit.c (merge_include_chains): Take a cpp_reader *.
1338 Extract CPP_OPTION (pfile, pending) and work with that
1340 (cpp_options_init): Delete.
1341 (cpp_reader_init): Turn on on-by-default options here.
1342 Allocate the pending structure here.
1343 (cl_options, enum opt_code): Define these from the same table,
1344 kept in a large macro. Add -fshow-column and -fno-show-column
1347 * cpperror.c (v_message): If show_column is off, don't print
1350 * cppmain.c: Update for new interface.
1351 * fix-header.c: Likewise.
1353 2000-03-30 Geoff Keating <geoffk@cygnus.com>
1355 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1357 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1358 are passed to any invocation of AR_FOR_TARGET.
1359 (AR_CREATE_FOR_TARGET): New macro.
1360 (AR_EXTRACT_FOR_TARGET): New macro.
1361 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1362 AR_EXTRACT_FOR_TARGET.
1363 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1364 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1365 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
1366 AR_EXTRACT_FOR_TARGET to sub-makes.
1368 2000-03-31 Neil Booth <NeilB@earthling.net>
1370 * cppexp.c: Delete SKIP_OPERAND. Correct priority
1372 (_cpp_parse_expr): Check for multiple unary +/- operators.
1373 Correct priorities of ':' and '?'. Treat ')' as having a
1374 value. Ensure conditional expression is not void.
1376 2000-03-31 Mark Mitchell <mark@codesourcery.com>
1378 * alias.c (canon_rtx): Make it global.
1379 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1381 * cse.c (struct table_elt): Add canon_exp.
1383 (invalidate): Canonicalize expressions only once.
1384 * rtl.h (canon_rtx): Declare.
1386 2000-03-30 Mark Mitchell <mark@codesourcery.com>
1388 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1389 * alias.c (reg_known_value): Add comments.
1390 (init_alias_analysis): Likewise.
1391 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1393 (cse_basic_block): Fix typo in comment.
1394 * emit-rtl.c: Include hashtab.h.
1395 (const_int_htab): New variable.
1396 (const_int_htab_hash): New function.
1397 (const_int_htab_eq): Likewise.
1398 (rtx_htab_mark_1): Likewise.
1399 (rtx_htab_mark): Likewise.
1400 (gen_rtx_CONST_INT): Cache all CONST_INTs.
1401 (unshare_all_rtx): Fix formatting.
1402 (init_emit_once): Initialize const_int_htab.
1403 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1405 * rtl.texi: Document the fact that all CONST_INTs with the same
1408 2000-03-30 Richard Henderson <rth@cygnus.com>
1410 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1412 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
1414 * configure.in: Comment out --enable-c-cpplib stanza.
1415 * configure: Regenerate.
1417 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1419 * expr.c (store_constructor): Properly compute displacement and
1420 alignment when offset is variable.
1422 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1423 cases of alignment in bytes.
1425 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
1427 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1428 since it is used to generate c-parse.y.
1429 * objc-parse.c, objc-parse.y: Regenerated.
1431 * function.c (expand_function_end): Pass alignment argument to
1432 emit_block_move in bits, not bytes.
1434 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1436 * expr.c (move_by_pieces_ninsns): Fix one more missing align
1439 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1441 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1442 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1443 * function.c (assign_parms): Likewise.
1444 * integrate.c (expand_inline_function): Likewise.
1445 * stmt.c (expand_decl): Likewise.
1446 (copy_rtx_and_substitute): Likewise.
1447 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1448 (clear_by_pieces): Fix error in last change.
1449 * emit-rtl.c (init_emit): Set known registers alignment in bits.
1450 * function.h (regno_pointer_align): Now unsigned.
1451 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1453 * config/i386/i386.c (aligned_operand): Likewise.
1454 * config/sparc/sparc.c (mem_min_alignment): Likewise.
1455 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1456 (unaligned_memory_operand): Likewise.
1457 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1458 Also make alignments and sizes unsigned and some whitespace cleanup.
1459 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1461 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1462 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1463 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1464 (expand_builtin_memset): Likewise, but to clear_storage.
1465 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1466 (restore_fixed_argument_area): Likewise.
1467 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1468 (load_register_parameters): Likewise, to emit_group_load.
1469 (expand_call): Likewise, to emit_group_store and emit_block_move.
1470 (emit_library_call_value_1): Likewise, to emit_block_move.
1471 (store_one_arg): Likewise, and to emit_push_insn.
1472 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1473 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1474 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1475 (emit_block_move, emit_group_load, emit_group_store): Likewise.
1476 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1477 (expand_assigment, store_expr, store_constructor_field): Likewise.
1478 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1479 (store_constructor, store_field, get_inner_reference): Likewise.
1480 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1481 (expand_expr, case COMPONENT_REF): Likewise.
1482 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1483 and positions; reindent code.
1484 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1485 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1486 (assign_parms): Likewise to emit_group_store.
1487 * optabs.c (prepare_cmp_insn): Alignment is in bits.
1488 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1489 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1490 (expand_return): Likewise to {extract,store}_bit_field.
1491 * stor-layout.c (get_mode_alignment): Minor cleanup.
1492 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1493 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1495 2000-03-29 Nick Clifton <nickc@cygnus.com>
1497 * config/arm/arm.h: Undo effects of previous delta:
1498 (ASM_SPEC): Do not define.
1499 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1501 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1504 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1506 * cppinit.c (cpp_start_read): Call initialize_dependency_output
1507 only after reading in the primary source file.
1509 2000-03-29 Geoff Keating <geoffk@cygnus.com>
1511 * c-common.c (c_common_nodes_and_builtins): The first parameter to
1512 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1513 or a reference to a va_list.
1514 * builtins.c (stabilize_va_list): Simplify now we don't have to
1515 work around C array address decay.
1516 * c-typeck.c (convert_for_assignment): Handle assignment to
1517 a reference parameter by taking the address of the RHS.
1518 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1519 (va_copy): Likewise.
1520 (__va_copy): Likewise.
1521 * ginclude/varargs.h (va_start): Likewise.
1522 (__va_copy): Likewise.
1524 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
1526 * i386/djgpp.h: Remove extraneous "+".
1528 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1530 * calls.c (expand_call): Fix typo in last change.
1532 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
1534 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1537 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1539 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1540 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1541 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1542 * tree.c (bit_position, byte_position): Likewise.
1543 * tree.h: Declare new functions.
1545 2000-03-29 Nick Clifton <nickc@cygnus.com>
1547 * config/arm/arm.c: Minor formatting changes/
1548 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1550 (ASM_SPEC): Define if not already defined.
1552 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1554 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1557 2000-03-29 Jakub Jelinek <jakub@redhat.com>
1559 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1560 value, don't output it as unsigned.
1562 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
1564 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1566 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1568 * c-common.c (c_common_nodes_and_builtins): Don't special case
1569 cplus_mode when declaring builtin bzero/bcmp, always avoid
1570 prototype arguments.
1572 2000-03-29 Bruce Korb <bkorb@gnu.org>
1574 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1577 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
1579 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1580 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1581 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1582 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1583 (save_fixed_argument_area, restore_fixed_argument_area):
1584 conditionize by #ifdef REG_PARM_STACK_SPACE only.
1585 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1586 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1587 (precompute_register_parameters): Avoid #ifdefs on
1588 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1589 (stire_one_args): Likewise.
1590 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1591 (emit_library_call_value_1): Likewise.
1592 (compute_argument_block_size): Align to STACK_BOUNDARY only for
1593 ACCUMULATE_OUTGOING_ARGS.
1594 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1596 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1597 (use_crosses_set_p): Likewise.
1598 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1599 #define ACCUMULATE_OUTGOING_ARGS 1.
1600 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1602 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1604 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1605 (TARGET_SWITCHES): Add push-args, no-push-args,
1606 accumulate-outgoing-args and no-accumulate-outgoing-args.
1607 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1608 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1609 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1611 (emit_push_insn): Likewise.
1612 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1613 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1614 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1615 (STACK_DYNAMIC_OFFSET): Define correctly for both
1616 ACCUMULATE_OUTGOING_ARGS and normal mode.
1617 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1618 * tm.texi (PUSH_ARGS): Document.
1619 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1621 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
1623 * flags.h (flag_optimize_sibling_calls): Declare.
1624 * calls.c (expand_call): Fail sibcall when
1625 !flag_optimize_sibling_calls
1626 * invoke.texi (flag_optimize_sibling_calls): Document.
1627 * toplev.c (flag_optimize_sibling_calls): New global variable.
1628 (f_options): Add flag_optimize_sibling_calls.
1629 (rest_of_compilation): Conditionize
1630 optimize_sibling_and_tail_recursive_calls by
1631 flag_optimize_sibling_calls.
1632 (main): Set flag_optimize_sibling_calls for -O2.
1633 * stmt.c (expand_return): Conditionize tail recursion by
1634 flag_optimize_sibling_calls.
1636 2000-03-29 Richard Henderson <rth@cygnus.com>
1638 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1639 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1641 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
1643 * except.c (add_eh_table_entry): Mark type_info's as referenced.
1645 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1647 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1649 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1650 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1651 * config/rs6000/aix.h: then modified likewise.
1653 2000-03-28 Richard Henderson <rth@cygnus.com>
1655 * rtl.h: Redistribute enum reg_note documentation.
1656 Kill trailing whitespace.
1657 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1658 Kill trailing whitespace.
1660 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
1662 * cppfiles.c (hash_IHASH): Just return i->hash.
1663 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
1664 htab_find_with_hash.
1665 (cpp_read_file): Likewise.
1666 (find_include_file): Likewise. Properly initialize
1667 ih->nshort. Share ih->name and ih->nshort if possible.
1668 * cpphash.c (_cpp_calc_hash): New function.
1669 (hash_HASHNODE): Just return h->hash.
1670 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
1671 htab_find_with_hash.
1672 * cpphash.h: Prototype _cpp_calc_hash.
1673 * cppinit.c (initialize_builtins): Provide a valid hash
1674 to _cpp_make_hashnode, using _cpp_calc_hash.
1676 * cpphash.c (collect_expansion): # is not a special character
1677 in object-like macros. In -traditional mode, /**/ is not
1678 token paste at the beginning or end of the line.
1679 * cpplib.c (do_include, do_import, do_include_next): If
1680 parse_include fails, return immediately.
1682 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
1684 * config/arm/arm.md (return peepholes): Update to reflect the new
1686 * config/arm/arm.c (arm_volatile_func): Also check
1687 current_function_nothrow.
1688 (output_return_instruction, output_func_prologue): Use it.
1689 (arm_output_epilogue, arm_expand_prologue): Likewise.
1691 2000-03-27 Tom Tromey <tromey@cygnus.com>
1693 * gcc.c (handle_braces): In {x*...} case, break out of loop if
1696 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1698 * expr.c (store_constructor): SIZE now signed.
1699 For EXPR_SIZE, don't evaluate size; just needed if constant.
1700 * fold-const.c (fold): Fix a number of cases when folded tree is
1702 * function.c (flush_addressof): Reenable.
1703 * tree.h (flush_addressof): Likewise.
1704 * toplev.c (independent_decode_option): Look at strings_processed.
1705 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1707 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
1709 * sibcall.c (indentify_call_return_value): Find last call in the chain;
1710 Allow stack adjustment after function call.
1712 * regmove.c (struct csa_memlist): Make mem field rtx *.
1713 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1714 (try_apply_stack_adjustment): Replace whole MEM rtx.
1715 (combine_stack_adjustments_for_block): Update calls
1716 to record_one_stack_ref.
1718 2000-03-28 Neil Booth <NeilB@earthling.net>
1720 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1721 '\\' rather than a null character, so nulls are not special. Fix
1722 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
1723 speed trigraph conversion.
1724 (_cpp_init_input_buffer): Initialize trigraph map.
1726 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1728 * config/i386/i386.c (output_387_binary_op): Correct intel
1729 mode assembly output, and add spaces after commas in AT&T
1730 output. Correct Unixware assembler comment. Document input
1731 constraints. Comment fp operations. Reduce profligate buffer
1732 size. Remove extraneous abort. Localize temp var.
1733 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
1734 (output_fix_trunc): Add spaces after commas in assembly output.
1736 2000-03-27 Richard Henderson <rth@cygnus.com>
1738 * i386-protos.h (ix86_match_ccmode): Declare.
1739 * i386.c (ix86_match_ccmode): New.
1740 (ix86_expand_fp_compare): Update for pattern renames.
1741 (ix86_expand_strlensi_unroll_1): Likewise.
1742 * i386.h (EXTRA_CC_MODES): Add CCZ.
1743 (SELECT_CC_MODE): Use it for EQ/NE zero.
1744 * i386.md (cmpsi_ccz_1): New.
1746 (*testsi_ccz_1): New.
1747 (testqi_ccz_1): New.
1748 (cmpsi_ccno_1): Rename from cmpsi_0.
1749 (testsi_ccno_1): Rename from testsi_1.
1750 (testqi_ccno_1): Rename from testqi_1.
1751 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1752 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1753 (*cmphi_0): Use ix86_match_ccmode.
1754 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1755 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1756 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1757 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1758 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1759 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1760 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1761 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1762 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1763 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1764 (appropriate peepholes): Likewise.
1765 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1766 (*subsi_3, *subhi_3, *subqi_3): Remove.
1767 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1768 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1769 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1770 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1771 (x86_shift_adj_1): Use CCZ.
1772 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1774 2000-03-27 Stan Cox <scox@cygnus.com>
1776 * resource.h (mark_resource_type): New.
1777 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
1778 find_free_register): Use mark_resource_type.
1779 (mark_set_resources): Change include_delayed_effects
1780 to mark_resource_type.
1781 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
1782 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
1783 Use mark_resource_type.
1785 2000-03-27 Richard Henderson <rth@cygnus.com>
1787 * i386.md (call_pop_0, call_value_pop_0): New.
1788 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
1789 (call_value_pop_1): Likewise.
1790 (call_0, call_value_0): New.
1791 (call_1, call_value_1): Remove constraint from unused arg.
1793 2000-03-27 Nick Clifton <nickc@cygnus.com>
1795 * invoke.texi (Spec Files): Document new spec % command created by
1796 Tom Tromey's recent patch.
1798 2000-03-27 Jakub Jelinek <jakub@redhat.com>
1800 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
1803 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1805 * expr.c (expand_assignment): Fix typo in last change.
1807 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
1809 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1811 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
1812 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
1813 and DECL_INLINE if FUNCTION_DECL.
1814 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
1815 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
1816 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
1817 (combine_parm_decls): Likewise.
1818 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
1819 * print-tree.c (print_node): Likewise.
1820 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
1821 DECL_TRANSPARENT_UNION on proper decl types.
1822 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
1823 * stor-layout.c (layout_decl): Only check DECL_PACKED and
1824 DECL_BIT_FIELD of FIELD_DECL.
1825 * tree.h (DECL_RESULT_FLD): New macro.
1827 * expr.c (expand_assignment): Add code to handle variable-sized
1830 2000-03-26 Richard Henderson <rth@cygnus.com>
1832 * calls.c (expand_call): Pass parms not original exp to
1833 optimize_tail_recursion. Mind return value instead of looking
1835 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
1836 call_expr. Move checks for call_expr and current_function_decl ...
1837 (expand_return): ... here.
1839 2000-03-26 Tom Tromey <tromey@cygnus.com>
1841 * gcc.c (handle_braces): Recognize `%{<S}' construct.
1842 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
1844 (process_command): Use them.
1845 (check_live_switch): Likewise.
1846 (give_switch): Skip ignored switches.
1848 2000-03-26 Jan Hubicka <jh@suse.cz>
1850 * jump.c (jump_optimize_1): Fix typo in elide optimizations
1851 for minimal jump pass test.
1853 2000-03-26 Mark Mitchell <mark@codesourcery.com>
1855 * integrate.c (function_cannot_inline_p): Do inline functions that
1858 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1860 * stor-layout.c (layout_type, set_sizetype): early_type_list is
1861 now a list of TREE_LIST entries, not types.
1862 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
1864 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
1865 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
1867 * config/mips/mips.c (function_arg): Likewise; also remove cast
1868 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
1869 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
1870 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
1871 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
1872 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
1873 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
1874 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
1875 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
1876 num_adjusts now unsigned.
1877 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
1878 * config/sparc/sparc.c (struct function_arg_record_value_parms):
1880 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
1881 as is BITPOS variable; use host_integerp and int_bit_position.
1882 (function_arg_record_value_2): Likewise.
1883 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
1884 Variable REGNO now unsigned.
1885 (function_arg_record_value): NREGS now unsigned.
1887 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
1889 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
1891 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1893 * Rework fields used to describe positions of bitfields and
1894 modify sizes to be unsigned and use HOST_WIDE_INT.
1895 * alias.c (reg_known_value_size): Now unsigned.
1896 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
1897 (really_start_incremental_init): Use bitsize_zero_node.
1898 (push_init_level, pop_init_level, output_init_element): Likewise.
1899 Use bitsize_unit_node and bitsize_one_node.
1900 (output_pending_init_elements, process_init_element): Likewise.
1901 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
1902 (make_extraction): Position and length HOST_WIDE_INT and unsigned
1903 HOST_WIDE_INT, respectively.
1904 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
1905 (num_sign_bit_copies): Returns unsigned.
1906 BITWIDTH now unsigned; rework arithmetic.
1907 Remove recursive call from arg to MAX.
1908 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
1909 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
1911 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
1912 (find_split_point, expand_compound_operation, make_extraction): LEN
1913 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
1914 (make_field_assignment): Likewise.
1915 (combine_simplify_rtx): Add cast.
1916 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
1917 (force_to_mode): WIDTH now unsigned; add cast.
1918 (if_then_else_cond): SIZE now unsigned.
1919 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
1920 (extended_count): Now returns unsigned.
1921 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
1922 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
1923 (simplify_comparison): MODE_WIDTH now unsigned.
1924 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
1925 (mark_used_regs_combine): Likewise; rework arithmetic.
1926 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
1927 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
1928 (record_promoted_value): REGNO now unsigned.
1929 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
1930 (get_last_value): REGNO now unsigned.
1931 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
1932 (reg_dead_regno, reg_dead_endregno): Now unsigned.
1933 (remove_death): Arg REGNO now unsigned.
1934 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
1935 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
1937 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
1938 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
1939 (struct cse_reg_info): REGNO now unsigned.
1940 (cached_regno): Now unsigned.
1941 (REGNO_QTY_VALID_P): Add cast.
1942 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
1943 (remove_invalid_regs): Likewise.
1944 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
1945 as are variables END and I.
1946 (get_cse_reg_info, insert): Likewise.
1947 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
1948 (canon_hash): Likewise.
1949 (insert_regs, lookup_for_remove): REGNO now unsigned.
1950 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
1952 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
1953 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
1954 * emit-rtl.c (subreg_realpart_p): Add cast.
1955 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
1956 (operand_subword_force): Arg I is now unsigned.
1957 * except.c (eh_regs): Variable I is now unsigned.
1958 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
1959 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
1960 length is unsigned HOST_WIDE_INT; likewise for internal variables.
1961 (store_split_bit_field, extract_fixed_bit_field): Likewise.
1962 (extract_split_bit_field, store_bit_field, extract_bit_field):
1964 * expr.c (store_constructor_fields, store_constructor, store_field):
1965 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
1966 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
1967 (do_jump): Likewise.
1968 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
1969 MAX_SIZE is now unsigned.
1970 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
1971 (emit_group_store): Likewise.
1972 (emit_move_insn): I now unsigned.
1973 (store_constructor): Use host_integerp, tree_low_cst, and
1975 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
1976 Rework all calculations to use trees and new fields.
1977 * expr.h (promoted_input_arg): Regno now unsigned.
1978 (store_bit_field, extract_bit_field): Adjust types of pos and size.
1979 (mark_seen_cases): Arg is HOST_WIDE_INT.
1980 * flow.c (verify_wide_reg_1): REGNO now unsigned.
1981 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
1982 precisions and alignments are unsigned.
1983 (optimize_bit_field_compare, fold_truthop): Likewise.
1984 (int_const_binop): Adjust threshold for size_int_type_wide call.
1985 (fold_convert): Likewise.
1986 (size_int_type_wide): Make table larger and fix thinko that only
1987 had half of table used.
1988 (all_ones_mask_p, fold): Precisions are unsigned.
1989 * function.c (put_reg_info_stack): REGNO is unsigned.
1990 (instantiate_decl): Size is HOST_WIDE_INT.
1991 (instantiate_virtual_regs): I is unsigned.
1992 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
1993 (promoted_input_arg): REGNO is unsigned.
1994 * function.h (struct function): x_max_parm_reg is now unsigned.
1995 * gcse.c (max_gcse_regno): Now unsigned.
1996 (struct null_pointer_info): min_reg and max_reg now unsigned.
1997 (lookup_set, next_set): REGNO arg now unsigned.
1998 (compute_hash_table): REGNO and I now unsigned.
1999 (handle_avail_expr): regnum_for_replacing now unsigned.
2000 (cprop_insn): REGNO now unsigned.
2001 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2002 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2003 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2004 * hard-reg-set.h (reg_class_size): Now unsigned.
2005 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2006 * jump.c (mark_modified_reg): I now unsigned; add cast.
2007 (rtx_equal_for_thread_p): Add cast.
2008 * loop.c (max_reg_before_loop): Now unsigned.
2009 (struct_movable): REGNO now unsigned.
2010 (try_copy_prop): REGNO arg unsigned.
2011 (regs_match_p): XN and YN now unsigned.
2012 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2013 (strength_reduce): Likewise; NREGS also unsigned.
2014 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2015 * loop.h (struct iv_class): REGNO now unsigned.
2016 (max_reg_before_loop, first_increment_giv, last_increment_giv):
2018 * machmode.h (mode_size, mode_unit_size): Now unsigned.
2019 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2020 * optabs.c (expand_binop): I and NWORDS now unsigned.
2021 (expand_unop): I now unsigned.
2022 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2023 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2024 * real.c (significand_size): Now returns unsigned.
2025 * real.h (significand_size): Likewise.
2026 * regclass.c (reg_class_size): Now unsigned.
2027 (choose_hard_reg_mode): Both operands now unsigned.
2028 (record_reg_classes): REGNO and NR now unsigned.
2029 (reg_scan): NREGS now unsigned.
2030 (reg_scan_update): old_max_regno now unsigned.
2031 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2032 * reload.c (find_valid_class): BEST_SIZE now unsigned.
2033 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2034 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2035 Likewise for variable R.
2036 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2037 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2038 (find_equiv_reg): Add casts.
2039 (regno_clobbered_p): Arg REGNO now unsigned.
2040 * reload.h (struct reload): NREGS now unsigned.
2041 (refers_to_regno_for_reload_p): Regno args are unsigned.
2042 (regno_clobbered_p): Likewise.
2043 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2044 (compute_use_by_pseudos): REGNO now unsigned.
2045 (find_reg): I and J now unsigned, new variable K, and change loop
2046 variables accordingly; THIS_NREGS now unsigned.
2047 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2048 (spill_hard_reg): REGNO arg now unsigned; add casts.
2049 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2050 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2051 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2052 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2053 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2054 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2055 (emit_reload_insns): REGNO now unsigned.
2056 (reload_cse_move2add): Add cast.
2057 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2059 * resource.c (mark_referenced_resources, mark_set_resources): New
2060 variable R; REGNO and LAST_REGNO now unsigned.
2061 (mark_target_live_regs): J and REGNO now unsigned.
2062 * rtl.c (mode_size, mode_unit_size): Now unsigned.
2063 * rtl.h (union rtunion_def): New field rtuint.
2064 (XCUINT): New macro.
2065 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2066 (operand_subword, operand_subword_force): Word number is unsigned.
2067 (choose_hard_reg_mode): Operands are unsigned.
2068 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2069 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2070 (regno_use_in, combine_instructions, remove_death): Likewise.
2071 (reg_scan, reg_scan_update): Likewise.
2072 (extended_count): Return is unsigned.
2073 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2074 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2075 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2076 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2077 (reg_reg_last_1): FIRS and LAST now unsigned.
2078 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2079 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2081 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2082 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2083 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2084 (replace_regs): Arg NREGS now unsigned.
2085 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2086 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2087 (simplify_binary_operation): Likewise.
2088 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2089 THIS_LAST now unsigned.
2090 (cselib_record_set): Add cast.
2091 * ssa.c (ssa_max_reg_num): Now unsigned.
2092 (rename_block): REGNO now unsigned.
2093 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2095 (all_cases_count): Just return -1 not -2.
2096 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2097 Rework tests to use trees whenever possible.
2098 Use host_integerp and tree_low_cst.
2099 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2100 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2101 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2102 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2103 (smallest_mode_for_size): Likewise.
2104 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2105 KNOWN_ALIGN is now an alignment, so simplify code.
2106 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2107 (start_record_layout): Renamed from new_record_layout_info.
2108 Update to new fields.
2109 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2111 (place_union_field): Renamed from layout_union_field.
2112 Update to use new fields in rli.
2113 (place_field): Renamed from layout_field.
2114 Major rewrite to use new fields in rli; pass alignment to layout_decl.
2115 (finalize_record_size): Rework to use new fields in rli and handle
2117 (compute_record_mode): Rework to simplify and to use new DECL fields.
2118 (finalize_type_size): Make rounding more consistent.
2119 (finish_union_layout): Deleted.
2120 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2121 (layout_type, case RECORD_TYPE): Call new function names.
2122 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2123 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2124 (get_best_mode): UNIT is now unsigned; remove casts.
2125 * tree.c (bit_position): Compute from new fields.
2126 (byte_position, int_byte_position): New functions.
2127 (print_type_hash_statistics): Cast to remove warning.
2128 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2129 (build_index_type): Likewise; make subtype of sizetype.
2130 (build_index_2_type): Pass sizetype to build_range_type.
2131 (build_common_tree_nodes): Use size_int and bitsize_int to
2132 initialize nodes; add bitsize_{zero,one,unit}_node.
2133 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2134 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2135 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2136 (DECL_FIELD_BITPOS): Deleted.
2137 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2138 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2139 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2140 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2141 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2142 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2143 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2144 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2145 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2146 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2147 (DECL_ALIGN): Adjust to new field in union.
2148 (DECL_OFFSET_ALIGN): New field.
2149 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2150 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2151 (union tree_decl): Add struct for both aligns.
2152 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2153 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2154 (struct record_layout_info): Rework fields to have offset
2155 alignment and byte and bit position.
2156 (start_record_layout, place_field): Renamed from old names.
2157 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2158 (byte_position, int_byte_position): Likewise.
2159 (get_inner_reference): Change types of position and length.
2160 * unroll.c (unroll_loop): New variable R; use for some loops.
2161 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2162 (calculate_giv_inc): Arg REGNO now unsigned.
2163 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2164 * varasm.c (assemble_variable): Clean up handling of size using
2165 host_integerp and tree_low_cst.
2166 (decode_addr_const): Use byte, not bit, position.
2167 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2168 use tree_low_cst and int_bit_position.
2169 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2171 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
2173 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2174 (reorder_block_def): New members eff_head and eff_end.
2175 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2176 (verify_insn_chain): New function.
2177 (skip_insns_between_block): Add code to skip deleted insns.
2178 Check for note before using.
2179 (chain_reorder_blocks): Replace calls to skip_insns_between_block
2180 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2181 Check for note before using.
2182 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2183 (fixup_reorder_chain): Restructure, clean up, defect removal.
2184 (reorder_basic_blocks): Remove last_insn and references to it.
2185 Moved insn chain verification code into a new function (see above).
2186 Delete defective code that sets last insn.
2187 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2190 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2192 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2194 2000-03-24 Richard Henderson <rth@cygnus.com>
2196 * tree.c (lang_safe_for_unsave): Remove.
2197 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2198 allowing for two levels of unsafeness. Remove lang hook.
2199 * tree.h: Update declarations.
2200 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2201 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2202 Always fail sibcalls when there are pending cleanups.
2204 2000-03-24 Geoff Keating <geoffk@cygnus.com>
2206 * flow.c (propagate_block): When we delete an ADDR_VEC,
2207 also delete the BARRIER following it if there is one.
2209 2000-03-24 Richard Henderson <rth@cygnus.com>
2211 * builtins.c (expand_builtin_bzero): Convert `length' argument
2214 2000-03-24 Jakub Jelinek <jakub@redhat.com>
2216 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2217 comparison if regno's are equal.
2218 * calls.c (initialize_argument_informat): Add ecf_flags argument.
2219 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2220 (expand_call): Update caller.
2221 Avoid making a sibling call if argument size of the callee is larger
2222 than argument size of the caller.
2223 Call hard_function_value with outgoing set if in sibcall pass.
2224 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2226 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2227 Change LEAF_REGISTERS from an array initializer to actual array
2228 identifier. Move static global variable into the function.
2229 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2230 sequences for leaf functions.
2231 * global.c (global_alloc): Likewise.
2232 * tm.texi (LEAF_REGISTERS): Update documentation.
2234 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2235 TARGET_FLAT leaf disabling hack.
2236 (LEAF_REGISTERS): Changed from an array initializer to actual array
2237 identifier to avoid duplication and remove the above hack.
2238 (FUNCTION_OK_FOR_SIBCALL): Define.
2239 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2240 always like call attribute.
2241 (eligible_for_sibcall_delay): New attribute.
2242 (sibcall): New delay type.
2243 (sibcall, sibcall_value, sibcall_epilogue): New expands.
2244 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2245 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2246 * config/sparc/sparc.c (sparc_leaf_regs): New array.
2247 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2249 (output_function_epilogue): Move part of the code into
2250 output_restore_regs.
2251 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2253 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2256 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2257 until infrastructure is finished.
2259 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
2261 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2262 (save_parm_insns): Not here.
2264 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2266 * builtins.c (expand_builtin_bzero): New function.
2267 (expand_builtin): Handle bzero.
2269 * builtins.def: Add BUILT_IN_BZERO.
2271 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2272 prototype & function for bzero.
2274 2000-03-23 Michael Meissner <meissner@redhat.com>
2276 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2277 change adding TARGET_FP to the TF floating point insns, except for
2278 trunctfsf2, which generates direct calls to truncdfsf2.
2280 2000-03-23 Geoff Keating <geoffk@cygnus.com>
2282 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2283 try to protect against middle-end changes that break binary
2285 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2287 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2289 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
2291 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2293 * calls.c (expand_call): If TARGET is passed by reference and
2294 is readonly, write a CLOBBER.
2296 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2298 * builtins.c (expand_builtin): Handle bcmp.
2300 * builtins.def: Add BUILT_IN_BCMP.
2302 * c-common.c (c_common_nodes_and_builtins): Provide builtin
2303 prototype & function for bcmp.
2305 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
2307 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2308 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2309 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2311 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
2313 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2314 alternative when using -fp64 -gp32.
2316 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2318 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2319 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2320 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2322 * frame.h (frame_state): Revert last change.
2323 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2324 * libgcc2.c (throw_helper): Revert last change.
2326 2000-03-22 Richard Henderson <rth@cygnus.com>
2328 * stmt.c (expand_asm_operands): Don't promote the temporary.
2330 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2332 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2333 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2334 c_get_alias_set): Likewise.
2335 * c-decl.c (duplicate_decls): Likewise.
2336 * c-typeck.c (default_conversion,build_unary_op): Likewise.
2337 * calls.c (initialize_argument_information): Likewise.
2338 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2340 * dwarfout.c (decl_class_context,output_type): Likewise.
2341 * expr.c (get_inner_reference): Likewise.
2342 * fold-const.c (simple_operand_p,fold): Likewise.
2343 * function.c (aggregate_value_p): Likewise.
2344 * stmt.c (expand_asm_operands): Likewise.
2345 * varasm.c (named_section): Likewise.
2347 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
2349 Implement dwarf2 exception handling for the ARM.
2350 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2351 (DWARF_FRAME_RETURN_COLUMN): Define.
2352 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
2353 REG_FRAME_RELATED_EXPR note.
2354 (emit_sfm): Likewise.
2355 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2356 * dwarf2out.c (reg_save): Handle saving a register to itself.
2357 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2358 * except.c (eh_regs): Don't use the static chain reg if it's
2360 * frame.h (frame_state): Add cfa_saved field.
2361 * frame.c (execute_cfa_insn): Set it.
2362 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
2364 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2366 (instantiate_virtual_regs): Adjust.
2368 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2369 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2370 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2372 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2373 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2375 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2377 * builtins.def: New file.
2379 * Makefile.in (TREE_H): Depend on builtins.def.
2381 * builtins.c (built_in_names): Use builtins.def.
2383 * tree.h (built_in_function): Likewise.
2385 2000-03-22 Mark Mitchell <mark@codesourcery.com>
2387 * tree.c (size_in_bytes): Return size_zero_node, not
2390 2000-03-22 Geoff Keating <geoffk@cygnus.com>
2392 * config/fp-bit.c (pack_d): Correct the case when a denormal
2393 is rounded up and stops being denormal.
2395 2000-03-21 Richard Henderson <rth@cygnus.com>
2397 * config/alpha/alpha.c (function_arg): Check for void_type_node
2398 before using MUST_PASS_IN_STACK.
2400 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
2402 * regmove.c (combine_stack_adjustments_for_block): Check that
2403 the stack pointer is a valid memory address.
2405 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
2407 * calls.c: re-install Mar 16 emit_library_call merge.
2409 2000-03-21 Jakub Jelinek <jakub@redhat.com>
2411 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2412 we cannot be sure that if reload_completed base register will
2413 be properly aligned.
2415 2000-03-21 Richard Henderson <rth@cygnus.com>
2417 * flow.c (delete_block): Fix typo last change.
2419 2000-03-21 Mark Mitchell <mark@codesourcery.com>
2421 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2422 not COMPLETE_TYPE_P, to check the type of the expression.
2424 2000-03-21 Michael Meissner <meissner@redhat.com>
2426 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2427 all floating point insns that just tested the macro
2428 TARGET_HAS_XFLOATING_LIBS.
2429 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2430 used to only use the gprs.
2432 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
2434 * tree.h (COMPLETE_TYPE_P): New macro.
2435 (COMPLETE_OR_VOID_TYPE_P): New macro.
2436 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2437 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2438 * c-aux-info.c (gen_type): Use them.
2439 * c-common.c (c_expand_expr_stmt): Likewise.
2440 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2441 grokdeclarator, grokparms, finish_struct, start_function,
2442 store_parm_decls, combine_parm_decls): Likewise.
2443 * c-parse.y (cast_expr): Likewise.
2444 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2445 c_size_in_bytes, c_alignof, build_component_ref,
2446 build_indirect_ref, build_array_ref, convert_arguments,
2447 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2448 * calls.c (initialize_argument_information): Likewise.
2449 * convert.c (convert_to_integer): Likewise.
2450 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2451 * dwarfout.c (location_or_const_value_attribute,
2452 output_enumeration_type_die, output_structure_type_die,
2453 output_union_type_die, output_type): Likewise.
2454 * expr.c (safe_from_p, expand_expr): Likewise.
2455 * function.c (assign_parms): Likewise.
2456 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2457 * tree.c (build_array_type, build_function_type,
2458 build_method_type, build_offset_type, build_complex_type): Likewise.
2459 * c-parse.c, c-parse.h: Regenerated.
2461 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2463 * config/c4x/rtems.h: Include config/rtems.h.
2465 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
2467 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2468 decl is a FUNCTION_DECL
2470 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
2472 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2473 function uses output registers. Don't save RP for leaf functions.
2474 Do save RP even if no epilogue.
2475 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2476 (CALL_USED_REGISTERS): Unmark in registers.
2477 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
2480 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2482 * config/rs6000/rs6000.md (bunordered): New expander.
2483 (bordered): New expander.
2484 (buneq): New expander.
2485 (bunge): New expander.
2486 (bungt): New expander.
2487 (bunle): New expander.
2488 (bunlt): New expander.
2489 (bltgt): New expander.
2491 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2492 (ccr_bit_negated_p): New function.
2493 (print_operand): For %C, generate appropriate cror for UNEQ,
2494 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
2496 2000-03-20 Andreas Jaeger <aj@suse.de>
2498 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2501 * tree.h (safe_for_unsave): Prototype.
2503 2000-03-20 Richard Henderson <rth@cygnus.com>
2505 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2506 (combine_stack_adjustments_for_block): Don't allow sp references
2507 in the side of a set we're not fixing up.
2508 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2509 after life_analysis.
2511 2000-03-20 Richard Henderson <rth@cygnus.com>
2513 * calls.c (expand_call): Don't bother generating tail call
2514 sequences if there are pending cleanups. Use
2515 expand_start_target_temps/expand_end_target_temps to elide
2516 cleanups created during sibcall expansion.
2518 2000-03-20 Geoff Keating <geoffk@cygnus.com>
2520 * configure.in: Set $IFS to a value if it doesn't already have one
2521 in the --enable-checking handling.
2522 * configure: Regenerate.
2524 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2526 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2527 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2530 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
2532 * jump.c (delete_noop_moves): Remove code attempting to
2533 combine stack adjustments.
2535 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2537 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2538 * except.c (emit_cleanup_handler): Use them.
2539 (expand_end_all_catch): Likewise.
2540 * function.c (fixup_var_refs): Likewise.
2541 (expand_function_end): Clear catch_clauses_last.
2542 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2543 * except.h (struct eh_status): New field x_catch_clauses_last.
2544 (catch_clauses_last): New define.
2546 * Makefile.in (tree.o): Depend on HASHTAB_H.
2547 * tree.c: Include hashtab.h.
2548 (struct type_hash): Remove next field.
2549 (TYPE_HASH_SIZE): Remove.
2550 (TYPE_HASH_INITIAL_SIZE): New define.
2551 (type_hash_table): Change type to htab_t.
2552 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2553 mark_hash_entry): New functions.
2554 (init_obstacks): Allocate type hash.
2555 (type_hash_lookup): Use htab functions.
2556 (type_hash_add, mark_type_hash): Likewise.
2557 (dump_tree_statistics): Call print_type_hash_statistics.
2559 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2561 * rs6000/t-aix41: New file.
2563 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2565 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
2567 * tm.texi (Driver): Fix typos and tweak entry for
2569 Move misplaced STRUCT_FORCE_BLK entry ...
2570 (Storage Layout): ... to here.
2571 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2573 2000-03-19 Richard Henderson <rth@cygnus.com>
2575 * flow.c (delete_block): Delete the addr_vec along with the block.
2576 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2579 * fold-const.c (extract_muldiv): Apply type check for defined
2580 overflow to multiply as well as divide.
2582 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2584 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2586 * emit-rtl.c (remove_unncessary_notes): Check that all
2587 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2588 associated NOTE_BLOCK.
2589 * function.h (identify_blocks): Update comments.
2590 (reorder_blocks): Declare.
2591 * function.c (identify_blocks): Don't take paramters.
2592 (reorder_blocks): Don't take parameters.
2593 * loop.h (find_loop_tree_blocks): Remove.
2594 (unroll_block_trees): Likewise.
2595 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
2596 reorder_blocks instead of unroll_block_trees.h
2597 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2598 * stmt.c (find_loop_tree_blocks): Remove.
2599 (unroll_block_trees): Likewise.
2600 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2601 in whole-function mode.
2602 * tree.h (reorder_blocks): Remove declaration.
2604 * expr.c: Include intl.h.
2605 * Makefile.in (expr.o): Depend on intl.h.
2607 2000-03-18 Richard Henderson <rth@cygnus.com>
2609 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2611 2000-03-18 Mark Mitchell <mark@codesourcery.com>
2613 * tree.h (tree_index): Remove enumerals for integer types.
2614 (integer_type_kind): New type.
2615 (integer_types): New variable.
2616 (char_type_node): Adjust.
2617 (signed_char_type_node): Likewise.
2618 (unsigned_char_type_node): Likewise.
2619 (short_integer_type_node): Likewise.
2620 (short_unsigned_type_node): Likewise.
2621 (integer_type_node): Likewise.
2622 (unsigned_type_node): Likewise.
2623 (long_integer_type_node): Likewise.
2624 (long_unsigned_type_node): Likewise.
2625 (long_long_integer_type_node): Likewise.
2626 (long_long_unsigned_type_node): Likewise.
2627 * tree.c (integer_types): New variable.
2628 (init_obstacks): Register it as a root.
2630 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
2632 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2633 NEXT_INSN. Update last insn in chain.
2635 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
2637 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2638 with TYPE_DECL_SUPPRESS_DEBUG set.
2640 2000-03-18 Richard Henderson <rth@cygnus.com>
2642 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2644 2000-03-18 Richard Henderson <rth@cygnus.com>
2646 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2647 care for HALF_PIC_P.
2648 (expander_call_insn_operand): Remove.
2649 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2650 * i386.h (PREDICATE_CODES): Update.
2651 * i386.md (all call expanders): Remove predicates, remove special
2652 handling for half-pic.
2653 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2654 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2655 (sibcall_epilogue): New.
2657 2000-03-17 Richard Henderson <rth@cygnus.com>
2659 * rtlanal.c (single_set): Reject if the parallel has anything
2660 except SET or USE or CLOBBER.
2662 2000-03-17 Jeff Law <law@cygnus.com>
2663 Richard Henderson <rth@cygnus.com>
2665 * Makefile.in (OBJS): Add sibcall.o.
2667 * sibcall.c: New file.
2668 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2669 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2670 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2671 Emit sibcall patterns when requested. Update all callers.
2672 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2673 elimination seems feasable.
2674 * final.c (leaf_function_p): Sibling calls don't discount being
2676 * flow.c (HAVE_sibcall_epilogue): Provide default.
2677 (find_basic_blocks_1): Sibling calls don't throw.
2678 (make_edges): Make edge from sibling call to EXIT.
2679 (propagate_block): Don't remove sibcall_epilogue insns.
2680 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
2681 (sibcall_epilogue): New.
2682 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2683 (identify_blocks_1): Likewise. Break out from ...
2684 (identify_blocks): ... here.
2685 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
2686 (reorder_blocks): ... here.
2687 (init_function_for_compilation): Zap prologue/epilogue as varrays.
2688 (record_insns): Extend a varray instead of mallocing new memory.
2689 (contains): Read a varray not array of ints.
2690 (sibcall_epilogue_contains): New.
2691 (thread_prologue_and_epilogue_insns): Emit and record
2692 sibcall_epilogue patterns.
2693 (init_function_once): Allocate prologue/epilogue varrays.
2694 * genflags.c (gen_insn): Treat sibcall patterns as calls.
2695 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2697 (save_for_inline_nocopy): ... here.
2698 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
2700 (expand_inline_function): ... here.
2701 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2702 (subst_constants): Handle 'n' formats.
2703 * jump.c (jump_optimize_minimal): New.
2704 (jump_optimize_1): New arg `minimal'; update callers. Elide most
2705 optimizations if it's set.
2706 * rtl.c (copy_rtx): Do copy jump & call for insns.
2707 * rtl.h (struct rtx_def): Document use of jump and call for insns.
2708 (SIBLING_CALL_P): New.
2709 (sibcall_use_t): New.
2710 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2711 Invoke optimize_sibling_and_tail_recursive_calls.
2712 * tree.c (lang_safe_for_unsave): New.
2713 (safe_for_unsave): New.
2714 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2716 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2717 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2718 (*sibcall_osf_1, *sibcall_value_osf_1): New.
2720 2000-03-17 Mark Mitchell <mark@codesourcery.com>
2722 * objc/objc-act.c (encode_method_prototype): Pass types, not
2723 PARM_DECLs, to int_size_in_bytes.
2725 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
2727 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2729 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2730 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2732 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2734 * Clean up usages of TREE_INT_CST_LOW.
2735 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2736 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2738 * c-tree.h (min_precision): Move declaration to here.
2739 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2740 (build_unary_op, add_pending_init): Use bit_position.
2741 (pending_init_member, process_init_element): Likewise.
2742 (really_start_incremental_init, push_init_level, pop_init_level):
2743 Don't make copies of nodes or modify them in place, use consistent
2744 types when tracking positions, and use tree routines computations.
2745 (set_init_index, output_init_element): Likewise.
2746 (output_pending_init_elements, process_init_element): Likewise.
2747 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2748 tree_low_cst and int_bit_position; also minor cleanup.
2749 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2750 (print_cst_octal): Precision is unsigned.
2751 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2752 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2753 (simple_type_align_in_bits): Result is unsigned int.
2754 Use tree_int_low_cst and host_integerp.
2755 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2756 (field_byte_offset): Result is HOST_WIDE_INT.
2757 Change types of internal variables so alignments are unsigned int,
2758 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2759 Use host_integerp, tree_low_cst, and int_bit_position.
2760 (add_bit_offset_attribute): Likewise.
2761 (add_data_member_location_attribute): Use tree_cst_low.
2762 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2763 (add_bit_size_attribute): Use tree_low_cst.
2764 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2765 * dwarfout.c: Similar changes to dwarf2out.c.
2766 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2767 * genoutput.c (n_occurences): Return -1 for null string.
2768 (strip_whitespace): Accept null string and make into function.
2769 (scan_operands): Reflect above changes.
2770 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2771 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2772 * ssa.c (rename_registers): Add missing cast of arg to bzero.
2773 * tree.c (int_size_in_bytes): Check for too big to represent.
2774 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2775 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2777 (min_precision): Delete from here.
2778 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2779 and int_bit_position.
2780 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2781 (encode_method_def): Likewise.
2782 (build_ivar_list_initializer): Use int_bit_position.
2783 (generate_shared_structures): Convert size.
2784 (encode_type, encode_complete_bitfield): Use integer_zerop.
2785 (encode_bitfield): Use tree_low_cst and int_bit_position.
2787 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2789 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
2791 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2793 * call.c (special_function_p): It is only malloc if it returns
2796 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2798 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
2799 (C33_FLAG, TARGET_C3X): Add macros.
2800 (TARGET_SWITCHES): Add -m33 option.
2801 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
2803 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2805 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
2806 (PARALLEL_PACK_FLAG): Delete.
2807 (TARGET_SWITCHES): Update.
2808 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
2810 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2812 * fold-const.c (fold): Fix a few cases when the returned result
2813 is not of the same type as the input.
2815 2000-03-16 Nick Clifton <nickc@cygnus.com>
2817 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
2820 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2822 * libgcc2.h: Move prototypes above macros with the same name.
2823 Wrap some function prototypes in the conditional which indicates
2824 whether they are supported, i.e. "BITS_PER_UNIT == 8".
2826 2000-03-16 Richard Henderson <rth@cygnus.com>
2828 * calls.c: Revert last two changes.
2830 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
2832 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
2833 has exponent 0 is a zero.
2835 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
2836 HASH may already be nonzero. Add code/mode into hash value
2837 immediately after repeat label.
2838 (cselib_lookup): Don't leave the hash table in an inconsistent
2839 state before a hash lookup operation.
2841 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
2843 * i386.md (all HI and QI mode non-move patterns): Conditionize
2844 by TARGET_[HQ]IMODE_MATH.
2845 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2846 x86_promote_qi_regs): Declare.
2847 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
2848 TARGET_PROMOTE_QI_REGS): New macros.
2849 (PROMOTE_MODE): New macro.
2850 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2851 x86_promote_qi_regs): New global variables.
2853 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
2855 * calls.c (emit_library_call_value_1): Break out from ...; handle
2856 VOIDmode function calls too.
2857 (emit_library_call_value): ... here.
2858 (emit_library_call): Implement by calling emit_library_call_value_1.
2860 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
2862 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
2863 Update arg_space_so_far on stack adjustments.
2864 (emit_library_call, emit_library_call_value): Likewise; take into
2865 account arg_space_so_far and pending_stack_adjust when calculcating
2868 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
2870 * flow.c: Move all basic block reordering code into its own file.
2871 (create_basic_block): Externalize.
2872 * bb-reorder.c: New file. Copy all basic block reordering code from
2873 flow.c to this file.
2874 (reorder_basic_blocks): Fix fencepost error in for-loop.
2875 (reorder_basic_blocks): Remove braces from single statement for-loops.
2876 * basic-block.h: Add declaration for create_basic_block.
2877 * Makefile.in: Add rules for bb-reorder.o.
2879 2000-03-16 Neil Booth <NeilB@earthling.net>
2881 * cppinit.c (handle_option): Implement #unassert directive
2882 as -A- command line option.
2883 (print_help): Update.
2884 * cpptexi.c: Update.
2886 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
2888 * md.texi (Standard Names): Document `jump'.
2890 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
2892 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
2895 2000-03-15 Geoff Keating <geoffk@cygnus.com>
2897 See the ChangeLog on the branch for more details.
2899 * configure.in: Merge in changes from newppc-branch.
2900 * configure: Regenerate.
2901 * config/rs6000/*: Merge in changes from newppc-branch.
2902 Also correct copyright notices.
2904 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
2906 * acconfig.h (HAVE_GAS_WEAK): New define.
2907 * configure.in (assembler weak support): Check for .weak support.
2908 * config.in, configure: Rebuilt.
2909 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
2910 HAVE_GAS_WEAK is defined.
2912 2000-03-15 Nick Clifton <nickc@cygnus.com>
2914 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
2917 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
2919 * cppfiles.c (open_include_file): New function.
2920 (find_include_file, cpp_read_file): Use it.
2922 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
2924 * cpphash.c (dump_hash_helper): Take the slot, not the element.
2926 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
2928 * flow.c (verify_flow_info): Check for unconditional return.
2930 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
2932 * config/ia64/ia64.md (restore_stack_nonlocal): New.
2933 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
2934 (__ia64_restore_stack_nonlocal): New.
2935 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
2937 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2939 * cpphash.c (collect_formal_parameters): Do not complain about
2940 parameter names that just start with `__VA_ARGS__'.
2942 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
2944 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
2945 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
2946 * i386.c (pentiumpro_cost): Set mul cost to 4.
2947 (x86_use_movx): Set for PPro.
2949 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
2951 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
2952 STACK_BOUNDARY for empty frames now.
2954 2000-03-14 Mark Mitchell <mark@codesourcery.com>
2956 * stor-layout.c (layout_union): Remove.
2957 (layout_union_field): New function, split out from layout_union.
2958 (finish_union_layout): Likewise.
2959 (layout_field): Handle unions by calling layout_union_field.
2960 (finish_record_layout): Handle unions.
2961 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
2962 QUAL_UNION_TYPE handling.
2964 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
2966 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
2967 end of basic block is jump_insn, not barrier; use create_basic_block
2968 instead of creating basic block by hand.
2970 2000-03-14 Jason Eckhardt <jle@cygnus.com>
2972 * flow.c (reorder_basic_blocks): Account for barriers when writing
2973 over NEXT_INSN (last_bb->end).
2974 (verify_flow_info): Add check for missing barriers.
2976 2000-03-14 Greg McGary <gkm@gnu.org>
2978 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
2979 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
2980 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
2981 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
2982 __unbounded, __unbounded__): New keywords.
2983 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
2984 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2985 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2987 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2989 * cselib.h: New file.
2990 * alias.c: Include "cselib.h".
2991 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
2992 MEMs as two new arguments.
2993 (get_addr): New static function.
2994 (find_base_term): Handle VALUEs.
2995 (memrefs_conflict_p): Likewise.
2996 (true_dependence): Call get_addr on the addresses.
2997 Call fixed_scalar_and_varying_struct_p with addresses that have been
2998 passed through get_addr and canon_rtx.
2999 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
3000 with true_dependence.
3001 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
3002 * loop.c: Include "cselib.h".
3003 (load_mems): Process extended basic block that enters the loop with
3004 cselib. Use that information to change initialization of the shadow
3005 register so that a constant equivalence is seen by later passes.
3006 * reload1.c: Include "cselib.h".
3007 (reload_cse_invalidate_regno): Delete function.
3008 (reload_cse_mem_conflict_p): Likewise.
3009 (reload_cse_invalidate_mem): Likewise.
3010 (reload_cse_invalidate_rtx): Likewise.
3011 (reload_cse_regno_equal_p): Likewise.
3012 (reload_cse_check_clobber): Likewise.
3013 (reload_cse_record_set): Likewise.
3014 (reg_values): Delete static variable.
3015 (invalidate_regno_rtx): Likewise.
3016 (reload_cse_delete_noop_set): New static function.
3017 (reload_cse_simplify): New static function, broken out of
3019 (reload_cse_noop_set_p): Delete unused argument INSN.
3020 Just call rtx_equal_for_cselib_p on set source and destination.
3021 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
3022 reload_cse_delete_noop_set. Delete code to keep track of values; use
3023 cselib functions instead. Delete code to push/pop obstacks.
3024 (reload_cse_simplify_set): Use cselib to find equivalent values.
3025 Delete code to push/pop obstacks.
3026 (reload_cse_simplify_operands): Likewise.
3027 * rtl.def (VALUE): New rtx code.
3028 * rtl.h (union rtunion_def): New elt rt_cselib.
3029 (X0CSELIB, CSELIB_VAL_PTR): New macros.
3030 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
3031 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
3032 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
3033 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
3034 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
3035 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
3036 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
3037 cselib_record_set, cselib_record_sets): New static functions.
3038 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
3039 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
3040 references_value_p): New functions.
3041 (MAX_USELESS_VALUES, REG_VALUES): New macros.
3042 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
3043 n_useless_values, reg_values, callmem, cselib_obstack,
3044 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
3045 New static variables.
3046 * varray.h (union varray_data_tag): New elt te.
3047 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
3048 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
3051 2000-03-14 Nick Clifton <nickc@cygnus.com>
3053 * gcc.c (do_spec_1): Catch the case where %* is used in a
3054 substitution pattern, but it has not been initialised.
3055 Issue a meaningful error message if an unrecognised operator
3056 is encountered in a spec string.
3058 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
3060 * function.c (prepare_function_start): Correctly initialize
3061 cfun->stack_alignment_needed.
3063 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
3065 * cppfiles.c (find_include_file): Don't assume nshort is a
3068 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
3070 * configure.in (hppa configurations): Add pa32-regs.h to the
3071 list of tm files as appropriate.
3072 * configure: Rebuilt.
3073 * pa.c (compute_frame_size): Remove explicit knowledge about FP
3075 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
3076 (fmpyaddoperands, fmpysuboperands): Likewise.
3077 * pa.h: Remove various definitions which depend on knowing
3078 how registers are numbered.
3079 * pa32-regs.h: New file with PA32 register numbering specific
3082 2000-03-14 Richard Henderson <rth@cygnus.com>
3084 * regmove.c (combine_stack_adjustments): New.
3085 (stack_memref_p, single_set_for_csa): New.
3086 (free_csa_memlist, record_one_stack_memref): New.
3087 (try_apply_stack_adjustment): New.
3088 (combine_stack_adjustments_for_block): New.
3089 * rtl.h (combine_stack_adjustments): Declare.
3090 * toplev.c (rest_of_compilation): Call it.
3092 * i386.md: Revert 2000-01-16 change.
3094 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3096 * gccbug.in: Add web category, gcc specific classes.
3098 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
3100 * stor-layout.c (finalize_record_size): Fix typo.
3102 2000-03-14 Stan Shebs <shebs@apple.com>
3104 * c-typeck.c (c_alignof): Error on incomplete types.
3105 * extend.texi (Alignment): Document this.
3107 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
3109 * cppfiles.c: Include mkdeps.h.
3110 (find_include_file, read_include_file): Remove _cpp_ prefix
3111 from name, make static.
3112 (_cpp_execute_include): New function, broken out of
3115 * cpplib.c: Don't include mkdeps.h.
3116 (struct directive): Remove type field. Reorder entries. The
3117 function takes only one argument.
3118 (struct if_stack): Make type field an int.
3119 (directive_table): Rename to dtable. Generate it, the
3120 prototypes of the directive handlers, and the enum for the
3121 directive numbers, from a template macro.
3122 (do_ifndef, do_include_next, do_import): New functions.
3123 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
3124 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
3125 do_ident, do_assert, do_unassert, do_sccs): Take only one
3127 (do_sccs): Define always, but alter behavior based on
3129 (_cpp_handle_directive, consider_directive_while_skipping):
3130 Restructure for new directive table layout.
3132 (pass_thru_directive): Take a directive number, not a pointer
3133 to a struct directive.
3134 (parse_include): New function, broken out of do_include.
3135 (do_include, do_import, do_include_next): Use parse_include
3136 and _cpp_execute_include.
3137 (do_elif, do_else): Test for T_ELSE specifically when checking
3138 for #elif/#else after #else.
3139 (parse_ifdef): New function, broken out of do_ifdef.
3140 (validate_else): Expect a name arg without a leading #.
3141 (if_directive_name): Delete.
3142 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
3143 directive handlers with only one argument.
3145 * cpphash.h: Update prototypes.
3146 (enum node_type): Remove entries for directives.
3147 * Makefile.in: Update dependencies.
3149 * cpphash.c (dump_hash_helper): Only dump nodes of type
3150 T_MACRO. Emit a newline after each definition.
3152 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3154 * gccbug.in: New file.
3155 * configure.in (all_outputs): Add gccbug.
3156 * Makefile.in (install-common): Install gccbug.
3157 (GCCBUG_INSTALL_NAME): New variable.
3158 * configure: Rebuilt.
3160 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
3162 * function.c (put_var_into_stack): Use type_for_mode to calculate
3163 part_type. Use MEM_SET_IN_STRUCT_P.
3164 * expr.c (store_field): Handle CONCAT.
3165 (store_constructor): Use fields_length.
3166 * tree.c (fields_length): New fn.
3167 * tree.h: Declare it.
3169 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
3171 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
3172 (cpplex.o): New target.
3173 * po/POTFILES.in: Add cpplex.c.
3175 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
3176 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
3177 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
3178 skip_block_comment, skip_line_comment, skip_comment,
3179 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
3180 _cpp_parse_name, skip_string, parse_string,
3181 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
3182 _cpp_get_directive_token, find_position,
3183 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
3184 (maybe_macroexpand, _cpp_lex_token): New functions.
3186 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
3187 parse_goto_mark): Delete.
3188 (_cpp_handle_eof): New function.
3189 (_cpp_handle_directive): Rename from handle_directive.
3190 (_cpp_output_line_command): Rename from output_line_command.
3191 (do_if, do_elif): Call _cpp_parse_expr directly.
3192 * cppfiles.c (_cpp_read_include_file): Don't call
3193 init_input_buffer here.
3194 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
3195 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
3196 here; pop the token_buffer and skip the rest of the line here.
3197 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
3200 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
3202 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
3203 CPP_GOTO_MARK): New macros.
3204 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
3205 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
3206 _cpp_read_and_prescan, _cpp_init_input_buffer,
3207 _cpp_grow_token_buffer, _cpp_get_directive_token,
3208 _cpp_handle_directive, _cpp_handle_eof,
3209 _cpp_output_line_command): Prototype them here.
3210 * cpplib.h (enum cpp_token): Add CPP_MACRO.
3211 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
3212 quote_string, output_line_command): Remove.
3214 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
3216 * stmt.c (expand_end_case): RANGE may be signed, and when checking
3217 whether it is too large we must also verify that it isn't negative.
3219 2000-03-13 Jakub Jelinek <jakub@redhat.com>
3221 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
3222 (movsi_zero_liveg0): Remove.
3223 (movsf_insn_novis_liveg0): Remove.
3225 (negsi2_not_liveg0): Rename to negsi2.
3226 (one_cmplsi2): Remove.
3227 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
3228 (one_cmplsi2_liveg0): Remove.
3229 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
3230 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
3231 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
3232 (PREDICATE_CODES): Remove zero_operand.
3233 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
3234 TARGET_BROKEN_SAVERESTORE.
3235 (zero_operand): Remove.
3236 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
3237 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
3239 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
3240 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3241 TARGET_BROKEN_SAVERESTORE): Remove.
3242 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3244 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3246 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3249 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
3251 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
3253 * cpplib.c (do_pragma_implementation): Fix off-by-one error
3254 truncating a string. Don't assume tokens are nul terminated.
3255 Problem noted by Andreas Jaeger <aj@suse.de>
3257 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
3259 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
3260 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
3261 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
3263 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
3265 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
3266 STRUCTURE_SIZE_BOUNDARY.
3268 2000-03-13 Mark Mitchell <mark@codesourcery.com>
3270 * tree.h (record_layout_info_s): New structure.
3271 (record_layout_info): New type.
3272 (new_record_layout_info): New function.
3273 (layout_field): Likewise.
3274 (finish_record_layout): Likewise.
3275 * stor-layout.c (layout_record): Remove.
3276 (new_record_layout_info): New function.
3277 (layout_field): New function, broken out from layout_record.
3278 (finalize_record_size): Likewise.
3279 (compute_record_mode): Likewise.
3280 (finalize_type_size): New function, broken out from layout_type.
3281 (finish_record_layout): Likewise.
3282 (layout_type): Use them.
3284 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
3286 * cpphash.c: Don't include version.h.
3287 (special_symbol) [case T_VERSION]: Look for the string in
3288 hp->value.cpval; don't use version_string.
3289 * cppinit.c (initialize_builtins): Set hp->value.cpval for
3290 __VERSION__ to version_string.
3291 * Makefile.in (cpphash.o): Update deps.
3293 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
3295 Convert cpplib to use libiberty/hashtab.c.
3297 * cpplib.h (struct cpp_reader): Make hashtab and
3298 all_include_files of type 'struct htab *'. Delete HASHSIZE
3299 and ALL_INCLUDE_HASHSIZE macros.
3301 * cpphash.h: Update prototypes.
3302 (struct hashnode): Remove next, prev, and bucket_hdr members.
3303 Make length a size_t. Add hash member.
3304 (struct ihash): Remove next member. Add hash member. Make
3305 name a flexible array member.
3307 * cppfiles.c: Include hashtab.h.
3308 (include_hash): Delete.
3309 (IHASHSIZE): New macro.
3310 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
3311 (cpp_included): Do the hash lookup here.
3312 (_cpp_find_include_file): Rewrite.
3313 (cpp_read_file): Put the "fake" hash entry into the hash
3314 table. Honor the control_macro, if it turns out we've seen
3315 the file before. Don't push the buffer here.
3316 (_cpp_read_include_file): Push the buffer here.
3317 (OMODES): New macro. Use it whenever we call open(2).
3319 * cpphash.c: Include hashtab.h.
3320 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
3321 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
3322 _cpp_lookup_slot): New functions.
3323 (HASHSIZE): new macro.
3324 (hashf, _cpp_install, _cpp_delete_macro): Delete.
3325 (_cpp_lookup): Use hashtab.h routines.
3327 * cppinit.c: Include hashtab.h.
3328 (cpp_reader_init): Call _cpp_init_macro_hash and
3329 _cpp_init_include_hash. Don't allocate hashtab directly.
3330 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
3331 pfile->all_include_files.
3332 (initialize_builtins): Use _cpp_make_hashnode and
3333 htab_find_slot to add hash entries.
3334 (cpp_finish): Just call _cpp_dump_macro_hash.
3335 * cpplib.c: Include hashtab.h.
3336 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
3337 create hash entries.
3338 (do_pragma_poison, do_assert): Likewise.
3339 (do_include): Don't push the buffer here. Don't increment
3340 system_include_depth unless _cpp_read_include_file succeeds.
3341 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
3343 (do_pragma_implementation): Use alloca to create copy.
3345 * Makefile.in: Update dependencies.
3347 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3349 * cppinit.c (cl_directive_handler): More K&R fixing.
3351 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
3353 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
3355 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
3357 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3359 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
3360 Change from char[] to macros.
3362 2000-03-12 Neil Booth <NeilB@earthling.net>
3364 * cppinit.c (cpp_start_read): Update indirect function
3367 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
3369 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
3372 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3373 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
3375 2000-03-11 Neil Booth <NeilB@earthling.net>
3377 * cppinit.c (struct pending option): Replace undef with a
3378 pointer to a directive handling routine.
3379 (struct cpp_pending): Replace separate assert_ and define_
3380 lists with one directive_ list.
3381 (new_pending_define): Rename new_pending_directive. Extra
3382 argument is the directive's handling routine.
3383 (handle_option): Update to use new_pending_directive.
3385 2000-03-11 Neil Booth <NeilB@earthling.net>
3387 * cppfiles.c (file_cleanup, _cpp_find_include_file,
3388 remap_filename, _cpp_read_include_file, actual_directory,
3389 hack_vms_include_specification): Replace bcopy(), index() etc
3390 calls. Add casts to some allocations. Make some variables
3391 pointers to const [unsigned] char.
3392 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
3393 collect_formal_parameters): Similarly.
3394 * cppinit.c (struct pending_option, append_include_chain,
3395 cpp_options_init, cpp_reader_init, initialize_standard_includes,
3396 cpp_start_read, new_pending_define, handle_option): Similarly.
3397 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
3398 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
3399 do_pragma_implementation, detect_if_not_defined,
3400 do_ifdef, skip_if_group, cpp_get_token, parse_string,
3401 do_assert, do_unassert): Similarly.
3402 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
3403 function prototypes.
3404 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
3406 2000-03-10 Richard Henderson <rth@cygnus.com>
3408 * builtins.c (expand_builtin_strlen): Revert last change.
3409 Use emit_insn_before if we're at the beginning of a sequence.
3411 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
3413 * builtins.c (expand_builtin_strlen): Make sure that we have something
3414 at the beginning of the sequence.
3416 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
3419 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
3421 2000-03-10 Richard Henderson <rth@cygnus.com>
3423 * except.c (can_throw): Use INTVAL on a CONST_INT.
3424 (reachable_handlers): Likewise.
3425 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
3427 2000-03-10 Andreas Jaeger <aj@suse.de>
3429 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
3430 MD_STARTFILE_PREFIX since those are not needed on linux.
3431 (ASM_FILE_START): New, from mips/gnu.h.
3433 2000-03-09 Richard Henderson <rth@cygnus.com>
3434 Alex Samuel <samuel@codesourcery.com> and others
3436 * Makefile.in (ssa.o): New rule.
3438 (STAGESTUFF): Add *.ssa and *.ussa.
3439 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
3440 * rtl.def (PHI): New RTL expression.
3441 * rtl.h (clear_log_links): New declaration.
3442 (convert_to_ssa): Likewise.
3443 (convert_from_ssa): Likewise.
3444 * flow.c (split_edge): If the entry node falls through to the
3445 split edge's source block, split the entry edge.
3446 (clear_log_links): New function.
3447 * toplev.c (ssa_dump): New variable.
3448 (flag_ssa): Likewise.
3449 (f_options): Add "ssa".
3450 (compile_file): Create SSA dump files.
3451 (rest_of_compilation): Go to and from SSA if enabled.
3452 (decide_d_option): Handle -de for SSA dump files.
3455 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
3457 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
3460 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
3462 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
3464 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
3466 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
3467 (MD_STARTFILE_PREFIX_1): New macro.
3469 2000-03-09 Robert Lipe <robertl@sco.com>
3471 * config/ia64/ia64.c: Include system.h.
3473 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
3475 * except.c (nothrow_function_p): If -fno-exceptions, just return.
3476 (init_eh_nesting_info): Likewise.
3478 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
3479 (TREE_NOTHROW): Rename from TREE_RAISES.
3480 * toplev.c (rest_of_compilation): Set it.
3481 * print-tree.c (print_node): Adjust.
3482 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
3483 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
3484 * calls.c (emit_call_1): Add 'nothrow' parm. Add
3485 REG_EH_REGION note as appropriate.
3486 (libfunc_nothrow): New fn.
3487 (emit_library_call, emit_library_call_value): Use it.
3488 (expand_call): Check TREE_NOTHROW.
3490 * varasm.c (make_decl_rtl): Skip initial '*' when setting
3491 DECL_ASSEMBLER_NAME.
3493 2000-03-09 Andreas Jaeger <aj@suse.de>
3495 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
3496 (TARGET_MEM_FUNCTIONS): Define.
3498 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
3500 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
3502 * except.c (can_throw): See through a SEQUENCE.
3503 (nothrow_function_p): New fn.
3504 * except.h: Declare it.
3505 * function.c (current_function_nothrow): New var.
3506 (prepare_function_start): Initialize it.
3507 * output.h: Declare it.
3508 * toplev.c (rest_of_compilation): Set it.
3509 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
3511 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
3513 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
3514 match. (cpp_compare_defs): Count the nul separator when
3515 advancing over argument names.
3517 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
3519 * recog.c (preprocess_constraints): Matching constraints affect
3520 same alternative/different operand, not same operand/different
3523 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
3524 register and a constant specially.
3526 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3528 * libgcc2.h: New file.
3529 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
3531 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
3533 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
3534 * configure: Regenerate.
3537 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
3539 * Makefile.in (LIBCPP_DEPS): New macro.
3540 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
3542 * cpperror.c: Include cpphash.h.
3543 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
3545 (lex): Don't use CPP_WARN_UNDEF.
3546 (_cpp_parse_expr): Return an int, the truth value.
3547 * cppfiles.c: Include cpphash.h.
3548 (_cpp_merge_include_chains): Move to cppinit.c and make static.
3549 * cppinit.c (include_defaults_array): Disentangle.
3550 (cpp_cleanup): Don't free the if stack here.
3551 (cpp_finish): Pop off all buffers, not just one.
3552 * cpplib.c (eval_if_expr): Return int.
3553 (do_xifdef): Rename do_ifdef.
3554 (handle_directive): Don't use CPP_PREPROCESSED.
3555 (cpp_get_token): Don't use CPP_C89.
3556 * fix-header.c: Don't use CPP_OPTIONS.
3558 * cpplib.h: Move U_CHAR, enum node_type, struct
3559 file_name_list, struct ihash, is_idchar, is_idstart,
3560 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
3561 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
3562 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
3563 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
3564 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
3565 of _cpp_simplify_pathname, _cpp_find_include_file,
3566 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
3567 Move struct if_stack to cpplib.c. Move struct cpp_pending to
3569 Change all uses of U_CHAR to be unsigned char instead.
3570 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
3572 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
3574 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
3575 (dwarf2out_begin_prologue): Set it.
3576 (output_call_frame_info): Don't emit EH unwind info for leaves.
3578 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
3579 can occur outside of an EH region.
3580 * except.c: Correct comments about rethrow behavior.
3581 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
3583 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
3585 * flow.c (make_edges): Always call make_eh_edge for calls.
3587 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
3589 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
3590 (struct cpp_buffer): Remove fname and underflow fields.
3591 (struct cpp_reader): Remove get_token field.
3592 (struct include_hash): Rename to struct ihash. Add typedef to
3594 (struct if_stack): Remove fname field.
3595 (IF_STACK_FRAME): Rename to IF_STACK.
3597 * cpperror.c (print_containing_files): Trust that there are no
3598 macro buffers below the top file buffer.
3599 * cppfiles.c: Replace all references to 'struct include_hash'
3600 with 'IHASH'. Rename initialize_input_buffer to
3601 init_input_buffer. Don't set or reference cpp_buffer->fname,
3602 use buffer->ihash->name instead.
3603 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
3604 not CPP_NULL_BUFFER.
3605 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
3606 IF_STACK_FRAME, IHASH not struct include_hash.
3607 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
3608 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
3609 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
3610 references to cpp_buffer->fname (delete entirely, or use
3611 ->ihash->name instead) and IF_STACK->fname.
3612 (cpp_push_buffer): Don't set new->underflow.
3613 (do_include): Use cpp_file_buffer.
3615 * cpphash.c (collect_formal_parameters): Remove duplicate
3616 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
3617 used as a macro argument name. Don't append "..." to namebuf
3618 for varargs macros. After we're done scanning, go through
3619 namebuf and make it NUL separated, not comma separated.
3620 (_cpp_compare_defs): Remove register tag from variables.
3621 Expect defn->argnames to be NUL separated.
3622 (_cpp_dump_definition): Expect defn->argnames to be NUL
3623 separated and in forward order.
3624 * cpphash.h: Update documentation of argnames field.
3626 2000-03-08 Richard Henderson <rth@cygnus.com>
3628 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
3629 to fail. Don't pre-expand the source operand.
3631 * i386.md (strlensi): Initialize eoschar and align before use.
3633 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
3635 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
3636 CONSTRUCTOR element.
3638 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
3640 * mips.c (mips_expand_prologue): If the last
3641 named argument is the vararg marker "va_list", treat it as
3642 an unnamed argument.
3644 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
3646 * dbxout.c (dbxout_parms): When correcting for promoted
3647 big-endian parameters, use the mode of the DECL_RTL rather
3648 than UNITS_PER_WORD.
3650 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
3652 * c-common.h (make_fname_decl): Declare.
3653 * c-common.c (make_fname_decl): Define.
3654 (declare_hidden_char_array): Remove.
3655 (declare_function_name): Use make_fname_decl.
3656 * c-decl.c (c_make_fname_decl): New function.
3657 (init_decl_processing): Set make_fname_decl.
3659 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
3661 * cccp.c (handle_directive): Initialize backslash_newlines_p.
3663 2000-03-07 Philipp Thomas <pthomas@suse.de>
3665 * po/POTFILES.in: Remove cppalloc.c from file list.
3667 2000-03-07 Steve Chamberlain <sac@pobox.com>
3669 * pj.c (pj_expand_prologue): current_function->args_info is
3670 now current_function_args_info.
3672 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
3673 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
3674 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
3676 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3678 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
3679 output as hexadecimal rather than the default octal.
3681 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
3683 * cpphash.c (special_symbol): Fix thinko in previous commit.
3685 2000-03-07 Neil Booth <NeilB@earthling.net>
3687 * cppexp.c (struct operation, left_shift, right_shift,
3688 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
3689 "int"s to "unsigned int"s.
3690 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
3692 * cpplib.h: Update for above.
3693 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
3694 returned from allocations.
3696 * cppinit.c (opt_comp, parse_options): New functions.
3697 (handle_option): Use parse_option to parse a single command
3698 line option, that possibly takes an argument.
3699 (cpp_handle_options): Sort the array of command line options on
3700 first invocation (non-ASCII hosts only).
3701 (print_help): Update.
3703 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
3705 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
3706 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
3708 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
3710 * cppinit.c (cpp_cleanup): Free imp->nshort also.
3712 * cpperror.c (cpp_print_containing_files,
3713 cpp_print_file_and_line, v_cpp_message): Rename to
3714 print_containing_files, print_file_and_line, and v_message.
3715 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
3716 to _cpp_parse_expr, parse_escape, and lex.
3717 (parse_charconst): Remove broken multibyte support.
3718 * cppfiles.c (include_hash): Make static.
3719 (cpp_included): New function.
3720 (merge_include_chains, find_include_file, finclude,
3721 simplify_pathname): Rename to _cpp_merge_include_chains,
3722 _cpp_find_include_file, _cpp_read_include_file, and
3723 _cpp_simplify_pathname.
3724 * cpphash.c (cpp_lookup, free_definition, delete_macro,
3725 cpp_install, create_definition, macroexpand, compare_defs,
3726 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
3727 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
3728 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
3729 * cppinit.c (cpp_handle_option): Rename to handle_option, make
3731 * cpplib.c: Remove extern prototype of cpp_parse_expr.
3733 * cpphash.h: Update prototypes.
3734 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
3736 2000-03-07 Andrew Haley <aph@cygnus.com>
3738 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
3739 PTRDIFF_TYPE should be based solely on Pmode.
3742 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3744 * rtl.h (rtunion_def): Constify member `rtstr'.
3745 (emit_line_note_after, emit_line_note, emit_line_note_force,
3746 emit_note, decode_asm_operands): Constify.
3748 * cse.c (canon_hash): Likewise.
3750 * dbxout.c (dbxout_block): Likewise.
3752 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
3753 v_warning_for_asm): Likewise.
3755 * dwarfout.c (function_start_label): Likewise.
3757 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
3758 emit_line_note_force): Likewise.
3760 * final.c (last_filename, asm_insn_count, final_scan_insn,
3761 output_source_line): Likewise.
3763 * function.h (struct emit_status): Likewise.
3765 * gcse.c (hash_expr_1): Likewise.
3767 * genattr.c (gen_attr, main): Likewise.
3769 * genattrtab.c (struct function_unit, current_alternative_string,
3770 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
3771 attr_numeral, check_attr_test, check_attr_value,
3772 convert_set_attr_alternative, convert_set_attr,
3773 compute_alternative_mask, simplify_by_exploding, gen_attr,
3774 gen_unit): Likewise.
3776 * genflags.c (gen_insn): Likewise.
3778 * gengenrtl.c (type_from_format): Likewise.
3780 * genopinit.c (gen_insn): Likewise.
3782 * genoutput.c (n_occurrences, process_template, process_template):
3785 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3788 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3791 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
3792 ggc_set_mark, ggc_get_size): Likewise.
3794 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
3796 * optabs.c (init_one_libfunc): Likewise.
3798 * output.h (assemble_start_function): Likewise.
3800 * recog.c (decode_asm_operands): Likewise.
3802 * toplev.c (rest_of_compilation): Likewise.
3804 * tree.h (emit_line_note_after, emit_line_note,
3805 emit_line_note_force): Likewise.
3807 * varasm.c (asm_output_bss, asm_output_aligned_bss,
3808 asm_emit_uninitialised, assemble_start_function,
3809 assemble_variable, const_hash, compare_constant_1,
3810 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
3812 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
3814 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
3816 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
3818 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
3820 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
3821 arm_dllimport_name_p): Likewise.
3823 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
3826 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
3828 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3830 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
3831 arm_mark_dllexport, arm_mark_dllimport,
3832 arm_pe_encode_section_info): Likewise.
3834 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
3835 ASM_FINISH_DECLARE_OBJECT): Likewise.
3837 * arm/thumb.c (thumb_function_prologue): Likewise.
3839 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
3841 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3843 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
3845 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
3847 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3849 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3851 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
3852 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
3854 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
3856 * i386/i386.c (asm_output_function_prefix): Likewise.
3858 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
3860 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3862 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
3864 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
3865 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
3866 ASM_OUTPUT_SECTION_NAME): Likewise.
3868 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
3870 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
3872 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
3874 * m32r/m32r.c (m32r_encode_section_info): Likewise.
3876 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3878 * mcore/mcore.c (mcore_encode_section_info): Likewise.
3880 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3882 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3884 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3886 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
3888 * mips/mips.md (movdi, movsi): Likewise.
3890 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3892 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3894 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3896 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3897 ASM_OUTPUT_ASCII): Likewise.
3899 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
3900 output_mi_thunk, output_toc): Likewise.
3902 * rs6000/rs6000.md (movsi): Likewise.
3904 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
3906 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
3908 * v850/v850.c (print_operand, print_operand_address,
3909 v850_encode_data_area): Likewise.
3911 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
3913 * config/mips/mips.md (zero_extendsidi2): Always force operand
3914 one to memory for mips16.
3916 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3918 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
3919 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
3920 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
3921 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
3922 (min_precision): Result is unsigned.
3923 (add_double, neg_double, mul_double): Low word is unsigned.
3924 (lshift_double, rshift_double, lrotate_double): Likewise.
3925 (rrotate_double, div_and_round_double): Likewise.
3926 (tree_floor_log2, compare_tree_int): New functions.
3927 (preserve_rtl_expr_temps): New declaration.
3928 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
3929 (decl_attributes): Use tree_log2 to find alignment.
3930 Check for TREE_INT_CST_HIGH for format args.
3931 (min_precision): Now unsigned.
3932 Use tree_floor_log2.
3933 (truthvalue_conversion): Delete long-disabled code.
3934 * c-decl.c (finish_struct): Clean up tests on field width.
3935 (finish_function): Use compare_tree_int.
3936 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
3937 * c-typeck.c (comptypes): Use tree_int_cst_equal.
3938 (default_conversion, digest_init): Use compare_tree_int.
3939 (build_binary_op): Use integer_all_onesp and compare_tree_int.
3940 Fix type errors in forming masks.
3941 * calls.c (initialize_argument_information): Use compare_tree_int.
3942 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3943 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
3944 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
3945 (store_field): Use compare_tree_int.
3946 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
3947 (expand_expr, case ARRAY_REF): Use compare_tree_int.
3948 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
3949 (do_store_flag): Use compare_tree_int.
3950 * fold-const.c (encode, decode): Low part is always unsigned.
3951 (force_fit_type, add_double, neg_double, mul_double): Likewise.
3952 (lshift_double, rshift_double, lrotate_double): Likewise.
3953 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
3954 (fold_convert): Use compare_tree_int.
3955 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
3956 (invert_truthvalue, case INTEGER_CST): Likewise.
3957 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
3958 * mkdeps.c (deps_dummy_targets): Make I unsigned.
3959 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
3960 (lshift_double, rshift_double, lrotate_double, rrotate_double):
3962 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
3963 (expand_end_case): Use compare_tree_int.
3964 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3965 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
3966 (layout_decl): Likewise.
3967 (layout_record, layout_union): Make sizes unsigned.
3968 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
3969 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
3970 * tree.c (struct type_hash): hashcode is unsigned.
3971 (build_type_attribute_variant, type_hash_list): Likewise.
3972 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
3973 (attribute_hash_list, build_array_type, build_method_type): Likewise.
3974 (build_complex_type): Likewise.
3975 (real_value_from_int_cst): Remove unneeded casts.
3976 (integer_all_onesp): Add casts.
3977 (tree_floor_log2, compare_tree_int): New functions.
3978 (build_index_type): Use tree_int_cst_sgn.
3979 * varasm.c (assemble_variable): Use compare_tree_int.
3981 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
3983 * cpphash.c (collect_expansion): Also catch ## at start of macro.
3985 * varasm.c (make_decl_rtl): Don't add a number to members of
3987 (make_function_rtl): Likewise.
3989 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3991 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
3992 patch from 2000-01-28.
3994 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
3996 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
3997 filled with an insn from the jump target.
3999 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4001 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
4002 (c4x_external_ref): Likewise.
4003 * config/c4x/c4x.c (struct name_list): Likewise.
4005 1999-12-16 Ben Collins <bcollins@debian.org>
4007 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
4008 argument to genmultilib.
4009 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
4010 the contents into the multilib.h header.
4011 * gcc.c: Declare multilib_exclusions for the specs file.
4012 (set_multilib_dir): Use it.
4013 (print_multilib_info): Likewise.
4014 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
4015 to pass to genmultilib.
4017 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4019 * builtins.c (built_in_class_names, built_in_names): Constify a
4022 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
4024 (_mcleanup): Ensure value matches format specifier in sprintf.
4026 * cpphash.c (special_symbol): Don't needlessly cast away
4029 * cppinit.c (base_name): Delete unused prototype.
4031 * mkdeps.c (deps_init): Make definition K&R safe.
4033 * tree.h (built_in_class_names, built_in_names): Constify a
4036 2000-03-06 Jakub Jelinek <jakub@redhat.com>
4038 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
4039 floating point instructions for epilogue delay.
4041 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
4042 to gas if it supports .register pseudo.
4044 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
4045 LONG_DOUBLE_TYPE_SIZE if not defined.
4046 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
4047 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
4049 * gengenrtl.c: Likewise.
4050 * print-rtl.c: Likewise.
4052 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
4053 MASK_LONG_DOUBLE_128.
4054 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
4055 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
4056 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
4057 (SUBTARGET_SWITCHES): Define.
4058 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
4059 with -mlong-double-128.
4060 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4061 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4062 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4063 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
4064 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
4065 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
4066 with -mlong-double-128.
4067 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4068 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4069 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4070 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
4071 TARGET_LONG_DOUBLE_128): Define.
4072 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
4073 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
4074 long double on TARGET_ARCH64.
4076 2000-03-06 Mark Mitchell <mark@codesourcery.com>
4078 * function.c (free_temps_for_rtl_expr): Don't free slots
4079 that have been pushed into a higher level.
4082 2000-03-05 Mark Mitchell <mark@codesourcery.com>
4084 2000-03-05 Mark Mitchell <mark@codesourcery.com>
4086 * basic-block.h (ALLOCA_REG_SET): Remove.
4087 (INITIALIZE_REG_SET): New macro.
4088 * flow.c (update_life_info): Use it.
4089 (calculate_global_regs_live): Likewise.
4090 (propagate_block): Likewise.
4091 * global.c (build_insn_chain): Likewise.
4092 * haifa-sched.c (schedule_region): Likewise.
4094 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
4096 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
4097 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
4098 (DWARF_ARANGES_PAD_SIZE): New define.
4099 (output_aranges): Use it to pad the address range header.
4100 (DWARF_ROUND): Fix for non power of 2 rounding.
4102 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
4104 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
4106 2000-03-05 Mark Mitchell <mark@codesourcery.com>
4108 * tree.def (RTL_EXPR): Update documentation.
4109 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
4110 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
4111 * function.c (preserve_rtl_expr_temp): New function.
4112 (preserve_rtl_expr_temps): Likewise.
4113 (preserve_rtl_expr_result): Use it.
4116 2000-03-04 Mark Mitchell <mark@codesourcery.com>
4118 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
4120 * regmove.c (copy_src_to_dest) Do not create src->dest move
4121 for unchanging destination.
4123 2000-03-04 Mark Mitchell <mark@codesourcery.com>
4125 * function.h (struct sequence_stack): Remove rtl_expr.
4126 (struct emit_staus): Likewise.
4127 (seq_rtl_expr): Remove.
4128 * tree.h (free_temps_for_rtl_expr): Don't declare.
4129 (start_sequence_for_rtl_expr): Likewise.
4130 * rtl.h (preserve_rtl_expr_result): Likewise.
4131 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
4132 (start_sequence_for_rtl_expr): Remove.
4133 (push_topmost_sequence): Don't save sequence_rtl_expr.
4134 (pop_topmost_sequence): Remove comment about not restoring it.
4135 (end_sequence): Don't set seq_rtl_expr.
4136 (init_emit): Don't initialize it.
4137 (mark_sequence_stack): Don't mark it.
4138 (mark_emit_status): Likewise.
4139 * except.c (protect_with_terminate): Use
4140 start_sequence_for_rtl_expr, not start_sequence.
4141 * expr.c (expand_expr, case RTL_EXPR): Don't call
4142 preserve_rtl_expr_result or free_temps_for_rtl_expr.
4143 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
4144 (preserve_rtl_expr_result): Remove.
4145 (free_temps_for_rtl_expr): Likewise.
4146 (pop_temp_slots): Likewise.
4147 (mark_temp_slot): Don't mark the rtl_expr.
4148 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
4149 start_sequence_for_rtl_expr.
4151 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
4153 * mkdeps.c, mkdeps.h: New files.
4154 * po/POTFILES.in: Add them.
4155 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
4156 (cpplib.o, cppinit.o): Depend on mkdeps.h.
4157 (mkdeps.o): New target.
4159 * cppfiles.c: Delete deps_output.
4160 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
4161 OBJECT_SUFFIX, and base_name.
4162 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
4164 (initialize_dependency_output): Use deps_init,
4165 deps_add_target, deps_calc_target, and deps_add_dep. Remove
4166 all the unnecessary string bashing.
4167 (cpp_finish): Use deps_write. Remove an unnecessary nesting
4169 * cpplib.c (do_include): Use deps_add_dep.
4170 * cpplib.h (struct cpp_reader): Replace deps_buffer,
4171 deps_allocated_size, deps_size, deps_column members with
4172 single pointer to a struct deps. Delete prototype of
4175 * cppinit.c: Fix thinko in previous patch.
4177 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4179 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
4180 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
4181 (mode_for_size_tree): New function.
4182 (layout_decl, layout_type): Call it and clean up BLKmode checks.
4183 * tree.h (mode_for_size_tree): New declaration.
4185 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
4187 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
4189 * stmt.c (is_body_block): Move...
4190 * dwarfout.c, dwarf2out.c: ...from here.
4191 * tree.h: Declare it.
4192 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
4193 * final.c (final_start_function): Do call remove_unnecessary_notes
4196 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
4198 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
4200 * cpplib.h (_dollar_ok): New macro.
4201 (is_idchar, is_idstart): Use it.
4202 (IStable): Rename to _cpp_IStable. Declare it const if
4203 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
4204 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
4205 is_space): Update for renamed IStable.
4207 * cppinit.c: Delete all references to FAKE_CONST and CAT
4208 macros. Define init_IStable as empty macro if gcc >=2.7 or
4209 C99. Change TABLE() to ISTABLE and hardcode name of table.
4210 (cpp_start_read): Don't change the IStable based on
4213 * cpphash.c (unsafe_chars): Add pfile argument. All callers
4214 changed. Handle '$' for char1 correctly.
4215 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
4217 * cppexp.c (tokentab2): Make const.
4218 (cpp_lex): Make toktab const.
4219 * cppinit.c (include_defaults_array): Make const.
4220 (initialize_standard_includes): Make default_include const.
4222 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
4224 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
4225 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
4226 (gen_decl_die): Likewise.
4227 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
4228 (output_decl): Likewise.
4230 * varasm.c (make_function_rtl): If we change the name used in the
4231 rtl, update DECL_ASSEMBLER_NAME accordingly.
4232 (make_decl_rtl): Likewise.
4234 * toplev.c (rest_of_compilation): Tweak formatting.
4236 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
4237 remove_unnecessary_notes.
4238 (debug_ignore_block): New fn.
4239 * toplev.h: Declare it.
4240 * emit-rtl.c (remove_unncessary_notes): Call it.
4241 * dwarf2out.c (dwarf2out_ignore_block): New fn.
4242 * dwarf2out.h: Declare it.
4243 * final.c (final_start_function): Don't call remove_unnecessary_notes
4244 if we did insn scheduling.
4246 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
4248 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
4249 * cpplib.h: Delete SET_CPP_PEDANTIC.
4251 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4253 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
4254 result is a RECORD_TYPE.
4256 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
4258 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
4260 2000-03-03 Richard Henderson <rth@cygnus.com>
4262 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
4263 addition over compliments over shifts.
4265 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4267 * reload1.c (reload_combine_note_use): Handle return register USEs.
4268 REG case: Handle multi-hard-register hard regs.
4270 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4272 * md.texi: Document use of '*' in insn pattern name.
4274 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
4276 * calls.c (special_function_p): operator new may not be malloc-like.
4278 * gcse.c (dump_hash_table): Really fix error in last change.
4280 2000-03-02 Denis Chertykov <denisc@overta.ru>
4282 * avr.c (print_operand): Use print_operand_address instead of
4284 * avr/libgcc.S: Cleanup code.
4286 2000-03-02 Richard Henderson <rth@cygnus.com>
4288 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
4290 2000-03-02 Mark Mitchell <mark@codesourcery.com>
4292 * tree.h (TYPE_ALIGN_UNIT): New macro.
4294 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
4296 * i386.c: (constant_call_address_operand): Reject CONST_INT.
4298 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
4300 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
4302 (SET_CPP_PEDANTIC): New macro.
4303 * cpplib.c (do_include): Don't bother checking system_header_p.
4304 (do_warning, do_ident, do_assert, do_unassert): Likewise.
4305 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
4307 * function.h (struct expr_status): Add x_arg_space_so_far.
4308 (arg_space_so_far): New macro.
4309 * expr.c (init_expr): Initialize it.
4310 * calls.c (emit_call_1): Reset it.
4311 (compute_argument_block_size, expand_call): Use it.
4312 (expand_call, store_one_arg): Increment it.
4314 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4316 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
4319 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
4321 * cppfiles.c (cpp_read_file): New function.
4323 * cpphash.c (collect_expansion): Make sure to reset last_token
4324 to NORM when we hit a string. Handle trailing whitespace
4325 properly when the expansion is empty.
4326 (create_definition): Disable line commands while parsing the
4328 (dump_definition): If pfile->lineno == 0, output a line
4329 command ahead of the dump, and add a trailing newline.
4331 * cppinit.c (append_include_chain): Add fifth argument, which
4332 indicates whether or not system headers are C++ aware.
4333 (initialize_standard_includes): New function,
4334 broken out of read_and_prescan. Pass 'cxx_aware' value from
4335 the include_defaults_array on to append_include_chain.
4336 (dump_special_to_buffer): Const-ify char array.
4337 (builtin_array): Don't dump __BASE_FILE__.
4338 (cpp_start_read): Use cpp_read_file. Reorder code for
4339 clarity. Don't output line commands here for -D/-A/-U
4340 switches. Don't call deps_output for files included with
4341 -include or -imacros.
4343 * cpplib.c (do_define): Don't pay any attention to the second
4345 (cpp_expand_to_buffer): Disable line commands while scanning.
4346 (output_line_command): Work in the file buffer.
4347 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
4348 Fix formatting of comments. Prototype cpp_read_file.
4350 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4352 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
4353 reference the language-equivalent of sizetype.
4354 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
4355 * fold-const.c (size_binop, size_diffop): Put back checks.
4356 * gcse.c (dump_hash_table): Fix minor error in last change.
4357 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
4358 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
4361 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
4363 * calls.c (expand_call) Do not attempt to combine stack adjustments
4364 with inhibit_defer_pop set.
4366 2000-03-01 Mark Mitchell <mark@codesourcery.com>
4368 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
4369 the DECL_SIZE for a FIELD_DECL.
4371 2000-03-01 Bruce Korb <bkorb@gnu.org>
4373 * fixinc/inclhack.tpl: remove unused symlinks
4374 * fixinc/README: GCC Maintainer info
4375 * fixinc/inclhack.sh: regen
4376 * fixinc/fixincl.sh: regen
4378 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
4380 * cpphash.c (collect_expansion): Trim trailing white space
4381 from macro definitions, but don't go past the last insertion
4384 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
4386 * i386.md (mulqi3): New pattern.
4388 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
4390 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
4392 (struct cpp_reader): Add parsing_if_directive and
4393 parsing_define_directive flags.
4394 (struct cpp_options): Remove output_conditionals flag.
4395 (check_macro_name): Delete prototype.
4397 * cpphash.h (struct macrodef): Delete.
4398 (struct reflist): Separate from struct definition.
4399 (struct definition): Remove unused fields. Add column number.
4400 (create_definition): Returns a DEFINITION *. Takes a
4401 cpp_reader * and an int.
4403 * cpphash.c (SKIP_WHITE_SPACE): Delete.
4404 (PEEKC): Copy defn from cpplib.c.
4405 (rest_extension, REST_EXTENSION_LENGTH): Delete.
4407 (struct arglist): Simplify.
4408 (collect_expansion): Rewrite. Get tokens by calling
4409 cpp_get_token. Add more error checking.
4410 (collect_formal_parameters): New function, broken out of
4411 create_definition and reworked to use get_directive_token.
4412 (create_definition): All real work is now in collect_expansion
4413 and collect_formal_parameters. do_define handles finding the
4414 macro name. Return a DEFINITION, not a MACRODEF.
4415 (macroexpand): Replace bcopy with memcpy throughout. Replace
4416 character-at-a-time copy loop with memcpy and pointer increments.
4417 (compare-defs): d1->argnames / d2->argnames might be null.
4419 * cpplib.c (copy_rest_of_line): Delete function.
4420 (skip_rest_of_line): Do all the work ourselves.
4421 (skip_string): New function.
4422 (parse_string): Use skip_string.
4423 (get_macro_name): New function.
4424 (check_macro_name): Delete.
4425 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
4426 (cpp_skip_hspace): Use CPP_BUMP_LINE.
4427 (handle_directive): ICE if we're called on a macro buffer.
4428 (do_define): Determine macro name and type (funlike/objlike)
4429 here. Expunge all uses of MACRODEF.
4430 (cpp_push_buffer): Set line_base to NULL.
4431 (do_undef, read_line_number): Don't worry about getting a POP token.
4432 (eval_if_expression): Set/reset parsing_if_directive around
4433 cpp_parse_expr. Don't clear only_seen_white.
4434 (skip_if_group): Remove output_conditionals logic. Use
4436 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
4437 tokens under appropriate conditions.
4438 (cpp_unassert): Call do_unassert not do_assert. Oops.
4440 * cppexp.c (parse_defined): New function, break out of
4442 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
4443 ourselves, with cpp_defined.
4444 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
4446 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
4447 * gcc.dg/strpaste-2.c: New.
4449 2000-02-29 Mark Mitchell <mark@codesourcery.com>
4451 * fold-const.c (size_binop): Don't asert inputs are the same and
4452 have TYPE_IS_SIZETYPE set.
4453 (size_diffop): Likewise.
4455 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
4457 * dwarfout.c (output_block): Output abstract blocks even if they
4458 don't have TREE_ASM_WRITTEN set.
4460 * calls.c (emit_library_call): Check for null REG.
4462 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
4464 * c-decl.c (current_function_decl): Move to toplev.c.
4465 (init_decl_processing): Don't add current_function_decl as a ggc
4467 * dbxout.c (dbxout_symbol): Change return type to int.
4468 (dbxout_symbol_location, dbxout_syms): Likewise.
4469 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
4470 any locals. Use current_function_func_begin_label if set.
4471 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
4472 * dwarf2out.c (dwarf2out_begin_prologue): Set
4473 current_function_func_begin_label.
4474 * final.c (final_start_function): Reset it.
4475 * toplev.c (current_function_decl): Define it here.
4476 (current_function_func_begin_label): New variable.
4477 (main): Add both as ggc roots.
4478 * tree.h (current_function_func_begin_label): Declare.
4480 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4482 * gcse.c: Cleanups throughout: mostly white-space, but also
4483 some minor rearrangement of code.
4485 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
4487 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
4488 returns a PARALLEL. Use emit_group_load and use_group_regs
4490 (emit_library_call_value): Similarly.
4492 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
4493 * pa/quadlib.asm: Remove.
4494 * pa/quadlib.c: New file.
4496 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
4497 * configure: Rebuilt.
4499 2000-02-29 Philip Blundell <pb@futuretv.com>
4501 * config/arm/conix-elf.h: New file.
4502 * configure.in (arm*-*-conix*): New configuration.
4503 * configure: Regenerate.
4505 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
4507 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
4508 don't have TREE_ASM_WRITTEN set.
4510 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4512 * Eliminate DECL_FIELD_SIZE.
4513 * builtins.c (built_in_class_names, built_in_names): New variables.
4514 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
4515 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
4516 DECL_SIZE, not DECL_FIELD_SIZE.
4517 * print-tree.c (print_node): Remove code that prints extra blank
4518 lines in some cases.
4519 Properly handle inline and builtin function cases.
4520 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
4521 * tree.h (built_in_class_named, built_in_names): New declarations.
4522 (union tree_decl): Rename internal unions to u1 and u2 and change
4523 some of their components.
4524 Add new field built_in_class.
4525 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
4526 Reflect above changes.
4527 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
4528 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
4529 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
4530 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
4532 2000-02-28 Dmitri Makarov <dim@windriver.com>
4534 * extend.texi: Document ARM's support for long/short calls.
4536 * invoke.texi: Document ARM's -mlong-calls command line switch.
4538 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
4539 (arm_encode_call_attribute): Add prototype.
4540 (arm_set_default_type_attribute): Add prototype.
4541 (arm_strip_name_encoding): Add prototype.
4543 * config/arm/arm.c (arm_init_cumulative_args): replace
4544 initialisation og 'long_calls' field with initialisation of
4545 'call_cookie' field.
4546 (enum arm_pragma_enum): New enum.
4547 (arm_pragma_long_calls): New static variable.
4548 (arm_process_pragma): Also process "#pragma long_calls_off".
4549 (arm_valid_type_attribute_p): Accept short_call attribute.
4550 (arm_comp_type_attributes): Check long/short call attributes.
4551 (arm_encode_call_attribute): New function: Encode long_call
4552 or short_call attribute in function name.
4553 (arm_set_default_type_attributes): New function: Assign
4554 default attributes to newly defined type.
4555 (current_file_function_operand): New function: Return true if
4556 the symbol is a function which has already been compiled.
4557 (arm_is_longcall_p): New function: Return true if the
4558 indicated function should be called via a long call.
4559 (arm_get_strip_length): New function. Returns number of
4560 prefix characters to be stripped from a function's name.
4561 (arm_strip_name_encoding): New function. Strip prefix characters
4562 from a function's name.
4564 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
4566 (SHORT_CALL_FAG_CHAR): Define.
4567 (LONG_CALL_FAG_CHAR): Define.
4568 (ENCODED_SHORT_CALL_ATTR_P): Define.
4569 (ENCODED_LONG_CALL_ATTR_P): Define.
4570 (ARM_NAME_ENCODING_LENGTHS): Define.
4571 (STRIP_NAME_ENCODING): Define.
4572 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
4573 (ARM_ENCODE_CALL_TYPE): Define.
4574 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
4575 (ARM_DECLARE_FUNCTION_SIZE): Define.
4576 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
4578 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
4579 if a long call is needed.
4580 (call_value): Ditto.
4581 (call_symbol): Ditto.
4583 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
4584 ARM_DECLARE_FUNCTION_SIZE.
4586 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
4587 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
4588 (ARM_STRIP_NAME_ENCODING): Undefine.
4589 (STRIP_NAME_ENCODING): Undefine.
4590 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
4591 (ASM_DECLARE_FUNCTION_NAME): Ditto.
4592 (ASM_OUTPUT_COMMON): Ditto.
4593 (ASM_DECLARE_OBJECT_NAME): Ditto.
4595 * config/arm/pe.c (arm_dllexport_name_p): Check for
4597 (arm_dllimport_name_p): Ditto.
4598 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
4599 (arm_mark_dllimport): Ditto.
4601 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4603 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
4605 2000-02-28 Mark Mitchell <mark@codesourcery.com>
4607 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
4609 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
4611 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
4612 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
4613 NO_BUILTIN_WCHAR_TYPE is not defined.
4614 (CPP_WCHAR_TYPE): Delete.
4615 * cccp.c (main): Don't change wchar_type if cplusplus.
4616 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
4618 2000-02-28 Nick Clifton <nickc@cygnus.com>
4620 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
4622 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
4624 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
4625 (ASM_WEAKEN_LABEL): Define.
4627 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
4629 * expr.c (store_constructor): Do not emit USE.
4630 * rtl.h (stupid_life_analysis): Remove.
4632 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4634 * function.c (number_blocks): Reset next_block_index based on
4635 what debugging format is used, not what is defined.
4637 * lcm.c: Minor reformatting throughout.
4638 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
4640 * toplev.c (rest_of_compilation): Account for time in
4641 optimize_mode_switching.
4643 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
4644 if only marking labels.
4646 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
4648 * calls.c (expand_call): Attempt to combine stack adjustments with
4649 pending stack adjustments.
4651 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4653 * loop.c (reg_in_basic_block_p): Don't abort when falling through
4654 to the end of the function.
4656 2000-02-27 Mark Mitchell <mark@codesourcery.com>
4658 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
4660 * final.c (next_block_index): Remove.
4661 (max_block_depth): Likewise.
4662 (pending_blocks): Likewise.
4663 (init_final): Don't initialize them.
4664 (final_start_function): Don't set next_block_index. Set up
4666 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
4667 * function.h (number_blocks): New function.
4668 * function.c (get_block_vector): New function.
4669 (identify_blocks): Use it.
4670 (reorder_blocks): Set NOTE_BLOCK.
4671 (number_blocks): New function.
4672 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
4673 * tree.h (BLOCK_NUMBER): New macro.
4674 (tree_block): Add block_num field.
4675 * dbxout.c (next_block_number): Remove.
4676 (dbxout_init): Don't set it.
4677 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
4678 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
4680 * toplev.c (rest_of_compilation): Always call
4681 find_loop_tree_blocks. Fix indentation.
4682 * dwarf2out.c (next_block_number): Remove.
4683 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4684 to determine block numbers.
4685 (gen_inlined_subroutine_die): Likewise.
4686 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
4687 (decls_for_scope): Don't increment next_block_number.
4688 * dwarfout.c (next_block_number): Remove.
4689 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4690 to determine block numbers.
4691 (output_inlined_subroutine_die): Likewise.
4692 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
4693 (output_decls_for_scope): Don't increment next_block_number.
4694 * sdbout.c (next_block_number): Remove.
4695 (sdbout_block): Use BLOCK_NUMBER.
4696 (sdbout_begin_block): Simplify.
4697 * xcoffout.c (next_block_number): Remove.
4698 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
4699 (xcoffout_begin_block): Don't set next_block_number.
4700 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
4703 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4705 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
4706 (expand_builtin_strcpy): Pass correct type to size_binop.
4707 (expand_builtin_strcmp): Likewise.
4708 Clean up conditional structure.
4709 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
4710 (complete_array_type): Don't use size_binop for MAXINDEX.
4711 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
4712 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
4713 (c_alignof): Use size_one_node.
4714 (build_unary_op): Pass arg of proper type to size_binop.
4715 (really_start_incremental_init, push_init_level): Use sizetype for
4716 constructor{,_bit,_unfilled}_index.
4717 (pop_init_label, output_init_element): Likewise.
4718 (output_pending_init_elements, process_init_element): Likewise.
4719 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
4720 * expr.c (store_expr): Use size_int.
4721 (store_constructor): Use proper types for size_binop args.
4722 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
4723 (expand_expr_unaligned): Likewise.
4724 (string_contant): Return object of sizetype.
4725 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
4726 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
4727 (ARGS_SIZE_TREE): Pass proper types to size_binop.
4728 * fold-const.c (int_const_binop): Refine when size_int is called.
4729 (fold_convert): Likewise.
4730 (size_int_wide): Rework to take KIND as arg, only take low order
4731 bits, handle new sizetype_tab datatype, and chain entries in
4733 (size_int_type_wide): New function.
4734 (size_binop): Validate types of arguments.
4735 (ssize_binop): Deleted.
4736 (size_diffop): New function.
4737 (extract_muldiv): Only fold division into multiplication for sizetypes.
4738 * function.c (assign_parms): Use size_diffop and make sure
4739 VAR field is of ssizetype; also pass proper type to size_binop.
4740 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
4741 (round_down): Deleted from here.
4742 * store-layout.c (sizetype_tab): Now an array.
4743 (sizetype_set, early_root_list): New variables.
4744 (variable_size): Use size_one_node.
4745 (round_up): Pass proper type to size_binop.
4746 (round_down): Moved to here and corrected as above.
4747 (layout_record): Pass proper arg types to size_binop.
4748 (layout_type): Likewise.
4749 If sizetype_set is zero, record the type just laid out.
4750 (make_unsigned_type): Don't call set_sizetype;
4751 (make_signed_type): Likewise; also, call fixup_signed_type.
4752 (initialize_sizetypes): New function.
4753 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
4754 set name of bitsizetype to "bit_size_type".
4755 Fix up type of sizes of all types made before call.
4756 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
4757 * tree.c (fix_sizetype): Deleted.
4758 (build_common_tree_nodes): Call initialize_sizetypes.
4759 (build_common_tree_nodes_2): Don't call fix_sizetype.
4760 * tree.h (TYPE_IS_SIZETYPE): New macro.
4761 (initialize_sizetype): New declaration.
4762 (enum size_type_kind): New type.
4763 (struct sizetype_tab): Deleted.
4764 (sizetype_tab): Now array; adjust sizetype macros.
4765 (size_diffop, size_int_type_wide): New functions.
4766 (size_int_wide): Change number of args and type; access macros changed.
4767 (ssize_int, sbitsize_int): New macros.
4768 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
4769 (ROUND_TYPE_SIZE_UNIT): New macro.
4771 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
4773 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
4775 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4777 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
4778 Mark as possibly unused.
4780 * cse.c (cse_insn): Delete dead code involving tablejump.
4781 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
4783 * Makefile.in (libcpp.a): Start by deleting it.
4785 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4787 * cpplib.h (enum file_change_code): Added rename_file.
4788 * cpplib.c (do_line): If a filename is given, set file_change to
4790 (output_line_command): If file_change is rename_file, always
4791 output a # directive with the file name.
4793 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
4795 2000-02-26 Mark Mitchell <mark@codesourcery.com>
4797 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
4798 when copying a PARM_DECL or RESULT_DECL.
4800 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4802 * fix-header.c (recognized_function): Also fix prototypes for
4803 functions taking "void".
4805 2000-02-26 Geoff Keating <geoffk@cygnus.com>
4807 * reload1.c (do_output_reload): Check reg_reloaded_valid before
4808 looking at reg_reloaded_contents.
4810 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
4812 * Makefile.in (STMP_FIXINC): New toggle.
4813 (LIBGCC2_DEPS): Delete all references.
4814 (stmp-headers): Delete target. All references either deleted
4815 or changed to stmp-int-headers.
4816 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
4817 (LIBCPP_OBJS): Take out cppalloc.o.
4818 (cppalloc.o): Delete target.
4819 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
4820 (gen-protos, fix-header): Link with libiberty.a.
4821 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
4824 * configure.in: Remove refs to strerror.
4825 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
4826 * system.h: Take out strerror stanza.
4828 * cpperror.c (my_strerror): Delete function.
4829 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
4830 * cppmain.c (main): Call xmalloc_set_program_name first thing.
4831 * cppalloc.c: Delete file.
4832 * gen-protos.c: Don't provide xrealloc.
4834 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
4835 xstrerror throughout.
4837 2000-02-26 Bruce Korb <bkorb@gnu.org>
4839 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
4840 match for DOS headers, too.
4841 * fixinc/inclhack.sh,fixincl.x: Regenerate.
4843 2000-02-26 Geoff Keating <geoffk@cygnus.com>
4845 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
4846 is right for most ELF targets.
4847 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
4848 Let the default file use %U properly.
4849 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
4852 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
4855 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4857 * toplev.c (documented_lang_options): Correct spelling error.
4858 (decode_d_option, decode_f_option, main): Likewise.
4860 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
4862 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
4863 to tell assembler it is permitted to expand large constants.
4865 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
4867 * protoize.c: (AUX_INFO_SUFFIX): New macro.
4868 (aux_info_suffix): Use.
4869 (SAVE_SUFFIX): New macro.
4871 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
4872 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
4873 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
4875 * invoke.texi (Running Protoize): Update documentation.
4877 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
4879 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
4881 2000-02-25 John Wehle (john@feith.com)
4883 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
4885 2000-02-25 Anthony Green <green@cygnus.com>
4887 * toplev.c (rest_of_compilation): Rebuild jump labels if
4888 combine_instructions has created a new direct jump.
4889 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
4891 (combine_instructions): Call try_combine with new argument.
4892 Return non-null value when new direct jump instruction is created.
4893 * rtl.h: combine_instructions returns an int.
4895 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
4897 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
4898 jump when changing a computed jump into a jump to a known
4901 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
4903 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
4904 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
4906 * i386.md (define_expand "clrstrsi"): Fix typo.
4908 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
4910 * rtl.texi: Fix typo.
4912 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4914 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
4915 UNITS_PER_WORD. Change caller initial_elimination_offset.
4916 (rounded_frame_size): Take into account that argument pushed has
4917 changed. Fix TARGET_ALIGN_DOUBLE problem.
4919 2000-02-25 Geoff Keating <geoffk@cygnus.com>
4921 * haifa-sched.c (schedule_block): Explain the real reason
4922 we delete REG_SAVE_NOTEs on the first insn of a block.
4923 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
4925 2000-02-24 Mark Mitchell <mark@codesourcery.com>
4927 * input.h (push_srcloc): New function.
4928 (pop_srcloc): Likewise.
4929 * toplev.c (push_srcloc): Define it.
4930 (pop_srcloc): Likewise.
4932 2000-02-24 Richard Henderson <rth@cygnus.com>
4934 * flow.c (life_analysis): When collecting reg info, clear
4937 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4939 Fix bug exposed by reload.c no longer rounding the frame
4940 size to BIGGEST_ALIGNMENT:
4941 * sh.c (rounded_frame_size): New function.
4942 (sh_expand_prologue, sh_expand_epilogue): Use it.
4943 (initial_elimination_offset): Likewise.
4945 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4947 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
4948 * sh-protos.h (sh_need_epilogue): Declare.
4949 * sh.c (sh_need_epilogue_known): New static variable.
4950 (sh_need_epilogue): New function.
4951 (function_epilogue): Clear need_epilogue_known.
4952 * sh.md (return): Split into expander / insn pattern.
4953 Make the expander conditional on ! sh_need_epilogue ().
4955 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
4957 * machmode.h (get_mode_alignment): Declare.
4958 (GET_MODE_ALIGNMENT): Call it.
4959 * stor-layout.c (get_mode_alignment): New function. Make
4960 sure alignment is always power of 2.
4962 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
4964 * i386.h: Remove useless definition of "I386" and misleading
4967 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
4969 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
4970 under which TREE_PERMANENT will be set.
4971 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
4972 build1): Use TREE_SET_PERMANENT.
4973 * print-tree.c (print_node): Don't report value of
4974 TREE_PERMANENT if ggc_p is true.
4976 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
4977 decide whether to give a type a new alias set.
4978 * objc/objc-act.c (build_objc_string_object): Never copy the string.
4979 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
4980 of value of 'obstack'.
4983 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4985 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
4987 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4989 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
4990 * cpplib.c (cpp_get_token): Produce them.
4991 * cppexp.c (cpp_lex): Handle them.
4993 2000-02-23 Nick Clifton <nickc@cygnus.com>
4995 * config/arm/arm.c (arm_comp_type_attributes): Simply and
4996 comment tests on type attributes.
4998 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5000 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
5001 conform to documentation.
5002 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
5003 to check for special cases.
5004 * sh-protos.h (sh_loop_align): Declare.
5005 * sh.c (sh_loop_align): Define.
5007 2000-02-22 Andrew Haley <aph@cygnus.com>
5009 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
5010 (SIZE_TYPE): Is 32 bits when using -mgp32.
5011 (PTRDIFF_TYPE): Ditto.
5013 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5015 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
5017 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
5019 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
5020 BIGGEST_FIELD_ALIGNMENT a constant.
5022 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
5024 * dwarf2out.c (output_line_info): Put the marker for the end of
5025 the line number info at the actual end.
5026 (gen_struct_or_union_type_die): Use decl_function_context
5027 to check for local classes.
5028 * dwarfout.c (output_type): Likewise.
5030 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
5032 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
5033 for arguments with a mode, but no type.
5034 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
5035 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
5036 * pa/long_double.h: New file.
5037 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
5038 both have 128bit wide long doubles.
5039 * configure: Rebuilt.
5041 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5043 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
5045 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
5046 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
5047 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
5049 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
5051 * integrate.c (compare_blocks, find_block): Likewise.
5053 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
5055 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
5057 * stmt.c (stmt_status, set_file_and_line_for_stmt,
5058 expand_asm_operands): Likewise.
5060 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
5062 * predict.c (estimate_probability): Added the pointer heuristic to
5063 the collection of static branch predictors.
5065 2000-02-21 Catherine Moore <clm@cygnus.com>
5067 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
5068 * invoke.texi (-mfix7000): Document.
5070 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
5072 * diagnostic.c (init_output_buffer): Make it possible to output at
5073 least 32 characters if we're given a too long prefix.
5075 2000-02-20 Mark Mitchell <mark@codesourcery.com>
5077 * varasm.c (initializer_constant_valid_p): Call
5078 lang_expand_constant to simplify the constant.
5080 2000-02-20 Bruce Korb <bkorb@gnu.org>
5082 * fixinc/inclhack.def(stdio_va_list):
5083 typedef needs to be disabled.
5084 * fixinc/inclhack.sh: regen
5085 * fixinc/fixincl.x: regen
5087 2000-02-20 Geoff Keating <geoffk@cygnus.com>
5089 * print-rtl.c (print_rtx): Don't print addresses when
5090 flag_dump_unnumbered.
5092 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5094 * sparc.c (sparc_output_scratch_registers): Mark parameter with
5096 (sparc_va_arg, sparc_flat_output_function_prologue,
5097 sparc_flat_output_function_epilogue): Cast value to unsigned in
5099 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
5101 * sparc.md: Add default case in switch.
5103 2000-02-19 Richard Henderson <rth@cygnus.com>
5105 * c-typeck.c (add_pending_init): Don't abort for multiple
5106 fields at the same offset.
5107 (pending_init_member): Test the correct member.
5109 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5111 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
5113 (start_catch_handler) : Same.
5115 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
5117 * Makefile.in: Have flow.o depend on $(EXPR_H)
5119 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5121 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
5122 * c-decl.c (duplicate_decls, finish_enum): Likewise.
5123 (finish_decl): Remove -Wlarger-than code from here.
5124 * flags.h (id_clash_len): Now int.
5125 (larger_than_size): Now HOST_WIDE_INT.
5126 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
5127 Clean up checking to see if in table.
5128 (make_bit_field_ref): Remove extra parm to bitsize_int.
5129 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
5130 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
5131 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
5132 and for computing size of decl.
5133 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
5134 Move -Wlarger-than code to here.
5135 (layout_record): Remove extra arg to bitsize_int.
5136 Set TYPE_BINFO_SIZE_UNIT.
5137 (layout_union): Remove extra arg to bitsize_int.
5138 Use proper type for size of QUAL_UNION.
5139 (layout_type): Remove extra arg to bitsize_int.
5140 * toplev.c (id_clash_len): Now int.
5141 (larger_than_size): Now HOST_WIDE_INT.
5142 (decode_W_option): Clean up id-clash and larger-than- cases.
5143 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
5144 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
5145 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
5146 (struct tree_decl): New field size_unit.
5147 (size_int_wide): No HIGH operand; NUMBER is now signed.
5148 (size_int_2): Deleted.
5149 (size_int, bitsize_int): Don't use it and rework args.
5150 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
5152 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
5154 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
5156 2000-02-18 Geoff Keating <geoffk@cygnus.com>
5158 * invoke.texi (Warning Options): Add an explanation of why
5159 you might want the -Wfloat-equal flag.
5161 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5163 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
5164 * cppinit.c (new_pending_define): Add cast to avoid warning.
5165 * expmed.c (extract_bit_field): Likewise.
5166 * flow.c (enum reorder_skip_type): New type.
5167 (skip_insns_between_blcok): New it.
5168 Rework to avoid warning about possibly undefined variable.
5169 * function.c (assign_parms): Make thisparm_boundary unsigned.
5170 * genrecog.c (write_switch): Cast XWINT result to int.
5171 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
5172 * mips-tfile.c (init_file): Make two versions of FDR intializer:
5173 one for MIPS and one for Alpha.
5174 (get_tag, copy_object): Add casts to avoid warnings.
5175 * optabs.c (init_one_libfunc): Cast NAME to (char *).
5176 * reload.c (find_reloads): Make TYPE enum reload_type.
5177 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
5178 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
5179 * varasm.c (compare_constant_1): Add cast to avoid warning.
5180 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
5182 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
5183 Cast switch operand of size to int.
5184 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
5185 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
5188 2000-02-18 Nick Clifton <nickc@cygnus.com>
5190 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
5191 anything for an alignment of zero.
5193 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
5194 anything for an alignment of zero.
5196 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
5198 * gcc.texi (Bug Reporting): Refer to bugs.html.
5199 (Bug Lists): Likewise.
5200 * system.h (GCCBUGURL): New preprocessor define.
5201 * rtl.c (fancy_abort): Use it.
5202 * gcc.c (main): Likewise.
5204 2000-02-18 Richard Henderson <rth@cygnus.com>
5206 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
5207 (life_analysis_1): Subsume into ...
5208 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
5209 Use update_life_info for the relaxation.
5210 (update_life_info): Update REG_BASIC_BLOCK for registers live on
5211 entry and regs_live_at_setjmp.
5212 (set_noop_p): Simplify.
5213 (notice_stack_pointer_modification_1): Renamed from s/_1//.
5214 (record_volatile_insns): Split into ...
5215 (delete_noop_moves): ... here,
5216 (notice_stack_pointer_modification): ... here,
5217 (insn_dead_p): ... and here.
5218 (propagate_block): Don't query INSN_VOLATILE.
5219 (mark_used_regs): Mind !PROP_REG_INFO.
5220 * toplev.c (rest_of_compilation): Call mark_constant_function here,
5221 not in life_analysis.
5223 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
5225 * loop.c (canonicalize_condition): New function,
5226 broken out of get_condition.
5227 (get_condition): Use it.
5228 * expr.h (canonicalize_condition): Prototype it.
5230 * tree.h (tree_int_cst_msb): Declare.
5231 * tree.c (tree_int_cst_msb): New function.
5233 2000-02-17 Mark Mitchell <mark@codesourcery.com>
5235 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
5238 * invoke.texi (-fmessage-length=n): Document.
5240 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
5242 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
5244 2000-02-17 Mark Mitchell <mark@codesourcery.com>
5246 * function.c (thread_prologue_and_epilogue_insns): Put a line note
5249 2000-02-17 Nick Clifton <nickc@cygnus.com>
5251 * config/arm/thumb.c: Replace includes of system headers with
5252 #include "system.h".
5254 2000-02-16 Richard Henderson <rth@cygnus.com>
5256 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
5257 Add crtbeginS.o and crtendS.o.
5258 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
5259 (ENDFILE_SPEC): Use crtendS.o.
5260 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
5262 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
5263 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
5265 (__dso_handle): New variable.
5266 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
5267 bias to __CTOR_END__.
5269 2000-02-16 Richard Henderson <rth@cygnus.com>
5271 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
5273 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
5275 * longlong.h (__clz_tab): Declare as static to match definition.
5277 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
5278 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
5279 (XREF_FILE_NAME): Define.
5281 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
5282 (EH_FRAME_SECTION_ASM_OP): Define.
5283 (IDENT_ASM_OP): Define.
5284 (TEXT_SECTION_ASM_OP): Define.
5286 (CTORS_SECTION_ASM_OP): Define.
5287 (CTOR_SECTION_FUNCTION): Use it.
5288 (DTORS_SECTION_ASM_OP): Define.
5289 (DTOR_SECTION_FUNCTION): Use it.
5291 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
5293 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
5296 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
5297 debug_bb_n): New functions.
5298 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
5299 * basic-block.h: Prototype new functions.
5301 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
5303 * configure.in: Add support for avr target.
5304 * configure: Rebuilt.
5306 * invoke.texi: Add AVR invocation docs.
5307 * install.texi: Add information about AVR.
5308 * md.texi: Add AVR constraint letters description.
5309 * extend.texi: Add description for AVR specific attributes.
5311 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
5313 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
5315 2000-02-16 Nick Clifton <nickc@cygnus.com>
5317 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
5318 (make_insn_raw): Move RTL check here.
5320 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5322 * version.c: Include gansidecl.h and version.h.
5324 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
5326 * configure.in (gcc_version): When setting, narrow search to
5327 lines containing `version_string'.
5329 * Makefile.in (mainversion): Likewise.
5330 (GCC_H): New variable.
5331 (gcc.h): Delete target.
5332 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
5333 (version.o): Depend on version.h.
5334 (dbxout.o): Don't depend on gcc.h.
5336 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
5337 Michael Meissner <meissner@cygnus.com>
5339 * md.texi (Simple Constraints): Add item about whitespace.
5340 * genoutput.c (strip_whitespace): New.
5341 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
5342 strip_whitespace for constraints.
5343 Test pointer using NULL, not 0.
5345 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5347 * cpplib.c (do_line): Pedwarn for #line > 32767.
5349 * c-lex.c (readescape): Warn about '\x', but do not reject it.
5351 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
5353 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
5354 to default cpp spec.
5355 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
5356 * cpp.texi: Document __GNUC_PATCHLEVEL__.
5359 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
5362 2000-02-15 Denis Chertykov <denisc@overta.ru>
5364 * configure.in: Add support for avr target.
5366 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5368 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
5369 (sh_addr_diff_vec_mode): Don't declare.
5370 * sh.c (sh_addr_diff_vec_mode): Delete.
5372 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5374 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
5376 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5378 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
5379 (smulsi3_highpart_i): Name.
5380 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
5381 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
5382 (smulsi3_highpart, umulsi3_highpart): Likewise.
5384 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
5385 correctly independent of endianness.
5386 (mulsidi3, umulsidi3): Now define_insn. Hide details that
5387 confuse the optimizers.
5388 (mulsidi3+1, umulsidi3+1): New define_split.
5390 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
5392 * config/sh/sh.md: Guard insn splits against illegal registers.
5393 * config/sh/sh.h: Correct comment about macros.
5395 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5396 Andrew MacLeod <amacleod@cygnus.com>
5398 * Makefile.in (lcm.o): Depend on insn-attr.h.
5399 * basic-block.h (optimize_mode_switching): Declare.
5400 * lcm.c (tm_p.h, insn-attr.h): #include.
5401 (seginfo, bb_info): New structs.
5402 (antic, transp, comp, delete, insert) : New file-scope static variables.
5403 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
5404 (reg_becomes_live, optimize_mode_switching): Likewise.
5405 * tm.texi: Add description of mode switching macros.
5406 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
5408 * sh-protos.h (remove_dead_before_cse): Remove prototype.
5409 (fldi_ok, fpscr_set_from_mem): New prototypes.
5410 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
5411 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
5412 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
5413 (sh_flag_remove_dead_before_cse): Remove declaration.
5414 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
5415 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
5416 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
5417 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
5418 (barrier_align): Allow for JUMP_INSNS containing a parallel.
5419 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
5420 (fldi_ok): New function.
5421 (get_fpscr_rtx): Add fpscr_rtx as GC root.
5422 (emit_sf_insn): Only generate fpu switches when optimize < 1.
5423 (emit_df_insn): Likewise.
5424 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
5425 (sh_flag_remove_dead_before_cse): Delete.
5426 (get_free_reg, fpscr_set_from_mem): New functions.
5427 * sh.md (movdf, movsf): Remove no_new_pseudos code.
5428 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
5430 2000-02-15 Loren Rittle <ljrittle@acm.org>
5432 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
5434 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5436 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
5437 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
5439 * cccp.c: Include version.h and/or don't declare `version_string'.
5440 * collect2.c: Likewise.
5441 * alpha.c: Likewise.
5442 * arm/aof.h: Likewise.
5443 * arm/coff.h: Likewise.
5444 * arm/elf.h: Likewise.
5445 * arm/pe.h: Likewise.
5446 * arm/tcoff.h: Likewise.
5447 * arm/telf.h: Likewise.
5448 * arm/tpe.h: Likewise.
5449 * arm/vxarm.h: Likewise.
5450 * convex/convex.c: Likewise.
5451 * i386/dgux.c: Likewise.
5452 * i386/sun386.h: Likewise.
5453 * m88k/m88k.c: Likewise.
5454 * mcore/mcore-pe.h: Likewise.
5455 * mips/mips.h: Likewise.
5456 * romp/romp.h: Likewise.
5457 * sh/sh.c: Likewise.
5458 * cpphash.c: Likewise.
5459 * cppinit.c: Likewise.
5460 * dwarf2out.c: Likewise.
5461 * dwarfout.c: Likewise.
5464 * mips-tfile.c: Likewise.
5465 * protoize.c: Likewise.
5466 * toplev.c: Likewise.
5469 * version.c (version_string): Constify a char*.
5471 * version.h: New file.
5473 2000-02-14 Nick Clifton <nickc@cygnus.com>
5475 * configure.in: Add mcore-elf and mcore-pe targets.
5476 * configure: Regenerate.
5478 * NEWS: Add note that MCore port has been contributed.
5480 * invoke.texi: Document command line switches for MCore port.
5481 * install.texi: Add MCore to list of supported targets.
5483 2000-02-14 Geoff Keating <geoffk@cygnus.com>
5485 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
5486 then we will need to import the frame handling functions.
5487 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
5488 to import the frames themselves.
5490 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
5491 Jason Eckhardt <jle@cygnus.com>
5493 * basic_block.h: Added prototype for reorder_basic_blocks.
5494 * toplev.c: Changes to add -freorder-blocks and graph dump after
5495 block reordering is done.
5496 * flow.c (reorder_block_def): New structure for use during block
5498 (REORDER_BLOCK_*): New macros to access members of above structure.
5499 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
5500 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
5501 functions for block reordering.
5503 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
5505 * gcc.texi (Passes): Fix typo.
5506 * md.texi (Standard Names): Ditto.
5507 * tm.texi (Storage Layout): Ditto.
5509 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
5511 * cpplib.c (do_define): Only free the old definition if it
5514 2000-02-13 Neil Booth <NeilB@earthling.net>
5516 * cppfiles.c (read_and_prescan): When emitting deferred
5517 newlines, test speccase[] again instead of checking each
5518 possible whitespace character in turn. When we encounter \r,
5519 look behind for \n first, then ahead.
5521 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
5523 * cse.c (cse_altered): New internal flag.
5524 (cse_insn): Set it if we changed an insn.
5525 (cse_main): Clear cse_altered before each basic block.
5526 Only garbage collect if cse_altered is true afterward.
5528 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5530 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
5532 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
5534 * combine.c (simplify_comparison): Fix typo.
5536 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
5538 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
5541 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5543 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
5544 previously inserted node instead of root node. Caller changed.
5546 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5548 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
5550 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5552 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
5553 __dereg_frame_dtor): Add prototype argument.
5555 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
5557 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
5559 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
5561 * gthr-vxworks.h (__gthread_once): Likewise.
5563 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
5565 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
5567 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
5568 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
5569 stack pointer in functions w/o saved registers, output LEAVE more often
5570 on TARGET_USE_LEAVE machines.
5572 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
5574 * config/arm/arm.c (arm_init_cumulative_args); New function:
5575 Initlaise the CUMULATIE_ARGS strcuture for a function
5577 (arm_function_arg): New function: Determine where to place a
5578 function's argument. Also handles deciding the function's
5580 (current_file_function_operand): New function: Return true if
5581 the symbol is a function which has already been compiled.
5582 (arm_is_long_call_p): New function: Return true if the
5583 indicated function should be called via a long call.
5584 (arm_valid_type_attribute_p): New function: Return true if the
5585 attribute is a valid, arm specific, attribute.
5586 (arm_comp_type_attribute): New function: Return true if the
5587 two types have compatable, arm specific, attributes.
5589 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
5591 (FUNCTION_ARG): Redefine to call arm_function_arg.
5592 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
5594 (INIT_CUMULATIVE_ARGS): Redefine to call
5595 arm_init_cumulative_args.
5596 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
5598 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
5600 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
5602 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
5603 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
5604 (COMP_TYPE_ATTRIBUTES): Define.
5606 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
5607 if a long call is needed.
5608 (call_value): Call arm_is_long_call_p to decide if a long call
5610 (call_symbol): Call arm_is_long_call_p to decide if a long call
5613 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
5615 2000-02-11 Denis Chertykov <denisc@overta.ru>
5617 * README.AVR: New file with information about the avr ports.
5618 * config/avr: New directory with avr port files.
5620 2000-02-11 Andreas Jaeger <aj@suse.de>
5622 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
5624 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
5626 * cpphash.c: Fix formatting, update commentary.
5627 (dump_definition): Take three separate arguments instead of a
5628 MACRODEF structure argument.
5629 * cpphash.h: Update prototype of dump_definition.
5630 * cppinit.c (cpp_finish): Update call of dump_definition.
5632 * cpplib.c (do_define): Always create new hash entry with
5633 T_MACRO type. Remove redundant check for redefinition of
5634 poisoned identifier. Update call of dump_definition.
5635 (do_undef): Don't call check_macro_name. Rename sym_length to
5637 (do_error, do_warning): Don't use copy_rest_of_line or
5639 (do_warning): Don't use pedwarn for the actual warning,
5640 only the notice about its not being in the standard. (Fixes
5641 bug with #warning in system headers.)
5642 (do_ident): Stricter argument checking - accept only a single
5643 string after #ident. Also, macro-expand the line.
5644 (do_xifdef): Use cpp_defined. De-obfuscate.
5646 (do_pragma): Split out specific pragma handling to separate
5647 functions. Use get_directive_token. Update commentary. Do
5648 not pass on #pragma once or #pragma poison to the front end.
5649 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
5650 do_pragma_default): New.
5652 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
5654 * jump.c (jump_optimize_1): The first operand in a relational
5656 * optabs.c (emit_conditional_move): Handle relationals which
5657 have a known true/false result.
5659 2000-02-11 Geoff Keating <geoffk@cygnus.com>
5661 * function.c (thread_prologue_and_epilogue_insns): Don't insert
5662 a RETURN insn into a block which already ends with a jump.
5664 2000-02-11 Geoff Keating <geoffk@cygnus.com>
5666 * haifa-sched.c (BUF_LEN): Increase a lot.
5668 2000-02-11 Nick Clifton <nickc@cygnus.com>
5670 * configure.in: Add tm_p_file specification for thumb targets.
5671 * configure: Regenerate.
5673 * config/arm/thumb-protos.h: New file: Prototypes for exported
5674 functions defined in thumb.c.
5676 2000-02-11 Robert Lipe <robertl@sco.com>
5678 * Makefile.in (bootstrap-lean): Remove additional files.
5679 (bootstrap2-lean): Likewise.
5680 (VOL_FILES): List of files for above.
5682 2000-02-11 Nathan Sidwell <nathan@acm.org>
5684 * cpphash.c (special_symbol): Remove spurious argument to
5687 2000-02-11 Joel Sherrill (joel@OARcorp.com>
5689 * configure.in: (i*86-*-rtems*): Swapped elf and coff
5691 * configure: Rebuilt.
5693 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
5695 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
5697 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
5699 * pa.c, pa.h: Remove trigraph sequences within comments.
5701 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
5703 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
5705 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
5707 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
5709 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5711 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
5713 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5715 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
5716 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
5717 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
5718 (ASM_FILE_END): Use c4x_file_end.
5719 * config/c4x/c4x.c (c4x_global_label): New function.
5720 (c4x_external_ref, c4x_file_end): Likewise.
5722 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
5723 (c4x_external_ref, c4x_end_file): Likewise.
5725 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
5727 * cppexp.c: Don't include cpphash.h.
5728 (parse_charconst, cpp_lex): Use cpp_defined.
5729 (cpp_lex): Use get_directive_token throughout. Remove
5730 unnecessary cases from switch. Move assertion-handling code
5732 (cpp_parse_expr): If we see '+' or '-', check the context to
5733 determine if they are unary or binary operators. Streamline
5734 the jumps a bit. Do not call skip_rest_of_line.
5736 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
5737 static. Export get_directive_token. Update commentary.
5738 (cpp_defined): New function.
5739 (do_define): Remove reference to T_PCSTRING. Call
5740 free_definition to release memory for old definition, when
5742 (eval_if_expression): Set only_seen_white to 0 before calling
5743 cpp_parse_expr. Call skip_rest_of_line after it returns.
5744 (cpp_read_check_assertion): Don't preserve a pointer into the
5745 token buffer across a call to cpp_get_token.
5747 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
5748 * cppfiles.c (redundant_include_p): Use cpp_defined.
5749 * cpphash.c (free_definition): New function.
5750 (delete_macro): Use it. Update commentary.
5751 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
5753 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
5754 from enum node_type. Prototype cpp_defined and get_directive_token.
5755 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
5757 * fix-header.c (check_macro_names): Use cpp_defined.
5758 (read_scan_file): Set inhibit_warnings and inhibit_errors in
5759 the options structure.
5761 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5763 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
5765 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
5767 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
5768 rather than die->die_tag.
5770 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5772 * combine.c (make_extraction, force_to_mode): Avoid warning on
5773 mixed-signedness conditionals.
5774 (make_field_assignment, nonzero_bits): Likewise.
5775 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
5776 (store_split_bit_field, extract_split_bit_field): Likewise.
5777 (extract_fixed_bit_field, store_bit_field,
5778 * expr.c: Change alignment to be unsigned everywhere.
5779 (move_by_pieces, store_constructor_field, store_constructor):
5780 Alignment parm is unsigned.
5781 (emit_block_move, emit_group_load, emit_group_store): Likewise.
5782 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5783 (do_compare_rtx_and_jump): Likewise.
5784 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
5785 Compare align with GET_MODE_ALIGNMENT.
5786 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
5787 (get_inner_reference): Likewise.
5788 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
5789 (expand_assignment): Local vars for alignment now unsigned.
5790 (store_constructor, store_field, expand_expr, do_jump): Likewise.
5791 (do_compare_and_jump): Likewise.
5792 (store_field): Call new function expr_align.
5793 * expr.h (emit_block_move, emit_group_load, emit_group_store):
5794 Alignment arg now unsigned.
5795 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5796 (do_compare_rtx_and_jump, store_bit_field): Likewise.
5797 (extract_bit_field): Likewise.
5798 * fold-const.c (add_double): Add cast to eliminate signedness warning.
5799 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
5800 (get_best_mode): Alignment arg is unsigned.
5801 * rtl.h (move_by_pieces): Likewise.
5802 * store-layout.c (maximum_field_alignment, set_alignment):
5804 (layout_decl): Alignment arg is now unsigned.
5805 Remove unneeded casts.
5806 (layout_record, layout_union, layout_type): Remove unneeded casts.
5807 Local alignment variables now unsigned.
5808 (get_best_mode): Alignment arg now unsigned.
5809 * tree.c (expr_align): New function.
5810 * tree.h (expr_align): Likewise.
5811 (maximum_field_alignment, set_alignment): Now unsigned.
5812 (get_inner_reference): Alignment argument is now pointer to unsigned.
5813 * varasm.c (assemble_variable): Add cast to eliminate warning.
5815 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
5817 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
5818 then store directly into op0.
5820 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
5821 the CALL_INSN, and emit the note immediately after it.
5823 2000-02-10 Nick Clifton <nickc@cygnus.com>
5825 * config/arm/thumb.md (epilogue): Include a (return) in the
5826 generated insn, and emit it using emit_jump_insn not
5829 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
5831 * function.c (assign_temp): Change zero-sized arrays to size 1.
5832 * integrate.c (expand_inline_function): Do not update
5833 stack_alignment_needed
5834 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
5835 add some sanity checking, remove optimization for function with
5838 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5840 * flow.c (mark_regs_live_at_end): Delete unused variables.
5842 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
5844 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
5845 in macro FRAME_GROWS_DOWNWARD.
5847 * stmt.c (expand_end_bindings): Delete unused variable.
5849 * unroll.c (iteration_info): Mark parameter `loop' with
5852 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5854 * fixinc/server.c (load_data): Return NULL if the marker line is
5856 (run_shell): If load_data returns NULL, retry the command once, in
5859 * configure: Rebuilt.
5861 2000-02-09 Bruce Korb <bkorb@gnu.org>
5863 * gcc/fixincludes: ** DELETED **
5864 * gcc/fixcpp: ** DELETED **
5865 * gcc/fixinc-nt.sed: ** DELETED **
5866 * gcc/just-fixinc: ** DELETED **
5867 * gcc/Makefile.in: Removed out-dated commentary
5868 * gcc/configure.in: Removed fast-fixincludes disablement.
5869 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
5871 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
5872 * function.c (thread_prologue_and_epilogue_insns): Uncomment
5875 2000-02-09 Richard Henderson <rth@cygnus.com>
5877 * jump.c (delete_insn): Don't delete user labels at -O0.
5879 2000-02-09 Robert Lipe <robertl@sco.com>
5881 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
5882 Don't link with HOST_LIBS.
5884 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
5886 * configure.in: Correct --help text for --with-dwarf2.
5887 Put tm-dwarf2.h after other tm files, if it's requested.
5888 * configure: Regenerate.
5889 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
5892 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
5894 * cpplib.h: Provide HASHNODE typedef and forward decl of
5895 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
5896 DEFINITION, struct hashnode, struct macrodef, struct
5897 definition, scan_decls prototype, default defn of
5898 INCLUDE_LEN_FUDGE moved elsewhere.
5900 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
5901 definition, and struct hashnode moved here. Remove the unused
5902 'predefined' field from struct definition. Replace the 'args'
5903 union with its sole member. All users updated (cpphash.c).
5904 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
5905 multiple include guard.
5907 * cpphash.c (hashf): Make static; use better algorithm; drop
5908 HASHSIZE parameter; return an unsigned int.
5909 (cpp_lookup): Drop HASH parameter. PFILE parameter is
5910 used. Calculate HASHSIZE modulus here.
5911 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
5913 (create_definition): Drop PREDEFINITION parameter.
5914 * cpplib.c (do_define): Don't calculate a hash value here.
5915 Don't pass (keyword == NULL) to create_definition.
5917 * scan.h: Prototype scan_decls here.
5918 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
5919 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
5920 callers of cpp_lookup and cpp_install updated.
5922 * cpphash.c (macarg): Hoist all the flag diddling out of the
5924 (macroexpand): ... and out of the loop that calls macarg.
5925 Skip over the initial paren before macro arguments with
5926 cpp_get_non_space_token; point may be some distance before
5927 that paren. Abort if it's not there.
5929 * cpplib.c (parse_clear_mark): Delete function.
5930 (parse_set_mark, parse_goto_mark): Make static.
5931 (ACTIVE_MARK_P): New macro.
5932 (skip_block_comment, skip_line_comment): Do not bump the line
5933 if ACTIVE_MARK_P is true.
5934 (cpp_pop_buffer): The buffer to be popped may not have an
5936 (cpp_get_token): When looking for the initial paren before
5937 macro arguments, only set a mark in a file buffer, Always
5938 return to that mark before proceeding to call macroexpand or
5939 return a NAME token.
5941 * cpplib.h: Remove prototypes of parse_set_mark,
5942 parse_clear_mark, parse_goto_mark.
5943 (struct cpp_options): Rename 'put_out_comments' to
5944 'discard_comments' and invert its sense.
5945 * cppinit.c, cpphash.c, cpplib.c: All users of
5946 put_out_comments changed to use discard_comments, with
5949 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
5951 * function.c (thread_prologue_and_epilogue_insns): Don't delete
5952 the edge from a block that both jumps and falls through to the
5955 2000-02-09 Scott Bambrough <scottb@netwinder.org>
5957 * config/arm/arm.md (movsi): In PIC mode, make sure that a
5958 constant source address is legitimate.
5960 2000-02-09 Philip Blundell <pb@futuretv.com>
5962 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
5965 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
5967 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
5969 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
5971 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
5972 ends with a newline and a NUL. Don't be so clever manipulating
5975 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
5977 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
5978 not to BIGGEST_ALIGNMENT.
5980 2000-02-08 Geoff Keating <geoffk@cygnus.com>
5982 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
5983 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
5984 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
5985 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
5986 * frame.c (execute_cfa_insn): Handle
5987 DW_CFA_GNU_negative_offset_extended.
5989 2000-02-08 Richard Henderson <rth@cygnus.com>
5991 * flow.c (tidy_fallthru_edges): Split out from ...
5992 (delete_unreachable_blocks): ... here.
5993 (find_basic_blocks): Use it.
5995 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5997 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
5999 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
6001 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
6002 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
6003 (fix-header.o): Don't depend on cpphash.h.
6005 * scan.c (hashstr): New function.
6006 * scan.h: Prototype it.
6007 * fix-header.c: Don't include cpphash.h. Use hashstr.
6008 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
6009 hashstr. Report hash table statistics. Add private
6010 definition of xrealloc.
6012 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6014 * i386.h (TARGET_SWITCHES): Fix typo in option name.
6016 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
6018 * function.c (thread_prologue_and_epilogue_insns): Don't replace
6019 jumps with returns unless they are jumps to the fallthru block.
6021 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
6023 * i386.md (addqi3_cc): Fix contraints.
6025 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
6027 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
6029 2000-02-07 Mark Mitchell <mark@codesourcery.com>
6031 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
6032 carriage return after a macro name.
6034 2000-02-07 Fred Fish <fnf@be.com>
6036 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
6037 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
6039 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
6041 * cppfiles.c (deps_output): Count spacers in deps_column.
6043 2000-02-07 Neil Booth <NeilB@earthling.net>
6045 * cppinit.c (initialize_dependency_output): If there is no
6046 suffix, don't try to look for known suffixes. Use strrchr.
6047 (cpp_start_read): Remove duplicate initialization.
6049 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
6051 * calls.c (compute_argument_block_size): New argument
6052 preferred_stack_boundary.
6053 (expand_call): update cfun->preferred_stack_boundary, update call of
6054 compute_argument_block_size
6055 (emit_library_call): Increate cfun->preferred_stack_boundary
6056 to PREFERRED_STACK_BOUNDARY
6057 (emit_library_call_value): Likewise.
6058 * explow.c (allocate_dynamic_stack_spave): Likewise.
6059 * function.c (prepare_function_start): Set
6060 cfun->preferred_stack_boundary
6061 * function.h (struct function): Add preferred_stack_boundary field.
6062 * integrate.c (expand_inline_function): Update
6063 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
6064 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
6065 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
6067 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
6069 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
6070 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
6071 cpp_pedwarn, cpp_pedwarn_with_line,
6072 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
6073 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
6074 v_cpp_error_with_line, v_cpp_warning_with_line,
6075 cpp_message_from_errno, cpp_perror_with_name): Delete.
6077 * cpperror.c (cpp_print_containing_files): Take starting
6079 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
6080 (v_cpp_message): Now called directly by all entry points.
6082 (cpp_pfatal_with_name, cpp_message): Delete.
6083 (cpp_notice_from_errno, cpp_ice): New functions.
6084 (cpp_notice): Is now for reporting error conditions, just
6085 without an associated file.
6086 (cpp_error, cpp_error_with_line): Don't do anything if
6087 opts->inhibit_errors is on.
6088 (cpp_pedwarn_with_file_and_line): Take column argument also.
6090 * cpplib.h: Update prototypes of exported functions.
6091 (struct cpp_options): Add inhibit_errors.
6093 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
6094 non-error messages. Include intl.h.
6096 * cppinit.c, cppmain.c: Likewise. Also, use
6097 cpp_notice_from_errno instead of cpp_perror_with_name or
6098 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
6100 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
6101 report internal errors.
6103 * cpplib.c (do_define): Switch bcopy to memcpy.
6104 Give cpp_pedwarn_with_file_and_line a dummy column argument.
6106 * cpplib.c (copy_rest_of_line): Revert previous change: don't
6107 bail out early if we hit a line comment.
6109 2000-02-06 Richard Henderson <rth@cygnus.com>
6111 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
6112 * basic-block.h: Declare them.
6113 * emit-rtl.h (active_insn_p): New.
6114 (next_active_insn, prev_active_insn): Use it.
6115 * rtl.h: Declare it.
6116 * function.c (emit_return_into_block): New.
6117 (thread_prologue_and_epilogue_insns): Insert return insns instead
6118 of epilogues when possible.
6119 * jump.c (jump_optimize_1): Remove code to insert a return insn
6120 on the fallthru to the exit block.
6122 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
6123 and for non-empty stack frames.
6124 * i386.md (return): Expand to return-pop as needed.
6126 2000-02-06 Richard Henderson <rth@cygnus.com>
6128 * simplify-rtx.c (simplify_relational_operation): Canonicalize
6129 constant to op1 for testing.
6131 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6133 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
6134 (fixuns_truncqfqi2): Use it.
6136 2000-02-06 Richard Henderson <rth@cygnus.com>
6138 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
6141 * i386.md (widening and peepholes): Mask the constant instead of
6144 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
6146 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
6147 input pointer before possibly branching off to the backslash
6149 * cpphash.c (macroexpand): Correctly delete \r escapes when
6150 stringifying parameters.
6151 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
6152 if we can; bail out early if we hit a line comment.
6153 (handle_directive): Treat '# 123' in an .S file just like
6154 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
6155 Return 1 for '# not_a_directive'.
6156 (get_directive_token): Pop macro buffers here, so that
6157 cpp_get_token can't sneakily move past a newline.
6159 (cpp_get_token): goto randomchar if handle_directive returns 0.
6161 * cppalloc.c: Update copyright.
6162 * cpplib.c: Merge all the static function prototypes into one
6164 * cpplib.h: Remove #if 0 block.
6166 * cpperror.c: Remove #ifdef EMACS block.
6167 * cppmain.c: Likewise.
6168 * cpphash.c: Remove #if 0 blocks.
6169 * cppinit.c: Remove #if 0 blocks, and the -lint option.
6170 * cpplib.c: Remove #if 0 blocks and code referencing
6171 pcp_inside_if or for_lint. Remove duplicate error message.
6172 Fix error messages for #else after #else or #elif. Reformat.
6173 Remove archaic TODO list.
6174 * cpplib.h: Remove pcp_inside_if and for_lint flags.
6176 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
6178 * i386/osf1elf.h: Add missing backslash to multiline string.
6180 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6182 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
6184 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6186 * Makefile.in (c-common.o): Depend on $(EXPR_H).
6188 * c-common.c: Include expr.h.
6190 * c-pragma.c (mark_align_stack): Add prototype.
6192 * caller-save.c (add_stored_regs): Likewise.
6194 * combine.c (record_promoted_value): Likewise.
6196 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
6199 * cppinit.c (new_pending_define): Likewise.
6201 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
6203 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
6204 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
6205 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
6206 class_scope_p): Likewise.
6208 * dwarf2out.h (dwarf2out_set_demangle_name_func,
6209 dwarf2out_add_library_unit_info): Likewise.
6211 * ggc.h (ggc_page_print_statistics): Likewise.
6213 * haifa-sched.c (propagate_deps): Likewise.
6215 * reg-stack.c (next_flags_user, record_label_references): Likewise.
6217 * rtl.h (set_stack_check_libfunc): Likewise.
6219 * toplev.h (set_fatal_function): Likewise.
6221 * toplev.c (set_fatal_function): Delete prototype.
6223 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
6225 2000-02-05 Geoff Keating <geoffk@cygnus.com>
6227 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
6228 (FUNC_END): Likewise.
6230 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6232 * caller-save.c: Include tm_p.h.
6234 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6236 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
6238 2000-02-04 Neil Booth <NeilB@earthling.net>
6240 * cccp.c (main): Check 'dir' for a NULL pointer before passing
6243 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
6245 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
6246 * genflags.c: Use the max_operand_1 logic from genemit.c to
6247 calculate how many arguments gen_insn prototypes have. Remove
6248 NO_MD_PROTOTYPES ifdefs from the generated file.
6249 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
6250 file. Cast gen_insn initializers to insn_gen_fn.
6251 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
6252 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
6254 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6256 * fixinc/Makefile.in (HDR): Add machname.h.
6259 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6261 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
6262 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
6263 (c4x_cpu_version): Ditto.
6264 * config/c4x/c4x-protos.h: ... here.
6266 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
6268 * dwarf2out.c (add_abstract_origin_attribute): Don't call
6269 gen_abstract_function on our context if we're a nested function.
6271 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6273 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
6274 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
6276 2000-02-04 Bruce Korb <bkorb@gnu.org>
6278 * fixinc/genfixes(machname.h):
6279 Move the functionality from gen-machine.h into this file.
6280 UNdef MN_NAME_PAT if there are no names to change.
6281 Also, be a little kinder when AutoGen is not present.
6283 * fixinc/Makefile.in(machname.h):
6284 Change the generation rule to use genfixes.
6286 * fixinc/fixfixes.c(machine_name):
6287 machine_name_fix's functionality now dependent upon whether
6288 MN_NAME_PAT is defined.
6290 * fixinc/fixtests.c(machine_name):
6293 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
6296 * fixinc/fixlib.h(mn_get_regexps):
6299 * fixinc/gen-machine.h: DELETED
6301 2000-02-04 Jan Hubicka <jh@suse.cz>
6302 Richard Henderson <rth@cygnus.com>
6304 * i386.c (SAVE_REGS_FIRST): Remove.
6305 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
6306 (ix86_compute_frame_size): Likewise.
6307 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
6308 (ix86_emit_restore_regs): Remove.
6309 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
6310 when a frame pointer is in use.
6311 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
6312 instead of pop to restore a register when profitable; emit leave
6314 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
6316 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
6317 * i386.md (prologue_allocate_stack): Remove.
6318 (epilogue_deallocate_stack): Remove.
6319 (pro_epilogue_adjust_stack): New.
6321 2000-02-04 Richard Henderson <rth@cygnus.com>
6323 * function.c (diddle_return_value): Rework to use a callback function.
6324 Use current_function_return_rtx if it's been set up.
6325 (do_clobber_return_reg, clobber_return_register): New.
6326 (do_use_return_reg, use_return_register): New.
6327 (expand_function_end): Use them.
6328 * stmt.c (expand_null_return): Likewise.
6329 * function.h: Declare them.
6330 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
6331 (mark_reg): Change arguments as appropriate for callback.
6332 * integrate.c (expand_inline_function): Revert 19 Jan change.
6334 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
6336 * tm.texi (Values in Registers): Fix typo: "fo" "for".
6337 (Misc): Say the scheduler, not the Haifa scheduler.
6339 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
6341 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
6342 when in_mem is set. Update all callers.
6344 2000-02-04 Richard Henderson <rth@cygnus.com>
6346 * i386/openbsd.h (INT_ASM_OP): Define.
6348 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
6350 * tm.texi: Fix various typos.
6352 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
6354 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
6355 (MD_STARTFILE_PREFIX_1): New macro.
6357 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
6359 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
6360 destination when needed.
6361 (strmovsi, strsetsi): New expander.
6362 (strmovsi_1, strsetsi_1): New pattern.
6363 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
6364 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
6365 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
6366 * invoke.texi (align-stringops, inline-all-stringops): Document.
6368 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
6370 * i386/netbsd.h (INT_ASM_OP): Define.
6372 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
6374 * cpplib.h (cpp_reader): Add new flag, no_directives.
6375 * cpphash.c (macarg): Set it.
6376 * cpplib.c (handle_directive): If no_directives is on and we
6377 find a directive, issue an error and discard the line.
6379 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
6381 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
6382 FP constants. Add ! TARGET_FPU check for FP constants.
6384 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
6386 * flow.c (find_basic_blocks): Don't kill label_value_list
6388 (cleanup_cfg): Kill it here.
6390 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6392 * expr.c (store_field): Ensure ALIGN is no stricter than the
6395 2000-02-02 Richard Henderson <rth@cygnus.com>
6397 * jump.c (delete_insn): Partially revert 19 Jan change;
6398 don't convert unused code labels to notes at -O0.
6400 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6402 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
6403 split_all_insns to recreate REG_LABEL notes for flow2 pass.
6405 2000-02-01 Richard Henderson <rth@cygnus.com>
6407 * i386.c (general_no_elim_operand): New.
6408 (nonmemory_no_elim_operand): New.
6409 (ix86_expand_move): Copy eliminable operands before a push.
6410 * i386-protos.h: Declare new functions.
6411 * i386.h (CAN_ELIMINATE): Simplify.
6412 (PREDICATE_CODES): Update.
6413 * i386.md (push insns): Don't allow eliminable register operands.
6415 2000-02-01 Richard Henderson <rth@cygnus.com>
6417 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
6418 replace BLKmode with DECL_RTL's mode.
6420 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
6422 * frame.c (find_fde): Convert for loop to do-while so compiler
6423 sees it's always executed at least once.
6424 * libgcc2.c (BBINBUFSIZE): Kill.
6425 (__bb_init_prg): Use fgets.
6426 (__bb_exit_trace_func): Don't paste strings.
6427 * unroll.c (unroll_loop): Initialize unroll_type, not
6428 unroll_number, and tweak logic to match.
6430 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
6432 (ix86_flags_dependant): Likewise. Disentangle control flow.
6433 (ix86_sched_reorder): Break guts out to
6434 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
6435 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
6438 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
6439 use string concatenation. Don't save and restore esi.
6441 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
6442 (machname.h): Remove script to separate file. Use two-step
6443 sequence so target is not created if script fails.
6444 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
6445 identifiers are defined.
6446 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
6447 an empty string, machine_name doesn't need to do anything at
6449 (is_cxx_header): Add more cases to regexp.
6450 * fixinc/fixlib.h: Update prototype.
6451 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
6453 * fixinc/fixincl.c: Define NO_BOGOSITY.
6455 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
6456 (hp_sysfile): Add missing comma.
6457 (math_exception): Put the wrapper ifdefs at the beginning and
6458 the end of the file.
6459 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
6461 2000-02-01 Richard Henderson <rth@cygnus.com>
6463 * sparc.c (fp_zero_operand): Turn into a normal predicate.
6464 Use CONST0_RTX. Update all callers.
6465 * sparc.h, sparc-protos.h: Update accordingly.
6466 * sparc.md (fp mov insns): Use fp_zero_operand directly
6469 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
6471 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
6474 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6476 * Makefile.in (specs.ready): New target.
6477 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
6479 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6481 * fixinc.irix: Use unique filenames for writing into /tmp,
6482 * fixinc.ptx: Likewise.
6483 * fixinc.sco: Likewise.
6484 * fixinc.svr4: Likewise.
6485 * fixinc.winnt: Likewise.
6487 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6489 * tsystem.h: New file.
6491 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
6492 s-crtS): Depend on tsystem.h.
6494 * crtstuff.c: Include tsystem.h.
6495 * frame.c: Likewise.
6496 * libgcc2.c: Likewise.
6498 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
6500 * builtins.c (expand_builtin_memset): Expand for variable sized
6503 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
6505 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
6508 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
6510 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
6512 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
6514 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
6516 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
6517 case 3->2 combining (combining with splitting) in which 2 is CC0
6518 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
6519 checked at the begining of the function with the aid of calling
6520 function 'can_combine_p'.
6522 2000-01-31 Dave Brolley <brolley@redhat.com>
6524 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
6526 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
6528 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
6531 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6533 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
6535 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
6538 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
6540 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
6541 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
6542 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
6543 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
6544 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
6545 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
6546 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
6547 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
6548 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
6549 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
6551 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
6552 Add %(cpp_cpu) to CPP_SPEC.
6554 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
6555 Add %(cc1_cpu) to CC1_SPEC.
6557 2000-01-28 Ulrich Drepper <drepper@redhat.com>
6559 * c-decl.c (c_decode_option): Accept optional numeric argument to
6560 -Wformat and set warn_format.
6561 * c-common.c: Don't emit warning about non-constant printf format
6562 string unless warn_format > 1.
6564 2000-01-30 Richard Henderson <rth@cygnus.com>
6566 * alpha.md (return_internal): Allow after reload only.
6568 2000-01-30 Richard Henderson <rth@cygnus.com>
6570 * i386.c (ix86_compute_frame_size): Omit padding1 if the
6571 local frame size is zero.
6573 2000-01-30 Richard Henderson <rth@cygnus.com>
6575 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
6576 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
6577 * alpha.md (return): Turn into an expander.
6578 (return_internal): Don't use $26.
6579 (epilogue): Emit the return insn.
6581 2000-01-30 Richard Henderson <rth@cygnus.com>
6583 * alpha.md (negtf2, abstf2): Fix word order thinko.
6585 (trunctfsf2): Avoid intermediate rounding errors.
6587 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
6589 * cppfiles.c (find_position): Drop 'colp' argument, return the
6591 (read_and_prescan): Adjust to match. Don't ever manipulate
6592 line or line_base except via find_position.
6594 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
6596 * c-parse.in: Apply Ulrich's changes from c-parse.y.
6597 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
6600 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
6602 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
6603 just print "<command line>". If 'filename' is null or an
6604 empty string, print "<stdin>" for the filename.
6605 * cpplib.c (do_define): Don't print the 'location of the
6606 previous definition' message if we're still parsing the
6608 (cpp_pedwarn_with_file_and_line): Always call
6609 cpp_file_line_for_message.
6611 2000-01-29 Mark Mitchell <mark@codesourcery.com>
6613 * flow.c (mark_regs_live_at_end): Fix typo.
6615 2000-01-28 Ulrich Drepper <drepper@redhat.com>
6617 * c-common.c: Adjust variable names, comments, help strings to c99.
6618 * c-lex.c: Likewise.
6619 * c-parse.y: Likewise.
6620 * c-tree.h: Likewise.
6622 * cpplib.h: Likewise.
6623 * c-decl.c: Likewise. Recognize options with names "*99" as well.
6624 * cppinit.c: Likewise.
6626 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6628 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
6629 * c4x.c: Define the optab rtx values.
6630 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
6631 (c4x_emit_libcall): Use new optab rtx values.
6632 (c4x_emit_libcall3): Likewise.
6633 (c4x_emit_libcall_mulhi): Likewise.
6634 * c4x-protos.h: Add prototypes for optab rtx values and change
6635 prototypes for above c4x_emit_libcall functions.
6637 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6639 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
6641 (c4x_function_prologue): Use regnames intead of float_reg_names when
6643 (c4x_function_epilogue): Likewise.
6644 (c4x_print_operand): Likewise.
6645 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
6646 * c4x.md (set_high): Disable for TARGET_TI.
6648 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6650 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
6651 of framepointer + constant to ADDR_REGS class.
6652 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
6653 * c4x.c (std_or_reg_operand): New function.
6654 * c4x-protos.h (std_or_reg_operand): Prototype it.
6656 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6658 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
6659 object names as libgcc2.c.
6660 * libgcc.S: Use newly defined names.
6662 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
6663 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
6665 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
6666 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
6667 (FLOW_LOOP_LAST_BLOCK): Likewise.
6669 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6671 * basic-block.h (struct loop): New fields 'first' and 'last'.
6672 * flow.c (flow_loops_find): Compute loop->first and loop->last.
6673 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
6674 and loop->last to check for NOTE_INSN_LOOP_END.
6676 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
6678 * predict.c (estimate_probability): Use the new FIRST and LAST fields
6679 of the loop descriptor rather than HEADER and LATCH. Also added
6680 missing break statements as well making some coding style modifications
6681 as suggested by Michael Hayes.
6683 2000-01-28 Richard Henderson <rth@cygnus.com>
6685 * flow.c (find_basic_blocks): Remove do_cleanup argument.
6686 Break out that code ...
6687 (cleanup_cfg): ... here.
6688 (commit_one_edge_insertion): Detect a return instruction being
6689 emitted to an edge. Emit a barrier following; clear fallthru.
6690 (commit_edge_insertions): Verify CFG consistency.
6691 * function.c (expand_function_start): Kill unused variable.
6692 (expand_function_end): Likewise.
6693 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
6694 to insert the epilogue.
6696 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
6697 (delete_null_pointer_checks): Likewise.
6698 * output.h: Likewise.
6699 * reg-stack.c (reg_to_stack): Likewise.
6700 * toplev.c (rest_of_compilation): Likewise. Run
6701 thread_prologue_and_epilogue_insns after rebuilding the CFG.
6703 2000-01-28 Richard Henderson <rth@cygnus.com>
6705 * Makefile.in (flow.o): Revert 24 Jan change.
6706 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
6707 FUNCTION_VALUE result to DECL_RESULT's mode.
6709 * haifa-sched.c (schedule_insns): Don't recompute reg info
6712 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
6714 * configure.in: Make --enable-cpplib the default.
6715 * configure: Regenerate.
6716 * gcc.dg/990119-1.c: No longer expected to fail.
6718 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
6720 * jump.c (jump_optimize_1): Delete an optimization that is also done
6721 by merge_blocks in flow.
6723 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6725 * diagnostic.c (build_message_string, output_printf,
6726 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
6727 (build_location_prefix): Fix non-literal format string.
6729 2000-01-27 Richard Henderson <rth@cygnus.com>
6731 * alpha.md (trunctfsf2): New.
6733 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
6735 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
6737 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
6739 * cppinit.c (cpp_handle_option): Recognize C++ comments under
6741 * cpplib.c (skip_block_comment, skip_line_comment): Split code
6743 (skip_comment) ... here. Permit C++ comments in system
6744 headers always. Warn about C++ comments in user code under
6745 -std=gnu89 -pedantic.
6746 (copy_comment): Use skip_comment.
6747 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
6749 (consider_directive_while_skipping, do_else, do_endif): Call
6750 validate_else unconditionally.
6751 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
6752 text after the conditional in a system header.
6753 * cpplib.h (struct cpp_buffer): Add flag
6754 warned_cplusplus_comments.
6756 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
6758 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
6759 Use unshare_all_rtl_1.
6760 (unshare_all_rtl_again): New function.
6761 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
6763 * function.c (purge_addressof_1): Use unshare_all_rtl_again
6764 rather than resetting the 'used' flags ourself.
6766 * toplev.c (rest_of_compilation): Add current_function_decl
6767 to the unshare_all_rtl call.
6768 * tree.h: Prototype unshare_all_rtl.
6769 * rtl.h: Prototype unshare_all_rtl_again here.
6771 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
6773 * genoutput.c (output_prologue): Include ggc.h in generated
6775 * Makefile.in (insn-output.o): Depends on ggc.h.
6777 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
6778 Hans-Peter Nilsson <hp@bitrange.com>
6780 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
6781 Remove redundant include of xm-ns32k.h.
6782 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
6783 Remove redundant include of xm-ns32k.h.
6784 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
6785 Remove redundant include of xm-ns32k.h.
6786 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
6788 * ns32k/ns32k.h: Update comment on multiply-add instructions.
6789 (TARGET_SWITCHES): Add documentation strings.
6790 (DWARF_FRAME_REGNUM): Override default definition.
6791 (REG_CLASS_CONTENTS): Add comments.
6792 (SUBSET_P): Format to reduce line length.
6793 (SMALL_REGISTER_CLASSES): Make a run time option.
6794 (GO_IF_NONINDEXED_ADDRESS): Reformat.
6795 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
6796 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
6797 (regclass_map): fix typo in comment.
6798 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
6799 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
6800 (trace, reg_or_mem_operand): Delete, unused function.
6801 (calc_address_cost): Small offsets are cheaper than large ones.
6802 (expand_block_move): Generate more efficient code when bytes is a
6803 known at compile time.
6804 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
6805 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
6806 instead of reg_or_mem_operand.
6808 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
6809 not general_operand. Similarly use "=rm" or stricter, not "=g".
6810 For input operands, use stricter constraints than "g" if not
6811 general_operand. Similarly use stricter predicate than
6812 "general_operand" when stricter constraints than "g" are present,
6813 except for matching constraints.
6814 (movstrsi): Use "memory_operand" for operands 0 and 1.
6815 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
6816 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
6817 not reg_or_mem_operand.
6818 (udivmoddisi4): Ditto.
6819 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
6820 Use nonimmediate_operand for operand 3, not register_operand.
6821 (udivmoddiqi4_internal): Use register_operand for operand 1, not
6824 2000-01-27 Fred Fish <fnf@be.com>
6826 * gthr-posix.h: Fix typo; compatibily -> compatibility.
6827 * gthr-single.h: Likewise.
6828 * gthr-solaris.h: Likewise.
6829 * gthr-vxworks.h: Likewise.
6830 * gthr-win32.h: Likewise.
6833 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
6835 * cppinit.c: Add " (cpplib)" to end of string printed by
6838 2000-01-27 Richard Henderson <rth@cygnus.com>
6840 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
6841 testing for a signed comparison.
6842 (alpha_emit_floatuns): New.
6843 * alpha-protos.h: Declare it.
6844 * alpha.md (floatunsdisf2, floatunsdidf2): New.
6845 (extendsfdf2): Tidy.
6847 2000-01-27 Jakub Jelinek <jakub@redhat.com>
6849 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
6850 no -g option specifying debugging format, default to -gstabs+.
6852 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6854 * calls.c (special_function_p): New argument fork_or_exec.
6855 (expand_call): When profile_arc_flag is set and the function
6856 is in the fork_or_exec group, call __bb_fork_func first.
6857 * libgcc2.c, _bb module (__bb_fork_func): New function.
6858 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
6860 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
6861 * tree.h (special_function_p): Update prototype.
6863 2000-01-26 Richard Henderson <rth@cygnus.com>
6865 * alpha.c (alpha_split_tfmode_pair): New.
6866 * alpha-protos.h: Declare it.
6867 * alpha.md (abstf2, negtf2): New.
6868 (movtf insn): Add input G constraint.
6869 (movtf splitter): Use alpha_split_tfmode_pair.
6871 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6873 * i386/cygwin.h: PROTO -> PARAMS.
6875 2000-01-26 Jakub Jelinek <jakub@redhat.com>
6877 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
6878 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
6879 using _Qp_cmp/_Q_cmp and testing the return value.
6880 (print_operand): Call reverse_condition_maybe_unordered if
6881 we are handling CCFPmode or CCFPEmode.
6882 Handle ORDERED, UN* and LTGT comparisons.
6883 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
6884 if not TARGET_HARD_QUAD.
6885 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
6886 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
6887 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
6888 Adjust gen_b* calls so that they reflect return comparison of
6889 sparc_emit_float_lib_cmp.
6891 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6893 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
6894 incoming operands array is large enough for one more operand.
6895 (alpha_emit_xfloating_arith): Likewise.
6897 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
6899 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
6900 file with one line and no trailing newline.
6901 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
6902 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
6903 checking if the match is on the line.
6904 * fixinc/gnu-regex.c: Provide regerror not __regerror.
6906 2000-01-25 Richard Henderson <rth@cygnus.com>
6908 * sparc.c (output_cbranch): Fix accidental squashing of the
6909 fp branch pre-delay nop.
6911 2000-01-25 Richard Henderson <rth@cygnus.com>
6913 * tree.def (UNNE_EXPR): Remove.
6914 * c-typeck.c (build_binary_op): Don't handle it.
6915 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
6917 * rtl.def (UNNE): Remove.
6919 * jump.c (reverse_condition): Update accordingly.
6920 (swap_condition): Likewise.
6921 (comparison_dominates_p): Handle unordered comparisons.
6922 (reverse_condition_maybe_unordered): New.
6923 * rtl.h (reverse_condition_maybe_unordered): Declare.
6925 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
6926 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
6927 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
6928 * sparc.md (bltgt): New.
6930 2000-01-25 Nick Clifton <nickc@redhat.com>
6932 * emit-rtl.c (emit_insn): Only check machine class insns for
6933 improper emission of a RETURN.
6935 2000-01-25 Richard Henderson <rth@cygnus.com>
6937 * Makefile.in (flow.o): Depend on $(EXPR_H).
6938 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
6939 duplicate the structure of diddle_return_value for keeping regs live.
6941 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6943 * loop.c (current_loop_info): Delete.
6944 (consec_sets_invariant_p): Add loop argument, update callers.
6945 (get_condition_for_loop): Likewise.
6946 (count_nonfixed_reads, update_giv_derive): Likewise.
6947 (simplify_giv_expr, general_induction_var): Likewise.
6948 (consec_sets_giv, recombine_givs): Likewise.
6949 (move_movables): Delete loop_start and loop_end arguments,
6950 add loop argument, and update callers.
6951 (find_mem_givs, check_final_value): Likewise.
6952 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
6953 (loop_invariant_p): Rename from invariant_p, add loop argument, and
6955 (basic_induction_var): Add loop argument, delete loop_level argument,
6957 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
6958 add loop argument, and update callers.
6959 (find_splittable_regs, find_splittable_givs): Likewise.
6960 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
6961 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
6962 (biv_total_increment): Delete loop_start and loop_end arguments;
6964 (precondition_loop_p): Delete loop_start and loop_info arguments;
6966 * loop.h (get_condition_for_loop): Add loop argument.
6967 (biv_total_increment): Delete loop_start and loop_end arguments.
6968 (precondition_loop_p): Delete loop_start and loop_info arguments;
6970 (final_biv_value): Delete loop_start and loop_end arguments;
6972 (final_giv_value, back_branch_in_range_p): Likewise.
6974 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
6976 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
6978 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
6980 * Makefile.in (c-gperf.h) : Change the "See" pointer to
6981 point to the new "generated_files" doc.
6983 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
6985 * config/fp-bit.c (_unord_f2): Fix typo.
6987 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
6989 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
6990 c-typeck.c, objc/objc-act.c: Remove all references to obstack
6991 functions obsoleted by GC, such as push_obstacks_nochange,
6992 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
6993 and code which existed only to decide whether or not to call
6994 them. Remove now-unused NESTED argument from start_function;
6995 all callers changed. Do not change behavior based on ggc_p.
6996 The use of the ixp_obstack in c-iterate.c and the util_obstack
6997 in objc/objc-act.c remain; these are not obsoleted by garbage
6999 * c-tree.h: Update prototype for start_function.
7001 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
7003 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
7005 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
7008 2000-01-25 Richard Henderson <rth@cygnus.com>
7010 * sparc-protos.h (select_cc_mode): Declare.
7011 * sparc.c (select_cc_mode): New. Handle unordered compares.
7012 (output_cbranch): Always reverse via code change. Handle
7013 unordered compares. Factor tests and string updates.
7014 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
7015 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
7016 * sparc.md (bunordered, bordered): New.
7017 (bungt, bunlt, buneq, bunge, bunle): New.
7019 2000-01-25 Richard Henderson <rth@cygnus.com>
7021 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
7022 * ggc-common.c (ggc_add_rtx_varray_root): New.
7023 (ggc_mark_rtx_varray): New.
7024 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
7025 functions down below ggc_mark_foo.
7026 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
7028 2000-01-25 Richard Henderson <rth@cygnus.com>
7030 * alpha.c (secondary_reload_class): Don't allocate a secondary
7031 for integral mode memories into FLOAT_REGS. Rearrange the more
7032 complicated memory expression inward.
7034 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
7036 * inclhack.def: Fixes to play nicer with FreeBSD, and
7037 corrections to comments.
7038 (cxx_unready): Add select expression.
7039 (irix_sockaddr): Add bypass expression.
7040 (machine_ansi_h_va_list): New fix.
7041 (stdio_va_list): No need to edit _BSD_VA_LIST_.
7042 Split out addition of "#include <stdarg.h>" to...
7043 (stdio_stdarg_h): ... here.
7044 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
7045 to stdlib.h also. Do not munge _BSD_SIZE_T_.
7046 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
7048 (ultrix_ifdef): Tighten up select expression.
7050 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
7051 re_ct and max_mach to avoid use of shell. Make printed names
7052 match names in inclhack.def. Use static copyright date.
7053 Don't count c_test and test expressions as requiring regex_t
7054 slots. Add some commentary.
7055 * inclhack.tpl: Do not include the 'This script contains N
7056 fixup scripts' line if PROGRAM is defined. Use static
7059 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
7061 * dwarf2out.c: include "varray.h", not dyn-string.h.
7062 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
7063 (addr_const_to_string, addr_to_string): Lose.
7064 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
7065 (struct dw_val_struct): val_addr is now an rtx.
7066 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
7067 (used_rtx_varray): New varray.
7068 (dwarf2out_init): Initialize it.
7070 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
7072 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
7073 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
7074 * Makefile.in (dwarf2out.o): Update dependencies.
7076 2000-01-24 Richard Henderson <rth@cygnus.com>
7078 * i386.c (i386_dwarf_output_addr_const): New.
7079 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
7081 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
7083 * dwarfout.c (output_mem_loc_descriptor): Likewise.
7084 * i386.c (i386_simplify_dwarf_addr): New.
7085 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
7087 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
7089 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
7090 TYPE_STUB_DECL is NULL.
7092 2000-01-24 Richard Henderson <rth@cygnus.com>
7094 * builtins.c (expand_tree_builtin): Move ...
7095 * c-common.c (expand_tree_builtin): ... here.
7097 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7099 * loop.h (LOOP_INFO): New accessor macro.
7100 * basic-block.h (struct loop): Rename field `info' to `aux'.
7101 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
7102 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
7103 * unroll.c (loop_iterations, unroll_loop): Likewise.
7105 2000-01-24 Christopher Faylor <cgf@cygnus.com>
7107 * config/i386/t-cygwin: Accomodate new winsup directory layout
7108 when searching for include files.
7110 2000-01-24 Richard Henderson <rth@cygnus.com>
7112 * rtl.def: Add unordered fp comparisions.
7113 * tree.def: Likewise.
7114 * tree.h: Add ISO C 9x unordered fp comparision builtins.
7116 * builtins.c (expand_tree_builtin): New function.
7117 * c-typeck.c (build_function_call): Use it.
7118 (build_binary_op): Support unordered compares.
7119 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
7121 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
7122 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
7123 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
7124 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
7125 * jump.c (reverse_condition): Don't abort for UNLE etc, but
7127 (swap_condition): Handle unordered compares.
7128 (thread_jumps): Check can_reverse before reversing.
7129 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
7132 * optabs.c (can_compare_p): New argument CODE. Verify branch or
7133 setcc is present before acking for cmp_optab. Update all callers.
7134 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
7135 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
7136 * expr.c (expand_expr): Likewise. Support unordered compares.
7137 (do_jump, do_store_flag): Likewise.
7138 * expr.h (enum libfunc_index): Add unordered compares.
7140 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
7141 (DPBIT_FUNCS): Add _unord_df.
7142 * config/fp-bit.c (_unord_f2): New.
7143 * fp-test.c (main): Try unordered compare builtins.
7145 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
7146 * alpha.c (alpha_comparison_operator): Check mode properly.
7147 (alpha_swapped_comparison_operator): Likewise.
7148 (signed_comparison_operator): Likewise.
7149 (alpha_fp_comparison_operator): New.
7150 (alpha_emit_conditional_branch): Handle unordered compares.
7151 * alpha.h (PREDICATE_CODES): Update.
7152 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
7153 (bunordered, bordered): New.
7155 2000-01-24 Richard Henderson <rth@cygnus.com>
7157 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
7158 * alpha.md (movtf): New expander, insn, and splitter.
7160 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
7162 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
7165 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
7167 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
7168 (FIXED_REGISTERS, CALL_USED_REGISTERS,
7169 REG_ALLOC_ORDER): Add frame pointer
7170 (FRAME_POINTER_REGNUM): Set to 20
7171 (HARD_FRAME_POINTER_REGNUM): New macro.
7172 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
7173 to HARD_FRAME_POINTER.
7174 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
7175 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
7176 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
7177 (HI_REGISTER_NAMES): Add "frame".
7178 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
7179 (debug_reg): Handle FRAME_POINTER_REGNUM.
7180 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
7181 GENERAL_REGS and INDEX_REGS.
7182 * i386.c (SAVED_REGS_FIRST): new macro.
7183 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
7184 (ix86_decompose_address, memory_address_length): Likewise.
7185 (regclass_map): Add frame pointer.
7186 (call_insn_operand): Handle frame_pointer_rtx.
7187 (reg_no_sp_operand): Likewise.
7188 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
7189 (print_operand, legitimize_pic_address): Fix formating.
7190 (ix86_compute_frame_size): Make static, update prototype, new
7191 parameters padding1, padding2, use ix86_nsaved_regs, use
7192 stack_alignment_needed.
7193 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
7194 to HARD_FRAME_POINTER_REGNUM conversions.
7195 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
7196 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
7197 (print_reg): Abort on FRAME_POINTER_REGNUM
7199 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
7201 * i386.h (PREDICATE_CODES): Add aligned_operand.
7202 * i386.c (aligned_operand): New function.
7203 (ix86_aligned_p): Kill.
7204 * i386.md (movhi_1): Emit mov for aligned operands.
7205 (promoting peep2s): Use aligned_operand.
7207 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
7209 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
7210 expression to allow underscores in macro names.
7211 (fix_char_macro_defines): Increment scanning pointer.
7213 2000-01-23 Richard Henderson <rth@cygnus.com>
7215 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
7216 * alpha/osf5.h: New file.
7217 * configure.in (alpha-*-osf5): Add it to tm_file.
7219 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
7221 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
7222 (alpha_emit_xfloating_cvt, function_arg): Declare.
7223 * alpha.c (alpha_emit_conditional_branch): Call
7224 alpha_emit_xfloating_compare for TFmode compares.
7225 (alpha_lookup_xfloating_lib_func): New.
7226 (alpha_compute_xfloating_mode_arg): New.
7227 (alpha_emit_xfloating_libcall): New.
7228 (alpha_emit_xfloating_arith): New.
7229 (alpha_emit_xfloating_compare): New.
7230 (alpha_emit_xfloating_cvt): New.
7231 (print_operand): Add default abort case.
7232 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
7233 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
7234 (BIGGEST_ALIGNMENT): Increase to 128 bits.
7235 (RETURN_IN_MEMORY): True for TF/TCmode.
7236 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
7237 (FUNCTION_ARG): Move to function_arg.
7238 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
7239 (ASM_OUTPUT_LONG_DOUBLE): New.
7240 (ASM_OUTPUT_DOUBLE): Always output bits.
7241 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
7242 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
7243 (extenddftf2, trunctfdf2): New.
7245 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7247 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
7248 * config/sparc/sol2.h: ... here.
7250 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7252 * basic-block.h (struct loops): New field `levels'.
7253 * flow.c (flow_loops_level_compute): Traverse all outer loops.
7254 (flow_loop_level_compute): Initialise level to 1.
7255 (flow_loops_find): Set loops->levels.
7256 (flow_loops_dump): Print loops->levels.
7258 2000-01-23 Richard Henderson <rth@cygnus.com>
7260 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
7261 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
7263 2000-01-23 Richard Henderson <rth@cygnus.com>
7265 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
7266 * i386.h (DBX_REGISTER_NUMBER): Use them.
7267 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
7268 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
7269 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
7270 * i386/sequent.h: Kill incorrect comment.
7272 2000-01-23 Mark Mitchell <mark@codesourcery.com>
7274 * ggc-page.c (struct page_entry): Make `context_depth' an
7276 (struct globals): Likewise.
7278 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
7280 * loop.c (check_dbra_loop): When checking a loop for
7281 reversability, check the source of any stores to ensure
7282 they don't depend on an initial value.
7284 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7286 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
7288 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
7290 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
7291 'pz_scan' into scope of entire function. Only affects
7292 compiles with -DDEBUG.
7294 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
7296 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
7297 section naming to that prior to 2000-01-07 patch.
7298 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
7299 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
7300 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
7301 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
7302 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
7304 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
7306 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
7309 2000-01-21 Jim Wilson <wilson@cygnus.com>
7311 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
7312 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
7314 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
7316 * cpphash.c (change_newlines): Delete function.
7317 (struct argdata): Delete 'newlines' and 'use_count' fields.
7318 (macroexpand): Remove code referencing those fields.
7320 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7322 * loop.c (loops_info): New variable.
7323 (loop_optimize): Allocate loops->array and free it on exit.
7324 Allocate memory for loops_info and assign to each loop,
7326 (find_and_verify_loops): Do not allocate loops->array.
7328 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
7330 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
7332 2000-01-21 Jakub Jelinek <jakub@redhat.com>
7334 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
7335 pseudos if expanded after first flow.
7336 (movdi_pic_label_ref): Likewise.
7338 2000-01-20 Richard Henderson <rth@cygnus.com>
7340 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
7342 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
7344 * Makefile.in (fixinc.sh): Depend on specs.
7345 * fixinc/Makefile.in: Add rule to create machname.h.
7346 (fixlib.o): Depend on machname.h.
7347 * fixinc/fixtests.c (machine_name): New test.
7348 * fixinc/fixfixes.c (machine_name): New fix.
7349 * fixinc/fixlib.c (mn_get_regexps): New helper function for
7350 the machine_name test and fix.
7351 * fixinc/fixlib.h: Prototype it.
7352 * fixinc/inclhack.def (machine_name): Use the C test and fix.
7353 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
7355 * gcc.c (do_spec_1) [case P]: Take care not to create
7356 identifiers with three leading or trailing underscores.
7358 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
7359 (fixincl): Don't specify libraries twice on link line.
7360 (gnu-regex.o): Remove special rule.
7361 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
7362 defined by config.h. Do not define _REGEX_RE_COMP.
7363 (regcomp): Allocate and initialize a fastmap.
7364 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
7366 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
7368 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
7370 2000-01-19 Richard Henderson <rth@cygnus.com>
7372 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
7373 arguments with BB. Update all callers. Tidy line wrapping.
7375 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
7377 * emit-rtl.c (try_split): Return last_insn if we split the
7380 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
7382 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
7383 (ix86_initial_elimination_offset): Declare.
7384 * i386.c (ix86_nsaved_regs): Break out from ...
7385 (ix86_can_use_return_insn_p): ... here.
7386 (ix86_emit_save_regs): Break out from ...
7387 (ix86_expand_prologue): ... here.
7388 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
7390 (ix86_expand_epilogue): ... here.
7391 (ix86_compute_frame_size): Make static, add prototype.
7392 (ix86_initial_elimination_offset): Break out from ...
7393 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
7395 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7397 * recog.h (OUT_FCN): Delete.
7399 * vax.md: Call `get_insn_template' instead of OUT_FCN.
7401 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7403 * cppalloc.c: PROTO -> PARAMS.
7404 * cpperror.c: Likewise.
7405 * cppfiles.c: Likewise.
7406 * cpplib.c: Likewise.
7407 * cpplib.h: Likewise.
7409 * config/arm/arm-protos.h: PROTO -> PARAMS.
7410 * config/arm/arm.c: Likewise.
7411 * config/c4x/c4x.c: Likewise.
7412 * config/fr30/fr30-protos.h: Likewise.
7413 * config/nextstep.c: Likewise.
7414 * config/pa/pa.c: Likewise.
7415 * config/pj/pj.c: Likewise.
7416 * config/rs6000/rs6000.c: Likewise.
7417 * config/v850/v850-protos.h: Likewise.
7418 * config/v850/v850.c: Likewise.
7420 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7422 * i370-protos.h: New file.
7424 * i370.c: Include tm_p.h. Fix compile time warnings.
7426 * i370.h: Move prototypes to i370-protos.h. Fix compile time
7429 * i370.md: Likewise.
7431 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7433 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
7434 (target_isinf, target_isnan, eisnan): Mark parameter with
7436 (eiisinf): Wrap in INFINITY.
7437 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
7438 (ibmtoe): Remove unused variable `rndsav'.
7440 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7442 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
7443 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
7445 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
7447 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
7448 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
7449 (fix_char_macro_defines, fix_char_macro_uses): New functions.
7451 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
7452 Recognize Emacs mode markers also.
7453 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
7454 C++ comments in C++ headers. Call is_cxx_header only if
7457 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
7459 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
7460 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
7461 ... these, which use the new C fixes.
7462 (math_exception): Escape literal '+' in bypass expression.
7464 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
7467 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7469 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
7472 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7474 * loop.c (loop_optimize): Allocate loop_info structure for each loop
7475 prior to calling scan_loop.
7477 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7479 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
7480 (split_branches, calc_live_regs): Likewise.
7482 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7484 * sh.md (fpu_single, fp_mode): New attributes.
7486 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7488 * loop.c (current_loop_info): Renamed from loop_info_data
7489 and changed to a pointer.
7490 (loop_optimize): Allocate loop_info structure for each loop
7491 and initialise to zero.
7492 (scan_loop): Set current_loop_info.
7494 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
7497 2000-01-19 Richard Henderson <rth@cygnus.com>
7499 * stupid.c: Die die die.
7500 * Makefile.in (OBJS): Remove stupid.o.
7501 (stupid.o): Likewise.
7503 * except.c (emit_eh_context): Don't emit USEs for stupid.
7504 * explow.c (probe_stack_range): Likewise.
7505 * flags.h (obey_regdecls): Remove.
7506 * flow.c (find_basic_blocks): Don't run try_merge_blocks
7507 when not optimizing.
7508 (life_analysis): Limit data collection when not optimizing.
7509 (mark_regs_live_at_end): Always mark the return value registers.
7510 (mark_used_regs): Remove dummy RETURN case.
7511 (print_rtl_with_bb): Don't consult obey_regdecls.
7512 * function.c (use_variable, use_variable_after): Remove.
7513 (assign_parms): Consult optimize not obey_regdecls.
7514 (expand_function_start): Don't emit USEs for stupid.
7515 (expand_function_end): Likewise.
7516 * global.c (build_insn_chain): Export.
7517 * integrate.c (expand_inline_function): Kill return-value USE
7519 * jump.c (jump_optimize_1): Do simple jump optimizations and
7520 dead code elimination.
7521 (calculate_can_reach_end): Remove check_deleted argument.
7522 (delete_insn): Patch out insns even when not optimizing.
7523 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
7524 * rtl.h (use_variable, use_variable_after): Remove declarations.
7525 (build_insn_chain): Declare.
7526 * stmt.c (expand_value_return): Don't emit USEs for stupid.
7527 (expand_end_bindings): Likewise.
7528 (expand_decl): Likewise. Consult optimize not obey_regdecls.
7529 * toplev.c (obey_regdecls): Remove.
7530 (rest_of_compilation): Don't set it. Kill stupid in favour of
7531 flow1, local-alloc, and reload.
7532 (main): Don't set obey_regdecls.
7534 * config/nextstep.c (handle_pragma): Likewise.
7536 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
7538 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
7540 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7542 * alpha-protos.h: PROTO -> PARAMS.
7543 * alpha.c: Likewise.
7545 * h8300.c: Likewise.
7546 * i386-protos.h: Likewise.
7548 * m32r-protos.h: Likewise.
7551 * mips.md: Likewise.
7552 * gmon-sol2.c: Likewise.
7553 * sparc.c: Likewise.
7555 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7557 * ns32k-protos.h: New file.
7559 * ns32k.c: Fix compile time warnings.
7561 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
7564 * ns32k.md: Likewise.
7566 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7568 * vax-protos.h: New file.
7570 * vax.c: Fix compile time warnings.
7572 * vax.h: Move prototypes to vax-protos.h. Fix compile time
7577 * vaxv.md: Likewise.
7579 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7581 * romp-protos.h: New file.
7583 * romp.c: Fix compile time warnings.
7585 * romp.h: Move prototypes to romp-protos.h. Fix compile time
7588 * romp.md: Likewise.
7590 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7592 * we32k-protos.h: New file.
7594 * we32k.c: Fix compile time warnings.
7596 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
7599 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7601 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
7603 * except.c (eh_regs): Likewise.
7605 * final.c (output_operand): Likewise.
7607 * fold-const.c (target_isinf, target_isnan): Likewise.
7609 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
7611 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
7612 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
7614 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
7616 (clrstrsi): Rewrite.
7617 (strsethi, strsetqi): New expanders.
7618 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
7619 (cmpstrsi): Emit compare insn before cmpstrsi_1
7620 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
7621 (strlensi_1): Likewise.
7622 (cmpstrsi_1): Likewise; do not output compare.
7623 (strlen expander): Do not unroll when optimizing for size.
7624 (*subsi3_carry): Rename to subsi3_carry
7625 (addqi3_cc): New pattern.
7626 * i386.h (processor_costs): Add move_ratio field.
7627 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
7628 * i386.c (*_cost): Set move_ratio.
7629 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
7630 (x86_expand_strlensi_1): Rewrite the main loop.
7632 2000-01-17 Richard Henderson <rth@cygnus.com>
7634 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
7635 * cse.c (find_comparison_args, fold_rtx): Likewise.
7636 * integrate.c (subst_constants): Likewise.
7637 * loop.c (get_condition): Likewise.
7639 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
7641 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
7643 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7645 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
7646 (RESTORE_WARN_FLAGS): Unpack it.
7647 Change semantic type of extension to ttype.
7648 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
7649 * c-parse.y, c-parse.c, objc/objc-parse.y,
7650 objc/objc-parse.c: Regenerate.
7652 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
7654 * fixinc/fixlib.c: Add copyright notice.
7655 (compile_re): New function.
7656 * fixinc/fixlib.h: Prototype compile_re.
7658 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
7659 Use compile_re to compile regular expressions.
7661 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
7662 where the pattern matched.
7664 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
7666 (ultrix_ansi_compat): Likewise.
7667 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
7669 (interactv_add2, interactv_add3): Delete.
7670 (x11_sprintf): Don't use filename glob.
7671 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
7674 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7676 * print-rtl.c: PROTO -> PARAMS.
7678 * reg-stack.c: Likewise.
7679 * resource.c: Likewise.
7680 * sdbout.h: Likewise.
7681 * simplify-rtx.c: Likewise.
7682 * stor-layout.c: Likewise.
7683 * stupid.c: Likewise.
7684 * xcoffout.c: Likewise.
7685 * xcoffout.h: Likewise.
7687 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7689 * toplev.c: PROTO -> PARAMS.
7690 * toplev.h: Likewise.
7693 * unroll.c: Likewise.
7694 * varasm.c: Likewise.
7695 * varray.c: Likewise.
7696 * varray.h: Likewise.
7698 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7700 * reload.c: PROTO -> PARAMS.
7701 * reload.h: Likewise.
7702 * reload1.c: Likewise.
7703 * reorg.c: Likewise.
7704 * resource.h: Likewise.
7707 * rtlanal.c: Likewise.
7708 * sbitmap.h: Likewise.
7709 * sdbout.c: Likewise.
7710 * stack.h: Likewise.
7712 * system.h: Likewise.
7714 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7716 * machmode.h: PROTO -> PARAMS.
7717 * mbchar.h: Likewise.
7718 * mips-tdump.c: Likewise.
7719 * mips-tfile.c: Likewise.
7720 * optabs.c: Likewise.
7721 * output.h: Likewise.
7722 * prefix.c: Likewise.
7723 * profile.c: Likewise.
7724 * protoize.c: Likewise.
7726 * recog.c: Likewise.
7727 * recog.h: Likewise.
7728 * regclass.c: Likewise.
7729 * regmove.c: Likewise.
7732 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7734 * ggc-common.c: PROTO -> PARAMS.
7735 * ggc-page.c: Likewise.
7736 * ggc-simple.c: Likewise.
7738 * global.c: Likewise.
7739 * graph.c: Likewise.
7740 * gthr-win32.h: Likewise.
7741 * haifa-sched.c: Likewise.
7742 * halfpic.h: Likewise.
7743 * integrate.c: Likewise.
7744 * integrate.h: Likewise.
7747 * local-alloc.c: Likewise.
7751 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7753 * genattr.c: PROTO -> PARAMS.
7754 * genattrtab.c: Likewise.
7755 * gencheck.c: Likewise.
7756 * gencodes.c: Likewise.
7757 * genconfig.c: Likewise.
7758 * genemit.c: Likewise.
7759 * genextract.c: Likewise.
7760 * genflags.c: Likewise.
7761 * gengenrtl.c: Likewise.
7762 * genopinit.c: Likewise.
7763 * genoutput.c: Likewise.
7764 * genpeep.c: Likewise.
7765 * genrecog.c: Likewise.
7767 2000-01-16 Mark Mitchell <mark@codesourcery.com>
7769 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
7771 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7773 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
7774 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
7775 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
7776 * configure, config.in: Rebuilt.
7778 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
7780 * config/i386/i386.md: Add peephole to merge successive stack
7783 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
7785 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
7786 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
7787 when walking backwards to find all the parameter loads when
7788 the basic block ends in a call.
7790 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7792 * loop.c (this_loop_info): Delete.
7793 (uid_loop): Add in place of uid_loop_num. All uses updated.
7794 (loop_number_exit_count): Delete and replace with entry in loop
7795 structure. All uses updated.
7796 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7797 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7798 (loop_outer_loop): Likewise.
7799 (loop_invalid, loop_number_exit_labels): Likewise.
7800 (loop_used_count_register): Delete and replace with entry in
7801 loop_info structure.
7802 (find_and_verify_loops): Add loops argument.
7803 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
7804 loop_end, etc. arguments with loop structure pointer. All callers
7806 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
7807 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
7808 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
7809 (insert_bct): Likewise.
7810 (basic_induction_var): New argument level.
7811 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
7812 vtop, and cont. Add used_count_register.
7813 (uid_loop): Delete declaration.
7814 (loop_number_exit_count): Likewise.
7815 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7816 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7817 (loop_outer_loop, loop_used_count_register): Likewise.
7818 (loop_invalid, loop_number_exit_labels): Likewise.
7819 (unroll_loop): Replace loop_start and loop_end arguments
7820 with loop structure pointer.
7821 (loop_precondition_p, loop_iterations): Likewise.
7822 Include basic-block.h.
7823 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
7824 with loop structure pointer.
7825 (loop_precondition_p, loop_iterations): Likewise.
7826 * basic-block.h (struct loop): New entries vtop, cont,
7827 cont_dominator, start, end, top, scan_start, exit_labels,
7829 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
7831 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7833 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
7835 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
7837 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
7839 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7841 * pdp11-protos.h: New file.
7843 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
7846 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
7849 * pdp11.md: Likewise.
7853 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7855 * mn10300-protos.h: New file.
7857 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
7860 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
7863 * mn10300.md: Likewise.
7865 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7867 * mn10200-protos.h: New file.
7869 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
7872 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
7875 * mn10200.md: Likewise.
7877 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7879 * h8300-protos.h: New file.
7881 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
7884 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
7887 * h8300.md: Likewise.
7889 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7891 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
7892 (asm_emit_uninitialised): Likewise.
7894 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
7896 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
7897 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
7899 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
7901 * config/mips/mips.c (override_options): Don't turn on extra
7902 alignment for mips16.
7904 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
7906 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
7907 eabi, and make sure queued POSTINCREMENT rtl is emitted at
7910 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
7912 * builtins.c (PAD_VARARGS_DOWN): Define.
7913 (std_expand_builtin_va_arg): Use the above macro.
7914 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
7915 * tm.texi (Register Arguments): Document the above macro.
7917 2000-01-14 Nick Clifton <nickc@cygnus.com>
7919 * emit-rtl.c (emit_insn): If checking is enabled, make sure
7920 that this function has not been used to emit a jump
7923 * jump.c (return_jump_1): Cope with being passed a null rtx.
7925 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7927 * eh-common.h: PROTO -> PARAMS.
7928 * emit-rtl.c: Likewise.
7929 * errors.c: Likewise.
7930 * errors.h: Likewise.
7931 * except.c: Likewise.
7932 * except.h: Likewise.
7933 * explow.c: Likewise.
7934 * expmed.c: Likewise.
7937 * final.c: Likewise.
7938 * fix-header.c: Likewise.
7940 * fold-const.c: Likewise.
7941 * function.c: Likewise.
7942 * function.h: Likewise.
7944 * gcov-io.h: Likewise.
7948 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7950 * sh-protos.h: New file.
7952 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
7953 Add static prototypes. Fix compile time warnings.
7955 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
7959 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7961 * arc-protos.h: New file.
7963 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
7966 * arc.h: Move prototypes to arc-protos.h. Fix compile time
7971 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7973 * dsp16xx-protos.h: New file.
7975 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
7978 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
7981 * dsp16xx.md: Likewise.
7983 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7985 * convex-protos.h: New file.
7987 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
7990 * convex.h: Move prototypes to convex-protos.h. Fix compile time
7993 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7995 * elxsi-protos.h: New file.
7997 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
8000 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
8003 * elxsi.md: Likewise.
8005 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
8007 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
8008 case for moving from HI/LO/HI_LO_REG. This makes the behavior
8009 match the comment for MIPS16.
8011 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
8013 * flow.c (split_edge): Do not call set_block_for_insn if we
8014 do not have a basic_block_for_insn structure.
8016 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
8017 and destination functions are 32bit aligned within the trampoline.
8018 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
8019 (TRAMPOLINE_ALIGNMENT): Define.
8021 * cse.c (cse_insn): When changing (set (pc) (reg)) to
8022 (set (pc) (label_ref)), verify the change creates a valid insn.
8024 * fr30.c (call_operand): Tighten and rework to match rules for
8025 call RTL expressions.
8026 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
8027 * fr30.md (call patterns): Improve constraints.
8029 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
8031 * fr30.c (fr30_expand_epilogue): Revert last change.
8032 Use emit_jump_insn for the return insn.
8034 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
8035 Stan Cox <scox@cygnus.com>
8037 * predict.c: New file. Preliminary infrastructure work for static
8038 branch prediction and basic block reordering.
8039 * basic-block.h: Add prototype for estimate_probability.
8040 * Makefile.in: Add rules for predict.o.
8042 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
8044 * fixincludes (va_list): Use __not_va_list__ for the dummy.
8045 * fixinc/*: Likewise.
8047 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8049 * cccp.c: PROTO -> PARAMS.
8051 * collect2.c: Likewise.
8052 * combine.c: Likewise.
8053 * convert.h: Likewise.
8055 * dbxout.c: Likewise.
8056 * dbxout.h: Likewise.
8057 * diagnostic.c: Likewise.
8058 * doprint.c: Likewise.
8059 * dwarf2out.c: Likewise.
8060 * dwarf2out.h: Likewise.
8061 * dwarfout.c: Likewise.
8062 * dwarfout.h: Likewise.
8063 * dyn-string.h: Likewise.
8065 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8067 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
8068 macro conditionals guarding use.
8070 * dwarf2out.c: Include "tm_p.h".
8072 * function.c (locate_and_pad_parm): Mark parameter with
8074 (expand_function_end): Likewise for variable `context'.
8076 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
8078 2000-01-13 Nick Clifton <nickc@cygnus.com>
8080 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
8081 register to prevent compile time warnings.
8083 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
8085 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
8086 to avoid -Wtraditional warning.
8088 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8090 * 1750a-protos.h: New file.
8092 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
8095 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
8098 * 1750a.md: Likewise.
8100 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8102 * a29k-protos.h: New file.
8104 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
8107 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
8110 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8112 * clipper-protos.h: New file.
8114 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
8117 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
8120 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8122 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
8124 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
8126 * configure.in (--enable-new-gxx-abi): New option.
8127 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
8128 * Makefile.in (GXX_ABI_FLAG): New variable.
8129 * configure: Regenerate.
8131 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8133 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
8134 * tm.texi (FORCE_STRUCT_BLK): Document.
8135 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
8137 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
8139 * config/ns32k/ns32k.md: Revert Jan 9 change.
8141 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
8142 to a mode-test, if the predicate is address_operand.
8144 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
8146 * combine.c (if_then_else_cond): Be careful about what kinds
8147 of RTL expressions are passed to operand_subword.
8149 * flow.c (split_edge): If we have to insert a new jump, make
8150 sure to associate it with a basic block.
8152 * flow.c (commit_one_edge_insertion): A block with one successor
8153 can end in a JUMP_INSN that is not a simplejump.
8155 2000-01-12 Robert Lipe <robertl@sco.com>
8157 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
8158 (BUILD_VA_LIST_TYPE): Define.
8159 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
8162 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
8164 * cccp.c (do_pragma): Add cast to (char *).
8166 2000-01-12 Richard Henderson <rth@cygnus.com>
8167 Fred Fish <fnf@be.com>
8168 Jason Merrill <jason@cygnus.com>
8170 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
8171 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
8172 * i386/beos-elf.h, i386/beos-pe.h: New files.
8174 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
8175 * cross-make (SYSTEM_HEADER_DIR): Define using
8176 CROSS_SYSTEM_HEADER_DIR.
8178 * gcc.c (LIBRARY_PATH_ENV): Provide default.
8179 (process_command): Use it.
8180 (main): Likewise. Kill trailing = from env vars.
8181 (build_search_list): Put it back.
8182 * collect2.c (main): Use LIBRARY_PATH_ENV.
8184 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
8185 * toplev.c: Use NEED_DECLARATION_ENVIRON.
8187 * tm.texi (Frame Layout): Document SMALL_STACK.
8188 * c-common.c (c_common_nodes_and_builtins): Check it.
8190 * system.h: Undef alloca after including glibc's <stdlib.h>,
8191 if USE_C_ALLOCA is defined.
8193 * gcc.c (set_input): New fn.
8194 (main): After all input files are compiled, reset the input file
8197 * aclocal.m4 (rindex, index): If already defined, don't attempt
8200 * ginclude/varargs.h: (__va_list__): Define ifndef.
8201 * ginclude/stdarg.h: Likewise.
8203 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
8204 instead of unsigned char.
8206 * hash.h (true, false, boolean): Undef before enum.
8208 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
8209 proper type of "HOST_WIDE_INT *", rather than their natural type of
8210 "unsigned HOST_WIDE_INT *".
8212 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8214 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
8216 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
8218 * regclass.c (choose_hard_reg_mode): Likewise.
8220 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
8222 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
8224 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8226 * c-common.c: PROTO -> PARAMS.
8227 * c-common.h: Likewise.
8228 * c-decl.c: Likewise.
8229 * c-iterate.c: Likewise.
8230 * c-lang.c: Likewise.
8231 * c-lex.c: Likewise.
8232 * c-lex.h: Likewise.
8233 * c-parse.in: Likewise.
8234 * c-pragma.c: Likewise.
8235 * c-pragma.h: Likewise.
8236 * c-tree.h: Likewise.
8237 * c-typeck.c: Likewise.
8238 * objc/objc-act.c: Likewise.
8239 * objc/objc-act.h: Likewise.
8241 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8243 * m88k-protos.h: New file.
8245 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
8248 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
8250 * m88k.md: Likewise.
8252 * tekXD88.h: Likewise.
8254 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8256 * m68k-protos.h: New file.
8258 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
8261 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
8263 * mot3300.h: Likewise.
8265 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
8267 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
8269 (extract_bitlist): Declare bitlen.
8271 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
8273 * cccp.c: Accept and ignore -lang-fortran.
8275 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
8276 qualifiers don't match at any level of pointerness.
8278 2000-01-12 Robert Lipe <robertl@sco.com>
8280 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
8282 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
8284 * reload1.c (reload_reg_unavailable): New static variable.
8285 (reload_reg_free_p): Test it.
8286 (reload_reg_free_for_value_p): Test it instead of
8288 (choose_reload_regs_init): Compute it.
8290 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
8292 * reorg.c (fill_slots_from_thread): Check modified_in_p
8295 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
8297 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
8298 these nodes even if INTERNALS is not set.
8300 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
8302 * gcse.c (delete_null_pointer_checks_1): Cope when
8303 get_condition cannot determine the condition.
8305 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
8307 * toplev.h (set_message_length): Declare.
8309 * diagnostic.c (obstack_chunk_alloc): Define macro.
8310 (obstack_chunk_free): Likewise.
8311 (struct output_buffer): New data structure.
8313 (output_maximum_width): New variable.
8314 (doing_line_wrapping, set_message_length, init_output_buffer,
8315 get_output_prefix, output_space_left, emit_output_prefix,
8316 output_newline, output_append, output_puts, dump_output,
8317 vbuild_message_string, build_message_string, build_location_prefix,
8318 voutput_notice, output_printf, line_wrapper_printf,
8319 vline_wrapper_message_with_location): New functions. Implement
8320 automatic line wrapping.
8321 (v_message_with_decl): Make it handle automatic line wrapping.
8322 (v_error_with_file_and_line): Likewise.
8323 (v_warning_with_file_and_line): Likewise.
8324 (announce_function): Likewise.
8325 (default_print_error_function): Likewise.
8327 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
8329 * cpplib.h (struct cpp_options): Change lang_asm to char.
8331 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
8332 done in cpp_handle_option now.
8333 (initialize_builtins): Take out special case code used only by
8335 (cpp_handle_option): Turn off trigraphs and trigraph warnings
8336 if -traditional. Recognize -lang-fortran and set
8337 lang_fortran, also turn off cplusplus_comments.
8338 (print_help): Document -lang-fortran.
8339 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
8340 lang_asm. Ignore all directives other than `# 123 "file"' if
8342 (cpp_get_token): If -traditional, don't recognize directives
8343 unless the # is in column 1.
8344 (parse_string): If lang_fortran or lang_asm, silently
8345 terminate strings ('' or "") at end of line.
8346 Remove unnecessary braces.
8348 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8349 Richard Henderson <rth@cygnus.com>
8351 * resource.c (mark_referenced_resources): Mark a set strict_low_part
8353 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
8354 strict_low_part when possible.
8356 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8358 * alias.c: PROTO -> PARAMS.
8359 * basic-block.h: Likewise.
8360 * bitmap.c: Likewise.
8361 * bitmap.h: Likewise.
8362 * builtins.c: Likewise.
8363 * c-aux-info.c: Likewise.
8364 * caller-save.c: Likewise.
8365 * calls.c: Likewise.
8367 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8369 * Makefile.in (toplev.o): Depend on regs.h.
8371 * output.h (tdesc_section): Prototype.
8373 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
8375 * sdbout.c: Include "tm_p.h".
8377 * toplev.c: Include "regs.h".
8379 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
8381 * unroll.c (unroll_loop): Add EH support.
8383 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8385 * pa-protos.h: New file.
8387 * pa.c: Include recog.h and tm_p.h.
8388 (compute_zdepwi_operands, compute_movstrsi_length,
8389 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
8390 find_addr_reg, import_milli): Add static prototypes.
8391 (pa_cpu_string, pa_arch_string): Constify a char*.
8392 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
8393 (read_only_operand): Add argument `mode'.
8394 (singlemove_string, output_move_double, output_fp_move_double,
8395 output_block_move, output_and, output_ior, output_ascii,
8396 remove_useless_addtr_insns, milli_names, output_mul_insn,
8397 output_div_insn, output_mod_insn, output_arg_descriptor,
8398 output_cbranch, output_bb, output_bvb, output_dbra, ,
8399 output_millicode_call, output_call, hppa_encode_label,
8400 output_parallel_movb, output_parallel_addb): Constify a char*.
8401 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
8402 (output_parallel_addb): Remove extra arg to `constrain_operands'
8404 * pa.h: Move all prototypes to pa-protos.h.
8405 (pa_cpu_string, pa_arch_string): Constify a char*.
8406 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
8408 * pa.md: Call `function_label_operand' with mode argument.
8409 Likewise for `read_only_operand'.
8410 Fix nesting of parens in call to `symbolic_operand'.
8412 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8414 * i860-protos.h: New file.
8416 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
8419 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
8421 * i860.md: Likewise.
8423 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
8425 * i386.md (movstrsi expander): Rewrite.
8426 (movstrsi_1 insn): Deleted.
8427 (strmovhi, strmovqi expander): New expanders.
8428 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
8429 * i386.c (x86_single_stringop): New global variable.
8430 * i386.h (x86_single_stringop): Declare.
8431 (TARGET_SINGLE_STRINGOP): New macro.
8433 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
8435 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
8436 integer vararg POSTINCREMENT before the destination of the jump
8437 for the hard fp case.
8438 (function_arg_pass_by_reference): Pass a copy of CUM to
8441 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
8442 for CONSTANT_ADDRESS_P above while loop for subreg.
8444 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
8446 * flow.c (propagate_block): When a prologue/epilogue insn
8447 is marked dead, unconditionally clear libcall_is_dead and
8448 insn_is_dead, and only dump rtl if warnings aren't being
8451 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
8453 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
8454 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
8455 (FIXED_REGISTERS): Set dirflag as fixed.
8456 (CALL_USED_REGISTERS): Set dirflag as used.
8457 (REG_ALLOC_ORDER): Set dirflag as last one.
8458 (DIRFLAG_REG): New macro.
8459 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
8460 (HI_REGISTER_NAMES): Add dirflag.
8461 (DEBUF_PRINT_REG): Handle dirflag.
8462 * i386.md (type attribute): New cld and str types.
8463 (length_opcode attribute): Set cld and str to 1.
8464 (memory attribute): Set str to unknown - it is not clear from the
8466 (pent_np function unit): Prefixed string operations takes 12 cycles
8467 minimally; cld takes 2 cycles.
8468 (ppro_uops attribute): Str is "many" and cld is "few".
8469 (ppro_p0 unit): Handle cld here.
8470 (k6_alux unit): Handle cld and str types.
8471 (k6_load unit): It is ocupied by str opcodes.
8472 (k6_store unit): It is ocupied by str opcodes.
8473 (athlon_decode): Str is vector decoded.
8474 (athlon_ieu): Handle str and cld.
8476 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
8477 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
8478 cmpstrsi_nz_1 insn): Do not output cld instruction
8480 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
8482 * gcc.texi (G++ and GCC): Add Java and Chill.
8483 (Bug Critera): Don't list languages.
8485 * gcc.texi (Incompatibilities): No longer claim most C compilers
8488 * gcc.texi (G++ and GCC): Update other front-ends list.
8490 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
8492 * i386.c (ix86_expand_setcc): Fix typo.
8493 (ix86_expand_movcc): Similarly.
8495 * Band-aid until haifa's bitset implementation is nuked.
8496 * haifa-sched.c (extract_bitlst): New parameter for size of the
8497 bitset in bits. All callers changed. Avoid looking at undefined
8499 (edgeset_bitsize): New variable.
8500 (schedule_region): Initialize edgeset_bitsize.
8502 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8504 * Makefile.in (optabs.o): Depend on real.h
8505 (resource.o): Depend on insn-attr.h
8507 * builtins.c (result_vector): Wrap prototype in macro conditions
8508 governing definition and use.
8510 * c-common.c: Include tm_p.h.
8512 * c-lex.c: Likewise.
8514 * elfos.h: Constify a char*.
8516 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
8517 (get_attr_length, shorten_branches, profile_after_prologue): Mark
8518 parameter with ATTRIBUTE_UNUSED.
8520 * fold-const.c (exact_real_inverse): Wrap variable `i' in
8523 * haifa-sched.c (schedule_insns): Mark parameter with
8526 * optabs.c: Include real.h.
8528 * real.h (ereal_atof): Add prototype arguments.
8530 * resource.c: Include insn-attr.h.
8532 * sdbout.c (sdbout_queue_anonymous_type,
8533 sdbout_dequeue_anonymous_types): Wrap in macro
8534 SDB_ALLOW_FORWARD_REFERENCES.
8535 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
8538 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
8540 * stupid.c: Include tm_p.h.
8542 * tree.c (real_value_from_int_cst): Mark parameter with
8545 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8547 * i960-protos.h: New file.
8549 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
8552 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
8554 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8556 * combine.c (expand_field_assignment): Do not discard SUBREGs
8557 while computing nonzero_bits.
8559 2000-01-09 Nick Clifton <nickc@cygnus.com>
8561 * config/arm/arm.c: Fix compile time warnings about signed vs
8563 * config/arm/arm.h: Fix compile time warnings about signed vs
8566 2000-01-09 Philip Blundell <philb@gnu.org>
8568 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
8569 than `ldm' with only one register.
8570 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
8573 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
8576 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
8578 * config/ns32k/ns32k.md (load or push effective address): Operand 1
8581 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8583 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
8584 assignment used as truth value.
8586 * function.c (assign_temp): Mark parameter `dont_promote' with
8587 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
8588 PROMOTE_FOR_CALL_ONLY.
8590 * genrecog.c (write_subroutine): Mark variable `operands' with
8593 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
8596 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
8597 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
8599 * toplev.c (note_deferral_of_defined_inline_function): Likewise
8602 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8604 * config/c4x.h: Tidy up comments.
8605 * config/c4x.c: Likewise.
8607 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
8609 * fold-const.c (lshift_double, rshift_double): Handle
8610 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
8612 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8614 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
8615 in prepare_function_start().
8617 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
8619 * config/v850/v850.c (expand_epilogue): Interrupt functions no
8620 longer allocate extra stack for function calls.
8622 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8624 * config/c4x/c4x.md (*subqf3_set): Fix typo.
8626 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8628 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
8630 2000-01-07 David Edelsohn <edelsohn@gnu.org>
8632 * rs6000.c (processor_target_table): Add power3 as alias for 630.
8633 * aix43.h: Revert Aug 2 change.
8634 (HAS_INIT_SECTION): Define, not visible yet.
8635 (LD_INIT_SWITCH): Define, not visible yet.
8636 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8638 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
8640 * collect2.c (main): Expand ld2 size further.
8641 (export_object_lst): Cast assignment to avoid warning.
8642 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
8643 (scan_prog_file, COFF): Do not collect initialization or
8644 finalization functions generated for entire shared object if
8645 init/fini support present.
8647 2000-01-07 Nick Clifton <nickc@cygnus.com>
8649 * config/elfos.h: Tidy up formatting of marcos. Make sure
8650 that .section directives are always prefixed by a tab.
8652 * config/svr4.h: Add #include "elfos.h" and remove duplicate
8655 2000-01-07 Matt Austern <austern@sgi.com>
8657 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
8660 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
8662 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
8664 (crtbegin.o, s-crtS): Likewise.
8666 2000-01-06 Richard Henderson <rth@cygnus.com>
8668 * alpha.md (adddi_2+1): Limit offset such that it will be
8669 loadable with a single ldah+lda pair.
8670 (adddi_2+2): Explicitly fail split if we can't make it work.
8672 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
8674 * protoize.c: Conditionally include unistd.h.
8675 (IS_SAME_PATH_CHAR): New macro.
8676 (IS_SAME_PATH): New macro.
8677 (CPLUS_FILE_SUFFIX): New macro.
8678 (cplus_suffix): New static variable.
8679 (is_abspath): New static function.
8680 (in_system_include_dir): Handle DOS style pathnames.
8681 (file_could_be_converted): Likewise.
8682 (file_normally_convertible): Likewise.
8683 (directory_specified_p): Likewise.
8684 (file_excluded_p): Likewise.
8685 (abspath): Likewise.
8686 (shortpath): Likewise.
8687 (referenced_file_is_newer): Likewise.
8688 (save_def_or_dec): Likewise.
8689 (do_processing): Likewise.
8691 (edit_file): Likewise. Use rename instead of link.
8692 (rename_c_file): Likewise. Don't rename syscalls file.
8693 (munge_compile_params): Define null device for DOS based systems.
8694 (process_aux_info_file): Use binary mode if appliable.
8695 (edit_file): Likewise.
8696 * invoke.texi (Running Protoize): Document C++ suffixes used.
8698 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
8699 IS_DIR_SEPARATOR macros.
8700 * collect2.c: Likewise.
8701 * cppinit.c: Likewise.
8702 * dwarf2out.c: Likewise.
8705 * prefix.c: Likewise.
8707 * toplev.c: Likewise.
8708 * system.h: And move to here.
8710 * prefix.c (update_path): Fix typo in variable name.
8712 2000-01-06 Richard Henderson <rth@cygnus.com>
8714 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
8715 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
8716 (count_reg_sets_1, count_reg_references): Likewise.
8717 (flow_loops_level_compute): Start counting actual loop depth at 1.
8718 (flow_loops_find): Likewise.
8719 * local-alloc.c (update_equiv_regs): Likewise.
8720 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
8722 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8724 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
8725 FIRST_PSEUDO_REGISTER
8726 * dwarf2out.c: Don't include frame.h
8727 * dwarfout.c: Likewise
8728 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
8731 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
8733 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8736 * i386.c (movsf splitter): Fix typo in my last checkin.
8738 2000-01-05 Nick Clifton <nickc@cygnus.com>
8740 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
8741 own definition of this macro.
8742 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
8743 flag_data_sections or UNIQUE_SECTION_P are true.
8745 * tm.texi (UNIQUE_SECTION): Document that it can be called for
8746 unitialised data decls.
8748 * config/i386/winnt.c (i386_pe_unique_section): Cope with
8749 being called for uninitialised data.
8751 * config/i386/interix.c (i386_pe_unique_section): Cope with
8752 being called for uninitialised data.
8754 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
8755 for uninitialised data.
8757 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
8758 for uninitialised data.
8760 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
8761 for uninitialised data.
8763 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
8764 (UNIQUE_SECTION_P): Always generate a unique section if
8765 flag_data_sections is true.
8766 (UNIQUE_SECTION): Also generate unique sections for
8768 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
8769 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
8772 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8774 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
8777 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8779 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
8780 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
8781 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
8782 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
8783 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
8785 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
8787 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
8789 * c-decl.c (finish_enum): Simplify code to determine minimum and
8790 maximum values of the enum, and calculate the type. Remove check
8791 for FUNCTION_DECLs in the values list, which cannot happen. Replace
8792 the DECL_INITIAL of each enumeration constant with a copy converted
8793 to the enumeration type. When updating variant types, don't bother
8794 updating the type itself.
8796 * c-typeck.c (build_binary_op): Simplify conditional expressions
8797 when weeding out spurious signed-unsigned warnings. Add new
8798 spurious warning category: if the unsigned quantity is an enum
8799 and its maximum value fits in signed_type(result_type). Update
8801 (build_conditional_expr): Warn here if one alternative is signed
8802 and the other is unsigned.
8804 2000-01-05 Nick Clifton <nickc@cygnus.com>
8806 * config/fr30/fr30.h: Remove extraneous comments.
8808 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
8810 * reload1.c (choose_reload_regs): When disabling a reload, also
8811 set reload_spill_index to -1.
8813 2000-01-04 Joel Sherrill (joel@OARcorp.com>
8815 * configure.in (m68*-*-rtemscoff*): New target, formal name for
8817 (m68*-*-rtemself*): New target.
8818 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
8819 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
8820 (sparc*-*-rtemself*): New target.
8821 (sparc*-*-rtems*): Now elf not a.out.
8822 * config/i386/rtems.h: Include config/rtems.h.
8823 * config/i386/rtemself.h: Include config/rtems.h.
8824 * config/i960/rtems.h: Include config/rtems.h.
8825 * config/m68k/rtems.h: Include config/rtems.h.
8826 * config/m68k/rtemself.h: Include config/rtems.h.
8827 * config/mips/rtems64.h: Include config/rtems.h.
8828 * config/pa/rtems.h: Include config/rtems.h.
8829 * config/rs6000/rtems.h: Include config/rtems.h.
8830 * config/sh/rtems.h: Include config/rtems.h.
8831 * config/sh/rtemself.h: Include config/rtems.h.
8832 * config/sparc/rtems.h: Include config/rtems.h.
8833 * config/sparc/rtemself.h: Include config/rtems.h
8835 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
8837 * final.c (shorten_branches): Correctly compute length of
8838 asms without operands.
8840 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
8842 * configure.in: Add pj target.
8843 * configure: Regenerate.
8844 * config/pj: New directory.
8845 * config/pj/lib1funcs.S: New file.
8846 * config/pj/linux.h: New file.
8847 * config/pj/pj.c: New file.
8848 * config/pj/pj.md: New file.
8849 * config/pj/pjl.h: New file.
8850 * config/pj/t-pj: New file.
8851 * config/pj/xm-pj.h: New file
8853 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
8855 * toplev.c (rest_of_compilation): Run shorten-branches before
8858 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8860 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
8861 macros so that they're consistent with their names.
8862 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8863 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8865 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8867 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
8868 modified inadvertently.
8870 2000-01-04 Joel Sherrill <joel@OARcorp.com>
8872 * configure.in (v850*-*-rtems*): New target.
8873 * configure: Regenerate.
8874 * config/v850/rtems.h: New file.
8876 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
8878 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
8879 (__gthread_key_create): Likewise.
8880 (__gthread_key_dtor): Likewise.
8881 (__gthread_once): Fix logic.
8882 (__gthread_key_delete): Cast away constness.
8884 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
8885 * invoke.texi: Document.
8886 * i386/mingw32.h (CPP_SPEC): Use.
8887 (LIBGCC_SPEC): Likewise.
8888 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
8890 2000-01-04 David Edelsohn <edelsohn@gnu.org>
8892 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
8893 (HANDLE_PRAGMA_PACK): Undefine.
8894 (SLOW_UNALIGNED_ACCESS): Define.
8896 2000-01-04 David Edelsohn <edelsohn@gnu.org>
8898 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8899 to default definition.
8900 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
8901 (store_fixed_bit_field): Call macro with word_mode and alignment.
8902 (extract_bit_field): Call macro with relevant mode and alignment.
8903 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8904 to default definition.
8905 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
8907 (move_by_pieces_ninsns): Likewise.
8908 (clear_by_pieces): Likewise.
8909 (emit_push_insn): Likewise.
8910 (store_field): Call macro with relevant mode and alignment.
8911 (expand_expr): Likewise.
8912 (expand_expr_unaligned): Likewise.
8914 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8915 (SLOW_UNALIGNED_ACCESS): Define.
8916 (CASE_VECTOR_MODE): Always use 32-bit offsets.
8917 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8918 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8919 (toc_section): Likewise and .toc pseudo-op.
8920 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
8922 (TEXT_SECTION_ASM_OP): Likewise.
8923 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8926 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
8927 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
8928 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
8929 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
8930 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
8932 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
8934 * regclass.c: Revert my Jan 4 change to loop cost computation.
8936 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
8938 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
8941 2000-01-04 Stan Cox <scox@cygnus.com>
8943 * haifa-sched.c (build_control_flow): Change unreachable simple
8944 loop test to check if current block has only one predecessor.
8945 (find_rgns): Initialize degree. Use dest as degree index, not src.
8947 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8949 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
8951 * calls.c (expand_call): Likewise for
8952 `old_stack_arg_under_construction'.
8954 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
8956 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
8959 * gcc.c (execute): Likewise for `ut' and `st'.
8961 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
8963 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
8965 * jump.c (jump_optimize_1): Likewise for `temp2'.
8967 * local-alloc.c (block_alloc): Likewise for `r1'.
8969 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
8971 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
8972 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
8974 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
8977 * reload.c (find_reloads): Likewise for `goal_alternative_number'
8978 and `goal_earlyclobber'.
8980 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
8982 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
8984 * stupid.c (stupid_life_analysis): Likewise for `chain'.
8986 * unroll.c (copy_loop_body): Likewise for `copy'.
8988 * varasm.c (output_constructor): Likewise for `byte'.
8990 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
8992 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
8993 all FP constants for constant->reg moves.
8994 (ix86_split_to_parts): Try to convert memory address into immediate
8995 when available in the constant pool.
8996 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
8998 (LEGITIMATE_CONSTANT_P): Return 1.
8999 * i386.md (pushsf): New splitter to convert constant pool memory
9000 reference to immediate.
9001 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
9004 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
9006 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
9007 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
9008 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
9009 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
9010 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
9012 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
9014 * ginclude/stdbool.h: Support compilation as C++.
9016 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9018 * fold-const.c (make_range): Don't try to reverse an unbounded range.
9020 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
9022 * regclass.c (regclass): Properly compute loop_cost. Adjust
9025 * regclass.c: Fix minor whitespace problems.
9027 2000-01-03 Anthony Green <green@cygnus.com>
9029 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
9030 Restore the pic register if required.
9032 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
9034 * c-common.c (format_char_info): Update comment.
9035 (check_format_info): Recognize 'z' modifier in the same way 'Z'
9036 was recognized. Emit warning for formats new in ISO C99 only
9037 if flag_isoc9x is not set.
9039 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
9041 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
9043 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
9045 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
9046 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
9047 (make_compound_operation): Choose cheaper alternative between
9048 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
9050 * regclass.c (op_costs): Remove global variable.
9051 (record_reg_classes): New parameter "op_costs" and "reg_pref".
9052 (record_operand_costs): Break out from ...
9053 (scan_one_insn): ... here.
9054 (dump_regclass): Make dumps nicer.
9055 (regclass): Dump preferrences choosed and changes done during passes.
9057 2000-01-03 Jakub Jelinek <jakub@redhat.com>
9059 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
9061 2000-01-03 Jakub Jelinek <jakub@redhat.com>
9063 * config/sparc/sparc.c (gen_df_reg): New function.
9064 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
9065 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
9066 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
9067 movtf_cc_reg_sp64+1): Use it.
9069 2000-01-02 Mark Mitchell <mark@codesourcery.com>
9071 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
9074 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
9076 * config/i386/i386.c (ix86_expand_unary_operator): Function
9077 definition made void.
9078 (ix86_expand_binary_operator): Update outdated preceding comment.
9079 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
9082 * config/i386/i386.c (override_options): Fix option-name typo.
9084 2000-01-02 Mark Mitchell <mark@codesourcery.com>
9086 * system.h (CEIL): Define.
9087 * builtins.c (CEIL): Remove.
9088 * expmed.c (CEIL): Likewise.
9089 * expr.c (CEIL): Likewise.
9090 * stor-layout.c (CEIL): Likewise.
9092 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9094 * expr.c (store_constructor_field): Fix typo introduced with last
9097 2000-01-01 Mark Mitchell <mark@codesourcery.com>
9099 * tree.h (BINFO_N_BASETYPES): New macro.
9101 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
9103 * expmed.c (emit_store_flag): Prevent losing a pending stack
9104 adjust the same way we prevent losing queued increments.
9106 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9108 * function.c (update_temp_slot_address): Handle case where sum of
9109 temporary address plus offset in register is a valid address.
9111 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9113 * genrecog.c (change_state) Corrected typo.
9115 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9117 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
9118 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
9119 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
9121 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
9123 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
9124 case, expand GT comparisons correctly. Fix a comment before this
9127 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
9129 * dwarfout.c: Include "frame.h"
9130 * dwarf2out.c: Likewise.
9131 * Makefile.in (dwarfout.o): Depend on frame.h
9132 (dwarf2out.o): Likewise.
9134 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
9136 Restore i386 binary compatibility in Dwarf EH info.
9137 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
9138 value of FIRST_PSEUDO_REGISTER.
9139 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
9140 (struct frame_state): Use DWARF_FRAME_REGISTERS.
9141 * dwarfout.c (output_reg_number): Ditto.
9142 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
9143 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
9145 1999-12-29 Bruce Korb <autogen@linuxbox.com>
9147 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
9148 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
9149 (<hack>_RE_CT): not needed
9150 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
9151 rewritten to scan the file text once only
9152 "template<..." test added
9153 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
9154 (is_cxx_header): declaration added
9155 * fixinc/fixtests.c(is_cxx_header): removed
9156 (apply_fix_p_t): removed
9157 (double_slash_test): is_cxx_header is only called once now
9158 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
9159 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
9160 within the templates.
9161 The borken spelling of "broken" was fixed.
9162 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
9163 The default level depends on FIXINC_DEBUG.
9165 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9167 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
9168 Otherwise provide a declaration for atexit.
9169 (init_dummy): Make sure dummy call to atexit is nevertheless
9170 called with correct number of args.
9172 * frame.c: Update comments referring to other files.
9174 * libgcc2.c: Likewise.
9176 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9178 * cse.c (free_element, get_element): Remove unused prototypes.
9180 * fold-const.c (extract_muldiv): Initialize variables `op0' and
9183 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
9186 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
9188 * configure.in,configure: case arm for mn10200-*-* now sets
9189 float_format=i32 so that float.h will correctly claim "double"
9190 to be 32 bits. Ran autoconf to generate configure from .in file.
9192 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
9194 * pa.md (conditional zero): If op1 is a register, force it into
9195 the same register as op0.
9197 1999-12-28 Mark Mitchell <mark@codesourcery.com>
9199 * tree.h (BINFO_BASETYPES): Improve documentation.
9201 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9203 * configure.in (--enable-checking): Use a more portable `for'
9206 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9208 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
9209 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
9211 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
9214 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
9215 Delete descriptions.
9217 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
9218 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
9219 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
9220 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
9221 xm-svr4.h: Remove all instances of sys_siglist handling.
9223 1999-12-27 Jakub Jelinek <jakub@redhat.com>
9225 * config/sparc/sparc.md (cmp_zero_qi,
9226 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
9227 cmp_zero_extendqidi2_andcc_set): New patterns.
9229 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
9231 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
9232 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
9233 (fpgnulib.c, xfgnulib.c): Add rules.
9234 * m68k/t-mot3300-gas: Likewise.
9236 1999-12-27 Ian Lance Taylor <ian@zembu.com>
9238 * configure.in: Avoid [[ by using test and changequote. Add
9239 changequote required by 1999-12-14 change.
9240 * configure: Rebuild.
9242 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
9244 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
9246 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
9248 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
9249 * flow.c (find_use_as_address): Likewise.
9250 * function.c (fixup_var_refs_1): Likewise.
9251 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
9252 * jump.c (invert_exp, redirect_exp): Likewise.
9253 * loop.c (replace_call_address): Likewise.
9254 (count_nonfixed_reads): Likewise.
9255 * rtlanal.c (modified_between_p): Likewise.
9256 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
9257 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
9258 * unroll.c (remap_split_bivs): Likewise.
9260 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9262 * diagnostic.c (v_message_with_decl): Use .* format specifier
9263 instead of building the format specifier width manually.
9265 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
9266 determining whether to provide a prototype. Remove the
9267 sys_siglist clause in the conditional.
9269 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9271 * fold-const.c (operand_equal_p): Use memcmp to compare string
9273 Suggested by D. J. Bernstein
9275 1999-12-17 Jakub Jelinek <jakub@redhat.com>
9277 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
9278 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
9280 * config/mips/mips.h (TARGET_64BIT): Likewise.
9281 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
9282 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
9283 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
9284 dsps. Give routines proper names if SI/DI modes are not used.
9285 * longlong.h: Use DWunion instead of DIunion.
9287 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
9289 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
9290 GC_CHECKING, GC_ALWAYS_COLLECT.
9291 * configure.in: Allow --enable-checking with an argument
9292 listing check modes to enable.
9293 * config.in, configure: Rebuilt.
9294 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
9295 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
9296 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
9297 ENABLE_GC_ALWAYS_COLLECT.
9298 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
9300 * tree.h, tree.c: Change ENABLE_CHECKING to
9301 ENABLE_TREE_CHECKING throughout.
9303 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9305 * fold-const.c (fold_truthop): Properly check for FP RHS.
9307 1999-12-24 Mark Mitchell <mark@codesourcery.com>
9309 * toplev.h (note_deferall_of_defined_inline_function): Declare.
9310 * toplev.c (note_deferral_of_defined_inline_function): New
9311 function, split out from ...
9312 (rest_of_compilation): ... here. Use it.
9314 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9316 * expr.c (store_constructor): Don't call clear_storage if size is
9319 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9321 * Makefile.in (toplev.o): Depend on loop.h.
9323 * dwarfout.c: Include tm_p.h.
9325 * emit-rtl.c (restore_emit_status): Mark parameter with
9328 * final.c (final_scan_insn): Likewise.
9330 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
9331 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
9332 flow_depth_first_order_compute, flow_loop_pre_header_find,
9333 flow_loop_tree_node_add, flow_loops_tree_build,
9334 flow_loop_level_compute, flow_loops_level_compute,
9335 flow_loop_outside_edge_p): Add prototypes.
9336 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
9338 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
9339 Mark with ATTRIBUTE_NORETURN.
9341 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
9343 * local-alloc.c (no_conflict_p): Likewise.
9345 * loop.c (insert_bct): Hide definitions of variables with hidden
9347 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
9349 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
9350 with ATTRIBUTE_UNUSED.
9351 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
9352 (reg_scan): Likewise.
9354 * reload.c (find_reloads): Remove unused variables `changed'.
9356 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
9358 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
9359 Remove unused variable `insn'.
9361 * toplev.c: Include loop.h.
9362 (report_file_and_line): Remove unnecessary prototype.
9364 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
9366 * unroll.c (biv_total_increment): Likewise.
9368 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9370 * reload1.c (emit_input_reload_insns): Restore old behaviour
9371 wrt. 'special' reloads.
9373 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
9375 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
9376 hash.h. (cse.c): Don't depend on hashtab.h.
9378 * cse.c: Don't include hashtab.h.
9379 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
9381 * ggc-simple.c: Don't include hash.h.
9383 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
9385 * dwarf2out.c (add_abstract_origin_attribute): Call
9386 gen_abstract_function on our function context.
9388 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
9390 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
9392 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9394 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
9397 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9399 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
9400 constraints to "a!r".
9402 1999-12-21 Mark Mitchell <mark@codesourcery.com>
9404 * Makefile.in (calls.o): Depend on function.h.
9405 (alias.o): Likewise.
9407 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
9409 * reload1.c (emit_reload_insns): Break out code and variables into...
9410 (input_reload_insns, other_input_address_reload_insns,
9411 other_input_reload_insns, input_address_reload_insns,
9412 inpaddr_address_reload_insns, output_reload_insns,
9413 output_address_reload_insns, outaddr_address_reload_insns,
9414 operand_reload_insns, other_operand_reload_insns,
9415 other_output_reload_insns): ... new static variables, and...
9416 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
9417 do_output_reload): ... new functions.
9419 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9421 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
9423 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9425 * md.texi: Add c4x constraints documentation.
9427 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9429 * config/i386/dgux.c (struct option): Rename to
9430 lang_independent_option.
9431 (struct m_options): Add description field.
9432 (output_options): Rename option type, add sep declaration, output
9433 ix86_cpu_string and ix86_arch_string only if set.
9434 (output_file_start): Rename option type.
9436 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
9438 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
9440 (libgcc2.a): Similarly.
9442 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
9444 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
9445 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
9446 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
9448 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
9450 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
9451 Remove redundant initialization of "frexpon" and "expon".
9453 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9455 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
9457 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
9458 (store_constructor_field, expand_expr): Pass new arg.
9460 1999-12-20 Mark Mitchell <mark@codesourcery.com>
9462 * Makefile.in (explow.o): Depend on function.h.
9464 * stor-layout.c (set_sizetype): Fix typo.
9466 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
9468 * function.c (cfun): Renamed from current_function. All users
9470 * function.h (cfun): Rename declaration as well.
9472 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
9473 to be of type regset_head, not regset. All users changed by adding
9475 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
9477 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9479 * config/c4x/rtems.h: New file.
9481 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
9483 * reload1.c (spill_failure): Take class of failed reload as argument
9484 and print it. Caller changed.
9486 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9488 * rs6000.h (SUBTARGET_DEFAULT): New macro.
9489 (TARGET_SWITCHES): Allow subtargets to default switches.
9490 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
9492 1999-12-18 Mark Mitchell <mark@codesourcery.com>
9494 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
9497 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
9499 * cccp.c (main): Define __STDC_VERSION__ as necessary.
9500 * cppinit.c (cpp_handle_option): Likewise.
9502 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
9503 determine when to define.
9505 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
9507 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
9508 cmove with mismatched test and data modes.
9510 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
9512 * c-typeck.c (c_expand_start_case): Don't warn for long switch
9515 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9517 * alias.c: Minor reformatting.
9520 * stor-layout.c: Likewise.
9521 * fold-const.c: Likewise.
9522 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
9523 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
9525 (size_int_wide): Cache nodes even if garbage collecting.
9526 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
9527 of SAVE_EXPR has no side effects.
9528 * cse.c: Move a comment.
9529 * tree.c: Minor reformatting.
9530 (int_size_in_bytes): Return -1 if constant overflows.
9532 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9534 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
9536 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
9538 * objc/objc-parse.c: Regenerate. This file must be rebuilt
9539 after any change to c-parse.in, even if objc-parse.y didn't
9542 1999-12-18 David S. Miller <davem@redhat.com>
9544 * toplev.c (rest_of_compilation): Restore BLOCK tree
9545 reconstruction and branch shortening changes lost in
9546 December 18th change.
9548 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
9550 * config/arm/linux-elf.h: Change all instances of
9551 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
9552 * config/arm/uclinux-elf.h: Likewise.
9554 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
9556 * toplev.c (notice, vmessage, v_message_with_file_and_line,
9557 v_message_with_decl, file_and_line_for_asm,
9558 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
9559 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
9560 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
9561 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
9562 pfatal_with_name, fatal_io_error, need_error_newline,
9563 last_error_function, last_error_tick, announce_function,
9564 default_print_error_function, print_error_function,
9565 report_error_function, fnotice, error_with_file_and_line,
9566 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
9567 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
9568 warning_with_decl, warning_for_asm, warning, pedwarn,
9569 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
9571 (compile_file): Use fnotice instead of notice. Adjust call.
9573 * diagnostic.c: New file.
9575 * Makefile.in (OBJS): Include diagnostic.o
9576 (diagnostic.o): Define dependence.
9578 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9580 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
9583 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9585 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
9587 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
9589 * fixtests.c (is_cxx_header): New fn, split out of
9591 (else_endif_label): Allow "#endif // comment" in C++ headers,
9592 as determined by is_cxx_header.
9593 * fixfixes.c (else_endif_label_fix): Update comment.
9594 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
9596 * genfixes: Correct double thinko in commandline parsing.
9597 * hackshell.tpl: Generate correct sh syntax for bypass
9600 * inclhack.def (all): Whenever an inserted preprocessor
9601 conditional is split over multiple lines, use double
9602 backslashes in this file so the fixed header will be readable.
9604 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
9605 and add bypass entry for correct version of this header.
9606 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
9607 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
9609 (hpux8_bogus_inlines): New fix, split from...
9610 (ultrix_atof_param) ... here.
9611 (math_expression): Add bypass entry keyed to glibc comment
9612 indicating the problem has been dealt with; disable
9613 unnecessary sed operations; update commentary.
9614 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
9615 add select and bypass entries, simplify shell operation.
9616 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
9618 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
9619 ultrix_atof_param): Add select entry.
9620 (stdio_va_list, sunos_mather_decl): Add bypass entry.
9621 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
9622 comments with the fixes they describe.
9624 * c-parse.in (string action): Do not warn about ANSI string
9625 concatenation in system headers. Affects C parser only.
9626 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
9628 1999-12-16 Jakub Jelinek <jakub@redhat.com>
9630 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
9631 compiling libgcc2 the macro depends always on arch cpp defines.
9633 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
9635 * loop.c (insert_loop_mem): Don't record MEMs from inside
9638 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
9640 * regclass.c (regclass): Do not use flowgraph when not optimizing.
9642 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
9643 notes too, create one when replacement failed, attempt to simplify
9645 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
9648 1999-12-16 Mark Mitchell <mark@codesourcery.com>
9650 * crtstuff.c (__dso_handle): Declare.
9651 (__cxa_finalize): Likewise.
9652 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
9655 * invoke.texi: Document -fuse-cxa-atexit.
9657 * tree.h (ptr_type_node): Document.
9658 (const_ptr_type_node): Likewise.
9660 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9662 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
9663 (optimize_reg_copy_2): Likewise.
9664 (optimize_reg_copy_3): Likewise.
9665 (fixup_match_2): Likewise.
9666 (regmove_optimize): Likewise.
9667 (fixup_match_1): Liekwise.
9669 * i386.md (HI to SImode promoting splitters): Rewrite.
9670 (pushsf mem peep2): New.
9671 (testhi to andhi peep2): Remove.
9672 * i386.h (x86_promote_QImode): New.
9673 (TARGET_PROMOTE_QImode): New.
9674 (PREDICATE_CODES): Add promotable_binary_operator.
9675 * i386.c (x86_promote_QImode0: New.
9676 (promotable_binary_operator): New.
9677 * i386-protos.h (promotable_binary_operator): New.
9679 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
9681 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
9683 1999-12-16 Mark Mitchell <mark@codesourcery.com>
9685 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
9686 * function.c (insert_block_after_note): Remove.
9687 (retrofit_block): Likewise.
9688 (identify_blocks): Fix indentation.
9689 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
9690 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
9691 * function.h (insert_block_after_note): Remove prototype.
9692 (retrofit_block): Likewise.
9693 * integrate.c (expand_inline_function): Don't call
9694 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
9695 just expand_start_bindings. Use the block_map to remap old
9696 NOTE_BLOCKs to new ones.
9697 (integrate_decl_tree): Keep track of remapped blocks.
9698 * integrate.h (struct inline_remap): Add block_map.
9699 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
9700 NOTE_BLOCK on the notes.
9701 (expand_start_bindings): Rename to ...
9702 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
9703 (expand_end_bindings): Set NOTE_BLOCK.
9704 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
9705 reconstruct the BLOCK tree.
9706 * tree.h (expand_start_bindings): Macroize. Call ...
9707 (expand_start_bindings_and_block): New function.
9709 1999-12-16 Jakub Jelinek <jakub@redhat.com>
9711 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
9712 to match the format.
9714 1999-12-16 David S. Miller <davem@redhat.com>
9716 * expr.c (emit_move_insn_1): Only emit clobbers if one of
9717 the outputs is a SUBREG.
9718 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
9721 * config/sparc/sparc.c (epilogue_renumber): Add default case
9724 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9726 * toplev.c (rest_of_compilation): Run branch shortening after
9729 * regclass.c (loop_depth): Remove
9730 (scan_one_insn): Do not handle LOOP_NOTE insns.
9731 (regclass): Go through basic blocks and set loop_cost
9733 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
9735 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
9737 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9739 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
9740 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
9741 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
9743 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
9745 * loop.c (insert_loop_mem): Ignore memory clobbers.
9747 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
9750 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
9752 * profile.c: Remove redundant #include "output.h".
9754 * h8300.md (HImode preinc peephole): Fix typo.
9756 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
9758 * function.c (retrofit_block): Abort if we don't find a suitable insn.
9759 (insert_block_after_note): Abort if we don't have a previous block.
9760 Remove FN parameter.
9761 * function.h: Adjust.
9763 1999-12-15 Mark Mitchell <mark@codesourcery.com>
9765 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
9766 argument more than once.
9768 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
9770 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
9772 1999-12-15 Jakub Jelinek <jakub@redhat.com>
9774 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
9776 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9778 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
9779 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
9780 update stack_alignment_needed.
9781 (prepare_function_start): Initialize stack_alignment_needed
9782 * function.h (struct function): Add field stack_alignment_needed.
9784 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9786 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
9787 Handle live_throughout / dead_or_set instead of live_before /
9789 (save_call_clobbered_regs): Get register livenessinformation from
9790 chain->live_throughout.
9791 (add_stored_regs): New function.
9792 (insert_restore, insert_save): Add restored / saved registers to
9794 * global.c (reg_dies): New parameter chain.
9795 (reg_becomes_live): Third parameter is regs_set now.
9796 Changed all callers.
9797 (reg_dies): New parameter chain. Changed all callers.
9798 (build_insn_chain): Set live_throughout instead of
9799 live_before / live_after.
9800 * reload.h (struct insn_chain): Replace members live_before /
9801 live_after with live_throughout / dead_or_set.
9802 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
9803 instead of live_before / live_after.
9804 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
9805 (order_regs_for_reload, find_reg, finish_spills): Likewise.
9806 (choose_reload_regs_init): Likewise.
9807 * stupid.c (current_chain, find_clobbered_regs): Delete.
9808 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
9809 instead of chain->live_before / chain->live_after.
9810 (mark_hard_ref): New function.
9811 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
9813 1999-12-15 David S. Miller <davem@redhat.com>
9815 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
9817 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9819 * flow.c (calculate_loop_depth): Make global, remove prototype,
9820 rewrite to use new loop infrastructure.
9821 (find_basic_block): Remove calculate_loop_depth call.
9822 * toplev.c (rest_of_compilation): Call find_basic_block.
9823 * output.h (calculate_loop_depth): Declare.
9825 * flow.c (dump_flow_info): Dump loop_depth.
9826 (flow_loops_nodes_find): Increase loop_depth for basic block in the
9828 (flow_loops_find): Initialize the loop_depth for each basic block.
9830 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
9832 * tree.c (decl_function_context): Handle virtual functions.
9834 * tlink.c (scan_linker_output): Don't look in demangled name when
9835 looking for linker output keywords.
9837 * dwarfout.c (output_type): We can defer namespace-scope classes.
9839 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
9841 * regclass.c (record_reg_classes): Update comment for merging
9842 register class preferences in reg->reg copies. Tighten conditions
9843 for merging register class preferences in reg->reg copies.
9845 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
9847 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
9849 1999-12-14 Geoff Keating <geoffk@cygnus.com>
9851 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
9852 (INIT_SECTION_ASM_OP): Delete.
9853 (FINI_SECTION_ASM_OP): Delete.
9854 (STARTFILE_SPEC): Define to hold just crtbegin.o.
9856 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
9858 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
9859 the abstract origin wasn't emitted.
9861 * dwarf2out.c (class_scope_p): New fn.
9862 (gen_subprogram_die): Use it.
9863 (gen_variable_die): Use it. Tweak logic.
9864 (gen_struct_or_union_type_die): Check context_die to determine
9865 if we're function-local.
9866 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
9868 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
9870 * loop.c (check_dbra_loop): Can't reverse a biv that has
9873 1999-12-14 Nick Clifton <nickc@cygnus.com>
9875 * config/arm/arm.c: Add support for -mcpu=arm720 command line
9878 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9880 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
9881 for givs made from biv increments.
9883 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
9885 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
9886 * alpha.c (override_options): Recognize -mcpu=ev67.
9887 * alpha.h (CPP_CPU_EV67_SPEC): New.
9888 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
9889 (EXTRA_SPECS): Update.
9891 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
9893 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
9894 appropriate for -lang-c89 and -std=*.
9895 * cppinit.c (cpp_handle_option): Likewise.
9896 (new_pending_define): New, split out from cpp_handle_option.
9897 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
9898 or enable trigraphs for -ansi/-std=*.
9900 * ginclude/stdarg.h (__va_copy): New.
9901 (va_copy): Don't define for C89.
9903 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
9905 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
9906 for long long multiply-accumulate.
9908 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9910 * regclass.c (scan_one_insn): Set loop_cost to 1 when
9911 optimizing for size.
9913 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
9915 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
9916 if something changed. Back out that part of yesterday's changes.
9918 * loop.c (loop_max_reg): New static variable.
9919 (loop_optimize): Initialize it. Eliminate one unnecessary call to
9921 (scan_loop): Call reg_scan_update whenever we may have added new
9922 registers, and update loop_max_reg.
9924 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9926 * regclass.c (record_reg_classes): Do not do the copying preferrencing
9927 when source does not die.
9929 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
9931 1999-12-14 Jakub Jelinek <jakub@redhat.com>
9933 * config/sparc/linux64.h (TARGET_LIVE_G0,
9934 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
9936 * config/sparc/linux.h (TARGET_LIVE_G0,
9937 TARGET_BROKEN_SAVERESTORE): Likewise.
9938 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9939 TARGET_BROKEN_SAVERESTORE): Likewise.
9941 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
9942 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
9944 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
9945 as sparc64 block profiling register.
9946 * config/sparc/sparc.c (sparc_override_options): Allow block
9947 profiling with -m32.
9948 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
9950 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
9951 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
9952 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
9954 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
9956 * config/sparc/sparc.h: Likewise.
9957 * config/sparc/xm-sysv4-64.h: Likewise.
9958 * config/float-sparc.h: Likewise.
9959 * glimits.h: Likewise.
9960 * longlong.h: Likewise.
9962 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
9963 (ASM_IDENTIFY_GCC): Remove.
9965 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
9967 * combine.c (combine_simplify_rtx): Don't make shared rtl.
9968 (simplify_logical): Likewise.
9970 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
9972 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
9973 * cppfiles.c (INO_T_EQ): Likewise.
9975 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
9977 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
9978 * i386/mingw32.h (LIB_SPEC): Likewise.
9979 (STARTFILE_SPEC): Likewise.
9980 * i386/uwin.h (LIB_SPEC): Likewise.
9981 (STARTFILE_SPEC): Likewise.
9983 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
9984 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
9986 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
9988 * combine.c (combine_simplify_rtx): Fix order of checks for
9989 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
9991 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
9993 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
9994 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
9996 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
9998 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
10000 * regclass.c (inv_reg_alloc_order): New array.
10001 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
10003 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
10004 counted_for_groups, counted_for_nongroups. Add fields rld and
10006 * reload.c (push_secondary_reload): Don't set nongroup field of
10008 (push_reload): Likewise.
10009 (find_reloads): Delete code to compute nongroup fields.
10010 * reload1.c (reload_insn_firstobj): New static variable.
10011 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
10013 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
10014 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
10015 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
10017 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
10019 (struct hard_reg_n_uses): Deleted.
10020 (potential_reload_regs): Deleted.
10021 (init_reload): Initialize spilled_pseudos and pseudos_counted.
10022 (reload): Don't try to allocate reload registers if we already know
10023 we have to make another pass. Call select_reload_regs. Free memory
10024 starting with reload_firstobj when starting another pass.
10025 Don't allocate spilled_pseudos.
10026 (calculate_needs_all_insns): Call copy_reloads for an insn that
10027 needs reloads; don't call calculate_needs.
10028 (spill_cost): New static array.
10029 (used_spill_regs_local): New static variable.
10030 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
10031 to compute potential_reload_regs.
10032 (find_reload_regs): Completely rewritten to use find_reg.
10033 (allocate_reload_reg): Don't test counted_for_groups or
10034 counted_for_nongroups. Lose NOERROR arg and code to give an error;
10035 all cllers changed.
10036 (choose_reload_regs): Add fallback code that uses the existing
10037 register allocation from find_reload_regs.
10039 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
10041 * flow.c (create_edge_list): Cast xmalloc return value.
10043 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
10045 * doprnt.c: Remove incorrect comment closure.
10047 * cse.c: Fix a few minor whitespace goofs.
10049 1999-12-13 Don Bowman <don@pixstream.com>
10051 * mips/vxworks.h: Fix problem with comment termination.
10052 (EXTRA_SECTIONS): Add in_sbss.
10053 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
10055 1999-12-12 David S. Miller <davem@redhat.com>
10057 * cse.c (struct cse_reg_info): Add hash_next member,
10058 reorder rest of struct for better packing on 64-bit
10060 (cse_reg_info_tree): Kill.
10061 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
10062 REGHASH_FN): New custom pow2 hash mechanism.
10064 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
10065 use a pow2 hash table.
10066 (get_cse_reg_info): Rework to use new REGHASH.
10067 (new_basic_block): Likewise, use HASH_SIZE, and inline
10069 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
10070 and inline free_element call.
10071 (lookup_as_function, insert, flush_hash_table, invalidate,
10072 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
10073 invalidate_for_call, use_related_value, find_comparison_args,
10074 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
10075 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
10076 get_element): Kill.
10078 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
10080 * cse.c (cse_basic_block): Free qty_table consistently.
10082 1999-12-12 David S. Miller <davem@redhat.com>
10083 Jakub Jelinek <jakub@redhat.com>
10085 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
10086 SUBREGs by hand, gen the appropriate hard reg directly.
10087 (movtf reg/mem split): Likewise and alter_subreg on destination
10089 (movtf mem/reg split): Similarly.
10090 (movdf_cc_sp64): Rename from hidden pattern.
10091 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
10092 (movtf_cc_sp64, following split): New pattern and splitter.
10093 (movdf_cc_reg_sp64): Rename from hidden pattern.
10094 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
10096 (movtf_cc_reg_sp64, following split): New pattern and splitter.
10098 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
10100 * loop.c (load_mems): Don't hoist written floating point mem
10103 1999-12-12 Mark Mitchell <mark@codesourcery.com>
10105 * except.h (struct eh_queue): Add `next' pointer.
10106 (struct eh_status): Make x_ehqueue a pointer.
10107 (push_ehqueue): Declare.
10108 (pop_ehqueue): Likewise.
10109 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
10111 (expand_fixup_region_end): Likewise.
10112 (expand_leftover_cleanups): Likewise.
10113 (push_ehqueue): Define.
10114 (pop_ehqueue): Likewise.
10115 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
10116 than doing it inline.
10117 (expand_start_all_catch): Adjust now that ehqueue is a
10119 (mark_eh_queue): Mark all level of the queue.
10120 (mark_eh_status): Adjust now that ehqueue is a
10122 (init_eh_for_function): Allocate ehqueue.
10123 (free_eh_status): Free it.
10124 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
10125 expansion for a fixup.
10127 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10129 * gthr-single.h (__gthread_active_p): Add prototype arguments.
10131 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
10132 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
10133 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
10134 function_ptr, getpagesize, __enable_execute_stack,
10135 __enable_execute_stack, __clear_insn_cache,
10136 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
10137 _cleanup, _exit, __default_terminate, __terminate_func,
10138 __terminate, __empty, __throw, new_eh_context,
10139 eh_context_initialize, eh_context_static, eh_context_specific,
10140 get_eh_context, __get_eh_context, __get_eh_info,
10141 init_reg_size_table, eh_threads_initialize,
10142 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
10143 __unwinding_cleanup, throw_helper, __throw, __rethrow,
10144 __pure_virtual): Add prototype arguments.
10145 (__bb_exit_func): Cast a sizeof to long when comparing against one.
10146 Cast a signed value to unsigned long when comparing against one.
10147 (new_eh_context): Wrap in _GTHREADS macro.
10148 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
10150 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
10151 (throw_helper): Initialize variables `handler_p' and `pc_p'.
10153 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10155 * combine.c (record_promoted_value): Remove unused variable
10158 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
10160 * global.c (record_conflicts): Likewise for `j'.
10162 * genoutput.c (output_insn_data): Don't unnecessarily cast away
10165 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10167 * i386-protos.h (output_387_binary_op, output_fix_trunc,
10168 output_fp_compare): Constify a char*.
10170 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
10172 (override_options, ix86_comp_type_attributes, print_operand,
10173 output_387_binary_op, output_fix_trunc, output_fp_compare):
10175 (ix86_sched_reorder): Mark parameter `clock_var' with
10178 * i386.h (DEBUG_PRINT_REG): Constify a char*.
10180 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
10182 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
10183 operand, for use in the Java front-end.
10185 1999-12-10 Ben Collins <bcollins@debian.org>
10187 * configure.in: Fix typo for "-64" in 64bit as check.
10188 * configure: Rebuilt.
10190 1999-12-10 Jakub Jelinek <jakub@redhat.com>
10192 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
10195 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10197 * c-parse.in (string): With -Wtraditional, warn if ANSI string
10198 concatenation is utilized.
10200 * invoke.texi (-Wtraditional): Document it.
10202 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10204 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
10205 Cast a ptrdiff_t to long and pass it to printf with %ld.
10207 1999-12-10 Geoff Keating <geoffk@cygnus.com>
10209 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
10210 68881, we have no 68881 registers at all.
10211 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
10212 value in a 68881 register if it is available.
10214 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
10216 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
10217 for long long multiply-accumulate.
10219 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
10221 * loop.c (insert_loop_mem): Undo last change.
10223 1999-12-10 David S. Miller <davem@redhat.com>
10225 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
10227 * config/sparc/sparc-protos.h: Add them.
10228 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
10229 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
10230 constraints which use those helpers.
10231 (EXTRA_CONSTRAINT): Use this new macro.
10232 * md.texi: Update sparc target constraints documentation.
10233 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
10234 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
10235 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
10236 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
10237 (movsf high/lo_sum split): Rework for new patterns.
10238 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
10240 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
10242 * c-common.c (c_common_nodes_and_builtins):
10243 Create __builtin_ptrdiff_t and __builtin_size_t.
10245 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
10247 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
10249 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10251 * regclass.c (globalize_reg): Re-instate test that allows
10252 fixed registers to be declared as a variable even after functions
10255 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10257 * i386.md (cpu attribute): Add "athlon".
10258 (athlon_decode): New attribute.
10259 (Athlon scheduling units definitions): New.
10260 (fcmp and shld patterns): Set athlon_decode to "vector".
10261 * i386.c (athlon_cost): New.
10263 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
10264 x86_use_sahf): Set for Athlon.
10265 (x86_use_fiop): Unset for Athlon.
10266 (override_options): Define Athlon alignments and "athlon" name.
10267 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
10268 * i386.h (TARGET_ATHLON): New.
10269 (enum processor_type): Add PROCESSOR_ATHLON.
10270 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
10272 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
10274 1999-12-09 Andreas Jaeger <aj@suse.de>
10276 * loop.c (record_biv): Declare parameter as int.
10278 * config/i386/i386-protos.h: Declare long_memory_operand.
10280 1999-12-09 Mark Mitchell <mark@codesourcery.com>
10282 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
10283 EXPR_WITH_FILE_LOCATION.
10285 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10287 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
10290 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
10292 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
10295 1999-12-09 Jakub Jelinek <jakub@redhat.com>
10297 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
10298 default on linux64 again.
10299 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
10300 models for multilibing.
10301 * genmultilib: Accept | as alternative separator within a set in
10304 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
10306 * calls.c (precompute_arguments): Make sure initial_value contains
10307 value pseudo which CSE expects.
10308 * cse.c (struct set): New entry orig_src.
10309 (cse_insn): Set it early on entry, use it for libcall EQUIV note
10312 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
10314 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
10316 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
10318 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
10320 1999-12-08 Jakub Jelinek <jakub@redhat.com>
10322 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
10323 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
10325 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
10328 * longlong.h: Merge in changes from glibc.
10329 Also don't clobber %g2 register in 32bit SPARC assembly, so that
10330 -mno-app-regs libgcc can be compiled.
10331 * libgcc2.c: Add defines so that the updated longlong.h
10332 can be used in libgcc2.a. Also, make sure on most architectures
10333 (at least on all which have optimized code in longlong.h defined
10334 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
10336 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10338 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
10339 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
10340 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
10342 * configure: Rebuilt.
10344 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
10346 * alpha.c (secondary_reload_class): For !BWX, sub-simode
10347 outputs require a register.
10349 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
10351 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
10352 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
10353 functions like dptoul will be resolved.
10354 (libgcc2.a): Make sure that the object files from DPBIT are named
10355 differently (prefix `_dp') from those that would be coming from
10358 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
10360 * configure.in: When target is sparc* and tm_file contains 64,
10361 test for 64bit support in assembler. If not supported, remove
10362 sparc/t-sol2-64 from target-dependent Makefile fragments.
10363 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
10364 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
10365 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
10366 * acconfig.h (AS_SPARC64_FLAG): Added.
10367 * configure, config.in: Rebuilt.
10368 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
10369 support. Use AS_SPARC64_FLAG.
10371 1999-12-07 Jakub Jelinek <jakub@redhat.com>
10373 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
10374 suitable for holding OFmode values so that gcc works with complex
10376 (hard_64bit_mode_classes): Likewise.
10378 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
10379 so that it is actually matched.
10380 (sethi_di_medlow): Likewise.
10382 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
10383 as legitimate constant if -mvis.
10384 * config/sparc/sparc.md (movtf): Likewise.
10385 (clear_sf): Use const_double_operand.
10386 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
10388 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
10389 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
10390 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
10391 routines, _Qp_* cannot be handled like that now.
10392 (INIT_TARGET_OPTABS): Likewise.
10393 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
10394 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
10395 sparc_emit_float_lib_cmp if ARCH64 and soft float.
10396 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
10397 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
10398 divtf3, sqrttf3): New expanders.
10399 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
10400 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
10401 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
10404 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
10405 * configure: Rebuilt.
10406 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
10407 -mcpu is given and we're doing 64bit compiles.
10409 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
10411 * loop.h (struct induction): Add multi_insn_incr.
10412 * loop.c (basic_induction_var): New multi_insn_incr argument.
10413 Set it if we search back through previous insns for the biv.
10414 (record_biv): New multi_insn_incr argument; fill in struct induction.
10415 (strength_reduce): Discard an iv with multiple bivs, any of
10416 which require multiple insns to increment.
10418 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10420 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
10423 1999-12-06 David S. Miller <davem@redhat.com>
10425 * combine.c (check_promoted_subreg): Do not conditionalize this upon
10426 PROMOTE_FUNCTION_RETURN.
10428 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
10430 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
10431 and handle REG_UNUSED note on insn.
10433 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
10434 inner_mask instead of mask.
10436 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
10438 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
10439 zero if there was an error.
10441 1999-12-06 Jakub Jelinek <jakub@redhat.com>
10443 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
10446 * longlong.h: Fix clobbers in SPARC asm statements.
10448 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
10449 valid sethi operations when TARGET_ARCH64.
10451 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
10452 always use move_by_pieces to avoid infinite recursion.
10453 (restore_fixed_argument_area): Likewise.
10455 * combine.c (check_promoted_subreg, record_promoted_value): New
10457 (combine_instructions): Use them to retain nonzero and sign bit
10458 information after SUBREGs are eliminated by optimizations in
10459 this pass if PROMOTE_FUNCTION_RETURN.
10461 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
10462 .register declaration. Don't use variables with __ prefixes.
10464 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10466 * fold-const.c (optimize_bit_field_compare): Only use one mode
10467 for both RHS and LHS in non-constant case.
10469 1999-12-06 Nathan Sidwell <nathan@acm.org>
10471 * frame.c (start_fde_sort): Only allocate erratic array, if
10472 linear one was allocated. Return allocated flag.
10473 (fde_insert): Only insert, if there's a valid array.
10474 (fde_end_sort): Split, sort and merge if linear and erratic
10475 arrays exist, else just sort linear one.
10476 (search_fdes): New function. Linear search through original fde
10478 (frame_init): Permit multiple initializations. Cope with
10480 (find_fde): Fallback on linear search, if failed to sort array.
10481 (__deregister_frame_info): Only free sorted array, if we
10484 1999-12-06 Jakub Jelinek <jakub@redhat.com>
10486 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
10488 1999-12-05 Jakub Jelinek <jakub@redhat.com>
10490 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
10492 1999-12-05 Mark Mitchell <mark@codesourcery.com>
10494 * tree.h (special_function_p): Declare.
10495 * calls.c (special_function_p): Make it global. Don't take `name'
10496 as a parameter. Fix typo in 1999-11-28 change.
10497 (expand_cal): Adjust.
10499 1999-12-04 Mark Mitchell <mark@codesourcery.com>
10501 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
10502 * tree.h (EXPR_WFL_FILENAME): Define in terms of
10503 EXPR_WFL_FILENAME_NODE.
10504 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
10506 * print-tree.c (print_note): Print TREE_PRIVATE and
10509 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
10510 the original die cannot be found.
10512 * varray.h (varray_head_tag): Add elements_used.
10513 (VARRAY_PUSH): New macro.
10514 (VARRAY_POP): Likewise.
10515 (VARRAY_TOP): Likewise.
10516 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
10518 * varray.c (varray_init): Initialize elements_used.
10519 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
10520 (INTEGRATE_H): New variable.
10521 (integrate.o): Depend on INTEGRATE_H.
10522 (unroll.o): Likewise.
10524 * function.h (insert_block_after_note): Declare.
10525 * function.c (insert_block_after_note): Split out from ...
10526 (retrofit_block): ... here.
10528 * stmt.c (expand_fixup): Fix typo in comment.
10530 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10532 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
10533 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
10534 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
10535 (regmove_optimize, fixup_match_1): Likewise.
10537 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10539 * flow.c (flow_loops_dump): Add missing argument when calling
10540 flow_loop_nested_p.
10542 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
10543 Greg McGary <gkm@gnu.org>
10545 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
10546 (init_attributes): Add A_NO_LIMIT_STACK.
10547 (decl_attributes): Handle A_NO_LIMIT_STACK.
10548 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
10549 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
10550 Handle stack bounds checking.
10551 * flags.h (flag_stack_check): Use the word 'probe' rather than
10552 'check', because the flag doesn't actually cause any checking to
10554 * function.c (expand_function_start): Set
10555 current_function_limit_stack.
10556 * function.h (struct function): Add limit_stack.
10557 (current_function_limit_stack): Define.
10558 * invoke.texi (Code Gen Options): Document new options.
10559 * rtl.h: Declare stack_limit_rtx.
10560 * toplev.c (stack_limit_rtx): New variable.
10561 (decode_f_option): Handle new options -fstack-limit-register=REG,
10562 -fstack-limit-symbol=IDENT, -fno-stack-limit.
10563 (main): Add stack_limit_rtx as GC root.
10564 * tree.h (DECL_NO_LIMIT_STACK): New macro.
10565 (struct tree_decl): New member no_limit_stack.
10567 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
10569 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
10570 (conditional_trap+1): Get new mnemonic correct.
10571 (conditional_trap+2): New pattern for DImode traps.
10573 * config/m68k/m68k.c (output_function_prologue): Handle
10575 * config/m68k/m68k.md (trap): New insn.
10576 (conditional_trap): New insn.
10577 * md.texi (Standard Names): Document `trap' and
10578 `conditional_trap'.
10579 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
10580 so a cc0 setter doesn't get emitted at some random place in the
10583 * config/i960/i960.md (trap): New insn.
10584 (conditional_trap): New expander.
10585 (conditional_trap+1, conditional_trap+2): New insns for signed
10586 and unsigned cases.
10587 * config/i960/i960.c (i960_function_prologue): Use
10588 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
10590 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
10591 Geoffrey Keating <geoffk@cygnus.com>
10593 * flags.h (warn_padded, warn_packed): Add global var decls.
10594 * toplev.c (warn_padded, warn_packed): Add global var defns.
10595 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
10596 * stor-layout.c (layout_record): Add local variable `type'
10597 to hold often-used TREE_TYPE (field). Add local variable
10598 `unpacked_align' to hold alignment that would be in force
10599 if no `packed' attribute were present. Warn if `packed' attribute
10600 is unnecessary, or even harmful. Warn when gcc inserts padding
10601 to satisfy alignment requirements of members. Use NULL_TREE
10602 when checking whether var_size is set.
10603 * invoke.texi: Document new flags.
10605 1999-12-03 Nathan Sidwell <nathan@acm.org>
10607 * frame.c (fde_split): Reimplement to avoid variable sized array.
10609 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10611 * combine.c (try_combine): Before fixing up LOG_LINKS for the
10612 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
10614 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
10616 * invoke.texi: Document the mips option -mno-crt0
10618 1999-12-02 Mike Karr <mkarr@mathworks.com>
10620 * cccp.c (argdata): Added free_ptr member.
10621 (macroexpand): Initialize free_ptr of each argument. When an
10622 argument's buffers are freed, if the argument's free_ptr corresponds
10623 to a buffer on the input stack, then return the free_ptr to that stack
10624 frame, otherwise, free it.
10625 (macarg): If an argument begins and ends on the same input stack level,
10626 then transfer the free_ptr of that buffer to the argument in case
10627 the stack is popped during the processing of a subsequent argument.
10629 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
10631 * loop.c (note_reg_stored): New function.
10632 (struct note_reg_stored_arg): New structure.
10633 (try_copy_prop): Change to be more conservative; only replace within
10634 one extended basic block and stop replacing if a store to the
10635 replacement reg is seen.
10637 1999-12-02 Nick Clifton <nickc@cygnus.com>
10639 * config/fp-bit.c: Initialise all fields of the NAN
10642 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
10645 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
10647 * i386.md (extend?f?f2): Force the input into a register, not
10650 1999-12-01 Jakub Jelinek <jakub@redhat.com>
10652 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
10654 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
10655 alternative because setting up 64bit constant is usually costly,
10656 especially when reload is in progress or completed.
10657 (movdf_const_intreg_sp64): Likewise.
10658 (movdf_const_intreg split): Fix building up constants when
10659 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
10661 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
10663 * combine.c (if_then_else_cond): Use const_true_rtx instead of
10664 const1_rtx for return values in EQ/NE comparison against (const_int 0)
10667 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
10668 (asm_file_start): Emit .am33 into assembly file when compiling for
10670 (print_operand_address): Handle POST_INC addresses.
10671 (can_use_return_insn, initial_offset): Check AM33 registers too.
10672 (expand_prologue): Check & save AM33 registers too.
10673 (expand_epilogue): Similarly.
10674 (secondary_reload_class): Handle AM33 specific secondary reloads.
10675 (output_tst): Emit efficient code for the AM33 too.
10676 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
10677 (TARGET_SWITCHES): Add -mam33 switch.
10678 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
10679 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
10680 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
10681 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
10682 (enum reg_class, REG_CLASS_NAMES): Likewise.
10683 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
10684 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
10685 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
10686 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
10687 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
10688 (HAVE_POST_INCREMENT): Define.
10689 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
10690 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
10691 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
10692 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
10693 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
10694 (zero_extend to SI from QI/HI): Likewise.
10695 (sign_extend to SI from QI/HI): Likewise.
10696 (mulsidi3, umulsidi3): New patterns for the AM33.
10697 (tstsi with zero extension from QI/HI): Add AM33 variants.
10698 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
10699 (return_internal_regs, store_movm): Handle new AM33 registers.
10700 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
10701 (LIBGCC, INSTALL_LIBGCC): Likewise.
10702 * invoke.texi: Document new flags.
10704 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
10706 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
10707 (addsi3_carry): Likewise.
10708 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
10709 (sbbsi3_carry): Likewise.
10710 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
10711 (mulhi3): Likewise.
10712 (test?i_1): Ensure that only one operand is memory.
10713 (conditional move patterns): likewise.
10714 (shift and rotate patterns): Rewrite to expander, add
10715 "binary_operator_ok" to the condition.
10717 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
10718 * i386.h (procesor_costs): Add movzbl_load field.
10719 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
10720 non-Q registers, accept DImode registers anywhere.
10722 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
10723 * i386.c (*_cost): Set value for movxbl_load field.
10725 * (addsi): New add to lea splitter.
10726 (ashlsi): Likewise.
10727 (lea to add/shift peep2): New.
10729 1999-12-01 Mark Salter <msalter@cygnus.com>
10731 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
10732 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
10733 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
10735 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10737 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
10738 * i386.md (movsi_xor): New.
10740 (movsi_1, movhi_1, movqi_1): Remove.
10741 (movsi_2): Rename to movsi_1.
10742 (movhi_2): Rename to movhi_1.
10743 (movqi_2): Rename to movqi_1.
10744 (movdi_1): Remove; remove splitter.
10745 (movdi_2): Rename to movdi_1.
10746 (divmodsi4 splitter): Do not emit clobbers for move patterns.
10747 (long move peep2): Do not create QI or HI mode mov0s
10748 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
10750 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
10753 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
10754 (abs?f2_if): Likewise.
10756 1999-11-30 Alex Samuel <samuel@codesourcery.com>
10758 * ggc.h (ggc_test_and_set_mark): New macro.
10759 (ggc_mark_rtx): Use ggc_test_and_set_mark.
10760 (ggc_mark_tree): Likewise.
10761 (ggc_mark_rtvec): Likewise.
10762 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
10764 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
10766 * dwarf2out.c (scope_die_for): Only handle types. Only search for
10768 (decl_scope_table): Just an array of trees now.
10769 (push_decl_scope): Simplify.
10770 (dwarf2out_init): Adjust.
10771 (local_scope_p): New fn.
10772 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
10773 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
10774 (gen_typedef_die): Likewise.
10775 (gen_lexical_block_die): Don't call push/pop_decl_scope.
10776 (gen_inlined_subroutine_die): Likewise.
10777 (gen_abstract_function): Set current_function_decl temporarily.
10778 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
10779 Handle block extern declarations. Don't call push/pop_decl_scope.
10780 (gen_decl_die): Fix logic for block externs.
10782 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10784 * calls.c (special_function_p): Remove `realloc' and add `strdup'
10785 to the list of functions which have attribute malloc by default.
10787 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10789 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
10790 integer constant does not match the traditional type, limit the
10791 warnings to cases where the base of the type is ten.
10793 * invoke.texi (-Wtraditional): Document it.
10795 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10797 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
10798 * rs6000.md: Only access a CONST_INT with INTVAL
10800 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
10802 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
10803 (compute_nearerout): Likewise.
10804 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
10805 size_t to unsigned long for formatting.
10807 1999-11-30 Jakub Jelinek <jakub@redhat.com>
10809 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
10810 Allow the user to override call-used/fixed state of %g2-5
10811 registers from the command line (with the exception of %g4 for
10813 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
10814 there is a higher chance of having a leaf function.
10815 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
10816 for ARCH64 which has %ccr register.
10817 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
10819 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
10820 insn accept into delay slot any insn which does not use %[ol]
10821 registers. Accept some LO_SUM and shift left by 1 for the normal
10823 (output_function_epilogue): Likewise.
10824 (epilogue_renumber): Added argument which inhibits any renumbering
10825 and just tests if the rtx does not use any %[ol] registers.
10826 (output_return): Reflect above change.
10828 1999-11-30 Jakub Jelinek <jakub@redhat.com>
10830 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
10831 aggregate passing for sizes <= 16 bytes.
10833 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
10835 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
10836 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
10837 * reload.c (find_dummy_reload): Likewise.
10838 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
10839 * reload1.c (reload_as_needed): Likewise.
10840 * stupid.c (stupid_find_reg): Likewise.
10841 * tm.texi (Obsolete Register Macros): Delete section.
10842 * gmicro.h: Remove all traces of the two macros.
10843 * i386.h: Likewise.
10844 * m88k.h: Likewise.
10845 * mips.h: Likewise.
10847 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
10849 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
10850 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
10851 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
10852 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
10853 units for the sparclite86x chip.
10854 (flush): Revert October 14th change; add SImode specifically.
10855 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
10856 * invoke.texi: Document it.
10858 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
10860 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
10861 psimode_truncation_operand.
10863 * config/mn10200/mn10200.c (psimode_truncation_operand): New
10864 function. Return true if the operand is either a MEM valid
10865 for a PSImode address or not a MEM at all.
10867 * config/mn10200/mn10200.md (truncsipsi2): Use
10868 psimode_truncation_operand.
10870 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10872 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
10873 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
10874 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
10875 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
10876 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
10877 (flow_loop_level_compute, low_loops_level_compute): Likewise.
10878 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
10879 * basic-block.h: Protect from multiple inclusion.
10880 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
10881 (struct loops, struct loop): Define structures.
10882 * sbitmap.c (sbitmap_a_subset_b_p): New function.
10883 * sbitmap.h: Protect from multiple inclusion.
10884 (sbitmap_a_subset_b_p): Add prototype.
10885 * Makefile.in (LOOP_H): New macro.
10886 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
10888 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
10890 * cppinit.c (CAT): The argument list of this macro may not contain
10893 1999-11-29 David S. Miller <davem@redhat.com>
10895 Move quantity tables and register equivalence chains into
10896 per-qty and per-register structure arrays respectively.
10897 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
10898 qty_const_insn, qty_comparison_code, qty_comparison_const,
10899 qty_comparison_qty): Delete, replace with...
10900 (qty_table): this structure table.
10901 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
10902 (reg_eqv_table): this structure table.
10903 (make_new_qty): Add argument MODE. Caller updated.
10904 Update to use qty_table and reg_eqv_table.
10905 (make_regs_eqv, delete_reg_equiv, insert_regs,
10906 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
10907 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
10908 cse_process_notes, cse_main, cse_basic_block): Likewise.
10910 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10912 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
10913 operation if C is negative.
10914 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
10915 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
10916 law for some divisions if constant is negative and change other
10917 divisions to the opposite rounding.
10919 * expr.c (store_constructor_field): If bit position is not multiple
10920 of alignment of TARGET's mode, use BLKmode.
10922 * expr.c (expand_expr_unaligned): Add more code from full case
10923 that is needed when OP0 is in a register.
10925 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10927 * dwarfout.c (field_byte_offset): Size can be zero if there was
10930 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
10932 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
10933 (associate_trees): Delete unused var TEM.
10934 (extract_muldiv): Delete unused var CANCEL_P.
10936 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
10937 (target_isinf, target_isnan, target_negative): Add return types to
10938 function definitions.
10940 1999-11-29 Bruce Korb <autogen@linuxbox.com>
10942 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
10943 * fixinc/hackshell.tpl: ditto
10944 * fixinc/fixtests.c(double_slash_test): more C++ header testing
10945 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
10947 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
10949 * reload.c (push_reload): When looking for a register to put into
10950 reg_rtx, make sure all hard regs in a multi-reg register are in the
10951 right class and nonfixed.
10953 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
10954 pending_read_insns, pending_write_insns, pending_read_mems,
10955 pending_write_mems, pending_list_length, last_pending_memory_flush,
10956 last_function_call, sched_before_next_call): Move static variables
10958 (bb_ prefixed versions): Replace with single array bb_deps.
10959 (struct deps): New structure.
10960 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
10961 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
10962 argument of type "struct deps *"; use that instead of global
10963 variables. All callers changed.
10964 (init_rgn_data_dependencies): Delete function.
10965 (init_rtx_vector): Delete function.
10966 (init_deps): New function.
10968 (free_pending_lists): Simplify, we always use the bb_deps array even
10969 if only one basic block.
10970 (compute_block_backward_dependences): Likewise.
10971 (schedule_region): Likewise.
10973 (propagate_deps): New function, broken out of
10974 compute_block_backward_dependences.
10975 (compute_block_backward_dependences): Use it.
10977 * alpha.md: Delete useless patterns that tried to work around
10978 register elimination problems.
10980 * unroll.c (loop_iterations): Don't abort if iteration variable
10983 From Joern Rennecke:
10984 * reload1.c (reloads_conflict): Reverse test comparing operand
10985 numbers when testing for conflict between output/outaddr reloads.
10987 1999-11-29 David S. Miller <davem@redhat.com>
10989 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
10991 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
10993 1999-11-28 Robert Lipe <robertl@cygnus.com>
10995 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
10996 table from .fini into .dtor.
10998 1999-11-28 Anthony Green <green@cygnus.com>
11000 * tree.h (struct tree_decl): Add malloc_flag.
11001 (DECL_IS_MALLOC): Define.
11002 * c-common.c (attrs): Add A_MALLOC attribute.
11003 (init_attributes): Add this attribute to the table.
11004 (decl_attributes): Handle malloc attribute.
11005 * calls.c (special_function_p): Check for the malloc attribute.
11006 * extend.texi (Function Attributes): Document malloc attribute.
11008 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
11010 * pa.md (reload shift-add patterns): Remove.
11012 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11014 * reorg.c (dbr_schedule) Print more statistics. Corrected
11015 problem when printing info when 3 delay slots are filled.
11017 1999-11-28 Jakub Jelinek <jakub@redhat.com>
11019 * combine.c (setup_incoming_promotions): Pass an outgoing
11020 regno to FUNCTION_ARG_REGNO_P which it expects.
11022 1999-11-28 Andreas Jaeger <aj@suse.de>
11024 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
11026 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
11028 * cccp.c (do_include): Avoid initialization of automatic variable.
11030 * integrate.c (mark_stores): Function definition made void, to match
11031 previous declaration.
11032 * regclass.c (dump_regclass): Ditto.
11033 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
11035 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11037 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
11038 known to be multiple of divisor.
11040 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
11042 * combine.c (try_combine): Add code to try to merge a set of a
11043 two-word pseudo to a constant with a setting of one of those words
11046 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
11047 (split_tree): Completely rework to make more general.
11048 (make_range, fold): Call negate_expr.
11049 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
11050 (fold, associate): Call new split_tree and associate_trees.
11051 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
11053 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
11055 * loop.c (try_copy_prop): Avoid GNU C extension.
11057 1999-11-25 Mark Mitchell <mark@codesourcery.com>
11059 * except.c (init_eh_for_function): Still zero eh_return_context,
11060 eh_return_stack_adjust, and eh_return_handler.
11062 * except.h (eh_status): Adjust documentation for x_protect_list.
11063 (begin_protect_partials): New function.
11064 * except.c (enqueue_eh_entry): Fix formatting.
11065 (get_first_handler): Add consistency check.
11066 (add_partial_entry): Adjust usage of protect_list.
11067 (emit_cleanup_handler): Save and restore ehqueue.
11068 (expand_start_all_catch): Add comment.
11069 (begin_protect_partials): New function.
11070 (end_protect_partials): Adjust usage of protect_list.
11071 (init_eh_for_function): Use xcalloc.
11073 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11075 * c-common.c (check_format_info): Don't call a variadic function
11076 with a non-literal format string.
11078 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
11080 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
11081 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
11084 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
11087 * collect2.c (collect_wait): Likewise.
11089 * dbxout.c (dbxout_type): Likewise.
11091 * gcc.c (do_spec_1): Likewise.
11093 * genemit.c (gen_insn, gen_expand): Likewise.
11095 * genrecog.c (write_switch, write_subroutine): Likewise.
11097 * mips-tfile.c (catch_signal, botch): Likewise.
11099 * print-rtl.c (print_rtx): Likewise.
11101 * toplev.c (default_print_error_function, report_error_function,
11102 _fatal_insn): Likewise.
11104 1999-11-25 Mark Mitchell <mark@codesourcery.com>
11106 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
11108 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11110 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
11111 operations when needed.
11112 * i386.md (fop_?f_comm): New.
11113 (fop_?f_1): Do not accept commutative operands.
11115 1999-11-25 Andreas Jaeger <aj@suse.de>
11117 * config/mips/mips.md (casesi_internal): Add missing brace.
11119 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
11121 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
11122 (splice_child_die): Handle moving a child DIE from the declaration
11123 DIE of a class to its specification.
11124 (gen_struct_or_union_type_die): Use 'complete' consistently.
11125 (gen_decl_die): Generate the virtual context DIE first.
11126 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
11128 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
11130 * config/mips/mips.md (call_value_multiple_interanal1): New.
11132 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
11134 * dwarf2out.c (free_AT, free_die): New fns.
11135 (remove_children): Call them.
11136 (output_line_info): Disable removal of duplicate notes.
11138 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
11139 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
11140 means pretend the type isn't defined.
11141 Don't defer emitting types.
11142 (gen_type_die_for_member): New fn.
11143 (gen_decl_die): Call it.
11144 (splice_child_die): New fn.
11145 (gen_member_die): Call it rather than generate duplicate dies.
11147 Defer emitting information for the abstract instance of an inline
11148 until we either inline it or emit an out-of-line copy.
11149 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
11150 from output_inline_function if DECL_ABSTRACT is also set.
11151 (block_ultimate_origin): Likewise.
11152 (gen_abstract_function): New fn.
11153 (gen_decl_die, gen_inlined_subroutine_die): Call it.
11154 (gen_subprogram_die): An abstract instance is not a declaration
11155 just because it doesn't match current_function_decl. Don't abort
11156 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
11157 has an abstract origin.
11158 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
11159 abstract instance here.
11161 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
11163 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
11164 where we need to reload fpul from a system register.
11166 1999-11-24 Andreas Jaeger <aj@suse.de>
11168 * config/mips/linux.h (CPP_PREDEFINES): Added.
11169 (LINK_SPEC): Remove -Y since this is only needed on sparc.
11171 1999-11-24 Andreas Jaeger <aj@suse.de>
11173 * config/mips/linux.h (TARGET_VERSION): Added.
11174 (HANDLE_SYSV_PRAGMA): Added.
11175 (DEFAULT_VTABLE_THUNKS): Added.
11177 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11179 * local-alloc.c (qty): New structure and static variable.
11180 (qty_phys_reg): Remove, all references changed to qty.
11181 (qty_n_refs): Likewise.
11182 (qty_min_class): Likewise.
11183 (qty_birth): Likewise.
11184 (qty_death): Likewise.
11185 (qty_size): Likewise.
11186 (qty_mode): Likewise.
11187 (qty_n_calls_crossed): Likewise.
11188 (qty_alternate_class): Likewise.
11189 (qty_changes_size): Likewise.
11190 (qty_first_reg): Likewise.
11191 (alloc_qty): Rename variable QTY to QTYNO.
11192 (finf_free_reg): Likewise.
11193 (local_alloc): Allocate qty, do not allocate the removed variables.
11195 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
11197 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
11198 when -membedded-pic is passed.
11200 * config/mips/mips.md (casesi): Handle 64-bit case too.
11201 (casesi_internal_di): New insn.
11203 * config/mips/mips.c (embedded_pic_offset): Always make the
11204 embedded-pic subtractions relative to the name of the current
11205 function by use of the magic string "..CURRENT_FUNCTION".
11206 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
11208 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
11210 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
11211 of (const_int 0), when what we really care about is
11212 whether it's a zero constant anyway.
11213 (div_trap_mips16): Likewise.
11215 1999-11-23 Mark Mitchell <mark@codesourcery.com>
11217 * loop.c (loop_optimize): Always find_loop_tree_blocks and
11218 unroll_block_trees when generating debuggable code.
11220 * tree.h (unsave_expr_1): New function.
11221 (lang_unsave): New variable.
11222 (get_callee_fndecl): New function.
11223 * tree.c (unsave_expr_now_r): New function.
11224 (lang_unsave): Define.
11225 (unsave_expr_1): Likewise.
11226 (unsave_expr_now_r): Split out from unsave_expr_now.
11227 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
11228 call unsave_expr_now_r.
11229 (get_callee_fndecl): Define.
11231 * Makefile.in (gencheck): Don't depend on lang_tree_files.
11232 (gencheck.o): Do depend on lang_tree_files.
11234 * integrate.h (copy_decl_for_inlining): New declaration.
11235 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
11236 (copy_decl_for_inlining): New function.
11237 (integrate_parm_decls): Use it.
11238 (integrate_decl_tree): Likewise.
11240 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
11242 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
11243 the second two from the first.
11244 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
11245 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
11246 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
11248 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
11249 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
11252 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
11254 * pa.md (call_internal_symref, call_value_internal_symref): No mode
11255 needed on the address operand.
11256 * pa.c (call_operand_address): Check for the correct mode.
11258 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
11260 * loop.c: Include "basic-block.h".
11261 (try_copy_prop, replace_loop_reg): New functions.
11262 (load_mems): Detect registers that just hold copies of the hoisted
11263 mem, and call try_copy_prop to eliminate them.
11264 * Makefile.in (loop.o): Update dependencies.
11266 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
11268 * Makefile.in (gencheck.o): Depend on gencheck.h.
11269 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
11270 (insn-peep.o): Depend on except.h and function.h.
11271 (insn-attrtab.o): Depend on RECOG_H.
11272 (insn-output.o): Depend on toplev.h and flags.h.
11273 (gengenrtl.o): Depend on real.h.
11274 (gen-protos.o): Depend on cpplib.h and cpphash.h.
11275 Unify all dependencies to be on RECOG_H rather than recog.h.
11277 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11279 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
11280 * configure.in: Try building a bi-arch 32/64-bit compiler on
11281 sparc-*-solaris2.7 and higher.
11282 * configure: Rebuild.
11284 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
11286 * config/freebsd.h: New, FreeBSD architecture independent file.
11287 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
11288 independent pieces.
11289 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
11290 directly by i386/freebsd.h.
11291 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
11292 independent configuration file.
11293 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
11294 directly by i386/freebsd.h.
11295 * configure: Rebuilt.
11297 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
11298 which is in the user's namespace.
11299 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
11300 `i386' which is not in our namespace.
11302 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
11304 * invoke.texi (ARM Options): Add in -mno-alignment-traps
11306 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
11308 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
11309 (add_dwarf_attr, add_child_die): Just push onto the front.
11310 (reverse_die_lists): New fn.
11311 (add_sibling_attributes): Use it.
11312 (push_decl_scope): Reorganize.
11313 (add_name_and_src_coords_attributes): Don't set file and line for
11314 an artificial decl.
11315 (gen_subprogram_die): An artificial function doesn't need to match
11317 (gen_compile_unit_die): Return the generated die. Only add
11318 AT_comp_dir if the filename is relative.
11319 (remove_AT): Simplify loop. Also free string values.
11320 (output_die): A DIE ref can't be null.
11321 (output_value_format, value_format): Take a dw_attr_ref.
11322 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
11323 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11324 AT_addr, AT_lbl): New fns.
11325 (various): Use them.
11326 (various): Constify.
11328 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11330 * combine.c (combine_simplify_rtx): When handling a SUBREG,
11331 take SUBREG_WORD into account.
11332 (if_then_else_cond): Likewise.
11334 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
11336 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
11337 clause from BSD license, pursuant with
11339 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
11341 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
11343 * loop.c (load_mems): Reformat slightly.
11344 * basic-block.h (regset_head): New typedef.
11345 (INIT_REG_SET): New macro.
11347 1999-11-22 Bruce Korb <autogen@linuxbox.com
11349 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
11350 (mips-dec-bsd*): non-functional code
11351 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
11353 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
11354 added three replacement fixes
11355 (no_double_slash): removed comments that are not (any longer) pertinent
11356 (bad_lval): this fix currently runs against many files.
11357 The comment seems to indicate that we should select for files
11358 containing 'pragma extern_prefix'.
11360 * fixinc/fixinc.x86-linux-gnu: deleted
11361 * fixinc/inclhack.sh: regen
11362 * fixinc/fixincl.x: regen
11363 * fixinc/fixincl.sh: regen
11365 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
11367 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
11368 its code is INSN and it has no notes.
11370 1999-11-22 Andrew Haley <aph@cygnus.com>
11372 * varasm.c (function_defined): Remove.
11373 (make_function_rtl): Don't set function_defined.
11374 (make_decl_rtl): Remove global register warning.
11375 * regclass.c (no_global_reg_vars): New variable.
11376 (globalize_reg): Warn if function has already been defined.
11377 (regclass_init): Set no_global_reg_vars.
11379 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11381 * regclass.c (reg_pref): New structure and static variable
11382 (prefclass): Delete.
11383 (altclass): Delete.
11384 (all uses of prefclass and altclass): Use reg_pref instead.
11386 1999-11-21 Nick Clifton <nickc@cygnus.com>
11388 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
11390 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
11391 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
11392 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
11394 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
11396 * varasm.c (output_constructor): Solve problem with long long
11397 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
11399 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
11401 * global.c (allocno): New structure and static variable.
11402 (allocno_reg): Remove, all references replaced by allocno.
11403 (allocno_size): Likewise.
11404 (hard_reg_conflicts): Likewise.
11405 (hard_reg_preferences): Likewise.
11406 (hard_reg_copy_preferences): Likewise.
11407 (hard_reg_full_preferences): Likewise.
11408 (regs_someone_prefers): Likewise.
11409 (allocno_calls_crossed): Likewise.
11410 (allocno_n_refs): Likewise.
11411 (allocno_live_length): Likewise.
11412 (find_reg): Rename ALLOCNO to NUM.
11414 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
11415 references updated.
11416 (may_move_out_cost): New variable.
11417 (init_reg_sets_1): Initialize may_move_out_cost.
11418 (record_reg_classes): Use may_move_out_cost.
11420 * regclass.c (dump_regclass): New function.
11421 (regclass): New parameter DUMP, call DUMP_REGCLASS.
11422 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
11423 pass rtl_dump_file to regclass.
11424 * rtl.h (regclass): Update prototype.
11426 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
11428 * i386.md (neg, not and abs patterns): Revmap to use
11429 ix86_expand_unary_operator and ix86_unary_operator_ok.
11430 (add?f and sub?f expanders): Force operand 1 to register.
11431 * i386.c (ix86_expand_unary_operator): Rewrite.
11432 (ix86_unary_operator_ok): Ensure that memory operands
11434 (ix86_binary_operator_ok): Do not allow operand 1 to
11435 come into memory and operand 0 not.
11436 (ix86_expand_binary_operator): Ensure that
11437 src1 is not non-matching memory.
11439 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
11440 to support integer registers and memory.
11441 (abss?2_integer): Likewise.
11443 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
11444 (REG_CLASS_NAMES): Likewise.
11445 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
11447 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
11448 (movsf): Likewise; unify 4th and 5th alternative.
11449 (pushdf): Likewise.
11450 (movdf_1): Likewise; rename to movdf_integer.
11451 (pushxf): Likewise; rename to pushxf_integer; fix output template;
11452 remove redundant splitter.
11453 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
11454 (movdf_nointeger): New.
11455 (movxf_nointeger): New.
11456 (pushxf_nointeger): New.
11458 * i386.md (extend?f?f): Split to expander and pattern, refuse two
11459 memory operands in patterns.
11460 (fop*): Refuse two memory operands.
11462 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
11463 on !TARGET_USE_CLTD CPUs.
11465 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
11467 * extend.texi: Document C++ restricted pointers and references.
11469 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
11471 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
11472 (invalidate_skipped_set): Call it unconditionally.
11473 (cse_set_around_loop): Likewise.
11475 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
11477 * rtl.texi (mem): Add documentation for alias-set argument
11480 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
11482 * i386.h (struct_processor_costs): New fields int_load, int_store,
11483 fp_move, fp_load and fp_store
11484 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
11486 (MEMORY_MOVE_COST): New macro.
11487 * i386.c (386_cost): Define new fields.
11488 (i486_cost): Likewise.
11489 (pentium_cost): Likewise.
11490 (pentiumpro_cost): Likewise.
11491 (k6_cost): Likewise.
11493 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
11494 Geoffrey Keating <geoffk@cygnus.com>
11496 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
11498 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
11501 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
11502 (TARGET_STRICT_ALIGNMENT): New macro.
11503 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
11504 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
11505 * invoke.texi (M680x0 Options): Document -mstrict-align.
11507 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
11508 Richard Henderson <rth@cygnus.com>
11510 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
11511 (ix86_split_long_move): Declare.
11512 * i386.c (split_xf, ix86_split_movdi): Remove.
11513 (ix86_split_to_parts, ix86_split_long_move): New.
11514 * i386.md (dimode move splitters): Use ix86_split_long_move.
11515 (dfmode move splitters): Likewise.
11516 (xfmode move splitters): Likewise.
11517 (movsf_1): Allow F->r.
11518 (movdf_1, movxf_1): Allow F->ro.
11520 1999-11-17 Mark Mitchell <mark@codesourcery.com>
11522 * except.h (struct eh_entry): Add goto_entry_p.
11523 (eh_region_from_symbol): Remove prototype.
11524 * except.c (find_func_region_from_symbol): New function.
11525 (emit_cleanup_handler): Likewise.
11526 (eh_region_from_symbol): Make it static.
11527 (add_new_handler): Verify the argument.
11528 (find_func_region): Update comment.
11529 (expand_eh_region_end): Expand handlers here, rater than waiting
11530 until expand_leftover_cleanups or start_all_catch.
11531 (expand_leftover_cleanups): Don't expand here.
11532 (expand_start_all_catch): Or here.
11533 (expand_rethrow): Check the return value from find_func_region.
11534 * function.c (expand_function_end): Emit the catch_clauses.
11536 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
11538 * integrate.c (expand_inline_function): Add necessary check for NULL.
11540 1999-11-18 Nick Clifton <nickc@cygnus.com>
11542 * toplev.c (main): Correctly detect an unrecognised option.
11544 * cppinit.c (cpp_handle_option): Do not claim to have consumed
11545 a -f option if it has not been recognised.
11547 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
11549 * basic-block.h (update_life_extent): Remove trailing comma on
11550 enumeration type list.
11552 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11554 * varasm.c (output_constructor) Solved problem with long long
11555 bitfields. Corrected calculating this_time and shift. Also
11556 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
11558 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
11560 * flow.c (split_edge): Take looping structure into account when
11561 determining where to put the new block note.
11563 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
11565 * Makefile.in (ggc-none.o): Provide host specific version if
11568 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
11570 * cse.c (delete_trivially_dead_insns): Identify no-op insns
11571 containing subregs too.
11573 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
11575 * invoke.texi: Add documentation for -muninit-const-in-rodata.
11576 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
11577 (TARGET_UNINIT_CONST_IN_RODATA): Define.
11578 (text_section): Add switches -munint-const-in-rodata and
11579 -mno-uninit-const-in-rodata.
11580 (ASM_OUTPUT_COMMON): Remove.
11581 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
11582 const objects should be placed in read-only data. Otherwise declare
11585 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
11587 * jump.c (jump_optimize_1): Revert last change.
11589 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
11591 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
11592 test if optimizing for size.
11594 1999-11-17 Mark Mitchell <mark@codesourcery.com>
11596 * Makefile.in (toplev.o): Depend on except.h.
11597 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
11599 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
11601 * i386.md (divmodsi4): Rewrite to expander.
11602 (*divmodsi4_nocltd): New.
11603 (*divmodsi4_cltd): New.
11604 (divmodsi4 splitter): Handle the case when input comes in edx.
11605 (udivmodhi4): Do not use constraints in exander.
11606 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
11608 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
11610 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
11611 for the common case.
11613 1999-11-16 Jakub Jelinek <jakub@redhat.com>
11615 * explow.c (hard_function_value): Add outgoing argument.
11616 * expr.h (hard_function_value): Declare it.
11617 * calls.c (expand_call, emit_library_call_value): Update callers.
11618 * function.c (aggregate_value_p): Ditto.
11619 (diddle_return_value): Must look at the outgoing registers
11620 on archs with register windows.
11622 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
11624 * alpha.c (alpha_build_va_list): Use make_lang_type and
11625 initialize TYPE_NAME for the va_list record.
11627 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
11629 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
11631 * ggc.h (struct ggc_statistics): Rearrange elements for better
11632 packing on 64-bit hosts.
11633 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
11634 (compute_nearerout): Likewise.
11636 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
11638 * config/rs6000/rs6000.c (first_reg_to_save): Save
11639 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
11641 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
11643 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
11644 notion of nesting to find the DIE for a type or function.
11645 DIEs can go in limbo even if we got a context_die.
11646 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
11647 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
11649 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
11650 (gen_type_die): Writing out the context doesn't cause member class
11651 template instantiations to be written out as well.
11653 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
11655 * rs6000.h (ASM_OUTPUT_DEF): New.
11656 Based on proposed addition from David Edelsohn.
11658 1999-11-15 Robert Lipe <RobertLipe@usa.net>
11659 Bruce Korb <autogen@linuxbox.com>
11661 * fixinc/inclhack.def
11662 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
11663 (unixware7_byteorder_fix): added. Removes conflicts for new defs
11665 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
11666 (svr4_endian): enabled with SVR5
11667 (svr4_mkdev): simplified syntax and enabled with SVR5
11669 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
11671 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
11672 * configure: Rebuilt.
11673 * config/t-freebsd-thread: New file.
11675 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
11677 * i386.c (ix86_decompose_address): Verify the base is a REG
11678 before trying to examine its register number.
11680 * basic-block.h: Remove all #defines and prototypes related to
11682 (free_bb_mem, compute_preds_succs): Remove prototype.
11683 * rtl.h (free_bb_mem): Remove prototype.
11684 * flow.c (alloc_int_list_node); Remove function.
11685 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
11686 (compute_preds_succs, free_bb_mem): Likewise.
11687 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
11688 * toplev.c (rest_of_compilation): Likewise.
11689 * haifa-sched.c (build_control_flow): Use flow generated edge
11690 list to build the haifa specific edge list.
11691 (find_rgns): Use new CFG data structures instead of pred/succ lists.
11692 (schedule_insns): Do not build pred/succ lists anymore. Instead
11693 build the edge table.
11695 * basic-block.h (dump_bb_data): Remove declaration.
11696 * flow.c (dump_bb_data): Remove function.
11697 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
11698 (sbitmap_union_of_predsucc): Likewise.
11700 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
11701 argument. All callers changed.
11702 (delete_null_pointer_checks_1): No longer need to compute the
11705 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
11706 All callers changed.
11707 (pre_expr_reaches_here_p_work): Likewise.
11708 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
11709 * lcm.c (compute_laterin): Fix initialization of LATER.
11710 (compute_nearerout): Similarly for NEARER.
11712 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11714 * cse.c (set_nonvarying_address_components): Delete unused function.
11715 (refers_to_p): Likewise.
11717 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
11719 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
11722 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11724 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
11725 definition in do while (0).
11727 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
11729 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
11731 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
11733 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
11735 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
11737 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
11738 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
11739 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11740 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
11742 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
11743 saved on the stack. Output more accurate stack frame statistics
11744 into assembler file.
11746 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
11748 * genextract.c (record_insn_name): New function.
11749 (get_insn_name): No longer a stub.
11750 (main): Call record_insn_name for each insn. After each label
11751 written, print the insn name in a comment.
11753 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11755 * output.h (const_section, init_section, fini_section): Add
11758 * alpha/elf.h (const_section): Delete declaration.
11760 * svr4.h (const_section): Likewise.
11762 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
11764 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
11765 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
11766 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
11768 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
11769 variable-sized array bounds.
11771 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
11773 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
11776 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11778 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
11779 addresses the same way GO_IF_LEGITIMATE_INDEX does.
11781 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11783 * cse.c (hash_arg_in_struct): Delete.
11784 (struct table_elt): Delete elt in_struct.
11785 (struct set): Delete elt src_in_struct.
11786 (merge_equiv_classes): Don't set either hash_arg_in_struct or
11787 the corresponding in_struct elts.
11788 (canon_hash): Likewise.
11789 (safe_hash): Likewise.
11790 (find_best_addr): Likewise.
11791 (record_jump_cond): Likewise.
11792 (cse_insn): Likewise.
11794 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
11796 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
11798 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
11801 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
11803 * function.c (diddle_return_value): Put back check that the DECL_RTL
11804 for the function is a register.
11806 * function.c (diddle_return_value): Use hard_function_value to
11807 get an rtx suitable for use in the USE/CLOBBER insn.
11809 * global.c (global_conflicts): Update comments.
11810 (record_conflicts): No need to record conflicts between pseudos here.
11812 1999-11-11 Bruce Korb <autogen@linuxbox.com>
11814 * fixinc/fixincl.c: Added verbose levels for status messages
11816 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11818 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
11819 operand as argument to expand_and or expand_binop.
11821 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
11823 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
11824 gcc_add_string_root.
11826 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
11828 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
11830 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
11832 * flow.c (compute_flow_dominators): Initially put all blocks on
11834 * lcm.c (compute_antinout_edge, compute_available): Similarly.
11835 * gcse.c (compute_cprop_avinout): Remove.
11836 (compute_cprop_data): Use compute_available.
11837 (delete_null_pointer_checks_1): Use compute_available.
11839 * basic-block.h (compute_available): Returns a void now.
11840 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
11841 to return a value anymore.
11842 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
11843 worklists. Fix boundary cases. Compute maximal solutions.
11844 (compute_laterin, compute_nearerout): Similarly.
11846 * dwarf2out.c (add_AT_location_description): Allow
11847 (mem (plus (pseudo) (...)) too.
11849 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
11851 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
11853 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
11854 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11856 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
11858 * gansidecl.h: Likewise.
11864 * toplev.h: Likewise.
11866 * tree.c: Likewise.
11868 * tree.h: Likewise.
11870 * varray.c: Likewise.
11872 * varray.h: Likewise.
11874 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
11876 * gcov.c (struct arcdata): Add hits and total, remove prob.
11877 (output_branch_counts): New.
11878 (process_args): Set output_branch_counts if -c.
11879 (calculate_branch_probs): Store hits and total instead of
11881 (output_data): Emit counts if output_branch_counts is true.
11882 * gcov.texi (Invoking Gcov): Document -c switch..
11884 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
11886 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
11887 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
11889 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
11891 * invoke.texi (C Dialect Options): Add missing builtins from
11892 c-common.c to list.
11893 * extend.texi (Other Builtins): Copy to this list.
11895 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11897 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
11898 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
11899 redundant bitmap.h.
11901 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
11903 * flow.c (compute_flow_dominators): No longer treat basic block 0
11904 or (n_basic_blocks - 1) specially. Clear the AUX field before
11905 starting computation of doms/pdoms. Fix initial state for pdoms.
11907 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11909 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
11910 match rtl.o's: added ggc.h and toplev.h
11911 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
11912 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
11913 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
11915 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
11917 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
11918 from HAVE_DOS_BASED_FILESYSTEM.
11919 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
11920 HAVE_DOS_BASED_FILESYSTEM.
11922 (split_directories): Only special-case DOS file names if
11923 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
11924 instead of explicit tests. Conditionalize on !VMS.
11925 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
11926 tests. Conditionalize on !VMS.
11927 (process_command): Only use make_relative_prefix if !VMS.
11928 (free_split_directories): Conditionalize on !VMS.
11929 (DIR_UP): Conditionalize on !VMS.
11931 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
11933 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
11935 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
11937 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
11940 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
11942 * invoke.texi (Environment Variables): Document relative path
11944 * gcc.c (DIR_UP): If not defined, define as "..".
11945 (standard_bindir_prefix): New static, holds target location to
11947 (split_directories): New function to split a filename into
11948 component directories.
11949 (free_split_directories): New function, release memory allocated
11950 by split_directories.
11951 (make_relative_prefix): New function, make a relative pathname if
11952 the compiler is not in the expected location.
11953 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
11954 can figure out an appropriate prefix from argv[0].
11955 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
11956 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
11957 STANDARD_BINDIR_PREFIX.
11959 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11961 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
11963 * config/c4x/c4x.h: Moved prototypes to c4x.h.
11964 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
11965 c4x_secondary_memory_needed) Delete.
11966 (fp_zero_operand): Add mode argument.
11968 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
11970 * reload1.c (reload_reg_free_for_value_p): Don't use a register
11971 that is in reload_reg_used.
11973 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
11975 * config/arm/arm-protos.h: New file: Prototypes for functions
11976 defined in arm.c and pe.c.
11977 * config/arm/arm.h: Fix compile time warnings.
11978 * config/arm/arm.c: Fix compile time warnings.
11979 * config/arm/pe.h: Fix compile time warnings.
11980 * config/arm/aout.h: Fix compile time warnings.
11982 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
11984 * config/m32r/m32r-protos.h: New file: Prototypes for functions
11987 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
11988 Add support for subtargets.
11989 Add prototypes for new predicates.
11990 Add scheduling macros.
11992 * config/m32r/m32r.c: Fix compile time warnings.
11993 (int8_operand): New predicate function.
11994 (reg_or_cmp_int16_operand): New predicate function.
11995 (extend_operand): New predicate function.
11996 (m32r_adjust_code): New scheduling function.
11997 (m32r_adjust_priorty): New scheduling function.
11998 (m32r_sched_init): New scheduling function.
11999 (m32r_sched_reorder): New scheduling function.
12000 (m32r_sched_variable_issue): New scheduling function.
12001 (direct_return): New codegen function.
12002 (m32r_not_same_reg): New rtl testsing function.
12004 * config/m32r/m32r.md: Fix compile time warnings.
12005 Add support for pre decrement and post increment memory
12007 Add S<cc> patterns.
12010 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12012 * global.c (EXECUTE_IF_CONFLICT): Don't define.
12013 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
12014 (find_reg): Likewise.
12016 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
12018 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
12019 to avoid assembler errors.
12021 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
12023 * config/v850/v850-protos.h: New file: Prototypes for functions
12025 * config/v850/v850.h: Move prototypes to v850-protos.h
12026 * config/v850/v850.c: Move prototypes to v850-protos.h
12027 * config/v850/v850.md: Fix compile time warnings.
12029 * config/fr30/fr30-protos.h: New file: Prototypes for functions
12031 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
12032 * config/fr30/fr30.c: Fix compile time warnings.
12033 * config/fr30/fr30.md: Fix compile time warnings.
12035 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
12037 * tree.h (get_containing_scope): Declare it.
12038 * tree.c (get_containing_scope): New fucntion.
12039 (decl_function_context): Use it.
12040 * toplev.c (rest_of_compilation): Use get_containing_scope.
12042 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12044 * Makefile.in (rtl.o): Depend on toplev.h.
12046 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
12048 * cse.c (delete_trivially_dead_insns): Replace alloca with
12050 * except.c (update_rethrow_references): Likewise.
12051 (init_eh_nesting_info): Likewise.
12052 * function.c (identify_blocks): Likewise.
12053 * gcse.c (dump_hash_table): Likewise.
12054 * graph.c (print_rtl_graph_with_bb): Likewise.
12055 * loop.c (combine_movables): Likewise.
12056 (move_movables): Likewise.
12057 (count_loop_regs_set): Likewise.
12058 (strength_reduce): Likewise.
12059 * profile.c (compute_branch_probabilities): New function, split
12061 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
12062 * regclass.c (regclass): Likewise.
12063 * regmove.c (regmove_optimize): Likewise.
12064 * toplev.c (compile_file): Likewise.
12065 (main): Don't mess with the stack rlimit.
12067 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
12069 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
12070 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
12072 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
12074 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
12076 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
12078 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
12079 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
12082 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
12084 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
12086 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
12088 * gcse.c (post_dominators): Kill.
12089 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
12090 (compute_code_hoist_data): Use compute_flow_dominators. Do not
12091 pass in a pdom array since we do not need pdoms.
12092 * haifa-sched.c (schedule_insns): Similarly.
12093 * flow.c (compute_dominators): Remove dead function.
12094 (compute_flow_dominators): Do not compute doms or pdoms if the
12095 caller does not request them. Split up loop to build doms and
12096 pdoms. Use a worklist to compute doms and pdoms.
12097 * basic-block.h (compute_dominators): Remove prototype.
12099 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
12101 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
12102 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
12103 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
12104 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
12105 (cant_move, fed_by_spec_load, is_load_insn): Remove.
12106 (schedule_region): Remove unused variable.
12107 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
12109 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
12111 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
12112 (update_equiv_regs): Likewise.
12113 (block_alloc): Likewise.
12114 * reg-stack.c (reg_to_stack): Likewise.
12115 (convert_regs_2): Likewise.
12116 * reload1.c (reload_as_needed): Likewise.
12118 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
12120 * Makefile.in (dbxout.o): Depend on ggc.h.
12121 (dwarf2out.o): Likewise.
12122 (xcoffout.o): Likewise.
12123 * dbxout.c: Include ggc.h.
12124 (dbxout_init): Register lastfile as a root.
12125 * dwarf2out.c: Include ggc.h.
12126 (dwarf2out_line): Register lastfile as a root.
12127 * xcoffout.c: Include ggc.h.
12128 (xcoffout_source_line): Register xcoff_lastfile as a root.
12130 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
12132 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
12134 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
12136 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
12138 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
12140 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12142 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
12143 (EXECUTE_IF_CONFLICT): Likewise.
12144 (ALLOCNO_LIVE_P): Avoid signed division.
12145 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
12146 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
12147 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
12149 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
12151 * haifa-sched.c (schedule_block): Don't crash if there's no
12152 next insn for an interblock movement.
12153 (add_branch_dependences): Don't allow clobber insns to move either.
12155 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
12157 * i386.c (split_xf): New.
12158 * i386-protos.h: Declare it.
12159 * i386.md (movxf_1): Add general regs alternatives.
12160 (movxf_1+1): New splitter for same.
12162 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
12164 * function.c (purge_addressof_1): Add missing return values.
12166 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
12168 * function.c (is_addressof): New function. Returns true if
12169 the given piece of RTL is an ADDRESSOF.
12170 (purge_addressof_1): Make boolean. Return false if the
12171 ADDRESSOFs could not be purged.
12172 (purge_addressof): If ADDRESSOFs could not be purged from the
12173 notes attached to an insn, remove the offending note(s),
12174 unless they are attached to a libcall.
12176 1999-11-05 Andreas Jaeger <aj@suse.de>
12178 * genoutput.c (null_operand =): Initialize all fields.
12180 * errors.h: Add extern to prototypes.
12182 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
12184 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
12185 * configure: Rebuilt.
12187 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12189 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
12190 (mirror_conflicts): New function.
12191 (global_alloc): Call it.
12192 (expand_preferences): Remove redundant CONFLICTP test.
12193 (find_reg, dump_conflicts): Likewise.
12194 (prune_preferences): Process conflicts one word at a time.
12196 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
12198 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
12199 instead of an explicit loop.
12201 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
12203 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
12204 if REG_RETVAL check succeeds, then put classp in src_elt.
12206 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
12208 * function.c (pad_to_arg_alignment): Only update argument_pad
12209 if the argument's alignment is greater than STACK_BOUNDARY.
12211 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
12213 * bitmap.h (BITMAP_XFREE): New.
12214 * flow.c (life_analysis): Use it.
12215 (life_analysis_1): Free blocks.
12217 * combine.c (undo_commit): New.
12218 (try_combine): Use it. Don't zap undobuf.undos.
12219 (combine_instructions): Don't zap undobuf.undos; free the
12220 undobuf.frees list.
12222 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
12224 * stmt.c (cost_table_): New.
12225 (estimate_case_costs): Use it instead of xmalloc.
12227 * toplev.c (compile_file): Reuse dumpname memory instead
12230 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
12232 * reg-stack.c (convert_regs_1): Initialize target_stack->top
12233 after verifying an EH edge.
12235 * haifa-sched.c (init_rgn_data_dependences): Correctly
12236 size bb_pending_lists_length when zeroing.
12238 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
12240 * function.c (diddle_return_value): New.
12241 (expand_function_end): Use it.
12242 * stmt.c (expand_null_return): Likewise.
12243 (expand_value_return): Likewise.
12245 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
12247 * reload1.c (reload): Don't remove return value clobbers.
12249 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
12251 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
12253 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
12255 * cse.c (cse_main): Use xmalloc, not alloca.
12256 (cse_basic_block): Likewise.
12257 * local-alloc.c (local_alloc): Likewise.
12259 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
12260 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12262 * rtl.c: Include toplev.h.
12263 (fatal): Remove declaration.
12265 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
12267 * haifa-sched.c (schedule_block): Fix thinko.
12269 1999-11-03 James McKelvey <mckelvey@fafnir.com>
12271 * fixinc/fixincl.c(create_file): Allow for systems that do not have
12272 S_IR* defined values
12274 1999-11-03 Philippe De Muyter <phdm@macqel.be>
12276 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
12277 call `malloc' instead.
12279 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
12281 * flags.h (flag_renumber_insns): Declare.
12282 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
12284 * rtl.h (renumber_insns): Change prototype.
12285 * toplev.c (flag_renumber_insns): Define.
12286 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
12288 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
12290 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
12291 and fpsqrtd. Use them and create fdiv function unit to more
12292 accurately represent fpu sqrt pipeline semantics on UltraSparc.
12293 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
12295 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
12297 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
12299 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
12300 insn into ready list, do not use just a raw swap.
12302 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
12304 * rtl.h (renumber_insns): New function.
12305 (remove_unnecessary_notes): Likewise.
12306 * emit-rtl.c (renumber_insns): Define.
12307 (remove_unncessary_notes): Likewise.
12308 * toplev.c (rest_of_compilation): Remove dead code.
12309 Use renumber_insns and remove_unncessary_notes.
12311 * gcse.c (struct null_pointer_info): New type.
12312 (get_bitmap_width): New function.
12313 (current_block): Remove.
12314 (nonnull_local): Likewise.
12315 (nonnull_killed): Likewise.
12316 (invalidate_nonnull_info): Take a null_pointer_info as input.
12317 (delete_null_pointer_checks_1): New function.
12318 (delete_null_pointer_checks): Use it.
12320 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
12321 (split_edges): Likewise.
12322 (schedule_block): Likewise.
12323 (compute_block_backward_dependencies): Likewise.
12324 (schedule_region): Likewise.
12325 (schedule_insns): Likewise.
12327 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
12329 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
12330 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
12331 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
12332 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
12333 * jump.c (delete_unreferenced_labels): Don't delete if
12334 LABEL_ALTERNATE_NAME is set.
12335 * print-rtl.c (print_rtx): Dump alternate name.
12336 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
12337 * rtl.h (LABEL_ALTERNATE_NAME): Define.
12338 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
12339 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
12341 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12343 * fix-header.c (recognized_extern, recognized_function): Constify
12346 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
12347 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
12348 (compute_available): Remove unused variable `last'.
12349 (compute_nearerout): Remove unused variable `temp_bitmap'.
12350 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
12351 Remove unused variable `x'.
12353 * scan.h (recognized_function, recognized_extern): Constify a
12356 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
12358 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12360 * varasm.c (decode_rtx_const): Use XSTR to access the string
12363 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
12365 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
12367 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12369 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
12371 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
12373 * pa.c (ireg_operand): New function.
12374 * pa.h (PREDICATE_CODES): Handle ireg_operand.
12375 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
12376 Fix out of date comment.
12378 * pa.md (negdi2): Turn into expander + anonymous pattern.
12380 * reload.c (find_reloads): Fix typos in recent change.
12382 * dwarf2out.c: Do not include ctype.h.
12384 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12386 * regclass.c (record_reg_classes): Always use may_move_cost when
12387 seeing how operand fits with various register classes.
12389 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
12391 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
12392 * toplev.c: Revert Nov 1 13:22 change.
12394 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
12396 * config/pa/pa.md (height reduction patterns): Add checks for
12397 overlapping operands to avoid semantic-destroying splits for
12398 height reduction patterns.
12400 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12402 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
12403 have been an hyphen, fixed.
12404 * configure: Rebuilt.
12406 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
12408 * config/arm/tpe.h: Add prototypes for exported functions.
12409 * config/arm/pe.c: Fix compile time warnings.
12410 * config/arm/semi.h: Fix compile time warnings.
12411 * config/arm/arm.c: Fix compile time warnings.
12412 * config/arm/arm.h: Fix compile time warnings.
12413 * config/arm/arm.md: Fix compile time warnings.
12414 * config/arm/thumb.c: Fix compile time warnings.
12415 * config/arm/thumb.h: Fix compile time warnings.
12416 * config/arm/thumb.md: Fix compile time warnings.
12418 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
12420 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
12423 * unroll.c (unroll_loop): Remove LOOP notes when loop is
12424 completely unrolled.
12426 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12428 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
12430 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
12432 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
12433 * rtl.h (rtx_equal_p): Move prototype.
12434 * rtl.c (rtx_equal_function_value_matters): Move from
12436 (rtx_equal_p): Likewise.
12437 * rtlanal.c (rtx_equal_function_value_matters): Delete.
12438 (rtx_equal_p): Likewise.
12440 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
12442 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
12443 ! HAS_INIT_SECTION.
12445 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
12447 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
12449 * pa.h (ADDR_VEC_ALIGN): Define.
12451 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
12452 notes when presented with "if (foo) break; end_of_loop" and
12453 the break sequence gets moved out of the loop.
12455 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
12456 Remove explicit zero initializations of entries within MAP.
12458 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
12460 * reg-stack.c (convert_regs_1): Handle EH edges specially.
12462 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
12464 * bitmap.h (BITMAP_XMALLOC): New macro.
12465 * flow.c (CLEAN_ALLOCA): Remove.
12466 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
12467 (life_analysis): Likewise.
12468 (update_life_info): Don't use CLEAN_ALLOCA.
12469 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
12470 (calculate_global_regs_live): Likewise.
12471 (print_rtl_with_bb): Likewise.
12472 (verify_flow_info): Likewise.
12473 * global.c (global_alloc): Likewise.
12474 (global_conflicts): Likewise.
12475 * integrate.c (save_for_inline_nocopy): Likewise.
12476 (expand_inline_function): Likewise.
12477 * jump.c (jump_optimize_1): Likewise.
12478 (duplicate_loop_exit_test): Likewise.
12479 (thread_jumps): Likewise.
12480 * loop.c (loop_optimize): Likewise.
12481 (combine_givs): Likewise.
12482 (recombine_givs): Likewise.
12483 * reorg.c (dbr_schedule): Likewise.
12484 * unroll.c (unroll_loop): Likewise.
12486 * combine.c (combine_instructions): Use xmalloc instead of alloca.
12488 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
12490 * toplev.c (rest_of_compilation): Don't optimize the CFG
12491 when rebuilding, just before dbr.
12493 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12495 * output.h (assemble_end_function, assemble_destructor,
12496 assemble_constructor, assemble_gc_entry, assemble_global,
12497 assemble_label, output_constant_pool) Constify a char*.
12499 * varasm.c (assemble_destructor, assemble_constructor,
12500 assemble_gc_entry, assemble_end_function, assemble_global,
12501 assemble_label, output_constant_pool): Likewise.
12503 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
12505 * config/arm/thumb.c (thumb_expand_prologue): Add comments
12506 explaining what is goin on in this function.
12508 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12510 * regclass.c (record_reg_classes): In matching case, recompute
12511 costs since the direction of movement is different.
12513 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
12515 * resource.c (mark_target_live_regs): For unconditional branches,
12516 the resources found at the branch target should be added to the
12517 resources found so far, not intersected.
12519 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
12521 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
12523 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
12524 (sys/mman.h): Include this file only if #HAVE_MMAP.
12525 (run_compiles): Initialize `esac_fmt' with one old KR string, not
12526 with automatically concatenated ANSI strings.
12528 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
12530 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
12531 (DIV_ROUND_UP): Robustify.
12532 (ggc_recalculate_in_use_p): New function.
12533 (release_pages): Don't inline it.
12534 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
12536 (ggc_pop_context): Use ggc_recalculate_in_use_p.
12537 (clear_marks): Always save in_use_p.
12538 (sweep_pages): Use ggc_recalculate_in_use_p.
12539 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
12540 Release pages before counting statistics.
12542 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
12544 * toplev.c (rest_of_compilation): Fix thinko in this change:
12546 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
12548 (rest_of_compilation): If inside an inlined external function,
12549 pretend we are just being declared.
12551 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
12553 * flow.c (calculate_global_regs_live): Fix thinko.
12555 * integrate.c (expand_inline_function): Fix bugs in previous
12556 change from Oct 28, 1999.
12558 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
12560 * stmt.c (expand_value_return): Fix typo in this change:
12562 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12563 (expand_value_return): Correctly convert VAL when promoting function
12564 return; support RETURN_REG being a PARALLEL.
12566 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
12568 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
12570 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12572 * hard-reg-set.h (reg_names): Constify a char*.
12574 * regclass.c (reg_names): Likewise.
12576 * regs.h (reg_names): Likewise
12578 * a29k/a29k.c (reg_names): Delete declaration.
12580 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
12582 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
12583 arc_output_function_epilogue): Likewise.
12585 * elxsi/elxsi.c (reg_names): Likewise.
12587 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
12589 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
12592 * m88k/m88k.c (output_function_profiler): Likewise.
12594 * sparc/sparc.c (sparc_flat_output_function_prologue,
12595 sparc_flat_output_function_epilogue): Likewise.
12597 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
12599 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
12600 warning from -Wuninitialized and put it under -W.
12601 * function.c (uninitialized_vars_warning): Warn only when the
12602 corresponding flag is set.
12604 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
12606 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
12607 is nonzero and the single set does not have an elt, then assign
12610 * simplify-rtx.c: New file.
12611 * Makefile.in (OBJS): Add simplify-rtx.o
12612 (simplify-rtx.o): Add dependencies.
12613 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
12614 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
12615 (cse_gen_binary, simplify_unary_operation): Delete.
12616 (simplify_binary_operation, simplify_plus_minus): Likewise.
12617 (check_fold_consts, simplify_relation_operation): Likewise.
12618 (simplify_ternary_operation): Likewise.
12619 (delete_trivially_dead_insns): Simplify the contents of the
12620 REG_EQUAL note before trying to substitute it into the source
12621 of the reg-reg copy at the end of a libcall sequence.
12623 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
12624 references/callers changed.
12626 * mn10200.c (mn10200_va_arg): Force the return value into a
12629 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
12631 * cccp.c (macroexpand): Avoid out of range accesses for omitted
12634 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
12636 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
12638 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
12640 * fold-const.c (fold): Fix thinko when optimizing comparisons
12643 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
12645 * gcc.texi (Passes): Update front-end files to their current
12648 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
12650 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
12651 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12652 (PREDICATE_CODES): Add addition_operation.
12653 * alpha-protos.h (addition_operation): Declare.
12654 (secondary_reload_class): Likewise.
12655 * alpha.c (addition_operation): New.
12656 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
12657 * alpha.md (adddi3): Turn into expander.
12658 (*lda, *adddi_2): New.
12659 (movsf, movdf patterns): Don't preference integer regs.
12660 (movsi, movdi patterns): Don't preference fp regs.
12662 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
12664 * genrecog.c (write_switch): Check for duplicate CODE cases.
12666 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
12668 * ggc-common.c: Update pre-function commentary.
12669 * ggc-page.c: Likewise.
12671 (poison_pages): Use memset directly.
12672 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
12673 (ggc_collect): Poison before sweeping.
12674 * ggc-simple.c: Update pre-function commentary.
12675 (ggc_alloc_obj): Poison non-zeroed memory.
12677 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
12679 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
12680 match format string, even on 64-bit hosts.
12681 * gcc-page.c (ggc_page_print_statistics): Likewise.
12683 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
12685 * config/i386/i386.c (ix86_cpu): Revert last patch.
12686 * config/i386/i386.h (ix86_cpu): Ditto.
12688 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
12690 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
12691 TYPE_SIZE, convert type of result to sizetype.
12693 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
12695 * flow.c (count_or_remove_death_notes): Equate NULL with the
12698 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
12699 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
12702 * i386.c (pic_label_no): Delete.
12703 (ix86_attr_length_default): Don't use single_set to peek
12706 * recog.c (peephole2_optimize): Allow recog_next_insn to index
12707 the first insn after bb->end.
12708 * i386.md (push mem peeps): Scratch is live after evaluation
12710 (cmp mem peep): Similarly.
12712 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
12714 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
12715 * function.c (pad_to_arg_alignment): Add missing braces.
12717 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12719 * alpha/alpha-protos.h (literal_section): Add prototype.
12720 (alpha_need_linkage, alpha_start_function,alpha_end_function):
12723 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
12725 (alpha_start_function, alpha_end_function, float_strings,
12726 alpha_need_linkage): Constify a char*
12728 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
12730 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
12732 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12734 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12736 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12738 * flow.c (debug_flow_info): Add prototype.
12740 * gcc.c (main): Likewise.
12742 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
12745 * reload1.c (failed_reload, set_reload_reg): Likewise.
12747 * mips-tfile.c (main): Likewise.
12748 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
12749 with ATTRIBUTE_NORETURN.
12751 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
12753 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
12754 DECL is not a memory ref.
12756 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
12758 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
12759 * config/i386/i386.c (ix86_cpu): Add extern attribute.
12761 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
12763 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
12764 * config/mips/elf64.h: ditto.
12766 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
12768 * expr.c (emit_push_insn): New argument alignment_pad.
12769 Update all callers. Adjust stack pointer based on alignment pad.
12770 * function.c (pad_to_arg_alignment): New argument alignment_pad.
12771 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
12772 (locate_and_pad_parm): New argument alignment_pad. Update all
12774 * expr.h (emit_push_insn): Update prototype.
12775 (locate_and_pad_parm): Update prototype.
12776 * calls.c (arg_data): Add new field alignment_pad.
12777 (initialize_argument_information): Initialize alignment_pad.
12779 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
12781 * except.c (free_eh_nesting_info): Free the info itself.
12782 * function.c (free_after_compilation): Don't free NULL.
12783 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
12784 (pre_edge_insert): Free inserted.
12785 * stmt.c (free_stmt_status): Don't free NULL.
12787 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
12789 * gcov.c (DIR_SEPARATOR): Provide default.
12790 (output_data): Add test for MS-DOS format absolute filename.
12791 (fancy_abort): Correct program name.
12792 (open_files): Open all files in binary mode.
12793 * libgcc2.c (__bb_exit_func): Likewise.
12795 * profile.c (init_branch_prob): Specify binary when opening files.
12797 * flags.h (flag_unwind_tables): New decl.
12798 * toplev.c (flag_unwind_table): New definition.
12799 (f_options): Add -funwind-tables.
12800 (decode_g_option): Clarify warning when unknown -g option is given.
12801 (rest_of_compilation): If inside an inlined external function,
12802 pretend we are just being declared.
12804 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
12805 (dwarf2out_frame_finish): Likewise.
12807 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
12809 * fold-const.c (merge_ranges): If not in0, but in1, handle
12810 upper bounds equal like subset case.
12812 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
12814 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
12815 passed in a register but moved to the stack.
12817 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
12819 * gcc.c (pass_exit_codes, greatest_status): New variables.
12820 (struct option_map): Add entry for "--pass-exit-codes".
12821 (execute): Update greatest_status if error.
12822 (display_help): Add documentation for -pass-exit-codes.
12823 (process_command): Handle -pass-exit-codes.
12824 (main): Look at pass_exit_codes and greatest_status on call to exit.
12826 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12828 * reload.c (find_reloads): Refine test for no input reload
12829 case to not includes reloads emitted after insn.
12831 * function.c (find_temp_slots_from_address): Handle sum involving
12832 a register that points to a temp slot.
12833 (update_temp_slot_address): Make recursive call if both old and
12834 new are PLUS with a common operand.
12835 * calls.c (expand_call): Mark temp slot for result as having
12838 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
12840 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
12841 component as well as "BINUTILS".
12843 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
12844 * integrate.c (copy_rtx_and_substitute): Likewise.
12845 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
12846 All callers changed.
12847 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
12849 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
12850 gdb extensions, write size of type; also be more consistent
12851 in using references when this is a subtype.
12853 * pa.md (extv, extzv, insv): Use define_expand to reject constant
12854 that is out of range.
12856 * loop.c (unknown_constant_address_altered): New variable.
12857 (prescan_loop): Initialize it.
12858 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
12859 (invariant_p, case MEM): Remove handling for volatile and readonly;
12860 check new variable if readonly.
12861 (check_dbra_loop): Chdeck unknown_constant_address_altered.
12863 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
12864 (addr_affects_sp_p): Removed from note_mem_written and only
12865 define #ifdef AUTO_INC_DEC.
12867 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
12869 * regclass.c (record_reg_classes): Properly handle register move
12872 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
12873 Don't think valid if both operands are invalid.
12874 (struct constant_descriptor): New field RTL.
12875 (mark_const_hash_entry): Mark it.
12876 (record_constant{,_rtx}): Initialize it.
12877 (output_constant_def): Allocate RTL in permanent obstack and
12879 ({record,compare}_constant_1): Modes must match for
12880 CONSTRUCTOR of ARRAY_TYPE.
12882 * c-common.h (initializer_constant_valid_p): Delete decl from here.
12883 * output.h (initializer_constant_valid_p): Move decl to here.
12884 * c-common.c (initializer_constant_valid_p): Delete function from here.
12885 * varasm.c (initializer_constant_valid_p): Move function to here.
12887 * tree.h (STRIP_SIGN_NOPS): New macro.
12888 * fold-const.c (optimize_minmax_comparison): New function.
12889 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
12890 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
12891 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
12892 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
12893 widening conversions.
12894 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
12895 to look at size of mode, not precision of type; also add missing cases.
12896 (optimize_bit_field_compare, decode_field_reference): Don't try to
12897 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
12899 * dwarf2out.c (ctype.h): Include.
12900 (dwarf2out_set_demangle_name_func): New function.
12901 (size_of_line_info): Deleted.
12902 (output_line_info): Compute size of line info table from difference
12904 (base_type_die, add_name_attribute): Call demangle function, if any.
12905 (field_byte_offset): Use bits per word for variable length fields.
12906 (gen_array_type_die): Add array name.
12907 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
12908 (dwarf2out_add_library_unit_info): New function.
12910 * explow.c (set_stack_check_libfunc): New function.
12911 (stack_check_libfunc): New static variable.
12912 (probe_stack_range): Allow front-end to set up a libfunc to call.
12914 * combine.c (simplify_comparison): When making comparison in wider
12915 mode, check for having commuted an AND and a SUBREG.
12916 (contains_muldiv): New function.
12917 (try_combine): Call it when dividing a PARALLEL.
12918 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
12919 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
12921 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
12922 use one of the CLOBBERs instead.
12923 (if_then_else_cond): If comparing against zero, just return thing
12926 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
12927 Don't generate shifts and subtract if have conditional arithmetic.
12929 * rtl.h (delete_barrier): New declaration.
12930 * jump.c (jump_optimize): Set up to handle conditional call.
12931 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
12932 (delete_barrier): New function.
12934 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
12936 * recog.c (nonmemory_operand): Accept ADDRESSOF.
12938 * tree.c (build_type_attribute_variant): Push to obstack of
12939 ttype around type_hash_canon call.
12941 * expr.c (placeholder_list): Move decl to file scope.
12942 (expand_expr): Don't force access to volatile just because its
12944 If ignoring reference operations, just expand the operands.
12945 (expand_expr, case COMPONENT_REF): Propagate
12946 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
12947 Refine test for using bitfield operations vs pointer punning.
12948 (expand_expr, case CONVERT_EXPR): If converting to
12949 BLKmode UNION_TYPE from BLKmode, just return inner object.
12950 Use proper mode in store_field call.
12951 Properly set sizes of object to store and total size in store_field
12952 call for convert to union.
12953 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
12954 memory (like for ADDR_EXPR). Also, don't put constant in register if
12955 we'll want it in memory.
12956 (readonly_fields_p): New function.
12957 (expand_expr, case INDIRECT_REF): Call it if LHS.
12958 (expand_assignment): Handle a RESULT_DECL where
12959 DECL_RTL is a PARALLEL.
12960 (do_jump, case WITH_RECORD_EXPR): New case.
12961 (get_inner_reference): Always go inside a CONVERT_EXPR
12962 and NOP_EXPR if both modes are the same.
12963 (store_field): Use bitfield operations if size of bitsize is not same
12964 as size of RHS's type.
12965 Check for bitpos not a multiple of alignment in BLKmode case.
12966 Do block move in largest possible alignment.
12967 (store_constructor): Set BITSIZE to -1 for variable size and properly
12968 in case of array of BLKmode.
12969 (expand_expr_unaligned): New function.
12970 (do_compare_and_jump): Call it.
12972 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
12973 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
12974 does not include 'o'.
12976 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
12977 both SET_DEST and SET_SRC reference a virtual register.
12978 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
12980 * integrate.c (expand_inline_function): Handle case of setting
12981 virtual stack vars register (from built in setjmp); when parameter
12982 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
12983 (subst_constant): Add new parm, MEMONLY.
12984 (expand_inline_function, integrate_parm_decls): Pass new parm.
12985 (integrate_decl_tree): Likewise.
12986 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
12987 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
12988 (copy_rtx_and_substitute, case SET): Add explicit calls to
12989 copy_rtx_and_substitute for both sides.
12991 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
12993 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
12994 within INDEX_TYPE, instead of before.
12995 (fixup_gotos): Use f->target_rtl, not the next insn,
12996 since latter may be from a later fixup.
12997 (expand_value_return): Correctly convert VAL when promoting function
12998 return; support RETURN_REG being a PARALLEL.
12999 (expand_return): When checking for result in regs and having
13000 cleanup, consider PARALLEL in DECL_RTL as being in regs.
13002 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
13004 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
13005 last_nominal_fname): Mark const.
13006 (struct include_hash: name, nshort, control_macro): Mark
13008 (struct macrodef: symnam): Mark const.
13009 (struct if_stack: fname): Mark const.
13010 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
13011 (IStable): New character-syntax array which encompasses all
13012 the old is_foo arrays.
13013 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
13014 is_space): New macros for interrogating IStable.
13015 (check_macro_name): Kill last argument. All callers changed.
13017 * cppinit.c (initialize_char_syntax): Delete.
13018 (is_idchar, is_idstart, is_hor_space, is_space,
13019 trigraph_table): Delete.
13020 (IStable): New. Initialize with clever macros to avoid
13021 information duplication.
13022 (builtin_array): Table of builtins to get rid of explicit list
13023 in initialize_builtins.
13024 (initialize_builtins): Use builtins_array.
13025 (cpp_start_read): Call init_IStable, and set IStable['$'] if
13026 opts->dollars_in_ident.
13028 * cppexp.c: Change all refs to is_xyz[] arrays to use new
13030 (cpp_parse_expr): Avoid 'format string is not constant'
13031 warning. Use ISGRAPH to identify printable chars.
13032 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
13034 (read_and_prescan): Map trigraphs to chars with open-coded
13035 if-else-if-... sequence, not a lookup table.
13036 * cpphash.c: Change all refs to is_xyz[] arrays to use new
13038 * cpplib.c: Change all refs to is_xyz[] arrays to use new
13039 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
13040 (check_macro_name): Remove ability to report an invalid
13041 assertion name, which is never used.
13042 (do_line): Constify a couple of char *'s.
13043 * cppmain.c (main): Call cpp_cleanup before returning.
13045 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
13047 * ggc.h (struct ggc_statistics): New type.
13048 (ggc_get_size): New function.
13049 (ggc_print_statistics): Likewise.
13050 * ggc-common.c (ggc_stats): New variable.
13051 (ggc_mark_rtx_children): Keep statistics.
13052 (ggc_mark_tree_children): Likewise.
13053 (ggc_print_statistics): New function.
13054 * ggc-page.c (struct globals): Add bytes_mapped field.
13055 (alloc_anon): Update it.
13056 (release_pages): Likewise.
13057 (ggc_get_size): New function.
13058 (ggc_page_print_statistics): New function.
13059 * ggc-simple.c (ggc_get_size): New function.
13061 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
13063 * flow.c (propagate_block): When the last reference to a label
13064 before an ADDR_VEC is deleted because the reference is a dead
13065 store, delete the ADDR_VEC.
13067 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
13069 * resource.c (find_free_register): Don't use the frame pointer
13070 if frame_pointer_needed.
13072 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
13074 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
13075 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
13077 * config/i960/i960.c (i960_va_start): New locals base, num.
13078 Use INDIRECT_REF instead of ARRAY_REF on valist.
13079 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
13081 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
13083 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
13085 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
13087 * tree.def (PLACEHOLDER_EXPR): Update comments.
13089 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13091 * c-common.c (check_format_info): Avoid non-literal format string
13092 warnings when `first_arg_num' is zero.
13094 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13096 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
13098 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
13100 * arm.md (casesi_insn): Add a clobber of the condition code
13103 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
13105 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
13106 used by both cc1 and cc1plus.
13108 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
13110 * config/arm/arm.c: Initialise arm_structure_size_boundary to
13111 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
13112 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
13113 to the value 32 if it has not already been defined.
13114 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
13115 Override definition in arm.h with a value of 8.
13117 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
13119 * c-pragma.c (push_alignment): Don't check the return value
13122 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
13124 * sparc.h (ADJUST_COST): Fix thinko.
13126 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
13128 * cccp.c (rescan): Fixed obp pointer handling around call to
13129 check_expand subroutine.
13131 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
13133 * gcse.c (delete_null_pointer_checks): Only record non-null info
13134 for pseudos when examining stores.
13136 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
13137 splitters for these patterns. Use "#" for output templates.
13138 (addsi3_carryin_shift): New pattern.
13140 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
13142 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
13143 of the function return register into a plain REG until
13144 after function inlining is done.
13146 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
13148 * jump.c (jump_optimize_1): If we did cross-jumping, and
13149 the data will matter, rebuild the CFG.
13150 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
13151 not optimizing. Don't run shorten_branches.
13152 * toplev.c (rest_of_compilation): Run shorten_branches after
13155 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
13157 * rtl.h (note_stores): Add additional paramter.
13158 * rtlanal.c (reg_set_p_1): Take additional paramter.
13159 (reg_set_last_1): Likewise.
13160 (reg_set_p): Adjust call to note_stores.
13161 (reg_set_last): Likewise.
13162 (note_stores): Pass data parameter to worker function.
13163 * alias.c (record_set): Take additional parameter.
13164 (init_alias_analysis): Pass it.
13165 * caller-save.c (mark_set_regs): Take additional parameter.
13166 (save_call_clobbered_regs): Pass NULL to note_stores.
13167 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
13169 (record_dead_and_set_regs_1): Likewise.
13170 (reg_dead_at_p_1): Likewise.
13171 (combine_instructions): Adjust calls to note_stores.
13172 (try_combine): Likewise.
13173 (record_dead_insn): Remove.
13174 (record_dead_and_set_regs): Adjust calls to note_stores.
13175 (reg_dead_at_p): Likewise.
13176 * cse.c (invalidate_skipped_set): Take additional parameter.
13177 (cse_check_loop_start): Likewise.
13178 (cse_check_loop_start_value): Remove.
13179 (cse_set_around_loop): Adjust calls to note_stores.
13180 * flow.c (notice_stack_pointer_modification): Take additional
13181 parameter. Remove duplicate declaration.
13182 (record_volatile_insns): Adjust calls to note_stores.
13183 * gcse.c (record_set_info): Take additional parameter.
13184 (record_last_set_info): Likewise.
13185 (invalidate_nonnull_info): Likewise.
13186 (record_set_insn): Remove.
13187 (compute_sets): Adjust calls to note_stores.
13188 (last_set_insn): Remove.
13189 (compute_hash_table): Adjust calls to note_stores.
13190 (insert_insn_end_bb): Likewise.
13191 (delete_null_pointer_checks): Likewise.
13192 * global.c (mark_reg_store): Take additional parameter.
13193 (mark_reg_clobber): Likewise.
13194 (reg_becomes_live): Likewise.
13195 (global_conflicts): Adjust calls to note_stores.
13196 (build_insn_chain): Likewise.
13197 * integrate.c (note_modified_parmregs): Take additional parameter.
13198 (mark_stores): Likewise. Make it static.
13199 (save_for_inline_nocopy): Adjust calls to note_stores.
13200 (try_constants): Likewise.
13201 * integrate.h (mark_stores): Remove declaration.
13202 * jump.c (mark_modified_reg): Take additional parameter.
13203 (thread_jumps): Adjust calls to note_stores.
13204 * local-alloc.c (validate_equiv_mem_from_store): Take additional
13206 (no_equiv): Likewise.
13207 (reg_is_set): Likewise.
13208 (validate_equiv_mem): Adjust calls to note_stores.
13209 (update_equiv_regs): Likewise.
13210 (block_alloc): Likewise.
13211 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
13212 (note_addr_stored): Take additional parameter.
13213 (note_set_pseudo_multiple_uses): Likewise.
13214 (record_initial): Likewise.
13215 (prescan_loop): Adjust calls to note_stores.
13216 (strength_reduce): Likewise.
13217 (check_dbra_loop): Likewise.
13218 * regmove.c (flags_set_1): Take additional paramter.
13219 (mark_flags_life_zones): Adjust calls to note_stores.
13220 * reload1.c (mark_not_eliminable): Take additional parameter.
13221 (forget_old_reloads_1): Likewise.
13222 (reload_cse_invalidate_rtx): Likewise.
13223 (reload_cse_check_clobber): Likewise.
13224 (reload_combine_note_store): Likewise.
13225 (move2add_note_store): Likewise.
13226 (reload): Adjust calls to note_stores.
13227 (reload_as_needed): Likewise.
13228 (emit_reload_insns): Likewise.
13229 (reload_cse_regs_1): Likewise.
13230 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
13231 (reload_combine): Adjust calls to note_stores.
13232 * resource.c (update_live_status): Take additional paramter.
13233 (mark_target_live_regs): Adjust calls to note_stores.
13234 * stupid.c (find_clobbered_regs): Take additional parameter.
13235 (stupid_life_analysis): Adjust calls to note_stores.
13237 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
13239 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
13242 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
13245 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
13246 of the variable arm_structure_size_boundary.
13248 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
13250 * alias.c (init_alias_analysis): Allocate reg_known_value and
13251 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
13253 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
13254 * cse.c (cse_main): Call end_alias_analysis.
13255 * haifa-sched.c (schedule_insns): Likewise.
13256 * local-alloc. (update_equiv_regs): Likewise.
13257 * reload1.c (reload_cse_regs): Likewise.
13259 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13261 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
13262 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
13263 mapping from MASK_FPU.
13265 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
13267 * sparc.md (call): Don't bound structure return size to 0xfff.
13269 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
13271 * resource.c (mark_target_live_regs): Check that the target
13272 insn wasn't created after compute_bb_for_insn.
13274 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
13276 * ggc-page.c (poison_pages): Don't be overzealous.
13278 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
13280 * alias.c: Update comments for ADDRESS.
13281 (nonlocal_reference_p): Look inside the ADDRESS to determine if
13282 it is a local memory reference.
13284 * c-typeck.c (build_function_call): Check that the built-in
13285 function is of class BUILT_IN_NORMAL before trying to recongize
13286 it as BUILT_IN_ABS.
13287 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
13288 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
13290 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
13292 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
13294 (pre_gcse): Likewise.
13295 (hoist_expr_reaches_here_p): Likewise.
13296 (hoist_code): Likewise.
13297 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
13299 (pre_expr_reaches_here_p_work): ... here.
13300 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
13302 (expr_reaches_here_p_work): ... here.
13304 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
13306 * resource.c (find_basic_block): Delete.
13307 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
13308 (init_resource_info): Call compute_bb_for_insn.
13310 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
13312 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
13313 with already adjacent blocks, but no fallthru.
13314 (merge_blocks_move_successor_nojumps): Simplify.
13315 (debug_flow_info): New.
13317 * toplev.c (rest_of_compilation): Open jump1 dump file before
13318 jump and close after, as opposed to just using dump_rtl.
13320 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13322 * reload.h (earlyclobber_operand_p): Declare.
13323 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
13324 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
13325 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
13326 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
13328 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
13329 Richard Henderson <rth@cygnus.com>
13331 * emit-rtl.c (emit_block_insn_before): New.
13332 (emit_block_insn_after): New.
13333 * basic-block.h: Declare them.
13335 * bitmap.h: Protect from multiple inclusion.
13337 * recog.c (scratch_operand): Handle VOIDmode correctly.
13339 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
13341 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
13342 * function.c (assign_parms): Likewise.
13343 * global.c (global_conflicts): Clarify STACK_REGS commentary.
13345 * reg-stack.c (max_uid): Remove.
13346 (blocks, block_begin, block_end, block_drops_in): Remove.
13347 (block_stack_in, block_out_reg_set, block_number): Remove.
13348 (struct block_info_def, BLOCK_INFO): New.
13349 (enum emit_where): New.
13350 (current_block): New.
13351 (BLOCK_NUM): Remove.
13352 (mark_regs_pat, record_label_references): Remove.
13353 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
13355 (goto_block_pat, print_blocks, dump_stack_info): Remove.
13356 (reg_to_stack): Simplified test for existance of fp code. Use
13357 flow.c code. Call shorten_branches after cross-jump opt.
13358 (check_asm_stack_operands): Renamed from record_asm_reg_life.
13359 Return false if the asm doesn't use stack regs. Don't do life
13360 analysis on the asm.
13361 (emit_pop_insn): Replace function pointer arg `when' with
13362 enum `where'. Update all callers.
13363 (change_stack): Likewise. Update basic block end.
13364 (emit_swap_insn): Use current_block->head to limit reverse search
13365 for start of block. Use emit_block_insn_after.
13366 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
13367 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
13368 structure assignment instead of bcopy.
13369 (print_stack): New.
13370 (convert_regs_entry, convert_regs_exit): New.
13371 (convert_regs_1, convert_regs_2): Split out from convert_regs.
13372 Work on basic blocks and the CFG.
13373 (convert_regs): Use them.
13375 * i386.c (output_fix_trunc): Remove code for DImode input operand
13376 not at top-of-stack.
13377 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
13379 (fix_truncdi_1): Allow any mode scratch.
13381 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
13383 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
13384 * linux.h, netbsd.h, vms.h: Not here.
13386 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
13388 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
13389 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
13390 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
13391 CONDITIONAL_REGISTER_USEAGE): Use them.
13392 * config/mips/mips.c (mips_move_1word,mips_move_2words,
13393 gen_conditional_branch,override_options) : Use them.
13394 * config/mips/mips.md : Use them.
13396 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
13398 * i386.md (zero_extendqihi2): Use SImode register name with andl.
13400 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
13402 * integrate.c (function_cannot_inline_p): Don't allow inlining
13405 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13407 * c-parse.in (cast_expr): Constify.
13409 * cccp.c (special_symbol): Likewise.
13411 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
13413 * dwarf2out.c (base_type_die): Likewise.
13415 * global.c (allocno_compare): Likewise.
13417 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
13419 * regclass.c (fix_register): Likewise.
13421 * rtl.h (fix_register): Likewise.
13423 * stupid.c (stupid_reg_compare): Likewise.
13425 * toplev.c (decode_f_option): Likewise.
13427 * tree.c (build_complex_type): Likewise.
13429 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
13431 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
13433 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13435 * reload.c (find_reloads): Compute mode and nregs fields of all
13437 * reload1.c (calculate_needs_all_insns): Simplify a bit.
13438 (calculate_needs): Use precomputed mode/nregs values.
13439 (allocate_reload_reg): Likewise.
13441 (failed_reload, set_reload_reg): ... new functions.
13442 (choose_reload_regs_init): New function, mostly broken out from...
13443 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
13444 Also lose one #if 0 block.
13446 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
13448 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
13451 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
13453 * tree.h (BLOCK_TYPE_TAGS): Remove.
13454 (BLOCK_END_NOTE): Likewise.
13455 (BLOCK_LIVE_RANGE_FLAG): Likewise.
13456 (BLOCK_LIVE_RANGE_START): Likewise.
13457 (BLOCK_LIVE_RANGE_END): Likewise.
13458 (tree_block): Remove live_range_flag, live_range_var_flag, and
13459 type_tags. Remove end_note, live_range_start, and live_range_end.
13460 (remember_end_note): Remove prototype.
13461 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
13462 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
13464 * ggc-common.c (ggc_mark_tree_children): Don't mark
13465 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
13466 * integrate.c (adjust_copied_decl_tree): Remove.
13467 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
13468 * stmt.c (last_block_end_note): Remove.
13469 (init_stmt): Don't add a GC root for it.
13470 (expand_fixup): Don't set it.
13471 (remember_end_note): Remove.
13472 (expand_end_bindings): Don't set last_block_end_note.
13474 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13476 * reload1.c (reload_reg_free_for_value_p): Show
13477 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
13480 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
13482 * expmed.c (extract_bit_field): Allow for the case of non-integer
13483 objects that are smaller than a word (like SFmode on a 64-bit
13486 * loop.c (basic_induction_var): A non-integer variable which is
13487 being set by a paradoxical subreg is probably not a biv.
13489 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13491 * prefix.c (translate_name) Check for empty prefix string.
13493 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
13495 * Makefile.in (CPP_CROSS_NAME): New variable.
13496 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
13498 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
13499 names of the files to be uninstalled.
13501 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
13503 * collect2.c (IS_DIR_SEPARATOR): Define.
13504 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
13506 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
13509 * haifa-sched.c (add_dependence): Update the true dependency
13510 cache the first time we add a true dependence to the LOG_LINKS chain.
13512 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
13514 * fold-const.c (fold): Fix comment.
13516 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13518 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
13519 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
13520 dbxout_start_new_source_file, dbxout_source_file,
13521 dbxout_source_line, dbxout_finish, dbxout_type_fields,
13522 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
13524 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
13525 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
13526 (dbxout_block): Initialize variable `blocknum'.
13528 * dbxout.h (dbxout_init, dbxout_finish,
13529 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
13530 dbxout_args, dbxout_source_line): Constify a char*.
13532 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
13533 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
13534 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
13535 low_pc_attribute, high_pc_attribute, body_begin_attribute,
13536 body_end_attribute, comp_dir_attribute, sf_names_attribute,
13537 src_info_attribute, mac_info_attribute, producer_attribute,
13538 lookup_filename, generate_macinfo_entry, fundamental_type_code,
13539 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
13540 dwarfout_undef): Constify a char*.
13541 (add_incomplete_type, retry_incomplete_types): Add prototypes.
13543 * dwarfout.h (dwarfout_define, dwarfout_undef,
13544 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
13546 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
13548 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
13549 (MULTILIB_ISA_DEFAULT): New.
13550 (MULTILIB_DEFAULTS): Use it.
13551 * config/mips/mips.c (): Remove the now unnecessary definition
13552 of MIPS_ISA_DEFAULT.
13553 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
13554 unnecessary definition.
13556 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
13558 * arm.md (pic_load_addr): Add constraints to operand 1.
13560 1999-10-25 Bruce Korb <autogen@linuxbox.com>
13562 * fixinc/genfixes: Provide a means for specifying -D options to
13565 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
13567 * arm.c (arm_override_options): Correct initialization of
13568 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
13569 arm_is_strong, and arm_is_6_or_7.
13571 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
13572 (note_set_pseudo_multiple_uses): New function.
13573 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
13574 if a pseudo set in the loop exit is used elsewhere.
13576 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
13578 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
13580 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
13582 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
13583 a single load-address pattern.
13585 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
13587 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
13588 depending on whether or not line-number notes are present.
13590 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13592 * cccp.c (progname, file_buf, default_include, include_file,
13593 macrodef, definition, hashval, wchar_type, user_label_prefix,
13594 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
13595 expand_to_temp_buffer, is_system_include, base_name,
13596 absolute_filename, read_name_map, open_include_file,
13597 record_control_macro, check_precompiled, check_preconditions,
13598 pcfinclude, pass_thru_directive, create_definition,
13599 check_macro_name, comp_def_part, collect_expansion,
13600 check_assertion, read_token_list, assertion_install,
13601 assertion_lookup, eval_if_expression, conditional_skip,
13602 validate_else, skip_quoted_string, quote_string, macarg1,
13603 error_from_errno, install, lookup, hashf, dump_defn_1,
13604 perror_with_name, pfatal_with_name, main, trigraph_pcp,
13605 check_white_space, rescan, handle_directive, monthnames,
13606 special_symbol, do_include, remap_include_file, write_output,
13607 arglist, do_assert, do_unassert, do_line, do_error, do_once,
13608 do_ident, do_sccs, do_xifdef, skip_if_group,
13609 output_line_directive, macroexpand, macarg, change_newlines,
13610 initialize_builtins, make_definition): Constify a char*.
13612 * pcp.h (stringdef): Likewise.
13614 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
13616 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
13619 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
13620 Richard Henderson <rth@cygnus.com>
13622 * alias.c: Include ggc.h.
13623 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
13624 (record_set): Verify enough room in reg_base_value.
13625 (init_alias_analysis): Allocate reg_base_value with xcalloc.
13626 Register it as a GC root.
13627 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
13628 * Makefile.in (alias.o): Depend on ggc.h.
13630 * unroll.c (unroll_loop): Verify the insn before a barrier
13631 is a JUMP_INSN before checking JUMP_LABEL.
13633 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13635 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
13636 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
13637 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
13638 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
13639 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
13640 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
13642 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13644 * output.h (ctors_section, dtors_section, bss_section): Prototype.
13646 * alpha/alpha-interix.h (text_section): Delete prototype.
13647 * alpha/elf.h (text_section): Likewise.
13648 * arm/linux-elf.h (text_section): Likewise.
13649 * arm/linux-telf.h (text_section): Likewise.
13650 * c4x/c4x.h (text_section): Likewise.
13651 * dsp16xx/dsp16xx.h (bss_section): Likewise.
13652 * elfos.h (text_section): Likewise.
13653 * i386/aix386ng.h (text_section): Likewise.
13654 * i386/i386-interix.h (text_section): Likewise.
13655 * i386/sco5.h (text_section): Likewise.
13656 * i386/svr3gas.h (text_section): Likewise.
13657 * nextstep.h (text_section): Likewise.
13658 * psos.h (text_section): Likewise.
13659 * ptx4.h (text_section): Likewise.
13660 * svr3.h (text_section): Likewise.
13661 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
13663 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13665 * final.c (peephole): Delete prototype.
13667 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
13668 (pre_insert_copies): Remove unused variable `bb'.
13670 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
13673 * output.h (peephole): Add prototype.
13675 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
13677 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
13680 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
13682 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
13683 for inlined declarations.
13685 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
13687 * arm.c (logical_binary_operator): New fucntion.
13688 * arm.h (logical_binary_operator): Declare it.
13689 (PREDICATE_CODES): Handle logical_binary_operator.
13690 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
13691 output constraints. Add appropriate splitters.
13692 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
13693 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
13694 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
13696 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13698 * genoutput.c (struct operand_data): New elt eliminable.
13699 (output_operand_data): Write it.
13700 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
13701 (compare_operands): Take it into account.
13702 * recog.h (struct insn_operand_data): New elt eliminable.
13703 * reload1.c (check_eliminable_occurrences, elimination_effects): New
13705 (old_asm_operands_vec, new_asm_operands_vec): Delete.
13706 (eliminate_regs): Move code that detects changes to elimination
13707 target regs into new function elimination_effects.
13708 Delete one #if 0 block.
13709 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
13710 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
13711 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
13712 Only call eliminate_regs for real operands of the insn, not for parts
13713 of its structure or parts matched by things like match_operator.
13714 Use elimination_effects and check_eliminable_occurrences. Use
13715 copy_insn to duplicate the pattern when not in the final pass.
13717 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
13719 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
13722 1999-10-22 Bruce Korb <autogen@linuxbox.com>
13724 * fixinc/README: document the "mach" machine matching test
13725 * fixinc/fixfixes.c: Implement the #else/#endif label fix
13726 * fixinc/fixtests.c: Implement the #else/#endif label test
13727 * fixinc/inclhack.def: utilize these tests and fixes
13728 * fixinc/inclhack.sh: regen
13729 * fixinc/fixincl.x: regen
13730 * fixinc/fixincl.sh: regen
13732 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
13734 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
13737 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
13739 * gcc.1: Document exit codes.
13741 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13743 * calls.c: Include tm_p.h later, so everything we need is defined.
13744 * expr.c: Likewise.
13745 * function.c: Likewise.
13747 * except.c: Include tm_p.h.
13749 * sparc.c: Likewise.
13750 (dwarf2out_cfi_label): Don't prototype.
13751 (check_return_regs, epilogue_renumber,
13752 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13753 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
13754 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
13755 ultra_schedule_insn): Add static prototype.
13756 (data_segment_operand, text_segment_operand): Call itself with the
13757 proper number of arguments.
13758 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
13760 * sparc.h: Move all declarations to sparc-protos.h.
13761 (SELECT_RTX_SECTION): Pass a missing MODE argument to
13764 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
13766 * config/svr4.h (text_section, ctors_section, dtors_section): Add
13768 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
13769 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
13770 ASM_OUTPUT_ASCII): Constify a char*.
13772 * sparc-protos.h: New file for sparc prototypes.
13774 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13776 * function.c (record_insns, contains): Always declare and define.
13777 (record_insns): Mark with ATTRIBUTE_UNUSED.
13779 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
13781 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
13782 to .section when outputting a .bss section to deal with multiple
13783 .bss input sections (as happens with -fdata-sections)
13784 Also output %progbits, not @progbits so the assembler doesn't treat as
13786 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
13788 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
13789 thumb parts even when building with non-thumb CPUs, by forcing
13792 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
13794 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
13795 (movdf_const_intreg_sp64): Similarly.
13797 * local-alloc.c (update_equiv_regs): Check the correct insn
13798 for pre-existing REG_EQUIV notes.
13800 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
13802 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
13803 block reached by a branch if we're not going to actually process
13806 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
13808 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
13809 a local extern function declaration.
13811 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
13813 * i386.c (ix86_expand_prologue): Properly wrap USE around
13814 reg for CALL_INSN_FUNCTION_USAGE.
13816 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
13818 * config/mips/mips.md (movdf_internal1a): Allow floating-point
13819 move between GP_REGs.
13821 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
13823 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
13824 the mode size when finding out if an offset is legal.
13826 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
13828 * basic-block.h (PROP_*): Move constants from ...
13829 * flow.c: ... here.
13830 (compute_bb_for_insn): Free the array before reallocating.
13831 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
13832 (allocate_reg_life_data): Reset all reg variables collected by
13834 (get_block_head_tail): Don't convert from bb to block.
13835 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
13836 (find_insn_reg_weight): Take block not bb.
13837 (schedule_block): Don't set block num for moved insns.
13838 (schedule_region): Don't update_life_info or find_insn_reg_weight.
13839 (schedule_insns): Do it here instead.
13840 * combine.c (combine_instructions): Invoke compute_bb_for_insn
13841 before update_life_info.
13842 * recog.c (split_all_insns, peephole2_optimize): Update for
13843 new arg to update_life_info.
13844 * rtlanal.c (remove_note): Cope with NULL note.
13845 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
13848 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
13850 * jump.c (jump_optimize_1): More accurately detect casesi insns.
13852 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
13853 block records so that merge_blocks_nomove will clean up correctly.
13854 (split_edge): Handle casesi insns.
13856 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
13858 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
13860 * pa.md (call, call_value): Do not emit a blockage after restoring
13863 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
13865 * c-typeck.c (c_expand_asm_operands): Fix typo.
13867 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13869 * arm.c (fpu_rhs_operand): Verify modes.
13870 (fpu_add_operand): Likewise.
13871 (di_operand): Likewise.
13872 (soft_df_operand): Likewise.
13874 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
13876 * arm.c (arm_return_in_memory): APCS rules state that the elements
13877 of a structure returned in a register must be 'integer-like'.
13879 1999-10-19 Bruce Korb <autogen@linuxbox.com>
13881 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
13882 in the source tree when the generated targets are out of date
13883 * fixinc/genfixes: Alter it to run individual fixes for make.
13884 * fixinc/README: rewrite
13885 * fixinc/inclhack.def: moved initial comments to README
13887 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
13889 * toplev.c (main): Do not generate an error message if an
13890 unrecognised command line switch is recognisable by another
13891 language. If extra_warnings are enabled, then generate a
13892 warning message instead.
13894 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
13896 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
13897 (insert_pack_attributes): Delete prototype.
13899 * c-pragma.c (default_alignment): New static variable.
13900 (push_alignment): Initialize to current effective alignment.
13901 (pop_alignment): Use to set new alignment.
13902 (insert_pack_attributes): Delete function.
13903 (handle_pragma_token): Set default_alignment as well each time
13904 a #pragma pack(<n>) is encountered.
13906 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
13908 * reg-stack.c (stack_result): Aggregates are not returned in
13911 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
13913 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
13915 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
13917 * basic-block.h (set_block_num): Declare.
13918 * flow.c (update_life_info): Don't call compute_bb_for_insn
13919 or free_basic_block_vars.
13920 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
13921 (insn_orig_block): Remove.
13922 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
13923 (schedule_block): Keep BLOCK_NUM up-to-date.
13924 (schedule_insns): Use compute_bb_for_insn.
13925 * recog.c (split_all_insns): Likewise.
13926 (peephole2_optimize): Likewise.
13928 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
13930 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
13931 if the pic register is used.
13933 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13935 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
13936 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
13937 if that tests TREE_PERMANENT.
13939 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
13941 * cse.c (invalidate_for_call): Do not remove memory references from
13942 the table here. It's handled elsewhere.
13944 * haifa-sched.c (add_dependence): Protect references to the
13945 true dependency cache with #ifdef INSN_SCHEDULING.
13946 (remove_dependence): Similarly.
13948 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
13949 to the cfg code that this is a return instruction.
13950 * mn10300.md (return_internal): Similarly.
13952 * combine.c (get_last_value): If the last set of a register
13953 is after subst_low_cuid, then we can not use it to determine
13954 the register's last value.
13956 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
13958 * Makefile.in: Back out previous change.
13960 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
13962 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
13964 * haifa-sched.c (add_dependence): Only check/update the cache
13966 (remove_dependence): Likewise.
13967 (schedule_insns): Only create the true_dependency_cache if the
13968 average number of instructions in a basic block is very large.
13970 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
13972 * Makefile.in (ggc-common.o): Depend on genrtl.h.
13973 (ggc-simple.o): Likewise.
13974 (ggc-page.o): Likewise.
13976 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
13978 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
13979 Prototype for exported functions.
13980 (pre_lcm, pre_rev_lcm): Remove prototypes.
13981 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
13982 (compute_available): Move to lcm.c, and change parameter order.
13983 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
13984 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
13985 (gcse_main): No longer call compute_preds_succs. Rebuild the
13986 set table after reach pre pass.
13987 (pre_insert_map, pre_delete_map, edge_list): New.
13988 (alloc_pre_mem): Allocate edge vectors.
13989 (free_pre_mem): Delete edge vectors.
13990 (compute_pre_data): Call new edge based lcm routines.
13991 (process_insert_insn): New function.
13992 (insert_insn_end_bb): Use it.
13993 (pre_edge_insert): New function.
13994 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
13996 (pre_insert_copies): Revamp using new edge based lcm outputs.
13997 (pre_delete): Likewise.
13998 (one_pre_gcse_pass): Insert & remove fake edges to the exit
14000 (compute_code_hoist_vbeinout): New new edge based routines.
14001 * lcm.c: Remove all the old LCM functions. Replace with new ones
14002 that work with the new cfg datastructures and work with edges
14005 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14007 * reload.h (struct reload): Add new fields "mode" and "nregs".
14008 * reload1.c: Change all occurrences of reload_mode and reload_nregs
14009 to reference the "mode" and "nregs" field within struct reload.
14011 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
14013 * haifa-sched.c (true_dependency_cache): New.
14014 (add_dependence): Use the true dependency cache to avoid expensive
14015 walks down the LOG_LINKS dependency list. Add entries to the
14016 cache as necessary.
14017 (remove_dependence): Remove entries from the true dependency cache
14019 (schedule_insns): Allocate and initialize and free the true
14022 * haifa-sched.c (schedule_insns): Do not remove inter-block
14023 dependencies anymore.
14025 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
14027 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
14028 * i386/t-winnt: Likewise.
14030 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
14032 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
14034 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
14036 * Makefile.in (LANGUAGES): Omit "proto".
14037 (clean): Remove stale comment about removing unprotoize.c.
14039 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14041 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
14042 using arithmetic on void pointers.
14044 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
14046 * haifa-sched.c (compute_block_forward_dependencies): Only check
14047 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
14049 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
14051 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
14052 (expr_equiv_p): Reject memories with different alias sets.
14054 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
14056 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
14057 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
14058 (f_options): Add "bounded-pointers" and "bounds-check" entries.
14059 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
14060 (lang_init): Set default for flag_bounds_check if still "unspecified".
14062 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14064 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
14066 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14068 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
14071 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14073 * config/c4x/c4x.md (*db_noclobber,
14074 *decrement_and_branch_until_zero_noclobber): New patterns and
14075 associated splitters.
14077 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14079 * config/c4x/c4x.md (parallel instruction patterns): Rework
14080 constraints to keep reload happy.
14082 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14084 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
14085 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
14086 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
14087 Add new patterns and associated post-reload splitters.
14089 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14091 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
14093 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14095 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
14097 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
14099 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14101 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
14104 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
14106 * pa.c (move_operand): Rely on memory_address_p to determine the
14107 validity of non-indexed memory addresses.
14108 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
14109 operand in DFmode and SFmode when generating PA2.0 code.
14111 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
14113 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
14115 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
14117 * mips.c (function_prologue): Fix argument types.
14118 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
14119 (casesi_internal): Write to the scratch register.
14121 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
14123 * cppexp.c (cpp_parse_escape): Make static. Change second arg
14125 (parse_charconst): Delete unnecessary cast when calling
14127 (cpplib.h): Kill prototype of cpp_parse_escape.
14129 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
14131 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
14132 * unroll.c (unroll_loop): Cast return value of alloca.
14133 * i370/i370.c: Include function.h and toplev.h.
14134 (i370_label_scan): Remove c++ commented abort.
14135 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
14136 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
14137 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
14138 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
14140 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
14142 * config/t-freebsd: Do not override USER_H.
14143 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
14145 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
14146 Mumit Khan <khan@xraylith.wisc.edu>
14148 * c-parse.in (component_decl): Support anonymous struct/union.
14150 * c-parse.y: Regenerate.
14151 * c-parse.c: Likewise.
14152 * objc/objc-parse.y: Likewise.
14153 * objc/objc-parse.c: Likewise.
14154 * c-decl.c (finish_struct): Don't sort the fields.
14155 (field_decl_cmp): Delete unused function.
14157 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
14159 * sparc.md (movsf_const_intreg): Revert last constraint change.
14160 (movdf_const_intreg_sp32): Likewise.
14162 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
14164 * cse.c: Include hashtab.h instead of splay-tree.h
14165 (struct cse_reg_info): No longer use variant union. Add new
14166 field "regno". All references changed to avoid union.
14167 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
14168 (free_cse_reg_info): Remove.
14169 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
14170 (get_cse_reg_info): Revamp to use expandable hash tables instead
14171 of splay trees. Initialize new fields in cse_reg_info structure.
14172 (new_basic_block): Similarly.
14174 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
14176 * genrecog.c (message_with_line): Prototype.
14177 (validate_pattern): Pass along the set for the dest, not a flag.
14178 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
14179 Check for PC/CC0 as sources.
14180 (nodes_identical): Check for children position match before
14181 allowing the combination.
14183 * rtl.c (read_rtx): Track line number across \\\n.
14185 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
14187 * mips.h (SPECIAL_MODE_PREDICATES): New.
14188 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
14189 (movdi+1, movsi+1): Add output reload constraint.
14190 (casesi_internal): Likewise. Fix commentary.
14191 (return_internal): Use pmode_register_operand.
14193 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
14195 * 1750a.md (movstrqi): Add missing output reload constraint.
14196 (call_value): Likewise.
14197 * a29k.md (cpxxx patterns): Add missing match_operator mode.
14198 (jmpfdec): Add missing inout reload constraint.
14199 * elxsi.md (addsi patterns): Add missing output reload constraint.
14200 (move from sp): Use @ alternates.
14201 (call_value): No constraint on output.
14202 * fr30.md (movsi_pop): Add missing output reload constraint.
14203 (movsf_constant_store): Likewise.
14204 (splits): Remove constraints.
14205 (subsi3): Add missing mode.
14206 * i370.md (cmpstrsi+1): Add missing output reload constraint.
14207 (call_value): Likewise.
14208 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
14209 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
14210 * m32r.md (movsicc_internal): Add output reload constraint.
14211 (movstrsi_internal): Add inout reload constraints.
14212 * m88k.h (reg_names): Don't declare.
14213 (SPECIAL_MODE_PREDICATES): New.
14214 * m88k.md (*): Use register_operand not reg_or_0_operand
14216 * mn10200.h (PREDICATE_CODES): New.
14217 * ns32k.md (ffs pattern): Add output reload constraint.
14218 * pdp11.md (sob pattern): Add inout reload constraint.
14219 * sh.md (splits): Remove constraints.
14220 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
14221 * v850.md (pattern_is_ok_for_epilogue): Likewise.
14222 * vax.md (jgequ pattern): Add inout reload constraint.
14224 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
14226 * configure.in (djgpp): Revert previous patch.
14227 * configure: Rebuit.
14228 * config/i386/djgpp.h: Revert previous patch.
14230 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
14232 * fixinc/inclhack.def: Restore patch lost during last merge of
14233 "no_bogosity" branch.
14234 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
14236 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
14238 * fixincludes: Add a HPUX 11 fix for inttypes.h.
14239 * fixinc/inclhack.def: Same.
14240 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
14242 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
14244 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
14245 as the base of a PLUS.
14247 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14249 * config/c4x/c4x.md: Define mode for remaining unspec operators.
14250 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
14252 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
14254 * pa.md (post_stw+1): Use pmode_register_operand.
14255 (dcacheflush, icacheflush): Likewise.
14257 * i386.md (movstricthi_1): Allow r/r.
14259 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
14261 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
14262 to (not (and (arg0) (arg1))). Similary for and.
14264 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
14265 fallthrough to associate code.
14266 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
14269 * combine.c (simplify_logical): Convert XOR to IOR if operands have
14270 no bits in common; remove XOR to ROTATE conversion.
14272 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14274 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
14276 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14278 * config/c4x/c4x.c (dst_operand): New.
14279 (PREDICATE_CODES): Update.
14280 * config/c4x/c4x.h (dst_operand): Declare it.
14281 * config/c4x/c4x.md: Define mode for each unspec usage.
14282 (move patterns): Use dst_operand predicate instead of src_operand.
14283 (movqi_update, movqf_update): Delete.
14285 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
14287 * recog.c (pmode_register_operand): New.
14288 * recog.h: Declare it.
14289 * genrecog.c (pred_codes): Likewise.
14290 (special_mode_pred_table): Likewise.
14291 (validate_pattern): Don't warn no mode for address_operand.
14293 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
14294 if the operand is not insn-like.
14296 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
14297 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
14299 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
14301 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
14303 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
14304 instead of general_operand in a SET_DEST. Use const_double_operand
14305 instead of an explicit test against CONST_DOUBLE.
14306 (movsf_const_lo): Add missing register mode.
14307 (goto_handler_and_restore): Add auxiliary test for Pmode.
14308 (flush): Adjust to use address_operand.
14309 (return_sf_no_fpu): Add missing output constraint.
14311 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
14313 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
14314 for call return value.
14315 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
14317 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
14319 * toplev.c (main): Only warn about options for other languages.
14320 * collect2.c (main): Pass -w to sub-gcc.
14322 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
14324 * flow.c (propagate_block): Add call-clobbered registers to
14327 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
14328 zapping mem_set_list.
14329 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
14330 (mark_set_1, mark_used_regs): Likewise.
14332 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
14334 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
14336 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14338 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
14339 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
14340 options. Also add a new item "C-only Warning Options" to the
14343 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
14345 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
14346 from multiple calls.
14348 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
14350 * i386.md (call value patterns): Move to the end of the file.
14351 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
14353 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
14355 * configure.in (djgpp configuration): Define extra_objects..
14356 * configure: Rebuilt.
14357 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
14358 (DTORS_SECTION_ASM_OP): Define.
14359 (INIT_SECTION_ASM_OP): Define.
14360 (FINI_SECTION_ASM_OP): Define.
14361 (DATA_SECTION_ASM_OP): Define.
14362 (TEXT_SECTION_ASM_OP): Define.
14363 (EH_FRAME_SECTION_ASM_OP): Define.
14364 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
14365 (STARTFILE_SPEC): Add crtbegin.o.
14366 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
14367 to here from LINK_COMMAND_SPEC.
14368 (DO_GLOBAL_CTORS_BODY): Define.
14369 (CRTSTUFF_USE_FINI_SECTION): Define
14370 (HAS_INIT_SECTION): Delete.
14372 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
14374 * Makefile.in (all.cross): Depend on xcpp$(exeext).
14376 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
14378 * pa.h (PREDICATE_CODES): New.
14380 * genrecog.c (validate_pattern): Condense the destination
14381 non-lvalue message.
14383 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
14385 * alpha.md (call-1): Supply missing mode for operator.
14386 (*): Add missing output reload constraints. Remove constraints
14387 from define_splits.
14389 * i386.h (SPECIAL_MODE_PREDICATES): New.
14390 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
14391 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
14392 (addsi_lea_3): Add missing mode for op 3.
14393 (prologue_set_got, prologue_get_pc): Add missing modes.
14394 (*) Add missing output reload constraints.
14396 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
14398 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
14399 check for member bit-size overflow and use var_size if it occurs.
14400 (layout_record): Use bitsize_int() to define the type size in bits.
14401 Likewise for computation and assignment to DECL_FIELD_BITPOS.
14402 (layout_decl): Likewise when assigning to DECL_SIZE.
14404 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
14406 * genrecog.c (validate_pattern): Typo last change. Verify
14407 that output operands have output reloads.
14409 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
14411 * genrecog.c (special_mode_pred_table): New.
14412 (NUM_SPECIAL_MODE_PREDS): New.
14413 (find_operand): New.
14414 (validate_pattern): New argument `insn'. Warn for assignment to
14415 any predicate accepting non-lvalues. Conditionaly warn for
14416 match_operand without a mode. Try much harder to match source
14417 and destination modes on a set.
14418 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
14420 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
14422 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
14424 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
14426 * combine.c (simplify_logical): Recognize xor pattern that encodes
14429 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14431 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
14434 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
14436 * ggc-page.c (MAP_FAILED): Provide default.
14438 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
14440 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
14441 * sparc.h (PREDICATE_CODES): Update.
14443 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
14445 * alpha.c (some_ni_operand): New.
14446 * alpha-protos.h: Declare it.
14447 * alpha.h (PREDICATE_CODES): Update.
14448 * alpha.md (sXaddq reload insns): Use some_ni_operand
14449 for SET_DEST instead of some_operand.
14451 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
14452 Jim Wilson <wilson@cygnus.com>
14454 * genrecog.c (maybe_both_true_2): Don't compare modes of
14456 (process_tree): Elide peephole2_insns. Invoke simplify_tests
14457 after find_afterward.
14458 (debug_decision_1): Dump next and afterward codes.
14460 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
14462 * rtl.c (dump_and_abort): Remove.
14463 (fatal_with_file_and_line): New.
14464 (fatal_expected_char): New.
14465 (read_rtx_lineno, read_rtx_filename): New.
14466 (read_skip_spaces): Track line number.
14467 (read_name): Use fatal_with_file_and_line.
14468 (read_rtx): Use fatal_expected_char. Track line number.
14469 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
14471 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
14472 if it isn't a CODE_LABEL.
14474 * genattr.c (main): Set read_rtx_filename.
14475 * genattrtab.c (main): Likewise.
14476 * gencodes.c (main): Likewise.
14477 * genconfig.c (main): Likewise.
14478 * genemit.c (main): Likewise.
14479 * genextract.c (main): Likewise.
14480 * genflags.c (main): Likewise.
14481 * genopinit.c (main): Likewise.
14482 * genoutput.c (main): Likewise.
14483 * genpeep.c (main): Likewise.
14485 * genrecog.c (decision_test.u.insn): Add `lineno'.
14486 (pattern_lineno, error_count): New variables.
14487 (message_with_line): New.
14488 (add_to_sequence): Break out checking code to ...
14489 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
14490 (merge_insn): Use message_with_line.
14491 (make_insn_sequence): Use validate_pattern. Record insn lineno.
14492 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
14494 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14496 * expr.c (store_constructor): Clear union if constructor is empty.
14498 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
14500 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
14501 Add !endian checks. Change %{...} to %(...).
14503 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
14505 * i386.md (*addsi3_cc): Renamed from addcsi3.
14506 (*addsi3_carry): Renamed from addxsi3.
14507 (*subsi3_cc): Renamed from subcsi3.
14508 (*subsi3_carry): Renamed from subxsi3.
14509 (*xorqi_cc_1): Renamed from xorcqi_1.
14510 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
14511 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
14513 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
14515 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
14516 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
14518 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
14520 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
14521 climb up the chain of insns.
14523 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
14525 * genrecog.c (write_subroutine): Careful for null trees.
14526 (process_tree): Don't elide empty functions.
14528 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
14530 * Makefile.in (genrtl.o): Depend on ggc.h.
14531 * configure.in (valloc): Probe for it.
14532 (with-gc): Use ggc-page if valloc present.
14533 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
14534 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
14535 (ggc_alloc_string): Moved from ggc-page.c.
14536 * ggc-none.c (ggc_alloc_obj): New.
14537 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
14538 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
14539 (struct globals): Likewise for dev_zero_fd.
14540 (init_ggc): Likewise for it's initialization.
14541 (ggc_allocated_p): Move careful dereference from ...
14542 (ggc_lookup_page_table): ... here. Delete.
14543 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
14544 (alloc_anon): Use valloc if no mmap.
14545 (release_pages): Use free if using valloc.
14546 (ggc_alloc_obj): Renamed from alloc_obj.
14547 (ggc_set_mark): Renamed from mark_obj.
14548 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
14549 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
14550 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
14551 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
14552 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
14553 (ggc_collect): Use fp printing instead of our own rounding.
14554 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
14555 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
14556 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
14557 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
14558 (struct ggc_string, struct ggc_any): Delete.
14559 (offsetof): Provide default definition.
14560 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
14562 (struct ggc_mem): New, from corpse of ggc_any.
14563 (struct ggc_status): Delete.
14564 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
14565 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
14566 (n_strings_collected, n_anys_collected): Delete.
14567 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
14568 (ggc_alloc_string, ggc_alloc): Delete.
14569 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
14570 (ggc_free_string, ggc_free_any): Delete.
14571 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
14572 (ggc_compare_addresses, ggc_mark_string): Delete.
14573 (ggc_mark_string_if_gcable, ggc_mark): Delete.
14574 (search_data): Delete.
14575 (struct globals): New.
14576 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
14577 (tree_insert, tree_lookup): New.
14578 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
14579 (clear_marks, sweep_objs): New.
14580 (ggc_collect): Gut. Use clear_marks, sweep_objs.
14581 (init_ggc): Set allocated_last_gc.
14582 (ggc_push_context): Gut. Use G.context.
14583 (ggc_pop_context): Likewise.
14584 (ggc_pop_context_1): New.
14585 (debug_ggc_tree): New.
14586 (debug_ggc_balance, tally_leaves): New.
14587 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
14588 (ggc_mark_string_if_gcable): Remove decl.
14589 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
14590 (ggc_mark_rtvec_children): New.
14591 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
14592 (ggc_mark_if_gcable): New decl.
14593 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
14594 (ggc_alloc_tree, ggc_alloc): Likewise.
14595 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
14596 (ggc_alloc_obj): New decl.
14597 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
14598 (ggc_alloc_tree, ggc_alloc): Likewise.
14599 (ggc_set_mark): New decl.
14600 * rtl.h (struct rtx_def): Remove gc_mark.
14601 (struct rtvec_def): Likewise.
14602 * tree.h (struct tree_common): Likewise.
14604 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
14606 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
14607 float_format and thread_file definitions.
14608 * configure: Rebuilt.
14610 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
14612 * extend.texi (Function Names): Document types of function names.
14614 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14616 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
14617 an earlyclobbered output conflict with RELOAD_INPUT reloads.
14619 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14621 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
14623 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14625 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
14627 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
14629 * collect2.c (main): Do prelimnary link on AIX if rflag.
14631 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
14633 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
14634 __CTOR_LIST__ in opposite order, which is the correct order for sorted
14636 (__do_global_dtors): similarly for __DTOR_LIST__.
14638 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14639 Diego Novillo <dnovillo@cygnus.com>
14641 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
14644 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
14646 * fixincl/*: Merged "no_bogosity" branch
14647 * fixincl/fixlib.h: protect against doubly defining t_bool
14648 * fixincl/server.h: protect against doubly defining t_bool
14650 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
14652 * genoutput.c: Include toplev.h.
14654 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
14656 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
14658 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
14659 * configure: Regenerate.
14661 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
14663 * gcse.c (delete_null_pointer_checks): Returns void.
14665 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14667 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
14668 * emit-rtl.c (copy_insn_1): Likewise.
14670 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
14672 * config/mips/mips.c (mips_build_va_list): Correct
14673 TREE_CHAIN setting when hard-float.
14674 (mips_va_start): Use corrected setting.
14675 (mips_va_arg): Likewise. Also pass a tree to build of
14676 POSTINCREMENT_EXPR rather than a naked 'int'.
14678 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
14680 * ggc.h (ggc_push_context): Fix comment.
14681 (ggc_pop_context): Likewise.
14682 (mark_string_if_gcable): Likewise.
14683 * ggc-common.c (ggc_mark_rtx_children): Use
14684 ggc_mark_string_if_gcable.
14685 * ggc-page.c (ggc_lookup_page_table): New function.
14686 (ggc_allocated_p): Likewise.
14687 (mark_obj): Fix formatting.
14688 (ggc_mark_string_if_gcable): New function.
14689 * ggc-simple.c (ggc_allocated_strings): New variable.
14690 (ggc_strings_used): Likewise.
14691 (ggc_compare_addresses): New function.
14692 (ggc_pop_context): Pop the `any' memory too.
14693 (ggc_mark_string_if_gcable): New function.
14694 (ggc_collect): Initialize and tear down ggc_allocated_strings.
14696 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
14698 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
14699 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
14700 * rs6000.c (expand_block_move): Match movstrsi_?reg register
14703 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
14705 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
14706 (sched_reg_live_length, sched_reg_basic_block): Delete.
14707 (current_block_num, bb_live_regs, old_live_regs): Delete.
14708 (dead_notes, struct sometimes): Delete.
14709 (sched_note_set, birthing_insn_p): Delete.
14710 (adjust_priority): Gut useless reg lifetime code.
14711 (create_reg_dead_note, attach_deaths): Delete.
14712 (attach_deaths_insn, new_sometimes_live): Delete.
14713 (finish_sometimes_live): Delete.
14714 (find_pre_sched_live, find_post_sched_live): Delete.
14715 (update_reg_usage): Delete.
14716 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
14717 (schedule_insns): Delete reg lifetime code.
14718 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
14719 (unlink_other_notes): Adjust REG_NOTE commentary.
14720 (reemit_notes): Use REG_SAVE_NOTE.
14721 (schedule_block): Likewise.
14722 (schedule_region): Allocate bitmap of blocks in region. Use
14723 count_or_remove_death_notes. Use update_life_info.
14725 * rtl.h (REG_SAVE_NOTE): New.
14726 * rtl.c (reg_note_name): Update.
14728 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
14730 * combine.c (refresh_blocks, need_refresh): New.
14731 (combine_instructions): Allocate refresh_blocks. Invoke
14732 update_life_info if needed.
14733 (distribute_notes): Mark refresh_blocks instead of installing
14735 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
14736 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
14738 * Makefile.in (recog.o): Depend on basic-block.h.
14740 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
14742 * genrecog.c (add_to_sequence): Thinko last change: delete
14743 shadowing allow_const_int variable.
14745 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14747 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
14748 __GNUC__ and __GNUC_MINOR__.
14750 * gansidecl.h: Likewise.
14756 * toplev.h: Likewise.
14758 * tree.c: Likewise.
14760 * tree.h: Likewise.
14762 * varray.c: Likewise.
14764 * varray.h: Likewise.
14766 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14768 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
14769 use one before a jump table.
14771 * rtl.def (ADDRESS): Change documentation to match reality.
14772 * md.texi: Don't document it.
14773 * gmicro.md (load address pattern): Use 'p' constraint, delete use
14776 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
14778 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
14780 * genrecog.c (add_to_sequence): Move allow_const_int test outside
14781 known predicate block; default allow_const_int true.
14782 (debug_decision_list): New.
14784 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
14786 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
14788 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
14790 * gcse.c (gcse_main): Avoid global optimizations if we have a
14791 large number of basic blocks and the ratio of edges to blocks
14793 (delete_null_pointer_checks): Likewise.
14795 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
14797 * c-common.c (check_format_info): Warn if format string isn't a
14800 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
14802 * configure.in (arm*-*-*): Don't let autoconf remove brackets
14803 * configure: regenerate
14805 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
14807 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
14808 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
14809 (peepholes): Re-enable.
14811 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
14813 * Makefile.in (flow.o): Depend on TREE_H.
14814 * basic-block.h (REG_SET_EQUAL_P): New.
14815 (XOR_REG_SET): New.
14816 (n_edges): Declare.
14817 (free_regset_vector): Remove declaration.
14818 (flow_delete_insn_chain): Declare.
14819 (enum update_life_extent): New.
14820 (update_life_info, count_or_remove_death_notes): Declare.
14821 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
14822 Verify register live at bb->global_live_at_start before adding USE.
14823 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
14824 (CLEAN_ALLOCA): New.
14826 (PROP_*): New flags.
14827 (find_basic_blocks_1): Use alloc_EXPR_LIST.
14828 (clear_edges): Zero n_edges.
14829 (make_edge): Increment n_edges.
14830 (split_edge): Don't allocate bb->local_set. Increment n_edges.
14831 (flow_delete_insn_chain): Export.
14832 (delete_block): Decrement n_edges.
14833 (merge_blocks_nomove): Likewise.
14834 (life_analysis): Give life_analysis_1 PROP flags.
14835 (verify_wide_reg_1, verify_wide_reg): New.
14836 (verify_local_live_at_start): New.
14837 (update_life_info): Rewrite to call into propogate_block.
14839 (mark_regs_live_at_end): After reload, if epilogue as rtl,
14840 always mark stack pointer. Conditionally mark PIC register.
14841 After reload, mark call-saved registers, return regsiters.
14842 (life_analysis_1): Accept PROP flags not remove_dead_code.
14843 Call mark_regs_live_at_end before zeroing regs_ever_live.
14844 Use calculate_global_regs_live. Copy global_live_at_end before
14845 calling final propagate_block. Zero reg_next_use on exit.
14846 (calculate_global_regs_live): New.
14847 (allocate_bb_life_data): Don't allocate bb->local_set.
14848 (init_regset_vector, free_regset_vector): Remove.
14849 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
14850 Test flags before every operation. Warn if prologue/epilogue insn
14851 would have been deleted.
14852 (mark_set_regs, mark_set_1): Accept and use FLAGS.
14853 Use alloc_EXPR_LIST.
14854 (mark_used_regs): Accept and use FLAGS, not FINAL.
14855 Remove special handling for RETURN.
14856 (try_pre_increment): Use alloc_EXPR_LIST.
14857 (dump_flow_info): Dump n_edges.
14858 (unlink_insn_chain, split_hard_reg_notes): Remove.
14859 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
14860 (find_insn_with_note, new_insn_dead_notes): Remove.
14861 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
14862 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
14863 (replace_insns): Remove.
14864 (count_or_remove_death_notes): New.
14865 (verify_flow_info): Abort on error after all checks.
14866 (remove_edge): Decrement n_edges.
14867 (remove_fake_edges): Tweek format.
14868 * haifa-sched.c (schedule_insns): Use split_all_insns.
14869 * output.h (update_life_info): Remove declaration.
14870 * recog.c (split_all_insns): From the corpse of split_block_insns,
14871 do the whole function block by block. Use update_life_info.
14872 (recog_last_allowed_insn): New.
14873 (recog_next_insn): Mind it.
14874 (peephole2_optimize): Set it. Walk backwards through blocks.
14875 Use update_life_info.
14876 * rtl.h (update_flow_info, replace_insns): Remove declarations.
14877 (split_all_insns): Declare.
14878 * toplev.c (rest_of_compilation): Thread prologue before flow2.
14879 Use split_all_insns.
14881 * i386.md (or -1 peep2s): Disable.
14883 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
14885 * config/mips/mips.md (movstrsi+[123]) : Combine these into
14886 a single pattern. Scrap the 'd' versions as unnecessary.
14888 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
14889 tablejump_mips162,tablejump_internal4): The operands to a
14890 label_ref must be VOIDmode.
14892 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14894 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
14896 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
14898 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
14900 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
14902 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
14903 cache every function if ggc_p.
14905 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14907 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
14908 instead of copy_rtx. Accept sequences that contain asm statements.
14909 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
14910 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
14911 orig_asm_operands_vector, copy_asm_operands_vector,
14912 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
14914 * rtl.h (copy_insn, copy_insn_1): Declare.
14916 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14918 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
14920 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
14921 arguments to `current_file_function_operand'.
14923 * genrecog.c: Include hard-reg-set.h and resource.h in the
14924 generated output file.
14926 * real.c: Include tm_p.h.
14928 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14930 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
14933 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
14935 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
14936 before the fctiwz insn.
14938 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14939 Mark Mitchell <mark@codesourcery.com>
14941 * tree.c (make_lang_type_fn): New funtion pointer.
14942 (make_lang_type): Call it.
14943 * tree.h (make_lang_type): Declare.
14944 (make_lang_type_fn): Likewise.
14945 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
14947 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
14949 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
14950 make sure that HIGH instructions are copied into BASE_REGS.
14952 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
14954 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
14956 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
14958 * c-decl.c (finish_struct): Use simpler method of
14959 removing elements of a singly-linked list.
14961 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
14963 * alpha.md (peephole2's): Comment out peephole2's that generate
14966 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
14968 * genrecog.c (add_to_sequence): Disable mode check for
14971 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14973 * ggc-simple.c (init_ggc): Set empty_string.
14975 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
14977 * configure.in: Detect mmap. Add --with-gc=foo to select
14978 garbage collector; default to page if mmap available.
14979 * Makefile.in (GGC): Substitute.
14981 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
14983 * c-decl.c (ggc_p): Enable.
14985 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14987 * flow.c (verify_flow_info): Make it extern & unconditionally define.
14989 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
14991 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
14992 string for little-endian-data.
14994 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
14996 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
14997 case somebody tries to compile --enable-checking code with gcc
15000 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
15002 * genrecog.c (add_to_sequence): Verify operand to label_ref is
15005 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
15007 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
15008 * jump.c (jump_optimize_1): Document why.
15010 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15012 * collect2.c (scan_prog_file, scan_libraries): Prototype function
15013 pointers and casts for `int_handler' and `quit_handler'.
15015 * flow.c (verify_flow_info, split_hard_reg_notes,
15016 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
15017 remove_edge, remove_fake_successors): Add static prototypes.
15018 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
15019 (mark_set_1): Initialize variable `regno'.
15020 (unlink_insn_chain): Likewise for variable `curr'.
15021 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
15023 * loop.c (strength_reduce): Initialize variable
15024 `unrolled_insn_copies'.
15025 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
15026 prototypes. Change these functions to take const PTR parameters
15027 to avoid prototype conflict when used as the comparson argument
15029 (check_dbra_loop): Initialize variable `comparison_val'.
15031 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
15032 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
15033 (find_valid_class): Initialize variable `best_class'.
15034 (find_reloads): Call memcpy, not bcopy.
15036 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
15037 (hard_reg_use_compare): Don't needlessly cast away const.
15038 (reload_reg_class_lower): Likewise.
15039 (choose_reload_regs): Initialize variable `regno'.
15041 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
15043 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
15045 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
15047 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
15048 ({,d}discard): Add forward declarations. Declare parameter as
15050 (main_without_main): Explicitly declare return type to be int.
15051 (memcpy): Properly declare.
15053 * libgcc2.c (toplevel): If inhibit_libc is defined and not
15054 building the trampoline support, declare malloc, free, and
15056 (__clear_cache): Mark arguments as potentially unused.
15058 * frame.c (toplevel): If inhibit_libc is defined, declare
15061 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
15063 * flow.c (make_edge): Accept an optional 2D bitmap in which
15064 to cache edge existence. Update all callers.
15065 (make_label_edge, make_eh_edge): Pass through the edge cache.
15066 (make_edges): Provide the cache.
15068 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15070 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
15072 (local_mbtowc): Change the type of variable `i' from int to size_t.
15074 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
15075 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
15077 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
15079 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
15080 after other includes that define the appropriate types. Include
15081 tm_p.h for getting user prototypes.
15082 * ggc-callbacks.c (toplevel): Ditto.
15083 * ggc-none.c (toplevel): Ditto.
15084 * gcc-page.c (toplevel): Ditto.
15085 * ggc-simple.c (toplevel): Ditto.
15087 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
15088 Jonathan Larmour <jlarmour@cygnus.co.uk>
15090 * config/mips/mips.c (mips_move_2words): Split doubles if
15091 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
15093 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
15095 * genrecog.c (struct decision_test): New.
15096 (struct decision): Remove test-related members, sort the rest by size.
15097 (IS_SPLIT): Simplify.
15098 (new_decision, new_decision_test): New.
15099 (add_to_sequence): Use them. No special handling for args of
15101 (maybe_both_true): Renamed from not_both_true; return sense changed.
15102 (maybe_both_true_1, maybe_both_true_2): New. Broken out
15103 of maybe_both_true and adjusted for decision_test.
15104 (position_merit): Remove.
15105 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
15106 (merge_accept_insn): New, broken out of merge_trees.
15107 (merge_trees): Use them. No special case for c_test; no node
15108 splitting; use test type instead of position_merit.
15109 (factor_tests): New.
15110 (simplify_tests): New.
15111 (break_out_subroutines): Don't write code now.
15112 (find_afterward): New.
15113 (write_afterward, write_switch, write_cond): New.
15114 (write_action, is_unconditional): New.
15115 (write_node): New. Use them.
15116 (write_tree_1): Rewrite. Use the new functions above.
15117 (write_tree): Remove afterward processing.
15118 (write_subroutine): Simplify function variant emission.
15119 (write_subroutines): New.
15120 (same_codes, clear_codes): Remove.
15121 (same_modes, clear_modes): Remove.
15122 (write_header): New, broken out of main.
15123 (make_insn_sequence): Use new_decision and new_decision_test.
15124 (process_tree): New, broken out of main.
15125 (main): Adjust for merge_trees interface change.
15126 Don't #define operands in the output file.
15127 (record_insn_name): New, broken out of make_insn_sequence.
15128 (debug_decision_2, debug_decision_1, debug_decision_0): New.
15129 (debug_decision): New.
15131 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
15133 * resource.c (find_free_register): Mark class_str argument const.
15134 * resource.h: Update prototype to match.
15136 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
15137 * i386.md: Give all anonymous insns names.
15139 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
15141 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
15144 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
15146 * toplev.c (dbr_sched_time): Unconditional.
15147 (peephole2_time): New.
15148 (compile_file): Add pass numbers to all of the dump file suffixes.
15149 Dump peephole2_time. Don't dump times for non-applicable passes.
15150 (rest_of_compilation): Add pass numbers to dump file suffixes.
15151 Conditionalize calls to the scheduler.
15152 * invoke.texi: Update.
15154 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
15156 * flow.c (make_edges): Fix insn iteration.
15157 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
15158 (find_basic_blocks_1): Fix spelling mistake.
15160 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
15162 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
15163 always have side-effects. Use memset not bzero.
15164 (make_node): Likewise.
15166 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
15168 * stmt.c (expand_anon_union_decl): When any of the elements of the
15169 union is addressable, so is the entire union.
15171 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
15173 * sbitmap.c (sbitmap_ones): Don't set too many bits.
15175 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
15176 * bitmap.c (bitmap_operation): Return true iff TO changed.
15177 (bitmap_equal_p): New.
15178 (bitmap_bit_p): Tidy arithmetic.
15179 (debug_bitmap_file): Likewise.
15181 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
15183 * toplev.c (rest_of_compilation): Turn on cse_not_expected
15184 before cse2 instead of after.
15186 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
15188 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
15191 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15193 * cppinit.c (is_idchar initializer): Loosen tests to accept
15196 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
15198 * mips.md: Define conditional move patterns for floating point
15199 operands and DI mode conditions.
15201 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
15203 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
15204 always have side-effects.
15206 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
15208 * mn10200.c (asm_file_start): Fix typo.
15210 * cppinit.c (is_idchar initializer): Tighten tests for when
15211 to put the table into initialized memory.
15213 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
15214 not an array of rtunion.
15215 * gcc-page.c (ggc_alloc_rtvec): Similarly.
15216 * gcc-simple (ggc_free_rtvec): Similarly.
15218 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
15221 * mbchar.h: Add missing #endif.
15223 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
15224 (FPBIT, DPBIT): Define.
15226 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15228 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
15230 * profile.c (instrument_arcs, output_gcov_string,
15231 tablejump_entry_p): Add static prototypes.
15232 (output_gcov_string): Constify a char*.
15234 * regmove.c (replacement_quality, fixup_match_2): Add static
15237 * resource.h (reg_dead_p): Add extern prototype.
15239 * rtl.c (trim_filename): Add static prototype.
15241 * scan-decls.c (skip_to_closing_brace): Likewise.
15243 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
15244 (expand_end_case): Initialize variable `range'.
15245 (emit_case_nodes): Remove unused prototype `rtx_fn'.
15247 * varasm.c (asm_emit_uninitialised): Add static prototype.
15248 (asm_emit_uninitialised, assemble_variable): Mark parameter with
15251 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15253 * cpplib.c (if_directive_nameo): Add static prototype.
15255 * cse.c (cse_insn): Remove unused variable `p'.
15257 * except.c (create_rethrow_ref, push_entry,
15258 receive_exception_label, new_eh_region_entry, find_func_region,
15259 clear_function_eh_region, process_nestinfo): Add static prototypes.
15260 (get_reg_for_handler): Hide definition.
15261 (process_nestinfo): Initialize variable `extra_handlers'.
15263 * expr.h (expand_builtin_longjmp): Add extern prototype.
15265 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
15267 * function.c (prepare_function_start): Likewise.
15268 (pop_function_context_from): Mark parameter `context' with
15270 (push_temp_slots_for_block, flush_addressof): Hide definition.
15272 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
15273 solve_program_flow_graph, calculate_branch_probs,
15274 function_summary, main, fancy_abort): Add prototypes.
15276 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
15277 (add_hash): Constify a char*.
15279 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
15280 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
15281 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
15283 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
15285 * lists.c (free_list, zap_lists): Likewise.
15287 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15289 * alias.c (nonlocal_reference_p): Add static prototype.
15291 * bitmap.c (bitmap_element_allocate): Prototype args in function
15294 * builtins.c (stabilize_va_list): Add static prototype.
15295 (expand_builtin_va_arg): Constify a char*.
15297 * c-lex.c (getch, put_back, extend_token_buffer_to,
15298 read_line_number, token_getch, token_put_back): Add static
15301 * c-parse.gperf (hash, is_reserved_word): Likewise.
15303 * cccp.c (is_dir_separator): Likewise.
15305 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15307 * graph.h: New file to prototype functions exported by graph.c.
15309 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
15311 * graph.c: Include graph.h.
15313 * toplev.c: Likewise. Remove redundant prototypes.
15315 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
15317 * invoke.texi: Removed duplicated description for -Q.
15319 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
15321 * extend.texi: Grammar fix in __extension__ text.
15323 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
15325 * md.texi (define_peephole2): New section.
15327 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
15329 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
15330 (mov $-1 to or peepholer): Enable for pentium when optimizing for
15333 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
15335 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
15337 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
15339 * i386.md (ffs expander): Emit Pentium friendly code for
15342 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
15344 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
15346 (build1): Likewise.
15348 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15350 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
15352 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
15354 * config/m68k/m68k.c (use_return_insn): Return false if the pic
15355 register is in use.
15357 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15359 * md.texi (No Constraints): Delete section.
15360 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
15361 * final.c (final_scan_insn): We always have register constraints.
15362 * genattrtab.c: Don't include "insn-config.h".
15363 (write_attr_case): We always have register constraints.
15364 * genconfig.c (register_constraint_flag): Delete.
15365 (walk_insn_part): Don't check whether we have register constraints.
15366 (main): Don't write out "#define REGISTER_CONSTRAINTS".
15367 * genoutput.c (have_constraints): Delete.
15368 (main): Don't set it.
15369 (output_operand_data): We always have constraints.
15370 (scan_operands): Likewise.
15371 (compare_operands): Likewise.
15372 * local-alloc.c (block_alloc): We always have constraints.
15373 (requires_inout): Always compile this function.
15374 * recog.c (extract_insn): We always have constraints.
15375 (constrain_operands, reg_fits_class_p): Always compile these
15377 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
15379 (struct insn_operand_data): Likewise.
15380 * regclass.c (regclass): We always have constraints.
15381 (record_reg_classes, copy_cost, record_address_regs,
15382 auto_inc_dec_reg_p): Always compile these functions.
15383 * regmove.c (regmove_optimize): We always have constraints.
15384 * reload.c (find_reloads): Likewise.
15385 * reload1.c (reload): Likewise.
15386 (reload_cse_simplify_operands): Likewise.
15387 * i860.c (output_delay_insn): Likewise.
15389 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
15391 * iris6.h (BUILD_VA_LIST_TYPE): Define.
15393 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15395 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
15396 for the va_list record.
15398 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
15400 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
15403 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
15405 * alias.c: Include insn-flags.h.
15406 * Makefile.in (alias.o): Update.
15408 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
15410 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
15411 to LTU and GEU. Handle more cases using sbb.
15413 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
15415 * i386.md (truncatexfdf splitters): Do not use subreg.
15416 (fop XFmode patterns): Fix mode in operand testing.
15418 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
15420 * jump.c (jump_optimize_1): Amend last change to test only the
15421 form of the operand, not the insn.
15423 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
15424 not register_operand to determine when B may need preloading.
15426 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
15428 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
15429 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
15430 (call-value patterns): Move to end of file.
15431 (*): Remove mode from label_ref in (pc) context.
15432 (movstrqi): Use memory not general_operand for BLKmode operands.
15433 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
15434 to register_operand operands.
15435 (peep2 patterns): Convert from commented-out peephole patterns.
15437 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15439 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
15440 to BUILT_IN_INIT_DWARF_REG_SIZES.
15441 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
15442 Renamed from BUILT_IN_DWARF_REG_SIZE; call
15443 expand_builtin_init_dwarf_reg_sizes.
15444 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
15445 with __builtin_init_dwarf_reg_size_table.
15446 * dwarf2out.c (struct reg_size_range): Delete.
15447 (expand_builtin_init_dwarf_reg_sizes): New function.
15448 (expand_builtin_dwarf_reg_size): Delete.
15449 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
15450 (expand_builtin_dwarf_reg_size): Don't declare.
15451 * libgcc2.c (dwarf_reg_size_table_initialized): New.
15452 (dwarf_reg_size_table): New.
15453 (init_reg_size_table): New function.
15454 (copy_reg): Use dwarf_reg_size_table.
15455 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
15458 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
15460 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
15461 Correctly build argument list to constructor and destructor functions.
15463 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
15465 * c-tree.h (warn_float_equal): Declare.
15466 * c-decl.c (warn_float_equal): Define.
15467 (c_decode_option): Recognize -W[no-]float-equal.
15468 * c-typeck.c (build_binary_op): Conditionally warn
15469 about equality tests of floating point types.
15470 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
15471 * invoke.texi: Add docs for -Wfloat-equal warning.
15473 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
15475 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
15476 generating RTL directly.
15477 * mips.h (INIT_TARGET_OPTABS): Likewise.
15478 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
15480 * expr.h (init_mov_optab): Delete declaration
15482 * h8300.c (WORD_REG_USED): Update to avoid useless register
15483 saves in interrupt functions and functions which never return.
15485 * cse.c (struct set): Delete inner_dest_loc field.
15486 (cse_insn): Remove assignments to inner_dest_loc field.
15488 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
15490 * ggc-page.c: Don't include <unistd.h> etc taken care of
15491 by "system.h". Include <sys/mman.h> afterward.
15493 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
15495 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
15498 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
15500 * xcoffout.c (xcoffout_declare_function): Add documentation.
15501 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
15502 TARGET_64BIT. Compare constant to -1, not bit pattern.
15503 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
15504 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
15507 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
15509 * dwarf2out.c (add_abstract_origin_attribute): Abort if
15510 origin_die is NULL.
15511 (gen_inlined_enumeration_type_die): Do not abort if the type has
15512 not been writeen out.
15513 (gen_inlined_structure_type_die): Do not abort if the type has
15514 not been writeen out.
15515 (gen_inlined_union_type_die): Do not abort if the type has
15516 not been writeen out.
15517 (gen_tagged_type_instantiation_die): Do not abort if the type
15518 has not been written out.
15520 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15522 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
15524 * reg-stack.c (straighten_stack): Copy hard reg set with
15527 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
15529 * builtins.c (stabilize_va_list): Stabilize array type va_list
15530 to a pointer type, not the base record type.
15531 (expand_builtin_va_copy): Dereference the pointers explicitly;
15532 use the correct size for the copy.
15534 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
15535 (rs6000_va_arg): Likewise.
15537 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
15539 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
15541 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
15543 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
15545 (DECL_BUILT_IN_CLASS): Adjust accordingly.
15547 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
15549 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
15550 (init_ggc): Use it instead of a constant.
15551 (ggc_collect): Bound allocated_last_gc by it.
15553 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
15555 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
15558 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
15560 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
15561 (mips*-*-openbsd*): Let big endian configuration be a fragment.
15562 * configure: Regen.
15563 * config/mips/openbsd.h: New, OpenBSD little endian target.
15564 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
15565 * config/mips/xm-openbsd.h: New, OpenBSD host.
15567 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
15569 * config/m68k/m68k.c (output_function_prologue,
15570 output_function_epilogue): Use
15571 current_function_uses_pic_offset_table instead of regs_ever_live
15572 to decide whether to save/restore pic register.
15573 (legitimize_pic_address): Don't modify regs_ever_live any more.
15575 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
15577 * function.h (struct function): Add x_dont_save_pending_sizes_p.
15578 * stor-layout.c (variable_size): Don't add sizes to the pending
15579 sizes list if x_dont_save_pending_sizes_p is set.
15581 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
15583 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
15584 for symbolic_operand().
15585 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
15587 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15589 * combine.c (gen_rtx_combine): Add missing call to va_end().
15591 * final.c (asm_fprintf): Likewise.
15593 * genattrtab.c (attr_rtx): Likewise.
15595 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
15597 * cse.c: Update comments.
15598 (cse_insn): When converting a conditional/computed jump into
15599 an unconditional jump, always make sure a BARRIER immediately
15600 follows the converted jump. Do not delete unreachable code.
15601 (cse_basic_block): Do not delete unreachable code.
15602 * toplev.c (rest_of_compilation): Move call to
15603 delete_trivially_dead_insns after the conditional call to
15606 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15608 * collect2.c (make_temp_file): Don't prototype.
15610 * gcc.c (make_temp_file): Likewise.
15612 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
15614 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
15616 * varasm.c (asm_emit_uninitialised): New function: Generate
15617 the assembler statements necessary to declare an uninitialised
15619 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
15621 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
15622 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
15624 (assemble_variable): Use asm_emit_uninitialised to emit an
15625 uninitialised variable.
15627 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
15629 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
15630 constant on a 64 bit host. Patch supplied by Geoffrey Keating
15631 <geoffk@cygnus.com>.
15633 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15635 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
15636 * c-common.h (builtin_function): Don't declare.
15638 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
15640 (pushdecl): Likewise.
15641 (finish_decl): Likewise.
15642 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
15643 int. All callers changed.
15644 Set the builtin's DECL_BUILT_IN_CLASS.
15645 * tree.h (enum built_in_class): New.
15646 (enum built_in_function): Delete NOT_BUILT_IN.
15647 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
15649 (DECL_SET_FUNCTION_CODE): Likewise.
15650 (DECL_BUILT_IN_CLASS): New macro.
15651 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
15652 (struct tree_decl): Split builtin function code field into a
15654 (builtin_function): Declare.
15656 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
15658 * optabs.c (init_traps): Fix typo in last change.
15660 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
15662 * toplev.c (rest_of_decl_compilation): Update comment.
15664 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
15666 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
15667 in .sbss if appropriate.
15668 (EXTRA_SECTION_FUNCTIONS): Add sbss.
15669 (SBSS_SECTION_ASM_OP): New macro.
15670 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
15671 (EXTRA_SECTIONS): Add in_sbss.
15672 * config/mips/mips.h: Prototype sbss_section.
15674 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
15676 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
15679 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
15681 * optabs.c (init_traps): Register trap_rtx as a GC root.
15683 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15685 * config/mips/mips.c (function_arg_pass_by_reference): Define
15686 unconditionally, since it's called unconditionally.
15688 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
15690 * toplev.c (documented_lang_options): Add -fshort-wchar.
15691 * c-decl.c (c_decode_option): Likewise.
15692 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
15694 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
15695 * gcc.c (default_compilers): If -fshort-wchar,
15696 override __WCHAR_TYPE__.
15697 * tm.texi (C Dialect Options): Add -fshort-wchar.
15699 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
15700 symbol for a variable.
15702 * cpplib.h (CPP_PREPROCESSED): New macro.
15703 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
15704 we're seeing this input for a second time.
15706 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
15708 * emit-rtl.c (init_emit_once): Initialize modes first.
15710 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
15712 * config/i386/i386.c (pic_label_name): Change to char pointer.
15713 (global_offset_table): New variable.
15714 (load_pic_register): Fill global_offset_table if it hasn't
15715 already been done. Allocate pic_label_name dynamically.
15716 * ggc.h (empty_string): New variable.
15717 * ggc-simple.c (empty_string): Likewise.
15718 (init_ggc): Allocate empty_string and add as root.
15719 * stmt.c (digit_strings): New variable.
15720 (init_stmt): Add last_block_end_note as root. Allocate and
15721 initialize digit_strings.
15722 (expand_asm_operands): Use empty_string instead of string
15723 constant. Use digit_strings instead of string constants.
15724 * profile.c (init_arc_profiler): Allocate string with
15725 ggc_alloc_string instead of xmalloc.
15726 (output_func_start_profiler): Likewise.
15727 * c-typeck.c (digest_init): Check if init is error_mark_node.
15729 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
15730 Richard Henderson <rth@cygnus.com>
15732 * ggc-page.c: New file.
15733 * Makefile.in (ggc-page.o): New.
15735 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
15737 * invoke.texi: Document -fdelete-null-pointer-checks
15738 * toplev.c (flag_delete_null_pointer_checks): New.
15739 (f_options): Add entry for -fdelete-null-pointer-checks.
15740 (rest_of_compilation): Conditionalize null pointer check
15741 elimination on flag_delete_null_pointer_checks.
15742 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
15744 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
15746 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
15747 copyright notice and special exception to GPL.
15749 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15751 * abi64.h (mips_function_value): Add prototype arguments.
15753 * mips-protos.h: New file with mips prototypes.
15755 * mips.c: Include "tm_p.h".
15756 (mktemp, lookup_name): Add prototype arguments.
15757 (extern_list, string_constant, mips_fill_delay_slot,
15758 mips_output_external, mips_output_external_libcall,
15759 mips_output_filename, mips_declare_object, function_prologue,
15760 mips_expand_prologue, function_epilogue, mips16_constant,
15761 build_mips16_function_stub, mips_output_conditional_branch):
15763 (mips_va_start): Remove unused variable `u'.
15764 (mips_va_arg): Cast value to unsigned when comparing against one.
15766 (save_restore_insns, mips_expand_prologue): Add missing arg in
15767 call to `large_int'.
15769 * mips.h: Move prototypes to mips-protos.h.
15770 (data_section, memory_address_p, rdata_section,
15771 readonly_data_section, simple_epilogue_p, text_section): Delete
15772 prototypes delcared elsewhere.
15773 (mips_epilogue_delay_slots, print_options): Delete unused decls.
15775 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
15777 * mips.md: Delete extra args in call to `mips_move_2words'.
15779 * xm-iris6.h (alloca): Add prototype argument.
15781 * genpeep.c: Include "tm_p.h" in generated output file.
15783 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15785 * basic-block.h (find_edge_index): Change parameters.
15786 * flow.c (verify_edge_list): Pass basic_block parameters to
15787 find_edge_index instead of integers.
15789 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
15791 * combine.c (simplify_comparison): Use an unsigned shift to adjust
15794 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
15796 * gcc.1: Fix a formatting error.
15798 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15800 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
15801 i786, mn10200, mn10300, pdp11, v850.
15803 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
15805 * libgcc2.c (num_digits): Add prototype with
15806 __attribute__((const)).
15807 (__terminate): Add prototype.
15809 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
15811 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
15813 * alpha/alpha.c (print_operand): Fix type of `code'.
15814 (alpha_output_filename): Constify.
15815 * alpha/alpha.h: Move all function declarations ...
15816 * alpha/alpha-protos.h: ... here. New file.
15817 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
15818 (SECTION_FUNCTION_TEMPLATE): Likewise.
15820 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15822 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
15823 * expr.c (expand_expr): Likewise.
15824 (do_jump): Likewise.
15825 (do_store_flag): Pass ccp_store_flag to can_compare_p.
15826 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
15828 (enum can_compare_purpose): New.
15829 (can_compare_p): Adjust prototype.
15830 (prepare_cmp_insn, prepare_operand): Declare.
15831 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
15832 * optabs.c (cmp_available_p): Deleted.
15833 (expand_abs): Pass ccp_jump to can_compare_p.
15834 (can_compare_p): New arg PURPOSE. Check for combined optabs.
15835 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
15836 Call can_compare_p rather than cmp_available_p.
15837 (prepare_operand): No longer static.
15838 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
15839 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
15840 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
15841 sequence to use emit_cmp_and_jump_insns.
15842 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
15844 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
15846 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
15847 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
15848 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
15849 (plus (reg) (const_int 0))
15850 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
15852 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
15854 * rs6000.c (expand_block_move): DImode loads and stores require
15855 word-aligned displacements. Increment address registers with
15856 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
15858 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
15860 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
15861 is no name for the base type, rather than segfault. If we are
15862 writing out a complex integer type, use DW_ATE_lo_user.
15864 * expr.c (emit_move_insn_1): If we are copying a complex that fits
15865 in one word or less (complex char, complex short, or on 64 bit
15866 systems complex float) to/from a hard register, copy it through
15867 memory instead of dying in gen_{real,imag}part. If we have a
15868 short complex type, prevent inlining since it allocates stack
15871 * tree.c (build_complex_type): If we are writing dwarf2 output,
15872 generate a name for complex integer types.
15874 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15876 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
15877 * flow.c (remove_edge): Remove extra whitespace.
15878 (remove_fake_edges): Fix comment.
15879 (add_noreturn_fake_exit_edges): Use the correct name.
15881 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
15883 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
15884 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
15885 (clean): Depend on INTL_CLEAN.
15886 (maintainer-clean): Adjust.
15888 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15890 * configure.in (AC_PREREQ): Bump to 2.13.
15891 (AC_C_STRINGIZE): Call this instead of using a custom macro.
15893 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
15895 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
15897 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
15899 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
15900 (HAVE_STRINGIZE): Define.
15902 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
15904 * c-parse.in: save and restore warn_pointer_arith on __extension__
15905 along with pedantic.
15906 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
15907 Set the type of extension to itype rather than $<itype>1 kludge.
15908 * extend.texi (Alternate Keywords): Adjust documentation.
15909 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
15911 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
15913 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
15914 most assembler templates.
15916 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
15917 FP loads and stores.
15918 (following_call): Always return zero for the PA8000.
15919 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
15920 FP loads and stores.
15921 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
15923 * pa.h (BRANCH_COST): Define.
15925 * pa.md (return, return_internal): Use bve for PA2.0.
15927 * pa.md (fused multiply): Add variants which reduce height for the
15928 fused multiply, but which still generate 2 insns.
15929 (fnegabs): Similarly.
15931 * pa.md (subsi3): Turn into an expander. Create two anonymous
15932 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
15933 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
15935 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
15937 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
15939 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
15940 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
15942 * regclass.c (init_regs): Add "top_of_stack" as a garbage
15945 * flow.c (record_active_eh_regions): Terminate loop after finding
15946 the last insn in the last basic block.
15948 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15950 * config/c4x/c4x.md: Delete parallel instruction peepholes.
15952 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15954 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
15956 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15958 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
15959 splitting to not use output template.
15961 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15963 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
15964 * config/c4x/c4x.c (c4x_va_start): New function.
15966 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
15968 * genrecog.c (not_both_true): Handle correctly cases when called for
15969 tests with different positions in the insn.
15971 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15973 * machmode.h (HOST_PTR_PRINTF): Move from here ...
15975 * system.h (HOST_PTR_PRINTF): ... to here.
15977 * mips-tfile.c: Don't include machmode.h.
15979 * Makefile.in (MACHMODE_H): New variable. Update to use it.
15980 (mips-tfile.o): Don't depend on machmode.h.
15982 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15984 * haifa-sched.c (sched_analyze): Rename local variable `region' to
15985 avoid conflicts with typedef struct `region' at the top level scope.
15987 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
15989 * basic-block.h (basic_block): Add eh_beg, eh_end.
15990 * flow.c (entry_exit_blocks): Update.
15991 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
15992 Call new functions.
15993 (find_basic_blocks_1): Don't record eh_list at each bb. Use
15994 lists.c functions to allocate insn lists.
15995 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
15997 (make_eh_edge): ... here. New.
15998 (move_stray_eh_region_notes): New.
15999 (record_active_eh_regions): New.
16000 (delete_unreachable_blocks): Split out block merging ...
16001 (try_merge_blocks): ... here. New.
16002 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
16003 Dump debugging data.
16004 (merge_blocks_move_successor_nojumps): Likewise.
16005 (merge_blocks): Use eh_beg+eh_end to validate block movement.
16007 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16009 * extend.texi (Bound member functions): Document unbound pmf
16012 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16014 * flow.c (split_edge): Handle insertion on a fallthrough edge which
16015 has the EXIT_BLOCK as a dest.
16017 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16019 * flow.c (remove_edge): New function to remove an edge from the
16021 (remove_fake_successors): New function to remove fake successor edges.
16022 (remove_fake_edges): New function to remove all fake edges from the
16024 (add_fake_exit_edges): New function to add fake edges from all blocks
16025 with no successors to the exit block.
16026 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
16027 prototypes for new functions.
16029 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16031 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
16032 Use Pmode to determine whether to output .dword or .word.
16034 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
16036 * tree.c (built_in_filename): New variable.
16037 (BUILT_IN_FILENAME): New macro.
16038 (init_tree_codes): Allocate built_in_filename.
16039 (make_node): Use built_in_filename instead of string constant.
16041 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
16043 * configure.in: Add fr30 target.
16044 * configure: Regenerate.
16045 * config/fr30: New directory.
16046 * config/fr30/crti.asm: New file.
16047 * config/fr30/fr30.c: New file.
16048 * config/fr30/crtn.asm: New file.
16049 * config/fr30/fr30.h: New file.
16050 * config/fr30/fr30.md: New file.
16051 * config/fr30/lib1funcs.asm: New file.
16052 * config/fr30/t-fr30: New file.
16053 * config/fr30/xm-fr30.h: New file.
16055 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
16057 * flow.c (merge_blocks_move_successor_nojumps): Delete the
16058 BARRIER at the end of the successor, not the BARRIER before
16061 * pa.c (pa_add_gc_roots): Fix thinko in last change.
16063 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
16065 * stmt.c (any_pending_cleanups): Don't crash when
16066 current_function->stmt is unset.
16068 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16070 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
16071 other initializations that may use it for relative offsets.
16073 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16075 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
16076 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
16077 * config/i386/sol2dbg.h: Removed.
16078 * config/i386/sol2gas.h: New file, to enable gas work-around.
16079 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
16080 Don't use sol2dbg.h.
16081 * configure: Rebuilt.
16083 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
16085 * invoke.texi (-fthis-is-variable): Remove documentation.
16087 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
16089 * basic-block.h (compute_bb_for_insn): Declare.
16090 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
16091 to use; set size of basic_block_for_insn directly.
16092 (find_basic_blocks): Update.
16094 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16096 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
16098 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16100 * crtstuff.c (ON_EXIT): Delete empty macro definition.
16101 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
16103 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
16105 * c-decl.c (c_decode_option): Extend comment.
16107 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
16109 * toplev.c (progname): Make 'const char *'
16110 (flag_print_mem): Move out of main.
16111 (version_flag): Move out of main.
16112 (filename): Move out of main.
16113 (debug_args): Remove g prefix from options.
16114 (documented_lang_options): Remove cpplib specific options.
16115 (display_help): Add g prefix to debug options.
16116 (check_lang_option): Delete this function.
16117 (decode_d_option): New function: Decode -d... option.
16118 (decode_f_option): New function: Decode -f... option.
16119 (decode_W_option): New function: Decode -W... option.
16120 (decode_g_option): New function: Decode -g... option.
16121 (independent_decode_option): New function: Decode a language
16122 independent command line option.
16123 (main): Invoke lang_decode_option and then
16124 independent_decode_option on each command line option in
16127 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
16129 Revert this change. Gavin's patch to operand_equal_p is a better fix.
16130 * fold-const.c (fold_range_test): Do not try to fold the range
16131 test if the rhs or lhs has side effects.
16133 * basic-block.h (compute_flow_dominators): Declare.
16135 * gcse.c (alloc_code_hoist_mem): New function.
16136 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
16137 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
16138 (hoist_code, one_code_hoisting_pass): Likewise.
16139 (gcse_main): If optimizing for size, then hoist expressions
16140 computed in multiple dominated basic blocks.
16142 * gcse.c (invalid_nonnull_info): New function.
16143 (delete_null_pointer_checks): Likewise.
16144 * rtl.h (delete_null_pointer_checks): Declare.
16145 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
16147 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
16148 (merge-blocks_move_successor_nojumps): Likewise.
16149 (merge_blocks): Allow merging of some blocks, even if it requires
16150 physical movement of the blocks, but not if it requires new jumps.
16152 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
16153 Callers and prototype changed.
16154 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
16156 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16158 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
16159 -YP when both -p and -pg are present. From i386/sol2.h.
16161 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16163 * Makefile.in (distclean): Delete tm_p.h.
16164 * configure.in: Create a new file, "tm_p.h", from a list in
16165 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
16166 "i386/i386-protos.h".
16168 * alias.c: Include "tm_p.h".
16169 * c-typeck.c: Likewise.
16170 * calls.c: Likewise.
16172 * emit-rtl.c: Likewise.
16173 * explow.c: Likewise.
16174 * expmed.c: Likewise.
16175 * expr.c: Likewise.
16176 * final.c: Likewise.
16177 * flow.c: Likewise.
16178 * fold-const.c: Likewise.
16179 * function.c: Likewise.
16180 * gcse.c: Likewise.
16181 * global.c: Likewise.
16182 * haifa-sched.c: Likewise.
16183 * integrate.c: Likewise.
16184 * jump.c: Likewise.
16185 * local-alloc.c: Likewise.
16186 * loop.c: Likewise.
16187 * optabs.c: Likewise.
16188 * recog.c: Likewise.
16189 * reg-stack.c: Likewise.
16190 * regclass.c: Likewise.
16191 * regmove.c: Likewise.
16192 * reload.c: Likewise.
16193 * reload1.c: Likewise.
16194 * reorg.c: Likewise.
16195 * resource.c: Likewise.
16196 * stmt.c: Likewise.
16197 * stor-layout.c: Likewise.
16198 * toplev.c: Likewise.
16199 * tree.c: Likewise.
16200 * unroll.c: Likewise.
16201 * genattrtab.c (main): Make generated file include "tm_p.h".
16202 * genemit.c (main): Likewise.
16203 * genoutput.c (main): Likewise.
16204 * genrecog.c (main): Likewise.
16206 * i386.h: Delete all prototypes.
16207 * i386.c: Include "tm_p.h".
16208 (ix86_attr_length_default): Call constant_call_address_operand
16209 with correct number of arguments.
16210 * i386-protos.h: New file.
16211 * i386.md (unnamed patterns): Call constant_call_address_operand
16212 with correct number of arguments.
16213 (exception_receiver): Call load_pic_register with correct number
16216 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
16218 * c-pragma.c (mark_align_stack): Dereference the void* properly.
16220 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
16222 * rtl.h (insns_safe_to_move_p): New function.
16223 * loop.c (find_and_verify_loops): Use it.
16224 * rtlanal.c (insns_safe_to_move_p): Define it.
16226 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
16228 * c-pragma.c: Include ggc.h.
16229 * Makefile.in (c-pragma.o): Update.
16231 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16233 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
16234 (LIB_SPEC): Likewise.
16235 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
16236 Reindent -YP/-p/-pg.
16237 Copied from config/sparc/sol2.h.
16239 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
16241 * c-pragma.c (mark_align_stack): New.
16242 (init_pragma): New.
16243 * c-pragma.h (init_pragma): Declare it.
16244 * c-lex.c (init_parse): Call it.
16246 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16248 * configure.in: Pick up thread library on Solaris/x86 just
16249 like on Solaris/sparc.
16250 * configure: Rebuilt.
16252 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
16254 * rtl.h (global_rtx_index): New enum.
16255 (global_rtl): Change to array of rtx.
16256 (pc_rtx, cc0_rtx): Redefine accordingly.
16257 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
16258 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
16259 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
16260 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
16261 (const_int_rtx): Change to array of rtx.
16262 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
16264 * emit-rtl.c (global_rtl): Change to array of rtx.
16265 (const_int_rtx): Change to aray of rtx.
16266 (gen_rtx_CONST_INT): Redefine accordingly.
16267 (init_emit_once): Allocate and initialize global_rtl. Likewise
16268 for const_int_rtx. Add both as GC roots.
16269 * genattrtab.c (global_rtl): Update declaration.
16271 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
16273 * Makefile (USER_H): Add iso646.h back.
16275 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
16277 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
16278 zapping the LOG_LINKS of sched_before_next_call.
16280 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
16281 * pa.c (insn_refs_are_delayed): Renamed from
16282 insn_sets_and_refs_are_delayed.
16284 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
16286 * functiion.h (struct function): Add x_whole_function_mode_p.
16287 (retrofit_block): Declare.
16288 * function.c (retrofit_block): New function.
16289 (identify_blocks): Add assertions. Allow an incomplete set of
16290 block notes if we're still generating code for the function.
16291 * integrate.c: Include loop.h.
16292 (expand_inline_function): Call find_loop_tree_blocks to map block
16293 notes to blocks when in whole-function mode. Use retrofit_block
16294 to insert new BLOCKs for the inlined function, rather than
16296 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
16297 * Makefile.in (integrate.o): Depend on loop.h.
16299 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
16301 * tree.h (warn_about_unused_variables): Declare.
16302 * stmt.c (warn_about_unused_variables): New function, split out
16304 (expand_end_bindings): Here.
16306 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
16308 * stmt.c (preserve_subexpressions_p): Don't crash when
16309 current_function->stmt is unset.
16311 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
16313 * stmt.c (expand_start_bindings): Allow callers to pass a flag
16314 indicating that no NOTE_INSN_BLOCK_BEG note is required.
16315 (expand_start_target_temps): Use it.
16316 * except.c (expand_eh_region_start_for_decl): Likewise.
16317 * expr.c (expand_expr): Likewise.
16319 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
16321 * fold-const.c (operand_equal_p): Pay attention to side effects.
16323 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
16325 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
16326 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
16328 * tlink.c (scan_linker_output): Look for keywords before accepting
16329 a mangled name in quotes.
16331 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
16333 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
16334 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
16336 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
16338 * alpha.md: Revert Thu Nov 26 change that came in through the
16339 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
16340 Avoid earlyclobber when possible.
16342 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16344 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
16346 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
16347 Define HAVE_ON_EXIT.
16349 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16351 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
16352 CTYPE_CONV in all ctype macros.
16354 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
16357 * cexp.y (initialize_random_junk): Likewise.
16359 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
16361 * i370.c (handle_pragma): Likewise.
16363 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
16365 * v850.c (override_options): Likewise.
16367 * doprint.c (_doprnt): Likewise.
16369 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
16372 * fixinc/server.c (load_data): Likewise.
16374 * fold-const.c (real_hex_to_f): Likewise.
16376 * genattr.c (write_upcase, gen_attr): Likewise.
16378 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
16379 write_upcase): Likewise.
16381 * genemit.c (print_code): Likewise.
16383 * genopinit.c (gen_insn): Likewise.
16385 * genpeep.c (print_code): Likewise.
16387 * genrecog.c (print_code): Likewise.
16389 * optabs.c (init_libfuncs): Likewise.
16391 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
16393 * haifa-sched.c (sched_analyze): Keep the list of notes organized
16395 (reemit_notes): Likewise.
16397 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
16399 * ggc.h (ggc_root): Move to ggc-common.c.
16401 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
16402 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
16403 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
16404 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
16405 * ggc-common.c (ggc_root): Move from ggc.h.
16406 (roots): Declare, static.
16407 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
16408 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
16409 null or check/set mark bit.
16410 (ggc_mark_roots): New.
16411 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
16413 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
16415 * m32r.c: Include toplev.h.
16416 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
16417 (gen_compare): Rename swap_p to must_swap to match uses.
16418 Add default abort case.
16419 (m32r_output_function_epilogue): Remove unused variables.
16420 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
16421 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
16422 define to empty parameter list. Update all uses.
16423 (predicate decls): Use enum machine_mode not int.
16424 * m32r.md (movsi): Call abort, not fatal_insn.
16425 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
16427 1999-09-14 Andrew Haley <aph@cygnus.com>
16429 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
16430 use $0 instead of 0.
16432 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16434 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
16435 computation out of loop over hard regs.
16437 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
16439 * function.c (identify_blocks): Don't shadow a variable in an
16441 * integrate.c (integrate_decl_tree): Don't use pushlevel,
16442 pushdecl, or poplevel to build up the new BLOCK tree.
16443 (expand_inline_function): Likewise.
16444 (integrate_parm_decls): Likewise.
16446 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
16448 * c-typeck.c (qualify_type): Merge qualifiers from both types.
16450 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
16452 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
16453 * invoke.texi: Document this change.
16455 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
16457 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
16459 (mark_emit_status): Renamed from mark_emit_state.
16460 * except.c (mark_eh_status): Renamed from mark_eh_state.
16461 Check not null before marking.
16462 (free_eh_status): New.
16463 * expr.c (mark_expr_status, free_expr_status): New.
16464 * function.c (free_machine_status): New.
16465 (free_after_parsing): New.
16466 (free_after_compilation): Move bits to free_after_parsing; call
16467 free_eh_status, free_expr_status; zero the marked members of the
16469 (prepare_function_start): No can_garbage_collect.
16470 Call init_eh_for_function.
16471 (expand_dummy_function_end): Free up current_function state.
16472 (mark_function_status): Renamed from mark_function_state.
16473 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
16474 * function.h (struct function): No can_garbage_collect.
16475 (free_machine_status, free_after_parsing): Declare.
16476 (free_eh_status, free_expr_status): Declare.
16477 * ggc.h (mark_expr_status): Declare.
16478 * stmt.c (free_stmt_status): Free the struct.
16479 (mark_stmt_status): Renamed from mark_stmt_state.
16480 (init_stmt): Don't call init_eh.
16481 (init_stmt_for_function): Don't call init_eh_for_function.
16482 * toplev.c (compile_file): Call init_eh.
16483 (rest_of_compilation): Free basic block info before ggc_collect.
16484 Call free_after_parsing; conditionally call free_after_compilation.
16485 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
16486 Check not null before marking.
16487 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
16489 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
16491 * c-lex.c (yylex): Initialize warn.
16493 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
16495 * pa.c (emit_move_sequence): Properly set the mode of the scratch
16496 register when performing secondary reloads for the SAR register.
16498 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
16500 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
16501 (NOTE_BLOCK): New macro.
16502 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
16503 * function.h (identify_blocks): Change prototype.
16504 * function.c (identify_blocks): Simplify.
16505 (reorder_blocks): Likewise.
16506 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
16507 NOTE_INSN_BLOCK_{BEG,END}.
16508 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
16509 the list of saved notes if the note isn't a
16510 NOTE_INSN_BLOCK_{BEG,END}.
16511 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
16513 (reemit_notes): Adjust recreation of notes to reflect new saved
16515 * print-rtl.c (print_rtx): Print the address of the BLOCK when
16516 printing a block note.
16517 * stmt.c (block_vector): Remove.
16518 (find_loop_tree_blocks): Simplify.
16519 (unroll_block_trees): Likewise.
16520 * tree.h (reorder_block): Change prototype.
16522 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
16524 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
16525 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
16526 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
16527 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
16528 (atexit, exit): Simplify.
16529 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
16530 * config/lots: Remove defns of HAVE_ATEXIT.
16532 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
16534 * calls.c (precompute_arguments): Fix typo in comment.
16535 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
16538 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
16540 * dsp16xx.c (override_options): Fix typos in GC root registration.
16542 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
16544 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
16545 from config/svr4.h.
16546 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
16547 (FUNCTION_PROFILER): Redefine appropriately for Linux.
16548 (CC1_SPEC): Likewise.
16550 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16552 * genattr.c (main): Add extern prototype. Call return, not exit.
16553 * genattrtab.c (main): Likewise.
16554 * gencheck.c (main): Likewise.
16555 * gencodes.c (main): Likewise.
16556 * genconfig.c (main): Likewise.
16557 * genemit.c (main): Likewise.
16558 * genextract.c (main): Likewise.
16559 * genflags.c (main): Likewise.
16560 * gengenrtl.c (main): Likewise.
16561 * genopinit.c (main): Likewise.
16562 * genoutput.c (main): Likewise.
16563 * genpeep.c (main): Likewise.
16564 * genrecog.c (main): Likewise.
16566 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
16567 * genattrtab.c (get_insn_name): Likewise.
16568 * gencodes.c (get_insn_name): Likewise.
16569 * genconfig.c (get_insn_name): Likewise.
16570 * genemit.c (get_insn_name): Likewise.
16571 * genextract.c (get_insn_name): Likewise.
16572 * genflags.c (get_insn_name): Likewise.
16573 * genopinit.c (get_insn_name): Likewise.
16574 * genpeep.c (get_insn_name): Likewise.
16576 * gencheck.c (usage): Add static prototype.
16577 * genextract.c (print_path): Constify a char*.
16578 * genopinit.c (optabs): Likewise.
16579 * genoutput.c (operand_data, data, output_predicate_decls,
16580 compare_operands): Likewise.
16581 * genrecog.c (write_tree): Add default case in switch.
16583 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16585 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
16587 * print-rtl.c (get_insn_name): Remove prototype.
16589 * toplev.h (progname): Declare const.
16591 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
16592 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
16593 dump_sched_info, dump_local_alloc, regset_release_memory,
16594 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
16595 error_with_file_and_line, error_with_decl, error_for_asm, error,
16596 fatal, warning_with_file_and_line, warning_with_decl, warning,
16597 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
16598 Remove redundant prototypes.
16600 (notice, check_lang_option, report_file_and_line, vnotice,
16601 mark_file_stack): Add static prototype.
16602 (set_fatal_function): Add prototype.
16603 (vnotice, report_file_and_line, set_fatal_function,
16604 check_lang_option): Constify a char*.
16605 (main): Prototype. Call return, not exit.
16607 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16609 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
16611 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
16613 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
16615 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
16617 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16619 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
16620 behave as if it's zero in all cases.
16621 (expand_function_start): Adjust call to assign_parms.
16622 * tree.h (assign_parms): Adjust prototype.
16623 * objc/objc-act.c (hack_method_prototype): Adjust call to
16626 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
16628 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
16629 arg_pointer_rtx fixed if the argument pointer register is
16631 (NONZERO_BASE_PLUS_P): Likewise.
16633 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
16635 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
16636 match_insn2 to match_insn.
16637 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
16639 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
16641 * Makefile.in (USER_H): Remove va-foo.h.
16643 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
16644 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
16645 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
16646 va-spur.h,va-v850.h}: Remove.
16648 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
16650 * sparc/sparc.md (eligible_for_return_delay): New attribute.
16651 (in_return_delay): Use it instead of match_insn.
16653 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16655 * config/alpha/va_list.h (va-alpha.h): Do not include.
16656 (__gnuc_va_list): Typedef as in varargs.h.
16658 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
16660 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
16661 DECL_LIVE_RANGE_RTL.
16663 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
16665 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
16666 not NOTE_BLOCK_NUMBER.
16667 (expand_eh_region_end): Likewise.
16668 (find_exception_handler_labels): Likewise.
16669 (scan_region): Likewise.
16670 (exception_optimize): Likewise.
16671 (update_rethrow_references): Likewise.
16672 (set_insn_eh_region): Likewise.
16673 * final.c (final_scan_insn): Likewise.
16674 * flow.c (make_edges): Likewise.
16675 * integrate.c (expand_inline_function): Likewise.
16676 * print-rtl.c (print_rtx): Likewise.
16678 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
16680 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
16681 terms of builtin functions and types.
16683 * mips.c (mips_build_va_list): New.
16684 (mips_va_start, mips_va_arg): New.
16685 * mips.h (BUILD_VA_LIST_TYPE): New.
16686 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16688 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
16689 (sh_build_va_list, sh_va_start, sh_va_arg): New.
16690 * sh.h (BUILD_VA_LIST_TYPE): New.
16691 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16693 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
16695 * recog.h (struct recog_data): Make dup_num, operand_address_p,
16696 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
16697 (struct insn_data): Likewise with n_operands, n_dups,
16698 n_alternatives, output_format.
16699 * regclass.c (scan_one_insn): Cast n_operands to int before
16700 arithmetic inside comparison.
16702 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
16704 * toplev.c (compile_function): Unconditionally emit nop.
16706 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16708 * haifa-sched.c (actual_hazard): Move declaration of variable
16709 `this_cost' into the scope where it is used.
16711 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16713 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
16714 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
16715 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
16717 * genrecog.c (make_insn_sequence): Call memset, not bzero.
16719 * jump.c (find_insert_position): Don't declare or define unless
16720 !HAVE_conditional_arithmetic.
16721 (returnjump_p_1, delete_prior_computation): Add static prototypes.
16723 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
16725 * recog.c (offsettable_address_p): Prototype function pointer.
16726 (preprocess_constraints): Call memset, not bzero.
16728 * tree.c (tree_node_kind_names): Constify a char*. Make static.
16729 (gcc_obstack_init): Don't declare.
16730 (fix_sizetype): Add static prototype.
16731 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
16732 (tree_cons): Call memset, not bzero.
16734 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
16735 definition in macro ASM_WEAKEN_LABEL.
16736 (mark_const_hash_entry): Add static prototype.
16738 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16740 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
16742 * unroll.c (find_common_reg_term, subtract_reg_term,
16743 loop_find_equiv_value): Add static prototypes.
16744 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
16745 (copy_loop_body): Remove unreachable break statement.
16747 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
16749 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
16751 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16753 Undo some changes from the gcc2 merge:
16754 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
16755 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
16759 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
16760 * emit-rtl.c (gen_lowpart_common): Disable optimization of
16761 initialized float-int union if the value is a NaN.
16763 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
16765 * gthr-win32.h: New file.
16767 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
16768 shared as a valid attribute.
16769 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
16770 * extend.texi: Document `shared' variable attribute.
16772 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
16774 * configure.in: Handle --enable-threads on FreeBSD.
16775 * configure: Rebuit.
16777 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
16779 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
16781 * configure: Rebuilt.
16783 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
16784 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
16785 Rosimildo DaSilva <rdasilva@connecttel.com>
16787 * configure.in (m68k-*-rtemscoff*): Added.
16788 * configure.in (mips64orion-*-rtems*): Converted to ELF.
16789 * configure.in (sparc-*-rtemsaout*): Added as alias for old
16790 sparc-rtems configuration.
16791 * configure.in (sparc-*-rtemself*): Added.
16792 * configure.in (sparc-*-rtems*): Now ELF not a.out.
16793 * config/i386/rtems.h: Added comment.
16794 * config/sparc/rtemself.h: New file.
16796 * configure.in (m68k-rtemself): Added.
16797 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
16798 and DWARF_DEBUGGING_INFO.
16799 * config/m68k/crti.s: New file.
16800 * config/m68k/crtn.s: New file.
16801 * config/m68k/t-crtstuff: New file.
16802 * config/m68k/rtemself.h: New file.
16804 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
16805 global ctor/dtor and C++ exception handling.
16806 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
16807 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
16809 * config/i386/t-rtems-i386: New File.
16811 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
16813 * stmt.c (expand_end_case): Return right away if the case stack is
16816 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
16818 * Makefile.in (version.c): Remove rule incorrectly brought in from
16821 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
16823 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
16824 * msdos/top.sed: Take into account a prepended $(SHELL) to
16826 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
16828 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
16830 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16832 * regmove.c (fixup_match_1): Don't change an unchanging register.
16833 (stable_but_for_p): Renamed to:
16834 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
16835 Changed all callers.
16837 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
16839 * loop.c (strength_reduce): Don't call reg_used_between_p if the
16840 insn from BL2 is after the insn from BL.
16842 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
16844 * recog.h (INSN_OUTPUT_FORMAT_*): New.
16845 (struct insn_data): Merge `template' and `outfun' into `output'.
16846 Add `output_format'.
16847 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
16848 (struct data): Remove `outfun'; add `output_format'.
16849 (name_for_index): Remove declaration.
16850 (output_insn_data): Handle output formats.
16851 (process_template): Emit the bare array for @.
16852 (gen_expand, gen_split): Set output_format to NONE.
16853 * output.h (get_insn_template): Declare.
16854 * final.c (get_insn_template): New.
16855 (final_scan_insn): Use it.
16856 * toplev.c (compile_file): Likewise.
16858 * c4x/c4x.c (c4x_process_after_reload): Likewise.
16859 * i860/i860.c (output_delayed_branch): Likewise.
16860 (output_delay_insn): Likewise.
16862 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16864 * rtl.c (obstack_alloc_rtx): Removed.
16866 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
16868 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
16870 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
16872 * i386.c (call_insn_operand): Reject const_int.
16873 (expander_call_insn_operand): Use call_insn_operand.
16875 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16877 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
16879 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
16881 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
16882 Use DImode operation.
16884 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
16886 * gcc.c: Include sys/resource.h.
16887 (report_times): New flag.
16888 (execute): If report_times is set, calculate and report the
16889 CPU time consumed by each subprocess.
16891 (rus, prus): New globals.
16892 (option_map): Add --time.
16893 (display_help): Document -time.
16894 (process_command): Set report_times if -time is given.
16895 Turn off -pipe if -time is given.
16897 * invoke.texi: Document new option -time.
16899 * configure.in: Check for getrusage. Check if we have to
16900 prototype getrusage.
16901 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
16902 * configure: Regenerate.
16903 * config.in: Regenerate.
16905 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
16907 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
16910 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
16912 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
16913 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
16914 (nan): Return _thenan_sf or _thenan_df as appropriate.
16915 (L_thenan_sf): Define _thenan_sf.
16916 (L_thenan_df): Define _thenan_df.
16918 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
16919 (DPBIT_FUNCS): Add _thenan_df.
16921 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
16923 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
16926 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16928 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
16931 (lang_specific_driver): Don't take a function pointer parameter.
16932 All callers changed.
16934 * gcc.c: Include gcc.h.
16935 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
16936 lang_specific_extra_outfiles, fatal): Don't declare.
16937 (multilib_defaults_raw): Constify.
16938 (read_specs): Call memset, rather than bzero.
16939 (main): Call return, not exit.
16940 (lookup_compiler): Call memcpy, not bcopy.
16941 (fatal): Make extern.
16943 * cppspec.c: Include gcc.h.
16944 (lang_specific_driver): Initialize variable `quote'. Constify a
16945 char*. All calls to the function pointer parameter now
16946 explicitly call `fatal'.
16948 * gccspec.c (lang_specific_driver): Include gcc.h.
16950 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
16952 * arm.c (note_invalid_constants): Use recog_data.operand_type
16955 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16957 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
16960 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
16961 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16962 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16963 reload_secondary_in_reload, reload_secondary_out_reload,
16964 reload_secondary_in_icode, reload_secondary_out_icode,
16965 reload_reg_rtx, reload_when_needed): Delete declarations.
16966 (struct reload): New structure.
16967 (rld): Declare new array.
16968 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
16969 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16970 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16971 reload_secondary_in_reload, reload_secondary_out_reload,
16972 reload_secondary_in_icode, reload_secondary_out_icode,
16973 reload_reg_rtx, reload_when_needed): Delete definitions.
16975 (whole file): Replace uses of the deleted arrays with uses of rld.
16976 * reload1.c (whole file): Replace uses of the deleted arrays with
16978 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
16979 explicit loops, not with bcopy.
16981 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
16983 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
16984 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
16985 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
16986 insn_name): Delete and consolidate into new structures.
16987 (insn_operand_predicate_fn): New.
16988 (insn_output_fn): New.
16989 (insn_gen_fn): New.
16990 (struct insn_operand_data): New.
16991 (struct insn_data): New.
16993 (OUT_FCN): Update for insn_data change.
16994 * builtins.c (expand_builtin_strlen): Likewise.
16995 (expand_builtin_memcmp): Likewise.
16996 * combine.c (make_extraction, simplify_comparison): Likewise.
16997 * cse.c (canon_reg, cse_insn): Likewise.
16998 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
16999 * expmed.c (store_bit_field, extract_bit_field): Likewise.
17000 (emit_store_flag): Likewise.
17001 * expr.c (convert_move, emit_block_move): Likewise.
17002 (clear_storage, emit_push_insn, expand_increment): Likewise.
17003 (do_store_flag): Likewise.
17004 * expr.h (GEN_FCN): Likewise.
17005 (insn_gen_function): Die.
17006 * final.c (final_scan_insn): Update for insn_data change.
17007 (output_asm_name): Likewise.
17008 * function.c (fixup_var_refs_1): Likewise.
17009 * loop.c (check_dbra_loop): Likewise.
17010 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
17011 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
17012 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
17013 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
17014 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
17015 * regmove.c (gen_add3_insn): Likewise.
17016 * reload.c (push_secondary_reload, combine_reloads): Likewise.
17017 (find_reloads, find_reloads_address_1): Likewise.
17018 (debug_reload_to_stream): Likewise.
17019 * reload1.c (emit_reload_insns, gen_reload): Likewise.
17020 * stmt.c (expand_end_case): Likewise.
17021 * toplev.c (compile_file): Likewise.
17023 * c4x/c4x.c (c4x_process_after_reload): Likewise.
17024 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17026 * print-rtl.c (insn_name_ptr): Remove declaration.
17027 (get_insn_name): Declare.
17028 (print_rtx): Use it.
17029 * genoutput.c (insn_name_ptr): Remove.
17030 (next_operand_number): New.
17031 (struct operand_data): New.
17032 (null_operand, odata, odata_end): New.
17033 (struct data): Use struct operand_data.
17034 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
17035 (get_insn_name): Renamed from name_for_index.
17036 (output_prologue): Define NO_MD_PROTOTYPES.
17037 (output_predicate_decls): Break out from output_epilogue.
17038 Iterate over the operands list.
17039 (output_operand_data): Break out from output_epilogue. Emit
17040 just the operands list.
17041 (output_insn_data): Break out from output_epilogue. Emit just
17043 (output_epilogue): Remove.
17044 (output_get_insn_name): New.
17045 (constraints, op_n_alternatives, predicates, address_p): Die.
17046 (modes, strict_low, seen): Die.
17047 (scan_operands): Take new param `d' instead of writing to
17048 seven global variables.
17049 (compare_operands): New.
17050 (place_operands): New.
17051 (validate_insn_alternatives): Update for struct data change.
17052 (gen_insn): Don't zero or copy 7 global arrays. Update for
17053 scan_operands; call place_operands.
17054 (gen_peephole, gen_expand, gen_split): Likewise.
17055 (main): Update for new output routines.
17057 * genattr.c (insn_name_ptr): Remove.
17058 (get_insn_name): New function.
17059 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
17060 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
17061 * genrecog.c: Likewise.
17063 * alpha.md (adddi3): Make `pattern' array static.
17065 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17067 * config/c4x/c4x.h (c4x_rpts_cycles_string,
17068 c4x_cpu_version_string): Constify char *.
17069 * config/c4x/c4x.c (c4x_rpts_cycles_string,
17070 c4x_cpu_version_string): Likewise.
17072 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
17074 * tree.c (save_tree_status): Revert 10 Sep change.
17075 (restore_tree_status): Likewise. Call obstack_free with NULL
17076 before freeing the obstack proper.
17078 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
17080 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
17082 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
17083 surrounding context.
17085 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
17087 * tree.c (type_hash_canon): Put all types in the hash-table, when
17090 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
17092 * recog.h (struct recog_data, recog_data): New.
17093 (recog_foo variables): Kill.
17094 * recog.c (recog_operand, recog_operand_loc): Kill.
17095 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
17096 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
17097 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
17098 (recog_data): Define.
17099 (extract_insn): Update all recog_foo references to use recog_data.
17100 (preprocess_constraints, constrain_operands): Likewise.
17101 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
17102 * genattrtab.c (main): Likewise.
17103 * genextract.c (main): Likewise.
17104 * genoutput.c: Likewise.
17105 * genrecog.c (write_subroutine, main): Likewise.
17106 * local-alloc.c (block_alloc): Likewise.
17107 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
17108 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
17109 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
17110 * reload.c (find_reloads, find_reloads_toplev): Likewise.
17111 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
17112 (reload_cse_simplify_operands): Likewise.
17114 * arc/arc.c (arc_final_prescan_insn): Likewise.
17115 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
17116 * h8300/h8300.c (notice_update_cc): Likewise.
17117 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
17118 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17119 * mn10200/mn10200.c (notice_update_cc): Likewise.
17120 * mn10300/mn10300.c (notice_update_cc): Likewise.
17121 * romp/romp.c (update_cc): Likewise.
17122 * sparc/sparc.c (check_pic): Likewise.
17123 * v850/v850.c (notice_update_cc): Likewise.
17125 * genemit.c (main): Don't declare recog_operand.
17127 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
17129 * ggc.h (rtvec_def): Forward declare.
17130 (tree_node): Likewise.
17131 (ggc_root): Define.
17133 (ggc_set_mark_rtx): Add prototype.
17134 (ggc_set_mark_rtvec): Likewise.
17135 (ggc_set_mark_tree): Likewise.
17136 * ggc-simple.c (ggc_root): Don't define.
17137 (roots): Don't declare.
17138 (ggc_mark_rtx): Remove.
17139 (ggc_mark_rtvec): Likewise.
17140 (ggc_mark_tree): Likewise.
17141 (ggc_mark_varray): Likewise.
17142 (ggc_mark_tree_hash_table_entry): Likewise.
17143 (ggc_mark_tree_hash_table): Likewise.
17144 (ggc_set_mart_rtx): New function.
17145 (ggc_set_mark_rtvec): Likewise.
17146 (ggc_set_mark_tree): Likewise.
17147 (ggc_add_root): Remove.
17148 (ggc_add_rtx_root): Likewise.
17149 (ggc_remove_tree_root): Likewise.
17150 (ggc_add_string_root): Likewise.
17151 (ggc_add_tree_varray_root): Likewise.
17152 (ggc_add_tree_hash_table_root): Likewise.
17153 (ggc_del_root): Likewise.
17154 (ggc_mark_rtx_ptr): Likewise.
17155 (ggc_mark_tree_ptr): Likewise.
17156 (ggc_mark_string_ptr): Likewise.
17157 (ggc_mark_tree_varray_ptr): Likewise.
17158 (ggc_mark_tree_hash_table_ptr): Likewise.
17159 * ggc-common.c: New file.
17160 * Makefile.in (OBJS): Add ggc-common.o.
17161 (ggc-common.o): List dependencies.
17163 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
17165 * cppalloc.c (xstrdup): Use memcpy.
17166 * cpperror.c (cpp_print_containing_files): Don't use
17168 * cpplib.c (conditional_skip): Set temp->lineno.
17169 (do_endif): Make error message less obscure.
17170 (if_directive_name): New function.
17171 (cpp_get_token [case EOF]): Unwind the if stack and generate
17172 error messages for each unterminated conditional in this file.
17173 (parse_string): Do not behave differently if -traditional.
17175 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
17177 * builtins.c (expand_builtin_va_arg): Cope with an array-type
17178 va_list decomposing to pointer-type.
17179 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
17180 (rs6000_va_arg): Likewise.
17182 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
17184 * except.c (start_dynamic_handler): Compute size using
17185 STACK_SAVEAREA_MODE.
17187 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17189 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
17190 include directory headers. Don't define strrchr. Don't provide
17191 my_* replacement functions. Prefer PTR over `pointer_type'.
17192 Don't prototype system functions. Don't redefine getopt.
17194 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
17195 safe_read, safe_write, save_pointers, restore_pointers,
17196 is_id_char, in_system_include_dir, directory_specified_p,
17197 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
17198 find_corresponding_lparen, referenced_file_is_newer,
17199 save_def_or_dec, munge_compile_params, gen_aux_info_file,
17200 process_aux_info_file, identify_lineno, check_source,
17201 seek_to_line, forward_to_next_token_char, output_bytes,
17202 output_string, output_up_to, other_variable_style_function,
17203 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
17204 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
17205 find_static_definition, connect_defs_and_decs, add_local_decl,
17206 add_global_decls, needs_to_be_converted, visit_each_hash_node,
17207 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
17208 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
17209 scan_for_missed_items, edit_file, string_list_cons): Add static
17211 (standard_exec_prefix, target_machine, target_version,
17212 default_syscalls_dir, string_list, string_list_cons, find_file,
17213 do_cleaning): Constify a char*.
17214 (safe_read, safe_write): Use PTR, not a char*.
17215 (is_id_char): Take an int, not a char.
17216 (main): Add prototype. Call return, not exit.
17218 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
17220 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
17221 when comparing types.
17223 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
17225 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
17226 (strength_reduce): Release the varrays from the no-bivs early exit.
17228 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
17229 the loop over the registers.
17231 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
17233 (restore_tree_status): Check that instead when freeing the obstack.
17235 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
17237 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
17240 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17242 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
17243 operand size modifiers.
17245 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17247 * c-common.c (c_common_nodes_and_builtins): Don't build
17249 * c-common.h (enum c_tree_index and related accesor macros): Remove
17250 everything now declared in tree.h.
17251 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
17252 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
17253 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
17254 (error_mark_node, void_type_node, char_type_node, integer_type_node,
17255 unsigned_type_node, ptr_type_node, va_list_type_node,
17256 integer_zero_node, null_pointer_node, integer_one_node): Delete.
17257 (init_decl_processing): Call build_common_tree_nodes and
17258 build_common_tree_nodes_2 instead of building their nodes here.
17259 Don't add roots for these nodes.
17260 * stor-layout.c (size_zero_node, size_one_node): Delete.
17261 (set_sizetype): Make a new node for bitsizetype each time.
17262 * tree.c (global_trees): New variable.
17263 (init_obstacks): Add a gc root for it.
17264 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
17265 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
17266 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
17267 (build_common_tree_nodes): New function.
17268 (fix_sizetype): New function.
17269 (build_common_tree_nodes_2): New function.
17270 * tree.h (enum tree_index): New.
17271 (global_trees): Declare.
17272 Add accessor macros for all nodes now moved to global_trees.
17273 Delete their declarations.
17275 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
17277 * c-decl.c (finish_function): When processing a nested function,
17278 push and pop GC context around rest_of_compilation.
17280 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
17282 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
17283 Default ix86_arch to PROCESSOR_I386.
17284 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
17285 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
17286 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
17287 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
17288 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
17289 (EXTRA_SPECS): Remove deleted specs.
17291 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
17293 * function.c (assign_stack_local_1): Allocate from
17294 function->x_frame_offset, not frame_offset.
17296 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
17298 * ggc.h (lang_cleanup_tree): Remove.
17299 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
17300 * ggc-callbacks.c (lang_cleanup_tree): Remove.
17302 * c-decl.c (finish_struct): Use ggc_alloc to allocate
17303 TYPE_LANG_SPECIFIC when garbage collecting.
17304 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
17305 (lang_cleanup_tree): Remove.
17307 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
17309 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
17310 * crtstuff.c: Not here.
17311 * dwarf2out.c: Or here.
17312 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
17315 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
17317 * function.h (free_after_compilation): Remove decl parameter.
17318 (free_varasm_status0: Likewise.
17319 (free_emit_status): Likewise.
17320 (free_stmt_status): Likewise.
17321 (free_after_compilation): Likewise.
17322 (init_lang_status): New variable.
17323 (free_lang_status): Likewise.
17324 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
17325 * function.c (init_lang_status): New variable.
17326 (free_lang_status): Likewise.
17327 (push_function_context_to): Don't set function::decl here.
17328 (free_after_copmilation): Make decl parameter implicit. Call
17329 free_lang_status if defined.
17330 (prepare_function_start): Call init_lang_status if defined.
17331 (init_function_start): Set function::decl here.
17332 * profile.c (output_func_start_profiler): Don't call pushdecl
17333 until we've actually started the function.
17334 * stmt.c (free_stmt_status): Make decl parameter implicit.
17335 * toplev.c (rest_of_compilation): Don't pass decl to
17336 free_after_compilation.
17337 * varasm.c (free_varasm_status): Likewise.
17339 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17341 * except.c (call_get_eh_context): Add root when allocating static
17344 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
17346 * arm.c: Include "ggc.h".
17347 (arm_add_gc_roots): New function.
17348 (arm_override_options): Call it.
17349 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
17351 * arm.md (define_asm_attributes): Add a pool_range attribute.
17353 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
17355 * extend.texi (Volatiles): New node.
17357 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
17359 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
17360 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
17361 (struct ggc_any): Replace `mark' with `magic_mark'.
17362 (ggc_alloc_string): Use memcpy, not bcopy.
17363 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
17364 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
17365 (ggc_free_any): New.
17366 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
17367 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
17368 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
17369 Use IS_MARKED. Use ggc_free_any.
17371 1999-09-09 Scott Bambrough <scottb@netwinder.org>
17373 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
17375 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
17377 * toplev.c (main): Always init_ggc.
17379 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
17381 * except.c (find_all_handler_type_matches): Free the list if
17382 we found no matches.
17384 * combine.c (SUBST): Break out to a real function do_SUBST.
17385 (SUBST_INT): Likewise.
17386 * gcse.c (free_pre_mem): Free `temp_bitmap'.
17387 (pre_insert): Free `inserted'.
17388 * loop.c (basic_induction_var): Always set `location'.
17390 * function.c (expand_function_end): Add initial_trampoline as a root.
17391 * rtl.h (init_varasm_once): Declare.
17392 * toplev.c (compile_file): Call it.
17393 * ggc-simple.c (ggc_mark_string_ptr): New.
17394 (ggc_add_string_root): New.
17395 (ggc_collect): Disable collection avoidance temporarily.
17396 * ggc.h (ggc_add_string_root): Declare.
17397 * except.c (create_rethrow_ref): Use ggc_alloc_string.
17398 * optabs.c (init_libfuncs): Likewise.
17399 * varasm.c (named_section): Use ggc_alloc_string.
17400 (make_function_rtl): Likewise.
17401 (make_decl_rtl): Likewise.
17402 (assemble_static_space): Likewise.
17403 (assemble_trampoline_template): Likewise.
17404 (output_constant_def): Likewise.
17405 (force_const_mem): Likewise.
17406 (mark_const_hash_entry): New.
17407 (mark_pool_sym_hash_table): New.
17408 (mark_varasm_state): Use it.
17409 (init_varasm_once): New.
17411 * expr.h (init_one_libfunc): Declare.
17412 * optabs.c (init_one_libfunc): New.
17413 (init_optabs): Use it.
17414 * config/gofast.h: Likewise.
17415 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
17416 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
17418 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
17420 * Makefile.in (cppexp.o): Depend on cpphash.h.
17421 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
17423 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
17424 * cpplib.c (do_define): Generalise to handle poisoned definitions,
17425 redefining poisoned identifiers, etc.
17426 (do_undef): Don't allow poisoned identifiers to be undefined.
17427 (do_pragma): Add #pragma poison.
17428 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
17430 * cccp.c: Add T_POISON node type.
17431 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
17433 (do_define): Generalise to handle poisoned definitions,
17434 redefining poisoned identifiers, etc.
17435 (do_undef): Don't allow poisoned identifiers to be undefined.
17436 (do_pragma): Add #pragma poison.
17437 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
17439 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
17440 * c-pragma.h: Add ps_poison state. We now always have generic
17443 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
17445 * ggc.h (ggc_alloc): New function.
17446 (ggc_mark): Likewise.
17447 * ggc-simple.c (ggc_any): New structure.
17448 (ggc_status): Add anys.
17449 (n_anys_collected): New variable.
17450 (ggc_alloc): Define.
17451 (ggc_mark): Likewise.
17452 (ggc_collect): Collect the anys.
17454 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17456 * c-decl.c (mark_binding_level): Make static to match prototype.
17458 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
17460 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
17462 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
17464 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
17465 will use into account. Expand the max width to 5.
17468 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
17470 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
17471 for the rtx length.
17473 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
17475 * alpha.md (call value patterns): Remove the result predicates.
17477 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
17479 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
17482 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17484 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
17485 changed from extern char *, to extern PTR. Also fix typo in
17486 NEED_DECLARATION_REALLOC test.
17488 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
17490 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17492 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
17493 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
17494 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
17495 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
17497 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
17499 * cccp.c (pcfinclude): Likewise.
17501 * global.c (allocno_compare): Likewise.
17503 * haifa-sched.c (rank_for_schedule): Likewise.
17505 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
17507 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
17509 * stupid.c (stupid_reg_compare): Likewise.
17511 * tree.c (_obstack_allocated_p): Likewise.
17513 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
17515 1999-09-08 Bruce Korb autogen@linuxbox.com
17517 * Makefile.in: Give the hapless gperf user a hint about
17518 why "gperf -F" fails.
17520 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
17522 * lists.c: Include ggc.h.
17524 (init_EXPR_INSN_LIST_cache): Install it.
17526 * ggc-simple.c (init_ggc): Absorb the old init.
17527 (ggc_push_context): Use xcalloc.
17528 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
17529 (ggc_collect): Add [rvts] tags to the collection stats.
17531 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
17533 * cccp.c (main): Fix handling of -include and -imacros options.
17535 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
17537 * cpplib.c (cpp_push_buffer): Fix order of arguments.
17539 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
17541 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
17544 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
17546 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
17547 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
17548 and SET_DEST. Update comment.
17550 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17552 * config/c4x/c4x.c: Include ggc.h.
17553 (c4x_add_gc_roots): New function.
17554 (c4x_override_options): Call c4x_add_gc_roots.
17556 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
17558 * defaults.h (TARGET_ESC): Move ...
17559 * system.h: ... here, where Linas had it in the first place. Silly me.
17561 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
17563 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
17564 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
17565 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
17566 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
17567 * defaults.h (TARGET_ESC): Add default.
17569 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
17571 * configure.in: add i370-*-openedition, i370-*-mvs and
17572 i370-*-linux targets
17574 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
17576 * dsp16xxx.c: Include ggc.h
17577 (override_options): Mark GC roots.
17578 * mn10200.c: Include ggc.h.
17579 (asm_file_start): Mark GC roots.
17580 * tahoe.c: Include ggc.h.
17581 (extensible_operand): Mark GC roots.
17583 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
17585 * README: Add section discussing status of ELF ABI.
17586 * i370.c: Fix misc spelling mistakes.
17587 (i370_label_scan): Updated notes, exception handling.
17588 (i370_function_prolog): Simplify ELF stack handling.
17589 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
17590 (STACK_GROWS_DOWNWARD): ELF stack grows down.
17591 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
17592 * i370.md: (movdi): Add notes.
17593 (floatsidf2): Use stack not rtca for scratch float area.
17594 (iorsi3): Correct operand constraints.
17595 * x-oe: Restore TAROUTOPTS which are used by pax.
17597 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
17599 * rs6000.c: Include ggc.h.
17600 (rs6000_add_gc_roots): New function.
17601 (override_options): Call it.
17603 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
17605 * alpha.h (alpha_compare): New.
17606 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
17607 * alpha.c: Likewise for the definitions.
17608 (alpha_emit_conditional_branch): Update for alpha_compare.
17609 (alpha_emit_conditional_move): Likewise.
17610 * alpha.md (cmpdf, cmpdi): Likewise.
17611 (setcc patterns): Likewise. Zero alpha_compare after use.
17612 (sne): Optimize (x != 0) into (0U < x).
17614 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
17616 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
17617 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
17618 (INIT_EXPANDERS): Remove.
17619 * alpha.c: Include ggc.h.
17620 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
17621 (alpha_init_machine_status, alpha_mark_machine_status): New.
17622 (override_options): Install them.
17623 (struct machine_function): Moved to alpha.h.
17624 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
17625 (alpha_init_expanders): Remove.
17626 (alpha_return_addr): Adjust to use current_function->machine.
17627 (alpha_ra_ever_killed): Likewise.
17628 (alpha_expand_epilogue): Likewise.
17629 * alpha.md (eh_epilogue): Likewise.
17631 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
17632 Melissa O'Neill <oneill@cs.sfu.ca>
17633 Geoffrey Keating <geoffk@cygnus.com>
17635 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
17636 call-used registers (call-saved registers must still be contiguous
17637 and end with r31, of course).
17639 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
17641 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
17642 (self_promoting_type_p): Delete.
17643 (self_promoting_args_p): Move ...
17644 * c-common.c: ... here.
17645 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
17646 (simple_type_promotes_to): New.
17647 * builtins.c (lang_type_promotes_to): New.
17648 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
17649 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
17650 * c-common.h: ... here.
17651 (self_promoting_args_p, simple_type_promotes_to): Declare.
17652 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
17653 (grokdeclarator): Likewise.
17654 * tree.h (lang_type_promotes_to): Declare.
17656 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
17658 Add some machine-dependent GC roots.
17659 * sparc.c: Include ggc.h.
17660 (sparc_add_gc_roots): New function.
17661 (mark_ultrasparc_pipeline_state): Likewise.
17662 (override_options): Call sparc_add_gc_roots.
17663 * pa.c: Include ggc.h.
17664 (pa_add_gc_roots): New function.
17665 (mark_deferred_plabels): Likewise.
17666 (override_options): Call pa_add_gc_roots.
17667 * mips.c: Include ggc.h.
17668 (mips_add_gc_roots): New function.
17669 (override_options): Use it.
17671 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17673 * cpperror.c (cpp_file_line_for_message): Constify a char*.
17675 * cppexp.c (parse_number, parse_charconst, cpp_lex,
17676 cpp_parse_expr): Add static prototypes.
17677 (parse_charconst): Don't cast away const-ness.
17678 (token): Constify a char*.
17680 * cppfiles.c (file_name_list, include_hash, find_include_file,
17681 finclude, initialize_input_buffer): Constify a char*.
17682 (file_cleanup, find_position): Add static prototypes.
17684 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
17685 collect_expansion): Add static prototypes.
17686 (cpp_install, create_definition, monthnames): Constify a char*.
17688 * cpphash.h (cpp_install): Likewise.
17690 * cppinit.c (known_suffixes, default_include,
17691 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
17692 (base_name, dump_special_to_buffer, initialize_dependency_output):
17693 Add static prototypes.
17695 * cpplib.c (my_strerror): Constify a char*.
17696 (null_underflow, null_cleanup, skip_comment, copy_comment,
17697 copy_rest_of_line, handle_directive, pass_thru_directive,
17698 get_directive_token, read_line_number, cpp_print_file_and_line,
17699 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
17700 v_cpp_warning_with_line, detect_if_not_defined,
17701 consider_directive_while_skipping): Add static prototypes.
17702 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
17703 cpp_pedwarn_with_file_and_line): Constify a char*.
17705 * cpplib.h (cpp_options, include_hash, progname, definition,
17706 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
17707 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
17708 find_include_file, deps_output, include_hash): Constify a char*.
17710 * cppmain.c (progname): Constify.
17711 (main): Add prototype. Use return, not exit.
17713 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
17714 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
17715 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
17716 check_protection): Add static prototype.
17718 (progname, recognized_macrom, recognized_extern): Constify a char*.
17719 (main): Add prototype.
17721 * gen-protos.c (progname): Constify a char*.
17723 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
17725 * emit-rtl.c (free_emit_status): Take decl as a parameter.
17726 (init_emit_once): Add more GC roots.
17727 * except.c (mark_func_eh_entry): New function.
17728 (mark_eh_node): Mark false_label and rethrow_label.
17729 (init_eh): Add more GC roots.
17730 * function.c (free_after_compilation): Take decl as a paramter.
17731 Call free_stmt_status.
17732 (mark_function_state): Don't assume x_parm_reg_stack_loc is
17734 * function.h (free_after_compilation): Change prototype.
17735 (free_varasm_status): Likewise.
17736 (free_emit_status): Likewise.
17737 (free_stmt_status): New function.
17738 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
17739 Remove, replacing with ...
17740 (ggc_status): New structure.
17741 (ggc_chain): New variable.
17742 (init_gcc): Define.
17743 (ggc_push_context): New function.
17744 (ggc_pop_context): Likewise.
17745 (ggc_alloc_rtx): Adjust for use of ggc_chain.
17746 (ggc_alloc_rtvec): Likewise.
17747 (ggc_alloc_tree): Likewise.
17748 (ggc_alloc_string): Likewise.
17749 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
17750 (ggc_mark_tree): Give language-dependent code a chance to mark
17752 (ggc_mark_tree_varray): Handle empty arrays.
17753 (ggc_collect): Adjust for use of ggc_chain. Clear
17754 bytes_alloced_since_last_gc.
17755 * ggc.h (ggc_pop_context): New function.
17756 (ggc_push_context): Likewise.
17757 * print-tree.c (print_node): Don't print obstacks when GC'ing.
17758 * stmt.c (free_stmt_status): New function.
17759 (init_stmt_for_function): Clear last_expr_value.
17760 * toplev.c (rest_of_compilation): Always call free_after_compilation.
17761 Conditionalize call to ggc_collect.
17762 (main): Call init_ggc.
17763 * tree.c (push_obstacks): Do the push, even when GC'ing.
17764 (push_obstacks_nochange): Likewise.
17765 (pop_obstacks): Liekwise.
17766 * varasm.c (free_varasm_status): Take decl as a parameter.
17768 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
17770 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
17771 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
17772 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
17773 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
17775 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
17777 * pa/x-pa-mpeix: New file for the MPE port.
17779 * pa/quadlib.asm: New file for long double support.
17781 * configure.in: Add hppa1.0-*-mpeix for MPE port.
17782 * configure: Rebuilt.
17784 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
17786 * final.c (shorten_branches): Fix last change.
17788 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
17790 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
17792 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
17794 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
17797 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17799 * c-aux-info.c (concat): Don't define.
17801 * cccp.c (my_strerror): Likewise. All callers changed to use
17803 (do_include): Call xstrdup, not xmalloc/strcpy.
17804 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
17805 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
17807 * collect2.c (my_strsignal): Likewise. All callers changed to use
17809 (locatelib): Call xstrdup, not xmalloc/strcpy.
17811 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
17813 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
17815 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
17817 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
17819 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
17821 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
17823 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
17825 (find_all_handler_type_matches): Likewise. Don't check return
17827 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
17828 xmalloc, not malloc.
17829 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
17831 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
17832 (init_spec): Call xcalloc, not xmalloc/bzero.
17833 (set_spec): Call xstrdup, not save_string.
17834 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
17835 (find_a_file): Call xstrdup, not xmalloc/strcpy.
17836 (process_command): Call xstrdup, not save_string.
17837 (main): Call xcalloc, not xmalloc/bzero.
17839 * gcov.c (xmalloc): Don't define.
17840 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
17841 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
17842 (output_data): Call xcalloc, not xmalloc/bzero.
17844 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
17846 * mips-tdump.c (xmalloc): Don't define.
17847 (print_symbol): Call xmalloc, not malloc.
17848 (read_tfile): Call xcalloc, not calloc.
17850 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
17851 Don't define. All callers of xfree/my_strsignal changed to use
17852 free/strsignal instead.
17853 (allocate_cluster): Call xcalloc, not calloc.
17855 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
17856 Fix memory leak, free allocated memory.
17858 * prefix.c (translate_name): Call xstrdup, not save_string.
17859 (update_path): Likewise.
17861 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
17863 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
17864 Don't define. Callers of xfree/savestring2 changed to use
17865 free/concat instead.
17867 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
17868 (init_elim_table): Likewise.
17870 * resource.c (init_resource_info): Likewise.
17872 * stupid.c (stupid_life_analysis): Likewise.
17874 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
17875 (open_dump_file): Call concat, not xmalloc/strcpy/...
17876 (clean_dump_file): Likewise.
17877 (compile_file): Call xstrdup, not xmalloc/strcpy.
17879 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
17881 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
17882 * v850.c (v850_va_arg): New.
17884 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17886 * haifa-sched.c: Tidy comments.
17888 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17890 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
17891 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
17892 $(out_object_file)): Depend on ggc.h.
17893 * c-common.c: Include "ggc.h".
17894 (combine_strings): If doing GC, use ggc_alloc_string.
17895 * c-decl.c: Include "ggc.h".
17896 (ggc_p): Define with value 0.
17897 (mark_binding_level): New function.
17898 (init_decl_processing): Add GC roots.
17899 (mark_c_function_context): New function.
17900 (lang_mark_false_label_stack): New function.
17901 (lang_mark_tree): New function.
17902 (lang_cleanup_tree): New function.
17903 * c-lang.c: Include "ggc.h".
17904 (lang_init): Call c_parse_init.
17905 * c-lex.c: Include "ggc.h".
17906 (check_linenum): If doing GC, don't copy filenames to permanent
17908 * c-parse.in: Include "ggc.h".
17909 (c_parse_init): New function.
17910 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
17911 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
17913 * except.c (mark_eh_state): Mark more state.
17914 * function.c (mark_function_state): Likewise.
17915 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
17916 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
17917 * toplev.c (mark_file_stack): New function.
17918 (compile_file): If doing GC, use ggc_alloc_string on input filename.
17919 (main): Add root for input_file_stack.
17921 * i386.c: Include "ggc.h".
17922 (ix86_mark_machine_status): New function.
17923 (override_options): Set mark_machine_status.
17925 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17927 * tree.c (copy_node): Copy node contents also if doing GC.
17929 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
17931 * collect2.c (scan_libraries): Fix double-thinko :-).
17933 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
17935 * collect2.c (scan_libraries): Fix thinko.
17937 * cse.c (delete_trivially_dead_insns): Do not skip the last
17938 insn if it is a real insn.
17940 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
17942 * Makefile.in (ggc-simple.o): Depend on hash.h.
17943 * ggc.h (ggc_add_tree_hash_table_root): Declare.
17944 (ggc_mark_tree_varray): Likewise.
17945 (ggc_mark_tree_hash_table): Likewise.
17946 * ggc-simple.c: Include hash.h.
17947 (ggc_mark_tree_hash_table_ptr): New function.
17948 (ggc_mark_tree_hash_table_entry): Likewise.
17949 (ggc_mark_tree_hash_table): Likewise.
17950 (ggc_add_tree_hash_table_root): Likewise.
17951 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
17952 rtx, when defining fields.
17954 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17956 * profile.c (output_func_start_profiler): Remove apparently
17957 nonsensical call to start_sequence.
17959 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
17961 * clipper/clipper.c (clipper_va_start): Fix typos.
17963 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
17964 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
17965 (spur_va_arg): New stub.
17967 * configure.in: Comment out pyramid.
17969 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
17971 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
17972 don't conflict with the bits that win32, cygwin, and dgux
17975 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
17976 Bernd Schmidt <bernds@cygnus.co.uk>
17978 * integrate.c (function_cannot_inline_p): Do not inline
17979 functions with forced labels.
17981 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
17982 Bernd Schmidt <bernds@cygnus.co.uk>
17983 Mark Mitchell <mark@codesourcery.com>
17985 * Makefile.in (ggc-simple.o): Depend on varray.h.
17986 (rtl.o): Depend on ggc.h.
17987 (genattrtab.o): Depend on ggc.h.
17988 (print-tree.o): Likewise.
17989 (fold-const.o): Likewise.
17990 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
17991 (make_insn_raw): Don't cache insns when GC'ing.
17992 (emit_insn_before): Likewise.
17993 (emit_insn_after): Likewise.
17994 (emit_insn): Likewise.
17995 (start_sequence): Use xmalloc to allocate the sequence_stack.
17996 (end_sequence): Add free to free it.
17997 (gen_sequence): Don't cache insns when GC'ing.
17998 (clear_emit_caches): Don't use sequence_element_free_list.
17999 (init_emit): Use xcalloc, not xmalloc+bzero.
18000 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
18001 * function.c (pop_function_context_from): Use free to free the
18002 fixup_var_refs_queue.
18003 (put_reg_into_stack): Allocate it with xmalloc.
18004 * genattrtab.c: Include ggc.h.
18005 (operate_exp): Don't use obstack_free when GC'ing.
18006 (simplify_cond): Likewise.
18007 (simplify_text_exp): Likewise.
18008 (optimize_attrs): Likewise.
18009 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
18011 (gencode): Generate a #include for ggc.h.
18012 * ggc-callbacks.c (ggc_p): Define it to zero.
18013 * ggc-none.c (ggc_p): Likewise.
18014 * ggc-simple.c: Include varray.h.
18015 (ggc_mark_tree_varray): New function.
18016 (ggc_add_tree_varray_root): Likewise.
18017 (ggc_mark_tree_varray_ptr): Likewise.
18018 * ggc.h (ggc_p): Declare.
18019 (varray_head_tag): Likewise.
18020 (ggc_add_tree_varray_root): Declare.
18021 * print-tree.c (print_node): Don't check for TREE_PERMANENT
18022 inconsistencies when GC'ing.
18023 * rtl.c: Include ggc.h.
18024 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
18025 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
18026 (rtx_free): Don't call obstack_free when GC'ing.
18027 * toplev.c (rest_of_compilation): Call ggc_collect after every
18029 * tree.c (push_obstacks): Do nothing, if GC'ing.
18030 (pop_obstacks_nochange): Likewise.
18031 (pop_obstacks): Likewise.
18032 (make_node): Use ggc_alloc_tree when GC'ing.
18033 (copy_node): Likewise.
18034 (get_identifier): Use ggc_alloc_string when GC'ing.
18035 (build_string): Likewise.
18036 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
18037 (tree_cons): Likewise.
18038 (build1): Likewise.
18039 (type_hash_canon): Don't call obstack_free when GC'ing.
18041 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
18043 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
18044 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
18046 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
18047 Bernd Schmidt <bernds@cygnus.co.uk>
18048 Mark Mitchell <mark@codesourcery.com>
18050 * Makefile.in (stor-layout.o): Depend on ggc.h.
18051 (expr.o): Depend on ggc.h.
18052 (profile.o): Depend on ggc.h.
18053 (stor-layout.o): Depend on ggc.h.
18054 * emit-rtl.c (init_emit_once): Add gc roots.
18055 * expr.c: Include ggc.h.
18056 (emit_block_move): Add gc roots.
18057 (clear_storage): Likewise.
18058 * expr.h (init_stor_layout_once): New function.
18059 * profile.c: Include ggc.h.
18060 (init_arc_profiler): profiler_label is a root.
18061 * scan.c (make_sstring_space): Trust xrealloc to function
18062 correctly with first parameter NULL.
18063 * stor-layout.c: Include ggc.h.
18064 (set_sizetype): Add gc root.
18065 (init_stor_layout_once): New function.
18066 * toplev.c (compile_file): Call it.
18068 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
18069 Bernd Schmidt <bernds@cygnus.co.uk>
18070 Mark Mitchell <mark@codesourcery.com>
18072 * Makefile.in (tree.o): Depend on ggc.h.
18073 (varasm.o): Likewise.
18074 (function.o): Likewise.
18075 (stmt.o): Likewise.
18076 (except.o): Likewise.
18077 (optabs.o): Likewise.
18078 (emit-rtl.o): Likewise.
18079 * emit-rtl.c: Include ggc.h.
18080 (sequence_element_free_list): Remove, and all references.
18081 (mark_sequence): New functions.
18082 (mark_emit_state): New function.
18083 * except.c: Include ggc.h.
18084 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
18085 (mark_tree_label_node): New functions.
18086 (mark_eh_state): New function.
18087 * function.c: Include ggc.h.
18088 (mark_temp_slot, mark_function_chain): New functions.
18089 (mark_function_state): New function.
18090 (init_function_once): New function.
18091 * function.h (init_function_once): New function.
18092 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
18093 * ggc.h (label_node): Declare.
18094 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
18095 (lang_mark_false_label_stack): New function.
18096 (mark_temp_slot): Remove declaration.
18097 (mark_function_chain): Likewise.
18098 (mark_eh_state): Adjust prototype.
18099 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
18101 * optabs.c: Include ggc.h.
18102 (mark_optab): New function.
18103 (init_optabs): Add gc roots.
18104 * stmt.c: Include ggc.h.
18105 (mark_cond_nesting, mark_loop_nesting): New functions.
18106 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
18107 (mark_stmt_state): New function.
18108 * toplev.c (compile_file): Call init_function_once.
18109 * tree.c: Include ggc.h.
18110 (type_hash): Move declaration earlier in file.
18111 (TYPE_HASH_SIZE, type_hash_table): Likewise.
18112 (init_obstacks): Add gc roots.
18113 (mark_type_hash): New function.
18114 * varasm.c: Include ggc.h.
18115 (mark_pool_constant): New function.
18116 (mark_varasm_state): New function.
18118 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18120 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
18122 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18124 * c-decl.c (struct language_function): Renamed from struct c_function.
18126 (c_function_chain): Delete.
18127 (push_c_function_context): New arg F. Don't warn about nested
18128 functions here. Fill LANGUAGE elt of F. Delete code to update
18129 c_function_chain. Don't call push_function_context.
18130 (pop_c_function_context): New arg F. Restore from there instead of
18131 from c_function_chain. Don't call pop_function_context. Clear out
18132 LANGUAGE field of F when done.
18133 * c-lang.c: Include "function.h"
18134 (lang_init): Initialize save_lang_status and restore_lang_status.
18135 * c-parse.in (nested_function, nested_function_notype): Warn about
18136 nested functions. Call push_function_context/pop_function_context
18137 instead of the _c_ variants.
18138 * c-tree.h (push_c_function_context, pop_c_function_context): Update
18140 * Makefile.in (c-lang.o): Update dependencies.
18142 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
18143 regno_pointer_flag, regno_pointer_align.
18144 (gen_reg_rtx): Use xrealloc to enlarge them.
18145 (free_emit_status): New function.
18146 * function.c (mark_machine_status, mark_lang_status): New variables.
18147 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
18148 in some bits from assign_stack_local. All callers changed to use new
18150 (assign_stack_local): Just call assign_stack_local_1.
18151 (free_after_compilation): New function.
18152 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
18153 (trampoline_address): Likewise.
18154 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
18155 (prepare_function_start): Explicitly clear some more variables.
18156 * function.h (struct function): New elt can_garbage_collect.
18157 (mark_machine_status, mark_lang_status): Declare variables.
18158 (free_after_compilation, free_emit_status, free_varasm_status,
18159 init_varasm_status): Declare functions.
18160 * toplev.c (rest_of_compilation): Call free_after_compilation when
18161 done with the current function.
18162 * varasm.c (free_varasm_status): New function.
18164 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
18166 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
18167 (EXPAND_BUILTIN_VA_ARG): Define.
18168 * sparc.c (sparc_va_start): New.
18169 (sparc_va_arg): New.
18171 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18173 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
18175 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18177 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
18179 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
18181 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
18182 (OBJS): Add $(GGC).
18183 (ggc-callbacks.o): New target.
18184 * ggc-callbacks.c: New file.
18186 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18188 * expr.h: Collapse individual optab and libfunc vars to arrays.
18189 (optab_index, libfunc_index): New enumerations.
18190 (optab_table, libfunc_table): New arrays.
18191 Add accessor macros for both.
18193 * optabs.c (optab_table, libfunc_table): New.
18194 Delete declarations for individual optab and libfunc vars.
18196 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
18198 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
18200 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
18202 * Makefile.in (GGC, GGC_LIB): New.
18203 (HOST_RTL): Include ggc-none.o.
18204 (ggc-simple.o): New target.
18205 (ggc-none.o): Likewise.
18206 * tree.h (tree_common): Add gc_mark.
18207 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
18208 (struct rtvec_def): Add gc_mark.
18209 * emit-rtl.c (global_rtl): Update static initializers to contain
18210 enough initializers.
18211 * ggc.h, ggc-none.c, ggc-simple.c: New files.
18212 * toplev.c (gc_time): New variable.
18213 (all_time): New variable.
18214 (compile_file): Print gc time.
18215 (print_time): Calculate percentage of the whole.
18217 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18219 Change obstack memory management and varasm constant pool handling so
18220 that nested functions are treated like any other functions.
18221 * function.c (init_machine_status): New variable.
18222 (push_function_context_to): Set contains_functions for the outer
18223 function. Don't call save_varasm_status.
18224 (pop_function_context_from): Don't call restore_varasm_status. Don't
18225 set current_function_contains_functions.
18226 (prepare_function_start): Call init_varasm_status rather than
18227 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
18229 * function.h (struct function) Add field varasm. Delete fields
18230 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
18231 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
18232 (init_machine_status): Declare.
18233 (save_varasm_status, restore_varasm_status): Delete declarations.
18234 (save_tree_status, restore_tree_status): Delete last argument.
18235 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
18236 code. All callers changed.
18237 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
18238 save_constants_in_decl_trees, restore_constants, save_constants,
18239 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
18241 (inlining): New variable.
18242 (reg_map, label_map, insn_map, orig_asm_operands_vector,
18243 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
18245 (save_for_inline_nocopy): Don't save constants.
18246 Don't set inl_emit field in current_function.
18247 (expand_inline_function): Use emit field, not inl_emit, of the inlined
18248 function. Set new variable inlining before
18249 calling copy_rtx_and_substitute.
18250 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
18251 constant pool references if inlining is nonzero.
18252 Delete ADDRESS and (most of the) CONST cases.
18253 (output_inline_function): Save and restore current_function/
18254 current_function_decl. Delete restore_constants code. Don't call
18255 init_const_rtx_hash_table.
18256 * output.h (init_const_rtx_hash_table): Don't declare.
18257 * rtl.h (struct function): Declare.
18258 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
18259 * toplev.c (rest_of_compilation): Don't treat nested functions or
18260 functions containing them specially. Delete all code to deal with
18261 save_for_inline_copying.
18262 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
18263 inline_obstacks): Delete variables.
18264 (save_tree_status): Lose arg CONTEXT. All callers changed.
18265 Simply allocate a new function_maybepermanent_obstack for the new
18266 function, delete all the special cases.
18267 Don't save inline_obstacks.
18268 (restore_tree_status): Lose arg CONTEXT. All callers changed.
18269 Delete special handling for function_maybepermanent_obstack; simply
18271 Don't restore inline_obstacks.
18272 (permanent_allocation): Delete code that frees inline_obstacks.
18273 (print_inline_obstack_statistics): Delete function.
18274 (dump_tree_statistics): Don't call it.
18275 * varasm.c (struct varasm_status): New.
18276 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
18277 last_pool, pool_offset, const_double_chain): Delete global
18278 variables, replace with accessor macros.
18279 (immed_double_const): Don't walk const_double_chain outside a
18280 function, but don't treat nested functions specially anymore.
18281 (immed_real_const_1): Likewise.
18282 (clear_const_double_mem): Don't treat nested functions specially.
18283 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
18284 (save_varasm_status, restore_varasm_status): Delete functions.
18285 (init_varasm_status): New function.
18286 (force_const_mem): Don't treat nested functions specially.
18287 (find_pool_constant): Accept new arg F, search for constants in
18288 that function's pool rather than the current one. All callers
18290 (get_pool_constant_for_function, get_pool_mode_for_function): New
18293 * i386.c (init_386_machine_status): New function, mostly from
18294 clear_386_stack_locals.
18295 (struct machine_functions): Rename element names to avoid name
18297 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
18298 macros, replacing global variables.
18299 (clear_386_stack_locals, save_386_machine_status,
18300 restore_386_machine_status): Delete functions.
18301 (override_options): Initialize init_machine_status.
18302 * i386.h (INIT_EXPANDERS): Delete macro.
18303 (save_386_machine_status, restore_386_machine_status,
18304 clear_386_stack_locals): Delete declarations.
18306 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18308 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
18309 (doloop_begin): Simplify pattern and use emit_jump_insn.
18310 (doloop_end): Simplify pattern, switch operand order,
18311 and use emit_jump_insn.
18313 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
18315 * function.h (struct function): Add new element LANGUAGE.
18316 (save_lang_status): Declare new variable.
18317 (restore_lang_status): Likewise.
18318 * function.c (save_lang_status): Define.
18319 (restore_lang_status): Likewise.
18320 (push_function_context_to): Call language-specific save function.
18321 (pop_function_context_from): Call language-specific restore function.
18323 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
18325 * i386.md (movsf_1): Check REG_P before use of REGNO.
18326 (movdf_1): Likewise.
18327 (movxf_1): Likewise.
18328 (extendsfdf2): Likewise.
18329 (extendsfxf2): Likewise.
18330 (extenddfxf2): Likewise.
18332 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18334 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
18335 constants into memory.
18336 (c4x_shiftable_constant): New function.
18337 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
18338 (c4x_shiftable_constant): Declare.
18339 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
18340 ashlqi3_noclobber): Add new patterns and associated splitters.
18342 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
18344 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
18345 * dwarf2out.c (dwarf2out_frame_init): Likewise.
18346 * final.c (shorten_branches): Likewise.
18347 * global.c (global_alloc): Likewise.
18348 * haifa-sched.c (build_control_flow): Likewise.
18349 * stmt.c (check_for_full_enumeration_handling): Likewise.
18350 (estimate_case_costs): Likewise.
18352 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
18354 * rtl.h (RTL_CHECKC2): Fix typo in last change.
18356 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
18358 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
18359 (recompute_reg_usage): Likewise.
18360 * rtlanal.c (find_regno_fusage): Likewise.
18362 * rtl.c (rtl_check_failed_code1): New function.
18363 (rtl_check_failed_code2): New.
18364 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
18365 (RTL_CHECKC1, RTL_CHECKC2): New.
18366 (XC*): New accessor macros.
18367 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
18368 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
18369 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
18370 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
18371 (TRAP_*, RANGE_INFO_*): Likewise.
18373 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18375 * Makefile.in (tlink.o): Don't depend on toplev.h.
18377 * collect2.c (c_file, o_file, export_file, import_file, ldout,
18378 output_file, nm_file_name, ldd_file_name, strip_file_name,
18379 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
18380 add_prefix, prefix_from_env, prefix_from_string, do_wait,
18381 fork_execute, maybe_unlink, add_to_list,
18382 extract_init_priority, write_list, dump_list,
18383 dump_prefix_list, write_list_with_asm, write_c_file,
18384 write_c_file_stat, write_c_file_glob, scan_prog_file,
18385 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
18386 ignore_library, extract_string, notice, dump_file, target_machine,
18387 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
18388 read_file, print_load_command): Constify a char*.
18389 (fdopen, error, fatal, fatal_perror): Don't prototype.
18390 (my_strerror): Remove. All callers use xstrerror instead.
18391 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
18392 (main): Add prototype. Constify lots of char* ptrs. Change calls
18393 to xcalloc/strcpy/strcat/... to one call to concat.
18394 (main, scan_prog_file, scan_libraries): Use an intermediate
18395 `const char **' to build an argv array.
18396 (mapfile, libselect, libcompare, locatelib): Add prototypes.
18398 * collect2.h (collect_execute, collect_wait, dump_file,
18399 file_exists): Constify a char*.
18400 (ldout, c_file_name, temporary_obstack, permanent_obstack,
18401 temporary_firstobj, vflag, debug): Add extern declarations.
18402 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
18404 * tlink.c: Don't include toplev.h.
18405 (vflag, debug, ldout, c_file_name, temporary_obstack,
18406 permanent_obstack, temporary_firstobj): Don't declare.
18407 (tlink_execute, frob_extension, symbol_hash_lookup,
18408 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
18409 recompile_files, read_repo_files, demangle_new_symbols,
18410 scan_linker_output): Constify a char*.
18411 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
18412 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
18414 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
18416 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
18417 (relative) rather than jsr (absolute) subroutine call insns.
18418 * config/m68k/m68k-coff.h: Ditto.
18420 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
18422 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
18423 now rework these too.
18424 (arm_reorg): If an insn can't reach the end of the current pool,
18425 ensure that we emit that pool before the insn.
18427 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
18429 * tlink.c (scan_linker_output): Skip the initial underscore in
18430 a mangled name if appropriate.
18432 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18434 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
18435 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
18436 error_with_ivar, gen_declarator, create_builtin_decl,
18437 my_build_string, generate_descriptor_table, generate_ivars_list,
18438 generate_dispatch_table, check_protocols, TAG_GETCLASS,
18439 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
18440 dump_base_name, lang_decode_option, build_encode_expr,
18441 start_class, finish_class, encode_pointer, really_start_method,
18442 gen_declaration, dump_interface, handle_class_ref, handle_impent):
18444 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
18445 Add static prototypes.
18446 (build_objc_string_decl, build_selector_reference_decl,
18447 encode_bitfield, build_class_reference_decl): Remove unused
18448 parameter, all callers changed.
18449 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
18450 (objc_printable_name): Likewise. Change second parameter to type int.
18451 (init_objc): Use memcpy, not bcopy, to avoid casts.
18453 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
18455 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
18456 reg notes on a deleted insn.
18457 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
18459 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
18461 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
18463 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18465 * stmt.c (expand_asm_operands): Fix index into inout_mode when
18468 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
18470 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
18471 * tm.texi (MD_ASM_CLOBBERS): Document it.
18473 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
18475 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
18476 * except.c (expand_rethrow): Remove unused variable.
18477 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
18478 * flow.c (replace_insns): Likewise.
18479 (create_edge_list, verify_edge_list): Likewise.
18480 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
18482 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
18483 is special code to run.
18484 (main): Don't define operands to emit_operand.
18485 * genrecog.c (main): Don't emit an empty peephole2_insn function.
18487 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
18489 * alpha/alpha.h (normal_memory_operand): Declare.
18490 (reg_no_subreg_operand): Declare.
18491 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
18493 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
18495 * c-parse.in (compstmt_primary_start): New, broken out of first
18496 part of compstmt handling in primary.
18497 (primary): Use it. Add an error clause.
18498 (compstmt_nostart): Renamed from compstmt; remove all
18499 initial invocations of compstmt_start.
18502 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
18504 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
18507 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
18509 * combine.c (simplify_shift_const): Remove extra semicolon.
18510 * dwarf2out.c (remove_AT): Likewise.
18511 * expmed.c (expand_mult): Likewise.
18512 * gcov.c (create_program_flow_graph): Likewise.
18513 * reorg.c (mostly_true_jump): Likewise.
18515 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
18517 * fold-const.c (fold_range_test): Do not try to fold the range
18518 test if the rhs or lhs has side effects.
18520 * combine.c (simplify_rtx): Recognize another case of a synthesized
18523 * varasm.c (mark_constant_pool): When marking indirect references,
18524 only look at SYMBOL_REFs.
18526 * except.c (expand_fixup_region_end): Do not peek at
18527 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
18529 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
18531 * flags.h: New variables align_loops, align_loops_log,
18532 align_jumps, align_jumps_log, align_labels, align_labels_log,
18533 align_functions, align_functions_log.
18534 * toplev.c: Define them.
18535 (f_options): Handle -falign-* when they have no argument.
18536 (main): Add logic to set variables for -falign-functions,
18537 -falign-jumps, -falign-labels, -falign-loops.
18538 Make it -fsched-verbose=<n> and -finline-limit=<n>.
18539 (display_help): Change help to match options.
18540 * final.c (LABEL_ALIGN): Default to align_labels_log.
18541 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
18542 (LOOP_ALIGN): Default to align_loops_log.
18543 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
18544 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
18545 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
18546 * varasm.c (assemble_start_function): Handle align_functions.
18548 * config/sparc/sparc.h: Don't declare sparc_align_*.
18549 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
18550 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
18552 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
18554 * config/sparc/sparc.c: Delete sparc_align_loops,
18555 sparc_align_jumps, sparc_align_funcs and the corresponding string
18557 (sparc_override_options): Default align_functions on ultrasparc.
18558 Delete -malign-* handling.
18560 * config/mips/mips.c (override_options): On 64-bit targets,
18561 try to align code to 64-bit boundaries.
18562 (print_operand): New substitution, %~,
18563 which aligns labels to align_labels_log.
18564 * config/mips/mips.md (div_trap_normal): Use %~.
18565 (div_trap_mips16): Likewise.
18567 (absdi2): Likewise.
18568 (ffssi2): Likewise.
18569 (ffsdi2): Likewise.
18570 (ashldi3_internal): Likewise.
18571 (ashrdi3_internal): Likewise.
18572 (lshrdi3_internal): Likewise.
18573 (casesi_internal): Likewise.
18575 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
18577 Merge new ia32 backend from the branch!
18579 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
18580 See ChangeLog.P2 on new_ia32_branch for details.
18582 * rtl.h (stack_regs_mentioned_p): Delete prototype.
18583 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
18584 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
18585 * i386/gas.h (ASM_FILE_START): Define.
18586 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
18587 for name change of ix86_valid_decl_attribute_p.
18588 (i386_pe_valid_type_attribute_p): Similarly.
18590 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
18592 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
18593 to step through CC modes.
18595 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18597 * regmove.c (fixup_match_1): Don't move INSN in front of P if
18598 it would end up in the shadow of a live flags regsiter.
18600 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18602 * reload1.c: Fix many indentation problems.
18603 * reload.c: Likewise.
18605 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
18607 * alias.c (non_local_reference_p): Constify fmt.
18609 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
18611 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
18613 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
18615 * cse.c (delete_trivially_dead_insns): Do not delete stores to
18616 the internal_arg_pointer.
18618 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
18620 Merge peephole2 from new_ia32_branch:
18621 * Makefile.in (STAGESTUFF): Add *.peephole2.
18622 (mostlyclean): Likewise.
18623 (recog.o): Depend on resource.h.
18625 * final.c (peephole): Conditionalize decl on HAVE_peephole.
18626 (final_scan_insn): Likewise for the invocation of peephole.
18627 * genconfig.c (main): Look for peephole and peephole2 patterns.
18628 Emit HAVE_peephole* accordingly.
18629 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
18630 * flags.h (flag_peephole2): Declare.
18631 * toplev.c: New pass peephole2. New flag -fpeephole2.
18633 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
18634 * gencodes.c (main): Likewise.
18635 * genextract.c (main): Likewise.
18636 * genoutput.c (main): Likewise.
18637 * genemit.c (max_operand_1): Look for the max scratch operand.
18638 (gen_rtx_scratch): New.
18639 (gen_exp): Use it, and pass on new arg subroutine_type.
18640 (gen_expand): Take max scratch into account.
18641 (gen_split): Emit peephole2 functions.
18642 (output_peephole2_scratch): New.
18643 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
18644 * genrecog.c (routine_type): Add PEEPHOLE2.
18646 (make_insn_sequence): Match outer parallel for peep2. Discard
18647 top level scratches and dups.
18648 (add_to_sequence): New args insn_type and top. Update all callers.
18649 Handle toplevel peep2 matching insns.
18650 (write_subroutine): Handle peep2.
18651 (write_tree_1): Likewise.
18652 (write_tree): Likewise.
18654 (change_state): New arg afterward. Update all callers.
18655 Handle matching separate insns.
18656 * recog.c (recog_next_insn): New.
18657 (peephole2_optimize): New.
18658 * rtl.def (DEFINE_PEEPHOLE2): New.
18659 * resource.c (find_free_register): New argument last_insn. Use it
18660 to find a register available through the entire span.
18661 * resource.h (find_free_register): Update prototype.
18663 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
18665 * i386.c (output_strlen_unroll): Don't write xops[7]
18666 label if it wasn't set.
18668 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
18670 * cpplib.c (struct directive): Const-ify name pointer and
18671 function pointer prototype.
18672 (validate_else, do_define, do_line, do_include, do_undef,
18673 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
18674 do_elif, do_endif, do_sccs, do_assert, do_unassert,
18675 do_warning): Const-ify second arg.
18676 (directive_table): Mark const. Reorder entries by frequency
18677 of usage, record statistics.
18679 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
18681 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
18682 bounds- check RTL accesses if --enable-checking.
18683 (RTVEC_ELT): Bounds check if --enable-checking.
18684 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
18685 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
18686 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
18688 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
18689 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
18691 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
18692 (NOTE_SOURCE_FILE): Use X0STR.
18693 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
18694 MEM_ALIAS_SET): Use X0INT.
18695 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
18696 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
18698 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
18699 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
18700 (rtl_check_failed_bounds, rtl_check_failed_type1,
18701 rtl_check_failed_type2, rtvec_check_failed_bounds): New
18703 (fancy_abort): Fix comment.
18705 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
18706 (cse_insn): Decrement LABEL_NUSES for jump target before
18707 deleting jump insn.
18708 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
18709 * final.c (alter_subreg): Compute regno before changing x to
18710 REG; set REGNO(x) after changing it.
18711 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
18712 notes containing CONST_INTs.
18713 (delete_eh_regions): Use NOTE_EH_HANDLER.
18714 * function.c (put_reg_into_stack): Make reg a MEM before
18716 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
18718 (gen_mem_addressof): Make reg a MEM before initializing it.
18719 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
18721 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
18722 deleting an insn, not after.
18723 (block_alloc): Only look at PATTERN(insn) if we have to, and
18724 only if it's format class 'i'.
18725 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
18726 CONST_INT before using its INTVAL.
18727 * print-rtl.c (print_rtx): Use X0STR.
18728 * regmove.c (fixup_match_1): Don't look at PATTERN of
18729 non-class-'i' insn chain elements.
18730 * reload.c (loc_mentioned_in_p): Take address of
18731 in->fld[1].rtx directly.
18732 * reload1.c (reload): Change reg to a MEM before initializing
18734 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
18736 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
18738 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
18740 * config/mips/mips.c (machine_dependent_reorg): Force a
18741 barrier to output the local constant pool if a barrier hasn't
18742 been found at a natural point in the instruction stream.
18744 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18746 * c-parse.in (language_string): Constify.
18748 * dwarf2out.c (language_string): Remove declaration.
18750 * dwarfout.c (language_string): Likewise.
18752 * toplev.c (language_string, init_parse, finish_parse): Likewise.
18754 * tree.h (language_string, init_parse, finish_parse): Declare.
18756 * i386/sun386.h (language_string): Remove declaration.
18758 * mips.h (language_string): Likewise.
18760 * nextstep.h (language_string): Likewise.
18762 * nextstep21.h (language_string): Likewise.
18764 * rs6000.c (language_string): Likewise.
18766 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18768 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
18769 (getpwd.o): Remove target.
18771 * getpwd.c: Delete file. Its in libiberty now.
18773 * dbxout.c (getpwd): Don't prototype.
18774 * dwarf2out.c (getpwd): Likewise
18775 * dwarfout.c (getpwd): Likewise
18776 * final.c (getpwd): Likewise.
18777 * protoize.c (getpwd): Likewise.
18779 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18781 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
18783 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
18785 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
18786 mark_set_resources.
18788 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
18790 * fixinc/Makefile.in (subdir): New.
18791 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
18794 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
18796 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
18797 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
18800 * invoke.texi: Fix typo.
18802 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
18803 changed. Handle autoincrement addressing modes.
18805 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
18806 just like we would the virtual incoming args register when
18809 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
18811 * rs6000.h (ASM_FILE_START): Specify complete filename, including
18812 path, in .file directive.
18814 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
18816 * gcc.texi (External Bugs): Remove obsolete note about Perl on
18819 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
18821 * stdbool.h: Make the typedef name _Bool, with bool a #defined
18824 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18826 * tree.c (tree_code_name): Constify a char*.
18828 * tree.h (tree_code_name, decl_printable_name): Likewise.
18830 * function.h (struct function): Likewise.
18832 * toplev.c (decl_name, decl_printable_name): Likewise.
18834 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
18836 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
18837 (init_objc): Remove function pointer cast.
18839 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
18841 * pa.md (interspace_jump): New pattern.
18842 (builtin_longjmp): New expander.
18844 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
18846 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
18847 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
18848 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
18850 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
18852 * jump.c (delete_prior_computation): Also check calls
18853 to constant functions. Don't bother checking for a
18854 REG_UNUSED note before adding it.
18855 (delete_computation): Handle multi-word hard registers
18856 when synthesizing missing REG_DEAD notes for a register
18857 which is both set and used by an insn.
18859 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18861 * loop.c (this_loop_info): New variable.
18862 (loop_has_call, loop_has_volatile, loop_has_tablejump,
18863 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
18865 (prescan_loop, strength_reduce): New argument loop_info. All callers
18867 (scan_loop): New variable loop_info, initialise to address of
18869 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
18870 Delete variable loop_has_multiple_exit targets and replace with
18871 field in this_loop_info.
18872 (find_and_verify_loops): Rename this_loop to this_loop_num.
18873 (strength_reduce): Delete loop_iteration_info. Replace variable
18874 loop_info with function argument of same name.
18875 (insert_bct): Rework test for loop being completely unrolled.
18877 * loop.h (struct loop_info): New fields num, loops_enclosed,
18878 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
18879 has_indirect_jump, and cont. Redefine use of unroll_number.
18880 (loop_unroll_number): Delete.
18882 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
18883 field of loop_info.
18884 (loop_iterations): Delete variable vtop and instead use
18885 loop_info->vtop computed in prescan_loop.
18887 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
18889 * fix-header.c (main): Do not pass a null pointer to strcmp.
18891 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
18893 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
18895 * configure: Rebuilt.
18897 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
18899 * jump.c (jump_optimize_1): Do not delete assignments to
18900 internal_arg_pointer.
18901 * cse.c (delete_trivially_dead_insns): Always consider a set of
18902 the internal_arg_pointer live.
18904 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
18906 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
18907 (update_life_info) [REG_WAS_0]: Search the original insns rather
18908 than the new insns for the note. Fix typos finding note_dest.
18909 If no dest found, discard the note rather than abort.
18910 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
18911 (replace_insns): Remove the old insn list after update_life_info
18914 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
18916 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
18917 sched_analyze_insn.
18918 (sched_analyze_1): Let add_dependence care for not adding dups.
18919 (sched_analyze_2): Likewise.
18920 (add_branch_dependences): Likewise.
18922 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
18924 * i386/winnt.c (export_list): New type.
18925 (exports_head): Rename to
18926 (export_head): this.
18927 (i386_pe_record_exported_symbol): Add is_data flag.
18928 (i386_pe_asm_file_end): Emit directive for exported variables.
18929 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
18931 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
18932 (ASM_DECLARE_OBJECT_NAME): Likewise.
18933 (ASM_DECLARE_FUNCTION_NAME): Likewise.
18934 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
18936 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
18938 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
18940 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
18943 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
18945 * config/openbsd.h: Define SET_ASM_OP.
18946 * tm.texi: cross-reference SET_ASM_OP in the index.
18948 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
18950 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
18951 for a CONST_DOUBLE, at compile time. Initialize rtx_length
18952 and class_narrowest_mode at compile time. Kill init_rtl.
18953 Mark rtx_length, mode_class, mode_size, mode_unit_size,
18954 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
18955 rtx_format as const. Kill all references to EXTRA_CC_MODES or
18957 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
18959 * rtl.h: Declare rtx_length and rtx_format as const.
18960 * machmode.def: Define CC(). Use CC() to define CCmode. If
18961 EXTRA_CC_MODES is defined, expand it here.
18962 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
18963 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
18964 const. Kill all references to EXTRA_CC_MODES.
18966 * toplev.c: Don't prototype or call init_rtl.
18967 * optabs.c: Don't call init_mov_optab.
18968 * genemit.c: Don't generate init_mov_optab. Don't call
18970 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
18972 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
18973 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
18974 genrecog.c: Don't call init_rtl.
18976 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
18977 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
18978 definition of EXTRA_CC_MODES.
18980 * md.texi: Kill ref to EXTRA_CC_NAMES.
18981 * tm.texi: Document new way to define EXTRA_CC_MODES.
18983 * genrecog.c: Do not look up the name of a define_split.
18984 (Unrelated bugfix.)
18986 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
18988 * config/v850/v850.md: Fix typo introduced by previous delta.
18990 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18992 * gcc.c (fatal): Make definition static to match prototype.
18994 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18996 * combine.c (get_last_value): Don't look for earlier sets if the last
18997 known set is somewhere in between the insns being combined.
18999 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
19001 * configure.in: Don't use shell ! to negate exit codes
19002 * configure: Regenerate
19004 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
19006 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
19007 the fact that ALIGN is measured in bits, not bytes.
19009 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
19011 * errors.c: New file; defines functions error, warning, and
19012 fatal, variables have_error and progname.
19013 * errors.h: New file; prototypes and decls for stuff in errors.c.
19015 * Makefile: Add rules to build errors.o and
19016 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
19017 genopinit, genrecog, genextract, genpeep, genattr, and
19018 genoutput with errors.o. Add errors.h to deps of genconfig.o,
19019 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
19020 genpeep.o, genattr.o, and genoutput.o.
19022 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
19023 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
19024 define or prototype fatal. Set progname at beginning of main.
19025 * genoutput.c: Likewise, and don't define or prototype error
19028 * c-typeck.c (c_expand_start_case): Return immediately if exp
19030 * fold-const.c (operand_equal_p): Return immediately if arg1
19031 or arg0 are ERROR_MARKs.
19032 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
19033 fields of type ERROR_MARK when calculating if the record can
19036 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
19037 with much help from Jeffrey A Law and Richard Henderson
19039 * i386.md: In the 6 insns which call output_fix_trunc,
19040 earlyclobber operands[0].
19042 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
19044 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
19045 creating new registers.
19047 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
19049 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
19050 i386_reg_alloc_order, i386_regparm_string,
19051 i386_align_loops_string, i386_align_jumps_string,
19052 i386_align_funcs_string, i386_preferred_stack_boundary_string,
19053 and i386_branch_cost_string as type "const char *".
19054 * i386.c: Define all above strings as type "const char *".
19056 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
19058 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
19059 when emitting alignment padding. Emit padding byte of 0 instead of 4.
19061 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
19063 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
19064 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
19066 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
19068 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
19069 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
19070 (dwarf2out_line, dwarf2out_finish): Likewise.
19071 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
19073 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
19075 * tree.c (lang_unsave_expr_now) : Correct return type.
19076 * tree.h (lang_unsave_expr_now) : Same.
19078 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
19080 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
19081 instead of duplicating code.
19083 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19085 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
19087 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
19089 * tree.h: fancy_abort always takes three args.
19090 * resource.c: Move include of system.h before toplev.h.
19092 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
19094 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
19097 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
19099 * system.h: Don't redefine abort or trim_filename.
19100 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
19101 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
19102 whether or not __FUNCTION__ is available.
19103 * tree.h: Duplicate rtl.h's definition of abort, for files
19104 that don't include rtl.h. Delete all code to perform type
19105 checking with a compiler other than GCC.
19106 * varray.h: Delete all code to perform type checking with a
19107 compiler other than GCC. Make VARRAY_CHECK() always evaluate
19108 its arguments exactly once, using a statement expression.
19109 Adjust the VARRAY_<type> accessor macros to match.
19110 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
19111 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
19112 caller's location. Define fatal_insn and fatal_insn_not_found
19113 as macros that use _fatal_insn and _fatal_insn_not_found.
19114 (fancy_abort, trim_filename): Kill prototypes.
19116 * rtl.c (trim_filename): Move here from toplev.c.
19117 (fancy_abort): New function.
19118 (DIR_SEPARATOR): Provide default definition.
19119 * tree.c (tree_check_failed, tree_class_check_failed): Go
19120 through fancy_abort.
19121 (tree_check, tree_class_check, cst_or_constructor_check,
19122 expr_check): Delete.
19123 * varray.c (varray_check_failed): New function.
19124 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
19125 _fatal_insn and _fatal_insn_not_found. Go through
19127 (trim_filename, fancy_abort): Delete.
19129 * builtins.c (expand_builtin_args_info): Report ICE with abort.
19130 * except.c (start_catch_handler): Report ICE with error/abort
19132 * final.c (output_operand_lossage): Likewise.
19133 * flow.c (verify_flow_info): Likewise.
19135 * gcc.c: Prototype fatal.
19136 * gengenrtl.c: Undef abort after including rtl.h not system.h.
19137 * genattr.c, genattrtab.c, genemit.c, genextract.c,
19138 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
19139 Don't define fancy_abort.
19141 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
19143 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
19146 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
19148 * m88k.h (VERSION_INFO2): Kill.
19149 (VERSION_STRING): Kill.
19151 (VERSION_INFO1): Tidy.
19152 (TARGET_VERSION): Update.
19153 * m88k/dgux.h (VERSION_INFO2): Kill.
19154 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
19155 * m88k/luna.h (VERSION_INFO1): Tidy.
19156 * m88k/sysv4.h (VERSION_INFO1): Likewise.
19157 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
19158 (output_file_start): Adjust for death of VERSION_STRING.
19160 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
19162 * cpplib.c (detect_if_not_defined): New function.
19163 (do_if): Use it to detect potential once-only headers.
19165 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
19167 * c-common.c (combine_strings): Always set TREE_CONSTANT.
19169 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
19171 * combine.c (nonzero_bits) : Allow single-ly set registers to be
19172 anywere in the function only if they are pseudos and set before
19173 being used (not live at the start of the function).
19174 (num_sign_bit_copies) : Same.
19175 (get_last_value_validate) : Same.
19176 (get_last_value) : Same.
19178 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
19180 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
19181 where N and M are constant and N is an integer multiple of M.
19183 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19185 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
19186 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
19187 sbitmap_union_of_preds): Add prototypes.
19188 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
19189 the intersection of successors with the new flow graph structures.
19190 (sbitmap_intersection_of_preds): New function to compute the
19191 intersection of predecessors with the new flow graph structures.
19192 (sbitmap_union_of_succs): New function to compute the union of
19193 successors with the new flow graph structures.
19194 (sbitmap_union_of_preds): New function to compute the union of
19195 predecessors with the new flow graph structures.
19196 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
19197 (expr_reaches_here_p): Use edge and basic_block structures instead
19198 of s_preds and s_succs.
19199 (compute_cprop_avinout): Use new sbitmap routines.
19200 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
19201 of s_preds and s_succs.
19202 * flow.c (compute_flow_dominators): Compute dominators using
19203 edges and basic blocks instead of s_preds and s_succs.
19205 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19207 * lists.c (unused_insn_list, unused_expr_list): New file for
19208 maintaining various types of lists. New statics for maintaining a
19209 cache of available INSN_LIST and EXPR_LIST nodes.
19210 (free_list): Static function for freeing a list of INSN/EXPR nodes.
19211 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
19212 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
19213 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
19214 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
19215 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
19216 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
19217 (free_INSN_LIST_node): Free an individual INSN_LIST node.
19218 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
19219 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
19220 (remove_dependence, free_pending_lists): Use new global routines.
19221 (flush_pending_lists, sched_analyze_insn): Use new global routines.
19222 (sched_analyze, compute_block_backward_dependences): Use new routines.
19223 (sched_analyze_1, sched_analyze_2): Use new routines.
19224 (schedule_insns): Use new global routines.
19225 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
19227 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
19228 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
19230 * toplev.c (rest_of_compilation): Initialize node cache.
19231 * Makefile.in (OBJS): Add lists.o to list of object files.
19232 (lists.o): Add dependancies.
19234 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
19236 * config/v850/v850.md: Fix compile time warning messages.
19237 * config/v850/v850.c: Fix compile time warning messages.
19238 * config/v850/v850.h: Fix compile time warning messages.
19240 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19242 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
19243 Remove unused prototype for `init_lengths'.
19245 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19247 * calls.c (emit_call_1): Mark parameter `stack_size' with
19249 (expand_call): Initialize variable `insn'.
19250 (emit_library_call): Likewise for variable `high_to_save'.
19251 (emit_library_call_value): Likewise.
19252 (store_one_arg): Likewise for variables `lower_bound' and
19255 * combine.c (try_combine): Likewise for variables `i2_code_number'
19256 and `other_code_number'.
19257 (find_split_point): Likewise for variables `pos', `unsignedp' and
19259 (simplify_if_then_else): Likewise for variables `op' and `c1'.
19260 (simplify_and_const_int): Remove unused variable `width'.
19261 (merge_outer_ops): Likewise.
19263 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
19264 HOST_WIDE_INT' when comparing against one.
19265 (simplify_relational_operation): Likewise.
19266 (cse_insn): Initialize variables `src_eqv_volatile',
19267 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
19269 * final.c (init_final): Constify parameter `filename'.
19270 (final_start_function): Mark parameter `optimize' with
19272 (profile_function): Likewise for parameters `first' and `optimize'.
19273 (output_source_line): Likewise for parameter `file'.
19275 * integrate.c (subst_constants): Cast a value to `size_t' when
19276 comparing against one.
19277 (mark_stores): Initialize variable `mode'. Cast a value to
19278 `size_t' when comparing against one.
19280 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
19282 * loop.c (move_movables): Initialize variable `first'.
19283 (strength_reduce): Likewise for variable `increment'.
19284 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
19285 value to `size_t' when comparing against one.
19286 (load_mems): Initialize variable `end_label'.
19288 * output.h (init_final): Constify parameter.
19290 * reload.c (decompose): Initialize variable `base'.
19292 * reload1.c (reload): Likewise for variable `is_scalar'.
19293 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
19294 (choose_reload_regs): Initialize variable `mode'.
19295 (emit_reload_insns): Likewise for variable `store_insn'.
19296 (reload_cse_noop_set_p): Mark parameter `insn' with
19298 (reload_combine): Initialize variable `set'.
19300 * unroll.c (unroll_loop): Likewise for variable `local_label'.
19301 (copy_loop_body): Cast a value to `size_t' when comparing against
19304 * varasm.c (assemble_variable): Initialize variable `size_tree'.
19305 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
19306 (remove_from_pending_weak_list): Mark parameter `name' with
19309 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19311 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
19314 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
19316 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
19317 (ASM_DECLARE_FUNCTION_NAME): Define.
19318 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
19319 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
19320 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
19321 not already defined.
19323 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
19325 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
19326 of n_popped when call/call_value are not defined.
19328 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
19330 * tm.texi: GNU CC -> GCC conversion.
19331 (CC1_SPEC): Indicate it is used for all language front ends.
19333 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
19335 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
19336 NOTE_INSN_EH_REGION_END correctly.
19338 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
19339 Jeff Law <law@cygnus.com>
19341 * loop.c (strength_reduce): Automatically unroll loops if the
19342 unrolled loop size is smaller than the rolled loop size.
19344 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
19345 and delete comment that code should be rewritten.
19347 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
19349 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
19352 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
19354 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
19356 * fixinc/mkfixinc.sh: Don't fix uwin headers.
19357 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
19358 (LINK_SPEC): Add -u _main when building executables.
19359 (ASM_DECLARE_FUNCTION): Update from Cygwin.
19360 (ASM_FILE_END): Use the default for ix86-pe.
19361 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
19363 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
19365 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
19366 and ASM_CLOSE_PAREN are empty strings.
19368 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
19369 Geoffrey Keating <geoffk@cygnus.com>
19371 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
19372 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
19373 (unprotoize.o): Ditto.
19374 (test-protoize-simple): Don't define STD_PROTO_DIR.
19375 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
19376 changes to make 'test-protoize-simple' pass.
19377 (STD_PROTO_DIR): Remove define.
19378 (STANDARD_EXEC_PREFIX): Supply default define.
19379 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
19380 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
19381 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
19382 (GET_ENV_PATH_LIST): New macro.
19383 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
19384 (do_processing): Initialize default_syscalls_dir using new
19385 macros. Use it to initialize syscalls_absolute_filename.
19387 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
19389 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
19390 B into a register before emit_conditional_move.
19392 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
19394 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
19395 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
19396 multiplicand out of (+ (* a b) (* c d)).
19398 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
19399 Richard Henderson <rth@cygnus.com>
19401 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
19402 (new_insn_dead_notes): Likewise.
19403 (update_n_sets): Likewise.
19404 (update_flow_info): Move to flow.c, renamed to update_life_info;
19405 extend to handle multiple source insns.
19406 * flow.c: Include resource.h
19407 (unlink_insn_chain): New.
19408 (split_hard_reg_notes): New.
19409 (maybe_add_dead_note): New.
19410 (maybe_add_dead_note_use): New.
19411 (find_insn_with_note): New.
19412 (new_insn_dead_notes): New.
19413 (update_n_sets): New.
19414 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
19415 (maybe_remove_dead_notes): New.
19416 (update_life_info): New.
19417 (prepend_reg_notes): New.
19418 (replace_insns): New.
19419 * output.h (update_life_info): Declare.
19420 * recog.c (split_block_insns): Use update_life_info.
19421 * resource.c (find_free_register): Use reg_alloc_order, don't use
19422 fixed regs, make sure the mode is supported, don't use new regs.
19424 * rtl.h (replace_insns): Declare.
19426 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
19428 * expr.c (expand_expr): Cope with COND_EXPRs with one
19429 non-returning branch.
19431 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
19433 * expr.c (store_expr): Always pass down the target, even when not
19436 1999-08-24 Nick Clifton <nickc@cygnus.com>
19438 * configure.in: Define target_cpu_default for v850 targets.
19439 * configure: Regenerate
19441 * config/v850/v850.h (TARGET_CPU_generic): Define.
19442 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
19443 addresses are 4 byte aligned.
19445 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
19448 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19450 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
19451 (main): Add prototypes.
19453 * genattrtab.c (substitute_address, write_const_num_delay_slots,
19454 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
19455 (write_attr_get): Emit prototypes along with function definition.
19456 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
19457 (write_complex_function): Emit static prototype along with
19458 function definition.
19460 * genemit.c (gen_split): Emit prototypes along with function
19463 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
19464 Likewise for predicates and `insn_operand_predicate'.
19465 (process_template): Emit static prototype along with function
19468 * genrecog.c (make_insn_sequence): Constify a char*. Add
19469 prototypes for get_split_*().
19470 (write_subroutine): Emit prototypes along with function
19473 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19475 * gcse.c (find_avail_set): Follow chains of register-register copies.
19476 Use oprs_not_set_p to guarantee that the returned value can be
19478 (cprop_insn): Don't verify the return value of find_avail_set with
19481 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
19482 (cprop_cc0_jump): New function.
19483 (cprop_insn): Break out new function cprop_jump and use it.
19484 Also use cprop_cc0_jump for machines with CC0.
19485 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
19487 * tree.h (current_function_calls_setjmp,
19488 current_function_calls_longjmp): Delete declarations.
19489 * dsp16xx.c: Include "function.h".
19490 * elxsi.c: Likewise.
19491 * gmicro.c: Likewise.
19492 * h8300.c: Likewise.
19493 * i370.c: Likewise.
19494 * m32r.c: Likewise.
19495 * mn10200.c: Likewise.
19496 * mn10300.c: Likewise.
19497 * ns32k.c: Likewise.
19498 * spur.c: Likewise.
19499 * v850.c: Likewise.
19501 * rtl.h (rtx_equal_function_value_matters): Declare.
19502 * toplev.c (rtx_equal_function_value_matters): Don't declare.
19504 * function.c: Likewise.
19505 * emit-rtl.c: Likewise.
19507 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
19509 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
19512 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19514 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
19517 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
19519 * cpp.texi: Add a node documenting macro varargs (copied
19522 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
19524 * cppspec.c: Put a null pointer at the end of the new argv.
19526 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
19528 * configure.in: Remove code to select/de-select the haifa
19529 scheduler. Every scheduled port gets haifa now.
19530 * configure: Rebuilt.
19531 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
19533 * Makefile.in: Corresponding changes.
19535 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19537 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
19538 All callers changed.
19539 (prepare_float_lib_cmp): Likewise.
19540 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
19541 * expr.h (emit_float_lib_cmp): Delete declaration.
19542 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
19543 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
19544 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
19546 (cmptf): Now conditional on TARGET_HARD_QUAD.
19548 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
19550 * resource.c (mark_target_live_regs): Use
19551 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
19553 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19555 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
19557 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
19559 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
19561 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19563 * rtl.h (rtx_format): Constify a char*.
19565 * rtl.c (rtx_format): Likewise.
19566 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
19567 (init_rtl): Use accessor macro, not `rtx_format'.
19569 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
19572 * caller-save.c (mark_referenced_regs): Likewise.
19574 * combine.c (subst, make_compound_operation, known_cond,
19575 gen_rtx_combine, update_table_tick, get_last_value_validate,
19576 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
19578 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
19579 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
19580 count_reg_usage): Likewise.
19582 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
19585 * final.c (leaf_renumber_regs_insn): Likewise.
19587 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
19588 dump_edge_info, count_reg_references): Likewise.
19590 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
19591 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
19594 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
19595 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
19596 add_label_notes): Likewise.
19598 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
19599 clear_struct_flag, count_sub_rtxs, count_alternatives,
19600 compares_alternatives_p, contained_in_p, walk_attr_value,
19601 write_expr_attr_cache): Likewise.
19603 * genconfig.c (walk_insn_part): Likewise.
19605 * genemit.c (max_operand_1, gen_exp): Likewise.
19607 * genextract.c (walk_rtx): Likewise.
19609 * genflags.c (num_operands): Likewise.
19611 * genoutput.c (scan_operands): Likewise.
19613 * genpeep.c (match_rtx): Likewise.
19615 * genrecog.c (add_to_sequence): Likewise.
19617 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
19620 * integrate.c (save_constants, copy_for_inline,
19621 copy_rtx_and_substitute, subst_constants, restore_constants):
19624 * jump.c (mark_jump_label, invert_exp, redirect_exp,
19625 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
19627 * local-alloc.c (contains_replace_regs, memref_referenced_p):
19630 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
19631 add_label_notes, replace_call_address, count_nonfixed_reads,
19632 invariant_p, find_single_use_in_loop, find_mem_givs,
19633 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
19636 * print-rtl.c (reg_names, print_rtx): Likewise.
19638 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
19640 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
19641 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
19642 print_blocks): Likewise.
19644 * regclass.c (fix_register, record_address_regs,
19645 reg_scan_mark_refs): Likewise.
19647 * regmove.c (stable_but_for_p): Likewise.
19649 * reload.c (loc_mentioned_in_p, operands_match_p,
19650 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
19651 copy_replacements, refers_to_regno_for_reload_p,
19652 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
19653 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
19656 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
19657 delete_address_reloads_1, count_occurrences,
19658 reload_cse_mem_conflict_p, reload_combine_note_use,
19659 add_auto_inc_notes): Likewise.
19661 * resource.c (mark_referenced_resources, mark_set_resources):
19664 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
19665 reg_mentioned_p, regs_set_between_p, modified_between_p,
19666 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
19667 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
19668 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
19669 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
19671 * sched.c (sched_analyze_2, attach_deaths): Likewise.
19673 * stupid.c (stupid_mark_refs): Likewise.
19675 * unroll.c (remap_split_bivs): Likewise.
19677 * varasm.c (mark_constants): Likewise.
19679 * a29k/a29k.c (uses_local_reg_p): Likewise.
19681 * alpha/alpha.c (summarize_insn): Likewise.
19683 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
19684 eliminate_lr2ip): Likewise.
19686 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
19688 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
19689 reg_mentioned_in_mem): Likewise.
19691 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
19692 symbolic_reference_mentioned_p): Likewise.
19694 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
19696 * sh/sh.c (regs_used, mark_use): Likewise.
19698 * vax/vax.c (vax_rtx_cost): Likewise.
19700 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19702 * machmode.h (mode_name): Constify a char*.
19704 * rtl.c (mode_name): Likewise.
19706 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
19708 * optabs.c (init_libfuncs): Constify a char*.
19710 * print-tree.c (mode_name): Remove redundant declaration.
19711 (print_node): Use accessor macro, not `mode_name'.
19713 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
19715 (new_spill_reg): Constify a char*.
19717 * tree.c (mode_name): Remove redundant declaration.
19719 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19721 * rtl.c (rtx_name): Constify a char*.
19723 * rtl.h (rtx_name, fix_sched_param): Likewise.
19725 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
19726 (mypr): Use accessor macro, not `rtx_name'.
19728 * genemit.c (print_code): Constify a char*.
19730 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
19732 * genpeep.c (print_code): Constify a char*.
19734 * genrecog.c (print_code): Likewise.
19736 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
19737 end_bb): Add static prototype.
19738 (draw_edge): Constify a char*.
19739 (end_bb): Remove unused parameter.
19741 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
19742 print_block_visualization): Constify a char*.
19744 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
19746 * c-common.c (c_get_alias_set): Update comment.
19748 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
19750 * linux.h (LIB_SPEC): Added.
19752 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19754 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
19756 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
19758 * tree.c (expr_check): Fix typo in last change.
19760 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
19762 * rtl.def (NOTE): Change format to "iuu0n".
19763 (ADDR_DIFF_VEC): Change format to "eEee0".
19764 (ADDRESSOF): Change format to "eit".
19766 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
19767 (RTVEC_ELT): Change to match.
19768 (XVECEXP): Use XVEC and RTVEC_ELT.
19769 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
19770 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
19771 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
19772 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
19773 TRAP_CONDITION, TRAP_CODE): Use XEXP.
19774 (INTVAL): Use XWINT.
19775 (ADDRESSOF_DECL): Use XTREE.
19776 (SET_ADDRESSOF_DECL): Delete.
19777 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
19778 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
19779 ifdefed out since 2.6 at least.
19780 (gen_rtvec_vv): Delete prototype.
19782 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
19784 (copy_most_rtx): Handle 't' format letter.
19785 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
19786 (gen_rtvec_vv): Delete function. All callers changed to use
19787 gen_rtvec_v instead.
19788 * print-rtl.c (print_rtx): Move special casing of NOTEs to
19789 the '0' format letter.
19791 * function.c (gen_mem_addressof): Don't use
19792 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
19794 * integrate.c (copy_rtx_and_substitute): Likewise.
19795 Copy 't' slots with XTREE.
19796 (subst_constants): Treat 't' slots like '[swi]' slots.
19797 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
19798 * jump.c (rtx_equal_for_thread_p): Likewise.
19799 * rtlanal.c (rtx_equal_p): Likewise.
19800 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
19801 only four arguments.
19802 * gengenrtl.c (type_from_format): Provide correct types for
19806 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
19807 If a recent gcc is in use (always in stage2 and beyond), use
19808 statement expressions, so we don't make a function call unless
19809 the check fails. Evaluate arguments exactly once.
19810 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
19811 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
19813 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
19814 they evaluate their arguments exactly once, irrespective of
19815 the compiler in use.
19817 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
19818 is used by the currently-enabled check macros. This is:
19819 (tree_check_failed, tree_class_check_failed): For gcc.
19820 (tree_check, tree_class_check, cst_or_constructor_check,
19821 expr_check): For other compilers.
19823 * gencheck.c: Do not define any *_CHECK1 macros.
19825 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
19826 Mark Mitchell <mark@codesourcery.com>
19828 * c-common.c (c_get_alias_set): Fix support for poitners and
19831 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
19833 * alias.c: Include tree.h.
19834 (nonlocal_reference_p, mark_constant_function): New functions.
19835 * flow.c (life_analysis): Call mark_constant_function.
19836 * rtl.h (mark_constant_function): Declare it.
19838 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
19840 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
19841 unrecognisable switches.
19843 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19845 * loop.c (recombine_givs): Set ix field after sorting.
19846 (recombine_givs): Remove bogus index / giv lockstep looping.
19848 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19850 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
19852 (emit_store_flag_force): Use do_compare_rtx_and_jump.
19853 (do_cmp_and_jump): Formatting fixes.
19854 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
19855 do_compare_rtx_and_jump instead of compare_from_rtx.
19856 (do_compare_rtx_and_jump): New function; mostly copied from
19858 (do_jump_for_compare): Delete.
19859 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
19861 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
19862 of compare/do_jump_for_compare pairs.
19863 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
19864 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
19865 compare_from_rtx/do_jump_for_compare pairs.
19866 (do_jump_by_parts_equality): Likewise.
19867 (do_jump_by_parts_equality_rtx): Likewise.
19868 * expr.h (do_compare_rtx_and_jump): Declare.
19869 * optabs.c (prepare_cmp_insn): New function, contains most of the code
19870 that used to be in emit_cmp_insn.
19871 (cmp_available_p): New function.
19872 (prepare_operand): New function.
19873 (emit_cmp_and_jump_insn_1): New function, contains some code that used
19874 to be in emit_cmp_insn.
19875 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
19876 parameters to be pointers; don't emit final compare but modify some of
19877 the values pointed to by the args so the caller can perform the
19878 correct comparison.
19879 (expand_binop): Call emit_store_flag_force with signed forms of
19881 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
19882 emit_jump_insn pair.
19883 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
19884 emit_cmp_and_jump_insn_1. Call emit_queue.
19885 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
19887 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
19888 jump sets cc0 before deleting it.
19889 * integrate.c (expand_inline_function): Likewise.
19890 * unroll.c (unroll_loop): Similar changes in several places.
19891 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
19892 before deleting it.
19894 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19896 * Makefile.in (insn-recog.o): Update dependencies.
19897 * genrecog.c (main): Make generated file include "function.h".
19899 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
19901 * cse.c (cse_insn): Call never_reached_warning when a jump is
19902 changed to be unconditional.
19903 * flags.h: Declare warn_notreached.
19904 * flow.c (delete_block): Call never_reached_warning when
19905 a block is deleted.
19906 * jump.c (delete_barrier_successors): Call never_reached_warning
19907 when we delete everything after a BARRIER.
19908 (never_reached_warning): New function.
19909 * rtl.h: Declare never_reached_warning.
19910 * toplev.c (warn_notreached): New variable.
19911 (lang_independent_options): Set warn_notreached
19912 when -Wunreachable-code.
19913 (compile_file): We need line numbers for -Wunreachable-code.
19915 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
19917 * haifa-sched.c (insn_unit): Fix typo on out of range test.
19918 * sched.c (insn_unit): Likewise.
19920 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
19922 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
19924 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19926 * flow.c (create_edge_list): Use xmalloc, not malloc.
19928 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
19930 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
19931 C-style comments. Do not lose the character before double slash.
19933 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19935 * basic-block.h (struct edge_list): Stucture to maintain a vector
19937 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
19938 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
19939 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
19940 New function prototypes.
19941 * flow.c (create_edge_list): Function to create an edge list.
19942 (free_edge_list): Discards memory used by an edge list.
19943 (print_edge_list): Debug output showing an edge list.
19944 (verify_edge_list): Internal consistency check for an edge list.
19945 (find_edge_index): Function to find an edge index for a pred and succ.
19947 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
19949 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
19952 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
19954 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
19956 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
19958 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19960 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
19962 * toplev.c (rest_of_compilation): Allow machine dependent
19963 reorganisation pass to place information into the RTL dump
19964 file if it so wishes.
19966 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
19968 * explow.c (hard_function_value): Use VOIDmode instead of
19970 * stmt.c (expand_return): Likewise.
19971 * stor-layout.c (get_best_mode): Likewise.
19973 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
19974 emit call instead of emit_insn call.
19976 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
19978 * configure.in: Handle --disable/enable-win32-registry.
19979 * install.texi: Document --disable/enable-win32-registry.
19980 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
19981 (WIN32_REGISTRY_KEY): New macro.
19982 * prefix.c: Use to enable/disable win32-specific code.
19983 (lookup_key): Use versioned key.
19984 * configure: Regenerate.
19985 * config.in: Likewise.
19987 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
19989 * cpplib.c (read_line_number): New fn, split out of...
19992 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
19994 tree.c (lang_unsave_expr_now) : New.
19995 (unsave_expr_now): Call lang_unsave_expr_now.
19996 tree.h (lang_unsave_expr_now) : New.
19998 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
20000 * toplev.c (flag_new_exceptions): On by default.
20002 1999-08-13 Michael Meissner <meissner@cygnus.com>
20004 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
20006 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20008 * dwarfout.c (fundamental_type_code): Return FT_boolean for
20009 INTEGER_TYPE with precision==1, it's __java_boolean.
20011 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20013 * global.c (prune_preferences): Move some invariants out of the
20016 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
20018 * configure.in (alpha*-dec-osf*): Add osf5.
20020 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
20022 * configure.in: Rework handling of ARM GNU/Linux slightly.
20023 (arm*-*-linux-gnuoldld): New target.
20024 * configure: Regenerate.
20025 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
20026 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
20027 * config/arm/linux-oldld.h: New file.
20028 * config/arm/linux-elf26.h: Don't include linux-elf.h.
20029 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
20031 * config/arm/linux-elf.h (ASM_SPEC): Define.
20032 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
20033 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
20034 for 26-bit APCS and old linker.
20035 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
20037 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
20038 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
20039 don't define `arm' or `arm_elf'.
20040 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
20041 MULTILIB_DIRNAMES): Define. Fix typo in comment.
20043 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
20045 * rtl.texi: Fix typo.
20047 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
20049 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
20051 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
20053 * extend.texi (C++ Signatures): Remove node.
20054 * invoke.texi: Remove discussion of -fhandle-signatures,
20055 signature, sigof, __signature__, and __sigof__.
20057 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
20059 * Makefile.in (JAVAGC): Removed.
20061 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
20063 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20065 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
20067 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20069 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
20071 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
20072 a register that is already known to be a pointer.
20074 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
20076 * fixinc/inclhack.tpl: Only install assert.h conditionally.
20077 * fixinc/inclhack.sh: Regenerated.
20078 * fixinc/fixincl.sh: Regenerated.
20080 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
20082 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
20083 Fix documentation of -ansi flag to describe its C++ behavior.
20084 Remove bogus reference to GCC 2.9.
20086 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
20088 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
20089 note if it is non-NULL.
20091 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20093 * except.h (eh_nesting_info): Add new structure defintion.
20094 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
20095 (reachable_handlers, update_rethrow_references): Add function
20097 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
20098 a rethrow symbol instead of an integer exception region number.
20099 * flow.c (Make_edges): Use new exception nesting routines to determine
20100 which handlers are reachable from a CALL or asynchronous insn.
20101 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
20103 (delete_eh_regions): Update rethrow labels, and don't delete
20104 regions which are the target of a rethrow.
20105 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
20106 avoid overloading the SYMBOL_REF_USED flag.
20107 (rethrow_symbol_map): Use new rethrow_ref field.
20108 (rethrow_used): Use new rethrow_ref field.
20109 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
20110 of an integer. Fix formatting.
20111 (output_exception_table_entry): Use new rethrow_ref field.
20112 (can_throw): Check for EH_REGION_NOTE before deciding
20113 whether a CALL can throw or not.
20114 (scan_region): Call rethrow_used() instead of accessing data structure.
20115 (update_rethrow_references): New function to make sure only regions
20116 which are still targets of a rethrow are flagged as such.
20117 (process_nestinfo): New static function to initialize a handler
20118 list for a specific region.
20119 (init_eh_nesting_info): New function to allocate and initialize
20120 the list of all EH handlers reachable from all regions.
20121 (reachable_handlers): New function to retrieve the list of handlers
20122 reachable from a specific region and insn.
20123 (free_eh_nesting_info): New function to dispose of a list of
20124 reachable handlers.
20126 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20128 * flow.c (split_edge): Set JUMP_LABEL field.
20129 (commit_one_edge_insertion): Set head correctly for insert_before.
20130 When inserting insns, update insn block numbers if allocated.
20132 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20134 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
20135 retry_incomplete_types): Add static prototype.
20136 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
20137 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
20138 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
20139 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
20140 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
20143 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
20144 dwarf2out_start_source_file, dwarf2out_line): Likewise.
20146 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20148 * output.h (assemble_name): Constify a char*.
20150 * varasm.c (UNIQUE_SECTION, assemble_start_function,
20151 assemble_variable, assemble_name): Likewise.
20153 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
20155 * arm/pe.c (arm_pe_unique_section): Likewise.
20157 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
20159 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
20161 * i386/interix.c (i386_pe_unique_section): Likewise.
20163 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
20165 * i386/winnt.c (i386_pe_unique_section): Likewise.
20167 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
20169 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
20171 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
20173 * pa/pa.c (output_call): Likewise.
20175 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
20177 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
20179 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
20182 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
20185 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
20187 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
20188 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
20190 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
20192 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20194 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
20196 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20198 * tree.h (lang_identify): Constify a char*.
20199 (print_error_function): Add extern prototype. Constify a char*.
20201 * c-lang.c (lang_identify): Constify a char*.
20203 * objc/objc-act.c (lang_identify): Constify a char*.
20205 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20207 * genpeep.c (main): Make generated file include "function.h".
20208 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
20210 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20212 * Makefile.in: Update dependencies.
20213 * alias.c: Include "function.h"
20214 * c-decl.c: Likewise.
20215 * caller-save.c: Likewise.
20216 * calls.c: Likewise.
20217 * combine.c: Likewise.
20219 * explow.c: Likewise.
20220 * final.c: Likewise.
20221 * global.c: Likewise.
20222 * graph.c: Likewise.
20223 * local-alloc.c: Likewise.
20224 * loop.c: Likewise.
20225 * optabs.c: Likewise.
20226 * profile.c: Likewise.
20227 * recog.c: Likewise.
20228 * regclass.c: Likewise.
20229 * regmove.c: Likewise.
20230 * reload.c: Likewise.
20231 * reorg.c: Likewise.
20232 * resource.c: Likewise.
20233 * sched.c: Likewise.
20234 * stupid.c: Likewise.
20235 * config/1750a/1750a.c: Likewise.
20236 * config/a29k/a29k.c: Likewise.
20237 * config/arc/arc.c: Likewise.
20238 * config/arm/arm.c: Likewise.
20239 * config/arm/thumb.c: Likewise.
20240 * config/c4x/c4x.c: Likewise.
20241 * config/clipper/clipper.c: Likewise.
20242 * config/convex/convex.c: Likewise.
20243 * config/fx80/fx80.c: Likewise.
20244 * config/i860/i860.c: Likewise.
20245 * config/m68k/m68k.c: Likewise.
20246 * config/m88k/m88k.c: Likewise.
20247 * config/mips/mips.c: Likewise.
20248 * config/pdp11/pdp11.c: Likewise.
20249 * config/pyr/pyr.c: Likewise.
20250 * config/romp/romp.c: Likewise.
20251 * config/sh/sh.c: Likewise.
20252 * config/tahoe/tahoe.c: Likewise.
20253 * config/vax/vax.c: Likewise.
20254 * config/we32k/we32k.c: Likewise.
20255 * config/sparc/sparc.c: Include "function.h".
20256 (mem_min_alignment): Test current_function rather than
20257 regno_pointer_align.
20258 * config/pa/pa.c: Likewise.
20259 (compute_frame_size): Delete declaration of
20260 current_function_outgoing_args_size.
20261 * config/arc/arc.h (current_function_varargs): Delete declaration.
20262 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
20264 * config/i370/i370.h (current_function_outgoing_args_size): Delete
20266 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
20267 current_function_uses_pic_offset_table.
20268 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
20269 of current_function_returns_pointer.
20270 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20271 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20272 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20273 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20274 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20275 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20276 * config/m88k/m88k.c: Include "function.h"
20277 (call_used_regs, current_function_pretend_args_size,
20278 current_function_outgoing_args_size, frame_pointer_needed): Delete
20280 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
20282 * config/mips/mips.h (current_function_calls_alloca): Delete
20284 * config/mn10200/mn10200.h (current_function_needs_context,
20285 rtx_equal_function_value_matters): Delete declarations.
20286 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
20287 flag_pic): Delete declarations.
20288 * config/pa/pa.h (current_function_pretend_args_size,
20289 current_function_decl): Delete declarations.
20290 * config/pa/som.h (current_function_varargs): Delete declaration.
20291 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
20293 * config/pyr/pyr.h (current_function_pretend_args_size,
20294 current_function_args_size, current_function_calls_alloca): Delete
20296 * config/sh/sh.h (current_function_varargs): Delete declaration.
20297 * config/sparc/sparc.h (current_function_outgoing_args_size,
20298 current_function_calls_alloca, current_function_decl): Delete
20300 * config/spur/spur.h (current_function_pretend_args_size,
20301 current_function_calls_alloca): Delete declarations.
20302 * config/v850/v850.c (current_function_outgoing_args_size): Delete
20304 * config/vax/vms.h (current_function_name): Delete declaration.
20305 * gcse.c: Include "function.h".
20306 (current_function_name, current_function_calls_setjmp): Delete
20308 * haifa-sched.c: Include "function.h".
20309 (forced_labels): Delete declaration.
20310 * jump.c: Likewise.
20311 * reg-stack.c: Likewise.
20312 * reload1.c: Likewise.
20313 * genemit.c (main): Make generated file include function.h.
20314 * genoutput.c (output_prologue): Likewise.
20316 * builtins.c (saveregs_value, apply_args_value): Delete variables.
20317 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
20318 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
20319 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
20320 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
20321 macros for some of them.
20322 (emit_filename, emit_lineno): Delete declarations.
20323 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
20324 regno_pointer_* variables through current_function.
20325 (gen_inline_header_rtx): Delete function.
20326 (save_emit_status): Delete function.
20327 (set_new_last_label_num): New function.
20328 (clear_emit_caches): New function.
20329 (restore_emit_status): Just clear last_labelnum and call
20331 (get_last_insn_anywhere): Variable sequence_stack is now accessed
20332 through macro seq_stack.
20333 (add_insn_after): Likewise.
20334 (add_insn_before): Likewise.
20335 (remove_insn): Likewise.
20336 (pop_topmost_sequence): Likewise.
20337 (in_sequence_p): Likewise.
20338 (start_sequence_for_rtl_expr): Likewise.
20339 (start_sequence): Likewise, and likewise for
20340 sequence_rtl_expr/seq_rtl_expr.
20341 (push_topmost_sequence): Likewise.
20342 (end_sequence): Likewise.
20343 (init_virtual_regs): Now takes a "struct emit_status *" argument.
20344 All callers changed. Store into that pointer instead of globals.
20345 (init_emit): Allocate emit elt of current_function.
20346 Changes for sequence_rtl_expr/sequence_stack renaming.
20347 Call clear_emit_caches instead of doing it in-line.
20348 Access regno_pointer_* variables through current_function.
20349 (init_emit_once) Don't clear sequence_stack.
20351 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
20353 (arg_pointer_save_area): Delete declaration.
20354 (finish_expr_for_function): Renamed from init_queue; no longer static.
20355 (init_expr): Don't call init_queue.
20356 (save_expr_status, restore_expr_status): Delete functions.
20357 (expand_expr): Changes to reflect new layout of struct function.
20358 Don't access current_function_check_memory_usage when current_function
20360 * expr.h (forced_labels, save_expr_regs, saveregs_value,
20361 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
20362 current_function_outgoing_args_size, current_function_arg_offset_rtx,
20363 current_function_uses_const_pool, function_call_count,
20364 current_function_uses_pic_offset_table, nonlocal_labels,
20365 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
20366 current_function_check_memory_usage, nonlocal_goto_handler_slots,
20367 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
20369 (finish_expr_for_function): Declare.
20370 * flags.h (current_function_has_nonlocal_label,
20371 current_function_has_nonlocal_goto, current_function_is_thunk,
20372 current_function_has_computed_jump): Delete declarations.
20373 * flow.c (forced_labels): Delete declaration.
20374 * function.c (current_function_pops_args,
20375 current_function_returns_struct, current_function_returns_pcc_struct,
20376 current_function_needs_context, current_function_calls_setjmp,
20377 current_function_calls_longjmp, current_function_has_nonlocal_label,
20378 current_function_has_nonlocal_goto, current_function_is_thunk,
20379 current_function_has_computed_jump, current_function_calls_alloca,
20380 current_function_contains_functions, current_function_returns_pointer,
20381 current_function_epilogue_delay_list, current_function_args_size,
20382 current_function_pretend_args_size, current_function_arg_offset_rtx,
20383 current_function_outgoing_args_size, current_function_varargs,
20384 current_function_stdarg, current_function_args_info, cleanup_label,
20385 current_function_name, current_function_uses_const_pool,
20386 current_function_instrument_entry_exit, current_function_return_rtx,
20387 current_function_uses_pic_offset_table, nonlocal_labels,
20388 current_function_internal_arg_pointer, current_function_cannot_inline,
20389 current_function_check_memory_usage, function_call_count,
20390 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
20391 nonlocal_goto_stack_level, return_label, save_expr_regs,
20392 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
20393 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
20394 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
20395 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
20396 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
20398 (push_function_context_to): Don't save them. Don't call
20399 save_storage_status, save_emit_status or save_expr_status.
20400 (pop_function_context_from): Don't restore them. Don't call
20401 restore_storage_status or restore_expr_status.
20402 (get_func_frame_size): New function.
20403 (get_frame_size): Use it.
20404 (assign_outer_stack_local): Reflect some member name changes in struct
20406 (put_reg_into_stack): Likewise.
20407 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
20409 (fixup_var_refs): Likewise.
20410 (fix_lexical_addr): Likewise.
20411 (trampoline_address): Likewise.
20412 (prepare_function_start): Clear field inlinable of current_function.
20413 (init_function_for_compilation): New function.
20414 (expand_dummy_function_end): New function.
20415 (expand_function_end): Call finish_expr_for_function.
20416 * function.h (struct emit_status): New; fields moved here from struct
20417 function and from global variables. Add accessor macros for some of
20419 (struct expr_status): Likewise.
20420 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
20421 (struct function): Add fields expr and emit, inlinable, inl_emit,
20422 original_arg_vector, original_decl_initial, inl_last_parm_insn,
20423 inl_max_label_num. Add many comments.
20424 Add accessor macros for all elts of struct function that no longer
20425 have a global variable.
20426 (cleanup_label, return_label, frame_offset, tail_recursion_label,
20427 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
20428 stack_slot_list): Delete declarations.
20429 (get_func_frame_size): Declare.
20430 (save_expr_status, restore_expr_status, save_emit_status,
20431 save_storage_status, restore_storage_status): Delete declarations.
20432 (init_virtual_regs): Declare.
20433 * output.h (current_function_pops_args,
20434 current_function_returns_struct, current_function_returns_pcc_struct,
20435 current_function_needs_context, current_function_calls_setjmp,
20436 current_function_calls_longjmp, current_function_calls_alloca,
20437 current_function_has_nonlocal_label, current_function_varargs,
20438 current_function_has_computed_jump, current_function_returns_pointer,
20439 current_function_contains_functions, current_function_args_size,
20440 current_function_pretend_args_size, current_function_stdarg,
20441 current_function_outgoing_args_size, current_function_args_info,
20442 current_function_name, current_function_return_rtx,
20443 current_function_epilogue_delay_list,
20444 current_function_uses_const_pool, current_function_cannot_inline):
20445 Delete declarations.
20446 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
20447 regno_reg_rtx): Delete declaration.
20448 (REGNO_POINTER_FLAG): Delete macro.
20449 * stmt.c (expand_goto): Changes to reflect that some fields in struct
20450 function were renamed.
20451 * stor-layout.c (save_storage_status, restore_storage_status): Delete
20453 * toplev.c: Include "function.h".
20454 (current_function_decl): Delete declaration.
20455 (compile_file): Call init_dummy_function_start and
20456 expand_dummy_function_end around some initializations that need to
20458 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
20459 Call init_function_for_compilation.
20460 * unroll.c: Include "function.h"
20461 (unroll_loop): Access regno_pointer_* variables through
20464 * tree.h (struct tree_decl): Add elt f to saved_insns member.
20465 (DECL_SAVED_INSNS): use it.
20466 (expand_dummy_function_end): Declare.
20467 (init_function_for_compilation): Declare.
20468 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
20469 that it's no longer an INLINE_HEADER.
20470 (expand_call): Likewise.
20471 * integrate.c (finish_inline): Delete function.
20472 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
20473 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
20474 args. Don't generate an INLINE_HEADER rtx, just return the arg
20475 vector. All callers changed.
20476 (save_for_inline_copying): Create a duplicate struct emit_status to
20477 hold the emit state for compiling the current function. Use this and
20478 the other new fields in struct function that are for integration
20479 instead of an INLINE_HEADER.
20480 Use memcpy instead of bcopy.
20481 Store the current struct function in DECL_SAVED_INSNS of fndecl.
20482 (save_for_inline_nocopy): Similar changes, except no new emit_status
20484 (expand_inline_function): Get information from function structure,
20485 not from an inline header rtx.
20486 (output_inline_function): Lose code to extract the necessary
20487 information from an inline header; simply put back the function
20488 structure into current_function. Clear its inlinable elt.
20489 * rtl.def (INLINE_HEADER): Delete.
20490 * rtl.h: Delete all accessors for an INLINE_HEADER.
20491 (gen_inline_header_rtx): Delete declaration.
20492 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
20493 Delete declarations.
20494 (REGNO_POINTER_ALIGN): Delete.
20495 (clear_emit_caches): Declare.
20496 (set_new_last_label_num): Declare.
20498 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
20500 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
20502 * except.c (expand_eh_region_start_for_decl): Always start a new block.
20503 * stmt.c (is_eh_region): Make sure current_function is present, too.
20505 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
20507 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
20508 for 64bit PA targets.
20510 * pa.h (SELECT_SECTION): Define.
20511 * som.h (SELECT_SECTION): Delete.
20513 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20515 * alias.c (init_alias_analysis): Wrap call to
20516 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
20518 1999-08-07 Bruce Korb <autogen@linuxbox.com>
20520 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
20521 <sys/asm.h> contains an asm comment with an apostrophe
20522 * fixinc/inclhack.sh: regen
20523 * fixinc/fixincl.x: regen
20525 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
20527 * function.c (init_function_start): Clear prologue & epilogue.
20528 (prologue_epilogue_contains): New function.
20529 * alias.c (init_alias_analysis): Use it.
20530 * rtl.h (prologue_epilogue_contains): Declare it.
20532 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
20534 * jump.c (onlyjump_p): New function.
20535 * rtl.h: Declare it.
20536 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
20537 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
20539 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
20541 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
20542 to invert loops. Simplify block scanning.
20544 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20546 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
20547 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
20549 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
20551 * config/sparc/liteelf.h: New file to support sparclite-elf target
20552 * config/sparc/t-sp86x: New file to support sparc86x targets
20553 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
20554 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
20555 * configure.in: Support above target triplets
20556 * configure: Regenerated
20558 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
20560 * fixinc/server.c (server_setup): Do not prefix function used as
20561 parameter with `&'.
20563 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
20565 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
20566 Remove fp reg alternatives.
20568 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
20570 * Makefiin (TAROUTOPTS): Kill.
20571 (install-headers-tar): Use "xpf" for tar headerfile extraction
20572 * i370/x-oe (TAROUTOPTS): Delete.
20573 * m68k/x-apollo68 (TAROUTOPTS): Delete.
20574 * m68k/x-hp320 (TAROUTOPTS): Delete.
20575 * m68k/x-hp320g (TAROUTOPTS): Delete.
20576 * gcc.texi: Update bug reporting text.
20578 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20580 * reg-stack.c (change_stack) Fixed problem with negative array index.
20582 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
20584 * extend.texi, install.texi: Fix spelling mistakes.
20586 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
20587 (s-attrtab); No longer try to use pre-made insn-attrtab file.
20588 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
20589 PREMADE_ATTRTAB_MD.
20590 * mips/t-ecoff: Likewise.
20591 * mips/t-elf: Likewise.
20592 * mips/t-mips: Likewise.
20593 * mips/t-osfrose: Likewise.
20594 * mips/t-r3900: Likewise.
20595 * mips/t-svr3: Likewise.
20596 * mips/t-svr4: Likewise.
20597 * mips/t-ultrix: Likewise.
20599 * gcc.texi: Document recommend means to provide software floating
20600 point libraries in libgcc.a
20602 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
20604 * c-lex.c (yylex): We can have a number with no digits.
20606 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
20608 * jump.c (delete_prior_computation): New function, broken
20609 out of delete_computation. Check for side effects with
20610 side_effects_p instead of FIND_REG_INC_NOTE. Handle
20611 multi-word hard registers.
20612 (delete_computation): Use it. Check for side effects with
20613 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
20614 missing REG_DEAD note for a register which is both set and
20617 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
20619 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
20620 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
20621 (ASM_FILE_START): Import _mcount with the right type.
20622 (ASM_DECLARE_FUNCTION_NAME): Define.
20623 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
20624 * pa.c (output_function_prologue): Always emit the function's label
20626 * pa.h (TEXT_SPACE_P): Define.
20627 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20628 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
20629 * som.h (TEXT_SPACE_P): Delete.
20630 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20631 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
20633 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
20635 * expr.c (emit_group_load): Allow src to be a CONCAT.
20637 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20639 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
20640 (___mulsi3): Use '!' comment character.
20642 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20644 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
20646 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
20648 * gcc.c: Update URLs and mail addresses.
20649 * gcc.texi: Likewise.
20651 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
20653 * rs6000.c (current_file_function_operand): Return zero for
20655 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
20657 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
20660 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
20662 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
20663 allocate space in the stack frame for the PIC register.
20665 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
20667 * m68k.md (xordi3, anddi3): These patterns are not available on
20670 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
20672 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
20673 (PUT_REAL): Likewise.
20675 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20677 * final.c (shorten_branches): Don't add an alignment for loops
20678 that have no label inside.
20680 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20682 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
20683 prototypes in macro HAVE_cmpstrsi.
20685 * cpplib.c (cpp_get_token): Remove unused label `op3'.
20687 * emit-rtl.c (operand_subword): Remove unused variable
20690 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
20692 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
20694 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
20696 * cpphash.c (macroexpand): Delete leading whitespace when arg
20697 is concatenated before.
20698 (unsafe_chars): Correct test for whether + and - can extend a
20701 * cppinit.c (cpp_start_read): Do dependencies for
20702 -include/-imacros files also.
20704 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
20705 tokenizing non-directive lines.
20706 (cpp_expand_to_buffer): Temporarily disable no-output mode.
20707 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
20710 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
20712 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
20714 * c-lex.c: Sync with C++ frontend.
20715 (linemode): New variable.
20716 (parse_float): imag, conversion_errno, and type are output only.
20717 (yylex): Adjust. Move initial '.' case into main switch.
20719 (handle_generic_pragma): Just deal with tokens.
20720 (readescape): Use ISXDIGIT and ISGRAPH.
20721 * c-parse.in: Add END_OF_LINE token.
20723 * c-lex.c (lang_init): Generalize.
20724 (nextchar): Remove. Replace uses with UNGETC.
20725 (skip_white_space): Handle linemode here. Optimize for cpplib.
20726 (skip_white_space_on_line): Remove.
20727 (extend_token_buffer_to): New fn.
20728 (extend_token_buffer): Use it.
20729 (read_line_number, check_newline): Just deal with tokens.
20730 (token_getch, token_put_back): New fns.
20731 (yylex): Use them. More cpplib optimizations. Simplify.
20733 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
20734 Jason Merrill <jason@yorick.cygnus.com>
20736 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
20737 (consume_string): Make this smart about USE_CPPLIB.
20738 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
20739 (yylex): Rewrite to be intelligent about USE_CPPLIB.
20740 Also, clean up cases where we redundantly set token_buffer[0].
20741 (read_line_number): New fn.
20742 (ignore_escape_flag): New variable.
20744 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
20746 * a29k/t-a29kbare: Fix some comments.
20747 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
20748 (FPBIT, DPBIT): Define.
20749 * a29k/t-vx29k: Likewise.
20750 * arc/t-arc: Likewise.
20751 * arm/t-arm-elf: Likewise.
20752 * arm/t-bare: Likewise.
20753 * arm/t-pe: Likewise.
20754 * arm/t-pe-thumb: Likewise.
20755 * arm/t-semi: Likewise.
20756 * arm/t-thumb: Likewise.
20757 * arm/t-thumb-elf: Likewise.
20758 * arm/t-thumb-linux: Likewise.
20759 * h8300/t-h8300: Likewise.
20760 * i960/t-i960: Likewise.
20761 * i960/t-vxworks960: Likewise.
20762 * m32r/t-m32r: Likewise.
20763 * mips/t-ecoff: Likewise.
20764 * mips/t-elf: Likewise.
20765 * mips/t-r3900: Likewise.
20766 * pa/t-pro: Likewise.
20767 * rs6000/t-aix43: Likewise.
20768 * rs6000/t-beos: Likewise.
20769 * rs6000/t-newas: Likewise.
20770 * rs6000/t-ppccomm: Likewise.
20771 * rs6000/t-rs6000: Likewise.
20772 * rs6000/t-winnt: Likewise.
20773 * rs6000/t-xnewas: Likewise.
20774 * rs6000/t-xrs6000: Likewise.
20775 * sh/t-sh: Likewise.
20776 * sparc/t-elf: Likewise.
20777 * sparc/t-sparcbare: Likewise.
20778 * sparc/t-sparclite: Likewise.
20779 * sparc/t-splet: Likewise.
20780 * v850/t-v850: Likewise.
20781 * mn10200/t-mn10200: Fix comments.
20782 * mn10300/t-mn10300: Likewise.
20784 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
20785 dummy operand. Allocate a new pseudo for the dummy operand.
20786 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
20788 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
20790 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
20792 * configure: Rebuilt.
20793 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
20795 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
20797 * recog.c (preproces_constraints): Zero recog_op_alt before
20798 processing the constraints.
20800 * arm.c (typedef minipool_node): Renamed from pool_node.
20801 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
20802 (add_minipool_constant): New function.
20803 (dump_minipool): New function.
20804 (find_barrier): Remove special case for getting the insn size of
20805 an insn that references the constant pool.
20806 (minipool_fixup): New structure.
20807 (push_minipool_barrier): New function.
20808 (push_minipool_fix): New function.
20809 (note_invalid_constants): New function.
20810 (add_pool_constant, dump_table, fixit, broken_move): Delete.
20811 (arm_reorg): Rewrite code to fix up the constant pool into a
20812 series of mini-pools embedded in the insn stream.
20813 (arm_output_epilogue): New function, made mainly from the body
20814 of output_func_epilogue.
20815 (output_func_epilogue): Move insn generation part of epilogue code
20816 to arm_output_epilogue.
20817 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
20818 * arm.md (pool_range): New attribute.
20819 (zero_extendqidi2): Add attribute pool_range.
20820 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
20821 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
20822 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
20823 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
20824 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
20825 (epilogue): New expand.
20826 (epilogue_insn): New insn. Call arm_output_epilogue.
20828 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
20829 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
20831 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
20833 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20835 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
20837 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
20839 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
20841 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
20843 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
20845 * global.c: Fix comment.
20847 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
20849 * gcc.c (access_check): New static function.
20850 (find_a_file): Use it when searching a directory list.
20851 * collect2.c (find_a_file): Don't accept directories found when
20852 searching a directory list.
20854 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
20856 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
20857 function parameters with `&'.
20858 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
20860 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
20862 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
20863 or tidy_fallthru_edge if the last insn in the block is not
20864 an unconditional jump or a simple conditional jump.
20866 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20868 * Makefile.in (c-decl.o): Depends on defaults.h.
20870 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
20872 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
20874 (CLASS_MAX_NREGS): Likewise.
20876 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
20878 * cse.c (cse_insn): Fix dumb thinko in last change.
20880 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20882 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
20885 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
20887 * dwarf2out.c (add_location_or_const_value_attribute): Correct
20888 test for sizes of passed and declared parameter types.
20890 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20892 * fixincludes: Fix the return type of bsearch, char* -> void*.
20894 * fixinc/inclhack.def: Likewise.
20896 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
20898 * invoke.texi (-fdump-translation-unit): New option.
20900 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
20902 * expr.h (PROMOTE_PROTOTYPES): Move ...
20903 * defaults.h: ... to here.
20904 * c-decl.c: Include defaults.h instead of expr.h.
20905 * c-typeck.c: Include defaults.h.
20907 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
20909 * toplev.h (errorcount): Declare.
20910 (warningcount): Likewise.
20911 (sorrycount): Likewise.
20912 * c-lex.c (errorcount): Don't declare.
20913 * dwarf2out.c (errorcount): Don't declare.
20915 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
20917 * config/libgloss.h: Add a note discouraging use with ELF.
20918 * configure.in: Don't use libgloss.h for ELF targets.
20919 Always use_collect2 on a.out targets.
20921 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
20923 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
20924 (force_to_mode, case ASHIFTRT): Add shiftrt label.
20926 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20928 * loop.c (strength_reduce): When doing biv->giv conversion, update
20929 reg note of NEXT->insn.
20931 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
20933 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
20935 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
20937 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
20938 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
20939 Ensure expr.h is included.
20940 * c-typecheck.c (convert_arguments): Ditto.
20942 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
20944 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
20945 * config/convex/convex.h: Ditto.
20946 * config/dsp16xx/dsp16xx.h: Ditto.
20947 * config/fx80/fx80.h: Ditto.
20948 * config/gmicro/gmicro.h: Ditto.
20949 * config/i370/i370.h: Ditto.
20950 * config/i386/i386.h: Ditto.
20951 * config/m32r/m32r.h: Ditto.
20952 * config/m68k/m68k.h: Ditto.
20953 * config/m88k/m88k.h: Ditto.
20954 * config/mips/mips.h: Ditto.
20955 * config/pa/pa.h: Ditto.
20956 * config/pyr/pyr.h: Ditto.
20957 * config/tahoe/tahoe.h: Ditto.
20958 * config/we32k/we32k.h: Ditto.
20960 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
20961 based on arch size.
20963 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
20965 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
20968 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
20970 1999-08-02 Richard Henderson <rth@cygnus.com>
20972 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
20973 for the register spill block.
20974 (m32r_va_arg): New.
20975 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
20976 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
20978 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
20979 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
20980 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
20982 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
20984 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
20985 MAX_WCHAR_TYPE defined in sparc.h.
20986 * config/sparc/linuxaout.h: Likewise.
20987 * config/sparc/linux64.h: Likewise.
20988 Also default to -mvis if CPU is UltraSPARC.
20990 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
20992 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
20993 (RTX_OK_FOR_OLO10): Likewise.
20994 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
20995 %lo(), allow it in addresses...
20996 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
20997 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
20998 does not make sense.
20999 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
21000 (sparc_output_scratch_registers): New function.
21001 (output_function_prologue, sparc_flat_output_function_prologue): Use
21003 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
21005 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
21006 * configure.in: Add check for .register pseudo-op support in as and
21007 check for offsetable %lo().
21008 * acconfig.h: Add templates for the above checks.
21009 * configure: Regenerate.
21011 1999-08-02 Richard Henderson <rth@cygnus.com>
21013 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
21014 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
21015 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
21017 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21019 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21022 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
21024 * config/float-sparc.h: New file.
21025 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
21026 sparc-*-linux-gnu and sparc64-*-linux*.
21028 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21030 * rs6000.c (rs6000_va_list): Type is an array.
21031 (rs6000_va_start): Don't doubly adjust for varargs.
21032 (rs6000_va_arg): Evaluate long long GPR adjustment.
21034 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
21036 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
21037 -maix64 and -maix32.
21038 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
21039 LINK_SPEC): Change appropriately.
21040 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
21041 (u_short_cint_operand): Likewise.
21042 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
21044 * rs6000/t-aix43 (MULTILIB): Change to -m64.
21046 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
21048 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
21050 * rs6000/rs6000.c (num_insns_constant_wide): Correct
21051 for type promotion.
21052 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
21053 (non_add_cint_operand): Likewise.
21054 (logical_operand): Likewise.
21055 (non_logical_cint_operand): Likewise.
21056 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
21057 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
21058 (rs6000_select_rtx_section): Suppress warning.
21059 (small_data_operand): Suppress warning.
21060 (rs6000_got_register): Suppress warning.
21061 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
21062 type, so `J' is generally the wrong constraint for a SImode value;
21064 (andsi3_internal2): Likewise.
21065 (andsi3_internal3): Likewise.
21066 (iorsi3_internal1): Likewise.
21067 (xorsi3_internal1): Likewise.
21069 (movsf_softfloat): Likewise.
21070 (scc insns): Likewise.
21071 (movsi+2): Preserve sign bits of SImode constant.
21072 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
21073 (movdf+1): Sign-extend properly.
21074 (movdi_32+1): Sign-extend properly.
21075 (scc insns): Sign-extend properly.
21077 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
21080 1999-08-02 Richard Henderson <rth@cygnus.com>
21082 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
21083 -mcpu parsing code.
21084 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
21085 * alpha.md (all fp insns): Likewise.
21087 1999-08-02 Nick Clifton <nickc@cygnus.com>
21089 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
21092 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
21094 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
21095 pic_load_label generator directly.
21096 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
21097 No longer a named pattern.
21099 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
21101 * explow.c (force_reg): Call force_operand if X does not
21102 satisfy general_operand.
21104 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
21106 * fix-header.c (main): When testing for CONTINUED, use string
21107 equality, not pointer equality.
21109 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
21111 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
21113 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
21115 * cse.c (cse_insn): Fix loop which deletes insns after a jump
21116 that has become an unconditional jump.
21118 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
21119 (output_function_epilogue): Similarly.
21121 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21123 * tree.h (init_dummy_function_start): Declare.
21125 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21127 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
21128 last_expr_type, last_expr_value, block_start_count, block_stack,
21129 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
21130 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
21131 dynamically in stmt elt of struct function for each function.
21132 (struct nesting): Rename function_call_count elt to n_function_calls,
21133 target_temp_slot_level to block_target_temp_slot_level. All users
21135 (struct stmt_status): New structure definition.
21136 Add many accessor macros for stmt_status elements which previously
21137 were global variables.
21138 (init_stmt_for_function): Allocate stmt elt for current_function.
21139 Reflect that block_start_count was renamed to
21140 current_block_start_count.
21141 (save_stmt_status, restore_stmt_status): Delete functions.
21142 (preserve_subexpressions_p): Don't access loop_stack when outside
21144 (expand_start_bindings): Reflect that block_start_count was renamed to
21145 current_block_start_count.
21146 (expand_fixup): Likewise.
21147 (expand_decl): Don't access block_stack when outside a function.
21148 (expand_decl_cleanup): Likewise.
21149 (expand_dcc_cleanup): Likewise.
21150 (expand_dhc_cleanup): Likewise.
21151 (expand_anon_union_decl): Likewise.
21152 (set_file_and_line_for_stmt): New function.
21153 (in_control_zone_p): New function.
21155 * function.h (struct function): Add new elt stmt.
21156 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
21157 case_stack, nesting_stack, nesting_depth, block_start_count,
21158 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
21159 emit_lineno, goto_fixup_chain.
21160 (save_eh_status, restore_eh_status, save_stmt_status,
21161 restore_stmt_status): Delete declarations.
21162 * function.c (push_function_context_to): Don't call save_stmt_status.
21163 (pop_function_context_to): Don't call restore_stmt_status.
21164 * tree.h (in_control_zone_p): Declare.
21165 * rtl.h (set_file_and_line_for_stmt): Declare.
21167 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
21168 call set_file_and_line_for_stmt.
21170 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
21172 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
21173 Also update copyright.
21175 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21177 * c-pragma.c: Don't include "except.h".
21178 * emit-rtl.c: Likewise.
21179 * stor-layout.c: Likewise.
21180 * tree.c: Likewise.
21181 * varasm.c: Likewise.
21183 * flow.c: Include "function.h".
21184 * tree.h (init_dummy_function_start): Declare new function.
21186 * except.h (struct eh_status): New structure.
21187 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
21189 (eh_return_stub_label, ehstack, catchstack, ehqueue,
21190 catch_clauses, false_label_stack, caught_return_label_stack,
21191 protect_list, current_function_ehc): Add accessor macros for the
21192 corresponding fields in current_function->eh; delete declarations
21193 for all items that used to be declared here.
21194 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
21195 catch_clauses, false_label_stack, caught_return_label_stack,
21196 protect_list, current_function_ehc): Delete variables.
21197 (init_eh_for_function): Allocate current_function->eh.
21198 (save_eh_status, restore_eh_status): Delete functions.
21200 * function.h (struct function): Add fields next_global and eh.
21201 Delete all exception handling related fields.
21202 * function.c (current_function): New variable.
21203 (all_functions): New variable.
21204 (push_function_context_to): Don't allocate a struct function,
21205 use current_function instead. Call init_dummy_function_start when
21206 outside a function. Clear current_function before returning.
21207 (pop_function_context_from): Restore current_function.
21208 Don't free the restored struct function.
21209 (prepare_function_start): New function.
21210 (init_dummy_function_start): New function.
21211 (init_function_start): Break out some code into prepare_function_start
21214 * stmt.c (save_stmt_status): Don't call save_eh_status.
21215 (restore_stmt_status): Don't call restore_eh_status.
21217 * Makefile.in: Update dependencies.
21219 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
21221 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
21222 of depending on a magic constant value. Update comments.
21223 (hppa_expand_prologue): Similarly.
21225 * pa.md (reload_indi, reload_outdi): Allow any register for the
21226 original reload register.
21228 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
21230 * cccp.c (print_help): Change marcos to macros.
21232 1999-07-30 Richard Henderson <rth@cygnus.com>
21234 * c-typeck.c (initializer_constant_valid_p): Move ...
21235 * c-common.c (initializer_constant_valid_p): ... here. Use
21236 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
21237 of label addresses.
21238 * c-common.h (initializer_constant_valid_p): Declare.
21239 * c-tree.h (initializer_constant_valid_p): Remove.
21241 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
21243 * config/i386/sol2-c1.asm: Align the stack.
21244 * config/i386/sol2-gc1.asm: Likewise.
21246 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
21248 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
21249 -Asparclite for sparc86x.
21250 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
21252 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
21254 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
21256 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
21257 the user if using the non-default arch size in BI_ARCH configuration.
21258 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
21260 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
21261 Fix patterns so that they actually match.
21262 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
21263 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
21264 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
21266 (mulsidi3): Reflect this in the expand.
21267 (smulsi3_highpart): Only on TARGET_ARCH32.
21268 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
21269 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
21270 (umulsidi3): Reflect this in the expand.
21271 (umulsi3_highpart): Only on TARGET_ARCH32.
21272 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
21273 don't require g0 to be zero.
21274 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
21275 ({,u}divsi3): New expands.
21276 ({,u}divsi3_sp64): New patterns.
21277 (after lshrdi3_v8plus): Four new patterns to help combiner
21278 optimizing nested mixed mode shifts.
21280 * config/sparc/sparc.c (sparc_override_options): Use deprecated
21281 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
21282 speed things up. Don't use them by default on plain v9 in 64bit
21283 mode, according to what SPAMv9 sais.
21285 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
21286 top 32 bits of %[og][0-7] in signal handlers.
21287 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
21289 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
21291 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
21292 (ashlsi3): Corresponding changes.
21294 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
21296 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
21298 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
21300 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21302 * arm.h (Hint): Delete macro.
21303 Substitute HOST_WIDE_INT for Hint in some prototypes.
21304 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
21306 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
21308 * builtins.c (expand_builtin_setjmp): Use force_operand to
21309 make sure that the buffer address is in a suitable form to be
21310 passed to force_reg.
21312 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
21314 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
21317 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
21319 * pa.md (indirect_jump): Remove mode from match_operand. Verify
21320 proper mode in the condition string.
21321 (icacheflush, dcacheflush): Remove modes from match_operands.
21323 * pa.c (emit_move_sequence): Always convert scratch_reg to the
21324 proper mode before using it.
21326 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
21329 * pa.c (store_reg): Do not call add_high_const generator directly.
21330 (load_reg, set_reg_plus_d): Likewise.
21331 * pa.md (add_high_const): No longer a named pattern.
21333 * pa.c (legitimize_address): Consistently use Pmode rather than
21334 SImode. Do not call gen_pic2_highpart directly anymore.
21335 * pa.md (pic2_highpart): No longer a named pattern.
21336 (pic2_lo_sum): Similarly. Reformat to make more readable.
21338 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
21343 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21345 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
21347 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
21349 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
21350 and tag the spill mems.
21351 (hppa_va_start): New.
21352 (hppa_va_arg): New.
21353 * pa.h (EXPAND_BUILTIN_VA_START): New.
21354 (EXPAND_BUILTIN_VA_ARG): New.
21356 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
21358 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
21359 and tag the spill mems.
21360 (mn10300_va_start): New.
21361 (mn10300_va_arg): New.
21362 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
21363 (EXPAND_BUILTIN_VA_ARG): New.
21365 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
21367 * mn10200.c (mn10200_va_arg): New.
21368 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
21370 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
21372 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
21373 rather than play with TREE_INT_CST_LOW.
21375 1999-07-27 Philip Blundell <pb@nexus.co.uk>
21377 * config/arm/telf.h: Include dbxelf.h.
21378 (CPP_PREDEFINES): Only define if not already defined.
21379 (ASM_IDENTIFY_GCC): Likewise.
21380 (SUBTARGET_EXTRA_SECTIONS): Likewise.
21381 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
21382 * config/arm/thumb.h (LINK_SPEC): Only define if not already
21384 (DBX_DEBUGGING_INFO): Don't define.
21385 * config/arm/linux-telf.h: New file.
21386 * config/arm/linux-tgas.h: New file.
21387 * config/arm/t-thumb-linux: New file.
21388 * config/arm/uclinux-elf.h: New file.
21389 * config/arm/uclinux-telf.h: New file.
21390 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
21391 thumb-*-uclinux): New targets.
21392 * configure: Regenerate.
21394 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
21396 * pa.md (post_store, pre_load): New expanders.
21397 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
21398 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
21399 need to directly generate RTL for them.
21400 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
21403 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
21405 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
21406 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
21407 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
21408 (secndary_reload_class): Make TARGET_ELF conditional compile.
21409 (print_operand_address): Similar.
21410 (output_toc): Print all values as hex.
21411 (get_issue_rate): Rearrange and add RS64A and PPC630.
21412 * rs6000.h (processor_type): Add RS64A and PPC630.
21413 (PROCESSOR_POWERPC64): New.
21414 (PROMOTE_MODE): Use word_mode.
21415 (RTX_COSTS): Add RS64A and PPC630.
21416 * rs6000.md (scheduling information): Add lmul and ldiv
21417 representing 64-bit integer multiply and divide. Add rs64a and
21418 PPC630 information.
21419 (ashldi3): Add support for "rldic" instruction.
21420 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
21422 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
21424 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
21425 instead of V8 for sparclite86x in cpu_table.
21427 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21429 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
21430 output_file_directive.
21432 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
21434 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
21435 tree for op1, not the rtl.
21437 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
21439 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
21440 to m88k_va_start, leaving only the register spill.
21441 (m88k_build_va_list): New.
21442 (m88k_va_start): New.
21443 (m88k_va_arg): New.
21444 * m88k.h (BUILD_VA_LIST_TYPE): New.
21445 (EXPAND_BUILTIN_VA_START): New.
21446 (EXPAND_BUILTIN_VA_ARG): New.
21448 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
21450 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
21451 Rename from expand_builtin_saveregs.
21452 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
21454 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
21456 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
21457 for the register spill block.
21458 (i960_build_va_list): New.
21459 (i960_va_start): New.
21460 (i960_va_arg): New.
21461 * i960.h (BUILD_VA_LIST_TYPE): New.
21462 (EXPAND_BUILTIN_VA_START): New.
21463 (EXPAND_BUILTIN_VA_ARG): New.
21464 * i960.md (store_multiple): Use change_address on individul mems.
21466 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
21468 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
21470 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
21471 (expand_builtin_va_end): Evaluate arg for side effects.
21472 * c-common.c (c_common_nodes_and_builtins): Construct a
21473 va_list_arg_type_node to handle array decomposition to pointer.
21475 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
21477 * except.c (st_dynamic_cleanup): Use force_operand on the
21480 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
21482 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
21483 * c4x.c (c4x_va_arg): New.
21485 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
21487 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
21488 has manual_pop set.
21490 1999-07-26 Nathan Sidwell <nathan@acm.org>
21492 * eh-common.h (__eh_matcher): Prototype correctly.
21494 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
21496 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
21497 (TARGET_SINGLE_PIC_BASE): Likewise.
21498 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
21500 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
21501 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
21502 (TARGET_OPTIONS): Add -mpic-register=N.
21503 (OUTPUT_INT_ADDR_CONST): New macro.
21504 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
21505 LEGITIMATE_PIC_OPERAND_P): Likewise.
21506 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
21507 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
21508 output_addr_const directly.
21509 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
21511 (thumb_pic_register, thumb_pic_register_string): Declare.
21513 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
21515 (label_mentioned_p): New function: Imported from arm.c.
21516 (legitimize_pic_address): New function: Imported from arm.c.
21517 (is_pic):New function: Imported from arm.c.
21518 (thumb_finalize_pic):New function: Imported from arm.c.
21519 (add_constant): Cope with PIC constants.
21520 (fixit): Cope with PIC constants.
21521 (output_return): Do not treat the PIC register as live if
21522 TARGET_SINGLE_PIC_BASE is true.
21523 (thumb_function_prologue): Do not treat the PIC register as live if
21524 TARGET_SINGLE_PIC_BASE is true.
21525 (thumb_expand_prologue): Do not treat the PIC register as live if
21526 TARGET_SINGLE_PIC_BASE is true.
21527 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
21528 TARGET_SINGLE_PIC_BASE is true.
21529 (thumb_print_operand): Accept '|'.
21530 (thumb_override_options): Process PIC options.
21532 * config/arm/thumb.md (movsi): Support PIC.
21533 (call_insn): Change "i" constraint to "X".
21534 (call_value_insn): Likewise.
21535 (consttable_4, consttable_8, consttable_end): Set and clear
21536 "making_const_table" as appropriate.
21537 (pic_load_addr, pic_add_dot_plus_four): New insns.
21539 * invoke.texi (Thumb Options): Fix spelling. Document new
21540 options -msingle-pic-base and -mpic-register=.
21542 1999-07-26 Andrew Haley <aph@cygnus.com>
21544 * config/m32r/initfini.c (__init): Use a full word immediate for
21545 __fini: this allows it to be placed in any memory region.
21547 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
21548 -mmodel=medium. This is OK for all memory models.
21550 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
21552 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
21553 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
21555 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
21557 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
21560 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
21562 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
21564 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
21565 (BUILD_VA_LIST_TYPE): New.
21566 (EXPAND_BUILTIN_VA_START): New.
21567 (EXPAND_BUILTIN_VA_ARG): New.
21568 * i860.c (output_delayed_branch): Disable.
21569 (output_delay_insn): Likewise.
21570 (i860_saveregs): New.
21571 (i860_build_va_list): New.
21572 (i860_va_start): New.
21573 (i860_va_arg): New.
21574 * i860.md: Disable all peepholes using output_delayed_branch.
21575 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
21577 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
21579 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
21580 (BUILD_VA_LIST_TYPE): New.
21581 (EXPAND_BUILTIN_VA_START): New.
21582 (EXPAND_BUILTIN_VA_ARG): New.
21583 * clipper.c (clipper_builtin_saveregs): Only dump registers.
21584 Return the address of the save area.
21585 (clipper_build_va_list): New.
21586 (clipper_va_start): New.
21587 (clipper_va_arg): New.
21589 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
21591 * arc.h (EXPAND_BUILTIN_VA_START): New.
21592 (EXPAND_BUILTIN_VA_ARG): New.
21593 * arc.c (arc_setup_incoming_varargs): Set alias set of
21595 (arc_va_start): New.
21598 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
21600 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
21601 (BUILD_VA_LIST_TYPE): New.
21602 (EXPAND_BUILTIN_VA_START): New.
21603 (EXPAND_BUILTIN_VA_ARG): New.
21604 * alpha.c (alpha_builtin_saveregs): Delete.
21605 (alpha_build_va_list): New.
21606 (alpha_va_start): New.
21607 (alpha_va_arg): New.
21609 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
21611 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
21613 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
21614 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
21616 * gcc.texi: More changes related to list conversion.
21617 * invoke.texi: Likewise.
21619 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
21621 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
21622 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
21623 (expand_builtin_next_arg): Accept ARGLIST not EXP.
21624 (stabilize_va_list): New function.
21625 (std_expand_builtin_va_start): New function.
21626 (expand_builtin_va_start): New function.
21627 (get_varargs_alias_set): New function.
21628 (std_expand_builtin_va_arg): New function.
21629 (expand_builtin_va_arg): New function.
21630 (expand_builtin_va_end): New function.
21631 (expand_builtin_va_copy): New function.
21632 (expand_builtin): Call them.
21633 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
21634 __builtin_{varargs_start,stdarg_start,end,copy}.
21635 (build_va_arg): New function.
21636 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
21637 (build_va_arg): Declare.
21638 * c-decl.c (ptr_type_node, va_list_type_node): New.
21639 * c-parse.gperf (__builtin_va_arg): New.
21640 * c-parse.in (VA_ARG): New token.
21641 (unary_expr): Recognize it.
21642 * expr.c (expand_expr): Expand VA_ARG_EXPR.
21643 * expr.h (std_expand_builtin_va_start): Declare.
21644 (std_expand_builtin_va_arg): Declare.
21645 (expand_builtin_va_arg): Declare.
21646 (get_varargs_alias_set): Declare.
21647 * tree.def (VA_ARG_EXPR): New.
21648 * tree.h (BUILT_IN_VARARGS_START): New.
21649 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
21650 (ptr_type_node, va_list_type_node): Declare.
21651 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
21652 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
21653 * m88k.h, m88k.c: Likewise.
21654 * mn10300.h, mn10300.c: Likewise.
21655 * pa.h, pa.c: Likewise.
21656 * rs6000.h, rs6000.c: Likewise.
21657 * sh.h, sh.c: Likewise.
21658 * sparc.h, sparc.c: Likewise.
21660 * emit-rtl.c (operand_subword): Copy alias set.
21661 (change_address): Likewise.
21663 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
21665 * pa.c (compute_frame_size): Scan all the used callee saved registers,
21666 not just the first one.
21668 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
21670 * config/arm/arm.h (TARGET_SWITCHES): Add
21671 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
21672 (TARGET_OPTIONS): Add -mpic-register=.
21673 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
21674 (arm_pic_register_string): Declare.
21675 (NEED_PLT_GOT): Delete, replace with ...
21676 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
21677 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
21678 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
21679 * config/arm/arm.c (arm_override_options): Add new option
21681 (arm_pic_register_string): New variable.
21682 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
21683 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
21684 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
21685 (output_return_instruction): Likewise.
21686 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
21687 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
21688 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
21690 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
21691 mention of -msched-prolog. Document new options -msingle-pic-base
21692 and -mpic-register=.
21694 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
21696 * haifa-sched.c (reemit_notes): Tidy.
21697 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
21700 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
21702 * explow.c (trunc_int_for_mode): New function.
21703 (plus_constant_wide): Use it.
21704 * combine.c (simplify_and_const_int): Likewise.
21705 (merge_outer_ops): Likewise.
21706 (simplify_shift_const): Likewise.
21707 * cse.c (simplify_unary_operation): Likewise.
21708 (simplify_binary_operation): Likewise.
21709 * emit-rtl.c (operand_subword): Likewise.
21710 * rtl.h: Declare it.
21712 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21714 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
21715 (use NUM_REGS instead of NUM_INTS).
21717 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21719 * builtins.c: New file.
21720 * expr.c (saveregs_value, apply_args_value): Delete definition,
21721 moved into builtins.c.
21722 (string_constant): No longer static.
21723 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
21724 apply_args_size, apply_result_size, result_vector,
21725 expand_builtin_apply_args, expand_builtin_apply,
21726 expand_builtin_return): Delete functions, moved into builtins.c.
21727 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
21728 * expr.h (saveregs_value, apply_args_value): Declare variables.
21729 (expand_builtin, string_constant): Declare functions.
21730 * Makefile.in: Update to build builtin.o.
21732 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
21734 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
21735 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
21736 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
21737 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
21739 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
21742 1999-07-21 Michael Meissner <meissner@cygnus.com>
21744 * print-rtl.c (print_rtx): Print the names of the virtual
21747 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
21749 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
21750 introduced in previous delta.
21752 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21754 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
21755 to avoid name clash.
21757 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
21759 * c-lex.c (yylex) : Correct the test for overflow when lexing
21762 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
21764 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
21765 (adjust_priority): Always call ADJUST_PRIORITY.
21766 (schedule_insn): Only put insns into the ready at cost 0.
21767 (schedule_block): Remove redundant initial sort. Give clock_var
21768 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
21770 * tm.texi (MD_SCHED_REORDER): Update docs.
21772 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
21773 * sparc.c (ultra_reorder_called_this_block): Delete.
21774 (ultrasparc_sched_init): Don't set it.
21775 (ultrasparc_sched_reorder): Don't check it.
21777 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
21779 * rs6000.h (struct rs6000_args): Add sysv_gregno.
21780 * rs6000.c (init_cumulative_args): Init sysv_gregno.
21781 (function_arg_boundary): Align DFmode.
21782 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
21783 to get fp reg and stack overflow correct.
21784 (function_arg): Likewise.
21785 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
21786 (setup_incoming_varargs): Restructure for ABI_V4; use
21787 function_arg_advance to skip final named argument.
21788 (expand_builtin_saveregs): Properly unskip the last integer arg
21789 when doing varargs. Adjust overflow location calculation.
21791 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
21792 explicitly unsigned.
21793 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
21794 (__VA_GP_REGSAVE): Similarly.
21795 (__va_longlong_p): Delete.
21796 (__va_arg_type_violation): New declaration.
21797 (va_arg): Restructure. Flag promotion errors. Align double.
21798 TFmode passed by reference.
21800 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
21801 in the HOST_BITS_PER_WIDE_INT > 32 case.
21803 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
21805 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
21807 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
21809 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
21810 * toplev.c (documented_lang_options): Add -fpreprocessed.
21811 * cpplib.h (struct cpp_buffer): Add preprocessed.
21812 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
21813 (cpp_start_read): Don't expand macros or emit an initial #line
21814 directive if -fpreprocessed.
21816 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
21818 * cpplib.h (struct cpp_buffer): Added manual_pop for
21819 better C++ tokenization.
21820 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
21821 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
21822 * c-common.c (cpp_token): Make non-static.
21824 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21826 * c-common.h: New file.
21827 * c-common.c (permanent_obstack): Delete unused declaration.
21828 (c_global_trees): New array.
21829 (c_common_nodes_and_builtins): New function; split off common code
21830 from init_decl_processing in both c-decl.c and cp/decl.c.
21831 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
21832 c_global_trees and accessor macros defined in c-common.h.
21833 Include c-common.h.
21834 * c-decl.c: Delete definitions for tree nodes that were replaced by
21836 (init_decl_processing): Build void_list_node.
21837 Call c_common_nodes_and_builtins; delete code to generate the common
21839 * objc/objc-act.c (build_module_descriptor): Rename variable
21840 void_list_node to avoid clash with c-common.h.
21842 * Makefile.in: Update dependencies.
21843 * objc/Make-lang.in: Likewise.
21845 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
21847 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
21848 (UNIQUE_SECTION_P): Likewise.
21849 (UNIQUE_SECTION): Likewise.
21851 1999-07-19 Linas Vepstas <linas@linas.org>
21853 * config/i370/README: New file.
21854 * config/i370/linux.h: New file.
21855 * config/i370/mvs.h: New file.
21856 * config/i370/oe.h: New file.
21857 * config/i370/t-linux: New file.
21858 * config/i370/t-mvs: New file.
21859 * config/i370/t-oe: New file.
21860 * config/i370/x-oe: New file.
21861 * config/i370/xm-linux.h: New file.
21862 * config/i370/xm-mvs.h: New file.
21863 * config/i370/xm-oe.h: New file.
21865 * i370.c (label_node_t): Add first_ref_page, label_addr,
21866 label_first_ref, label_last_ref members.
21867 (mvs_need_base_reload): Renamed from mvs_label_emitted.
21868 (MAX_MVS_LABEL_SIZE): Define.
21869 (MAX_LONG_LABEL_SIZE): Define.
21870 (alias_node_t, alias_anchor, alias_number): New.
21871 (mvs_function_table): Reorder for EBCDIC.
21872 (ascebc, ebcasc): Unconditionally define.
21873 (i370_branch_dest, i370_branch_length): New functions.
21874 (i370_short_branch, i370_label_scan): New functions.
21875 (mvs_get_label): Renamed from mvs_add_label. Search for
21876 an existing label before creating a new one.
21877 (mvs_add_label): New function.
21878 (mvs_get_label_page): New function.
21879 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
21880 over the entire list.
21881 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
21882 (mvs_check_page) [TARGET_ELF_ABI]: New function.
21883 (mvs_add_alias, mvs_need_alias): New functions.
21884 (mvs_get_alias, mvs_check_alias): New functions.
21885 (handle_pragma): New function.
21886 (mvs_function_check): New function.
21887 (unsigned_jump_follows_p): Search harder.
21888 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
21889 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
21890 * i370.h (TARGET_VERSION): Delete.
21891 (CPP_SPEC, CPP_PREDEFINES): Delete.
21892 (mvs_label_emitted): Delete.
21893 (TARGET_EBCDIC): Delete.
21894 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
21895 (HANDLE_PRAGMA): Define.
21896 (HARD_REGNO_NREGS): Handle complex modes.
21897 (HARD_REGNO_MODE_OK): Likewise.
21898 (CLASS_MAX_NREGS): Likewise.
21899 (RET_REG): Likewise.
21900 (EXTRA_CONSTRAINT): Define.
21901 (RETURN_IN_MEMORY): True for DImode.
21902 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
21903 (FUNCTION_PROFILER): Delete.
21904 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
21905 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
21906 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
21907 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
21908 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
21909 (ASM_FILE_START): Add "RMODE ANY".
21910 (ASM_OUTPUT_EXTERNAL): Check for aliases.
21911 (ASM_GLOBALIZE_LABEL): Likewise.
21912 (ASM_OUTPUT_LABELREF): Likewise.
21913 (ASM_OUTPUT_COMMON): Likewise.
21914 (PRINT_OPERAND): Handle 'K', 'W', default.
21915 (PRINT_OPERAND_ADDRESS): New.
21916 (Lots of defines): Add support for TARGET_ELF_ABI.
21917 * i370.md (attr length): New. Define for all patterns.
21918 (*): Lots of tweeks to assembly output and constraints.
21920 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
21922 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
21923 Disable patterns performing SImode comparisons with SImode values
21924 if TARGET_POWERPC64 and instruction does not sign-extend or does
21925 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
21926 differ for signed quantities.
21927 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
21928 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
21929 (decrement_and_branch_on_count): Add 64-bit variant.
21931 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21933 * final.c (output_asm_insn): When searching for the matching string
21934 for a given dialect, don't run past the end of the list of
21935 alternatives if there are fewer alternatives in the template than
21938 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
21940 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
21941 Removed paragraph about compression of files and size limitation,
21942 duplicated in the FAQ. Use gcc-patches for posting patches.
21943 * gcc.c (main): Updated URL with bug reporting instructions to
21944 gcc.gnu.org. Removed e-mail address.
21945 * system.h (abort): Likewise.
21947 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21949 * Makefile.in (stmp-multilib-sub): Make the files extracted
21950 from $(LIBGCC1) writable.
21952 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
21954 * config/arm/aout.h: Reformat for improved readability.
21956 * config/arm/arm.h: Reformat for improved readability.
21957 Replace uses of fprintf with asm_fprintf where appropriate.
21958 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
21959 function declaration assembler actions.
21960 (NUM_INTS): New macro: Convert from bytes to words.
21961 (NUM_REGS): New macro: Compute number of registers required to
21962 hold a quanitity of tyep MODE.
21963 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
21965 (NUM_ARG_REGS): New macro: The number of argument registers
21967 (ARG_REGISTER): New macro: Compute the register number of the Nth
21969 (LAST_ARG_REGNUM): New macro: The number of the last argument
21971 (SP_REGNUM): New macro: Register number of the stack pointer.
21972 (FP_REGNUM): New macro: Register number of the frame pointer.
21973 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
21974 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
21975 CUMULATIVE_ARGS so that it counts registers not bytes.
21977 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
21979 Replace uses of fprintf with asm_fprintf where appropriate.
21980 (output_ascii_pseudo_op): Replace with version from thumb.c
21982 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
21984 * config/arm/elf.h (CPP_PREDEFINES): Replace with
21985 SUBTARGET_CPP_SPEC.
21986 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
21987 (ASM_FILE_START): Emit ASM_APP_OFF.
21989 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
21991 * pa.c (compute_frame_size): Round frame according to
21992 STACK_BOUNDARY rather than a hardwired value.
21994 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
21996 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
21998 * configure: Rebuilt.
22000 * configure.in (hppa*-*-linux*): New configuration.
22001 * configure: Rebuilt.
22002 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
22003 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
22004 * pa/pa-linux.h: New file.
22005 * pa/t-linux: New file.
22006 * pa/xm-linux.h: New file.
22008 * pa.c (hppa_legitimize_address): Change references from SImode to
22009 either Pmode or word_mode as appropriate.
22010 (emit_move_sequence, store_reg, load_reg): Likewise.
22011 (set_reg_plus_d, hppa_expand_prologue): Likewise.
22012 (output_mul_insn): Likewise.
22013 * pa.h (PROMOTE_MODE): Likewise.
22014 (INITIALZE_TRAMPOLINE): Likewise.
22015 (Pmode): Define to word_mode.
22017 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
22018 value of 4. Allocate 8 bytes for each FP register save.
22019 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
22021 (hppa_expand_prologue): Likewise.
22022 * pa.h (PROMOTE_MODE): Likewise.
22023 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
22024 (FUNCTION_ARG_BOUNDARY): Likewise.
22026 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
22028 * pa.c (out_of_line_prologue_epilogue): Delete.
22029 (override_options): Remove -mspace related code.
22030 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
22031 (compute_frame_size): Only allocate space for register that
22032 actually need to be saved.
22033 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
22034 (TARGET_SWITCHES): Remove -mspace, -mno-space
22035 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
22036 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
22037 * pa/ee.asm, pa/ee_fp.asm: Delete.
22039 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
22041 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
22042 directive in column zero.
22044 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
22046 * m68k.c (output_function_prologue): Fix computation of save mask
22047 when generating PIC code.
22049 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
22051 * tree.c (build_type_attribute_variant): Move current_obstack restore
22052 after build_qualified_type call.
22054 1999-07-15 Mark Mitchell <mark@codesourcery.com>
22056 * configure.in: Use t-iris6, even with GNU LD.
22057 * config/mips/iris6gld.h: Fix typo in linker spec.
22058 * config/mips/t-iris6gld: Remove.
22060 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
22062 * rs6000.md (insv, extzv): Remove SImode dependence in named
22063 patterns. Explicitly generate DImode RTL if PowerPC64 and
22065 (insvdi): Reverse start and size in instruction template.
22067 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
22069 * invoke.texi: Typo fixes.
22071 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
22073 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
22074 handle at this time instead of silently generating incorrect code.
22075 (gen_imagpart): Likewise.
22077 * reload.c (find_reloads): Emit a USE for a pseudo register without
22078 a hard register if we could not create an optional reload for the
22081 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22083 * c-typeck.c (output_init_element, process_init_element):
22084 When advancing constructor_unfilled_fields for a RECORD_TYPE,
22085 check for nameless bit fields.
22087 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
22089 * regclass.c (scan_one_insn): Notice subregs that change the
22090 size of their operand.
22091 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
22093 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
22095 * configure.in (alpha*-*-*): Include alpha/t-ieee.
22096 * configure: Rebuilt.
22097 * alpha/t-ieee: New file.
22099 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
22101 * rs6000.c (find_addr_reg): Do not select r0 as an address
22104 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
22106 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
22108 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
22110 * rs6000.md (movsf): Do not force easy FP constants into memory.
22112 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
22113 immed_double_const to ensure they are properly truncated then
22116 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
22118 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
22119 always unless NO_DEBUG is used. Compile this code
22121 (replace_symbols_in_block): Compile it unconditionally.
22123 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
22125 * configure.in (i?86-*-elf*): New target.
22126 * configure: Rebuilt.
22127 * i386/i386elf.h, i386/t-i386elf: New files.
22129 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
22131 * toplev.c (main): Don't complain about saying -gdwarf.
22132 (rest_of_compilation): Remove redundant code.
22134 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
22136 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
22138 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
22140 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
22141 "Li960R:", to avoid name clash.
22143 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22145 * loop.c (check_dbra_loop): When reversing a loop, delete all
22146 REG_EQUAL notes referencing the reversed biv except those which are
22147 for a giv based on it.
22149 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
22151 * version.c: Drop "gcc-" prefix from version #.
22153 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
22155 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
22156 the label if we're being verbose.
22158 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
22160 * m68k.c (output_function_prologue): Add pic register to mask
22161 if live and flag_pic.
22162 (output_function_epilogue): Likewise.
22164 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
22166 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
22167 directives in column zero.
22169 * pa/elf.h (ASM_FILE_START): Define.
22170 * pa/som.h (ASM_FILE_START): Include .level directives.
22171 * pa/hpux10.h (ASM_FILE_START): Delete.
22172 * pa/hpux11.h (ASM_FILE_START): Delete.
22174 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
22176 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22178 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
22179 when reload_out equals reload_in.
22181 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
22183 * invoke.texi (Spec Files): New node: Describe the contents of
22186 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
22188 * invoke.texi (DEC Alpha Options): Put @end table at
22189 beginning of line, to avoid confusing texi2html.
22191 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
22193 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
22194 introduced in previous delta.
22196 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22198 * reload1.c (gen_reload): When synthesizing a 3 operand add
22199 sequence, improve test for when to reload OP1 into the reload
22200 register instead of OP0.
22202 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
22204 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
22206 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
22208 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
22211 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
22213 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
22214 (va_dcl): Use __builtin_va_alist_t.
22216 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
22218 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
22219 on the permanent_obstack.
22220 * dwarfout.c (output_type): Likewise.
22222 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
22224 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22225 Merged from c-typeck.c and cp/typeck.c.
22226 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22227 Merged into c-common.
22229 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
22231 * c-lex.c (errorcount): Declare it.
22232 (finish_parse): Update errorcount when using CPPLIB.
22234 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
22236 * fixinc/inclhack.def(end_else_label): Double the backslash so
22237 sed gets a chance to see it.
22238 * fixinc/inclhack.sh: regen
22239 * fixinc/fixincl.x: regen
22241 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
22243 Add framework to support armv5 architecture when it becomes
22246 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
22247 (arm_arch5): New variable.
22248 (all_architectures): Add armv5 line.
22249 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
22250 -march=armv5 is specified on the command line.
22251 (arm_arch5): Export this variable.
22252 * invoke.texi: Document new string accepted by -march= switch for
22255 * config/arm/arm.h: Replace use of constant 12 as a register
22256 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
22257 * config/arm/arm.c: Replace use of constant 12 as a register
22258 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
22260 * config/arm/elf.h: Tidy up.
22261 * config/arm/coff.h: Tidy up.
22263 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
22265 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
22266 * gcc/config/mips/t-iris6gld: New file.
22267 * gcc/config/mips/iris6gld.h: Likewise.
22269 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
22271 * c-decl.c (widest_integer_literal_type_node,
22272 widest_unsigned_literal_type) : New.
22273 (init_decl_processing): Handle/use the two new types.
22274 * c-common.c (type_for_size,type_for_mode) : Same.
22275 * c-lex.c (yylex) : Same.
22276 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22278 * c-tree.h (widest_integer_literal_type_node,
22279 widest_unsigned_literal_type) : New.
22281 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
22283 * dwarfout.c (field_byte_offset): Correctly compute the object's
22284 byte offset for the first bit of a field which crosses an alignment
22285 boundary on a !BYTES_BIG_ENDIAN target.
22287 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
22289 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
22292 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
22293 Jeff Law <law@cygnus.com>
22295 * ginclude/varargs.h (va_dcl): Use word_mode for type of
22298 * except.c: Include intl.h.
22299 (expand_eh_return): Set current_function_cannot_inline.
22300 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
22301 * function.h (struct function): Add eh_return_stub_label.
22302 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
22303 * Makefile.in (except.o): Depend on intl.h.
22305 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
22307 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
22308 same as offsettable in cases 1 and 2.
22310 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
22312 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
22313 (extlh, extwh): Likewise.
22315 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
22317 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
22319 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
22321 * configure.in: Add arm-pe and thumb-pe targets.
22322 * configure: Regenerate.
22324 * thumb.c (arm_naked_function_p): New function: Determines if
22325 a function is naked (has no gcc generated prologue/epilogue).
22326 (is_called_in_ARM_mode): Return true if the func has the
22327 interfacearm attribute.
22328 (output_return): Do not generate a return for naked functions.
22329 (thumb_function_prologue): Do not generate a prologue for
22331 (thumb_expand_prologue): Do not generate a prologue for naked
22333 (thumb_expand_epilogue): Do not generate an epilogue for naked
22335 (arm_valid_machine_decl_attribute): New function, copied from
22336 arm.c: Permit naked and interfacearm attributes.
22338 * config/arm/pe.c: New file: Support code for arm-pe target.
22339 * config/arm/pe.h: New file: Header file for arm-pe target.
22340 * config/arm/tpe.h: New file: Header file for thumb-pe target.
22341 * config/arm/t-thumb-pe: New file: Makefile fragment for
22344 1999-07-01 Mark Kettenis <kettenis@gnu.org>
22346 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
22347 -fPIC or -fpic is specified.
22349 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
22351 * expr.c (emit_block_move): Use copy_to_mode_reg for
22352 !TARGET_MEM_FUNCTIONS case too.
22354 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
22356 * configure: Rebuilt.
22357 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
22358 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
22359 definitions made redundant by dbxelf.h inclusion. Delete
22360 lots of definitions related to assembly output that are
22361 specific to the SOM object format.
22362 * pa.c (output_function_prologue): Do not emit the function's
22364 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
22365 * pa-pro.h: Deleted.
22366 * som.h: New file with SOM specific definitions.
22367 * elf.h: New file with ELF specific definitions.
22369 * elfos.h (const_section): Output a tab before assembler directives.
22370 (ctors_section, dtors_section): Likewise.
22371 (ASM_OUTPUT_SECTION_NAME): Likewise.
22373 * pa/pa1.h: Delete unused file.
22375 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
22377 * configure.in (hppa*-hp-hpux11*): New configuration.
22378 * configure: Rebuilt.
22379 * pa/pa-hpux11.h: New file.
22380 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
22383 * mips.md (leasi, leadi): New patterns.
22385 * expr.c (emit_block_move): Properly handle case where one of the
22386 block move arguments has a queued increment or decrement.
22387 (clear_storage): Similarly. Fix formatting goof.
22389 1999-06-28 "David O'Brien" <obrien@NUXI.com>
22391 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
22392 semicolon from the BSD VA_LIST replacement expression.
22394 * fixinc/inclhack.sh: regen
22395 * fixinc/fixincl.x: regen
22397 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
22398 now use the fixincl program.
22400 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
22402 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
22403 case. Also make the PIC register call_used.
22405 * m68k.h (FINALIZE_PIC): Delete.
22406 * m68k.c (finalize_pic): Delete.
22408 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
22410 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
22413 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
22415 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
22417 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
22419 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
22421 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
22423 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
22425 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
22427 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
22429 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
22431 * rs6000.c (output_toc): Always use hex values for floating-point
22432 constants. Store single-precision values in upper-half of TOC
22433 entry in 64-bit mode.
22434 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
22435 to final constraints.
22436 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
22437 (fctiwz): Improve accuracy of RTL for pattern.
22439 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
22441 * expr.c (expand_expr): Allow RTL_EXPR's through the
22442 MAX_INTEGER_COMPUTATION_MODE checks.
22444 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
22446 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
22447 such that MASK_SUPPORT_ARCH is not negative.
22449 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
22451 * loop.c (verify_dominator): Properly handle ADDR_VEC and
22452 ADDR_DIFF_VEC insns that appear inside loops.
22454 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
22455 Jeff Law <law@cygnus.com>
22457 * rs6000.md (movdf_hardfloat32): Revert previous patch.
22458 Handle LO_SUM the same as offsettable in cases 1 and 2.
22459 * rs6000.c (find_addr_reg): Revert previous patch.
22461 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
22463 * system.h (strstr): New external function declaration.
22464 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
22465 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
22466 * config.in, configure: Rebuilt.
22468 1999-06-24 Tom Tromey <tromey@cygnus.com>
22470 * gcc.c (main): Read user-specified specs files after computing
22471 additional startfile_prefixes.
22473 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
22475 Revert these two patches:
22477 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22478 * loop.c (strength_reduce): When doing biv->giv conversion, update
22479 reg note of NEXT->insn.
22481 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22482 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22484 (recombine_givs): Set ix field after sorting.
22486 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22488 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
22489 for the parts of an UNSPEC / UNSPEC_VOLATILE.
22491 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
22493 *fixinc/inclhack.def: Add fix development commentary
22494 (read_ret_type): reactivate and add selection clause
22495 (zzz_*): tweak output file name to match what is used in hackshell.tpl
22496 *fixinc/{fixincl.x|inclhack.sh}: regen
22498 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
22500 * expr.c (expand_expr): STRIP_NOPS before checking against
22501 MAX_INTEGER_COMPUTATION_MODE
22502 (check_max_integer_computation_mode): Likewise.
22504 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
22506 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
22508 1999-06-22 Jim Wilson <wilson@cygnus.com>
22510 * expr.c (store_expr): When target is a promoted subreg, return a
22511 promoted subreg as a result.
22513 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
22515 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
22517 (dwarf2out_define): Mark unused parameters appropriately.
22518 (gen_unspecified_parameters_die): Ditto.
22519 (gen_subprogram_die): Fix signed/unsigned warnings.
22520 (gen_variable_die): Ditto.
22522 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
22524 * fixinc/inclhack.def(end_else_label): combined else_label
22525 and endif_label and fixed the sed expression.
22526 *fixinc/{fixincl.x|inclhack.sh}: regen
22528 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
22530 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
22531 'x' when handling non-offsettable addresses
22533 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
22535 * final.c (shorten_branches): Don't try to split an insn that has
22538 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
22540 * config/mips/mips.c (symbolic_expression_p): New function.
22541 (mips_select_rtx_section): Put symbolic expressions in the
22542 data section, not the read-only data section.
22544 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
22546 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
22548 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
22550 * collect2.c (main): Log frame table count.
22551 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
22552 (scan_prog_file) [COFF]: Handle frame tables.
22554 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
22555 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
22556 * alpha/elf.h: Undef them again.
22557 * alpha/vms.h: Remove their definitions.
22559 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22561 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
22562 remove the clobber of r0 and change the REG_UNUSED note to
22565 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
22567 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
22568 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
22569 fits in HOST_WIDE_INT and one uses union to access a long constant
22572 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
22574 * sparc.c (sparc_override_options): Don't allow profiling for
22575 code models other than medlow.
22576 (sparc_function_profiler): New function from old FUNCTION_PROFILER
22577 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
22578 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
22579 (sparc_block_profiler): Likewise.
22580 (sparc_function_block_profiler_exit): Likewise.
22581 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
22582 (FUNCTION_BLOCK_PROFILER): Likewise.
22583 (BLOCK_PROFILER): Likewise.
22584 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
22585 (MCOUNT_FUNCTION): New.
22586 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
22587 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
22588 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
22589 (MCOUNT_FUNCTION): New.
22590 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
22591 (BLOCK_PROFILER): Delete.
22592 (MCOUNT_FUNCTION): New.
22594 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
22596 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
22598 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
22600 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22603 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22606 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22609 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22612 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
22614 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
22617 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
22619 * i386/djgpp.h (LIB_SPEC): New.
22620 (STARTFILE_SPEC): New.
22622 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
22624 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
22626 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
22629 * system.h (WSTOPSIG): New macro.
22631 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
22633 * c-pragma.c (push_alignment): Don't ignore alignments greater than
22635 (insert_pack_attributes): Take into account member natural
22638 * i386/winnt.c (exports_head): New static variable.
22639 (i386_pe_record_exported_symbol): New function.
22640 (i386_pe_asm_file_end): Use.
22641 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
22642 symbols to be emitted at end of assembly.
22643 (ASM_DECLARE_OBJECT_NAME): Likewise.
22644 (ASM_DECLARE_FUNCTION_NAME): Likewise.
22646 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
22649 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
22651 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
22654 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
22656 * haifa-sched.c (sched_analyze_1): Use free_list instead of
22657 zapping reg_last_uses directly.
22658 (sched_analyze_2, sched_analyze_insn): Likewise.
22659 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
22661 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
22663 * rs6000.md (movdf_hardfloat32): Use worst case insn length
22664 attributes for cases 1 and 2.
22666 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
22668 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
22671 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
22673 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
22675 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
22677 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
22678 PIC_OFFSET_TABLE_REGNUM for general alloaction.
22679 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
22680 must be stacked if it is used for PIC accesses.
22681 * arm.c (use_return_insn): Handle PIC register specially.
22682 (output_return_instruction): Likewise.
22683 (output_func_{prologue,epilogue}): Likewise.
22684 (output_expand_prologue): Likewise.
22686 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
22687 (*strsi_predec): Renamed from *strqi_predec.
22688 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
22689 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
22691 * arm.c (arm_override_options): Remove warning about PIC code
22692 not being supported.
22694 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
22696 * rs6000.c (find_addr_reg): New function.
22697 * rs6000.h (find_addr_reg): Declare.
22698 (offsettable_addr_operand): Delete.
22699 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
22700 from and stores to GPRs.
22702 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
22704 * alpha.c (alpha_expand_block_move): Use get_insns rather than
22705 gen_sequence as argument to emit_no_conflict_block.
22707 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22709 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
22710 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
22711 *fixinc/fixincl.x: regen
22712 *fixinc/inclhack.sh: regen
22714 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
22716 * added support for -mpcrel (PC relative addressing for m68k)
22717 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
22718 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
22719 * m68k.c (print_operand_address): Handle 32-bit PIC case.
22720 (comments for general_src_operand): Add some explanation
22721 about EXTRA_CONSTRAINTS.
22722 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
22723 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
22724 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
22725 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
22726 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
22727 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
22728 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
22729 if not already set.
22730 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
22731 * m68k.h (TARGET_PCREL): New target flag.
22732 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
22733 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
22734 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
22735 contains a SYMBOL_REF. Relax this constraint during reload, since
22736 we want to use the predicates, not reload's built-in concept of a
22737 valid memory address, to control what insns need reloading.
22738 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
22739 operands (essentially 'g', 'm', and 's' under normal circumstances).
22740 * m68k.c (print_operand): Cause printing of pc-relative addresses
22741 to include pc register.
22742 (print_operand_address): Ditto.
22743 (general_src_operand): Accept operands that are not only
22744 general_operands, but are also valid when used as a pc-relative
22746 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
22747 (memory_src_operand): Similar, for memory_operands.
22748 (pcrel_address): New predicate to accept the special case of a
22749 pc-relative address.
22750 * m68k.md (many patterns): Rewrite common SImode, HImode, and
22751 QImode insns to accept *_src_operand instead of *_operand where
22752 pc-relative operands can fit. For example, a pc-relative operand
22753 can be used as a memory source operand for addsi3, but not as a
22754 memory destination.
22755 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
22757 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
22759 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
22760 .thumb_set pseudo op to mark aliases of thumb functions.
22762 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
22764 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
22765 preference to ASM_OUTPUT_DEF, if it is defined.
22767 * tm.texi: Document new, optional target macro
22768 ASM_OUTPUT_DEF_FROM_DECLS.
22770 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22772 * fixincludes: ISCNTL patch
22773 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
22774 (dgux_int_varargs): new for DG/UX
22775 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
22777 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
22779 * invoke.texi (ia32 options): Fix typo.
22781 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22783 * loop.c (strength_reduce): When doing biv->giv conversion, update
22784 reg note of NEXT->insn.
22786 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
22788 * loop.c (move_movables): Note issues with replacing REGs with
22790 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
22792 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
22794 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
22796 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
22797 the reference to `mcount' was not correct for the ELF on FreeBSD.
22799 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22801 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22804 (recombine_givs): Set ix field after sorting.
22806 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
22808 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
22809 to safe to extract a subword out of a REG.
22811 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22813 * sh.md (mulsi3): Don't add a no-op move at the end.
22815 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22817 * cse.c (cse_insn): Don't put hard register source into tables for
22818 the last insn of a libcall.
22820 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22822 * loop.c (strength_reduce): Insert sets of derived givs at every
22823 biv increment, even if it's the only one.
22825 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
22827 * dwarfout.c (add_incomplete_type): New fn.
22828 (output_type): Call it.
22829 (retry_incomplete_types): New fn.
22830 (dwarfout_finish): Call it.
22832 From Eric Raskin <ehr@listworks.com>:
22833 (output_type): Output types for bases.
22835 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
22837 * mips.c (mips_output_conditional_branch): Add `break'
22838 between `default' label and `close braces'.
22840 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
22842 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
22843 specifications and make it realistic.
22844 (LIB_SPEC): Likewise.
22846 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
22848 * config/mips/mips.c (mips_secondary_reload_class): Check for
22849 (PLUS (SP) (REG)) and return appropriate register class.
22850 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
22851 Handle (PLUS (SP) (REG)).
22852 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
22853 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
22854 of emit_insn for tablejump.
22856 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
22858 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
22859 asm_fprintf format string by itself.
22860 (output_function_profiler): Likewise.
22862 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
22864 * combine.c (simplify_logical, case AND): Only call
22865 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
22866 or the constant is positive.
22868 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
22870 * configure.in: Fix typo in rs6000-ibm-aix4 case.
22871 * configure: Regenerate.
22873 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
22875 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
22876 require a sub-version #.
22877 * configure: Rebuilt.
22879 1999-06-14 Robert Lipe (robertlipe@usa.net)
22881 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
22883 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
22885 * c-typeck.c (process_init_element): Detect excess elements in
22886 char array initializer.
22888 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
22890 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
22892 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
22894 * invoke.texi (Option Summary): Add -fpermissive flag.
22896 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
22898 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
22899 that require PIC code sequences.
22901 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
22903 * configure.in: Add new target: thumb-elf.
22904 * configure: Regenerate.
22905 * config/arm/t-thumb-elf: New file: Makefile fragment for
22907 * config/arm/telf.h: New file: Header file for thumb-elf
22910 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
22912 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
22913 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
22914 initializers is some circumstances.
22916 * fixinc/inclhack.def (endif_label): Add additional selector for
22917 more bogus stuff after #endif statements.
22918 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
22920 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
22922 * i386/cygwin.h (SET_ASM_OP): Define.
22924 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
22926 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
22928 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22930 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
22933 * sh.md (ic_invalidate_line_i): Remove second alternative.
22935 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22937 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
22938 test for the presence of valid prototypes. Delete bypass expr.
22939 (ioctl_fix_ctrl): Correct the selection expression.
22940 (no_double_slash): Correct quoting rules
22941 *fixinc/fixincl.x: regen
22942 *fixinc/inclhack.sh: regen
22944 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
22946 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
22948 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22950 * rs6000.md (movsi_got_internal_mem): Delete.
22951 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
22952 (GOT_TOC_REGNUM): Delete.
22953 (PIC_OFFSET_TABLE_REGNUM): Define.
22954 (FINALIZE_PIC): Disable.
22955 * rs6000.c (rs6000_got_register): New code for fixed pic register.
22956 (rs6000_replace_regno): Delete.
22957 (rs6000_finalize_pic): Likewise.
22958 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
22960 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22962 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
22963 is a note; use <= for the compare; advance P while it is
22966 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
22968 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
22969 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
22971 * varasm.c (remove_from_pending_weak_list): Verify t->name
22972 is non-NULL before passing it to strcmp.
22974 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22976 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
22977 the typed arguments are not part of a comment
22978 (ioctl_fix_ctrl): Added a purpose comment
22979 *fixinc/fixincl.x: regenerate
22980 *fixinc/inclhack.sh: regenerate
22982 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22984 * invoke.texi: Add C4x invocation docs.
22986 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22988 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
22990 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
22992 (c4x_legitimize_reload_address): New function.
22993 * config/c4x/c4x.md: Update docs.
22995 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
22997 * fixincludes: Avoid removing '.'.
22998 * fixinc/fixinc.svr4: Likewise.
22999 * fixinc/fixinc.winnt: Likewise.
23000 * fixinc/inclhack.tpl: Likewise.
23001 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
23003 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23005 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
23007 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
23009 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
23011 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
23014 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
23016 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
23017 * configure: Regenerate.
23019 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
23021 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
23024 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
23026 * fixinc/inclhack.def (avoid_bool): Also catch
23027 "typedef [unsigned] int bool".
23028 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23030 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
23031 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
23032 * configure: Rebuilt.
23034 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
23036 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
23037 such that we can override its definitions if necessary.
23038 (CPP_SPEC): New define. Support processor specific predefines via
23040 (CC1_SPEC): New define. Support processor specific compiler
23041 options via %(cc1_cpu).
23042 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
23045 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23047 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
23048 between sed's -e flag, and the open-quote following it.
23049 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23051 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
23052 Jeffrey A Law (law@cygnus.com)
23054 * varasm.c (assemble_start_function): Remove the function
23055 from the pending weak decls list when we define a function.
23056 (assemble_variable): Similarly for variables.
23057 (weak_finish): Ignore items on the list with a NULL name.
23058 (remove_from_ending_weak_list); New function to "remove" an item
23059 from the pending weak declarations list.
23061 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
23063 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
23065 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
23067 * c-lex.c (GETC): Redefine to call getch.
23068 (UNGETC): Redefine to call put_back.
23069 (putback_buffer): New structure type.
23070 (putback): New static structure.
23071 (getch): New function.
23072 (put_back): New function.
23073 (yylex): Replace unused bytes from bad multibyte character.
23075 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
23077 * cpplib.c (do_define): Cast `alloca' return value.
23078 (do_include, do_undef, do_pragma): Likewise.
23079 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
23081 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
23082 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
23084 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
23086 * sparc.md (abstf2): This should be an expand.
23087 (split after abstf2_notv9): Fix mode.
23088 (abstf2_hq_v9): New pattern.
23089 (abstf2_v9): Only use when no hard quad.
23090 (absdf2_v9): Fix if target is not the same as source.
23091 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
23092 Add correct output constraints.
23094 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
23096 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
23097 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
23099 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
23101 * mips.h (mips_output_conditional_branch): New function.
23102 (mips_adjust_insn_length): Likewise.
23103 (ASSEMBLER_SCRATCH_REGNUM): New macro.
23104 (ADJUST_INSN_LENGTH): Likewise.
23105 * mips.c (print_operand): Add `F' and `W' for floating-point
23106 comparison opcodes.
23107 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
23109 (mips_adjust_insn_length): New function.
23110 (mips_output_conditional_branch): New function.
23111 * mips.md (length): Adjust attribute definition to handle
23112 conditional branches. Change lengths to bytes, rather than
23113 instructions throughout. Remove length attribute from
23114 instructions whose length is four bytes, and rely on the default
23116 (dslot): Fix typo in comment.
23117 Reword conditional branch patterns to use
23118 mips_output_conditional_branch.
23120 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
23122 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
23123 (LIB_SPEC): Likewise.
23124 Link with -lprof1_r for -g/-pg.
23126 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
23128 * loop.c (check_dbra_loop): Fix change of Jan 19.
23130 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
23132 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
23133 (STARTFILE_SPEC): Define, override the svr4.h version.
23134 (ENDFILE_SPEC): Likewise.
23136 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
23138 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
23139 * fixinc/fixincl.x: Regenerated.
23140 * fixinc/inclhack.sh: Regenerated.
23142 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23144 * sh.c (barrier_align): Don't return early for normal branch/barrier
23145 when optimizing for SH2.
23147 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
23149 * i386/udk.h (LINK_SPEC): Correct linker search path for
23152 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23154 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
23155 (braf_label_ref_operand): Delete.
23156 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
23157 * sh.md (casesi_jump_2): Operand1 is now the inside of a
23158 label_ref, and has no predicate.
23159 The patten has a predicate to guard against invalid substitutions.
23160 (dummy_jump): Delete.
23161 (casesi): Update use of casesi_jump_2.
23163 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23165 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
23166 *fixinc/fixincl.x: regenerate
23167 *fixinc/inclhack.sh: regenerate
23169 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
23171 * dwarf2out.c (add_incomplete_type): New fn.
23172 (gen_struct_or_union_type_die): Call it.
23173 (retry_incomplete_types): New fn.
23174 (dwarf2out_finish): Call it.
23176 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
23178 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
23179 current block starts with a CODE_LABEL and ends with a CALL and
23180 we can not find all the argument setup instructions for the CALL.
23182 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
23184 Revert this change:
23185 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
23186 something is a candidate for optimize_bit_field_compare.
23188 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23190 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
23192 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
23194 * alpha.c (override_options): Thinko in last patch.
23196 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
23197 (LIB_SPEC): Recognize -pthread.
23199 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
23201 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
23202 definition in config/arm/coff.h
23203 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
23205 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23207 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
23208 fixes that need "file=xxx\n" prepended before invocation
23209 (start_fixer - new): starting the fixer process is complex enough
23210 to warrent its own routine. It prepends the "file=xxx\n" stuff.
23211 (process): uses the new routine; omit usage of putenv()
23212 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
23213 * fixinc/fixincl.x: regenerate
23215 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
23217 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
23218 and version #s (1.1 -> 2.96) as needed.
23219 * README.g77: Kill way out of date file in the toplevel directory.
23221 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
23223 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
23224 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
23225 * configure: Rebuilt.
23226 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
23227 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
23228 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
23229 (SWITCH_TAKES_ARG): Likewise.
23230 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
23231 * config/t-freebsd: Moved from config/i386/ so it can used for all
23234 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
23236 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
23238 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
23240 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
23241 * configure: Rebuilt.
23243 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
23245 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
23246 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
23247 * rs6000/rs6000.c (rs6000_file_start): Use putc.
23248 (rs6000_output_load_toc_table): Same.
23249 (output_prolog, output_mi_thunk): Same.
23250 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
23251 (ASM_GLOBALIZE_LABEL): Use putc.
23253 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
23255 * alpha.md (reload_*_help): New patterns and splitters.
23256 (reload_*): Use them.
23257 (mov[qh]i): Likewise.
23259 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
23261 * cccp.c (handle_directive): Handle backslash-newlines in quoted
23264 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
23266 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
23268 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
23270 * flow.c (mark_regs_live_at_end, insn_dead_p,
23271 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
23272 and HARD_FRAME_POINTER_REGNUM special treatment if reload
23273 hasn't run or the frame pointer is needed.
23274 * haifa-sched.c (attach_deaths): Likewise.
23275 * sched.c (attach_deaths): Likewise.
23277 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
23279 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
23280 calculate_can_reach_end returns nonzero.
23282 * configure.in (native gas tests): Search for an assembler in the
23283 same manner that the installed compiler will.
23284 * configure: Rebuilt.
23285 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
23287 * alias.c (find_base_term): Improve handling of addresses
23288 constructed from binary operations.
23290 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
23292 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
23294 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
23296 * function.h (cleanup_label, frame_offset): Declare.
23297 (tail_recursion_label, tail_recursion_reentry): Likewise.
23298 (arg_pointer_save_area, rtl_expr_chain): Likewise.
23299 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
23300 (tail_recursion_label, tail_recursion_reentry): Likewise.
23301 (arg_pointer_save_area, rtl_expr_chain): Likewise.
23303 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
23305 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
23307 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
23308 (MAX_OFILE_ALIGNMENT): Define.
23310 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
23312 * fixincl.c: Replace local include scheme with #includes of
23313 gansidecl.h and system.h.
23314 * procopen.c: Likewise.
23315 * server.c: Likewise.
23317 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
23319 * i386/t-dgux (EXTRA_PARTS): Add crti.o
23320 (crti.o): Add build rule and dependencies.
23321 * fixinc/fixinc.dgux: Use modified _int_varargs.h
23323 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23325 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
23326 (LIB_LINUX_SPEC): Likewise.
23327 (LIB_LINUX_SPEC): Add support for -pthread
23328 (CPP_OS_LINUX_SPEC): Likewise.
23329 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
23332 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
23334 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
23336 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
23337 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
23338 for IEEE math and CC_FCOMI.
23339 (put_jump_code): No IEEE if CC_FCOMI is set.
23341 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
23343 * fold-const.c (fold_truthop): Make the field reference unsigned
23344 when converting a single bit compare.
23346 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23348 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
23350 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
23352 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
23353 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
23356 * reload.c (push_reload): Do not call remove_address_replacements
23357 when presented with identical optional reloads.
23359 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
23361 * alpha.h (MASK_FIX, TARGET_FIX): New.
23362 (MASK_*): Reorganize constants.
23363 (CPP_AM_FIX_SPEC): New.
23364 (TARGET_SWITCHES): Add FIX.
23365 (EXTRA_SPECS): Likewise.
23366 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
23367 (SECONDARY_MEMORY_NEEDED): Likewise.
23368 (REGISTER_MOVE_COST): Likewise.
23369 * alpha.c (override_options): Add FIX support. Always use
23370 ALPHA_TP_PROG for ev6.
23371 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
23372 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
23373 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
23375 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
23377 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
23378 something is a candidate for optimize_bit_field_compare.
23380 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
23382 * gcc.texi (Passes): Document branch-shortening.
23383 * invoke.texi (Debugging Options): Document the fact that `-dp'
23384 outputs length information for instructions.
23386 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
23388 * flow.c: Revert previous delta.
23390 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
23392 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
23393 FRAME_POINTER_REGNUM.
23394 (mark_set_1): Ditto.
23395 (mark_used_regs): Ditto.
23397 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
23399 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
23400 (GOT_PCREL): New macro. Define to 1 if not already defined.
23401 * arm/elf.h (GOT_PCREL): Define to 0.
23402 * arm.c (arm_finalize_pic): Take into account the setting of
23405 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
23407 * output.h (STRIP_NAME_ENCODING): Provide default definition.
23408 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
23410 * flow.c (mark_set_1): Do not record BLKmode stores as dead
23411 store elimination candidates.
23413 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
23415 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
23418 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
23420 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
23421 Add use of x-aix41-gld.
23423 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
23425 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
23426 (ASM_OUTPUT_DESTRUCTOR): Define.
23428 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
23430 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
23431 last CODE_LABEL in a loop if we have previously passed a jump
23432 to the top of the loop.
23434 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
23436 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
23437 applying Philip's patch.
23439 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
23441 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
23444 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
23446 * loop.c (strength_reduce): Grow reg_single_usage as needed.
23448 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
23450 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
23451 Also remove a useless comment.
23453 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
23455 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
23457 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
23459 * collect2.c (main): Only generate import or export file and add
23460 to link arguments if non-empty. Use xmalloc not alloca.
23461 (write_{export,import}_file): Delete.
23462 (write_aix_file): New function.
23463 (locatelib): Use xmalloc not malloc.
23464 (GCC_OK_SYMBOL): Do not check type if aix64.
23466 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
23468 Based on patch by Scott Bambrough and Pat Beirne:
23469 * config/arm/arm.c (making_const_table): New variable.
23470 * config/arm/arm.h (making_const_table): Declare.
23471 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
23473 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
23474 Keep track of when we are building the constant table.
23476 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
23478 * config/arm/arm.c (arm_override_options): Fix erroneous warning
23481 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
23483 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
23486 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
23488 * tm.texi (FUNCTION_ARG): Correct description of a stack element
23491 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
23493 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
23495 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23497 * rs6000.c (output_mi_thunk): Enable full support again.
23499 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23501 * sh.h (BRANCH_COST): Define.
23503 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
23505 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
23507 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
23509 * function.c (assign_stack_local): Align stack slot propertly.
23510 (assign_outer_stack_local): Likewise.
23512 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
23514 * expr.h (lang_expand_constant): Declare.
23515 * toplev.c (lang_expand_constant): Define it.
23516 * varasm.c (output_constant): Use it.
23518 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23520 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
23521 Change function definitions to K&R style.
23523 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23525 * fixinc/fixincl.c: We must not ignore SIGCLD now.
23527 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
23529 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
23530 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
23531 (several places): omit static initialization
23532 (process): use single fd, since only the read fd is used
23533 * fixinc/gnu-regex.c: define 'const' away, if not supported
23534 * fixinc/procopen.c(several places): omit static initialization
23535 * fixinc/server.c: define 'volitile' away, if not supported
23537 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
23539 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
23540 asm_fprintf and %L to generate the label name.
23541 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
23542 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
23544 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
23546 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
23547 insn for a conditional jump can not be found.
23549 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
23551 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
23552 on variables in specific sections other than .sbss and .sdata.
23554 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
23556 * stmt.c (expand_return): Call start_cleanup_deferral and
23557 end_cleanup_deferral around conditional code.
23559 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23561 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
23562 filename lists. Utilizes new "krstr" AutoGen function.
23563 * fixinc/fixincl.x: Rebuilt.
23565 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
23567 * i386.c (output_float_compare): Avoid GNU-C extensions.
23569 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
23571 * version.c: Bump to distinguish mainline tree from the
23574 See ChangeLog.1 for earlier changes.